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hB,SAAAA,CAAQ,CAAE,CAAAzE,QAC1B,GAAAyG,EAAAjG,GAAA,EAACwF,EAAWA,CACVP,SAAUA,EACVQ,aAAa,YACbC,aAAa,YACbxF,UAAU,oCAET+D,iGC4BL7E,EAAAC,CAAA,CAAeC,EAAAA,IAAU,CA/B+B,OAAC,CAAEC,SAAAA,CAAQ,CAAE,CAAAC,EAOnE,MACE,GAAAO,EAAAC,GAAA,EAACC,UAAAA,CAAQC,UAAU,0BACjB,GAAAH,EAAAC,GAAA,EAACI,MAAAA,CAAIF,UAAU,6BACb,GAAAH,EAAAI,IAAA,EAACC,MAAAA,CAAIF,UAAU,6BACb,GAAAH,EAAAC,GAAA,EAACa,KAAAA,UAAG,iBACJ,GAAAd,EAAAI,IAAA,EAACY,SAAAA,CACCC,QAZU,KAClB,IAAMC,EAAM,GAAkBiF,MAAAA,CAAfhF,EAAAA,EAAWA,CAAC,KAAcb,MAAA,CAAX6F,EAAAA,EAAUA,EAExC7E,OAAOC,IAAI,CAACL,EAAK,SACnB,EASUf,UAAW,iFAA0FG,MAAA,CAATd,aAE5F,GAAAQ,EAAAC,GAAA,EAACM,EAAAA,OAAKA,CAAAA,CACJC,IAAI,qBACJC,IAAI,WACJC,MAAM,WACNC,MAAO,GACPC,OAAQ,KAEV,GAAAZ,EAAAI,IAAA,EAACW,IAAAA,WAAE,OAAKoF,EAAAA,EAAUA,aAM9B","sources":["webpack://_N_E/./src/components/common/InviteMembers/index.tsx","webpack://_N_E/./src/components/common/Rating/index.tsx","webpack://_N_E/./src/components/common/TimeTested/index.tsx","webpack://_N_E/./src/components/common/UI/Button/index.tsx","webpack://_N_E/./node_modules/react-shorten/dist/esm/components/read-more.js","webpack://_N_E/./node_modules/react-shorten/dist/esm/components/read-more-web.js","webpack://_N_E/./node_modules/react-shorten/dist/esm/index.js","webpack://_N_E/./src/components/common/UI/TextShorten/index.tsx","webpack://_N_E/./src/components/common/WhatsAppSection/index.tsx","webpack://_N_E/./src/components/common/InviteMembers/style.scss","webpack://_N_E/./src/components/common/Rating/styles.scss","webpack://_N_E/./src/components/common/TimeTested/styles.scss","webpack://_N_E/./src/components/common/UI/Button/style.scss","webpack://_N_E/./src/components/common/WhatsAppSection/styles.scss","webpack://_N_E/"],"sourcesContent":["import React, { useEffect, useState } from 'react';\nimport Image from 'next/image';\nimport { WhatsAppUrl, WhataAppMessage } from '@/constants';\nimport '../../common/InviteMembers/style.scss';\n\ninterface WhatsAppSectionProps {\n btnClass?: string;\n}\n\nconst InviteMembers: React.FC = ({ btnClass }) => {\n const sendMessage = () => {\n let url = `${WhatsAppUrl}`;\n\n if (WhataAppMessage) {\n url += `?text=${encodeURI(WhataAppMessage)}`;\n }\n\n window.open(url, '_blank');\n };\n const [data, setData] = useState();\n useEffect(() => {\n setData(location.pathname);\n }, [location.pathname]);\n\n return (\n
\n
\n \n
\n
\n \n
\n
\n
\n

Invite your Family & Friends to Learn Indian Arts

\n
\n \n
\n

\n Easy to follow, Fun and Authentic Learning to be Creative, Joyful\n and Healthy\n

\n
\n
\n
\n \n

Invite via WhatsApp

\n \n \n
\n \n
\n );\n};\n\nexport default React.memo(InviteMembers);\n","import React from 'react';\nimport './styles.scss';\n\nconst Rating: React.FC = () => {\n return (\n
\n
\n
\n
\n
\n

50,000+

\n

Learners

\n
\n
\n\n
\n
\n

4.8/5

\n

Course Rating

\n
\n
\n
\n
\n

7,20,000+

\n

\n Minutes of Learning\n

\n
\n
\n
\n
\n
\n );\n};\n\nexport default React.memo(Rating);\n","import React from 'react';\nimport Image from 'next/image';\nimport './styles.scss';\n\nconst TimeTested: React.FC = () => {\n return (\n
\n
\n

\n \n A time-tested method\n \n For Authentic, Fun & Easy Learning\n

\n
\n
\n

Dikhya

\n \n

Learn From Master

\n

Know What's Best!

\n
\n\n
\n

Sikhya

\n \n

\n Personal Attention & Feedback in LIVE classes +\n

\n

\n Get Riyaz (Practice) routines for self learning\n

\n
\n\n
\n

Parikhya

\n \n

\n Apply Your Learning To Short Performance\n

\n
\n
\n
\n
\n );\n};\n\nexport default React.memo(TimeTested);\n","import React from 'react';\nimport './style.scss';\n\ntype ButtonType = 'button' | 'submit' | 'reset';\ninterface ButtonProps {\n onClick?: () => void;\n title: string;\n subtitle?: string;\n classeName?: string;\n type?: ButtonType;\n showIcon?: boolean;\n disabled?: boolean;\n}\n\nconst Button: React.FC = ({\n onClick,\n title,\n subtitle,\n classeName,\n type = 'button',\n showIcon = true,\n disabled = false\n}) => {\n return (\n
\n \n

\n {title}\n {subtitle && (\n <>\n
\n {subtitle}\n \n )}\n

\n {showIcon ? : null}\n \n
\n );\n};\n\nexport default React.memo(Button);\n","var __assign = (this && this.__assign) || function () {\n __assign = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n};\nvar __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport React from 'react';\nvar parseString = function (text, remaining, endTruncate) {\n if (!(text === null || text === void 0 ? void 0 : text.length)) {\n return { content: text, remaining: remaining };\n }\n var newText = remaining <= 0\n ? ''\n : text.length > remaining\n ? text.substring(0, remaining) + endTruncate\n : text;\n return { content: newText, remaining: remaining - text.length };\n};\nvar parse = function (root, parseCallback) {\n var _a;\n var content = root.content, _b = root.remaining, remaining = _b === void 0 ? 0 : _b, _c = root.endTruncate, endTruncate = _c === void 0 ? '' : _c;\n if (typeof content === 'string') {\n var result = parseString(content, remaining, endTruncate);\n return result;\n }\n else if (React.isValidElement(content)) {\n var children = (_a = content.props) === null || _a === void 0 ? void 0 : _a.children;\n if (children != null) {\n var innerResult = parseCallback({\n content: children,\n remaining: remaining,\n endTruncate: endTruncate,\n }, parseCallback);\n var newContent = React.cloneElement(content, {}, innerResult.content);\n return { content: newContent, remaining: innerResult.remaining };\n }\n }\n else if (Array.isArray(content)) {\n var list = [];\n var newRemaining = remaining;\n for (var _i = 0, content_1 = content; _i < content_1.length; _i++) {\n var child = content_1[_i];\n var parsed = parseCallback({ content: child, remaining: newRemaining, endTruncate: endTruncate }, parseCallback);\n newRemaining = parsed.remaining;\n var newContent = (React.createElement(React.Fragment, { key: list.length }, parsed.content));\n list.push(newContent);\n if (newRemaining < 0) {\n break;\n }\n }\n return { content: list, remaining: newRemaining, endTruncate: endTruncate };\n }\n return root;\n};\nvar ReadMoreInner = function (_a) {\n var truncate = _a.truncate, expanded = _a.expanded, showMore = _a.showMore, showLess = _a.showLess, children = _a.children, endTruncate = _a.endTruncate;\n var root = {\n content: children,\n remaining: truncate,\n endTruncate: endTruncate,\n };\n var result = parse(root, parse);\n return (React.createElement(React.Fragment, null,\n expanded ? children : result.content,\n result.remaining < 0 ? (expanded ? showLess : showMore) : undefined));\n};\nexport var ReadMore = function (_a) {\n var truncate = _a.truncate, children = _a.children, props = __rest(_a, [\"truncate\", \"children\"]);\n return truncate != null ? (React.createElement(ReadMoreInner, __assign({}, props, { truncate: truncate }), children)) : (React.createElement(React.Fragment, null, children));\n};\n//# sourceMappingURL=read-more.js.map","import React from 'react';\nimport { ReadMore } from './read-more';\nexport var ReadMoreWeb = function (_a) {\n var truncate = _a.truncate, showMoreText = _a.showMoreText, showLessText = _a.showLessText, className = _a.className, style = _a.style, children = _a.children, endTruncate = _a.endTruncate;\n var _b = React.useState(false), expanded = _b[0], setExpanded = _b[1];\n var onShowMore = React.useCallback(function () { return setExpanded(true); }, []);\n var onShowLess = React.useCallback(function () { return setExpanded(false); }, []);\n return (React.createElement(ReadMore, { truncate: truncate, endTruncate: endTruncate, expanded: expanded, showMore: React.createElement(React.Fragment, null,\n endTruncate ? undefined : '... ',\n React.createElement(\"button\", { onClick: onShowMore, className: className, style: style }, showMoreText !== null && showMoreText !== void 0 ? showMoreText : 'Show more')), showLess: React.createElement(React.Fragment, null,\n ' ',\n React.createElement(\"button\", { onClick: onShowLess, className: className, style: style }, showLessText !== null && showLessText !== void 0 ? showLessText : 'Show less')) }, children));\n};\nexport default ReadMoreWeb;\n//# sourceMappingURL=read-more-web.js.map","export * from './components/read-more';\nexport * from './components/read-more-web';\n//# sourceMappingURL=index.js.map","import { ReadMoreWeb } from 'react-shorten';\nimport React from 'react';\n\nconst TextShorten: React.FC<{\n truncate?: number;\n children: React.ReactNode;\n}> = ({ truncate, children }) => (\n \n {children}\n \n);\n\nexport default TextShorten;\n","import React from 'react';\nimport Image from 'next/image';\nimport { WhatsAppNo, WhatsAppUrl } from '@/constants';\nimport './styles.scss';\n\ninterface WhatsAppSectionProps {\n label?: string;\n btnClass?: string;\n}\n\nconst WhatsAppSection: React.FC = ({ btnClass }) => {\n const sendMessage = () => {\n const url = `${WhatsAppUrl}/${WhatsAppNo}`;\n\n window.open(url, '_blank');\n };\n\n return (\n
\n
\n
\n

Chat with us

\n \n \n

+91 {WhatsAppNo}

\n \n
\n
\n
\n );\n};\n\nexport default React.memo(WhatsAppSection);\n","// extracted by mini-css-extract-plugin","// extracted by mini-css-extract-plugin","// extracted by mini-css-extract-plugin","// extracted by mini-css-extract-plugin","// extracted by mini-css-extract-plugin"],"names":["__webpack_exports__","Z","React","btnClass","param","data","setData","useState","useEffect","location","pathname","react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__","jsx","section","className","jsxs","div","concat","Image","src","alt","title","width","height","loading","h1","p","button","onClick","url","WhatsAppUrl","WhataAppMessage","encodeURI","window","open","h2","h3","span","subtitle","classeName","type","showIcon","disabled","Fragment","br","aria-hidden","__assign","Object","assign","t","s","i","n","arguments","length","prototype","hasOwnProperty","call","apply","__rest","e","indexOf","getOwnPropertySymbols","propertyIsEnumerable","parse","root","parseCallback","_a","content","_b","remaining","_c","endTruncate","text","substring","react","isValidElement","children","props","innerResult","newContent","cloneElement","Array","isArray","list","newRemaining","_i","content_1","parsed","createElement","key","push","ReadMoreInner","truncate","expanded","showMore","showLess","result","undefined","ReadMore","ReadMoreWeb","showMoreText","showLessText","style","setExpanded","onShowMore","useCallback","onShowLess","UI_TextShorten","jsx_runtime","WhatsAppNo"],"sourceRoot":""}