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AsB,wCAAwC,mBAAqB,uCAAuC,mBAAqB,uCAAuC,mBAAqB,uCAAuC,cAAgB,kCAAkC,cAAgB,kCAAkC,mBAAqB,uCAAuC,iBAAmB,qCAAqC,oBAAsB,wCAAwC,oBAAsB,wCAAwC,oBAAsB,wCAAwC,wBAA0B,4CAA4C,kBAAoB,sCAAsC,qBAAqB,uCAAuC,qBAAqB,uCAAuC,qBAAqB,uCAAuC,qBAAqB,uCAAuC,qBAAqB,uCAAuC,qBAAqB,uCAAuC,qBAAqB,uCAAuC,qBAAqB,uCAAuC,qBAAqB,uCAAuC,sBAAsB","sources":["webpack://_N_E/./node_modules/lodash/uniq.js","webpack://_N_E/./src/components/QuranReader/TafsirView/SurahAndAyahSelection.tsx","webpack://_N_E/./src/components/QuranReader/TafsirView/LanguageAndTafsirSelection.tsx","webpack://_N_E/./src/components/QuranReader/TafsirView/TafsirMessage/index.tsx","webpack://_N_E/./src/components/QuranReader/TafsirView/TafsirGroupMessage.tsx","webpack://_N_E/./src/components/QuranReader/TafsirView/TafsirText/index.tsx","webpack://_N_E/./src/components/QuranReader/TafsirView/TafsirBody.tsx","webpack://_N_E/./src/utils/tafsir.ts","webpack://_N_E/./src/components/QuranReader/TafsirView/TafsirEndOfScrollingActions.tsx","webpack://_N_E/./src/components/QuranReader/TafsirView/TafsirSkeleton.tsx","webpack://_N_E/./src/components/QuranReader/VerseTextPreview/index.tsx","webpack://_N_E/./src/hooks/useQcfFont.ts","webpack://_N_E/./src/components/QuranReader/TafsirView/TafsirEndOfScrollingActions.module.scss","webpack://_N_E/./src/components/QuranReader/TafsirView/TafsirMessage/TafsirMessage.module.scss","webpack://_N_E/./src/components/QuranReader/TafsirView/TafsirText/TafsirText.module.scss","webpack://_N_E/./src/components/QuranReader/TafsirView/TafsirView.module.scss"],"sourcesContent":["var baseUniq = require('./_baseUniq');\n\n/**\n * Creates a duplicate-free version of an array, using\n * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * for equality comparisons, in which only the first occurrence of each element\n * is kept. The order of result values is determined by the order they occur\n * in the array.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @returns {Array} Returns the new duplicate free array.\n * @example\n *\n * _.uniq([2, 1, 2]);\n * // => [2, 1]\n */\nfunction uniq(array) {\n return (array && array.length) ? baseUniq(array) : [];\n}\n\nmodule.exports = uniq;\n","import { useContext, useMemo } from 'react';\n\nimport useTranslation from 'next-translate/useTranslation';\n\nimport styles from './TafsirView.module.scss';\n\nimport Select, { SelectSize } from '@/dls/Forms/Select';\nimport { toLocalizedNumber } from '@/utils/locale';\nimport { generateChapterVersesKeys, getVerseNumberFromKey } from '@/utils/verse';\nimport DataContext from 'src/contexts/DataContext';\n\nconst SurahAndAyahSelection = ({\n selectedChapterId,\n selectedVerseNumber,\n onChapterIdChange,\n onVerseNumberChange,\n}) => {\n const { lang } = useTranslation();\n const chaptersData = useContext(DataContext);\n const verses = generateChapterVersesKeys(chaptersData, selectedChapterId);\n const surahOptions = useMemo(\n () =>\n Object.entries(chaptersData).map(([id, chapter]) => ({\n label: chapter.transliteratedName,\n value: id,\n })),\n [chaptersData],\n );\n const ayahOptions = useMemo(\n () =>\n verses.map((verseKey) => {\n const verseNumber = getVerseNumberFromKey(verseKey).toString();\n return {\n label: toLocalizedNumber(Number(verseNumber), lang),\n value: verseNumber,\n };\n }),\n [lang, verses],\n );\n\n return (\n