85949.js.map 3.2 KB

1
  1. {"version":3,"file":"85949.js","mappings":";;;;;;;;;;;;;;AAAgD;AAEzC,MAAMC,oBAAoB,GAAG,eAAe,CAAC;AAEpD,0BAA0B;AAC1B,4EAA4E;AAC5E,4DAA4D;AAE5D,+BAA+B;AAC/B,oGAAoG;AACpG,+DAA+D;AAE/D,gBAAgB;AAChB,6DAA6D;AAC7D,iEAAeD,8DAAY,CAACC,oBAAoB,EAAE,CAACC,MAAc,GAAK;IACpE,OAAO;QACLC,OAAO,EAAE;YACPD,MAAM;SACP;KACF,CAAC;AACJ,CAAC,CAAC,EAAC;;;;;;;;;;;;;;ACpB6C;AAIzC,MAAME,2BAA2B,GAAG,qBAAqB,CAAC;AAEjE,0BAA0B;AAC1B,+DAA+D;AAC/D,yDAAyD;AACzD,4DAA4D;AAE5D,+BAA+B;AAC/B,oGAAoG;AACpG,+DAA+D;AAE/D,gBAAgB;AAChB,qDAAqD;AACrD,iEAAeJ,8DAAY,CACzBI,2BAA2B,EAC3B,CAACC,eAAwC,EAAEH,MAAc,GAAK;IAC5D,OAAO;QACLC,OAAO,EAAE;YACPE,eAAe;YACfH,MAAM;SACP;KACF,CAAC;AACJ,CAAC,CACF,EAAC;;;;;;;;;;;AC3BF,mBAQC;UARII,eAAe;IAAfA,eAAe,CAClBC,SAAO,IAAG,SAAS;IADhBD,eAAe,CAElBE,cAAY,IAAG,cAAc;IAF1BF,eAAe,CAGlBG,OAAK,IAAG,OAAO;IAHZH,eAAe,CAIlBI,OAAK,IAAG,OAAO;IAJZJ,eAAe,CAKlBK,qBAAmB,IAAG,mBAAmB;IALtCL,eAAe,CAMlBM,SAAO,IAAG,SAAS;IANhBN,eAAe,CAOlBO,UAAQ,IAAG,UAAU;GAPlBP,eAAe,KAAfA,eAAe;AASpB,iEAAeA,eAAe,EAAC","sources":["webpack://quran.com/./src/redux/actions/reset-settings.ts","webpack://quran.com/./src/redux/actions/sync-user-preferences.ts","webpack://quran.com/./types/auth/PreferenceGroup.ts"],"sourcesContent":["import { createAction } from '@reduxjs/toolkit';\n\nexport const RESET_SETTINGS_EVENT = 'resetSettings';\n\n// a global action creator\n// other reducers can use this action to reset the state. via `extraReducer`\n// example usage can be check in `src/redux/slices/theme.ts`\n\n// reference for `extraReducer`\n// - https://redux-toolkit.js.org/usage/usage-guide#use-with-redux-persist search for `extraReducer`\n// - https://redux-toolkit.js.org/api/createslice#extrareducers\n\n// current usage\n// - currently being used in `SettingsDrawer/ResetButton.tsx`\nexport default createAction(RESET_SETTINGS_EVENT, (locale: string) => {\n return {\n payload: {\n locale,\n },\n };\n});\n","import { createAction } from '@reduxjs/toolkit';\n\nimport UserPreferencesResponse from 'types/auth/UserPreferencesResponse';\n\nexport const SYNC_USER_PREFERENCES_EVENT = 'syncUserPreferences';\n\n// a global action creator\n// other reducers can use this action to sync the state locally\n// persisted state with the remote one via `extraReducer`\n// example usage can be check in `src/redux/slices/theme.ts`\n\n// reference for `extraReducer`\n// - https://redux-toolkit.js.org/usage/usage-guide#use-with-redux-persist search for `extraReducer`\n// - https://redux-toolkit.js.org/api/createslice#extrareducers\n\n// current usage\n// - currently being used in `src/redux/Provider.tsx`\nexport default createAction(\n SYNC_USER_PREFERENCES_EVENT,\n (userPreferences: UserPreferencesResponse, locale: string) => {\n return {\n payload: {\n userPreferences,\n locale,\n },\n };\n },\n);\n","enum PreferenceGroup {\n TAFSIRS = 'tafsirs',\n TRANSLATIONS = 'translations',\n AUDIO = 'audio',\n THEME = 'theme',\n QURAN_READER_STYLES = 'quranReaderStyles',\n READING = 'reading',\n LANGUAGE = 'language',\n}\nexport default PreferenceGroup;\n"],"names":["createAction","RESET_SETTINGS_EVENT","locale","payload","SYNC_USER_PREFERENCES_EVENT","userPreferences","PreferenceGroup","TAFSIRS","TRANSLATIONS","AUDIO","THEME","QURAN_READER_STYLES","READING","LANGUAGE"],"sourceRoot":""}