bonnetid-ui 0.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +21 -0
- package/dist/App.d.ts +3 -0
- package/dist/app/assets/browser-BPq4aN9G.js +1 -0
- package/dist/app/assets/chakra-petch-latin-500-normal-BR1ody1F.woff2 +0 -0
- package/dist/app/assets/chakra-petch-latin-500-normal-CnUQnZ4D.woff +0 -0
- package/dist/app/assets/chakra-petch-latin-600-normal-DQKfcdKo.woff +0 -0
- package/dist/app/assets/chakra-petch-latin-600-normal-DVQm9bgb.woff2 +0 -0
- package/dist/app/assets/chakra-petch-latin-700-normal-CnDBPjkL.woff2 +0 -0
- package/dist/app/assets/chakra-petch-latin-700-normal-D1s_c2du.woff +0 -0
- package/dist/app/assets/chakra-petch-latin-ext-500-normal-BCHeNDEx.woff +0 -0
- package/dist/app/assets/chakra-petch-latin-ext-500-normal-gA6791b0.woff2 +0 -0
- package/dist/app/assets/chakra-petch-latin-ext-600-normal-CdGvbdDU.woff2 +0 -0
- package/dist/app/assets/chakra-petch-latin-ext-600-normal-nL80L4xU.woff +0 -0
- package/dist/app/assets/chakra-petch-latin-ext-700-normal-BeviJPUl.woff +0 -0
- package/dist/app/assets/chakra-petch-latin-ext-700-normal-DAkvJhej.woff2 +0 -0
- package/dist/app/assets/chakra-petch-thai-500-normal-CJG_V2_m.woff +0 -0
- package/dist/app/assets/chakra-petch-thai-500-normal-DeexCGiz.woff2 +0 -0
- package/dist/app/assets/chakra-petch-thai-600-normal-BiM5MXH8.woff +0 -0
- package/dist/app/assets/chakra-petch-thai-600-normal-C620THcd.woff2 +0 -0
- package/dist/app/assets/chakra-petch-thai-700-normal-B7WL5pBr.woff2 +0 -0
- package/dist/app/assets/chakra-petch-thai-700-normal-vZLZ_5L8.woff +0 -0
- package/dist/app/assets/chakra-petch-vietnamese-500-normal-BVzUBLGs.woff +0 -0
- package/dist/app/assets/chakra-petch-vietnamese-600-normal-Pvj4qcw_.woff +0 -0
- package/dist/app/assets/chakra-petch-vietnamese-700-normal-gQuUA8Wu.woff +0 -0
- package/dist/app/assets/dm-sans-latin-300-normal-5PdLhTtq.woff2 +0 -0
- package/dist/app/assets/dm-sans-latin-300-normal-BIEPdU4K.woff +0 -0
- package/dist/app/assets/dm-sans-latin-400-normal-CN_gcpH5.woff +0 -0
- package/dist/app/assets/dm-sans-latin-400-normal-DwcD7z81.woff2 +0 -0
- package/dist/app/assets/dm-sans-latin-500-normal-BOEmR4rO.woff2 +0 -0
- package/dist/app/assets/dm-sans-latin-500-normal-CuLX8J35.woff +0 -0
- package/dist/app/assets/dm-sans-latin-600-normal-BY-DBcpC.woff2 +0 -0
- package/dist/app/assets/dm-sans-latin-600-normal-nt2wwSEB.woff +0 -0
- package/dist/app/assets/dm-sans-latin-700-normal-CHsHpBXM.woff +0 -0
- package/dist/app/assets/dm-sans-latin-700-normal-COgqbzv4.woff2 +0 -0
- package/dist/app/assets/dm-sans-latin-800-normal-BcCK7MqR.woff +0 -0
- package/dist/app/assets/dm-sans-latin-800-normal-DeXLON5z.woff2 +0 -0
- package/dist/app/assets/dm-sans-latin-ext-300-normal-BzE0zO3N.woff2 +0 -0
- package/dist/app/assets/dm-sans-latin-ext-300-normal-CihYRU4l.woff +0 -0
- package/dist/app/assets/dm-sans-latin-ext-400-normal-B_g-cTf1.woff2 +0 -0
- package/dist/app/assets/dm-sans-latin-ext-400-normal-Cd6-YbfH.woff +0 -0
- package/dist/app/assets/dm-sans-latin-ext-500-normal-BxxUzzM_.woff +0 -0
- package/dist/app/assets/dm-sans-latin-ext-500-normal-kP1Zl0kM.woff2 +0 -0
- package/dist/app/assets/dm-sans-latin-ext-600-normal-BnzuacV6.woff +0 -0
- package/dist/app/assets/dm-sans-latin-ext-600-normal-D6JAL3sq.woff2 +0 -0
- package/dist/app/assets/dm-sans-latin-ext-700-normal-B_UDu85C.woff +0 -0
- package/dist/app/assets/dm-sans-latin-ext-700-normal-DaM0Z2aq.woff2 +0 -0
- package/dist/app/assets/dm-sans-latin-ext-800-normal-BSPv4UXu.woff2 +0 -0
- package/dist/app/assets/dm-sans-latin-ext-800-normal-CQdRGYXx.woff +0 -0
- package/dist/app/assets/html2canvas.esm-CBrSDip1.js +22 -0
- package/dist/app/assets/index-BK9CpLtb.js +360 -0
- package/dist/app/assets/index-qLhYbFtH.css +1 -0
- package/dist/app/assets/index.es-BowDWdhy.js +18 -0
- package/dist/app/assets/montserrat-cyrillic-300-normal-0sPxshp4.woff +0 -0
- package/dist/app/assets/montserrat-cyrillic-300-normal-DK9HGdYA.woff2 +0 -0
- package/dist/app/assets/montserrat-cyrillic-400-normal-BNZrkLa0.woff2 +0 -0
- package/dist/app/assets/montserrat-cyrillic-400-normal-DBr-NfXb.woff +0 -0
- package/dist/app/assets/montserrat-cyrillic-500-normal-5hOf_6V8.woff +0 -0
- package/dist/app/assets/montserrat-cyrillic-500-normal-CEcnig0T.woff2 +0 -0
- package/dist/app/assets/montserrat-cyrillic-600-normal-BDeOmj0F.woff +0 -0
- package/dist/app/assets/montserrat-cyrillic-600-normal-CFBuNk4A.woff2 +0 -0
- package/dist/app/assets/montserrat-cyrillic-700-normal-DO8I1zZZ.woff2 +0 -0
- package/dist/app/assets/montserrat-cyrillic-700-normal-DSUBOH1D.woff +0 -0
- package/dist/app/assets/montserrat-cyrillic-ext-300-normal-Ctr4ZZfs.woff +0 -0
- package/dist/app/assets/montserrat-cyrillic-ext-300-normal-DChc9K-m.woff2 +0 -0
- package/dist/app/assets/montserrat-cyrillic-ext-400-normal-C8cdMEH1.woff2 +0 -0
- package/dist/app/assets/montserrat-cyrillic-ext-400-normal-DRPPeomZ.woff +0 -0
- package/dist/app/assets/montserrat-cyrillic-ext-500-normal-B-4z8kjO.woff2 +0 -0
- package/dist/app/assets/montserrat-cyrillic-ext-500-normal-DOzfAZ45.woff +0 -0
- package/dist/app/assets/montserrat-cyrillic-ext-600-normal-DBK1zJ_f.woff2 +0 -0
- package/dist/app/assets/montserrat-cyrillic-ext-600-normal-wReYPmz2.woff +0 -0
- package/dist/app/assets/montserrat-cyrillic-ext-700-normal-D-Mk2xRJ.woff +0 -0
- package/dist/app/assets/montserrat-cyrillic-ext-700-normal-D3s9QaN5.woff2 +0 -0
- package/dist/app/assets/montserrat-latin-300-normal-DnktnXA7.woff +0 -0
- package/dist/app/assets/montserrat-latin-300-normal-nZUFlRvk.woff2 +0 -0
- package/dist/app/assets/montserrat-latin-400-normal-CIMKXMQI.woff2 +0 -0
- package/dist/app/assets/montserrat-latin-400-normal-c9plhWJ-.woff +0 -0
- package/dist/app/assets/montserrat-latin-500-normal-BO--OZiJ.woff2 +0 -0
- package/dist/app/assets/montserrat-latin-500-normal-D2tJUN_M.woff +0 -0
- package/dist/app/assets/montserrat-latin-600-normal-BIqsilEx.woff +0 -0
- package/dist/app/assets/montserrat-latin-600-normal-CjtsKS3e.woff2 +0 -0
- package/dist/app/assets/montserrat-latin-700-normal-BYRy5CoC.woff2 +0 -0
- package/dist/app/assets/montserrat-latin-700-normal-CdCxnP3F.woff +0 -0
- package/dist/app/assets/montserrat-latin-ext-300-normal-NKpoVfN0.woff +0 -0
- package/dist/app/assets/montserrat-latin-ext-300-normal-UC_9RREF.woff2 +0 -0
- package/dist/app/assets/montserrat-latin-ext-400-normal-Cd0_BKvP.woff2 +0 -0
- package/dist/app/assets/montserrat-latin-ext-400-normal-DTispvgz.woff +0 -0
- package/dist/app/assets/montserrat-latin-ext-500-normal-B3sO5DY5.woff +0 -0
- package/dist/app/assets/montserrat-latin-ext-500-normal-Dl9DnvF-.woff2 +0 -0
- package/dist/app/assets/montserrat-latin-ext-600-normal-Cdwl3Fm3.woff2 +0 -0
- package/dist/app/assets/montserrat-latin-ext-600-normal-TBwi8riD.woff +0 -0
- package/dist/app/assets/montserrat-latin-ext-700-normal-DTfQ8iG5.woff2 +0 -0
- package/dist/app/assets/montserrat-latin-ext-700-normal-DexoegUD.woff +0 -0
- package/dist/app/assets/montserrat-vietnamese-300-normal-QSCr16Ih.woff +0 -0
- package/dist/app/assets/montserrat-vietnamese-300-normal-dyDOfQEI.woff2 +0 -0
- package/dist/app/assets/montserrat-vietnamese-400-normal-CgEMIOQI.woff2 +0 -0
- package/dist/app/assets/montserrat-vietnamese-400-normal-CxETBKkY.woff +0 -0
- package/dist/app/assets/montserrat-vietnamese-500-normal-Bs8uzZ4q.woff2 +0 -0
- package/dist/app/assets/montserrat-vietnamese-500-normal-Cu11HB8x.woff +0 -0
- package/dist/app/assets/montserrat-vietnamese-600-normal-ByPVM7OU.woff +0 -0
- package/dist/app/assets/montserrat-vietnamese-600-normal-DPiqdaMz.woff2 +0 -0
- package/dist/app/assets/montserrat-vietnamese-700-normal-D8RPk-a5.woff2 +0 -0
- package/dist/app/assets/montserrat-vietnamese-700-normal-fdUDkXo_.woff +0 -0
- package/dist/app/assets/onest-cyrillic-100-normal-BzaRAqqs.woff +0 -0
- package/dist/app/assets/onest-cyrillic-100-normal-PXfF0wcm.woff2 +0 -0
- package/dist/app/assets/onest-cyrillic-400-normal-BxvCLB5P.woff +0 -0
- package/dist/app/assets/onest-cyrillic-400-normal-DH8vlB-A.woff2 +0 -0
- package/dist/app/assets/onest-cyrillic-700-normal-CwpXuTGk.woff2 +0 -0
- package/dist/app/assets/onest-cyrillic-700-normal-DOtXtm0s.woff +0 -0
- package/dist/app/assets/onest-latin-100-normal-4wr9CQWr.woff +0 -0
- package/dist/app/assets/onest-latin-100-normal-DLXL-llt.woff2 +0 -0
- package/dist/app/assets/onest-latin-400-normal-BAzPRZHg.woff +0 -0
- package/dist/app/assets/onest-latin-400-normal-bladozIj.woff2 +0 -0
- package/dist/app/assets/onest-latin-700-normal-B6UpoX6M.woff +0 -0
- package/dist/app/assets/onest-latin-700-normal-D8xhDbGo.woff2 +0 -0
- package/dist/app/assets/onest-latin-ext-100-normal-B3N32yGm.woff +0 -0
- package/dist/app/assets/onest-latin-ext-100-normal-WCPo8XPV.woff2 +0 -0
- package/dist/app/assets/onest-latin-ext-400-normal--mQR5RlC.woff2 +0 -0
- package/dist/app/assets/onest-latin-ext-400-normal-BbXTNVXw.woff +0 -0
- package/dist/app/assets/onest-latin-ext-700-normal-D_U7BJTl.woff2 +0 -0
- package/dist/app/assets/onest-latin-ext-700-normal-L8x1Byc4.woff +0 -0
- package/dist/app/assets/purify.es-CQJ0hv7W.js +2 -0
- package/dist/app/assets/ubuntu-cyrillic-400-normal-BfpxJ5Mw.woff +0 -0
- package/dist/app/assets/ubuntu-cyrillic-400-normal-D-o4fIzO.woff2 +0 -0
- package/dist/app/assets/ubuntu-cyrillic-ext-400-normal-C-34Juxs.woff +0 -0
- package/dist/app/assets/ubuntu-cyrillic-ext-400-normal-CVGbIIzP.woff2 +0 -0
- package/dist/app/assets/ubuntu-greek-400-normal-B86YUbWL.woff +0 -0
- package/dist/app/assets/ubuntu-greek-400-normal-DR4BMUC4.woff2 +0 -0
- package/dist/app/assets/ubuntu-greek-ext-400-normal-CMWpe1v5.woff2 +0 -0
- package/dist/app/assets/ubuntu-greek-ext-400-normal-Cksm0_CD.woff +0 -0
- package/dist/app/assets/ubuntu-latin-400-normal-5Llmrjj6.woff2 +0 -0
- package/dist/app/assets/ubuntu-latin-400-normal-CB0YmOUt.woff +0 -0
- package/dist/app/assets/ubuntu-latin-ext-400-normal-BmiHIjmy.woff2 +0 -0
- package/dist/app/assets/ubuntu-latin-ext-400-normal-VrasUMOh.woff +0 -0
- package/dist/app/img/IRN-logo.png +0 -0
- package/dist/app/img/dark/bg_ph1.png +0 -0
- package/dist/app/img/dark/bg_ph2.jpg +0 -0
- package/dist/app/img/dark/bg_ph3.png +0 -0
- package/dist/app/img/dark/masjid_ph1.png +0 -0
- package/dist/app/img/dark/masjid_ph3.png +0 -0
- package/dist/app/img/dark/ph1_dark.jpg +0 -0
- package/dist/app/img/dark/ph3_dark.jpg +0 -0
- package/dist/app/img/instruction.jpg +0 -0
- package/dist/app/img/light/bg_ph1.png +0 -0
- package/dist/app/img/light/bg_ph2.jpg +0 -0
- package/dist/app/img/light/bg_ph3.png +0 -0
- package/dist/app/img/light/masjid_ph1.png +0 -0
- package/dist/app/img/light/masjid_ph3.png +0 -0
- package/dist/app/img/light/ph1_light.png +0 -0
- package/dist/app/img/light/ph3_light.jpg +0 -0
- package/dist/app/img/masjid-select.png +0 -0
- package/dist/app/img/masjid_ph2.png +0 -0
- package/dist/app/img/quran img.png +0 -0
- package/dist/app/img/ud/bg1.png +0 -0
- package/dist/app/img/ud/bg2.png +0 -0
- package/dist/app/img/ud/bg3.png +0 -0
- package/dist/app/index.html +14 -0
- package/dist/app/manifest.webmanifest +1 -0
- package/dist/app/media/AD 1.png +0 -0
- package/dist/app/media/AD 2.jpg +0 -0
- package/dist/app/media/AD 3.jpg +0 -0
- package/dist/app/media/Mosque demo 1.mp4 +0 -0
- package/dist/app/media/Mosque demo 2.mp4 +0 -0
- package/dist/app/registerSW.js +1 -0
- package/dist/app/sw.js +1 -0
- package/dist/app/workbox-e3490c72.js +1 -0
- package/dist/components/lobby1/AnnouncementBar.d.ts +2 -0
- package/dist/components/lobby1/Carousel.d.ts +9 -0
- package/dist/components/lobby1/SmallPrayerTable.d.ts +13 -0
- package/dist/components/lobby2/ClockAndPrayersLeft.d.ts +12 -0
- package/dist/components/lobby2/PrayerBoxes.d.ts +14 -0
- package/dist/components/lobby3/Countdown.d.ts +9 -0
- package/dist/components/lobby3/LobbyTimetable.d.ts +9 -0
- package/dist/components/miscellaneous/ButtonSpin.d.ts +2 -0
- package/dist/components/miscellaneous/DownloadModal.d.ts +8 -0
- package/dist/components/miscellaneous/ErrorFallback.d.ts +3 -0
- package/dist/components/miscellaneous/FullscreenToggleButton.d.ts +6 -0
- package/dist/components/miscellaneous/Spin.d.ts +4 -0
- package/dist/components/miscellaneous/Toast.d.ts +2 -0
- package/dist/components/miscellanious/ButtonSpin.d.ts +2 -0
- package/dist/components/miscellanious/DownloadModal.d.ts +8 -0
- package/dist/components/miscellanious/FullscreenToggleButton.d.ts +6 -0
- package/dist/components/miscellanious/Spin.d.ts +4 -0
- package/dist/components/miscellanious/Toast.d.ts +2 -0
- package/dist/components/ph1/Instruction.d.ts +1 -0
- package/dist/components/ph1/MasjidLogo.d.ts +9 -0
- package/dist/components/ph1/MasjidPrayerClock.d.ts +8 -0
- package/dist/components/ph1/PrayerClockPH1.d.ts +5 -0
- package/dist/components/ph1/TimeTablePH1.d.ts +12 -0
- package/dist/components/ph2/PrayerTimeBox.d.ts +15 -0
- package/dist/components/ph3/CountdownText.d.ts +6 -0
- package/dist/components/ph3/CountdownVisual.d.ts +6 -0
- package/dist/components/ph3/DateInfo.d.ts +7 -0
- package/dist/components/ph3/DigitalClock.d.ts +5 -0
- package/dist/components/ph3/TimeTable.d.ts +9 -0
- package/dist/components/ud/CreatePrayerTimetableCard.d.ts +10 -0
- package/dist/components/ud/DateSelect.d.ts +10 -0
- package/dist/components/ud/DateSelector.d.ts +4 -0
- package/dist/components/ud/EventCard.d.ts +10 -0
- package/dist/components/ud/Header.d.ts +4 -0
- package/dist/components/ud/HijriCalendar.d.ts +9 -0
- package/dist/components/ud/ListEvents.d.ts +8 -0
- package/dist/components/ud/MasjidSelect.d.ts +4 -0
- package/dist/components/ud/PrayerTable.d.ts +9 -0
- package/dist/components/ud/PrayerTableTab.d.ts +9 -0
- package/dist/components/ud/PrayerTimetable.d.ts +4 -0
- package/dist/components/ud/Time.d.ts +6 -0
- package/dist/config/language-config.d.ts +3 -0
- package/dist/context/ThemeContext.d.ts +20 -0
- package/dist/context/UDContext.d.ts +52 -0
- package/dist/context/UDContextPreview.d.ts +43 -0
- package/dist/context/UDProviderWrapper.d.ts +2 -0
- package/dist/database-services/HijriServices.d.ts +11 -0
- package/dist/database-services/LocationServices.d.ts +16 -0
- package/dist/database-services/MasjidService.d.ts +6 -0
- package/dist/database-services/PrayerTimesService.d.ts +9 -0
- package/dist/database-services/logService.d.ts +1 -0
- package/dist/helpers/convertImgUrlToBase64.d.ts +1 -0
- package/dist/helpers/hexToRgba.d.ts +1 -0
- package/dist/hooks/useColorScheme.d.ts +16 -0
- package/dist/hooks/useEvents.d.ts +6 -0
- package/dist/hooks/useFetchAdhanAudio.d.ts +13 -0
- package/dist/hooks/useFetchUDTheme.d.ts +4 -0
- package/dist/hooks/useHijriMonthNames.d.ts +7 -0
- package/dist/hooks/useIqamahCheck.d.ts +12 -0
- package/dist/hooks/useLobbyConfig.d.ts +4 -0
- package/dist/hooks/useLocations.d.ts +5 -0
- package/dist/hooks/useMasjidInfo.d.ts +10 -0
- package/dist/hooks/useMosqueAnnouncement.d.ts +4 -0
- package/dist/hooks/useMosqueLanguage.d.ts +4 -0
- package/dist/hooks/useMosqueMedia.d.ts +10 -0
- package/dist/hooks/useMosquesForLocation.d.ts +11 -0
- package/dist/hooks/usePrayerTimes.d.ts +6 -0
- package/dist/hooks/usePrayerTimesRange.d.ts +15 -0
- package/dist/hooks/usePrayerTimesUD.d.ts +17 -0
- package/dist/hooks/usePrayerhallConfig.d.ts +4 -0
- package/dist/hooks/useUDLayoutConfig.d.ts +5 -0
- package/dist/i18n.d.ts +2 -0
- package/dist/index.d.ts +39 -0
- package/dist/layout-components/lobby1/AnnouncementPart.d.ts +10 -0
- package/dist/layout-components/lobby1/CarouselPart.d.ts +6 -0
- package/dist/layout-components/lobby1/ClockAndTime.d.ts +9 -0
- package/dist/layout-components/lobby1/TablePart.d.ts +15 -0
- package/dist/layout-components/lobby2/CarouselAndTime.d.ts +7 -0
- package/dist/layout-components/lobby2/PrayerPart.d.ts +17 -0
- package/dist/layout-components/lobby3/TimePart.d.ts +15 -0
- package/dist/layout-components/ph1/ClockPart.d.ts +6 -0
- package/dist/layout-components/ph1/TimeTablePart.d.ts +15 -0
- package/dist/layout-components/ph2/ClockAndPrayers.d.ts +9 -0
- package/dist/layout-components/ph2/CountdownBox.d.ts +8 -0
- package/dist/layout-components/ph2/ExtraInfo.d.ts +11 -0
- package/dist/layout-components/ph2/TimeAndDate.d.ts +5 -0
- package/dist/layout-components/ph3/DigitalClockPart.d.ts +8 -0
- package/dist/layout-components/ph3/MasjidInfo.d.ts +5 -0
- package/dist/layout-components/ph3/TimeTable.d.ts +14 -0
- package/dist/lib/browser-VarZHYP5.js +13 -0
- package/dist/lib/html2canvas.esm-d2sM-0Wm.js +4870 -0
- package/dist/lib/img/IRN-logo.png +0 -0
- package/dist/lib/img/dark/bg_ph1.png +0 -0
- package/dist/lib/img/dark/bg_ph2.jpg +0 -0
- package/dist/lib/img/dark/bg_ph3.png +0 -0
- package/dist/lib/img/dark/masjid_ph1.png +0 -0
- package/dist/lib/img/dark/masjid_ph3.png +0 -0
- package/dist/lib/img/dark/ph1_dark.jpg +0 -0
- package/dist/lib/img/dark/ph3_dark.jpg +0 -0
- package/dist/lib/img/instruction.jpg +0 -0
- package/dist/lib/img/light/bg_ph1.png +0 -0
- package/dist/lib/img/light/bg_ph2.jpg +0 -0
- package/dist/lib/img/light/bg_ph3.png +0 -0
- package/dist/lib/img/light/masjid_ph1.png +0 -0
- package/dist/lib/img/light/masjid_ph3.png +0 -0
- package/dist/lib/img/light/ph1_light.png +0 -0
- package/dist/lib/img/light/ph3_light.jpg +0 -0
- package/dist/lib/img/masjid-select.png +0 -0
- package/dist/lib/img/masjid_ph2.png +0 -0
- package/dist/lib/img/quran img.png +0 -0
- package/dist/lib/img/ud/bg1.png +0 -0
- package/dist/lib/img/ud/bg2.png +0 -0
- package/dist/lib/img/ud/bg3.png +0 -0
- package/dist/lib/index-2Y4JRc3S.js +28122 -0
- package/dist/lib/index.css +1 -0
- package/dist/lib/index.es-Cb_BrjEy.js +5605 -0
- package/dist/lib/media/AD 1.png +0 -0
- package/dist/lib/media/AD 2.jpg +0 -0
- package/dist/lib/media/AD 3.jpg +0 -0
- package/dist/lib/media/Mosque demo 1.mp4 +0 -0
- package/dist/lib/media/Mosque demo 2.mp4 +0 -0
- package/dist/lib/my-ui-library.es.js +41 -0
- package/dist/lib/my-ui-library.umd.js +407 -0
- package/dist/lib/purify.es-DHbHSKL1.js +528 -0
- package/dist/main.d.ts +19 -0
- package/dist/pages/IqamahScreen.d.ts +2 -0
- package/dist/pages/Lobby1.d.ts +2 -0
- package/dist/pages/Lobby2.d.ts +2 -0
- package/dist/pages/Lobby3.d.ts +2 -0
- package/dist/pages/NotFound.d.ts +2 -0
- package/dist/pages/PH1.d.ts +2 -0
- package/dist/pages/PH2.d.ts +2 -0
- package/dist/pages/PH3.d.ts +2 -0
- package/dist/pages/ud/DownloadTimetable.d.ts +2 -0
- package/dist/pages/ud/Events.d.ts +2 -0
- package/dist/pages/ud/UD1.d.ts +2 -0
- package/dist/pages/ud/UD2.d.ts +2 -0
- package/dist/pages/ud/UD3.d.ts +2 -0
- package/dist/pages/ud/ViewTimetable.d.ts +2 -0
- package/dist/renderer/lobby/LobbyLayoutRenderer.d.ts +26 -0
- package/dist/renderer/lobby/LobbyRenderer.d.ts +2 -0
- package/dist/renderer/prayer-hall/PrayerHallLayoutRenderer.d.ts +33 -0
- package/dist/renderer/prayer-hall/PrayerHallRenderer.d.ts +2 -0
- package/dist/renderer/user-display/UDLayoutRenderer.d.ts +23 -0
- package/dist/renderer/user-display/UDRenderer.d.ts +2 -0
- package/dist/routes/AppRoutes.d.ts +2 -0
- package/dist/supabase.d.ts +1 -0
- package/dist/types/types.d.ts +45 -0
- package/dist/utils/CustomInput.d.ts +3 -0
- package/dist/utils/clockThemes.d.ts +27 -0
- package/dist/utils/countdown.d.ts +3 -0
- package/dist/utils/formatDate.d.ts +1 -0
- package/dist/utils/formatHijriDate.d.ts +9 -0
- package/dist/utils/formatHijriDay.d.ts +9 -0
- package/dist/utils/getThemeByTime.d.ts +2 -0
- package/dist/utils/idb/announcementDB.d.ts +2 -0
- package/dist/utils/idb/colorSchemeDB.d.ts +2 -0
- package/dist/utils/idb/hijriDatesDB.d.ts +2 -0
- package/dist/utils/idb/layoutConfigDB.d.ts +2 -0
- package/dist/utils/idb/locationDB.d.ts +8 -0
- package/dist/utils/idb/masjidInfoDB.d.ts +2 -0
- package/dist/utils/idb/mosqueMediaDB.d.ts +2 -0
- package/dist/utils/idb/mosquesByLocationDB.d.ts +8 -0
- package/dist/utils/idb/prayerRangeDB.d.ts +5 -0
- package/dist/utils/idb/prayerTimesDB.d.ts +6 -0
- package/dist/utils/idb/siteLanguageDB.d.ts +2 -0
- package/dist/utils/idb/udPrayerTimesDB.d.ts +17 -0
- package/dist/utils/timeToHours.d.ts +1 -0
- package/dist/utils/toMinutes.d.ts +2 -0
- package/dist/utils/toSimplePrayerTimes.d.ts +2 -0
- package/package.json +87 -0
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! @license DOMPurify 3.2.6 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.2.6/LICENSE */const{entries:Tt,setPrototypeOf:rt,isFrozen:Bt,getPrototypeOf:Yt,getOwnPropertyDescriptor:Xt}=Object;let{freeze:S,seal:y,create:_t}=Object,{apply:we,construct:xe}=typeof Reflect<"u"&&Reflect;S||(S=function(o){return o});y||(y=function(o){return o});we||(we=function(o,l,s){return o.apply(l,s)});xe||(xe=function(o,l){return new o(...l)});const le=R(Array.prototype.forEach),jt=R(Array.prototype.lastIndexOf),st=R(Array.prototype.pop),$=R(Array.prototype.push),Vt=R(Array.prototype.splice),fe=R(String.prototype.toLowerCase),Ne=R(String.prototype.toString),lt=R(String.prototype.match),q=R(String.prototype.replace),$t=R(String.prototype.indexOf),qt=R(String.prototype.trim),L=R(Object.prototype.hasOwnProperty),A=R(RegExp.prototype.test),K=Kt(TypeError);function R(r){return function(o){o instanceof RegExp&&(o.lastIndex=0);for(var l=arguments.length,s=new Array(l>1?l-1:0),T=1;T<l;T++)s[T-1]=arguments[T];return we(r,o,s)}}function Kt(r){return function(){for(var o=arguments.length,l=new Array(o),s=0;s<o;s++)l[s]=arguments[s];return xe(r,l)}}function a(r,o){let l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:fe;rt&&rt(r,null);let s=o.length;for(;s--;){let T=o[s];if(typeof T=="string"){const N=l(T);N!==T&&(Bt(o)||(o[s]=N),T=N)}r[T]=!0}return r}function Zt(r){for(let o=0;o<r.length;o++)L(r,o)||(r[o]=null);return r}function C(r){const o=_t(null);for(const[l,s]of Tt(r))L(r,l)&&(Array.isArray(s)?o[l]=Zt(s):s&&typeof s=="object"&&s.constructor===Object?o[l]=C(s):o[l]=s);return o}function Z(r,o){for(;r!==null;){const s=Xt(r,o);if(s){if(s.get)return R(s.get);if(typeof s.value=="function")return R(s.value)}r=Yt(r)}function l(){return null}return l}const ct=S(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),be=S(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),Ie=S(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),Jt=S(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),Me=S(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),Qt=S(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),ft=S(["#text"]),ut=S(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),Ce=S(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),mt=S(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),ce=S(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),en=y(/\{\{[\w\W]*|[\w\W]*\}\}/gm),tn=y(/<%[\w\W]*|[\w\W]*%>/gm),nn=y(/\$\{[\w\W]*/gm),on=y(/^data-[\-\w.\u00B7-\uFFFF]+$/),an=y(/^aria-[\-\w]+$/),Et=y(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),rn=y(/^(?:\w+script|data):/i),sn=y(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),gt=y(/^html$/i),ln=y(/^[a-z][.\w]*(-[.\w]+)+$/i);var pt=Object.freeze({__proto__:null,ARIA_ATTR:an,ATTR_WHITESPACE:sn,CUSTOM_ELEMENT:ln,DATA_ATTR:on,DOCTYPE_NAME:gt,ERB_EXPR:tn,IS_ALLOWED_URI:Et,IS_SCRIPT_OR_DATA:rn,MUSTACHE_EXPR:en,TMPLIT_EXPR:nn});const J={element:1,text:3,progressingInstruction:7,comment:8,document:9},cn=function(){return typeof window>"u"?null:window},fn=function(o,l){if(typeof o!="object"||typeof o.createPolicy!="function")return null;let s=null;const T="data-tt-policy-suffix";l&&l.hasAttribute(T)&&(s=l.getAttribute(T));const N="dompurify"+(s?"#"+s:"");try{return o.createPolicy(N,{createHTML(x){return x},createScriptURL(x){return x}})}catch{return console.warn("TrustedTypes policy "+N+" could not be created."),null}},dt=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};function ht(){let r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:cn();const o=i=>ht(i);if(o.version="3.2.6",o.removed=[],!r||!r.document||r.document.nodeType!==J.document||!r.Element)return o.isSupported=!1,o;let{document:l}=r;const s=l,T=s.currentScript,{DocumentFragment:N,HTMLTemplateElement:x,Node:ue,Element:Pe,NodeFilter:G,NamedNodeMap:At=r.NamedNodeMap||r.MozNamedAttrMap,HTMLFormElement:St,DOMParser:Rt,trustedTypes:Q}=r,W=Pe.prototype,Ot=Z(W,"cloneNode"),yt=Z(W,"remove"),Lt=Z(W,"nextSibling"),Dt=Z(W,"childNodes"),ee=Z(W,"parentNode");if(typeof x=="function"){const i=l.createElement("template");i.content&&i.content.ownerDocument&&(l=i.content.ownerDocument)}let g,B="";const{implementation:me,createNodeIterator:Nt,createDocumentFragment:bt,getElementsByTagName:It}=l,{importNode:Mt}=s;let h=dt();o.isSupported=typeof Tt=="function"&&typeof ee=="function"&&me&&me.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:pe,ERB_EXPR:de,TMPLIT_EXPR:Te,DATA_ATTR:Ct,ARIA_ATTR:wt,IS_SCRIPT_OR_DATA:xt,ATTR_WHITESPACE:ve,CUSTOM_ELEMENT:Pt}=pt;let{IS_ALLOWED_URI:ke}=pt,m=null;const Ue=a({},[...ct,...be,...Ie,...Me,...ft]);let d=null;const Fe=a({},[...ut,...Ce,...mt,...ce]);let f=Object.seal(_t(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),Y=null,_e=null,He=!0,Ee=!0,ze=!1,Ge=!0,P=!1,te=!0,w=!1,ge=!1,he=!1,v=!1,ne=!1,oe=!1,We=!0,Be=!1;const vt="user-content-";let Ae=!0,X=!1,k={},U=null;const Ye=a({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let Xe=null;const je=a({},["audio","video","img","source","image","track"]);let Se=null;const Ve=a({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),ie="http://www.w3.org/1998/Math/MathML",ae="http://www.w3.org/2000/svg",b="http://www.w3.org/1999/xhtml";let F=b,Re=!1,Oe=null;const kt=a({},[ie,ae,b],Ne);let re=a({},["mi","mo","mn","ms","mtext"]),se=a({},["annotation-xml"]);const Ut=a({},["title","style","font","a","script"]);let j=null;const Ft=["application/xhtml+xml","text/html"],Ht="text/html";let p=null,H=null;const zt=l.createElement("form"),$e=function(e){return e instanceof RegExp||e instanceof Function},ye=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(H&&H===e)){if((!e||typeof e!="object")&&(e={}),e=C(e),j=Ft.indexOf(e.PARSER_MEDIA_TYPE)===-1?Ht:e.PARSER_MEDIA_TYPE,p=j==="application/xhtml+xml"?Ne:fe,m=L(e,"ALLOWED_TAGS")?a({},e.ALLOWED_TAGS,p):Ue,d=L(e,"ALLOWED_ATTR")?a({},e.ALLOWED_ATTR,p):Fe,Oe=L(e,"ALLOWED_NAMESPACES")?a({},e.ALLOWED_NAMESPACES,Ne):kt,Se=L(e,"ADD_URI_SAFE_ATTR")?a(C(Ve),e.ADD_URI_SAFE_ATTR,p):Ve,Xe=L(e,"ADD_DATA_URI_TAGS")?a(C(je),e.ADD_DATA_URI_TAGS,p):je,U=L(e,"FORBID_CONTENTS")?a({},e.FORBID_CONTENTS,p):Ye,Y=L(e,"FORBID_TAGS")?a({},e.FORBID_TAGS,p):C({}),_e=L(e,"FORBID_ATTR")?a({},e.FORBID_ATTR,p):C({}),k=L(e,"USE_PROFILES")?e.USE_PROFILES:!1,He=e.ALLOW_ARIA_ATTR!==!1,Ee=e.ALLOW_DATA_ATTR!==!1,ze=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Ge=e.ALLOW_SELF_CLOSE_IN_ATTR!==!1,P=e.SAFE_FOR_TEMPLATES||!1,te=e.SAFE_FOR_XML!==!1,w=e.WHOLE_DOCUMENT||!1,v=e.RETURN_DOM||!1,ne=e.RETURN_DOM_FRAGMENT||!1,oe=e.RETURN_TRUSTED_TYPE||!1,he=e.FORCE_BODY||!1,We=e.SANITIZE_DOM!==!1,Be=e.SANITIZE_NAMED_PROPS||!1,Ae=e.KEEP_CONTENT!==!1,X=e.IN_PLACE||!1,ke=e.ALLOWED_URI_REGEXP||Et,F=e.NAMESPACE||b,re=e.MATHML_TEXT_INTEGRATION_POINTS||re,se=e.HTML_INTEGRATION_POINTS||se,f=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&$e(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(f.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&$e(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(f.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(f.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),P&&(Ee=!1),ne&&(v=!0),k&&(m=a({},ft),d=[],k.html===!0&&(a(m,ct),a(d,ut)),k.svg===!0&&(a(m,be),a(d,Ce),a(d,ce)),k.svgFilters===!0&&(a(m,Ie),a(d,Ce),a(d,ce)),k.mathMl===!0&&(a(m,Me),a(d,mt),a(d,ce))),e.ADD_TAGS&&(m===Ue&&(m=C(m)),a(m,e.ADD_TAGS,p)),e.ADD_ATTR&&(d===Fe&&(d=C(d)),a(d,e.ADD_ATTR,p)),e.ADD_URI_SAFE_ATTR&&a(Se,e.ADD_URI_SAFE_ATTR,p),e.FORBID_CONTENTS&&(U===Ye&&(U=C(U)),a(U,e.FORBID_CONTENTS,p)),Ae&&(m["#text"]=!0),w&&a(m,["html","head","body"]),m.table&&(a(m,["tbody"]),delete Y.tbody),e.TRUSTED_TYPES_POLICY){if(typeof e.TRUSTED_TYPES_POLICY.createHTML!="function")throw K('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof e.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw K('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');g=e.TRUSTED_TYPES_POLICY,B=g.createHTML("")}else g===void 0&&(g=fn(Q,T)),g!==null&&typeof B=="string"&&(B=g.createHTML(""));S&&S(e),H=e}},qe=a({},[...be,...Ie,...Jt]),Ke=a({},[...Me,...Qt]),Gt=function(e){let t=ee(e);(!t||!t.tagName)&&(t={namespaceURI:F,tagName:"template"});const n=fe(e.tagName),c=fe(t.tagName);return Oe[e.namespaceURI]?e.namespaceURI===ae?t.namespaceURI===b?n==="svg":t.namespaceURI===ie?n==="svg"&&(c==="annotation-xml"||re[c]):!!qe[n]:e.namespaceURI===ie?t.namespaceURI===b?n==="math":t.namespaceURI===ae?n==="math"&&se[c]:!!Ke[n]:e.namespaceURI===b?t.namespaceURI===ae&&!se[c]||t.namespaceURI===ie&&!re[c]?!1:!Ke[n]&&(Ut[n]||!qe[n]):!!(j==="application/xhtml+xml"&&Oe[e.namespaceURI]):!1},D=function(e){$(o.removed,{element:e});try{ee(e).removeChild(e)}catch{yt(e)}},z=function(e,t){try{$(o.removed,{attribute:t.getAttributeNode(e),from:t})}catch{$(o.removed,{attribute:null,from:t})}if(t.removeAttribute(e),e==="is")if(v||ne)try{D(t)}catch{}else try{t.setAttribute(e,"")}catch{}},Ze=function(e){let t=null,n=null;if(he)e="<remove></remove>"+e;else{const u=lt(e,/^[\r\n\t ]+/);n=u&&u[0]}j==="application/xhtml+xml"&&F===b&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");const c=g?g.createHTML(e):e;if(F===b)try{t=new Rt().parseFromString(c,j)}catch{}if(!t||!t.documentElement){t=me.createDocument(F,"template",null);try{t.documentElement.innerHTML=Re?B:c}catch{}}const _=t.body||t.documentElement;return e&&n&&_.insertBefore(l.createTextNode(n),_.childNodes[0]||null),F===b?It.call(t,w?"html":"body")[0]:w?t.documentElement:_},Je=function(e){return Nt.call(e.ownerDocument||e,e,G.SHOW_ELEMENT|G.SHOW_COMMENT|G.SHOW_TEXT|G.SHOW_PROCESSING_INSTRUCTION|G.SHOW_CDATA_SECTION,null)},Le=function(e){return e instanceof St&&(typeof e.nodeName!="string"||typeof e.textContent!="string"||typeof e.removeChild!="function"||!(e.attributes instanceof At)||typeof e.removeAttribute!="function"||typeof e.setAttribute!="function"||typeof e.namespaceURI!="string"||typeof e.insertBefore!="function"||typeof e.hasChildNodes!="function")},Qe=function(e){return typeof ue=="function"&&e instanceof ue};function I(i,e,t){le(i,n=>{n.call(o,e,t,H)})}const et=function(e){let t=null;if(I(h.beforeSanitizeElements,e,null),Le(e))return D(e),!0;const n=p(e.nodeName);if(I(h.uponSanitizeElement,e,{tagName:n,allowedTags:m}),te&&e.hasChildNodes()&&!Qe(e.firstElementChild)&&A(/<[/\w!]/g,e.innerHTML)&&A(/<[/\w!]/g,e.textContent)||e.nodeType===J.progressingInstruction||te&&e.nodeType===J.comment&&A(/<[/\w]/g,e.data))return D(e),!0;if(!m[n]||Y[n]){if(!Y[n]&&nt(n)&&(f.tagNameCheck instanceof RegExp&&A(f.tagNameCheck,n)||f.tagNameCheck instanceof Function&&f.tagNameCheck(n)))return!1;if(Ae&&!U[n]){const c=ee(e)||e.parentNode,_=Dt(e)||e.childNodes;if(_&&c){const u=_.length;for(let O=u-1;O>=0;--O){const M=Ot(_[O],!0);M.__removalCount=(e.__removalCount||0)+1,c.insertBefore(M,Lt(e))}}}return D(e),!0}return e instanceof Pe&&!Gt(e)||(n==="noscript"||n==="noembed"||n==="noframes")&&A(/<\/no(script|embed|frames)/i,e.innerHTML)?(D(e),!0):(P&&e.nodeType===J.text&&(t=e.textContent,le([pe,de,Te],c=>{t=q(t,c," ")}),e.textContent!==t&&($(o.removed,{element:e.cloneNode()}),e.textContent=t)),I(h.afterSanitizeElements,e,null),!1)},tt=function(e,t,n){if(We&&(t==="id"||t==="name")&&(n in l||n in zt))return!1;if(!(Ee&&!_e[t]&&A(Ct,t))){if(!(He&&A(wt,t))){if(!d[t]||_e[t]){if(!(nt(e)&&(f.tagNameCheck instanceof RegExp&&A(f.tagNameCheck,e)||f.tagNameCheck instanceof Function&&f.tagNameCheck(e))&&(f.attributeNameCheck instanceof RegExp&&A(f.attributeNameCheck,t)||f.attributeNameCheck instanceof Function&&f.attributeNameCheck(t))||t==="is"&&f.allowCustomizedBuiltInElements&&(f.tagNameCheck instanceof RegExp&&A(f.tagNameCheck,n)||f.tagNameCheck instanceof Function&&f.tagNameCheck(n))))return!1}else if(!Se[t]){if(!A(ke,q(n,ve,""))){if(!((t==="src"||t==="xlink:href"||t==="href")&&e!=="script"&&$t(n,"data:")===0&&Xe[e])){if(!(ze&&!A(xt,q(n,ve,"")))){if(n)return!1}}}}}}return!0},nt=function(e){return e!=="annotation-xml"&<(e,Pt)},ot=function(e){I(h.beforeSanitizeAttributes,e,null);const{attributes:t}=e;if(!t||Le(e))return;const n={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:d,forceKeepAttr:void 0};let c=t.length;for(;c--;){const _=t[c],{name:u,namespaceURI:O,value:M}=_,V=p(u),De=M;let E=u==="value"?De:qt(De);if(n.attrName=V,n.attrValue=E,n.keepAttr=!0,n.forceKeepAttr=void 0,I(h.uponSanitizeAttribute,e,n),E=n.attrValue,Be&&(V==="id"||V==="name")&&(z(u,e),E=vt+E),te&&A(/((--!?|])>)|<\/(style|title)/i,E)){z(u,e);continue}if(n.forceKeepAttr)continue;if(!n.keepAttr){z(u,e);continue}if(!Ge&&A(/\/>/i,E)){z(u,e);continue}P&&le([pe,de,Te],at=>{E=q(E,at," ")});const it=p(e.nodeName);if(!tt(it,V,E)){z(u,e);continue}if(g&&typeof Q=="object"&&typeof Q.getAttributeType=="function"&&!O)switch(Q.getAttributeType(it,V)){case"TrustedHTML":{E=g.createHTML(E);break}case"TrustedScriptURL":{E=g.createScriptURL(E);break}}if(E!==De)try{O?e.setAttributeNS(O,u,E):e.setAttribute(u,E),Le(e)?D(e):st(o.removed)}catch{z(u,e)}}I(h.afterSanitizeAttributes,e,null)},Wt=function i(e){let t=null;const n=Je(e);for(I(h.beforeSanitizeShadowDOM,e,null);t=n.nextNode();)I(h.uponSanitizeShadowNode,t,null),et(t),ot(t),t.content instanceof N&&i(t.content);I(h.afterSanitizeShadowDOM,e,null)};return o.sanitize=function(i){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},t=null,n=null,c=null,_=null;if(Re=!i,Re&&(i="<!-->"),typeof i!="string"&&!Qe(i))if(typeof i.toString=="function"){if(i=i.toString(),typeof i!="string")throw K("dirty is not a string, aborting")}else throw K("toString is not a function");if(!o.isSupported)return i;if(ge||ye(e),o.removed=[],typeof i=="string"&&(X=!1),X){if(i.nodeName){const M=p(i.nodeName);if(!m[M]||Y[M])throw K("root node is forbidden and cannot be sanitized in-place")}}else if(i instanceof ue)t=Ze("<!---->"),n=t.ownerDocument.importNode(i,!0),n.nodeType===J.element&&n.nodeName==="BODY"||n.nodeName==="HTML"?t=n:t.appendChild(n);else{if(!v&&!P&&!w&&i.indexOf("<")===-1)return g&&oe?g.createHTML(i):i;if(t=Ze(i),!t)return v?null:oe?B:""}t&&he&&D(t.firstChild);const u=Je(X?i:t);for(;c=u.nextNode();)et(c),ot(c),c.content instanceof N&&Wt(c.content);if(X)return i;if(v){if(ne)for(_=bt.call(t.ownerDocument);t.firstChild;)_.appendChild(t.firstChild);else _=t;return(d.shadowroot||d.shadowrootmode)&&(_=Mt.call(s,_,!0)),_}let O=w?t.outerHTML:t.innerHTML;return w&&m["!doctype"]&&t.ownerDocument&&t.ownerDocument.doctype&&t.ownerDocument.doctype.name&&A(gt,t.ownerDocument.doctype.name)&&(O="<!DOCTYPE "+t.ownerDocument.doctype.name+`>
|
|
2
|
+
`+O),P&&le([pe,de,Te],M=>{O=q(O,M," ")}),g&&oe?g.createHTML(O):O},o.setConfig=function(){let i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};ye(i),ge=!0},o.clearConfig=function(){H=null,ge=!1},o.isValidAttribute=function(i,e,t){H||ye({});const n=p(i),c=p(e);return tt(n,c,t)},o.addHook=function(i,e){typeof e=="function"&&$(h[i],e)},o.removeHook=function(i,e){if(e!==void 0){const t=jt(h[i],e);return t===-1?void 0:Vt(h[i],t,1)[0]}return st(h[i])},o.removeHooks=function(i){h[i]=[]},o.removeAllHooks=function(){h=dt()},o}var un=ht();export{un as default};
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
<!doctype html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="UTF-8" />
|
|
5
|
+
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
|
|
6
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
7
|
+
<title>Bønnetid</title>
|
|
8
|
+
<script type="module" crossorigin src="/assets/index-BK9CpLtb.js"></script>
|
|
9
|
+
<link rel="stylesheet" crossorigin href="/assets/index-qLhYbFtH.css">
|
|
10
|
+
<link rel="manifest" href="/manifest.webmanifest"><script id="vite-plugin-pwa:register-sw" src="/registerSW.js"></script></head>
|
|
11
|
+
<body>
|
|
12
|
+
<div id="root"></div>
|
|
13
|
+
</body>
|
|
14
|
+
</html>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"name":"bonnetid-ui","short_name":"bonnetid-ui","description":"This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.","start_url":"/","display":"standalone","background_color":"#ffffff","theme_color":"#42b883","lang":"en","scope":"/"}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
if('serviceWorker' in navigator) {window.addEventListener('load', () => {navigator.serviceWorker.register('/sw.js', { scope: '/' })})}
|
package/dist/app/sw.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
if(!self.define){let e,s={};const i=(i,n)=>(i=new URL(i+".js",n).href,s[i]||new Promise((s=>{if("document"in self){const e=document.createElement("script");e.src=i,e.onload=s,document.head.appendChild(e)}else e=i,importScripts(i),s()})).then((()=>{let e=s[i];if(!e)throw new Error(`Module ${i} didn’t register its module`);return e})));self.define=(n,r)=>{const t=e||("document"in self?document.currentScript.src:"")||location.href;if(s[t])return;let l={};const o=e=>i(e,t),u={module:{uri:t},exports:l,require:o};s[t]=Promise.all(n.map((e=>u[e]||o(e)))).then((e=>(r(...e),l)))}}define(["./workbox-e3490c72"],(function(e){"use strict";self.addEventListener("message",(e=>{e.data&&"SKIP_WAITING"===e.data.type&&self.skipWaiting()})),e.precacheAndRoute([{url:"assets/browser-BPq4aN9G.js",revision:null},{url:"assets/html2canvas.esm-CBrSDip1.js",revision:null},{url:"assets/index-BK9CpLtb.js",revision:null},{url:"assets/index-qLhYbFtH.css",revision:null},{url:"assets/index.es-BowDWdhy.js",revision:null},{url:"assets/purify.es-CQJ0hv7W.js",revision:null},{url:"index.html",revision:"de1d7e7b8bf4ca56a7d4a5d8f174d5aa"},{url:"registerSW.js",revision:"1872c500de691dce40960bb85481de07"},{url:"manifest.webmanifest",revision:"2fbefa9e4ccfe8a9c589d7052623a58f"}],{}),e.cleanupOutdatedCaches(),e.registerRoute(new e.NavigationRoute(e.createHandlerBoundToURL("index.html")))}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
define(["exports"],(function(t){"use strict";try{self["workbox:core:7.2.0"]&&_()}catch(t){}const e=(t,...e)=>{let s=t;return e.length>0&&(s+=` :: ${JSON.stringify(e)}`),s};class s extends Error{constructor(t,s){super(e(t,s)),this.name=t,this.details=s}}try{self["workbox:routing:7.2.0"]&&_()}catch(t){}const n=t=>t&&"object"==typeof t?t:{handle:t};class i{constructor(t,e,s="GET"){this.handler=n(e),this.match=t,this.method=s}setCatchHandler(t){this.catchHandler=n(t)}}class r extends i{constructor(t,e,s){super((({url:e})=>{const s=t.exec(e.href);if(s&&(e.origin===location.origin||0===s.index))return s.slice(1)}),e,s)}}class o{constructor(){this.t=new Map,this.i=new Map}get routes(){return this.t}addFetchListener(){self.addEventListener("fetch",(t=>{const{request:e}=t,s=this.handleRequest({request:e,event:t});s&&t.respondWith(s)}))}addCacheListener(){self.addEventListener("message",(t=>{if(t.data&&"CACHE_URLS"===t.data.type){const{payload:e}=t.data,s=Promise.all(e.urlsToCache.map((e=>{"string"==typeof e&&(e=[e]);const s=new Request(...e);return this.handleRequest({request:s,event:t})})));t.waitUntil(s),t.ports&&t.ports[0]&&s.then((()=>t.ports[0].postMessage(!0)))}}))}handleRequest({request:t,event:e}){const s=new URL(t.url,location.href);if(!s.protocol.startsWith("http"))return;const n=s.origin===location.origin,{params:i,route:r}=this.findMatchingRoute({event:e,request:t,sameOrigin:n,url:s});let o=r&&r.handler;const c=t.method;if(!o&&this.i.has(c)&&(o=this.i.get(c)),!o)return;let a;try{a=o.handle({url:s,request:t,event:e,params:i})}catch(t){a=Promise.reject(t)}const h=r&&r.catchHandler;return a instanceof Promise&&(this.o||h)&&(a=a.catch((async n=>{if(h)try{return await h.handle({url:s,request:t,event:e,params:i})}catch(t){t instanceof Error&&(n=t)}if(this.o)return this.o.handle({url:s,request:t,event:e});throw n}))),a}findMatchingRoute({url:t,sameOrigin:e,request:s,event:n}){const i=this.t.get(s.method)||[];for(const r of i){let i;const o=r.match({url:t,sameOrigin:e,request:s,event:n});if(o)return i=o,(Array.isArray(i)&&0===i.length||o.constructor===Object&&0===Object.keys(o).length||"boolean"==typeof o)&&(i=void 0),{route:r,params:i}}return{}}setDefaultHandler(t,e="GET"){this.i.set(e,n(t))}setCatchHandler(t){this.o=n(t)}registerRoute(t){this.t.has(t.method)||this.t.set(t.method,[]),this.t.get(t.method).push(t)}unregisterRoute(t){if(!this.t.has(t.method))throw new s("unregister-route-but-not-found-with-method",{method:t.method});const e=this.t.get(t.method).indexOf(t);if(!(e>-1))throw new s("unregister-route-route-not-registered");this.t.get(t.method).splice(e,1)}}let c;const a=()=>(c||(c=new o,c.addFetchListener(),c.addCacheListener()),c);function h(t,e,n){let o;if("string"==typeof t){const s=new URL(t,location.href);o=new i((({url:t})=>t.href===s.href),e,n)}else if(t instanceof RegExp)o=new r(t,e,n);else if("function"==typeof t)o=new i(t,e,n);else{if(!(t instanceof i))throw new s("unsupported-route-type",{moduleName:"workbox-routing",funcName:"registerRoute",paramName:"capture"});o=t}return a().registerRoute(o),o}const u={googleAnalytics:"googleAnalytics",precache:"precache-v2",prefix:"workbox",runtime:"runtime",suffix:"undefined"!=typeof registration?registration.scope:""},l=t=>[u.prefix,t,u.suffix].filter((t=>t&&t.length>0)).join("-"),f=t=>t||l(u.precache),w=t=>t||l(u.runtime);function d(t,e){const s=e();return t.waitUntil(s),s}try{self["workbox:precaching:7.2.0"]&&_()}catch(t){}function p(t){if(!t)throw new s("add-to-cache-list-unexpected-type",{entry:t});if("string"==typeof t){const e=new URL(t,location.href);return{cacheKey:e.href,url:e.href}}const{revision:e,url:n}=t;if(!n)throw new s("add-to-cache-list-unexpected-type",{entry:t});if(!e){const t=new URL(n,location.href);return{cacheKey:t.href,url:t.href}}const i=new URL(n,location.href),r=new URL(n,location.href);return i.searchParams.set("__WB_REVISION__",e),{cacheKey:i.href,url:r.href}}class y{constructor(){this.updatedURLs=[],this.notUpdatedURLs=[],this.handlerWillStart=async({request:t,state:e})=>{e&&(e.originalRequest=t)},this.cachedResponseWillBeUsed=async({event:t,state:e,cachedResponse:s})=>{if("install"===t.type&&e&&e.originalRequest&&e.originalRequest instanceof Request){const t=e.originalRequest.url;s?this.notUpdatedURLs.push(t):this.updatedURLs.push(t)}return s}}}class g{constructor({precacheController:t}){this.cacheKeyWillBeUsed=async({request:t,params:e})=>{const s=(null==e?void 0:e.cacheKey)||this.h.getCacheKeyForURL(t.url);return s?new Request(s,{headers:t.headers}):t},this.h=t}}let R;async function m(t,e){let n=null;if(t.url){n=new URL(t.url).origin}if(n!==self.location.origin)throw new s("cross-origin-copy-response",{origin:n});const i=t.clone(),r={headers:new Headers(i.headers),status:i.status,statusText:i.statusText},o=e?e(r):r,c=function(){if(void 0===R){const t=new Response("");if("body"in t)try{new Response(t.body),R=!0}catch(t){R=!1}R=!1}return R}()?i.body:await i.blob();return new Response(c,o)}function v(t,e){const s=new URL(t);for(const t of e)s.searchParams.delete(t);return s.href}class q{constructor(){this.promise=new Promise(((t,e)=>{this.resolve=t,this.reject=e}))}}const U=new Set;try{self["workbox:strategies:7.2.0"]&&_()}catch(t){}function L(t){return"string"==typeof t?new Request(t):t}class b{constructor(t,e){this.u={},Object.assign(this,e),this.event=e.event,this.l=t,this.p=new q,this.R=[],this.m=[...t.plugins],this.v=new Map;for(const t of this.m)this.v.set(t,{});this.event.waitUntil(this.p.promise)}async fetch(t){const{event:e}=this;let n=L(t);if("navigate"===n.mode&&e instanceof FetchEvent&&e.preloadResponse){const t=await e.preloadResponse;if(t)return t}const i=this.hasCallback("fetchDidFail")?n.clone():null;try{for(const t of this.iterateCallbacks("requestWillFetch"))n=await t({request:n.clone(),event:e})}catch(t){if(t instanceof Error)throw new s("plugin-error-request-will-fetch",{thrownErrorMessage:t.message})}const r=n.clone();try{let t;t=await fetch(n,"navigate"===n.mode?void 0:this.l.fetchOptions);for(const s of this.iterateCallbacks("fetchDidSucceed"))t=await s({event:e,request:r,response:t});return t}catch(t){throw i&&await this.runCallbacks("fetchDidFail",{error:t,event:e,originalRequest:i.clone(),request:r.clone()}),t}}async fetchAndCachePut(t){const e=await this.fetch(t),s=e.clone();return this.waitUntil(this.cachePut(t,s)),e}async cacheMatch(t){const e=L(t);let s;const{cacheName:n,matchOptions:i}=this.l,r=await this.getCacheKey(e,"read"),o=Object.assign(Object.assign({},i),{cacheName:n});s=await caches.match(r,o);for(const t of this.iterateCallbacks("cachedResponseWillBeUsed"))s=await t({cacheName:n,matchOptions:i,cachedResponse:s,request:r,event:this.event})||void 0;return s}async cachePut(t,e){const n=L(t);var i;await(i=0,new Promise((t=>setTimeout(t,i))));const r=await this.getCacheKey(n,"write");if(!e)throw new s("cache-put-with-no-response",{url:(o=r.url,new URL(String(o),location.href).href.replace(new RegExp(`^${location.origin}`),""))});var o;const c=await this.q(e);if(!c)return!1;const{cacheName:a,matchOptions:h}=this.l,u=await self.caches.open(a),l=this.hasCallback("cacheDidUpdate"),f=l?await async function(t,e,s,n){const i=v(e.url,s);if(e.url===i)return t.match(e,n);const r=Object.assign(Object.assign({},n),{ignoreSearch:!0}),o=await t.keys(e,r);for(const e of o)if(i===v(e.url,s))return t.match(e,n)}(u,r.clone(),["__WB_REVISION__"],h):null;try{await u.put(r,l?c.clone():c)}catch(t){if(t instanceof Error)throw"QuotaExceededError"===t.name&&await async function(){for(const t of U)await t()}(),t}for(const t of this.iterateCallbacks("cacheDidUpdate"))await t({cacheName:a,oldResponse:f,newResponse:c.clone(),request:r,event:this.event});return!0}async getCacheKey(t,e){const s=`${t.url} | ${e}`;if(!this.u[s]){let n=t;for(const t of this.iterateCallbacks("cacheKeyWillBeUsed"))n=L(await t({mode:e,request:n,event:this.event,params:this.params}));this.u[s]=n}return this.u[s]}hasCallback(t){for(const e of this.l.plugins)if(t in e)return!0;return!1}async runCallbacks(t,e){for(const s of this.iterateCallbacks(t))await s(e)}*iterateCallbacks(t){for(const e of this.l.plugins)if("function"==typeof e[t]){const s=this.v.get(e),n=n=>{const i=Object.assign(Object.assign({},n),{state:s});return e[t](i)};yield n}}waitUntil(t){return this.R.push(t),t}async doneWaiting(){let t;for(;t=this.R.shift();)await t}destroy(){this.p.resolve(null)}async q(t){let e=t,s=!1;for(const t of this.iterateCallbacks("cacheWillUpdate"))if(e=await t({request:this.request,response:e,event:this.event})||void 0,s=!0,!e)break;return s||e&&200!==e.status&&(e=void 0),e}}class C{constructor(t={}){this.cacheName=w(t.cacheName),this.plugins=t.plugins||[],this.fetchOptions=t.fetchOptions,this.matchOptions=t.matchOptions}handle(t){const[e]=this.handleAll(t);return e}handleAll(t){t instanceof FetchEvent&&(t={event:t,request:t.request});const e=t.event,s="string"==typeof t.request?new Request(t.request):t.request,n="params"in t?t.params:void 0,i=new b(this,{event:e,request:s,params:n}),r=this.U(i,s,e);return[r,this.L(r,i,s,e)]}async U(t,e,n){let i;await t.runCallbacks("handlerWillStart",{event:n,request:e});try{if(i=await this._(e,t),!i||"error"===i.type)throw new s("no-response",{url:e.url})}catch(s){if(s instanceof Error)for(const r of t.iterateCallbacks("handlerDidError"))if(i=await r({error:s,event:n,request:e}),i)break;if(!i)throw s}for(const s of t.iterateCallbacks("handlerWillRespond"))i=await s({event:n,request:e,response:i});return i}async L(t,e,s,n){let i,r;try{i=await t}catch(r){}try{await e.runCallbacks("handlerDidRespond",{event:n,request:s,response:i}),await e.doneWaiting()}catch(t){t instanceof Error&&(r=t)}if(await e.runCallbacks("handlerDidComplete",{event:n,request:s,response:i,error:r}),e.destroy(),r)throw r}}class E extends C{constructor(t={}){t.cacheName=f(t.cacheName),super(t),this.C=!1!==t.fallbackToNetwork,this.plugins.push(E.copyRedirectedCacheableResponsesPlugin)}async _(t,e){const s=await e.cacheMatch(t);return s||(e.event&&"install"===e.event.type?await this.O(t,e):await this.N(t,e))}async N(t,e){let n;const i=e.params||{};if(!this.C)throw new s("missing-precache-entry",{cacheName:this.cacheName,url:t.url});{const s=i.integrity,r=t.integrity,o=!r||r===s;n=await e.fetch(new Request(t,{integrity:"no-cors"!==t.mode?r||s:void 0})),s&&o&&"no-cors"!==t.mode&&(this.k(),await e.cachePut(t,n.clone()))}return n}async O(t,e){this.k();const n=await e.fetch(t);if(!await e.cachePut(t,n.clone()))throw new s("bad-precaching-response",{url:t.url,status:n.status});return n}k(){let t=null,e=0;for(const[s,n]of this.plugins.entries())n!==E.copyRedirectedCacheableResponsesPlugin&&(n===E.defaultPrecacheCacheabilityPlugin&&(t=s),n.cacheWillUpdate&&e++);0===e?this.plugins.push(E.defaultPrecacheCacheabilityPlugin):e>1&&null!==t&&this.plugins.splice(t,1)}}E.defaultPrecacheCacheabilityPlugin={cacheWillUpdate:async({response:t})=>!t||t.status>=400?null:t},E.copyRedirectedCacheableResponsesPlugin={cacheWillUpdate:async({response:t})=>t.redirected?await m(t):t};class O{constructor({cacheName:t,plugins:e=[],fallbackToNetwork:s=!0}={}){this.K=new Map,this.P=new Map,this.T=new Map,this.l=new E({cacheName:f(t),plugins:[...e,new g({precacheController:this})],fallbackToNetwork:s}),this.install=this.install.bind(this),this.activate=this.activate.bind(this)}get strategy(){return this.l}precache(t){this.addToCacheList(t),this.W||(self.addEventListener("install",this.install),self.addEventListener("activate",this.activate),this.W=!0)}addToCacheList(t){const e=[];for(const n of t){"string"==typeof n?e.push(n):n&&void 0===n.revision&&e.push(n.url);const{cacheKey:t,url:i}=p(n),r="string"!=typeof n&&n.revision?"reload":"default";if(this.K.has(i)&&this.K.get(i)!==t)throw new s("add-to-cache-list-conflicting-entries",{firstEntry:this.K.get(i),secondEntry:t});if("string"!=typeof n&&n.integrity){if(this.T.has(t)&&this.T.get(t)!==n.integrity)throw new s("add-to-cache-list-conflicting-integrities",{url:i});this.T.set(t,n.integrity)}if(this.K.set(i,t),this.P.set(i,r),e.length>0){const t=`Workbox is precaching URLs without revision info: ${e.join(", ")}\nThis is generally NOT safe. Learn more at https://bit.ly/wb-precache`;console.warn(t)}}}install(t){return d(t,(async()=>{const e=new y;this.strategy.plugins.push(e);for(const[e,s]of this.K){const n=this.T.get(s),i=this.P.get(e),r=new Request(e,{integrity:n,cache:i,credentials:"same-origin"});await Promise.all(this.strategy.handleAll({params:{cacheKey:s},request:r,event:t}))}const{updatedURLs:s,notUpdatedURLs:n}=e;return{updatedURLs:s,notUpdatedURLs:n}}))}activate(t){return d(t,(async()=>{const t=await self.caches.open(this.strategy.cacheName),e=await t.keys(),s=new Set(this.K.values()),n=[];for(const i of e)s.has(i.url)||(await t.delete(i),n.push(i.url));return{deletedURLs:n}}))}getURLsToCacheKeys(){return this.K}getCachedURLs(){return[...this.K.keys()]}getCacheKeyForURL(t){const e=new URL(t,location.href);return this.K.get(e.href)}getIntegrityForCacheKey(t){return this.T.get(t)}async matchPrecache(t){const e=t instanceof Request?t.url:t,s=this.getCacheKeyForURL(e);if(s){return(await self.caches.open(this.strategy.cacheName)).match(s)}}createHandlerBoundToURL(t){const e=this.getCacheKeyForURL(t);if(!e)throw new s("non-precached-url",{url:t});return s=>(s.request=new Request(t),s.params=Object.assign({cacheKey:e},s.params),this.strategy.handle(s))}}let x;const N=()=>(x||(x=new O),x);class k extends i{constructor(t,e){super((({request:s})=>{const n=t.getURLsToCacheKeys();for(const i of function*(t,{ignoreURLParametersMatching:e=[/^utm_/,/^fbclid$/],directoryIndex:s="index.html",cleanURLs:n=!0,urlManipulation:i}={}){const r=new URL(t,location.href);r.hash="",yield r.href;const o=function(t,e=[]){for(const s of[...t.searchParams.keys()])e.some((t=>t.test(s)))&&t.searchParams.delete(s);return t}(r,e);if(yield o.href,s&&o.pathname.endsWith("/")){const t=new URL(o.href);t.pathname+=s,yield t.href}if(n){const t=new URL(o.href);t.pathname+=".html",yield t.href}if(i){const t=i({url:r});for(const e of t)yield e.href}}(s.url,e)){const e=n.get(i);if(e){return{cacheKey:e,integrity:t.getIntegrityForCacheKey(e)}}}}),t.strategy)}}t.NavigationRoute=class extends i{constructor(t,{allowlist:e=[/./],denylist:s=[]}={}){super((t=>this.j(t)),t),this.M=e,this.S=s}j({url:t,request:e}){if(e&&"navigate"!==e.mode)return!1;const s=t.pathname+t.search;for(const t of this.S)if(t.test(s))return!1;return!!this.M.some((t=>t.test(s)))}},t.cleanupOutdatedCaches=function(){self.addEventListener("activate",(t=>{const e=f();t.waitUntil((async(t,e="-precache-")=>{const s=(await self.caches.keys()).filter((s=>s.includes(e)&&s.includes(self.registration.scope)&&s!==t));return await Promise.all(s.map((t=>self.caches.delete(t)))),s})(e).then((t=>{})))}))},t.createHandlerBoundToURL=function(t){return N().createHandlerBoundToURL(t)},t.precacheAndRoute=function(t,e){!function(t){N().precache(t)}(t),function(t){const e=N();h(new k(e,t))}(e)},t.registerRoute=h}));
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ExtraInfoTimes, PrayerTime } from "../../types/types";
|
|
2
|
+
declare const SmallPrayerTable: ({ prayerTimes, extraInfo, prayerTimesColor, extraInfoColor, isDefault }: {
|
|
3
|
+
prayerTimes: PrayerTime[];
|
|
4
|
+
extraInfo: ExtraInfoTimes[];
|
|
5
|
+
prayerTimesColor: {
|
|
6
|
+
[key: string]: string;
|
|
7
|
+
};
|
|
8
|
+
extraInfoColor: {
|
|
9
|
+
[key: string]: string;
|
|
10
|
+
};
|
|
11
|
+
isDefault: boolean;
|
|
12
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
export default SmallPrayerTable;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { PrayerTime } from "../../types/types";
|
|
3
|
+
interface Props {
|
|
4
|
+
prayerTimesWithSunrise: PrayerTime[];
|
|
5
|
+
color1: string;
|
|
6
|
+
color2: string;
|
|
7
|
+
tableColor: string;
|
|
8
|
+
isDefault: boolean;
|
|
9
|
+
isPreview: boolean;
|
|
10
|
+
}
|
|
11
|
+
declare const ClockAndPrayersLeft: React.FC<Props>;
|
|
12
|
+
export default ClockAndPrayersLeft;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ExtraInfoTimes, PrayerTime } from "../../types/types";
|
|
2
|
+
declare const PrayerBoxes: ({ prayerTimes, extraInfo, prayerTimesColor, extraInfoColor, isDefault, isPreview }: {
|
|
3
|
+
prayerTimes: PrayerTime[];
|
|
4
|
+
extraInfo: ExtraInfoTimes[];
|
|
5
|
+
prayerTimesColor: {
|
|
6
|
+
[key: string]: string;
|
|
7
|
+
};
|
|
8
|
+
extraInfoColor: {
|
|
9
|
+
[key: string]: string;
|
|
10
|
+
};
|
|
11
|
+
isDefault: boolean;
|
|
12
|
+
isPreview?: boolean;
|
|
13
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
export default PrayerBoxes;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { PrayerTime } from "../../types/types";
|
|
2
|
+
declare const Countdown: ({ nr, prayerTimes, color, bg, isDefault }: {
|
|
3
|
+
nr: number;
|
|
4
|
+
prayerTimes: PrayerTime[];
|
|
5
|
+
color: string;
|
|
6
|
+
bg: string;
|
|
7
|
+
isDefault: boolean;
|
|
8
|
+
}) => import("react/jsx-runtime").JSX.Element | null;
|
|
9
|
+
export default Countdown;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ExtraInfoTimes, PrayerTime } from "../../types/types";
|
|
2
|
+
declare const LobbyTimetable: ({ prayerTimes, extraInfo, headingColor, contentColor, tableColor }: {
|
|
3
|
+
prayerTimes: PrayerTime[];
|
|
4
|
+
extraInfo: ExtraInfoTimes[];
|
|
5
|
+
headingColor: string;
|
|
6
|
+
contentColor: string;
|
|
7
|
+
tableColor: string;
|
|
8
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export default LobbyTimetable;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
interface DownloadModalProps {
|
|
2
|
+
onCSV: () => void;
|
|
3
|
+
onPDF: () => void;
|
|
4
|
+
onCancel: () => void;
|
|
5
|
+
downloading: boolean;
|
|
6
|
+
}
|
|
7
|
+
declare const DownloadModal: ({ onCSV, onPDF, onCancel, downloading }: DownloadModalProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export default DownloadModal;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
interface DownloadModalProps {
|
|
2
|
+
onCSV: () => void;
|
|
3
|
+
onPDF: () => void;
|
|
4
|
+
onCancel: () => void;
|
|
5
|
+
downloading: boolean;
|
|
6
|
+
}
|
|
7
|
+
declare const DownloadModal: ({ onCSV, onPDF, onCancel, downloading }: DownloadModalProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export default DownloadModal;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Instruction: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
declare const MasjidLogo: ({ nr, textColor, orgNr, isLobby, date, isDefault }: {
|
|
2
|
+
nr: number;
|
|
3
|
+
textColor: string;
|
|
4
|
+
orgNr?: string;
|
|
5
|
+
isLobby?: boolean;
|
|
6
|
+
date?: string;
|
|
7
|
+
isDefault?: boolean;
|
|
8
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export default MasjidLogo;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { SimplePrayerTimes } from "../../types/types";
|
|
2
|
+
declare const MasjidPrayerClock: ({ width, height, prayerTimes, theme }: {
|
|
3
|
+
width?: number;
|
|
4
|
+
height?: number;
|
|
5
|
+
prayerTimes: SimplePrayerTimes;
|
|
6
|
+
theme: 1 | 2;
|
|
7
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export default MasjidPrayerClock;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ExtraInfoTimes, PrayerTime } from "../../types/types";
|
|
2
|
+
export default function TimeTablePH1({ prayerTimes, extraInfo, prayerTimesColor, extraInfoColor, isDefault }: {
|
|
3
|
+
prayerTimes: PrayerTime[];
|
|
4
|
+
extraInfo: ExtraInfoTimes[];
|
|
5
|
+
prayerTimesColor: {
|
|
6
|
+
[key: string]: string;
|
|
7
|
+
};
|
|
8
|
+
extraInfoColor: {
|
|
9
|
+
[key: string]: string;
|
|
10
|
+
};
|
|
11
|
+
isDefault: boolean;
|
|
12
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
declare const PrayerTimeBox: ({ name, arabic, adhan, iqamah, tomorrow, isNext, isPast, isSmall, color, bg, isDefault, isPreview }: {
|
|
2
|
+
name: string;
|
|
3
|
+
arabic: string;
|
|
4
|
+
adhan: string;
|
|
5
|
+
iqamah: string;
|
|
6
|
+
tomorrow: string;
|
|
7
|
+
isNext: boolean;
|
|
8
|
+
isPast: boolean;
|
|
9
|
+
isSmall?: boolean;
|
|
10
|
+
color?: string;
|
|
11
|
+
bg?: string;
|
|
12
|
+
isDefault: boolean;
|
|
13
|
+
isPreview?: boolean;
|
|
14
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
export default PrayerTimeBox;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ExtraInfoTimes, PrayerTime } from "../../types/types";
|
|
2
|
+
declare const TimeTable: ({ prayerTimes, extraInfo, color1, color2, tableColor }: {
|
|
3
|
+
prayerTimes: PrayerTime[];
|
|
4
|
+
extraInfo: ExtraInfoTimes[];
|
|
5
|
+
color1: string;
|
|
6
|
+
color2: string;
|
|
7
|
+
tableColor: string;
|
|
8
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export default TimeTable;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
type CreatePrayerTimetableCard = {
|
|
3
|
+
tn: 7 | 8 | 9;
|
|
4
|
+
prayerTimesColor: {
|
|
5
|
+
bg: string;
|
|
6
|
+
text: string;
|
|
7
|
+
};
|
|
8
|
+
};
|
|
9
|
+
declare const CreatePrayerTimetableCard: React.FC<CreatePrayerTimetableCard>;
|
|
10
|
+
export default CreatePrayerTimetableCard;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Dispatch, SetStateAction } from "react";
|
|
2
|
+
import { HijriDateObj } from "../../database-services/HijriServices";
|
|
3
|
+
export default function DateSelector({ date, setDate, hijriDay, setHijriDay, setNextHijriDay, nr }: {
|
|
4
|
+
date: Date;
|
|
5
|
+
setDate: Dispatch<SetStateAction<Date>>;
|
|
6
|
+
hijriDay: HijriDateObj | null;
|
|
7
|
+
setHijriDay: Dispatch<SetStateAction<HijriDateObj | null>>;
|
|
8
|
+
setNextHijriDay: Dispatch<SetStateAction<HijriDateObj | null>>;
|
|
9
|
+
nr: number;
|
|
10
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { HijriDateObj } from "../../database-services/HijriServices";
|
|
2
|
+
interface FullHijriCalendarProps {
|
|
3
|
+
tn?: number | null;
|
|
4
|
+
showDate?: boolean;
|
|
5
|
+
initialDate?: Date;
|
|
6
|
+
onDateSelect?: (date: Date, hijriObj?: HijriDateObj) => void;
|
|
7
|
+
}
|
|
8
|
+
declare const FullHijriCalendar: ({ tn, showDate, initialDate, onDateSelect }: FullHijriCalendarProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export default FullHijriCalendar;
|