@anoki/fse-ui 2.3.0-RC2 → 2.3.0-RC3
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/dist/components/navigations/CookieBanner/CookieBanner.css +1 -1
- package/dist/components/navigations/Footer/Footer.css +1 -1
- package/dist/components/navigations/Header/Header.css +1 -1
- package/dist/components/navigations/HeaderDesktop/HeaderDesktop.css +1 -1
- package/dist/components/navigations/HeaderMobile/HeaderMobile.css +1 -1
- package/dist/components/navigations/HeaderPostLogin/HeaderPostLogin.css +1 -1
- package/dist/components/navigations/TabBar/TabBar.css +1 -1
- package/dist/components/ui/Accordion/AccordionStepper/AccordionStepper.css +1 -1
- package/dist/components/ui/Accordion/GenericAccordion/GenericAccordion.css +1 -1
- package/dist/components/ui/ActionBanner/ActionBanner.css +1 -1
- package/dist/components/ui/AddNewModal/AddNewModalContent/AddNewModalContent.css +1 -1
- package/dist/components/ui/AddNewModal/AddNewModalFooter/AddNewModalFooter.css +1 -1
- package/dist/components/ui/AddNewModal/AddNewModalHeader/AddNewModalHeader.css +1 -1
- package/dist/components/ui/AggregationItemCard/AggregationItemCard.css +1 -1
- package/dist/components/ui/AuthorBlock/AuthorBlock.css +1 -1
- package/dist/components/ui/BaseModal/BaseModalBackHeader/BaseModalBackHeader.css +1 -1
- package/dist/components/ui/BaseModal/BaseModalContent/BaseModalContent.css +1 -1
- package/dist/components/ui/BaseModal/BaseModalHeader/BaseModalHeader.css +1 -1
- package/dist/components/ui/Button/Button.css +1 -1
- package/dist/components/ui/ButtonV2/ButtonV2.css +1 -1
- package/dist/components/ui/CardCategory/CardCategory.css +1 -1
- package/dist/components/ui/CardClinicalAction/CardClinicalAction.css +1 -1
- package/dist/components/ui/CardClinicalData/CardClinicalData.css +1 -1
- package/dist/components/ui/CardDoctor/CardDoctor.css +1 -1
- package/dist/components/ui/CardDoctorInfo/CardDoctorInfo.css +1 -1
- package/dist/components/ui/CardDocument/CardDocument.css +1 -1
- package/dist/components/ui/CardEventSlim/CardEvent.css +1 -1
- package/dist/components/ui/CardFaqCTA/CardFaqCTA.css +1 -1
- package/dist/components/ui/CardFile/CardFile.css +1 -1
- package/dist/components/ui/CardInfoDoctorModal/CardInfoDoctorModalContent/CardInfoDoctorModalContent.css +1 -1
- package/dist/components/ui/CardInfoDoctorModal/CardInfoDoctorModalHeader/CardInfoDoctorModalHeader.css +1 -1
- package/dist/components/ui/CardMapDoctor/CardMapDoctor.css +1 -1
- package/dist/components/ui/CardMapStructure/CardMap.css +1 -1
- package/dist/components/ui/CardNotification/CardNotification.css +1 -1
- package/dist/components/ui/CardOpeningHours/CardOpeningHours.css +1 -1
- package/dist/components/ui/CardPaymentDocument/CardPaymentDocument.css +1 -1
- package/dist/components/ui/CardPreview/CardPreview.css +1 -1
- package/dist/components/ui/CardReminder/CardReminder.css +1 -1
- package/dist/components/ui/CardScreening/CardScreening.css +1 -1
- package/dist/components/ui/CardSelectDoctor/CardSelectDoctor.css +1 -1
- package/dist/components/ui/CardService/CardService.css +1 -1
- package/dist/components/ui/CardUser/CardUser.css +1 -1
- package/dist/components/ui/Carousel/Carousel.css +1 -1
- package/dist/components/ui/ChangeProfileModal/ChangeProfileModal.css +1 -1
- package/dist/components/ui/ChangeRelatedCard/ChangeRelatedCard.css +1 -1
- package/dist/components/ui/Checkbox/Checkbox.css +1 -1
- package/dist/components/ui/CommunicationSeach/CommunicationSearch.css +1 -1
- package/dist/components/ui/ConsentModal/ConsentModalContent/ConsentModalContent.css +1 -1
- package/dist/components/ui/{CreateReservationModal/CreateReservationModalFooter/CreateReservationModalFooter.css → ConsentModal/ConsentModalFooter/ConsentModalFooter.css} +1 -1
- package/dist/components/ui/ConsentModal/ConsentModalHeader/ConsentModalHeader.css +1 -1
- package/dist/components/ui/Container/Container.css +1 -1
- package/dist/components/ui/CreateReservationModal/CreateReservationModal.css +1 -1
- package/dist/components/ui/CreateReservationModal/CreateReservationModalContent/CreateReservationModalContent.css +1 -1
- package/dist/components/ui/DatePicker/DatePicker.css +1 -1
- package/dist/components/ui/DeclarantsSelect/DeclarantsSelect.css +1 -1
- package/dist/components/ui/DelegateCard/DelegateCard.css +1 -1
- package/dist/components/ui/DelegateFilterDropDown/DelegateFilterDropDown.css +1 -1
- package/dist/components/ui/DoctorConfirmModal/DoctorConfirmModalHeader/DoctorConfirmModalHeader.css +1 -1
- package/dist/components/ui/DoctorSchedule/DoctorSchedule.css +1 -1
- package/dist/components/ui/DoctorSkeleton/DoctorSkeleton.css +1 -1
- package/dist/components/ui/DocumentUploadComponent/DocumentUploadComponent.css +1 -1
- package/dist/components/ui/DocumentUploadModal/DocumentUploadModalContent/DocumentUploadModalContent.css +1 -1
- package/dist/components/ui/DocumentUploadModal/DocumentUploadModalFooter/DocumentUploadModalFooter.css +1 -1
- package/dist/components/ui/DocumentUploadModal/DocumentUploadModalHeader/DocumentUploadModalHeader.css +1 -1
- package/dist/components/ui/Dropdown/Dropdown.css +1 -1
- package/dist/components/ui/EditorialWidget/EditorialWidget.css +1 -1
- package/dist/components/ui/EntryButton/EntryButton.css +1 -1
- package/dist/components/ui/FeaturedCard/FeaturedCard.css +1 -1
- package/dist/components/ui/Feedback/Questions.css +1 -1
- package/dist/components/ui/GroupCodeExemptionFilterDropDown/GroupCodeExemptionFilterDropDown.css +1 -1
- package/dist/components/ui/HomeHeaderSkeleton/HomeHeaderSkeleton.css +1 -1
- package/dist/components/ui/InfoModal/InfoModal.css +1 -1
- package/dist/components/ui/InfoSectionCard/InfoSectionCard.css +1 -1
- package/dist/components/ui/LatestCardClinicalData/LatestCardClinicalData.css +1 -1
- package/dist/components/ui/LoginBanner/LoginBanner.css +1 -1
- package/dist/components/ui/ModalsHeader/ModalsHeader.css +1 -1
- package/dist/components/ui/MostVisitedHoursChart/MostVisitedHoursChart.css +1 -1
- package/dist/components/ui/NotificationsSettingsHeader/NotificationsSettingsHeader.css +1 -1
- package/dist/components/ui/OperatorCardDocument/OperatorCardDocument.css +1 -1
- package/dist/components/ui/ProgressBar/ProgressBar.css +1 -1
- package/dist/components/ui/RadioCard/RadioCard.css +1 -1
- package/dist/components/ui/ReservationRecapCard/ReservationRecapCard.css +1 -1
- package/dist/components/ui/Search/Search.css +1 -1
- package/dist/components/ui/SearchDocument/SearchDocument.css +1 -1
- package/dist/components/ui/SearchGeneric/SearchGeneric.css +1 -1
- package/dist/components/ui/SearchService/SearchService.css +1 -1
- package/dist/components/ui/SearchStructure/SearchStructure.css +1 -1
- package/dist/components/ui/ShareButton/ShareButton.css +1 -1
- package/dist/components/ui/SupportBanner/SupportBanner.css +1 -1
- package/dist/components/ui/Switch/Switch.css +1 -1
- package/dist/components/ui/Table/Table.css +1 -1
- package/dist/components/ui/TableMobile/TableMobile.css +1 -1
- package/dist/components/ui/TabsGlossary/TabsGlossary.css +1 -1
- package/dist/components/ui/Tags/Tags.css +1 -1
- package/dist/components/ui/TitleSection/TitleSection.css +1 -1
- package/dist/components/ui/filters/BottomNavigation/BottomNavigation.css +1 -1
- package/dist/components/ui/filters/CheckboxFilter/CheckboxFilter.css +1 -1
- package/dist/components/ui/filters/FiltersChips/FiltersChips.css +1 -1
- package/dist/components/ui/sections/Feedback/Feedback.css +1 -1
- package/dist/index.cjs104.js +1 -1
- package/dist/index.cjs105.js +1 -1
- package/dist/index.cjs109.js +1 -1
- package/dist/index.cjs11.js +1 -1
- package/dist/index.cjs110.js +1 -1
- package/dist/index.cjs112.js +1 -1
- package/dist/index.cjs117.js +1 -1
- package/dist/index.cjs118.js +1 -1
- package/dist/index.cjs119.js +1 -1
- package/dist/index.cjs121.js +1 -1
- package/dist/index.cjs122.js +1 -1
- package/dist/index.cjs123.js +1 -1
- package/dist/index.cjs127.js +1 -1
- package/dist/index.cjs128.js +1 -1
- package/dist/index.cjs13.js +1 -1
- package/dist/index.cjs130.js +1 -1
- package/dist/index.cjs138.js +1 -1
- package/dist/index.cjs14.js +1 -1
- package/dist/index.cjs142.js +1 -1
- package/dist/index.cjs143.js +1 -1
- package/dist/index.cjs144.js +1 -1
- package/dist/index.cjs145.js +1 -1
- package/dist/index.cjs146.js +1 -1
- package/dist/index.cjs147.js +1 -1
- package/dist/index.cjs148.js +1 -1
- package/dist/index.cjs149.js +1 -1
- package/dist/index.cjs150.js +1 -1
- package/dist/index.cjs151.js +1 -1
- package/dist/index.cjs152.js +1 -1
- package/dist/index.cjs160.js +1 -1
- package/dist/index.cjs161.js +1 -1
- package/dist/index.cjs167.js +1 -1
- package/dist/index.cjs168.js +1 -1
- package/dist/index.cjs171.js +1 -1
- package/dist/index.cjs174.js +1 -1
- package/dist/index.cjs174.js.map +1 -1
- package/dist/index.cjs179.js +1 -1
- package/dist/index.cjs18.js +1 -1
- package/dist/index.cjs187.js +1 -1
- package/dist/index.cjs188.js +1 -1
- package/dist/index.cjs19.js +1 -1
- package/dist/index.cjs191.js +1 -1
- package/dist/index.cjs192.js +1 -1
- package/dist/index.cjs195.js +1 -1
- package/dist/index.cjs196.js +1 -1
- package/dist/index.cjs20.js +1 -1
- package/dist/index.cjs201.js +1 -1
- package/dist/index.cjs202.js +1 -1
- package/dist/index.cjs203.js +1 -1
- package/dist/index.cjs206.js +1 -1
- package/dist/index.cjs207.js +1 -1
- package/dist/index.cjs209.js +1 -1
- package/dist/index.cjs211.js +1 -1
- package/dist/index.cjs213.js +1 -1
- package/dist/index.cjs213.js.map +1 -1
- package/dist/index.cjs214.js +1 -1
- package/dist/index.cjs218.js +1 -1
- package/dist/index.cjs22.js +1 -1
- package/dist/index.cjs221.js +1 -1
- package/dist/index.cjs225.js +1 -1
- package/dist/index.cjs227.js +1 -1
- package/dist/index.cjs228.js +1 -1
- package/dist/index.cjs23.js +1 -1
- package/dist/index.cjs230.js +1 -1
- package/dist/index.cjs24.js +1 -1
- package/dist/index.cjs241.js +1 -1
- package/dist/index.cjs249.js +1 -1
- package/dist/index.cjs251.js +1 -1
- package/dist/index.cjs252.js +1 -1
- package/dist/index.cjs254.js +1 -1
- package/dist/index.cjs258.js +1 -1
- package/dist/index.cjs26.js +1 -1
- package/dist/index.cjs262.js +1 -1
- package/dist/index.cjs28.js +1 -1
- package/dist/index.cjs285.js +1 -1
- package/dist/index.cjs286.js +1 -1
- package/dist/index.cjs287.js +1 -1
- package/dist/index.cjs299.js +2 -0
- package/dist/index.cjs299.js.map +1 -0
- package/dist/{index.cjs300.js → index.cjs301.js} +1 -1
- package/dist/{index.cjs300.js.map → index.cjs301.js.map} +1 -1
- package/dist/index.cjs305.js +1 -1
- package/dist/index.cjs305.js.map +1 -1
- package/dist/index.cjs306.js +1 -1
- package/dist/index.cjs306.js.map +1 -1
- package/dist/index.cjs307.js +2 -0
- package/dist/index.cjs307.js.map +1 -0
- package/dist/{index.cjs312.js → index.cjs313.js} +2 -2
- package/dist/{index.cjs312.js.map → index.cjs313.js.map} +1 -1
- package/dist/index.cjs315.js +1 -1
- package/dist/index.cjs315.js.map +1 -1
- package/dist/index.cjs316.js +2 -0
- package/dist/index.cjs316.js.map +1 -0
- package/dist/index.cjs318.js +1 -1
- package/dist/index.cjs318.js.map +1 -1
- package/dist/index.cjs319.js +1 -1
- package/dist/index.cjs320.js +2 -0
- package/dist/index.cjs320.js.map +1 -0
- package/dist/index.cjs322.js +2 -0
- package/dist/index.cjs322.js.map +1 -0
- package/dist/index.cjs326.js +1 -1
- package/dist/index.cjs326.js.map +1 -1
- package/dist/index.cjs327.js +1 -1
- package/dist/index.cjs327.js.map +1 -1
- package/dist/index.cjs328.js +2 -0
- package/dist/index.cjs328.js.map +1 -0
- package/dist/{index.cjs331.js → index.cjs332.js} +2 -2
- package/dist/{index.cjs331.js.map → index.cjs332.js.map} +1 -1
- package/dist/index.cjs336.js +1 -1
- package/dist/index.cjs336.js.map +1 -1
- package/dist/index.cjs337.js +1 -1
- package/dist/index.cjs337.js.map +1 -1
- package/dist/index.cjs338.js +1 -1
- package/dist/index.cjs338.js.map +1 -1
- package/dist/index.cjs341.js +1 -1
- package/dist/index.cjs35.js +1 -1
- package/dist/index.cjs36.js +1 -1
- package/dist/index.cjs367.js +1 -1
- package/dist/index.cjs38.js +1 -1
- package/dist/index.cjs39.js +1 -1
- package/dist/index.cjs390.js +1 -1
- package/dist/index.cjs397.js +1 -1
- package/dist/index.cjs4.js +1 -1
- package/dist/index.cjs408.js +1 -1
- package/dist/index.cjs411.js +1 -1
- package/dist/index.cjs420.js +1 -1
- package/dist/index.cjs428.js +1 -1
- package/dist/index.cjs431.js +1 -1
- package/dist/index.cjs471.js +1 -1
- package/dist/index.cjs472.js +1 -1
- package/dist/index.cjs472.js.map +1 -1
- package/dist/index.cjs479.js +1 -1
- package/dist/index.cjs50.js +1 -1
- package/dist/index.cjs500.js +1 -1
- package/dist/index.cjs501.js +1 -1
- package/dist/index.cjs502.js +1 -1
- package/dist/index.cjs507.js +1 -1
- package/dist/index.cjs507.js.map +1 -1
- package/dist/index.cjs508.js +1 -1
- package/dist/index.cjs509.js +1 -1
- package/dist/index.cjs509.js.map +1 -1
- package/dist/index.cjs510.js +1 -1
- package/dist/index.cjs510.js.map +1 -1
- package/dist/index.cjs511.js +1 -1
- package/dist/index.cjs511.js.map +1 -1
- package/dist/index.cjs512.js +2 -0
- package/dist/index.cjs512.js.map +1 -0
- package/dist/index.cjs515.js +1 -1
- package/dist/index.cjs515.js.map +1 -1
- package/dist/index.cjs516.js +1 -1
- package/dist/index.cjs516.js.map +1 -1
- package/dist/index.cjs517.js +1 -1
- package/dist/index.cjs517.js.map +1 -1
- package/dist/index.cjs518.js +1 -1
- package/dist/index.cjs518.js.map +1 -1
- package/dist/{index.cjs539.js → index.cjs519.js} +2 -2
- package/dist/{index.cjs539.js.map → index.cjs519.js.map} +1 -1
- package/dist/{index.cjs540.js → index.cjs520.js} +1 -1
- package/dist/index.cjs520.js.map +1 -0
- package/dist/index.cjs524.js +1 -1
- package/dist/index.cjs524.js.map +1 -1
- package/dist/index.cjs525.js +1 -1
- package/dist/index.cjs525.js.map +1 -1
- package/dist/index.cjs526.js +1 -1
- package/dist/index.cjs526.js.map +1 -1
- package/dist/index.cjs527.js +1 -1
- package/dist/index.cjs527.js.map +1 -1
- package/dist/index.cjs528.js +1 -1
- package/dist/index.cjs528.js.map +1 -1
- package/dist/index.cjs529.js +1 -1
- package/dist/index.cjs529.js.map +1 -1
- package/dist/index.cjs530.js +1 -1
- package/dist/index.cjs530.js.map +1 -1
- package/dist/index.cjs531.js +1 -1
- package/dist/index.cjs531.js.map +1 -1
- package/dist/index.cjs532.js +2 -0
- package/dist/index.cjs532.js.map +1 -0
- package/dist/index.cjs533.js +2 -0
- package/dist/index.cjs533.js.map +1 -0
- package/dist/index.cjs534.js +2 -0
- package/dist/index.cjs534.js.map +1 -0
- package/dist/index.cjs535.js +1 -1
- package/dist/index.cjs535.js.map +1 -1
- package/dist/index.cjs536.js +1 -1
- package/dist/index.cjs536.js.map +1 -1
- package/dist/index.cjs537.js +1 -1
- package/dist/index.cjs537.js.map +1 -1
- package/dist/index.cjs542.js +1 -1
- package/dist/index.cjs552.js +2 -0
- package/dist/index.cjs552.js.map +1 -0
- package/dist/index.cjs553.js +2 -0
- package/dist/index.cjs553.js.map +1 -0
- package/dist/index.cjs554.js +2 -0
- package/dist/index.cjs554.js.map +1 -0
- package/dist/{index.cjs592.js → index.cjs555.js} +2 -2
- package/dist/index.cjs555.js.map +1 -0
- package/dist/{index.cjs596.js → index.cjs556.js} +2 -2
- package/dist/index.cjs556.js.map +1 -0
- package/dist/{index.cjs590.js → index.cjs557.js} +2 -2
- package/dist/index.cjs557.js.map +1 -0
- package/dist/{index.cjs591.js → index.cjs558.js} +2 -2
- package/dist/index.cjs558.js.map +1 -0
- package/dist/{index.cjs597.js → index.cjs559.js} +2 -2
- package/dist/index.cjs559.js.map +1 -0
- package/dist/index.cjs560.js +2 -0
- package/dist/index.cjs560.js.map +1 -0
- package/dist/index.cjs561.js +2 -0
- package/dist/index.cjs561.js.map +1 -0
- package/dist/index.cjs562.js +1 -1
- package/dist/index.cjs562.js.map +1 -1
- package/dist/index.cjs563.js +1 -1
- package/dist/index.cjs563.js.map +1 -1
- package/dist/index.cjs564.js +2 -0
- package/dist/index.cjs564.js.map +1 -0
- package/dist/index.cjs565.js +1 -1
- package/dist/index.cjs565.js.map +1 -1
- package/dist/index.cjs566.js +1 -1
- package/dist/index.cjs566.js.map +1 -1
- package/dist/index.cjs567.js +1 -1
- package/dist/index.cjs567.js.map +1 -1
- package/dist/index.cjs568.js +1 -1
- package/dist/index.cjs568.js.map +1 -1
- package/dist/index.cjs569.js +1 -1
- package/dist/index.cjs569.js.map +1 -1
- package/dist/index.cjs570.js +1 -1
- package/dist/index.cjs570.js.map +1 -1
- package/dist/index.cjs571.js +1 -1
- package/dist/index.cjs571.js.map +1 -1
- package/dist/index.cjs572.js +1 -1
- package/dist/index.cjs572.js.map +1 -1
- package/dist/index.cjs573.js +1 -1
- package/dist/index.cjs573.js.map +1 -1
- package/dist/index.cjs574.js +1 -1
- package/dist/index.cjs574.js.map +1 -1
- package/dist/index.cjs575.js +1 -1
- package/dist/index.cjs575.js.map +1 -1
- package/dist/index.cjs576.js +1 -1
- package/dist/index.cjs576.js.map +1 -1
- package/dist/index.cjs577.js +1 -1
- package/dist/index.cjs577.js.map +1 -1
- package/dist/index.cjs578.js +1 -1
- package/dist/index.cjs578.js.map +1 -1
- package/dist/index.cjs579.js +1 -1
- package/dist/index.cjs579.js.map +1 -1
- package/dist/index.cjs580.js +1 -1
- package/dist/index.cjs580.js.map +1 -1
- package/dist/index.cjs581.js +1 -1
- package/dist/index.cjs581.js.map +1 -1
- package/dist/index.cjs582.js +1 -1
- package/dist/index.cjs582.js.map +1 -1
- package/dist/index.cjs583.js +1 -1
- package/dist/index.cjs583.js.map +1 -1
- package/dist/index.cjs584.js +1 -1
- package/dist/index.cjs584.js.map +1 -1
- package/dist/index.cjs585.js +1 -1
- package/dist/index.cjs585.js.map +1 -1
- package/dist/index.cjs586.js +1 -1
- package/dist/index.cjs586.js.map +1 -1
- package/dist/index.cjs587.js +1 -1
- package/dist/index.cjs587.js.map +1 -1
- package/dist/index.cjs588.js +1 -1
- package/dist/index.cjs588.js.map +1 -1
- package/dist/index.cjs589.js +1 -1
- package/dist/index.cjs589.js.map +1 -1
- package/dist/index.cjs594.js +1 -1
- package/dist/index.cjs594.js.map +1 -1
- package/dist/index.cjs595.js +1 -1
- package/dist/index.cjs595.js.map +1 -1
- package/dist/index.cjs6.js +1 -1
- package/dist/index.cjs602.js +1 -1
- package/dist/index.cjs602.js.map +1 -1
- package/dist/index.cjs603.js +1 -1
- package/dist/index.cjs603.js.map +1 -1
- package/dist/index.cjs604.js +1 -1
- package/dist/index.cjs604.js.map +1 -1
- package/dist/index.cjs605.js +1 -1
- package/dist/index.cjs605.js.map +1 -1
- package/dist/index.cjs608.js +1 -1
- package/dist/index.cjs608.js.map +1 -1
- package/dist/index.cjs609.js +1 -2
- package/dist/index.cjs609.js.map +1 -1
- package/dist/index.cjs610.js +1 -8
- package/dist/index.cjs610.js.map +1 -1
- package/dist/index.cjs611.js +1 -1
- package/dist/index.cjs611.js.map +1 -1
- package/dist/index.cjs612.js +1 -1
- package/dist/index.cjs612.js.map +1 -1
- package/dist/index.cjs613.js +1 -6
- package/dist/index.cjs613.js.map +1 -1
- package/dist/index.cjs614.js +1 -1
- package/dist/index.cjs614.js.map +1 -1
- package/dist/index.cjs615.js +1 -2
- package/dist/index.cjs615.js.map +1 -1
- package/dist/index.cjs616.js +1 -3
- package/dist/index.cjs616.js.map +1 -1
- package/dist/index.cjs617.js +1 -1
- package/dist/index.cjs617.js.map +1 -1
- package/dist/index.cjs618.js +1 -1
- package/dist/index.cjs618.js.map +1 -1
- package/dist/index.cjs619.js +1 -1
- package/dist/index.cjs619.js.map +1 -1
- package/dist/index.cjs620.js +1 -1
- package/dist/index.cjs620.js.map +1 -1
- package/dist/index.cjs621.js +1 -1
- package/dist/index.cjs621.js.map +1 -1
- package/dist/index.cjs625.js +1 -1
- package/dist/index.cjs63.js +1 -1
- package/dist/index.cjs63.js.map +1 -1
- package/dist/index.cjs638.js +1 -1
- package/dist/index.cjs642.js +1 -1
- package/dist/index.cjs645.js +1 -1
- package/dist/index.cjs645.js.map +1 -1
- package/dist/index.cjs646.js +2 -1
- package/dist/index.cjs646.js.map +1 -1
- package/dist/index.cjs647.js +8 -1
- package/dist/index.cjs647.js.map +1 -1
- package/dist/index.cjs648.js +1 -1
- package/dist/index.cjs648.js.map +1 -1
- package/dist/index.cjs649.js +1 -1
- package/dist/index.cjs649.js.map +1 -1
- package/dist/index.cjs650.js +6 -1
- package/dist/index.cjs650.js.map +1 -1
- package/dist/index.cjs651.js +1 -1
- package/dist/index.cjs651.js.map +1 -1
- package/dist/index.cjs652.js +2 -1
- package/dist/index.cjs652.js.map +1 -1
- package/dist/index.cjs653.js +3 -1
- package/dist/index.cjs653.js.map +1 -1
- package/dist/index.cjs654.js +1 -1
- package/dist/index.cjs654.js.map +1 -1
- package/dist/index.cjs655.js +1 -1
- package/dist/index.cjs655.js.map +1 -1
- package/dist/index.cjs656.js +1 -1
- package/dist/index.cjs656.js.map +1 -1
- package/dist/index.cjs657.js +1 -1
- package/dist/index.cjs657.js.map +1 -1
- package/dist/index.cjs659.js +1 -1
- package/dist/index.cjs660.js +1 -1
- package/dist/index.cjs662.js +1 -1
- package/dist/index.cjs663.js +1 -1
- package/dist/index.cjs664.js +1 -1
- package/dist/index.cjs665.js +1 -1
- package/dist/index.cjs666.js +1 -1
- package/dist/index.cjs671.js +1 -1
- package/dist/index.cjs672.js +1 -1
- package/dist/index.cjs675.js +1 -1
- package/dist/index.cjs676.js +1 -1
- package/dist/index.cjs677.js +1 -1
- package/dist/index.cjs679.js +1 -1
- package/dist/index.cjs68.js +1 -1
- package/dist/index.cjs680.js +1 -1
- package/dist/index.cjs681.js +1 -1
- package/dist/index.cjs685.js +1 -1
- package/dist/index.cjs688.js +1 -1
- package/dist/index.cjs691.js +1 -1
- package/dist/index.cjs694.js +1 -1
- package/dist/index.cjs696.js +1 -1
- package/dist/index.cjs699.js +1 -1
- package/dist/index.cjs7.js +1 -1
- package/dist/index.cjs700.js +1 -1
- package/dist/index.cjs701.js +1 -1
- package/dist/index.cjs708.js +1 -1
- package/dist/index.cjs71.js +1 -1
- package/dist/index.cjs713.js +1 -1
- package/dist/index.cjs715.js +1 -1
- package/dist/index.cjs716.js +1 -1
- package/dist/index.cjs716.js.map +1 -1
- package/dist/index.cjs717.js +1 -1
- package/dist/index.cjs717.js.map +1 -1
- package/dist/index.cjs718.js +1 -1
- package/dist/index.cjs718.js.map +1 -1
- package/dist/index.cjs719.js +4 -1
- package/dist/index.cjs719.js.map +1 -1
- package/dist/index.cjs72.js +1 -1
- package/dist/index.cjs720.js +1 -1
- package/dist/index.cjs720.js.map +1 -1
- package/dist/index.cjs721.js +1 -1
- package/dist/index.cjs721.js.map +1 -1
- package/dist/index.cjs722.js +1 -1
- package/dist/index.cjs722.js.map +1 -1
- package/dist/index.cjs723.js +1 -2
- package/dist/index.cjs723.js.map +1 -1
- package/dist/index.cjs724.js +1 -1
- package/dist/index.cjs724.js.map +1 -1
- package/dist/index.cjs725.js +1 -1
- package/dist/index.cjs725.js.map +1 -1
- package/dist/index.cjs726.js +6 -1
- package/dist/index.cjs726.js.map +1 -1
- package/dist/index.cjs727.js +1 -1
- package/dist/index.cjs727.js.map +1 -1
- package/dist/index.cjs728.js +12 -1
- package/dist/index.cjs728.js.map +1 -1
- package/dist/index.cjs729.js +1 -1
- package/dist/index.cjs729.js.map +1 -1
- package/dist/index.cjs73.js +1 -1
- package/dist/index.cjs730.js +1 -1
- package/dist/index.cjs730.js.map +1 -1
- package/dist/index.cjs731.js +1 -1
- package/dist/index.cjs731.js.map +1 -1
- package/dist/index.cjs732.js +1 -1
- package/dist/index.cjs732.js.map +1 -1
- package/dist/index.cjs733.js +1 -1
- package/dist/index.cjs733.js.map +1 -1
- package/dist/index.cjs734.js +1 -1
- package/dist/index.cjs734.js.map +1 -1
- package/dist/index.cjs735.js +1 -6
- package/dist/index.cjs735.js.map +1 -1
- package/dist/index.cjs736.js +1 -1
- package/dist/index.cjs736.js.map +1 -1
- package/dist/index.cjs737.js +1 -12
- package/dist/index.cjs737.js.map +1 -1
- package/dist/index.cjs738.js +2 -1
- package/dist/index.cjs738.js.map +1 -1
- package/dist/index.cjs739.js +1 -1
- package/dist/index.cjs739.js.map +1 -1
- package/dist/index.cjs740.js +1 -1
- package/dist/index.cjs740.js.map +1 -1
- package/dist/index.cjs741.js +1 -1
- package/dist/index.cjs741.js.map +1 -1
- package/dist/index.cjs742.js +1 -1
- package/dist/index.cjs742.js.map +1 -1
- package/dist/index.cjs743.js +1 -4
- package/dist/index.cjs743.js.map +1 -1
- package/dist/index.cjs744.js +1 -1
- package/dist/index.cjs744.js.map +1 -1
- package/dist/index.cjs748.js +1 -1
- package/dist/index.cjs748.js.map +1 -1
- package/dist/index.cjs749.js +1 -1
- package/dist/index.cjs749.js.map +1 -1
- package/dist/index.cjs750.js +1 -1
- package/dist/index.cjs750.js.map +1 -1
- package/dist/index.cjs751.js +1 -1
- package/dist/index.cjs751.js.map +1 -1
- package/dist/index.cjs752.js +1 -1
- package/dist/index.cjs752.js.map +1 -1
- package/dist/index.cjs759.js +1 -1
- package/dist/index.cjs76.js +1 -1
- package/dist/index.cjs760.js +1 -1
- package/dist/index.cjs760.js.map +1 -1
- package/dist/index.cjs761.js +1 -1
- package/dist/index.cjs761.js.map +1 -1
- package/dist/index.cjs762.js +1 -1
- package/dist/index.cjs762.js.map +1 -1
- package/dist/index.cjs763.js +1 -1
- package/dist/index.cjs763.js.map +1 -1
- package/dist/index.cjs764.js +1 -1
- package/dist/index.cjs764.js.map +1 -1
- package/dist/index.cjs765.js +1 -1
- package/dist/index.cjs765.js.map +1 -1
- package/dist/index.cjs767.js +1 -1
- package/dist/index.cjs767.js.map +1 -1
- package/dist/index.cjs77.js +1 -1
- package/dist/index.cjs772.js +1 -1
- package/dist/index.cjs773.js +1 -1
- package/dist/index.cjs773.js.map +1 -1
- package/dist/index.cjs774.js +1 -1
- package/dist/index.cjs774.js.map +1 -1
- package/dist/index.cjs775.js +1 -1
- package/dist/index.cjs78.js +1 -1
- package/dist/index.cjs784.js +1 -1
- package/dist/index.cjs79.js +1 -1
- package/dist/index.cjs8.js +1 -1
- package/dist/index.cjs80.js +1 -1
- package/dist/index.cjs81.js +1 -1
- package/dist/index.cjs82.js +1 -1
- package/dist/index.cjs86.js +1 -1
- package/dist/index.cjs86.js.map +1 -1
- package/dist/index.cjs87.js +1 -1
- package/dist/index.cjs87.js.map +1 -1
- package/dist/index.cjs88.js +1 -1
- package/dist/index.cjs9.js +1 -1
- package/dist/index.cjs93.js +1 -1
- package/dist/index.cjs95.js +1 -1
- package/dist/index.cjs96.js +1 -1
- package/dist/index.d.ts +20 -14
- package/dist/index.es104.js +1 -1
- package/dist/index.es105.js +1 -1
- package/dist/index.es109.js +1 -1
- package/dist/index.es11.js +1 -1
- package/dist/index.es110.js +1 -1
- package/dist/index.es112.js +1 -1
- package/dist/index.es117.js +1 -1
- package/dist/index.es118.js +1 -1
- package/dist/index.es119.js +1 -1
- package/dist/index.es121.js +1 -1
- package/dist/index.es122.js +1 -1
- package/dist/index.es123.js +1 -1
- package/dist/index.es127.js +1 -1
- package/dist/index.es128.js +1 -1
- package/dist/index.es13.js +1 -1
- package/dist/index.es130.js +1 -1
- package/dist/index.es138.js +1 -1
- package/dist/index.es14.js +3 -3
- package/dist/index.es142.js +1 -1
- package/dist/index.es143.js +1 -1
- package/dist/index.es144.js +1 -1
- package/dist/index.es145.js +1 -1
- package/dist/index.es146.js +1 -1
- package/dist/index.es147.js +1 -1
- package/dist/index.es148.js +1 -1
- package/dist/index.es149.js +1 -1
- package/dist/index.es150.js +1 -1
- package/dist/index.es151.js +1 -1
- package/dist/index.es152.js +1 -1
- package/dist/index.es160.js +1 -1
- package/dist/index.es161.js +3 -3
- package/dist/index.es167.js +3 -3
- package/dist/index.es168.js +1 -1
- package/dist/index.es171.js +1 -1
- package/dist/index.es174.js +21 -21
- package/dist/index.es174.js.map +1 -1
- package/dist/index.es179.js +1 -1
- package/dist/index.es18.js +1 -1
- package/dist/index.es187.js +1 -1
- package/dist/index.es188.js +1 -1
- package/dist/index.es19.js +1 -1
- package/dist/index.es191.js +1 -1
- package/dist/index.es192.js +1 -1
- package/dist/index.es195.js +1 -1
- package/dist/index.es196.js +1 -1
- package/dist/index.es20.js +1 -1
- package/dist/index.es201.js +1 -1
- package/dist/index.es202.js +1 -1
- package/dist/index.es203.js +1 -1
- package/dist/index.es206.js +1 -1
- package/dist/index.es207.js +1 -1
- package/dist/index.es209.js +1 -1
- package/dist/index.es211.js +1 -1
- package/dist/index.es213.js +33 -31
- package/dist/index.es213.js.map +1 -1
- package/dist/index.es214.js +1 -1
- package/dist/index.es218.js +1 -1
- package/dist/index.es22.js +1 -1
- package/dist/index.es221.js +1 -1
- package/dist/index.es225.js +1 -1
- package/dist/index.es227.js +1 -1
- package/dist/index.es228.js +1 -1
- package/dist/index.es23.js +1 -1
- package/dist/index.es230.js +1 -1
- package/dist/index.es24.js +1 -1
- package/dist/index.es241.js +1 -1
- package/dist/index.es249.js +1 -1
- package/dist/index.es251.js +1 -1
- package/dist/index.es252.js +1 -1
- package/dist/index.es254.js +1 -1
- package/dist/index.es258.js +1 -1
- package/dist/index.es26.js +3 -3
- package/dist/index.es262.js +1 -1
- package/dist/index.es28.js +1 -1
- package/dist/index.es285.js +1 -1
- package/dist/index.es286.js +2 -2
- package/dist/index.es287.js +2 -2
- package/dist/index.es299.js +5 -0
- package/dist/index.es299.js.map +1 -0
- package/dist/{index.es300.js → index.es301.js} +1 -1
- package/dist/{index.es300.js.map → index.es301.js.map} +1 -1
- package/dist/index.es305.js +132 -148
- package/dist/index.es305.js.map +1 -1
- package/dist/index.es306.js +163 -27
- package/dist/index.es306.js.map +1 -1
- package/dist/index.es307.js +31 -0
- package/dist/index.es307.js.map +1 -0
- package/dist/{index.es312.js → index.es313.js} +2 -2
- package/dist/{index.es312.js.map → index.es313.js.map} +1 -1
- package/dist/index.es315.js +8 -28
- package/dist/index.es315.js.map +1 -1
- package/dist/index.es316.js +32 -0
- package/dist/index.es316.js.map +1 -0
- package/dist/index.es318.js +22 -3
- package/dist/index.es318.js.map +1 -1
- package/dist/index.es319.js +2 -2
- package/dist/index.es320.js +6 -0
- package/dist/index.es320.js.map +1 -0
- package/dist/index.es322.js +2 -0
- package/dist/index.es322.js.map +1 -0
- package/dist/index.es326.js +26 -17
- package/dist/index.es326.js.map +1 -1
- package/dist/index.es327.js +17 -4
- package/dist/index.es327.js.map +1 -1
- package/dist/index.es328.js +7 -0
- package/dist/index.es328.js.map +1 -0
- package/dist/{index.es331.js → index.es332.js} +5 -5
- package/dist/{index.es331.js.map → index.es332.js.map} +1 -1
- package/dist/index.es336.js +3 -21
- package/dist/index.es336.js.map +1 -1
- package/dist/index.es337.js +20 -5
- package/dist/index.es337.js.map +1 -1
- package/dist/index.es338.js +6 -2
- package/dist/index.es338.js.map +1 -1
- package/dist/index.es341.js +14 -14
- package/dist/index.es35.js +1 -1
- package/dist/index.es36.js +1 -1
- package/dist/index.es367.js +6 -6
- package/dist/index.es38.js +1 -1
- package/dist/index.es39.js +1 -1
- package/dist/index.es390.js +1 -1
- package/dist/index.es397.js +1 -1
- package/dist/index.es4.js +1 -1
- package/dist/index.es408.js +1 -1
- package/dist/index.es411.js +1 -1
- package/dist/index.es420.js +7 -7
- package/dist/index.es428.js +1 -1
- package/dist/index.es431.js +1 -1
- package/dist/index.es471.js +1 -1
- package/dist/index.es472.js +3 -3
- package/dist/index.es472.js.map +1 -1
- package/dist/index.es479.js +5 -5
- package/dist/index.es50.js +1 -1
- package/dist/index.es500.js +1 -1
- package/dist/index.es501.js +1 -1
- package/dist/index.es502.js +1 -1
- package/dist/index.es507.js +131 -8
- package/dist/index.es507.js.map +1 -1
- package/dist/index.es508.js +1 -1
- package/dist/index.es509.js +9 -3
- package/dist/index.es509.js.map +1 -1
- package/dist/index.es510.js +2 -131
- package/dist/index.es510.js.map +1 -1
- package/dist/index.es511.js +2 -17
- package/dist/index.es511.js.map +1 -1
- package/dist/index.es512.js +18 -0
- package/dist/index.es512.js.map +1 -0
- package/dist/index.es515.js +19 -66
- package/dist/index.es515.js.map +1 -1
- package/dist/index.es516.js +2 -27
- package/dist/index.es516.js.map +1 -1
- package/dist/index.es517.js +54 -6
- package/dist/index.es517.js.map +1 -1
- package/dist/index.es518.js +219 -56
- package/dist/index.es518.js.map +1 -1
- package/dist/{index.es539.js → index.es519.js} +2 -2
- package/dist/{index.es539.js.map → index.es519.js.map} +1 -1
- package/dist/{index.es540.js → index.es520.js} +1 -1
- package/dist/index.es520.js.map +1 -0
- package/dist/index.es524.js +5 -123
- package/dist/index.es524.js.map +1 -1
- package/dist/index.es525.js +22 -130
- package/dist/index.es525.js.map +1 -1
- package/dist/index.es526.js +68 -14
- package/dist/index.es526.js.map +1 -1
- package/dist/index.es527.js +10 -68
- package/dist/index.es527.js.map +1 -1
- package/dist/index.es528.js +51 -33
- package/dist/index.es528.js.map +1 -1
- package/dist/index.es529.js +122 -12
- package/dist/index.es529.js.map +1 -1
- package/dist/index.es530.js +134 -8
- package/dist/index.es530.js.map +1 -1
- package/dist/index.es531.js +14 -50
- package/dist/index.es531.js.map +1 -1
- package/dist/index.es532.js +72 -0
- package/dist/index.es532.js.map +1 -0
- package/dist/index.es533.js +37 -0
- package/dist/index.es533.js.map +1 -0
- package/dist/index.es534.js +18 -0
- package/dist/index.es534.js.map +1 -0
- package/dist/index.es535.js +9 -21
- package/dist/index.es535.js.map +1 -1
- package/dist/index.es536.js +50 -2
- package/dist/index.es536.js.map +1 -1
- package/dist/index.es537.js +56 -54
- package/dist/index.es537.js.map +1 -1
- package/dist/index.es542.js +1 -1
- package/dist/index.es552.js +5 -0
- package/dist/index.es552.js.map +1 -0
- package/dist/{index.es597.js → index.es553.js} +2 -2
- package/dist/index.es553.js.map +1 -0
- package/dist/index.es554.js +17 -0
- package/dist/index.es554.js.map +1 -0
- package/dist/index.es555.js +9 -0
- package/dist/index.es555.js.map +1 -0
- package/dist/{index.es596.js → index.es556.js} +2 -2
- package/dist/index.es556.js.map +1 -0
- package/dist/{index.es598.js → index.es557.js} +2 -2
- package/dist/index.es557.js.map +1 -0
- package/dist/{index.es591.js → index.es558.js} +2 -2
- package/dist/index.es558.js.map +1 -0
- package/dist/{index.es601.js → index.es559.js} +2 -2
- package/dist/index.es559.js.map +1 -0
- package/dist/index.es560.js +9 -0
- package/dist/index.es560.js.map +1 -0
- package/dist/index.es561.js +9 -0
- package/dist/index.es561.js.map +1 -0
- package/dist/index.es562.js +5 -4
- package/dist/index.es562.js.map +1 -1
- package/dist/index.es563.js +5 -621
- package/dist/index.es563.js.map +1 -1
- package/dist/index.es564.js +9 -0
- package/dist/index.es564.js.map +1 -0
- package/dist/index.es565.js +5 -82
- package/dist/index.es565.js.map +1 -1
- package/dist/index.es566.js +6 -4
- package/dist/index.es566.js.map +1 -1
- package/dist/index.es567.js +5 -10
- package/dist/index.es567.js.map +1 -1
- package/dist/index.es568.js +5 -11
- package/dist/index.es568.js.map +1 -1
- package/dist/index.es569.js +6 -2
- package/dist/index.es569.js.map +1 -1
- package/dist/index.es570.js +8 -4
- package/dist/index.es570.js.map +1 -1
- package/dist/index.es571.js +2 -10
- package/dist/index.es571.js.map +1 -1
- package/dist/index.es572.js +3 -3
- package/dist/index.es572.js.map +1 -1
- package/dist/index.es573.js +1 -1
- package/dist/index.es573.js.map +1 -1
- package/dist/index.es574.js +1 -1
- package/dist/index.es574.js.map +1 -1
- package/dist/index.es575.js +3 -3
- package/dist/index.es575.js.map +1 -1
- package/dist/index.es576.js +10 -5
- package/dist/index.es576.js.map +1 -1
- package/dist/index.es577.js +3 -3
- package/dist/index.es577.js.map +1 -1
- package/dist/index.es578.js +3 -3
- package/dist/index.es578.js.map +1 -1
- package/dist/index.es579.js +3 -3
- package/dist/index.es579.js.map +1 -1
- package/dist/index.es580.js +3 -3
- package/dist/index.es580.js.map +1 -1
- package/dist/index.es581.js +3 -3
- package/dist/index.es581.js.map +1 -1
- package/dist/index.es582.js +3 -3
- package/dist/index.es582.js.map +1 -1
- package/dist/index.es583.js +10 -4
- package/dist/index.es583.js.map +1 -1
- package/dist/index.es584.js +3 -3
- package/dist/index.es584.js.map +1 -1
- package/dist/index.es585.js +3 -3
- package/dist/index.es585.js.map +1 -1
- package/dist/index.es586.js +7 -4
- package/dist/index.es586.js.map +1 -1
- package/dist/index.es587.js +14 -7
- package/dist/index.es587.js.map +1 -1
- package/dist/index.es588.js +10 -5
- package/dist/index.es588.js.map +1 -1
- package/dist/index.es589.js +2 -6
- package/dist/index.es589.js.map +1 -1
- package/dist/index.es594.js +4 -5
- package/dist/index.es594.js.map +1 -1
- package/dist/index.es595.js +621 -5
- package/dist/index.es595.js.map +1 -1
- package/dist/index.es6.js +1 -1
- package/dist/index.es602.js +82 -5
- package/dist/index.es602.js.map +1 -1
- package/dist/index.es603.js +4 -9
- package/dist/index.es603.js.map +1 -1
- package/dist/index.es604.js +10 -16
- package/dist/index.es604.js.map +1 -1
- package/dist/index.es605.js +11 -10
- package/dist/index.es605.js.map +1 -1
- package/dist/index.es608.js +36 -6
- package/dist/index.es608.js.map +1 -1
- package/dist/index.es609.js +2 -554
- package/dist/index.es609.js.map +1 -1
- package/dist/index.es610.js +2 -714
- package/dist/index.es610.js.map +1 -1
- package/dist/index.es611.js +2 -70
- package/dist/index.es611.js.map +1 -1
- package/dist/index.es612.js +2 -9
- package/dist/index.es612.js.map +1 -1
- package/dist/index.es613.js +2 -21
- package/dist/index.es613.js.map +1 -1
- package/dist/index.es614.js +2 -77
- package/dist/index.es614.js.map +1 -1
- package/dist/index.es615.js +2 -69
- package/dist/index.es615.js.map +1 -1
- package/dist/index.es616.js +2 -50
- package/dist/index.es616.js.map +1 -1
- package/dist/index.es617.js +2 -36
- package/dist/index.es617.js.map +1 -1
- package/dist/index.es618.js +2 -46
- package/dist/index.es618.js.map +1 -1
- package/dist/index.es619.js +2 -14
- package/dist/index.es619.js.map +1 -1
- package/dist/index.es620.js +2 -219
- package/dist/index.es620.js.map +1 -1
- package/dist/index.es621.js +2 -181
- package/dist/index.es621.js.map +1 -1
- package/dist/index.es622.js +2 -2
- package/dist/index.es624.js +2 -2
- package/dist/index.es625.js +2 -2
- package/dist/index.es628.js +2 -2
- package/dist/index.es63.js +25 -25
- package/dist/index.es63.js.map +1 -1
- package/dist/index.es630.js +2 -2
- package/dist/index.es632.js +2 -2
- package/dist/index.es633.js +2 -2
- package/dist/index.es634.js +2 -2
- package/dist/index.es635.js +2 -2
- package/dist/index.es636.js +2 -2
- package/dist/index.es637.js +2 -2
- package/dist/index.es638.js +2 -2
- package/dist/index.es639.js +2 -2
- package/dist/index.es642.js +2 -2
- package/dist/index.es643.js +2 -2
- package/dist/index.es644.js +2 -2
- package/dist/index.es645.js +6 -2
- package/dist/index.es645.js.map +1 -1
- package/dist/index.es646.js +554 -2
- package/dist/index.es646.js.map +1 -1
- package/dist/index.es647.js +714 -2
- package/dist/index.es647.js.map +1 -1
- package/dist/index.es648.js +70 -2
- package/dist/index.es648.js.map +1 -1
- package/dist/index.es649.js +9 -2
- package/dist/index.es649.js.map +1 -1
- package/dist/index.es650.js +21 -2
- package/dist/index.es650.js.map +1 -1
- package/dist/index.es651.js +77 -2
- package/dist/index.es651.js.map +1 -1
- package/dist/index.es652.js +69 -2
- package/dist/index.es652.js.map +1 -1
- package/dist/index.es653.js +50 -2
- package/dist/index.es653.js.map +1 -1
- package/dist/index.es654.js +46 -2
- package/dist/index.es654.js.map +1 -1
- package/dist/index.es655.js +14 -2
- package/dist/index.es655.js.map +1 -1
- package/dist/index.es656.js +219 -2
- package/dist/index.es656.js.map +1 -1
- package/dist/index.es657.js +181 -2
- package/dist/index.es657.js.map +1 -1
- package/dist/index.es659.js +3 -3
- package/dist/index.es660.js +3 -3
- package/dist/index.es662.js +2 -2
- package/dist/index.es663.js +2 -2
- package/dist/index.es664.js +2 -2
- package/dist/index.es665.js +1 -1
- package/dist/index.es666.js +8 -8
- package/dist/index.es671.js +1 -1
- package/dist/index.es672.js +2 -2
- package/dist/index.es675.js +1 -1
- package/dist/index.es676.js +3 -3
- package/dist/index.es677.js +3 -3
- package/dist/index.es679.js +2 -2
- package/dist/index.es68.js +1 -1
- package/dist/index.es680.js +1 -1
- package/dist/index.es681.js +1 -1
- package/dist/index.es685.js +1 -1
- package/dist/index.es688.js +1 -1
- package/dist/index.es691.js +3 -3
- package/dist/index.es694.js +3 -3
- package/dist/index.es696.js +1 -1
- package/dist/index.es699.js +2 -2
- package/dist/index.es7.js +2 -2
- package/dist/index.es700.js +2 -2
- package/dist/index.es701.js +15 -15
- package/dist/index.es708.js +8 -8
- package/dist/index.es71.js +1 -1
- package/dist/index.es713.js +8 -8
- package/dist/index.es715.js +1 -1
- package/dist/index.es716.js +5 -2
- package/dist/index.es716.js.map +1 -1
- package/dist/index.es717.js +3 -225
- package/dist/index.es717.js.map +1 -1
- package/dist/index.es718.js +24 -2
- package/dist/index.es718.js.map +1 -1
- package/dist/index.es719.js +109 -353
- package/dist/index.es719.js.map +1 -1
- package/dist/index.es72.js +1 -1
- package/dist/index.es720.js +16 -2
- package/dist/index.es720.js.map +1 -1
- package/dist/index.es721.js +6 -2
- package/dist/index.es721.js.map +1 -1
- package/dist/index.es722.js +11 -2
- package/dist/index.es722.js.map +1 -1
- package/dist/index.es723.js +4 -34
- package/dist/index.es723.js.map +1 -1
- package/dist/index.es724.js +87 -43
- package/dist/index.es724.js.map +1 -1
- package/dist/index.es725.js +17 -58
- package/dist/index.es725.js.map +1 -1
- package/dist/index.es726.js +172 -53
- package/dist/index.es726.js.map +1 -1
- package/dist/index.es727.js +9 -72
- package/dist/index.es727.js.map +1 -1
- package/dist/index.es728.js +187 -45
- package/dist/index.es728.js.map +1 -1
- package/dist/index.es729.js +315 -85
- package/dist/index.es729.js.map +1 -1
- package/dist/index.es73.js +1 -1
- package/dist/index.es730.js +91 -5
- package/dist/index.es730.js.map +1 -1
- package/dist/index.es731.js +2 -11
- package/dist/index.es731.js.map +1 -1
- package/dist/index.es732.js +225 -4
- package/dist/index.es732.js.map +1 -1
- package/dist/index.es733.js +2 -90
- package/dist/index.es733.js.map +1 -1
- package/dist/index.es734.js +356 -17
- package/dist/index.es734.js.map +1 -1
- package/dist/index.es735.js +2 -180
- package/dist/index.es735.js.map +1 -1
- package/dist/index.es736.js +2 -10
- package/dist/index.es736.js.map +1 -1
- package/dist/index.es737.js +2 -194
- package/dist/index.es737.js.map +1 -1
- package/dist/index.es738.js +30 -316
- package/dist/index.es738.js.map +1 -1
- package/dist/index.es739.js +44 -90
- package/dist/index.es739.js.map +1 -1
- package/dist/index.es740.js +59 -5
- package/dist/index.es740.js.map +1 -1
- package/dist/index.es741.js +61 -3
- package/dist/index.es741.js.map +1 -1
- package/dist/index.es742.js +71 -22
- package/dist/index.es742.js.map +1 -1
- package/dist/index.es743.js +49 -110
- package/dist/index.es743.js.map +1 -1
- package/dist/index.es744.js +89 -15
- package/dist/index.es744.js.map +1 -1
- package/dist/index.es748.js +2 -6
- package/dist/index.es748.js.map +1 -1
- package/dist/index.es749.js +2 -16
- package/dist/index.es749.js.map +1 -1
- package/dist/index.es750.js +2 -2
- package/dist/index.es750.js.map +1 -1
- package/dist/index.es751.js +6 -2
- package/dist/index.es751.js.map +1 -1
- package/dist/index.es752.js +16 -2
- package/dist/index.es752.js.map +1 -1
- package/dist/index.es758.js +2 -2
- package/dist/index.es759.js +2 -2
- package/dist/index.es76.js +1 -1
- package/dist/index.es760.js +2 -11
- package/dist/index.es760.js.map +1 -1
- package/dist/index.es761.js +111 -10
- package/dist/index.es761.js.map +1 -1
- package/dist/index.es762.js +2 -54
- package/dist/index.es762.js.map +1 -1
- package/dist/index.es763.js +11 -2
- package/dist/index.es763.js.map +1 -1
- package/dist/index.es764.js +10 -144
- package/dist/index.es764.js.map +1 -1
- package/dist/index.es765.js +54 -2
- package/dist/index.es765.js.map +1 -1
- package/dist/index.es766.js +2 -2
- package/dist/index.es767.js +145 -2
- package/dist/index.es767.js.map +1 -1
- package/dist/index.es768.js +2 -2
- package/dist/index.es769.js +2 -2
- package/dist/index.es77.js +1 -1
- package/dist/index.es770.js +2 -2
- package/dist/index.es771.js +2 -2
- package/dist/index.es772.js +2 -2
- package/dist/index.es773.js +2 -2
- package/dist/index.es773.js.map +1 -1
- package/dist/index.es774.js +2 -112
- package/dist/index.es774.js.map +1 -1
- package/dist/index.es775.js +1 -1
- package/dist/index.es78.js +1 -1
- package/dist/index.es784.js +1 -1
- package/dist/index.es79.js +1 -1
- package/dist/index.es8.js +2 -2
- package/dist/index.es80.js +1 -1
- package/dist/index.es81.js +1 -1
- package/dist/index.es82.js +1 -1
- package/dist/index.es86.js +35 -35
- package/dist/index.es86.js.map +1 -1
- package/dist/index.es87.js +17 -15
- package/dist/index.es87.js.map +1 -1
- package/dist/index.es88.js +1 -1
- package/dist/index.es9.js +1 -1
- package/dist/index.es93.js +1 -1
- package/dist/index.es95.js +1 -1
- package/dist/index.es96.js +1 -1
- package/dist/sections/Documents/Documents.css +1 -1
- package/dist/sections/FaqSections/FaqSections.css +1 -1
- package/dist/sections/GpHomeSection/GpHomeSection.css +1 -1
- package/dist/sections/HomeServices/HomeServices.css +1 -1
- package/dist/sections/Insights/Insights.css +1 -1
- package/dist/sections/LatestClinicalParameters/LatestClinicalParametersSection.css +1 -1
- package/dist/sections/Login/Login.css +1 -1
- package/dist/sections/RichText/RichText.css +1 -1
- package/dist/sections/Services/Services.css +1 -1
- package/dist/sections/Slider/Slider.css +1 -1
- package/dist/sections/SuggestedServices/SuggestedServices.css +1 -1
- package/dist/sections/TableList/TableList.css +1 -1
- package/dist/sections/TableMobileList/TableMobileList.css +1 -1
- package/dist/sections/Tags/Tags.css +1 -1
- package/dist/sections/WhatDoYouNeed/WhatDoYouNeed.css +1 -1
- package/dist/styles/index.css +1 -1
- package/dist/styles/typography.css +1 -1
- package/package.json +1 -1
- package/dist/index.cjs304.js +0 -2
- package/dist/index.cjs304.js.map +0 -1
- package/dist/index.cjs314.js +0 -2
- package/dist/index.cjs314.js.map +0 -1
- package/dist/index.cjs317.js +0 -2
- package/dist/index.cjs317.js.map +0 -1
- package/dist/index.cjs321.js +0 -2
- package/dist/index.cjs321.js.map +0 -1
- package/dist/index.cjs325.js +0 -2
- package/dist/index.cjs325.js.map +0 -1
- package/dist/index.cjs335.js +0 -2
- package/dist/index.cjs335.js.map +0 -1
- package/dist/index.cjs514.js +0 -2
- package/dist/index.cjs514.js.map +0 -1
- package/dist/index.cjs522.js +0 -2
- package/dist/index.cjs522.js.map +0 -1
- package/dist/index.cjs523.js +0 -2
- package/dist/index.cjs523.js.map +0 -1
- package/dist/index.cjs538.js +0 -2
- package/dist/index.cjs538.js.map +0 -1
- package/dist/index.cjs540.js.map +0 -1
- package/dist/index.cjs590.js.map +0 -1
- package/dist/index.cjs591.js.map +0 -1
- package/dist/index.cjs592.js.map +0 -1
- package/dist/index.cjs593.js +0 -2
- package/dist/index.cjs593.js.map +0 -1
- package/dist/index.cjs596.js.map +0 -1
- package/dist/index.cjs597.js.map +0 -1
- package/dist/index.cjs598.js +0 -2
- package/dist/index.cjs598.js.map +0 -1
- package/dist/index.cjs599.js +0 -2
- package/dist/index.cjs599.js.map +0 -1
- package/dist/index.cjs600.js +0 -2
- package/dist/index.cjs600.js.map +0 -1
- package/dist/index.cjs601.js +0 -2
- package/dist/index.cjs601.js.map +0 -1
- package/dist/index.cjs606.js +0 -2
- package/dist/index.cjs606.js.map +0 -1
- package/dist/index.es304.js +0 -151
- package/dist/index.es304.js.map +0 -1
- package/dist/index.es314.js +0 -12
- package/dist/index.es314.js.map +0 -1
- package/dist/index.es317.js +0 -25
- package/dist/index.es317.js.map +0 -1
- package/dist/index.es321.js +0 -2
- package/dist/index.es321.js.map +0 -1
- package/dist/index.es325.js +0 -29
- package/dist/index.es325.js.map +0 -1
- package/dist/index.es335.js +0 -6
- package/dist/index.es335.js.map +0 -1
- package/dist/index.es514.js +0 -3
- package/dist/index.es514.js.map +0 -1
- package/dist/index.es522.js +0 -14
- package/dist/index.es522.js.map +0 -1
- package/dist/index.es523.js +0 -55
- package/dist/index.es523.js.map +0 -1
- package/dist/index.es538.js +0 -223
- package/dist/index.es538.js.map +0 -1
- package/dist/index.es540.js.map +0 -1
- package/dist/index.es590.js +0 -9
- package/dist/index.es590.js.map +0 -1
- package/dist/index.es591.js.map +0 -1
- package/dist/index.es592.js +0 -9
- package/dist/index.es592.js.map +0 -1
- package/dist/index.es593.js +0 -14
- package/dist/index.es593.js.map +0 -1
- package/dist/index.es596.js.map +0 -1
- package/dist/index.es597.js.map +0 -1
- package/dist/index.es598.js.map +0 -1
- package/dist/index.es599.js +0 -9
- package/dist/index.es599.js.map +0 -1
- package/dist/index.es600.js +0 -15
- package/dist/index.es600.js.map +0 -1
- package/dist/index.es601.js.map +0 -1
- package/dist/index.es606.js +0 -5
- package/dist/index.es606.js.map +0 -1
package/dist/index.cjs652.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs652.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"index.cjs652.js","sources":["../node_modules/parse-srcset/src/parse-srcset.js"],"sourcesContent":["/**\n * Srcset Parser\n *\n * By Alex Bell | MIT License\n *\n * JS Parser for the string value that appears in markup <img srcset=\"here\">\n *\n * @returns Array [{url: _, d: _, w: _, h:_}, ...]\n *\n * Based super duper closely on the reference algorithm at:\n * https://html.spec.whatwg.org/multipage/embedded-content.html#parse-a-srcset-attribute\n *\n * Most comments are copied in directly from the spec\n * (except for comments in parens).\n */\n\n(function (root, factory) {\n\tif (typeof define === 'function' && define.amd) {\n\t\t// AMD. Register as an anonymous module.\n\t\tdefine([], factory);\n\t} else if (typeof module === 'object' && module.exports) {\n\t\t// Node. Does not work with strict CommonJS, but\n\t\t// only CommonJS-like environments that support module.exports,\n\t\t// like Node.\n\t\tmodule.exports = factory();\n\t} else {\n\t\t// Browser globals (root is window)\n\t\troot.parseSrcset = factory();\n\t}\n}(this, function () {\n\n\t// 1. Let input be the value passed to this algorithm.\n\treturn function (input) {\n\n\t\t// UTILITY FUNCTIONS\n\n\t\t// Manual is faster than RegEx\n\t\t// http://bjorn.tipling.com/state-and-regular-expressions-in-javascript\n\t\t// http://jsperf.com/whitespace-character/5\n\t\tfunction isSpace(c) {\n\t\t\treturn (c === \"\\u0020\" || // space\n\t\t\tc === \"\\u0009\" || // horizontal tab\n\t\t\tc === \"\\u000A\" || // new line\n\t\t\tc === \"\\u000C\" || // form feed\n\t\t\tc === \"\\u000D\"); // carriage return\n\t\t}\n\n\t\tfunction collectCharacters(regEx) {\n\t\t\tvar chars,\n\t\t\t\tmatch = regEx.exec(input.substring(pos));\n\t\t\tif (match) {\n\t\t\t\tchars = match[ 0 ];\n\t\t\t\tpos += chars.length;\n\t\t\t\treturn chars;\n\t\t\t}\n\t\t}\n\n\t\tvar inputLength = input.length,\n\n\t\t\t// (Don't use \\s, to avoid matching non-breaking space)\n\t\t\tregexLeadingSpaces = /^[ \\t\\n\\r\\u000c]+/,\n\t\t\tregexLeadingCommasOrSpaces = /^[, \\t\\n\\r\\u000c]+/,\n\t\t\tregexLeadingNotSpaces = /^[^ \\t\\n\\r\\u000c]+/,\n\t\t\tregexTrailingCommas = /[,]+$/,\n\t\t\tregexNonNegativeInteger = /^\\d+$/,\n\n\t\t\t// ( Positive or negative or unsigned integers or decimals, without or without exponents.\n\t\t\t// Must include at least one digit.\n\t\t\t// According to spec tests any decimal point must be followed by a digit.\n\t\t\t// No leading plus sign is allowed.)\n\t\t\t// https://html.spec.whatwg.org/multipage/infrastructure.html#valid-floating-point-number\n\t\t\tregexFloatingPoint = /^-?(?:[0-9]+|[0-9]*\\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,\n\n\t\t\turl,\n\t\t\tdescriptors,\n\t\t\tcurrentDescriptor,\n\t\t\tstate,\n\t\t\tc,\n\n\t\t\t// 2. Let position be a pointer into input, initially pointing at the start\n\t\t\t// of the string.\n\t\t\tpos = 0,\n\n\t\t\t// 3. Let candidates be an initially empty source set.\n\t\t\tcandidates = [];\n\n\t\t// 4. Splitting loop: Collect a sequence of characters that are space\n\t\t// characters or U+002C COMMA characters. If any U+002C COMMA characters\n\t\t// were collected, that is a parse error.\n\t\twhile (true) {\n\t\t\tcollectCharacters(regexLeadingCommasOrSpaces);\n\n\t\t\t// 5. If position is past the end of input, return candidates and abort these steps.\n\t\t\tif (pos >= inputLength) {\n\t\t\t\treturn candidates; // (we're done, this is the sole return path)\n\t\t\t}\n\n\t\t\t// 6. Collect a sequence of characters that are not space characters,\n\t\t\t// and let that be url.\n\t\t\turl = collectCharacters(regexLeadingNotSpaces);\n\n\t\t\t// 7. Let descriptors be a new empty list.\n\t\t\tdescriptors = [];\n\n\t\t\t// 8. If url ends with a U+002C COMMA character (,), follow these substeps:\n\t\t\t//\t\t(1). Remove all trailing U+002C COMMA characters from url. If this removed\n\t\t\t// more than one character, that is a parse error.\n\t\t\tif (url.slice(-1) === \",\") {\n\t\t\t\turl = url.replace(regexTrailingCommas, \"\");\n\t\t\t\t// (Jump ahead to step 9 to skip tokenization and just push the candidate).\n\t\t\t\tparseDescriptors();\n\n\t\t\t\t//\tOtherwise, follow these substeps:\n\t\t\t} else {\n\t\t\t\ttokenize();\n\t\t\t} // (close else of step 8)\n\n\t\t\t// 16. Return to the step labeled splitting loop.\n\t\t} // (Close of big while loop.)\n\n\t\t/**\n\t\t * Tokenizes descriptor properties prior to parsing\n\t\t * Returns undefined.\n\t\t */\n\t\tfunction tokenize() {\n\n\t\t\t// 8.1. Descriptor tokeniser: Skip whitespace\n\t\t\tcollectCharacters(regexLeadingSpaces);\n\n\t\t\t// 8.2. Let current descriptor be the empty string.\n\t\t\tcurrentDescriptor = \"\";\n\n\t\t\t// 8.3. Let state be in descriptor.\n\t\t\tstate = \"in descriptor\";\n\n\t\t\twhile (true) {\n\n\t\t\t\t// 8.4. Let c be the character at position.\n\t\t\t\tc = input.charAt(pos);\n\n\t\t\t\t// Do the following depending on the value of state.\n\t\t\t\t// For the purpose of this step, \"EOF\" is a special character representing\n\t\t\t\t// that position is past the end of input.\n\n\t\t\t\t// In descriptor\n\t\t\t\tif (state === \"in descriptor\") {\n\t\t\t\t\t// Do the following, depending on the value of c:\n\n\t\t\t\t\t// Space character\n\t\t\t\t\t// If current descriptor is not empty, append current descriptor to\n\t\t\t\t\t// descriptors and let current descriptor be the empty string.\n\t\t\t\t\t// Set state to after descriptor.\n\t\t\t\t\tif (isSpace(c)) {\n\t\t\t\t\t\tif (currentDescriptor) {\n\t\t\t\t\t\t\tdescriptors.push(currentDescriptor);\n\t\t\t\t\t\t\tcurrentDescriptor = \"\";\n\t\t\t\t\t\t\tstate = \"after descriptor\";\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// U+002C COMMA (,)\n\t\t\t\t\t\t// Advance position to the next character in input. If current descriptor\n\t\t\t\t\t\t// is not empty, append current descriptor to descriptors. Jump to the step\n\t\t\t\t\t\t// labeled descriptor parser.\n\t\t\t\t\t} else if (c === \",\") {\n\t\t\t\t\t\tpos += 1;\n\t\t\t\t\t\tif (currentDescriptor) {\n\t\t\t\t\t\t\tdescriptors.push(currentDescriptor);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tparseDescriptors();\n\t\t\t\t\t\treturn;\n\n\t\t\t\t\t\t// U+0028 LEFT PARENTHESIS (()\n\t\t\t\t\t\t// Append c to current descriptor. Set state to in parens.\n\t\t\t\t\t} else if (c === \"\\u0028\") {\n\t\t\t\t\t\tcurrentDescriptor = currentDescriptor + c;\n\t\t\t\t\t\tstate = \"in parens\";\n\n\t\t\t\t\t\t// EOF\n\t\t\t\t\t\t// If current descriptor is not empty, append current descriptor to\n\t\t\t\t\t\t// descriptors. Jump to the step labeled descriptor parser.\n\t\t\t\t\t} else if (c === \"\") {\n\t\t\t\t\t\tif (currentDescriptor) {\n\t\t\t\t\t\t\tdescriptors.push(currentDescriptor);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tparseDescriptors();\n\t\t\t\t\t\treturn;\n\n\t\t\t\t\t\t// Anything else\n\t\t\t\t\t\t// Append c to current descriptor.\n\t\t\t\t\t} else {\n\t\t\t\t\t\tcurrentDescriptor = currentDescriptor + c;\n\t\t\t\t\t}\n\t\t\t\t\t// (end \"in descriptor\"\n\n\t\t\t\t\t// In parens\n\t\t\t\t} else if (state === \"in parens\") {\n\n\t\t\t\t\t// U+0029 RIGHT PARENTHESIS ())\n\t\t\t\t\t// Append c to current descriptor. Set state to in descriptor.\n\t\t\t\t\tif (c === \")\") {\n\t\t\t\t\t\tcurrentDescriptor = currentDescriptor + c;\n\t\t\t\t\t\tstate = \"in descriptor\";\n\n\t\t\t\t\t\t// EOF\n\t\t\t\t\t\t// Append current descriptor to descriptors. Jump to the step labeled\n\t\t\t\t\t\t// descriptor parser.\n\t\t\t\t\t} else if (c === \"\") {\n\t\t\t\t\t\tdescriptors.push(currentDescriptor);\n\t\t\t\t\t\tparseDescriptors();\n\t\t\t\t\t\treturn;\n\n\t\t\t\t\t\t// Anything else\n\t\t\t\t\t\t// Append c to current descriptor.\n\t\t\t\t\t} else {\n\t\t\t\t\t\tcurrentDescriptor = currentDescriptor + c;\n\t\t\t\t\t}\n\n\t\t\t\t\t// After descriptor\n\t\t\t\t} else if (state === \"after descriptor\") {\n\n\t\t\t\t\t// Do the following, depending on the value of c:\n\t\t\t\t\t// Space character: Stay in this state.\n\t\t\t\t\tif (isSpace(c)) {\n\n\t\t\t\t\t\t// EOF: Jump to the step labeled descriptor parser.\n\t\t\t\t\t} else if (c === \"\") {\n\t\t\t\t\t\tparseDescriptors();\n\t\t\t\t\t\treturn;\n\n\t\t\t\t\t\t// Anything else\n\t\t\t\t\t\t// Set state to in descriptor. Set position to the previous character in input.\n\t\t\t\t\t} else {\n\t\t\t\t\t\tstate = \"in descriptor\";\n\t\t\t\t\t\tpos -= 1;\n\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t// Advance position to the next character in input.\n\t\t\t\tpos += 1;\n\n\t\t\t\t// Repeat this step.\n\t\t\t} // (close while true loop)\n\t\t}\n\n\t\t/**\n\t\t * Adds descriptor properties to a candidate, pushes to the candidates array\n\t\t * @return undefined\n\t\t */\n\t\t// Declared outside of the while loop so that it's only created once.\n\t\tfunction parseDescriptors() {\n\n\t\t\t// 9. Descriptor parser: Let error be no.\n\t\t\tvar pError = false,\n\n\t\t\t\t// 10. Let width be absent.\n\t\t\t\t// 11. Let density be absent.\n\t\t\t\t// 12. Let future-compat-h be absent. (We're implementing it now as h)\n\t\t\t\tw, d, h, i,\n\t\t\t\tcandidate = {},\n\t\t\t\tdesc, lastChar, value, intVal, floatVal;\n\n\t\t\t// 13. For each descriptor in descriptors, run the appropriate set of steps\n\t\t\t// from the following list:\n\t\t\tfor (i = 0 ; i < descriptors.length; i++) {\n\t\t\t\tdesc = descriptors[ i ];\n\n\t\t\t\tlastChar = desc[ desc.length - 1 ];\n\t\t\t\tvalue = desc.substring(0, desc.length - 1);\n\t\t\t\tintVal = parseInt(value, 10);\n\t\t\t\tfloatVal = parseFloat(value);\n\n\t\t\t\t// If the descriptor consists of a valid non-negative integer followed by\n\t\t\t\t// a U+0077 LATIN SMALL LETTER W character\n\t\t\t\tif (regexNonNegativeInteger.test(value) && (lastChar === \"w\")) {\n\n\t\t\t\t\t// If width and density are not both absent, then let error be yes.\n\t\t\t\t\tif (w || d) {pError = true;}\n\n\t\t\t\t\t// Apply the rules for parsing non-negative integers to the descriptor.\n\t\t\t\t\t// If the result is zero, let error be yes.\n\t\t\t\t\t// Otherwise, let width be the result.\n\t\t\t\t\tif (intVal === 0) {pError = true;} else {w = intVal;}\n\n\t\t\t\t\t// If the descriptor consists of a valid floating-point number followed by\n\t\t\t\t\t// a U+0078 LATIN SMALL LETTER X character\n\t\t\t\t} else if (regexFloatingPoint.test(value) && (lastChar === \"x\")) {\n\n\t\t\t\t\t// If width, density and future-compat-h are not all absent, then let error\n\t\t\t\t\t// be yes.\n\t\t\t\t\tif (w || d || h) {pError = true;}\n\n\t\t\t\t\t// Apply the rules for parsing floating-point number values to the descriptor.\n\t\t\t\t\t// If the result is less than zero, let error be yes. Otherwise, let density\n\t\t\t\t\t// be the result.\n\t\t\t\t\tif (floatVal < 0) {pError = true;} else {d = floatVal;}\n\n\t\t\t\t\t// If the descriptor consists of a valid non-negative integer followed by\n\t\t\t\t\t// a U+0068 LATIN SMALL LETTER H character\n\t\t\t\t} else if (regexNonNegativeInteger.test(value) && (lastChar === \"h\")) {\n\n\t\t\t\t\t// If height and density are not both absent, then let error be yes.\n\t\t\t\t\tif (h || d) {pError = true;}\n\n\t\t\t\t\t// Apply the rules for parsing non-negative integers to the descriptor.\n\t\t\t\t\t// If the result is zero, let error be yes. Otherwise, let future-compat-h\n\t\t\t\t\t// be the result.\n\t\t\t\t\tif (intVal === 0) {pError = true;} else {h = intVal;}\n\n\t\t\t\t\t// Anything else, Let error be yes.\n\t\t\t\t} else {pError = true;}\n\t\t\t} // (close step 13 for loop)\n\n\t\t\t// 15. If error is still no, then append a new image source to candidates whose\n\t\t\t// URL is url, associated with a width width if not absent and a pixel\n\t\t\t// density density if not absent. Otherwise, there is a parse error.\n\t\t\tif (!pError) {\n\t\t\t\tcandidate.url = url;\n\t\t\t\tif (w) { candidate.w = w;}\n\t\t\t\tif (d) { candidate.d = d;}\n\t\t\t\tif (h) { candidate.h = h;}\n\t\t\t\tcandidates.push(candidate);\n\t\t\t} else if (console && console.log) {\n\t\t\t\tconsole.log(\"Invalid srcset descriptor found in '\" +\n\t\t\t\t\tinput + \"' at '\" + desc + \"'.\");\n\t\t\t}\n\t\t} // (close parseDescriptors fn)\n\n\t}\n}));\n"],"names":["root","factory","module","this","input","isSpace","c","collectCharacters","regEx","chars","match","pos","inputLength","regexLeadingSpaces","regexLeadingCommasOrSpaces","regexLeadingNotSpaces","regexTrailingCommas","regexNonNegativeInteger","regexFloatingPoint","url","descriptors","currentDescriptor","state","candidates","parseDescriptors","tokenize","pError","w","d","h","i","candidate","desc","lastChar","value","intVal","floatVal"],"mappings":"0LAgBC,S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AAMZ,EACZQ,IAAKI,EAAU,EAAIJ,GACnBC,IAAKG,EAAU,EAAIH,GACnBC,IAAKE,EAAU,EAAIF,GACvBN,EAAW,KAAKQ,CAAS,EAK7B,CAEA,CACA,CAAC","x_google_ignoreList":[0]}
|
package/dist/index.cjs653.js
CHANGED
|
@@ -1,2 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e=
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const $=require("./index.cjs669.js"),b=require("./index.cjs670.js"),x=require("./index.cjs671.js"),E=require("./index.cjs672.js"),J=require("./index.cjs673.js"),L=require("./index.cjs674.js"),W=require("./index.cjs675.js"),j=require("./index.cjs676.js"),z=require("./index.cjs677.js"),G=require("./index.cjs678.js"),I=require("./index.cjs679.js"),M=require("./index.cjs680.js"),T=require("./index.cjs681.js"),V=require("./index.cjs682.js"),k=require("./index.cjs683.js"),B=require("./index.cjs684.js"),F=require("./index.cjs685.js"),H=require("./index.cjs686.js");var c,w;function K(){if(w)return c;w=1;let l=$.__require(),a=b.__require(),g=x.__require(),d=E.__require(),q=J.__require(),_=L.__require(),y=W.__require(),R=j.__require(),P=z.__require(),h=G.__require(),S=I.__require(),v=M.__require(),s=T.__require(),N=V.__require(),p=k.__require(),f=B.__require(),A=F.__require(),C=H.__require();function e(...r){return r.length===1&&Array.isArray(r[0])&&(r=r[0]),new s(r)}return e.plugin=function(o,O){let m=!1;function t(...u){console&&console.warn&&!m&&(m=!0,console.warn(o+`: postcss.plugin was deprecated. Migration guide:
|
|
2
|
+
https://evilmartians.com/chronicles/postcss-8-plugin-migration`),process.env.LANG&&process.env.LANG.startsWith("cn")&&console.warn(o+`: 里面 postcss.plugin 被弃用. 迁移指南:
|
|
3
|
+
https://www.w3ctech.com/topic/2226`));let n=O(...u);return n.postcssPlugin=o,n.postcssVersion=new s().version,n}let i;return Object.defineProperty(t,"postcss",{get(){return i||(i=t()),i}}),t.process=function(u,n,D){return e([t(D)]).process(u,n)},t},e.stringify=A,e.parse=v,e.fromJSON=y,e.list=h,e.comment=r=>new a(r),e.atRule=r=>new l(r),e.decl=r=>new q(r),e.rule=r=>new f(r),e.root=r=>new p(r),e.document=r=>new _(r),e.CssSyntaxError=d,e.Declaration=q,e.Container=g,e.Processor=s,e.Document=_,e.Comment=a,e.Warning=C,e.AtRule=l,e.Result=N,e.Input=R,e.Rule=f,e.Root=p,e.Node=S,P.registerPostcss(e),c=e,e.default=e,c}exports.__require=K;
|
|
2
4
|
//# sourceMappingURL=index.cjs653.js.map
|
package/dist/index.cjs653.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs653.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"index.cjs653.js","sources":["../node_modules/postcss/lib/postcss.js"],"sourcesContent":["'use strict'\n\nlet AtRule = require('./at-rule')\nlet Comment = require('./comment')\nlet Container = require('./container')\nlet CssSyntaxError = require('./css-syntax-error')\nlet Declaration = require('./declaration')\nlet Document = require('./document')\nlet fromJSON = require('./fromJSON')\nlet Input = require('./input')\nlet LazyResult = require('./lazy-result')\nlet list = require('./list')\nlet Node = require('./node')\nlet parse = require('./parse')\nlet Processor = require('./processor')\nlet Result = require('./result.js')\nlet Root = require('./root')\nlet Rule = require('./rule')\nlet stringify = require('./stringify')\nlet Warning = require('./warning')\n\nfunction postcss(...plugins) {\n if (plugins.length === 1 && Array.isArray(plugins[0])) {\n plugins = plugins[0]\n }\n return new Processor(plugins)\n}\n\npostcss.plugin = function plugin(name, initializer) {\n let warningPrinted = false\n function creator(...args) {\n // eslint-disable-next-line no-console\n if (console && console.warn && !warningPrinted) {\n warningPrinted = true\n // eslint-disable-next-line no-console\n console.warn(\n name +\n ': postcss.plugin was deprecated. Migration guide:\\n' +\n 'https://evilmartians.com/chronicles/postcss-8-plugin-migration'\n )\n if (process.env.LANG && process.env.LANG.startsWith('cn')) {\n /* c8 ignore next 7 */\n // eslint-disable-next-line no-console\n console.warn(\n name +\n ': 里面 postcss.plugin 被弃用. 迁移指南:\\n' +\n 'https://www.w3ctech.com/topic/2226'\n )\n }\n }\n let transformer = initializer(...args)\n transformer.postcssPlugin = name\n transformer.postcssVersion = new Processor().version\n return transformer\n }\n\n let cache\n Object.defineProperty(creator, 'postcss', {\n get() {\n if (!cache) cache = creator()\n return cache\n }\n })\n\n creator.process = function (css, processOpts, pluginOpts) {\n return postcss([creator(pluginOpts)]).process(css, processOpts)\n }\n\n return creator\n}\n\npostcss.stringify = stringify\npostcss.parse = parse\npostcss.fromJSON = fromJSON\npostcss.list = list\n\npostcss.comment = defaults => new Comment(defaults)\npostcss.atRule = defaults => new AtRule(defaults)\npostcss.decl = defaults => new Declaration(defaults)\npostcss.rule = defaults => new Rule(defaults)\npostcss.root = defaults => new Root(defaults)\npostcss.document = defaults => new Document(defaults)\n\npostcss.CssSyntaxError = CssSyntaxError\npostcss.Declaration = Declaration\npostcss.Container = Container\npostcss.Processor = Processor\npostcss.Document = Document\npostcss.Comment = Comment\npostcss.Warning = Warning\npostcss.AtRule = AtRule\npostcss.Result = Result\npostcss.Input = Input\npostcss.Rule = Rule\npostcss.Root = Root\npostcss.Node = Node\n\nLazyResult.registerPostcss(postcss)\n\nmodule.exports = postcss\npostcss.default = postcss\n"],"names":["AtRule","require$$0","Comment","require$$1","Container","require$$2","CssSyntaxError","require$$3","Declaration","require$$4","Document","require$$5","fromJSON","require$$6","Input","require$$7","LazyResult","require$$8","list","require$$9","Node","require$$10","parse","require$$11","Processor","require$$12","Result","require$$13","Root","require$$14","Rule","require$$15","stringify","require$$16","Warning","require$$17","postcss","plugins","name","initializer","warningPrinted","creator","args","transformer","cache","css","processOpts","pluginOpts","defaults","postcss_1"],"mappings":"2qBAEA,IAAIA,EAASC,EAAAA,UAAA,EACTC,EAAUC,EAAAA,UAAA,EACVC,EAAYC,EAAAA,UAAA,EACZC,EAAiBC,EAAAA,UAAA,E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B,EACnBwB,EAAQ,KAAOlB,EAEfkB,EAAQ,QAAUY,GAAY,IAAI9C,EAAQ8C,CAAQ,EAClDZ,EAAQ,OAASY,GAAY,IAAIhD,EAAOgD,CAAQ,EAChDZ,EAAQ,KAAOY,GAAY,IAAIxC,EAAYwC,CAAQ,EACnDZ,EAAQ,KAAOY,GAAY,IAAIlB,EAAKkB,CAAQ,EAC5CZ,EAAQ,KAAOY,GAAY,IAAIpB,EAAKoB,CAAQ,EAC5CZ,EAAQ,SAAWY,GAAY,IAAItC,EAASsC,CAAQ,EAEpDZ,EAAQ,eAAiB9B,EACzB8B,EAAQ,YAAc5B,EACtB4B,EAAQ,UAAYhC,EACpBgC,EAAQ,UAAYZ,EACpBY,EAAQ,SAAW1B,EACnB0B,EAAQ,QAAUlC,EAClBkC,EAAQ,QAAUF,EAClBE,EAAQ,OAASpC,EACjBoC,EAAQ,OAASV,EACjBU,EAAQ,MAAQtB,EAChBsB,EAAQ,KAAON,EACfM,EAAQ,KAAOR,EACfQ,EAAQ,KAAOhB,EAEfJ,EAAW,gBAAgBoB,CAAO,EAElCa,EAAiBb,EACjBA,EAAQ,QAAUA","x_google_ignoreList":[0]}
|
package/dist/index.cjs654.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("react"),v=require("./index.cjs526.js"),I=require("./index.cjs525.js"),M=require("./index.cjs537.js"),f=require("./index.cjs263.js");function _(s){const u=s+"CollectionProvider",[E,A]=v.createContextScope(u),[N,d]=E(u,{collectionRef:{current:null},itemMap:new Map}),p=c=>{const{scope:e,children:l}=c,t=r.useRef(null),o=r.useRef(new Map).current;return f.jsxRuntimeExports.jsx(N,{scope:e,itemMap:o,collectionRef:t,children:l})};p.displayName=u;const a=s+"CollectionSlot",T=M.createSlot(a),C=r.forwardRef((c,e)=>{const{scope:l,children:t}=c,o=d(a,l),n=I.useComposedRefs(e,o.collectionRef);return f.jsxRuntimeExports.jsx(T,{ref:n,children:t})});C.displayName=a;const m=s+"CollectionItemSlot",x="data-radix-collection-item",j=M.createSlot(m),R=r.forwardRef((c,e)=>{const{scope:l,children:t,...o}=c,n=r.useRef(null),S=I.useComposedRefs(e,n),i=d(m,l);return r.useEffect(()=>(i.itemMap.set(n,{ref:n,...o}),()=>void i.itemMap.delete(n))),f.jsxRuntimeExports.jsx(j,{[x]:"",ref:S,children:t})});R.displayName=m;function y(c){const e=d(s+"CollectionConsumer",c);return r.useCallback(()=>{const t=e.collectionRef.current;if(!t)return[];const o=Array.from(t.querySelectorAll(`[${x}]`));return Array.from(e.itemMap.values()).sort((i,O)=>o.indexOf(i.ref.current)-o.indexOf(O.ref.current))},[e.collectionRef,e.itemMap])}return[{Provider:p,Slot:C,ItemSlot:R},y,A]}exports.createCollection=_;
|
|
2
2
|
//# sourceMappingURL=index.cjs654.js.map
|
package/dist/index.cjs654.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs654.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"index.cjs654.js","sources":["../node_modules/@radix-ui/react-collection/dist/index.mjs"],"sourcesContent":["\"use client\";\n\n// src/collection-legacy.tsx\nimport React from \"react\";\nimport { createContextScope } from \"@radix-ui/react-context\";\nimport { useComposedRefs } from \"@radix-ui/react-compose-refs\";\nimport { createSlot } from \"@radix-ui/react-slot\";\nimport { jsx } from \"react/jsx-runtime\";\nfunction createCollection(name) {\n const PROVIDER_NAME = name + \"CollectionProvider\";\n const [createCollectionContext, createCollectionScope] = createContextScope(PROVIDER_NAME);\n const [CollectionProviderImpl, useCollectionContext] = createCollectionContext(\n PROVIDER_NAME,\n { collectionRef: { current: null }, itemMap: /* @__PURE__ */ new Map() }\n );\n const CollectionProvider = (props) => {\n const { scope, children } = props;\n const ref = React.useRef(null);\n const itemMap = React.useRef(/* @__PURE__ */ new Map()).current;\n return /* @__PURE__ */ jsx(CollectionProviderImpl, { scope, itemMap, collectionRef: ref, children });\n };\n CollectionProvider.displayName = PROVIDER_NAME;\n const COLLECTION_SLOT_NAME = name + \"CollectionSlot\";\n const CollectionSlotImpl = createSlot(COLLECTION_SLOT_NAME);\n const CollectionSlot = React.forwardRef(\n (props, forwardedRef) => {\n const { scope, children } = props;\n const context = useCollectionContext(COLLECTION_SLOT_NAME, scope);\n const composedRefs = useComposedRefs(forwardedRef, context.collectionRef);\n return /* @__PURE__ */ jsx(CollectionSlotImpl, { ref: composedRefs, children });\n }\n );\n CollectionSlot.displayName = COLLECTION_SLOT_NAME;\n const ITEM_SLOT_NAME = name + \"CollectionItemSlot\";\n const ITEM_DATA_ATTR = \"data-radix-collection-item\";\n const CollectionItemSlotImpl = createSlot(ITEM_SLOT_NAME);\n const CollectionItemSlot = React.forwardRef(\n (props, forwardedRef) => {\n const { scope, children, ...itemData } = props;\n const ref = React.useRef(null);\n const composedRefs = useComposedRefs(forwardedRef, ref);\n const context = useCollectionContext(ITEM_SLOT_NAME, scope);\n React.useEffect(() => {\n context.itemMap.set(ref, { ref, ...itemData });\n return () => void context.itemMap.delete(ref);\n });\n return /* @__PURE__ */ jsx(CollectionItemSlotImpl, { ...{ [ITEM_DATA_ATTR]: \"\" }, ref: composedRefs, children });\n }\n );\n CollectionItemSlot.displayName = ITEM_SLOT_NAME;\n function useCollection(scope) {\n const context = useCollectionContext(name + \"CollectionConsumer\", scope);\n const getItems = React.useCallback(() => {\n const collectionNode = context.collectionRef.current;\n if (!collectionNode) return [];\n const orderedNodes = Array.from(collectionNode.querySelectorAll(`[${ITEM_DATA_ATTR}]`));\n const items = Array.from(context.itemMap.values());\n const orderedItems = items.sort(\n (a, b) => orderedNodes.indexOf(a.ref.current) - orderedNodes.indexOf(b.ref.current)\n );\n return orderedItems;\n }, [context.collectionRef, context.itemMap]);\n return getItems;\n }\n return [\n { Provider: CollectionProvider, Slot: CollectionSlot, ItemSlot: CollectionItemSlot },\n useCollection,\n createCollectionScope\n ];\n}\n\n// src/collection.tsx\nimport React2 from \"react\";\nimport { createContextScope as createContextScope2 } from \"@radix-ui/react-context\";\nimport { useComposedRefs as useComposedRefs2 } from \"@radix-ui/react-compose-refs\";\nimport { createSlot as createSlot2 } from \"@radix-ui/react-slot\";\n\n// src/ordered-dictionary.ts\nvar __instanciated = /* @__PURE__ */ new WeakMap();\nvar OrderedDict = class _OrderedDict extends Map {\n #keys;\n constructor(entries) {\n super(entries);\n this.#keys = [...super.keys()];\n __instanciated.set(this, true);\n }\n set(key, value) {\n if (__instanciated.get(this)) {\n if (this.has(key)) {\n this.#keys[this.#keys.indexOf(key)] = key;\n } else {\n this.#keys.push(key);\n }\n }\n super.set(key, value);\n return this;\n }\n insert(index, key, value) {\n const has = this.has(key);\n const length = this.#keys.length;\n const relativeIndex = toSafeInteger(index);\n let actualIndex = relativeIndex >= 0 ? relativeIndex : length + relativeIndex;\n const safeIndex = actualIndex < 0 || actualIndex >= length ? -1 : actualIndex;\n if (safeIndex === this.size || has && safeIndex === this.size - 1 || safeIndex === -1) {\n this.set(key, value);\n return this;\n }\n const size = this.size + (has ? 0 : 1);\n if (relativeIndex < 0) {\n actualIndex++;\n }\n const keys = [...this.#keys];\n let nextValue;\n let shouldSkip = false;\n for (let i = actualIndex; i < size; i++) {\n if (actualIndex === i) {\n let nextKey = keys[i];\n if (keys[i] === key) {\n nextKey = keys[i + 1];\n }\n if (has) {\n this.delete(key);\n }\n nextValue = this.get(nextKey);\n this.set(key, value);\n } else {\n if (!shouldSkip && keys[i - 1] === key) {\n shouldSkip = true;\n }\n const currentKey = keys[shouldSkip ? i : i - 1];\n const currentValue = nextValue;\n nextValue = this.get(currentKey);\n this.delete(currentKey);\n this.set(currentKey, currentValue);\n }\n }\n return this;\n }\n with(index, key, value) {\n const copy = new _OrderedDict(this);\n copy.insert(index, key, value);\n return copy;\n }\n before(key) {\n const index = this.#keys.indexOf(key) - 1;\n if (index < 0) {\n return void 0;\n }\n return this.entryAt(index);\n }\n /**\n * Sets a new key-value pair at the position before the given key.\n */\n setBefore(key, newKey, value) {\n const index = this.#keys.indexOf(key);\n if (index === -1) {\n return this;\n }\n return this.insert(index, newKey, value);\n }\n after(key) {\n let index = this.#keys.indexOf(key);\n index = index === -1 || index === this.size - 1 ? -1 : index + 1;\n if (index === -1) {\n return void 0;\n }\n return this.entryAt(index);\n }\n /**\n * Sets a new key-value pair at the position after the given key.\n */\n setAfter(key, newKey, value) {\n const index = this.#keys.indexOf(key);\n if (index === -1) {\n return this;\n }\n return this.insert(index + 1, newKey, value);\n }\n first() {\n return this.entryAt(0);\n }\n last() {\n return this.entryAt(-1);\n }\n clear() {\n this.#keys = [];\n return super.clear();\n }\n delete(key) {\n const deleted = super.delete(key);\n if (deleted) {\n this.#keys.splice(this.#keys.indexOf(key), 1);\n }\n return deleted;\n }\n deleteAt(index) {\n const key = this.keyAt(index);\n if (key !== void 0) {\n return this.delete(key);\n }\n return false;\n }\n at(index) {\n const key = at(this.#keys, index);\n if (key !== void 0) {\n return this.get(key);\n }\n }\n entryAt(index) {\n const key = at(this.#keys, index);\n if (key !== void 0) {\n return [key, this.get(key)];\n }\n }\n indexOf(key) {\n return this.#keys.indexOf(key);\n }\n keyAt(index) {\n return at(this.#keys, index);\n }\n from(key, offset) {\n const index = this.indexOf(key);\n if (index === -1) {\n return void 0;\n }\n let dest = index + offset;\n if (dest < 0) dest = 0;\n if (dest >= this.size) dest = this.size - 1;\n return this.at(dest);\n }\n keyFrom(key, offset) {\n const index = this.indexOf(key);\n if (index === -1) {\n return void 0;\n }\n let dest = index + offset;\n if (dest < 0) dest = 0;\n if (dest >= this.size) dest = this.size - 1;\n return this.keyAt(dest);\n }\n find(predicate, thisArg) {\n let index = 0;\n for (const entry of this) {\n if (Reflect.apply(predicate, thisArg, [entry, index, this])) {\n return entry;\n }\n index++;\n }\n return void 0;\n }\n findIndex(predicate, thisArg) {\n let index = 0;\n for (const entry of this) {\n if (Reflect.apply(predicate, thisArg, [entry, index, this])) {\n return index;\n }\n index++;\n }\n return -1;\n }\n filter(predicate, thisArg) {\n const entries = [];\n let index = 0;\n for (const entry of this) {\n if (Reflect.apply(predicate, thisArg, [entry, index, this])) {\n entries.push(entry);\n }\n index++;\n }\n return new _OrderedDict(entries);\n }\n map(callbackfn, thisArg) {\n const entries = [];\n let index = 0;\n for (const entry of this) {\n entries.push([entry[0], Reflect.apply(callbackfn, thisArg, [entry, index, this])]);\n index++;\n }\n return new _OrderedDict(entries);\n }\n reduce(...args) {\n const [callbackfn, initialValue] = args;\n let index = 0;\n let accumulator = initialValue ?? this.at(0);\n for (const entry of this) {\n if (index === 0 && args.length === 1) {\n accumulator = entry;\n } else {\n accumulator = Reflect.apply(callbackfn, this, [accumulator, entry, index, this]);\n }\n index++;\n }\n return accumulator;\n }\n reduceRight(...args) {\n const [callbackfn, initialValue] = args;\n let accumulator = initialValue ?? this.at(-1);\n for (let index = this.size - 1; index >= 0; index--) {\n const entry = this.at(index);\n if (index === this.size - 1 && args.length === 1) {\n accumulator = entry;\n } else {\n accumulator = Reflect.apply(callbackfn, this, [accumulator, entry, index, this]);\n }\n }\n return accumulator;\n }\n toSorted(compareFn) {\n const entries = [...this.entries()].sort(compareFn);\n return new _OrderedDict(entries);\n }\n toReversed() {\n const reversed = new _OrderedDict();\n for (let index = this.size - 1; index >= 0; index--) {\n const key = this.keyAt(index);\n const element = this.get(key);\n reversed.set(key, element);\n }\n return reversed;\n }\n toSpliced(...args) {\n const entries = [...this.entries()];\n entries.splice(...args);\n return new _OrderedDict(entries);\n }\n slice(start, end) {\n const result = new _OrderedDict();\n let stop = this.size - 1;\n if (start === void 0) {\n return result;\n }\n if (start < 0) {\n start = start + this.size;\n }\n if (end !== void 0 && end > 0) {\n stop = end - 1;\n }\n for (let index = start; index <= stop; index++) {\n const key = this.keyAt(index);\n const element = this.get(key);\n result.set(key, element);\n }\n return result;\n }\n every(predicate, thisArg) {\n let index = 0;\n for (const entry of this) {\n if (!Reflect.apply(predicate, thisArg, [entry, index, this])) {\n return false;\n }\n index++;\n }\n return true;\n }\n some(predicate, thisArg) {\n let index = 0;\n for (const entry of this) {\n if (Reflect.apply(predicate, thisArg, [entry, index, this])) {\n return true;\n }\n index++;\n }\n return false;\n }\n};\nfunction at(array, index) {\n if (\"at\" in Array.prototype) {\n return Array.prototype.at.call(array, index);\n }\n const actualIndex = toSafeIndex(array, index);\n return actualIndex === -1 ? void 0 : array[actualIndex];\n}\nfunction toSafeIndex(array, index) {\n const length = array.length;\n const relativeIndex = toSafeInteger(index);\n const actualIndex = relativeIndex >= 0 ? relativeIndex : length + relativeIndex;\n return actualIndex < 0 || actualIndex >= length ? -1 : actualIndex;\n}\nfunction toSafeInteger(number) {\n return number !== number || number === 0 ? 0 : Math.trunc(number);\n}\n\n// src/collection.tsx\nimport { jsx as jsx2 } from \"react/jsx-runtime\";\nfunction createCollection2(name) {\n const PROVIDER_NAME = name + \"CollectionProvider\";\n const [createCollectionContext, createCollectionScope] = createContextScope2(PROVIDER_NAME);\n const [CollectionContextProvider, useCollectionContext] = createCollectionContext(\n PROVIDER_NAME,\n {\n collectionElement: null,\n collectionRef: { current: null },\n collectionRefObject: { current: null },\n itemMap: new OrderedDict(),\n setItemMap: () => void 0\n }\n );\n const CollectionProvider = ({ state, ...props }) => {\n return state ? /* @__PURE__ */ jsx2(CollectionProviderImpl, { ...props, state }) : /* @__PURE__ */ jsx2(CollectionInit, { ...props });\n };\n CollectionProvider.displayName = PROVIDER_NAME;\n const CollectionInit = (props) => {\n const state = useInitCollection();\n return /* @__PURE__ */ jsx2(CollectionProviderImpl, { ...props, state });\n };\n CollectionInit.displayName = PROVIDER_NAME + \"Init\";\n const CollectionProviderImpl = (props) => {\n const { scope, children, state } = props;\n const ref = React2.useRef(null);\n const [collectionElement, setCollectionElement] = React2.useState(\n null\n );\n const composeRefs = useComposedRefs2(ref, setCollectionElement);\n const [itemMap, setItemMap] = state;\n React2.useEffect(() => {\n if (!collectionElement) return;\n const observer = getChildListObserver(() => {\n });\n observer.observe(collectionElement, {\n childList: true,\n subtree: true\n });\n return () => {\n observer.disconnect();\n };\n }, [collectionElement]);\n return /* @__PURE__ */ jsx2(\n CollectionContextProvider,\n {\n scope,\n itemMap,\n setItemMap,\n collectionRef: composeRefs,\n collectionRefObject: ref,\n collectionElement,\n children\n }\n );\n };\n CollectionProviderImpl.displayName = PROVIDER_NAME + \"Impl\";\n const COLLECTION_SLOT_NAME = name + \"CollectionSlot\";\n const CollectionSlotImpl = createSlot2(COLLECTION_SLOT_NAME);\n const CollectionSlot = React2.forwardRef(\n (props, forwardedRef) => {\n const { scope, children } = props;\n const context = useCollectionContext(COLLECTION_SLOT_NAME, scope);\n const composedRefs = useComposedRefs2(forwardedRef, context.collectionRef);\n return /* @__PURE__ */ jsx2(CollectionSlotImpl, { ref: composedRefs, children });\n }\n );\n CollectionSlot.displayName = COLLECTION_SLOT_NAME;\n const ITEM_SLOT_NAME = name + \"CollectionItemSlot\";\n const ITEM_DATA_ATTR = \"data-radix-collection-item\";\n const CollectionItemSlotImpl = createSlot2(ITEM_SLOT_NAME);\n const CollectionItemSlot = React2.forwardRef(\n (props, forwardedRef) => {\n const { scope, children, ...itemData } = props;\n const ref = React2.useRef(null);\n const [element, setElement] = React2.useState(null);\n const composedRefs = useComposedRefs2(forwardedRef, ref, setElement);\n const context = useCollectionContext(ITEM_SLOT_NAME, scope);\n const { setItemMap } = context;\n const itemDataRef = React2.useRef(itemData);\n if (!shallowEqual(itemDataRef.current, itemData)) {\n itemDataRef.current = itemData;\n }\n const memoizedItemData = itemDataRef.current;\n React2.useEffect(() => {\n const itemData2 = memoizedItemData;\n setItemMap((map) => {\n if (!element) {\n return map;\n }\n if (!map.has(element)) {\n map.set(element, { ...itemData2, element });\n return map.toSorted(sortByDocumentPosition);\n }\n return map.set(element, { ...itemData2, element }).toSorted(sortByDocumentPosition);\n });\n return () => {\n setItemMap((map) => {\n if (!element || !map.has(element)) {\n return map;\n }\n map.delete(element);\n return new OrderedDict(map);\n });\n };\n }, [element, memoizedItemData, setItemMap]);\n return /* @__PURE__ */ jsx2(CollectionItemSlotImpl, { ...{ [ITEM_DATA_ATTR]: \"\" }, ref: composedRefs, children });\n }\n );\n CollectionItemSlot.displayName = ITEM_SLOT_NAME;\n function useInitCollection() {\n return React2.useState(new OrderedDict());\n }\n function useCollection(scope) {\n const { itemMap } = useCollectionContext(name + \"CollectionConsumer\", scope);\n return itemMap;\n }\n const functions = {\n createCollectionScope,\n useCollection,\n useInitCollection\n };\n return [\n { Provider: CollectionProvider, Slot: CollectionSlot, ItemSlot: CollectionItemSlot },\n functions\n ];\n}\nfunction shallowEqual(a, b) {\n if (a === b) return true;\n if (typeof a !== \"object\" || typeof b !== \"object\") return false;\n if (a == null || b == null) return false;\n const keysA = Object.keys(a);\n const keysB = Object.keys(b);\n if (keysA.length !== keysB.length) return false;\n for (const key of keysA) {\n if (!Object.prototype.hasOwnProperty.call(b, key)) return false;\n if (a[key] !== b[key]) return false;\n }\n return true;\n}\nfunction isElementPreceding(a, b) {\n return !!(b.compareDocumentPosition(a) & Node.DOCUMENT_POSITION_PRECEDING);\n}\nfunction sortByDocumentPosition(a, b) {\n return !a[1].element || !b[1].element ? 0 : isElementPreceding(a[1].element, b[1].element) ? -1 : 1;\n}\nfunction getChildListObserver(callback) {\n const observer = new MutationObserver((mutationsList) => {\n for (const mutation of mutationsList) {\n if (mutation.type === \"childList\") {\n callback();\n return;\n }\n }\n });\n return observer;\n}\nexport {\n createCollection,\n createCollection2 as unstable_createCollection\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["createCollection","name","PROVIDER_NAME","createCollectionContext","createCollectionScope","createContextScope","CollectionProviderImpl","useCollectionContext","CollectionProvider","props","scope","children","ref","React","itemMap","jsx","COLLECTION_SLOT_NAME","CollectionSlotImpl","createSlot","CollectionSlot","forwardedRef","context","composedRefs","useComposedRefs","ITEM_SLOT_NAME","ITEM_DATA_ATTR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AAG,EAChDS,EAAUd,EAAqBiB,EAAgBd,CAAK,EAC1D,OAAAG,EAAM,UAAU,KACdQ,EAAQ,QAAQ,IAAIT,EAAK,CAAE,IAAAA,EAAK,GAAGgB,EAAU,EACtC,IAAM,KAAKP,EAAQ,QAAQ,OAAOT,CAAG,EAC7C,EACsBG,wBAAIW,EAAwB,CAAO,CAACD,CAAc,EAAG,GAAM,IAAKH,EAAc,SAAAX,EAAU,CACjH,CACJ,EACEgB,EAAmB,YAAcH,EACjC,SAASK,EAAcnB,EAAO,CAC5B,MAAMW,EAAUd,EAAqBN,EAAO,qBAAsBS,CAAK,EAWvE,OAViBG,EAAM,YAAY,IAAM,CACvC,MAAMiB,EAAiBT,EAAQ,cAAc,QAC7C,GAAI,CAACS,EAAgB,MAAO,CAAA,EAC5B,MAAMC,EAAe,MAAM,KAAKD,EAAe,iBAAiB,IAAIL,CAAc,GAAG,CAAC,EAKtF,OAJc,MAAM,KAAKJ,EAAQ,QAAQ,QAAQ,EACtB,KACzB,CAACW,EAAGC,IAAMF,EAAa,QAAQC,EAAE,IAAI,OAAO,EAAID,EAAa,QAAQE,EAAE,IAAI,OAAO,CAC1F,CAEI,EAAG,CAACZ,EAAQ,cAAeA,EAAQ,OAAO,CAAC,CAE7C,CACA,MAAO,CACL,CAAE,SAAUb,EAAoB,KAAMW,EAAgB,SAAUQ,CAAkB,EAClFE,EACAzB,CACJ,CACA","x_google_ignoreList":[0]}
|
package/dist/index.cjs655.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var t={};exports.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("react"),a=require("./index.cjs263.js");function s(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const o=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,o.get?o:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const n=s(u);var i=n.createContext(void 0),c=e=>{const{dir:t,children:r}=e;return a.jsxRuntimeExports.jsx(i.Provider,{value:t,children:r})};function l(e){const t=n.useContext(i);return e||t||"ltr"}var d=c;exports.DirectionProvider=c;exports.Provider=d;exports.useDirection=l;
|
|
2
2
|
//# sourceMappingURL=index.cjs655.js.map
|
package/dist/index.cjs655.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs655.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"index.cjs655.js","sources":["../node_modules/@radix-ui/react-direction/dist/index.mjs"],"sourcesContent":["// packages/react/direction/src/direction.tsx\nimport * as React from \"react\";\nimport { jsx } from \"react/jsx-runtime\";\nvar DirectionContext = React.createContext(void 0);\nvar DirectionProvider = (props) => {\n const { dir, children } = props;\n return /* @__PURE__ */ jsx(DirectionContext.Provider, { value: dir, children });\n};\nfunction useDirection(localDir) {\n const globalDir = React.useContext(DirectionContext);\n return localDir || globalDir || \"ltr\";\n}\nvar Provider = DirectionProvider;\nexport {\n DirectionProvider,\n Provider,\n useDirection\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["DirectionContext","React","DirectionProvider","props","dir","children","jsx","useDirection","localDir","globalDir","Provider"],"mappings":"kaAGA,IAAIA,EAAmBC,EAAM,cAAc,MAAM,EAC7CC,EAAqBC,GAAU,CACjC,KAAM,CAAE,IAAAC,EAAK,SAAAC,CAAQ,EAAKF,EAC1B,OAAuBG,EAAAA,kBAAAA,IAAIN,EAAiB,SAAU,CAAE,MAAOI,EAAK,SAAAC,EAAU,CAChF,EACA,SAASE,EAAaC,EAAU,CAC9B,MAAMC,EAAYR,EAAM,WAAWD,CAAgB,EACnD,OAAOQ,GAAYC,GAAa,KAClC,CACG,IAACC,EAAWR","x_google_ignoreList":[0]}
|
package/dist/index.cjs656.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e={};
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const Pe=require("react"),l=require("./index.cjs687.js"),ye=require("./index.cjs688.js"),Z=require("./index.cjs525.js"),Ae=require("./index.cjs526.js"),G=require("./index.cjs533.js"),ve=require("./index.cjs604.js"),L=require("./index.cjs603.js"),Ce=require("./index.cjs542.js"),u=require("./index.cjs263.js"),Re=require("./index.cjs689.js");function be(e){const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(o,t,r.get?r:{enumerable:!0,get:()=>e[t]})}}return o.default=e,Object.freeze(o)}const p=be(Pe);var _="Popper",[J,Oe]=Ae.createContextScope(_),[Se,K]=J(_),$=e=>{const{__scopePopper:o,children:t}=e,[r,s]=p.useState(null);return u.jsxRuntimeExports.jsx(Se,{scope:o,anchor:r,onAnchorChange:s,children:t})};$.displayName=_;var Q="PopperAnchor",N=p.forwardRef((e,o)=>{const{__scopePopper:t,virtualRef:r,...s}=e,n=K(Q,t),i=p.useRef(null),w=Z.useComposedRefs(o,i),a=p.useRef(null);return p.useEffect(()=>{const c=a.current;a.current=(r==null?void 0:r.current)||i.current,c!==a.current&&n.onAnchorChange(a.current)}),r?null:u.jsxRuntimeExports.jsx(G.Primitive.div,{...s,ref:w})});N.displayName=Q;var q="PopperContent",[je,Ee]=J(q),H=p.forwardRef((e,o)=>{var T,X,k,F,z,B;const{__scopePopper:t,side:r="bottom",sideOffset:s=0,align:n="center",alignOffset:i=0,arrowPadding:w=0,avoidCollisions:a=!0,collisionBoundary:c=[],collisionPadding:P=0,sticky:x="partial",hideWhenDetached:A=!1,updatePositionStrategy:v="optimized",onPlaced:f,...d}=e,C=K(q,t),[h,R]=p.useState(null),te=Z.useComposedRefs(o,y=>R(y)),[E,re]=p.useState(null),m=Ce.useSize(E),oe=(m==null?void 0:m.width)??0,M=(m==null?void 0:m.height)??0,ne=r+(n!=="center"?"-"+n:""),ie=typeof P=="number"?P:{top:0,right:0,bottom:0,left:0,...P},W=Array.isArray(c)?c:[c],ae=W.length>0,b={padding:ie,boundary:W.filter($e),altBoundary:ae},{refs:se,floatingStyles:I,placement:ce,isPositioned:O,middlewareData:g}=l.useFloating({strategy:"fixed",placement:ne,whileElementsMounted:(...y)=>Re.autoUpdate(...y,{animationFrame:v==="always"}),elements:{reference:C.anchor},middleware:[l.offset({mainAxis:s+M,alignmentAxis:i}),a&&l.shift({mainAxis:!0,crossAxis:!1,limiter:x==="partial"?l.limitShift():void 0,...b}),a&&l.flip({...b}),l.size({...b,apply:({elements:y,rects:U,availableWidth:he,availableHeight:me})=>{const{width:ge,height:we}=U.reference,j=y.floating.style;j.setProperty("--radix-popper-available-width",`${he}px`),j.setProperty("--radix-popper-available-height",`${me}px`),j.setProperty("--radix-popper-anchor-width",`${ge}px`),j.setProperty("--radix-popper-anchor-height",`${we}px`)}}),E&&l.arrow({element:E,padding:w}),Ne({arrowWidth:oe,arrowHeight:M}),A&&l.hide({strategy:"referenceHidden",...b})]}),[Y,pe]=ee(ce),S=ve.useCallbackRef(f);L.useLayoutEffect(()=>{O&&(S==null||S())},[O,S]);const de=(T=g.arrow)==null?void 0:T.x,le=(X=g.arrow)==null?void 0:X.y,fe=((k=g.arrow)==null?void 0:k.centerOffset)!==0,[ue,xe]=p.useState();return L.useLayoutEffect(()=>{h&&xe(window.getComputedStyle(h).zIndex)},[h]),u.jsxRuntimeExports.jsx("div",{ref:se.setFloating,"data-radix-popper-content-wrapper":"",style:{...I,transform:O?I.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:ue,"--radix-popper-transform-origin":[(F=g.transformOrigin)==null?void 0:F.x,(z=g.transformOrigin)==null?void 0:z.y].join(" "),...((B=g.hide)==null?void 0:B.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:u.jsxRuntimeExports.jsx(je,{scope:t,placedSide:Y,onArrowChange:re,arrowX:de,arrowY:le,shouldHideArrow:fe,children:u.jsxRuntimeExports.jsx(G.Primitive.div,{"data-side":Y,"data-align":pe,...d,ref:te,style:{...d.style,animation:O?void 0:"none"}})})})});H.displayName=q;var V="PopperArrow",_e={top:"bottom",right:"left",bottom:"top",left:"right"},D=p.forwardRef(function(o,t){const{__scopePopper:r,...s}=o,n=Ee(V,r),i=_e[n.placedSide];return u.jsxRuntimeExports.jsx("span",{ref:n.onArrowChange,style:{position:"absolute",left:n.arrowX,top:n.arrowY,[i]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[n.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[n.placedSide],visibility:n.shouldHideArrow?"hidden":void 0},children:u.jsxRuntimeExports.jsx(ye.Root,{...s,ref:t,style:{...s.style,display:"block"}})})});D.displayName=V;function $e(e){return e!==null}var Ne=e=>({name:"transformOrigin",options:e,fn(o){var C,h,R;const{placement:t,rects:r,middlewareData:s}=o,i=((C=s.arrow)==null?void 0:C.centerOffset)!==0,w=i?0:e.arrowWidth,a=i?0:e.arrowHeight,[c,P]=ee(t),x={start:"0%",center:"50%",end:"100%"}[P],A=(((h=s.arrow)==null?void 0:h.x)??0)+w/2,v=(((R=s.arrow)==null?void 0:R.y)??0)+a/2;let f="",d="";return c==="bottom"?(f=i?x:`${A}px`,d=`${-a}px`):c==="top"?(f=i?x:`${A}px`,d=`${r.floating.height+a}px`):c==="right"?(f=`${-a}px`,d=i?x:`${v}px`):c==="left"&&(f=`${r.floating.width+a}px`,d=i?x:`${v}px`),{data:{x:f,y:d}}}});function ee(e){const[o,t="center"]=e.split("-");return[o,t]}var qe=$,He=N,De=H,Me=D;exports.Anchor=He;exports.Arrow=Me;exports.Content=De;exports.Popper=$;exports.PopperAnchor=N;exports.PopperArrow=D;exports.PopperContent=H;exports.Root=qe;exports.createPopperScope=Oe;
|
|
2
2
|
//# sourceMappingURL=index.cjs656.js.map
|
package/dist/index.cjs656.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs656.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"index.cjs656.js","sources":["../node_modules/@radix-ui/react-popper/dist/index.mjs"],"sourcesContent":["\"use client\";\n\n// src/popper.tsx\nimport * as React from \"react\";\nimport {\n useFloating,\n autoUpdate,\n offset,\n shift,\n limitShift,\n hide,\n arrow as floatingUIarrow,\n flip,\n size\n} from \"@floating-ui/react-dom\";\nimport * as ArrowPrimitive from \"@radix-ui/react-arrow\";\nimport { useComposedRefs } from \"@radix-ui/react-compose-refs\";\nimport { createContextScope } from \"@radix-ui/react-context\";\nimport { Primitive } from \"@radix-ui/react-primitive\";\nimport { useCallbackRef } from \"@radix-ui/react-use-callback-ref\";\nimport { useLayoutEffect } from \"@radix-ui/react-use-layout-effect\";\nimport { useSize } from \"@radix-ui/react-use-size\";\nimport { jsx } from \"react/jsx-runtime\";\nvar SIDE_OPTIONS = [\"top\", \"right\", \"bottom\", \"left\"];\nvar ALIGN_OPTIONS = [\"start\", \"center\", \"end\"];\nvar POPPER_NAME = \"Popper\";\nvar [createPopperContext, createPopperScope] = createContextScope(POPPER_NAME);\nvar [PopperProvider, usePopperContext] = createPopperContext(POPPER_NAME);\nvar Popper = (props) => {\n const { __scopePopper, children } = props;\n const [anchor, setAnchor] = React.useState(null);\n return /* @__PURE__ */ jsx(PopperProvider, { scope: __scopePopper, anchor, onAnchorChange: setAnchor, children });\n};\nPopper.displayName = POPPER_NAME;\nvar ANCHOR_NAME = \"PopperAnchor\";\nvar PopperAnchor = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopePopper, virtualRef, ...anchorProps } = props;\n const context = usePopperContext(ANCHOR_NAME, __scopePopper);\n const ref = React.useRef(null);\n const composedRefs = useComposedRefs(forwardedRef, ref);\n const anchorRef = React.useRef(null);\n React.useEffect(() => {\n const previousAnchor = anchorRef.current;\n anchorRef.current = virtualRef?.current || ref.current;\n if (previousAnchor !== anchorRef.current) {\n context.onAnchorChange(anchorRef.current);\n }\n });\n return virtualRef ? null : /* @__PURE__ */ jsx(Primitive.div, { ...anchorProps, ref: composedRefs });\n }\n);\nPopperAnchor.displayName = ANCHOR_NAME;\nvar CONTENT_NAME = \"PopperContent\";\nvar [PopperContentProvider, useContentContext] = createPopperContext(CONTENT_NAME);\nvar PopperContent = React.forwardRef(\n (props, forwardedRef) => {\n const {\n __scopePopper,\n side = \"bottom\",\n sideOffset = 0,\n align = \"center\",\n alignOffset = 0,\n arrowPadding = 0,\n avoidCollisions = true,\n collisionBoundary = [],\n collisionPadding: collisionPaddingProp = 0,\n sticky = \"partial\",\n hideWhenDetached = false,\n updatePositionStrategy = \"optimized\",\n onPlaced,\n ...contentProps\n } = props;\n const context = usePopperContext(CONTENT_NAME, __scopePopper);\n const [content, setContent] = React.useState(null);\n const composedRefs = useComposedRefs(forwardedRef, (node) => setContent(node));\n const [arrow, setArrow] = React.useState(null);\n const arrowSize = useSize(arrow);\n const arrowWidth = arrowSize?.width ?? 0;\n const arrowHeight = arrowSize?.height ?? 0;\n const desiredPlacement = side + (align !== \"center\" ? \"-\" + align : \"\");\n const collisionPadding = typeof collisionPaddingProp === \"number\" ? collisionPaddingProp : { top: 0, right: 0, bottom: 0, left: 0, ...collisionPaddingProp };\n const boundary = Array.isArray(collisionBoundary) ? collisionBoundary : [collisionBoundary];\n const hasExplicitBoundaries = boundary.length > 0;\n const detectOverflowOptions = {\n padding: collisionPadding,\n boundary: boundary.filter(isNotNull),\n // with `strategy: 'fixed'`, this is the only way to get it to respect boundaries\n altBoundary: hasExplicitBoundaries\n };\n const { refs, floatingStyles, placement, isPositioned, middlewareData } = useFloating({\n // default to `fixed` strategy so users don't have to pick and we also avoid focus scroll issues\n strategy: \"fixed\",\n placement: desiredPlacement,\n whileElementsMounted: (...args) => {\n const cleanup = autoUpdate(...args, {\n animationFrame: updatePositionStrategy === \"always\"\n });\n return cleanup;\n },\n elements: {\n reference: context.anchor\n },\n middleware: [\n offset({ mainAxis: sideOffset + arrowHeight, alignmentAxis: alignOffset }),\n avoidCollisions && shift({\n mainAxis: true,\n crossAxis: false,\n limiter: sticky === \"partial\" ? limitShift() : void 0,\n ...detectOverflowOptions\n }),\n avoidCollisions && flip({ ...detectOverflowOptions }),\n size({\n ...detectOverflowOptions,\n apply: ({ elements, rects, availableWidth, availableHeight }) => {\n const { width: anchorWidth, height: anchorHeight } = rects.reference;\n const contentStyle = elements.floating.style;\n contentStyle.setProperty(\"--radix-popper-available-width\", `${availableWidth}px`);\n contentStyle.setProperty(\"--radix-popper-available-height\", `${availableHeight}px`);\n contentStyle.setProperty(\"--radix-popper-anchor-width\", `${anchorWidth}px`);\n contentStyle.setProperty(\"--radix-popper-anchor-height\", `${anchorHeight}px`);\n }\n }),\n arrow && floatingUIarrow({ element: arrow, padding: arrowPadding }),\n transformOrigin({ arrowWidth, arrowHeight }),\n hideWhenDetached && hide({ strategy: \"referenceHidden\", ...detectOverflowOptions })\n ]\n });\n const [placedSide, placedAlign] = getSideAndAlignFromPlacement(placement);\n const handlePlaced = useCallbackRef(onPlaced);\n useLayoutEffect(() => {\n if (isPositioned) {\n handlePlaced?.();\n }\n }, [isPositioned, handlePlaced]);\n const arrowX = middlewareData.arrow?.x;\n const arrowY = middlewareData.arrow?.y;\n const cannotCenterArrow = middlewareData.arrow?.centerOffset !== 0;\n const [contentZIndex, setContentZIndex] = React.useState();\n useLayoutEffect(() => {\n if (content) setContentZIndex(window.getComputedStyle(content).zIndex);\n }, [content]);\n return /* @__PURE__ */ jsx(\n \"div\",\n {\n ref: refs.setFloating,\n \"data-radix-popper-content-wrapper\": \"\",\n style: {\n ...floatingStyles,\n transform: isPositioned ? floatingStyles.transform : \"translate(0, -200%)\",\n // keep off the page when measuring\n minWidth: \"max-content\",\n zIndex: contentZIndex,\n [\"--radix-popper-transform-origin\"]: [\n middlewareData.transformOrigin?.x,\n middlewareData.transformOrigin?.y\n ].join(\" \"),\n // hide the content if using the hide middleware and should be hidden\n // set visibility to hidden and disable pointer events so the UI behaves\n // as if the PopperContent isn't there at all\n ...middlewareData.hide?.referenceHidden && {\n visibility: \"hidden\",\n pointerEvents: \"none\"\n }\n },\n dir: props.dir,\n children: /* @__PURE__ */ jsx(\n PopperContentProvider,\n {\n scope: __scopePopper,\n placedSide,\n onArrowChange: setArrow,\n arrowX,\n arrowY,\n shouldHideArrow: cannotCenterArrow,\n children: /* @__PURE__ */ jsx(\n Primitive.div,\n {\n \"data-side\": placedSide,\n \"data-align\": placedAlign,\n ...contentProps,\n ref: composedRefs,\n style: {\n ...contentProps.style,\n // if the PopperContent hasn't been placed yet (not all measurements done)\n // we prevent animations so that users's animation don't kick in too early referring wrong sides\n animation: !isPositioned ? \"none\" : void 0\n }\n }\n )\n }\n )\n }\n );\n }\n);\nPopperContent.displayName = CONTENT_NAME;\nvar ARROW_NAME = \"PopperArrow\";\nvar OPPOSITE_SIDE = {\n top: \"bottom\",\n right: \"left\",\n bottom: \"top\",\n left: \"right\"\n};\nvar PopperArrow = React.forwardRef(function PopperArrow2(props, forwardedRef) {\n const { __scopePopper, ...arrowProps } = props;\n const contentContext = useContentContext(ARROW_NAME, __scopePopper);\n const baseSide = OPPOSITE_SIDE[contentContext.placedSide];\n return (\n // we have to use an extra wrapper because `ResizeObserver` (used by `useSize`)\n // doesn't report size as we'd expect on SVG elements.\n // it reports their bounding box which is effectively the largest path inside the SVG.\n /* @__PURE__ */ jsx(\n \"span\",\n {\n ref: contentContext.onArrowChange,\n style: {\n position: \"absolute\",\n left: contentContext.arrowX,\n top: contentContext.arrowY,\n [baseSide]: 0,\n transformOrigin: {\n top: \"\",\n right: \"0 0\",\n bottom: \"center 0\",\n left: \"100% 0\"\n }[contentContext.placedSide],\n transform: {\n top: \"translateY(100%)\",\n right: \"translateY(50%) rotate(90deg) translateX(-50%)\",\n bottom: `rotate(180deg)`,\n left: \"translateY(50%) rotate(-90deg) translateX(50%)\"\n }[contentContext.placedSide],\n visibility: contentContext.shouldHideArrow ? \"hidden\" : void 0\n },\n children: /* @__PURE__ */ jsx(\n ArrowPrimitive.Root,\n {\n ...arrowProps,\n ref: forwardedRef,\n style: {\n ...arrowProps.style,\n // ensures the element can be measured correctly (mostly for if SVG)\n display: \"block\"\n }\n }\n )\n }\n )\n );\n});\nPopperArrow.displayName = ARROW_NAME;\nfunction isNotNull(value) {\n return value !== null;\n}\nvar transformOrigin = (options) => ({\n name: \"transformOrigin\",\n options,\n fn(data) {\n const { placement, rects, middlewareData } = data;\n const cannotCenterArrow = middlewareData.arrow?.centerOffset !== 0;\n const isArrowHidden = cannotCenterArrow;\n const arrowWidth = isArrowHidden ? 0 : options.arrowWidth;\n const arrowHeight = isArrowHidden ? 0 : options.arrowHeight;\n const [placedSide, placedAlign] = getSideAndAlignFromPlacement(placement);\n const noArrowAlign = { start: \"0%\", center: \"50%\", end: \"100%\" }[placedAlign];\n const arrowXCenter = (middlewareData.arrow?.x ?? 0) + arrowWidth / 2;\n const arrowYCenter = (middlewareData.arrow?.y ?? 0) + arrowHeight / 2;\n let x = \"\";\n let y = \"\";\n if (placedSide === \"bottom\") {\n x = isArrowHidden ? noArrowAlign : `${arrowXCenter}px`;\n y = `${-arrowHeight}px`;\n } else if (placedSide === \"top\") {\n x = isArrowHidden ? noArrowAlign : `${arrowXCenter}px`;\n y = `${rects.floating.height + arrowHeight}px`;\n } else if (placedSide === \"right\") {\n x = `${-arrowHeight}px`;\n y = isArrowHidden ? noArrowAlign : `${arrowYCenter}px`;\n } else if (placedSide === \"left\") {\n x = `${rects.floating.width + arrowHeight}px`;\n y = isArrowHidden ? noArrowAlign : `${arrowYCenter}px`;\n }\n return { data: { x, y } };\n }\n});\nfunction getSideAndAlignFromPlacement(placement) {\n const [side, align = \"center\"] = placement.split(\"-\");\n return [side, align];\n}\nvar Root2 = Popper;\nvar Anchor = PopperAnchor;\nvar Content = PopperContent;\nvar Arrow = PopperArrow;\nexport {\n ALIGN_OPTIONS,\n Anchor,\n Arrow,\n Content,\n Popper,\n PopperAnchor,\n PopperArrow,\n PopperContent,\n Root2 as Root,\n SIDE_OPTIONS,\n createPopperScope\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["POPPER_NAME","createPopperContext","createPopperScope","createContextScope","PopperProvider","usePopperContext","Popper","props","__scopePopper","children","anchor","setAnchor","React","jsx","ANCHOR_NAME","PopperAnchor","forwardedRef","virtualRef","anchorProps","context","ref","composedRefs","useComposedRefs","anchorRef","previousAnchor","Primitive","CONTENT_NAME","PopperContentProvider","useContentContext","PopperContent","side","sideOffset","align","alignOffset","arrowPadding","avoidCollisions","collisionBoundary","collisionPaddingProp","sticky","hideWhenDetached","updatePositionStrategy","onPlaced","contentProps","content","setContent","node","arrow","setArrow","arrowSize","useSize","arrowWidth","arrowHeight","desiredPlacement","collisionPadding","boundary","hasExplicitBoundaries","detectOverflowOptions","isNotNull","refs","floatingStyles","placement","isPositioned","middlewareData","useFloating","args","autoUpdate","offset","shift","limitShift","flip","size","elements","rects","availableWidth","availableHeight","anchorWidth","anchorHeight","contentStyle","floatingUIarrow","transformOrigin","hide","placedSide","placedAlign","getSideAndAlignFromPlacement","handlePlaced","useCallbackRef","useLayoutEffect","arrowX","_a","arrowY","_b","cannotCenterArrow","_c","contentZIndex","setContentZIndex","_d","_e","_f","ARROW_NAME","OPPOSITE_SIDE","PopperArrow","arrowProps","contentContext","baseSide","ArrowPrimitive.Root","value","options","data","isArrowHidden","noArrowAlign","arrowXCenter","arrowYCenter","x","y","Root2","Anchor","Content","Arrow"],"mappings":"ksBAyBA,IAAIA,EAAc,SACd,CAACC,EAAqBC,EAAiB,EAAIC,GAAAA,mBAAmBH,CAAW,EACzE,CAACI,GAAgBC,CAAgB,EAAIJ,EAAoBD,CAAW,EACpEM,EAAUC,GAAU,CACtB,KAAM,CAAE,cAAAC,EAAe,SAAAC,CAAQ,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/C,KAAM,CAAC9B,EAAME,EAAQ,QAAQ,EAAI4B,EAAU,MAAM,GAAG,EACpD,MAAO,CAAC9B,EAAME,CAAK,CACrB,CACG,IAACkF,GAAQ5G,EACR6G,GAASpG,EACTqG,GAAUvF,EACVwF,GAAQjB","x_google_ignoreList":[0]}
|
package/dist/index.cjs657.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e={};
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const H=require("react"),m=require("./index.cjs524.js"),B=require("./index.cjs654.js"),Y=require("./index.cjs525.js"),z=require("./index.cjs526.js"),V=require("./index.cjs527.js"),G=require("./index.cjs533.js"),J=require("./index.cjs604.js"),Q=require("./index.cjs528.js"),W=require("./index.cjs655.js"),f=require("./index.cjs263.js");function X(e){const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const t=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(o,r,t.get?t:{enumerable:!0,get:()=>e[r]})}}return o.default=e,Object.freeze(o)}const c=X(H);var h="rovingFocusGroup.onEntryFocus",Z={bubbles:!1,cancelable:!0},b="RovingFocusGroup",[j,N,ee]=B.createCollection(b),[te,oe]=z.createContextScope(b,[ee]),[re,ne]=te(b),A=c.forwardRef((e,o)=>f.jsxRuntimeExports.jsx(j.Provider,{scope:e.__scopeRovingFocusGroup,children:f.jsxRuntimeExports.jsx(j.Slot,{scope:e.__scopeRovingFocusGroup,children:f.jsxRuntimeExports.jsx(se,{...e,ref:o})})}));A.displayName=b;var se=c.forwardRef((e,o)=>{const{__scopeRovingFocusGroup:r,orientation:t,loop:E=!1,dir:S,currentTabStopId:v,defaultCurrentTabStopId:T,onCurrentTabStopIdChange:w,onEntryFocus:p,preventScrollOnEntryFocus:u=!1,...g}=e,R=c.useRef(null),I=Y.useComposedRefs(o,R),x=W.useDirection(S),[F,n]=Q.useControllableState({prop:v,defaultProp:T??null,onChange:w,caller:b}),[a,C]=c.useState(!1),i=J.useCallbackRef(p),l=N(r),y=c.useRef(!1),[K,P]=c.useState(0);return c.useEffect(()=>{const s=R.current;if(s)return s.addEventListener(h,i),()=>s.removeEventListener(h,i)},[i]),f.jsxRuntimeExports.jsx(re,{scope:r,orientation:t,dir:x,loop:E,currentTabStopId:F,onItemFocus:c.useCallback(s=>n(s),[n]),onItemShiftTab:c.useCallback(()=>C(!0),[]),onFocusableItemAdd:c.useCallback(()=>P(s=>s+1),[]),onFocusableItemRemove:c.useCallback(()=>P(s=>s-1),[]),children:f.jsxRuntimeExports.jsx(G.Primitive.div,{tabIndex:a||K===0?-1:0,"data-orientation":t,...g,ref:I,style:{outline:"none",...e.style},onMouseDown:m.composeEventHandlers(e.onMouseDown,()=>{y.current=!0}),onFocus:m.composeEventHandlers(e.onFocus,s=>{const k=!y.current;if(s.target===s.currentTarget&&k&&!a){const D=new CustomEvent(h,Z);if(s.currentTarget.dispatchEvent(D),!D.defaultPrevented){const _=l().filter(d=>d.focusable),L=_.find(d=>d.active),U=_.find(d=>d.id===F),$=[L,U,..._].filter(Boolean).map(d=>d.ref.current);M($,u)}}y.current=!1}),onBlur:m.composeEventHandlers(e.onBlur,()=>C(!1))})})}),q="RovingFocusGroupItem",O=c.forwardRef((e,o)=>{const{__scopeRovingFocusGroup:r,focusable:t=!0,active:E=!1,tabStopId:S,children:v,...T}=e,w=V.useId(),p=S||w,u=ne(q,r),g=u.currentTabStopId===p,R=N(r),{onFocusableItemAdd:I,onFocusableItemRemove:x,currentTabStopId:F}=u;return c.useEffect(()=>{if(t)return I(),()=>x()},[t,I,x]),f.jsxRuntimeExports.jsx(j.ItemSlot,{scope:r,id:p,focusable:t,active:E,children:f.jsxRuntimeExports.jsx(G.Primitive.span,{tabIndex:g?0:-1,"data-orientation":u.orientation,...T,ref:o,onMouseDown:m.composeEventHandlers(e.onMouseDown,n=>{t?u.onItemFocus(p):n.preventDefault()}),onFocus:m.composeEventHandlers(e.onFocus,()=>u.onItemFocus(p)),onKeyDown:m.composeEventHandlers(e.onKeyDown,n=>{if(n.key==="Tab"&&n.shiftKey){u.onItemShiftTab();return}if(n.target!==n.currentTarget)return;const a=ie(n,u.orientation,u.dir);if(a!==void 0){if(n.metaKey||n.ctrlKey||n.altKey||n.shiftKey)return;n.preventDefault();let i=R().filter(l=>l.focusable).map(l=>l.ref.current);if(a==="last")i.reverse();else if(a==="prev"||a==="next"){a==="prev"&&i.reverse();const l=i.indexOf(n.currentTarget);i=u.loop?ae(i,l+1):i.slice(l+1)}setTimeout(()=>M(i))}}),children:typeof v=="function"?v({isCurrentTabStop:g,hasTabStop:F!=null}):v})})});O.displayName=q;var ce={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function ue(e,o){return o!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function ie(e,o,r){const t=ue(e.key,r);if(!(o==="vertical"&&["ArrowLeft","ArrowRight"].includes(t))&&!(o==="horizontal"&&["ArrowUp","ArrowDown"].includes(t)))return ce[t]}function M(e,o=!1){const r=document.activeElement;for(const t of e)if(t===r||(t.focus({preventScroll:o}),document.activeElement!==r))return}function ae(e,o){return e.map((r,t)=>e[(o+t)%e.length])}var le=A,de=O;exports.Item=de;exports.Root=le;exports.RovingFocusGroup=A;exports.RovingFocusGroupItem=O;exports.createRovingFocusGroupScope=oe;
|
|
2
2
|
//# sourceMappingURL=index.cjs657.js.map
|
package/dist/index.cjs657.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs657.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"index.cjs657.js","sources":["../node_modules/@radix-ui/react-roving-focus/dist/index.mjs"],"sourcesContent":["\"use client\";\n\n// src/roving-focus-group.tsx\nimport * as React from \"react\";\nimport { composeEventHandlers } from \"@radix-ui/primitive\";\nimport { createCollection } from \"@radix-ui/react-collection\";\nimport { useComposedRefs } from \"@radix-ui/react-compose-refs\";\nimport { createContextScope } from \"@radix-ui/react-context\";\nimport { useId } from \"@radix-ui/react-id\";\nimport { Primitive } from \"@radix-ui/react-primitive\";\nimport { useCallbackRef } from \"@radix-ui/react-use-callback-ref\";\nimport { useControllableState } from \"@radix-ui/react-use-controllable-state\";\nimport { useDirection } from \"@radix-ui/react-direction\";\nimport { jsx } from \"react/jsx-runtime\";\nvar ENTRY_FOCUS = \"rovingFocusGroup.onEntryFocus\";\nvar EVENT_OPTIONS = { bubbles: false, cancelable: true };\nvar GROUP_NAME = \"RovingFocusGroup\";\nvar [Collection, useCollection, createCollectionScope] = createCollection(GROUP_NAME);\nvar [createRovingFocusGroupContext, createRovingFocusGroupScope] = createContextScope(\n GROUP_NAME,\n [createCollectionScope]\n);\nvar [RovingFocusProvider, useRovingFocusContext] = createRovingFocusGroupContext(GROUP_NAME);\nvar RovingFocusGroup = React.forwardRef(\n (props, forwardedRef) => {\n return /* @__PURE__ */ jsx(Collection.Provider, { scope: props.__scopeRovingFocusGroup, children: /* @__PURE__ */ jsx(Collection.Slot, { scope: props.__scopeRovingFocusGroup, children: /* @__PURE__ */ jsx(RovingFocusGroupImpl, { ...props, ref: forwardedRef }) }) });\n }\n);\nRovingFocusGroup.displayName = GROUP_NAME;\nvar RovingFocusGroupImpl = React.forwardRef((props, forwardedRef) => {\n const {\n __scopeRovingFocusGroup,\n orientation,\n loop = false,\n dir,\n currentTabStopId: currentTabStopIdProp,\n defaultCurrentTabStopId,\n onCurrentTabStopIdChange,\n onEntryFocus,\n preventScrollOnEntryFocus = false,\n ...groupProps\n } = props;\n const ref = React.useRef(null);\n const composedRefs = useComposedRefs(forwardedRef, ref);\n const direction = useDirection(dir);\n const [currentTabStopId, setCurrentTabStopId] = useControllableState({\n prop: currentTabStopIdProp,\n defaultProp: defaultCurrentTabStopId ?? null,\n onChange: onCurrentTabStopIdChange,\n caller: GROUP_NAME\n });\n const [isTabbingBackOut, setIsTabbingBackOut] = React.useState(false);\n const handleEntryFocus = useCallbackRef(onEntryFocus);\n const getItems = useCollection(__scopeRovingFocusGroup);\n const isClickFocusRef = React.useRef(false);\n const [focusableItemsCount, setFocusableItemsCount] = React.useState(0);\n React.useEffect(() => {\n const node = ref.current;\n if (node) {\n node.addEventListener(ENTRY_FOCUS, handleEntryFocus);\n return () => node.removeEventListener(ENTRY_FOCUS, handleEntryFocus);\n }\n }, [handleEntryFocus]);\n return /* @__PURE__ */ jsx(\n RovingFocusProvider,\n {\n scope: __scopeRovingFocusGroup,\n orientation,\n dir: direction,\n loop,\n currentTabStopId,\n onItemFocus: React.useCallback(\n (tabStopId) => setCurrentTabStopId(tabStopId),\n [setCurrentTabStopId]\n ),\n onItemShiftTab: React.useCallback(() => setIsTabbingBackOut(true), []),\n onFocusableItemAdd: React.useCallback(\n () => setFocusableItemsCount((prevCount) => prevCount + 1),\n []\n ),\n onFocusableItemRemove: React.useCallback(\n () => setFocusableItemsCount((prevCount) => prevCount - 1),\n []\n ),\n children: /* @__PURE__ */ jsx(\n Primitive.div,\n {\n tabIndex: isTabbingBackOut || focusableItemsCount === 0 ? -1 : 0,\n \"data-orientation\": orientation,\n ...groupProps,\n ref: composedRefs,\n style: { outline: \"none\", ...props.style },\n onMouseDown: composeEventHandlers(props.onMouseDown, () => {\n isClickFocusRef.current = true;\n }),\n onFocus: composeEventHandlers(props.onFocus, (event) => {\n const isKeyboardFocus = !isClickFocusRef.current;\n if (event.target === event.currentTarget && isKeyboardFocus && !isTabbingBackOut) {\n const entryFocusEvent = new CustomEvent(ENTRY_FOCUS, EVENT_OPTIONS);\n event.currentTarget.dispatchEvent(entryFocusEvent);\n if (!entryFocusEvent.defaultPrevented) {\n const items = getItems().filter((item) => item.focusable);\n const activeItem = items.find((item) => item.active);\n const currentItem = items.find((item) => item.id === currentTabStopId);\n const candidateItems = [activeItem, currentItem, ...items].filter(\n Boolean\n );\n const candidateNodes = candidateItems.map((item) => item.ref.current);\n focusFirst(candidateNodes, preventScrollOnEntryFocus);\n }\n }\n isClickFocusRef.current = false;\n }),\n onBlur: composeEventHandlers(props.onBlur, () => setIsTabbingBackOut(false))\n }\n )\n }\n );\n});\nvar ITEM_NAME = \"RovingFocusGroupItem\";\nvar RovingFocusGroupItem = React.forwardRef(\n (props, forwardedRef) => {\n const {\n __scopeRovingFocusGroup,\n focusable = true,\n active = false,\n tabStopId,\n children,\n ...itemProps\n } = props;\n const autoId = useId();\n const id = tabStopId || autoId;\n const context = useRovingFocusContext(ITEM_NAME, __scopeRovingFocusGroup);\n const isCurrentTabStop = context.currentTabStopId === id;\n const getItems = useCollection(__scopeRovingFocusGroup);\n const { onFocusableItemAdd, onFocusableItemRemove, currentTabStopId } = context;\n React.useEffect(() => {\n if (focusable) {\n onFocusableItemAdd();\n return () => onFocusableItemRemove();\n }\n }, [focusable, onFocusableItemAdd, onFocusableItemRemove]);\n return /* @__PURE__ */ jsx(\n Collection.ItemSlot,\n {\n scope: __scopeRovingFocusGroup,\n id,\n focusable,\n active,\n children: /* @__PURE__ */ jsx(\n Primitive.span,\n {\n tabIndex: isCurrentTabStop ? 0 : -1,\n \"data-orientation\": context.orientation,\n ...itemProps,\n ref: forwardedRef,\n onMouseDown: composeEventHandlers(props.onMouseDown, (event) => {\n if (!focusable) event.preventDefault();\n else context.onItemFocus(id);\n }),\n onFocus: composeEventHandlers(props.onFocus, () => context.onItemFocus(id)),\n onKeyDown: composeEventHandlers(props.onKeyDown, (event) => {\n if (event.key === \"Tab\" && event.shiftKey) {\n context.onItemShiftTab();\n return;\n }\n if (event.target !== event.currentTarget) return;\n const focusIntent = getFocusIntent(event, context.orientation, context.dir);\n if (focusIntent !== void 0) {\n if (event.metaKey || event.ctrlKey || event.altKey || event.shiftKey) return;\n event.preventDefault();\n const items = getItems().filter((item) => item.focusable);\n let candidateNodes = items.map((item) => item.ref.current);\n if (focusIntent === \"last\") candidateNodes.reverse();\n else if (focusIntent === \"prev\" || focusIntent === \"next\") {\n if (focusIntent === \"prev\") candidateNodes.reverse();\n const currentIndex = candidateNodes.indexOf(event.currentTarget);\n candidateNodes = context.loop ? wrapArray(candidateNodes, currentIndex + 1) : candidateNodes.slice(currentIndex + 1);\n }\n setTimeout(() => focusFirst(candidateNodes));\n }\n }),\n children: typeof children === \"function\" ? children({ isCurrentTabStop, hasTabStop: currentTabStopId != null }) : children\n }\n )\n }\n );\n }\n);\nRovingFocusGroupItem.displayName = ITEM_NAME;\nvar MAP_KEY_TO_FOCUS_INTENT = {\n ArrowLeft: \"prev\",\n ArrowUp: \"prev\",\n ArrowRight: \"next\",\n ArrowDown: \"next\",\n PageUp: \"first\",\n Home: \"first\",\n PageDown: \"last\",\n End: \"last\"\n};\nfunction getDirectionAwareKey(key, dir) {\n if (dir !== \"rtl\") return key;\n return key === \"ArrowLeft\" ? \"ArrowRight\" : key === \"ArrowRight\" ? \"ArrowLeft\" : key;\n}\nfunction getFocusIntent(event, orientation, dir) {\n const key = getDirectionAwareKey(event.key, dir);\n if (orientation === \"vertical\" && [\"ArrowLeft\", \"ArrowRight\"].includes(key)) return void 0;\n if (orientation === \"horizontal\" && [\"ArrowUp\", \"ArrowDown\"].includes(key)) return void 0;\n return MAP_KEY_TO_FOCUS_INTENT[key];\n}\nfunction focusFirst(candidates, preventScroll = false) {\n const PREVIOUSLY_FOCUSED_ELEMENT = document.activeElement;\n for (const candidate of candidates) {\n if (candidate === PREVIOUSLY_FOCUSED_ELEMENT) return;\n candidate.focus({ preventScroll });\n if (document.activeElement !== PREVIOUSLY_FOCUSED_ELEMENT) return;\n }\n}\nfunction wrapArray(array, startIndex) {\n return array.map((_, index) => array[(startIndex + index) % array.length]);\n}\nvar Root = RovingFocusGroup;\nvar Item = RovingFocusGroupItem;\nexport {\n Item,\n Root,\n RovingFocusGroup,\n RovingFocusGroupItem,\n createRovingFocusGroupScope\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["ENTRY_FOCUS","EVENT_OPTIONS","GROUP_NAME","Collection","useCollection","createCollectionScope","createCollection","createRovingFocusGroupContext","createRovingFocusGroupScope","createContextScope","RovingFocusProvider","useRovingFocusContext","RovingFocusGroup","React","props","forwardedRef","jsx","RovingFocusGroupImpl","__scopeRovingFocusGroup","orientation","loop","dir","currentTabStopIdProp","defaultCurrentTabStopId","onCurrentTabStopIdChange","onEntryFocus","preventScrollOnEntryFocus","groupProps","ref","composedRefs","useComposedRefs","direction","useDirection","currentTabStopId","setCurrentTabStopId","useControllableState","isTabbingBackOut","setIsTabbingBackOut","handleEntryFocus","useCallbackRef","getItems","isClickFocusRef","focusableItemsCount","setFocusableItemsCount","node","tabStopId","prevCount","Primitive","composeEventHandlers","event","isKeyboardFocus","entryFocusEvent","items","item","activeItem","currentItem","candidateNodes","focusFirst","ITEM_NAME","RovingFocusGroupItem","focusable","active","children","itemProps","autoId","useId","id","context","isCurrentTabStop","onFocusableItemAdd","onFocusableItemRemove","focusIntent","getFocusIntent","currentIndex","wrapArray","MAP_KEY_TO_FOCUS_INTENT","getDirectionAwareKey","key","candidates","preventScroll","PREVIOUSLY_FOCUSED_ELEMENT","candidate","array","startIndex","_","index","Root","Item"],"mappings":"yrBAcA,IAAIA,EAAc,gCACdC,EAAgB,CAAE,QAAS,GAAO,WAAY,EAAI,EAClDC,EAAa,mBACb,CAACC,EAAYC,EAAeC,EAAqB,EAAIC,EAAAA,iBAAiBJ,CAAU,EAChF,CAACK,GAA+BC,EAA2B,EAAIC,EAAAA,mBACjEP,EACA,CAACG,EAAqB,CACxB,EACI,CAACK,GAAqBC,EAAqB,EAAIJ,GAA8BL,CAAU,EACvFU,EAAmBC,EAAM,WAC3B,CAACC,EAAOC,IACiBC,wBAAIb,EAAW,SAAU,CAAE,MAAOW,EAAM,wBAAyB,SAA0BE,wBAAIb,EAAW,KAAM,CAAE,MAAOW,EAAM,wBAAyB,SAA0BE,EAAAA,kBAAAA,IAAIC,GAAsB,CAAE,GAAGH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,IAAUH,GAAOC,EAAaE,GAASH,EAAM,MAAM,CAAC,CAC3E,CACG,IAACI,GAAO1E,EACP2E,GAAO5B","x_google_ignoreList":[0]}
|
package/dist/index.cjs659.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index.cjs658.js"),k=require("react"),f=require("./index.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index.cjs658.js"),k=require("react"),f=require("./index.cjs716.js"),q=require("./index.cjs717.js"),B=require("./index.cjs718.js");function E(e){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const l=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,l.get?l:{enumerable:!0,get:()=>e[r]})}}return n.default=e,Object.freeze(n)}const a=E(k);var o=function(){},s=a.forwardRef(function(e,n){var r=a.useRef(null),l=a.useState({onScrollCapture:o,onWheelCapture:o,onTouchMoveCapture:o}),m=l[0],v=l[1],g=e.forwardProps,i=e.children,h=e.className,_=e.removeScrollBar,b=e.enabled,R=e.shards,C=e.sideCar,S=e.noRelative,P=e.noIsolation,w=e.inert,M=e.allowPinchZoom,c=e.as,N=c===void 0?"div":c,y=e.gapMode,O=t.__rest(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),j=C,d=B.useMergeRefs([r,n]),u=t.__assign(t.__assign({},O),m);return a.createElement(a.Fragment,null,b&&a.createElement(j,{sideCar:q.effectCar,removeScrollBar:_,shards:R,noRelative:S,noIsolation:P,inert:w,setCallbacks:v,allowPinchZoom:!!M,lockRef:r,gapMode:y}),g?a.cloneElement(a.Children.only(i),t.__assign(t.__assign({},u),{ref:d})):a.createElement(N,t.__assign({},u,{className:h,ref:d}),i))});s.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};s.classNames={fullWidth:f.fullWidthClassName,zeroRight:f.zeroRightClassName};exports.RemoveScroll=s;
|
|
2
2
|
//# sourceMappingURL=index.cjs659.js.map
|
package/dist/index.cjs660.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const e=require("./index.
|
|
1
|
+
"use strict";const e=require("./index.cjs719.js"),r=require("./index.cjs717.js"),t=require("./index.cjs720.js"),c=t.exportSidecar(r.effectCar,e.RemoveScrollSideCar);module.exports=c;
|
|
2
2
|
//# sourceMappingURL=index.cjs660.js.map
|
package/dist/index.cjs662.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./index.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./index.cjs731.js"),N=require("./index.cjs664.js"),E=require("./index.cjs732.js");var T;function q(){if(T)return c.__exports;T=1;var k=c.__exports&&c.__exports.__createBinding||(Object.create?(function(s,t,e,i){i===void 0&&(i=e);var n=Object.getOwnPropertyDescriptor(t,e);(!n||("get"in n?!t.__esModule:n.writable||n.configurable))&&(n={enumerable:!0,get:function(){return t[e]}}),Object.defineProperty(s,i,n)}):(function(s,t,e,i){i===void 0&&(i=e),s[i]=t[e]})),O=c.__exports&&c.__exports.__setModuleDefault||(Object.create?(function(s,t){Object.defineProperty(s,"default",{enumerable:!0,value:t})}):function(s,t){s.default=t}),I=c.__exports&&c.__exports.__importStar||function(s){if(s&&s.__esModule)return s;var t={};if(s!=null)for(var e in s)e!=="default"&&Object.prototype.hasOwnProperty.call(s,e)&&k(t,s,e);return O(t,s),t};Object.defineProperty(c.__exports,"__esModule",{value:!0}),c.__exports.Parser=void 0;var b=I(N.__require()),g=E.__require(),u=new Set(["input","option","optgroup","select","button","datalist","textarea"]),o=new Set(["p"]),_=new Set(["thead","tbody"]),m=new Set(["dd","dt"]),x=new Set(["rt","rp"]),z=new Map([["tr",new Set(["tr","th","td"])],["th",new Set(["th"])],["td",new Set(["thead","th","td"])],["body",new Set(["head","link","script"])],["li",new Set(["li"])],["p",o],["h1",o],["h2",o],["h3",o],["h4",o],["h5",o],["h6",o],["select",u],["input",u],["output",u],["button",u],["datalist",u],["textarea",u],["option",new Set(["option"])],["optgroup",new Set(["optgroup","option"])],["dd",m],["dt",m],["address",o],["article",o],["aside",o],["blockquote",o],["details",o],["div",o],["dl",o],["fieldset",o],["figcaption",o],["figure",o],["footer",o],["form",o],["header",o],["hr",o],["main",o],["nav",o],["ol",o],["pre",o],["section",o],["table",o],["ul",o],["rt",x],["rp",x],["tbody",_],["tfoot",_]]),P=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]),w=new Set(["math","svg"]),y=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignobject","desc","title"]),M=/\s|\//,j=(function(){function s(t,e){e===void 0&&(e={});var i,n,r,h,a;this.options=e,this.startIndex=0,this.endIndex=0,this.openTagStart=0,this.tagname="",this.attribname="",this.attribvalue="",this.attribs=null,this.stack=[],this.foreignContext=[],this.buffers=[],this.bufferOffset=0,this.writeIndex=0,this.ended=!1,this.cbs=t??{},this.lowerCaseTagNames=(i=e.lowerCaseTags)!==null&&i!==void 0?i:!e.xmlMode,this.lowerCaseAttributeNames=(n=e.lowerCaseAttributeNames)!==null&&n!==void 0?n:!e.xmlMode,this.tokenizer=new((r=e.Tokenizer)!==null&&r!==void 0?r:b.default)(this.options,this),(a=(h=this.cbs).onparserinit)===null||a===void 0||a.call(h,this)}return s.prototype.ontext=function(t,e){var i,n,r=this.getSlice(t,e);this.endIndex=e-1,(n=(i=this.cbs).ontext)===null||n===void 0||n.call(i,r),this.startIndex=e},s.prototype.ontextentity=function(t){var e,i,n=this.tokenizer.getSectionStart();this.endIndex=n-1,(i=(e=this.cbs).ontext)===null||i===void 0||i.call(e,(0,g.fromCodePoint)(t)),this.startIndex=n},s.prototype.isVoidElement=function(t){return!this.options.xmlMode&&P.has(t)},s.prototype.onopentagname=function(t,e){this.endIndex=e;var i=this.getSlice(t,e);this.lowerCaseTagNames&&(i=i.toLowerCase()),this.emitOpenTag(i)},s.prototype.emitOpenTag=function(t){var e,i,n,r;this.openTagStart=this.startIndex,this.tagname=t;var h=!this.options.xmlMode&&z.get(t);if(h)for(;this.stack.length>0&&h.has(this.stack[this.stack.length-1]);){var a=this.stack.pop();(i=(e=this.cbs).onclosetag)===null||i===void 0||i.call(e,a,!0)}this.isVoidElement(t)||(this.stack.push(t),w.has(t)?this.foreignContext.push(!0):y.has(t)&&this.foreignContext.push(!1)),(r=(n=this.cbs).onopentagname)===null||r===void 0||r.call(n,t),this.cbs.onopentag&&(this.attribs={})},s.prototype.endOpenTag=function(t){var e,i;this.startIndex=this.openTagStart,this.attribs&&((i=(e=this.cbs).onopentag)===null||i===void 0||i.call(e,this.tagname,this.attribs,t),this.attribs=null),this.cbs.onclosetag&&this.isVoidElement(this.tagname)&&this.cbs.onclosetag(this.tagname,!0),this.tagname=""},s.prototype.onopentagend=function(t){this.endIndex=t,this.endOpenTag(!1),this.startIndex=t+1},s.prototype.onclosetag=function(t,e){var i,n,r,h,a,f;this.endIndex=e;var l=this.getSlice(t,e);if(this.lowerCaseTagNames&&(l=l.toLowerCase()),(w.has(l)||y.has(l))&&this.foreignContext.pop(),this.isVoidElement(l))!this.options.xmlMode&&l==="br"&&((n=(i=this.cbs).onopentagname)===null||n===void 0||n.call(i,"br"),(h=(r=this.cbs).onopentag)===null||h===void 0||h.call(r,"br",{},!0),(f=(a=this.cbs).onclosetag)===null||f===void 0||f.call(a,"br",!1));else{var d=this.stack.lastIndexOf(l);if(d!==-1)if(this.cbs.onclosetag)for(var p=this.stack.length-d;p--;)this.cbs.onclosetag(this.stack.pop(),p!==0);else this.stack.length=d;else!this.options.xmlMode&&l==="p"&&(this.emitOpenTag("p"),this.closeCurrentTag(!0))}this.startIndex=e+1},s.prototype.onselfclosingtag=function(t){this.endIndex=t,this.options.xmlMode||this.options.recognizeSelfClosing||this.foreignContext[this.foreignContext.length-1]?(this.closeCurrentTag(!1),this.startIndex=t+1):this.onopentagend(t)},s.prototype.closeCurrentTag=function(t){var e,i,n=this.tagname;this.endOpenTag(t),this.stack[this.stack.length-1]===n&&((i=(e=this.cbs).onclosetag)===null||i===void 0||i.call(e,n,!t),this.stack.pop())},s.prototype.onattribname=function(t,e){this.startIndex=t;var i=this.getSlice(t,e);this.attribname=this.lowerCaseAttributeNames?i.toLowerCase():i},s.prototype.onattribdata=function(t,e){this.attribvalue+=this.getSlice(t,e)},s.prototype.onattribentity=function(t){this.attribvalue+=(0,g.fromCodePoint)(t)},s.prototype.onattribend=function(t,e){var i,n;this.endIndex=e,(n=(i=this.cbs).onattribute)===null||n===void 0||n.call(i,this.attribname,this.attribvalue,t===b.QuoteType.Double?'"':t===b.QuoteType.Single?"'":t===b.QuoteType.NoValue?void 0:null),this.attribs&&!Object.prototype.hasOwnProperty.call(this.attribs,this.attribname)&&(this.attribs[this.attribname]=this.attribvalue),this.attribvalue=""},s.prototype.getInstructionName=function(t){var e=t.search(M),i=e<0?t:t.substr(0,e);return this.lowerCaseTagNames&&(i=i.toLowerCase()),i},s.prototype.ondeclaration=function(t,e){this.endIndex=e;var i=this.getSlice(t,e);if(this.cbs.onprocessinginstruction){var n=this.getInstructionName(i);this.cbs.onprocessinginstruction("!".concat(n),"!".concat(i))}this.startIndex=e+1},s.prototype.onprocessinginstruction=function(t,e){this.endIndex=e;var i=this.getSlice(t,e);if(this.cbs.onprocessinginstruction){var n=this.getInstructionName(i);this.cbs.onprocessinginstruction("?".concat(n),"?".concat(i))}this.startIndex=e+1},s.prototype.oncomment=function(t,e,i){var n,r,h,a;this.endIndex=e,(r=(n=this.cbs).oncomment)===null||r===void 0||r.call(n,this.getSlice(t,e-i)),(a=(h=this.cbs).oncommentend)===null||a===void 0||a.call(h),this.startIndex=e+1},s.prototype.oncdata=function(t,e,i){var n,r,h,a,f,l,d,p,S,v;this.endIndex=e;var C=this.getSlice(t,e-i);this.options.xmlMode||this.options.recognizeCDATA?((r=(n=this.cbs).oncdatastart)===null||r===void 0||r.call(n),(a=(h=this.cbs).ontext)===null||a===void 0||a.call(h,C),(l=(f=this.cbs).oncdataend)===null||l===void 0||l.call(f)):((p=(d=this.cbs).oncomment)===null||p===void 0||p.call(d,"[CDATA[".concat(C,"]]")),(v=(S=this.cbs).oncommentend)===null||v===void 0||v.call(S)),this.startIndex=e+1},s.prototype.onend=function(){var t,e;if(this.cbs.onclosetag){this.endIndex=this.startIndex;for(var i=this.stack.length;i>0;this.cbs.onclosetag(this.stack[--i],!0));}(e=(t=this.cbs).onend)===null||e===void 0||e.call(t)},s.prototype.reset=function(){var t,e,i,n;(e=(t=this.cbs).onreset)===null||e===void 0||e.call(t),this.tokenizer.reset(),this.tagname="",this.attribname="",this.attribs=null,this.stack.length=0,this.startIndex=0,this.endIndex=0,(n=(i=this.cbs).onparserinit)===null||n===void 0||n.call(i,this),this.buffers.length=0,this.bufferOffset=0,this.writeIndex=0,this.ended=!1},s.prototype.parseComplete=function(t){this.reset(),this.end(t)},s.prototype.getSlice=function(t,e){for(;t-this.bufferOffset>=this.buffers[0].length;)this.shiftBuffer();for(var i=this.buffers[0].slice(t-this.bufferOffset,e-this.bufferOffset);e-this.bufferOffset>this.buffers[0].length;)this.shiftBuffer(),i+=this.buffers[0].slice(0,e-this.bufferOffset);return i},s.prototype.shiftBuffer=function(){this.bufferOffset+=this.buffers[0].length,this.writeIndex--,this.buffers.shift()},s.prototype.write=function(t){var e,i;if(this.ended){(i=(e=this.cbs).onerror)===null||i===void 0||i.call(e,new Error(".write() after done!"));return}this.buffers.push(t),this.tokenizer.running&&(this.tokenizer.write(t),this.writeIndex++)},s.prototype.end=function(t){var e,i;if(this.ended){(i=(e=this.cbs).onerror)===null||i===void 0||i.call(e,new Error(".end() after done!"));return}t&&this.write(t),this.ended=!0,this.tokenizer.end()},s.prototype.pause=function(){this.tokenizer.pause()},s.prototype.resume=function(){for(this.tokenizer.resume();this.tokenizer.running&&this.writeIndex<this.buffers.length;)this.tokenizer.write(this.buffers[this.writeIndex++]);this.ended&&this.tokenizer.end()},s.prototype.parseChunk=function(t){this.write(t)},s.prototype.done=function(t){this.end(t)},s})();return c.__exports.Parser=j,c.__exports}exports.__require=q;
|
|
2
2
|
//# sourceMappingURL=index.cjs662.js.map
|
package/dist/index.cjs663.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("./index.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("./index.cjs733.js"),_=require("./index.cjs665.js"),h=require("./index.cjs734.js");var p;function y(){return p||(p=1,(function(d){var c=s.__exports&&s.__exports.__createBinding||(Object.create?(function(i,t,e,n){n===void 0&&(n=e);var o=Object.getOwnPropertyDescriptor(t,e);(!o||("get"in o?!t.__esModule:o.writable||o.configurable))&&(o={enumerable:!0,get:function(){return t[e]}}),Object.defineProperty(i,n,o)}):(function(i,t,e,n){n===void 0&&(n=e),i[n]=t[e]})),f=s.__exports&&s.__exports.__exportStar||function(i,t){for(var e in i)e!=="default"&&!Object.prototype.hasOwnProperty.call(t,e)&&c(t,i,e)};Object.defineProperty(d,"__esModule",{value:!0}),d.DomHandler=void 0;var a=_.__require(),r=h.__require();f(h.__require(),d);var l={withStartIndices:!1,withEndIndices:!1,xmlMode:!1},u=(function(){function i(t,e,n){this.dom=[],this.root=new r.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,typeof e=="function"&&(n=e,e=l),typeof t=="object"&&(e=t,t=void 0),this.callback=t??null,this.options=e??l,this.elementCB=n??null}return i.prototype.onparserinit=function(t){this.parser=t},i.prototype.onreset=function(){this.dom=[],this.root=new r.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null},i.prototype.onend=function(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))},i.prototype.onerror=function(t){this.handleCallback(t)},i.prototype.onclosetag=function(){this.lastNode=null;var t=this.tagStack.pop();this.options.withEndIndices&&(t.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(t)},i.prototype.onopentag=function(t,e){var n=this.options.xmlMode?a.ElementType.Tag:void 0,o=new r.Element(t,e,void 0,n);this.addNode(o),this.tagStack.push(o)},i.prototype.ontext=function(t){var e=this.lastNode;if(e&&e.type===a.ElementType.Text)e.data+=t,this.options.withEndIndices&&(e.endIndex=this.parser.endIndex);else{var n=new r.Text(t);this.addNode(n),this.lastNode=n}},i.prototype.oncomment=function(t){if(this.lastNode&&this.lastNode.type===a.ElementType.Comment){this.lastNode.data+=t;return}var e=new r.Comment(t);this.addNode(e),this.lastNode=e},i.prototype.oncommentend=function(){this.lastNode=null},i.prototype.oncdatastart=function(){var t=new r.Text(""),e=new r.CDATA([t]);this.addNode(e),t.parent=e,this.lastNode=t},i.prototype.oncdataend=function(){this.lastNode=null},i.prototype.onprocessinginstruction=function(t,e){var n=new r.ProcessingInstruction(t,e);this.addNode(n)},i.prototype.handleCallback=function(t){if(typeof this.callback=="function")this.callback(t,this.dom);else if(t)throw t},i.prototype.addNode=function(t){var e=this.tagStack[this.tagStack.length-1],n=e.children[e.children.length-1];this.options.withStartIndices&&(t.startIndex=this.parser.startIndex),this.options.withEndIndices&&(t.endIndex=this.parser.endIndex),e.children.push(t),n&&(t.prev=n,n.next=t),t.parent=e,this.lastNode=null},i})();d.DomHandler=u,d.default=u})(s.__exports)),s.__exports}exports.__require=y;
|
|
2
2
|
//# sourceMappingURL=index.cjs663.js.map
|
package/dist/index.cjs664.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const m=require("./index.cjs720.js"),g=require("./index.cjs717.js");var p;function N(){return p||(p=1,(function(c){Object.defineProperty(c,"__esModule",{value:!0}),c.QuoteType=void 0;var h=g.__require(),s;(function(t){t[t.Tab=9]="Tab",t[t.NewLine=10]="NewLine",t[t.FormFeed=12]="FormFeed",t[t.CarriageReturn=13]="CarriageReturn",t[t.Space=32]="Space",t[t.ExclamationMark=33]="ExclamationMark",t[t.Number=35]="Number",t[t.Amp=38]="Amp",t[t.SingleQuote=39]="SingleQuote",t[t.DoubleQuote=34]="DoubleQuote",t[t.Dash=45]="Dash",t[t.Slash=47]="Slash",t[t.Zero=48]="Zero",t[t.Nine=57]="Nine",t[t.Semi=59]="Semi",t[t.Lt=60]="Lt",t[t.Eq=61]="Eq",t[t.Gt=62]="Gt",t[t.Questionmark=63]="Questionmark",t[t.UpperA=65]="UpperA",t[t.LowerA=97]="LowerA",t[t.UpperF=70]="UpperF",t[t.LowerF=102]="LowerF",t[t.UpperZ=90]="UpperZ",t[t.LowerZ=122]="LowerZ",t[t.LowerX=120]="LowerX",t[t.OpeningSquareBracket=91]="OpeningSquareBracket"})(s||(s={}));var i;(function(t){t[t.Text=1]="Text",t[t.BeforeTagName=2]="BeforeTagName",t[t.InTagName=3]="InTagName",t[t.InSelfClosingTag=4]="InSelfClosingTag",t[t.BeforeClosingTagName=5]="BeforeClosingTagName",t[t.InClosingTagName=6]="InClosingTagName",t[t.AfterClosingTagName=7]="AfterClosingTagName",t[t.BeforeAttributeName=8]="BeforeAttributeName",t[t.InAttributeName=9]="InAttributeName",t[t.AfterAttributeName=10]="AfterAttributeName",t[t.BeforeAttributeValue=11]="BeforeAttributeValue",t[t.InAttributeValueDq=12]="InAttributeValueDq",t[t.InAttributeValueSq=13]="InAttributeValueSq",t[t.InAttributeValueNq=14]="InAttributeValueNq",t[t.BeforeDeclaration=15]="BeforeDeclaration",t[t.InDeclaration=16]="InDeclaration",t[t.InProcessingInstruction=17]="InProcessingInstruction",t[t.BeforeComment=18]="BeforeComment",t[t.CDATASequence=19]="CDATASequence",t[t.InSpecialComment=20]="InSpecialComment",t[t.InCommentLike=21]="InCommentLike",t[t.BeforeSpecialS=22]="BeforeSpecialS",t[t.SpecialStartSequence=23]="SpecialStartSequence",t[t.InSpecialTag=24]="InSpecialTag",t[t.BeforeEntity=25]="BeforeEntity",t[t.BeforeNumericEntity=26]="BeforeNumericEntity",t[t.InNamedEntity=27]="InNamedEntity",t[t.InNumericEntity=28]="InNumericEntity",t[t.InHexEntity=29]="InHexEntity"})(i||(i={}));function o(t){return t===s.Space||t===s.NewLine||t===s.Tab||t===s.FormFeed||t===s.CarriageReturn}function l(t){return t===s.Slash||t===s.Gt||o(t)}function x(t){return t>=s.Zero&&t<=s.Nine}function d(t){return t>=s.LowerA&&t<=s.LowerZ||t>=s.UpperA&&t<=s.UpperZ}function I(t){return t>=s.UpperA&&t<=s.UpperF||t>=s.LowerA&&t<=s.LowerF}var u;(function(t){t[t.NoValue=0]="NoValue",t[t.Unquoted=1]="Unquoted",t[t.Single=2]="Single",t[t.Double=3]="Double"})(u=c.QuoteType||(c.QuoteType={}));var a={Cdata:new Uint8Array([67,68,65,84,65,91]),CdataEnd:new Uint8Array([93,93,62]),CommentEnd:new Uint8Array([45,45,62]),ScriptEnd:new Uint8Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint8Array([60,47,115,116,121,108,101]),TitleEnd:new Uint8Array([60,47,116,105,116,108,101])},y=(function(){function t(e,n){var r=e.xmlMode,f=r===void 0?!1:r,b=e.decodeEntities,S=b===void 0?!0:b;this.cbs=n,this.state=i.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=i.Text,this.isSpecial=!1,this.running=!0,this.offset=0,this.currentSequence=void 0,this.sequenceIndex=0,this.trieIndex=0,this.trieCurrent=0,this.entityResult=0,this.entityExcess=0,this.xmlMode=f,this.decodeEntities=S,this.entityTrie=f?h.xmlDecodeTree:h.htmlDecodeTree}return t.prototype.reset=function(){this.state=i.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=i.Text,this.currentSequence=void 0,this.running=!0,this.offset=0},t.prototype.write=function(e){this.offset+=this.buffer.length,this.buffer=e,this.parse()},t.prototype.end=function(){this.running&&this.finish()},t.prototype.pause=function(){this.running=!1},t.prototype.resume=function(){this.running=!0,this.index<this.buffer.length+this.offset&&this.parse()},t.prototype.getIndex=function(){return this.index},t.prototype.getSectionStart=function(){return this.sectionStart},t.prototype.stateText=function(e){e===s.Lt||!this.decodeEntities&&this.fastForwardTo(s.Lt)?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=i.BeforeTagName,this.sectionStart=this.index):this.decodeEntities&&e===s.Amp&&(this.state=i.BeforeEntity)},t.prototype.stateSpecialStartSequence=function(e){var n=this.sequenceIndex===this.currentSequence.length,r=n?l(e):(e|32)===this.currentSequence[this.sequenceIndex];if(!r)this.isSpecial=!1;else if(!n){this.sequenceIndex++;return}this.sequenceIndex=0,this.state=i.InTagName,this.stateInTagName(e)},t.prototype.stateInSpecialTag=function(e){if(this.sequenceIndex===this.currentSequence.length){if(e===s.Gt||o(e)){var n=this.index-this.currentSequence.length;if(this.sectionStart<n){var r=this.index;this.index=n,this.cbs.ontext(this.sectionStart,n),this.index=r}this.isSpecial=!1,this.sectionStart=n+2,this.stateInClosingTagName(e);return}this.sequenceIndex=0}(e|32)===this.currentSequence[this.sequenceIndex]?this.sequenceIndex+=1:this.sequenceIndex===0?this.currentSequence===a.TitleEnd?this.decodeEntities&&e===s.Amp&&(this.state=i.BeforeEntity):this.fastForwardTo(s.Lt)&&(this.sequenceIndex=1):this.sequenceIndex=+(e===s.Lt)},t.prototype.stateCDATASequence=function(e){e===a.Cdata[this.sequenceIndex]?++this.sequenceIndex===a.Cdata.length&&(this.state=i.InCommentLike,this.currentSequence=a.CdataEnd,this.sequenceIndex=0,this.sectionStart=this.index+1):(this.sequenceIndex=0,this.state=i.InDeclaration,this.stateInDeclaration(e))},t.prototype.fastForwardTo=function(e){for(;++this.index<this.buffer.length+this.offset;)if(this.buffer.charCodeAt(this.index-this.offset)===e)return!0;return this.index=this.buffer.length+this.offset-1,!1},t.prototype.stateInCommentLike=function(e){e===this.currentSequence[this.sequenceIndex]?++this.sequenceIndex===this.currentSequence.length&&(this.currentSequence===a.CdataEnd?this.cbs.oncdata(this.sectionStart,this.index,2):this.cbs.oncomment(this.sectionStart,this.index,2),this.sequenceIndex=0,this.sectionStart=this.index+1,this.state=i.Text):this.sequenceIndex===0?this.fastForwardTo(this.currentSequence[0])&&(this.sequenceIndex=1):e!==this.currentSequence[this.sequenceIndex-1]&&(this.sequenceIndex=0)},t.prototype.isTagStartChar=function(e){return this.xmlMode?!l(e):d(e)},t.prototype.startSpecial=function(e,n){this.isSpecial=!0,this.currentSequence=e,this.sequenceIndex=n,this.state=i.SpecialStartSequence},t.prototype.stateBeforeTagName=function(e){if(e===s.ExclamationMark)this.state=i.BeforeDeclaration,this.sectionStart=this.index+1;else if(e===s.Questionmark)this.state=i.InProcessingInstruction,this.sectionStart=this.index+1;else if(this.isTagStartChar(e)){var n=e|32;this.sectionStart=this.index,!this.xmlMode&&n===a.TitleEnd[2]?this.startSpecial(a.TitleEnd,3):this.state=!this.xmlMode&&n===a.ScriptEnd[2]?i.BeforeSpecialS:i.InTagName}else e===s.Slash?this.state=i.BeforeClosingTagName:(this.state=i.Text,this.stateText(e))},t.prototype.stateInTagName=function(e){l(e)&&(this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=i.BeforeAttributeName,this.stateBeforeAttributeName(e))},t.prototype.stateBeforeClosingTagName=function(e){o(e)||(e===s.Gt?this.state=i.Text:(this.state=this.isTagStartChar(e)?i.InClosingTagName:i.InSpecialComment,this.sectionStart=this.index))},t.prototype.stateInClosingTagName=function(e){(e===s.Gt||o(e))&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=i.AfterClosingTagName,this.stateAfterClosingTagName(e))},t.prototype.stateAfterClosingTagName=function(e){(e===s.Gt||this.fastForwardTo(s.Gt))&&(this.state=i.Text,this.baseState=i.Text,this.sectionStart=this.index+1)},t.prototype.stateBeforeAttributeName=function(e){e===s.Gt?(this.cbs.onopentagend(this.index),this.isSpecial?(this.state=i.InSpecialTag,this.sequenceIndex=0):this.state=i.Text,this.baseState=this.state,this.sectionStart=this.index+1):e===s.Slash?this.state=i.InSelfClosingTag:o(e)||(this.state=i.InAttributeName,this.sectionStart=this.index)},t.prototype.stateInSelfClosingTag=function(e){e===s.Gt?(this.cbs.onselfclosingtag(this.index),this.state=i.Text,this.baseState=i.Text,this.sectionStart=this.index+1,this.isSpecial=!1):o(e)||(this.state=i.BeforeAttributeName,this.stateBeforeAttributeName(e))},t.prototype.stateInAttributeName=function(e){(e===s.Eq||l(e))&&(this.cbs.onattribname(this.sectionStart,this.index),this.sectionStart=-1,this.state=i.AfterAttributeName,this.stateAfterAttributeName(e))},t.prototype.stateAfterAttributeName=function(e){e===s.Eq?this.state=i.BeforeAttributeValue:e===s.Slash||e===s.Gt?(this.cbs.onattribend(u.NoValue,this.index),this.state=i.BeforeAttributeName,this.stateBeforeAttributeName(e)):o(e)||(this.cbs.onattribend(u.NoValue,this.index),this.state=i.InAttributeName,this.sectionStart=this.index)},t.prototype.stateBeforeAttributeValue=function(e){e===s.DoubleQuote?(this.state=i.InAttributeValueDq,this.sectionStart=this.index+1):e===s.SingleQuote?(this.state=i.InAttributeValueSq,this.sectionStart=this.index+1):o(e)||(this.sectionStart=this.index,this.state=i.InAttributeValueNq,this.stateInAttributeValueNoQuotes(e))},t.prototype.handleInAttributeValue=function(e,n){e===n||!this.decodeEntities&&this.fastForwardTo(n)?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(n===s.DoubleQuote?u.Double:u.Single,this.index),this.state=i.BeforeAttributeName):this.decodeEntities&&e===s.Amp&&(this.baseState=this.state,this.state=i.BeforeEntity)},t.prototype.stateInAttributeValueDoubleQuotes=function(e){this.handleInAttributeValue(e,s.DoubleQuote)},t.prototype.stateInAttributeValueSingleQuotes=function(e){this.handleInAttributeValue(e,s.SingleQuote)},t.prototype.stateInAttributeValueNoQuotes=function(e){o(e)||e===s.Gt?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(u.Unquoted,this.index),this.state=i.BeforeAttributeName,this.stateBeforeAttributeName(e)):this.decodeEntities&&e===s.Amp&&(this.baseState=this.state,this.state=i.BeforeEntity)},t.prototype.stateBeforeDeclaration=function(e){e===s.OpeningSquareBracket?(this.state=i.CDATASequence,this.sequenceIndex=0):this.state=e===s.Dash?i.BeforeComment:i.InDeclaration},t.prototype.stateInDeclaration=function(e){(e===s.Gt||this.fastForwardTo(s.Gt))&&(this.cbs.ondeclaration(this.sectionStart,this.index),this.state=i.Text,this.sectionStart=this.index+1)},t.prototype.stateInProcessingInstruction=function(e){(e===s.Gt||this.fastForwardTo(s.Gt))&&(this.cbs.onprocessinginstruction(this.sectionStart,this.index),this.state=i.Text,this.sectionStart=this.index+1)},t.prototype.stateBeforeComment=function(e){e===s.Dash?(this.state=i.InCommentLike,this.currentSequence=a.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1):this.state=i.InDeclaration},t.prototype.stateInSpecialComment=function(e){(e===s.Gt||this.fastForwardTo(s.Gt))&&(this.cbs.oncomment(this.sectionStart,this.index,0),this.state=i.Text,this.sectionStart=this.index+1)},t.prototype.stateBeforeSpecialS=function(e){var n=e|32;n===a.ScriptEnd[3]?this.startSpecial(a.ScriptEnd,4):n===a.StyleEnd[3]?this.startSpecial(a.StyleEnd,4):(this.state=i.InTagName,this.stateInTagName(e))},t.prototype.stateBeforeEntity=function(e){this.entityExcess=1,this.entityResult=0,e===s.Number?this.state=i.BeforeNumericEntity:e===s.Amp||(this.trieIndex=0,this.trieCurrent=this.entityTrie[0],this.state=i.InNamedEntity,this.stateInNamedEntity(e))},t.prototype.stateInNamedEntity=function(e){if(this.entityExcess+=1,this.trieIndex=(0,h.determineBranch)(this.entityTrie,this.trieCurrent,this.trieIndex+1,e),this.trieIndex<0){this.emitNamedEntity(),this.index--;return}this.trieCurrent=this.entityTrie[this.trieIndex];var n=this.trieCurrent&h.BinTrieFlags.VALUE_LENGTH;if(n){var r=(n>>14)-1;if(!this.allowLegacyEntity()&&e!==s.Semi)this.trieIndex+=r;else{var f=this.index-this.entityExcess+1;f>this.sectionStart&&this.emitPartial(this.sectionStart,f),this.entityResult=this.trieIndex,this.trieIndex+=r,this.entityExcess=0,this.sectionStart=this.index+1,r===0&&this.emitNamedEntity()}}},t.prototype.emitNamedEntity=function(){if(this.state=this.baseState,this.entityResult!==0){var e=(this.entityTrie[this.entityResult]&h.BinTrieFlags.VALUE_LENGTH)>>14;switch(e){case 1:{this.emitCodePoint(this.entityTrie[this.entityResult]&~h.BinTrieFlags.VALUE_LENGTH);break}case 2:{this.emitCodePoint(this.entityTrie[this.entityResult+1]);break}case 3:this.emitCodePoint(this.entityTrie[this.entityResult+1]),this.emitCodePoint(this.entityTrie[this.entityResult+2])}}},t.prototype.stateBeforeNumericEntity=function(e){(e|32)===s.LowerX?(this.entityExcess++,this.state=i.InHexEntity):(this.state=i.InNumericEntity,this.stateInNumericEntity(e))},t.prototype.emitNumericEntity=function(e){var n=this.index-this.entityExcess-1,r=n+2+ +(this.state===i.InHexEntity);r!==this.index&&(n>this.sectionStart&&this.emitPartial(this.sectionStart,n),this.sectionStart=this.index+Number(e),this.emitCodePoint((0,h.replaceCodePoint)(this.entityResult))),this.state=this.baseState},t.prototype.stateInNumericEntity=function(e){e===s.Semi?this.emitNumericEntity(!0):x(e)?(this.entityResult=this.entityResult*10+(e-s.Zero),this.entityExcess++):(this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state=this.baseState,this.index--)},t.prototype.stateInHexEntity=function(e){e===s.Semi?this.emitNumericEntity(!0):x(e)?(this.entityResult=this.entityResult*16+(e-s.Zero),this.entityExcess++):I(e)?(this.entityResult=this.entityResult*16+((e|32)-s.LowerA+10),this.entityExcess++):(this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state=this.baseState,this.index--)},t.prototype.allowLegacyEntity=function(){return!this.xmlMode&&(this.baseState===i.Text||this.baseState===i.InSpecialTag)},t.prototype.cleanup=function(){this.running&&this.sectionStart!==this.index&&(this.state===i.Text||this.state===i.InSpecialTag&&this.sequenceIndex===0?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):(this.state===i.InAttributeValueDq||this.state===i.InAttributeValueSq||this.state===i.InAttributeValueNq)&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))},t.prototype.shouldContinue=function(){return this.index<this.buffer.length+this.offset&&this.running},t.prototype.parse=function(){for(;this.shouldContinue();){var e=this.buffer.charCodeAt(this.index-this.offset);switch(this.state){case i.Text:{this.stateText(e);break}case i.SpecialStartSequence:{this.stateSpecialStartSequence(e);break}case i.InSpecialTag:{this.stateInSpecialTag(e);break}case i.CDATASequence:{this.stateCDATASequence(e);break}case i.InAttributeValueDq:{this.stateInAttributeValueDoubleQuotes(e);break}case i.InAttributeName:{this.stateInAttributeName(e);break}case i.InCommentLike:{this.stateInCommentLike(e);break}case i.InSpecialComment:{this.stateInSpecialComment(e);break}case i.BeforeAttributeName:{this.stateBeforeAttributeName(e);break}case i.InTagName:{this.stateInTagName(e);break}case i.InClosingTagName:{this.stateInClosingTagName(e);break}case i.BeforeTagName:{this.stateBeforeTagName(e);break}case i.AfterAttributeName:{this.stateAfterAttributeName(e);break}case i.InAttributeValueSq:{this.stateInAttributeValueSingleQuotes(e);break}case i.BeforeAttributeValue:{this.stateBeforeAttributeValue(e);break}case i.BeforeClosingTagName:{this.stateBeforeClosingTagName(e);break}case i.AfterClosingTagName:{this.stateAfterClosingTagName(e);break}case i.BeforeSpecialS:{this.stateBeforeSpecialS(e);break}case i.InAttributeValueNq:{this.stateInAttributeValueNoQuotes(e);break}case i.InSelfClosingTag:{this.stateInSelfClosingTag(e);break}case i.InDeclaration:{this.stateInDeclaration(e);break}case i.BeforeDeclaration:{this.stateBeforeDeclaration(e);break}case i.BeforeComment:{this.stateBeforeComment(e);break}case i.InProcessingInstruction:{this.stateInProcessingInstruction(e);break}case i.InNamedEntity:{this.stateInNamedEntity(e);break}case i.BeforeEntity:{this.stateBeforeEntity(e);break}case i.InHexEntity:{this.stateInHexEntity(e);break}case i.InNumericEntity:{this.stateInNumericEntity(e);break}default:this.stateBeforeNumericEntity(e)}this.index++}this.cleanup()},t.prototype.finish=function(){this.state===i.InNamedEntity&&this.emitNamedEntity(),this.sectionStart<this.index&&this.handleTrailingData(),this.cbs.onend()},t.prototype.handleTrailingData=function(){var e=this.buffer.length+this.offset;this.state===i.InCommentLike?this.currentSequence===a.CdataEnd?this.cbs.oncdata(this.sectionStart,e,0):this.cbs.oncomment(this.sectionStart,e,0):this.state===i.InNumericEntity&&this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state===i.InHexEntity&&this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state===i.InTagName||this.state===i.BeforeAttributeName||this.state===i.BeforeAttributeValue||this.state===i.AfterAttributeName||this.state===i.InAttributeName||this.state===i.InAttributeValueSq||this.state===i.InAttributeValueDq||this.state===i.InAttributeValueNq||this.state===i.InClosingTagName||this.cbs.ontext(this.sectionStart,e)},t.prototype.emitPartial=function(e,n){this.baseState!==i.Text&&this.baseState!==i.InSpecialTag?this.cbs.onattribdata(e,n):this.cbs.ontext(e,n)},t.prototype.emitCodePoint=function(e){this.baseState!==i.Text&&this.baseState!==i.InSpecialTag?this.cbs.onattribentity(e):this.cbs.ontextentity(e)},t})();c.default=y})(m.__exports)),m.__exports}exports.__require=N;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const m=require("./index.cjs735.js"),g=require("./index.cjs732.js");var p;function N(){return p||(p=1,(function(c){Object.defineProperty(c,"__esModule",{value:!0}),c.QuoteType=void 0;var h=g.__require(),s;(function(t){t[t.Tab=9]="Tab",t[t.NewLine=10]="NewLine",t[t.FormFeed=12]="FormFeed",t[t.CarriageReturn=13]="CarriageReturn",t[t.Space=32]="Space",t[t.ExclamationMark=33]="ExclamationMark",t[t.Number=35]="Number",t[t.Amp=38]="Amp",t[t.SingleQuote=39]="SingleQuote",t[t.DoubleQuote=34]="DoubleQuote",t[t.Dash=45]="Dash",t[t.Slash=47]="Slash",t[t.Zero=48]="Zero",t[t.Nine=57]="Nine",t[t.Semi=59]="Semi",t[t.Lt=60]="Lt",t[t.Eq=61]="Eq",t[t.Gt=62]="Gt",t[t.Questionmark=63]="Questionmark",t[t.UpperA=65]="UpperA",t[t.LowerA=97]="LowerA",t[t.UpperF=70]="UpperF",t[t.LowerF=102]="LowerF",t[t.UpperZ=90]="UpperZ",t[t.LowerZ=122]="LowerZ",t[t.LowerX=120]="LowerX",t[t.OpeningSquareBracket=91]="OpeningSquareBracket"})(s||(s={}));var i;(function(t){t[t.Text=1]="Text",t[t.BeforeTagName=2]="BeforeTagName",t[t.InTagName=3]="InTagName",t[t.InSelfClosingTag=4]="InSelfClosingTag",t[t.BeforeClosingTagName=5]="BeforeClosingTagName",t[t.InClosingTagName=6]="InClosingTagName",t[t.AfterClosingTagName=7]="AfterClosingTagName",t[t.BeforeAttributeName=8]="BeforeAttributeName",t[t.InAttributeName=9]="InAttributeName",t[t.AfterAttributeName=10]="AfterAttributeName",t[t.BeforeAttributeValue=11]="BeforeAttributeValue",t[t.InAttributeValueDq=12]="InAttributeValueDq",t[t.InAttributeValueSq=13]="InAttributeValueSq",t[t.InAttributeValueNq=14]="InAttributeValueNq",t[t.BeforeDeclaration=15]="BeforeDeclaration",t[t.InDeclaration=16]="InDeclaration",t[t.InProcessingInstruction=17]="InProcessingInstruction",t[t.BeforeComment=18]="BeforeComment",t[t.CDATASequence=19]="CDATASequence",t[t.InSpecialComment=20]="InSpecialComment",t[t.InCommentLike=21]="InCommentLike",t[t.BeforeSpecialS=22]="BeforeSpecialS",t[t.SpecialStartSequence=23]="SpecialStartSequence",t[t.InSpecialTag=24]="InSpecialTag",t[t.BeforeEntity=25]="BeforeEntity",t[t.BeforeNumericEntity=26]="BeforeNumericEntity",t[t.InNamedEntity=27]="InNamedEntity",t[t.InNumericEntity=28]="InNumericEntity",t[t.InHexEntity=29]="InHexEntity"})(i||(i={}));function o(t){return t===s.Space||t===s.NewLine||t===s.Tab||t===s.FormFeed||t===s.CarriageReturn}function l(t){return t===s.Slash||t===s.Gt||o(t)}function x(t){return t>=s.Zero&&t<=s.Nine}function d(t){return t>=s.LowerA&&t<=s.LowerZ||t>=s.UpperA&&t<=s.UpperZ}function I(t){return t>=s.UpperA&&t<=s.UpperF||t>=s.LowerA&&t<=s.LowerF}var u;(function(t){t[t.NoValue=0]="NoValue",t[t.Unquoted=1]="Unquoted",t[t.Single=2]="Single",t[t.Double=3]="Double"})(u=c.QuoteType||(c.QuoteType={}));var a={Cdata:new Uint8Array([67,68,65,84,65,91]),CdataEnd:new Uint8Array([93,93,62]),CommentEnd:new Uint8Array([45,45,62]),ScriptEnd:new Uint8Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint8Array([60,47,115,116,121,108,101]),TitleEnd:new Uint8Array([60,47,116,105,116,108,101])},y=(function(){function t(e,n){var r=e.xmlMode,f=r===void 0?!1:r,b=e.decodeEntities,S=b===void 0?!0:b;this.cbs=n,this.state=i.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=i.Text,this.isSpecial=!1,this.running=!0,this.offset=0,this.currentSequence=void 0,this.sequenceIndex=0,this.trieIndex=0,this.trieCurrent=0,this.entityResult=0,this.entityExcess=0,this.xmlMode=f,this.decodeEntities=S,this.entityTrie=f?h.xmlDecodeTree:h.htmlDecodeTree}return t.prototype.reset=function(){this.state=i.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=i.Text,this.currentSequence=void 0,this.running=!0,this.offset=0},t.prototype.write=function(e){this.offset+=this.buffer.length,this.buffer=e,this.parse()},t.prototype.end=function(){this.running&&this.finish()},t.prototype.pause=function(){this.running=!1},t.prototype.resume=function(){this.running=!0,this.index<this.buffer.length+this.offset&&this.parse()},t.prototype.getIndex=function(){return this.index},t.prototype.getSectionStart=function(){return this.sectionStart},t.prototype.stateText=function(e){e===s.Lt||!this.decodeEntities&&this.fastForwardTo(s.Lt)?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=i.BeforeTagName,this.sectionStart=this.index):this.decodeEntities&&e===s.Amp&&(this.state=i.BeforeEntity)},t.prototype.stateSpecialStartSequence=function(e){var n=this.sequenceIndex===this.currentSequence.length,r=n?l(e):(e|32)===this.currentSequence[this.sequenceIndex];if(!r)this.isSpecial=!1;else if(!n){this.sequenceIndex++;return}this.sequenceIndex=0,this.state=i.InTagName,this.stateInTagName(e)},t.prototype.stateInSpecialTag=function(e){if(this.sequenceIndex===this.currentSequence.length){if(e===s.Gt||o(e)){var n=this.index-this.currentSequence.length;if(this.sectionStart<n){var r=this.index;this.index=n,this.cbs.ontext(this.sectionStart,n),this.index=r}this.isSpecial=!1,this.sectionStart=n+2,this.stateInClosingTagName(e);return}this.sequenceIndex=0}(e|32)===this.currentSequence[this.sequenceIndex]?this.sequenceIndex+=1:this.sequenceIndex===0?this.currentSequence===a.TitleEnd?this.decodeEntities&&e===s.Amp&&(this.state=i.BeforeEntity):this.fastForwardTo(s.Lt)&&(this.sequenceIndex=1):this.sequenceIndex=+(e===s.Lt)},t.prototype.stateCDATASequence=function(e){e===a.Cdata[this.sequenceIndex]?++this.sequenceIndex===a.Cdata.length&&(this.state=i.InCommentLike,this.currentSequence=a.CdataEnd,this.sequenceIndex=0,this.sectionStart=this.index+1):(this.sequenceIndex=0,this.state=i.InDeclaration,this.stateInDeclaration(e))},t.prototype.fastForwardTo=function(e){for(;++this.index<this.buffer.length+this.offset;)if(this.buffer.charCodeAt(this.index-this.offset)===e)return!0;return this.index=this.buffer.length+this.offset-1,!1},t.prototype.stateInCommentLike=function(e){e===this.currentSequence[this.sequenceIndex]?++this.sequenceIndex===this.currentSequence.length&&(this.currentSequence===a.CdataEnd?this.cbs.oncdata(this.sectionStart,this.index,2):this.cbs.oncomment(this.sectionStart,this.index,2),this.sequenceIndex=0,this.sectionStart=this.index+1,this.state=i.Text):this.sequenceIndex===0?this.fastForwardTo(this.currentSequence[0])&&(this.sequenceIndex=1):e!==this.currentSequence[this.sequenceIndex-1]&&(this.sequenceIndex=0)},t.prototype.isTagStartChar=function(e){return this.xmlMode?!l(e):d(e)},t.prototype.startSpecial=function(e,n){this.isSpecial=!0,this.currentSequence=e,this.sequenceIndex=n,this.state=i.SpecialStartSequence},t.prototype.stateBeforeTagName=function(e){if(e===s.ExclamationMark)this.state=i.BeforeDeclaration,this.sectionStart=this.index+1;else if(e===s.Questionmark)this.state=i.InProcessingInstruction,this.sectionStart=this.index+1;else if(this.isTagStartChar(e)){var n=e|32;this.sectionStart=this.index,!this.xmlMode&&n===a.TitleEnd[2]?this.startSpecial(a.TitleEnd,3):this.state=!this.xmlMode&&n===a.ScriptEnd[2]?i.BeforeSpecialS:i.InTagName}else e===s.Slash?this.state=i.BeforeClosingTagName:(this.state=i.Text,this.stateText(e))},t.prototype.stateInTagName=function(e){l(e)&&(this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=i.BeforeAttributeName,this.stateBeforeAttributeName(e))},t.prototype.stateBeforeClosingTagName=function(e){o(e)||(e===s.Gt?this.state=i.Text:(this.state=this.isTagStartChar(e)?i.InClosingTagName:i.InSpecialComment,this.sectionStart=this.index))},t.prototype.stateInClosingTagName=function(e){(e===s.Gt||o(e))&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=i.AfterClosingTagName,this.stateAfterClosingTagName(e))},t.prototype.stateAfterClosingTagName=function(e){(e===s.Gt||this.fastForwardTo(s.Gt))&&(this.state=i.Text,this.baseState=i.Text,this.sectionStart=this.index+1)},t.prototype.stateBeforeAttributeName=function(e){e===s.Gt?(this.cbs.onopentagend(this.index),this.isSpecial?(this.state=i.InSpecialTag,this.sequenceIndex=0):this.state=i.Text,this.baseState=this.state,this.sectionStart=this.index+1):e===s.Slash?this.state=i.InSelfClosingTag:o(e)||(this.state=i.InAttributeName,this.sectionStart=this.index)},t.prototype.stateInSelfClosingTag=function(e){e===s.Gt?(this.cbs.onselfclosingtag(this.index),this.state=i.Text,this.baseState=i.Text,this.sectionStart=this.index+1,this.isSpecial=!1):o(e)||(this.state=i.BeforeAttributeName,this.stateBeforeAttributeName(e))},t.prototype.stateInAttributeName=function(e){(e===s.Eq||l(e))&&(this.cbs.onattribname(this.sectionStart,this.index),this.sectionStart=-1,this.state=i.AfterAttributeName,this.stateAfterAttributeName(e))},t.prototype.stateAfterAttributeName=function(e){e===s.Eq?this.state=i.BeforeAttributeValue:e===s.Slash||e===s.Gt?(this.cbs.onattribend(u.NoValue,this.index),this.state=i.BeforeAttributeName,this.stateBeforeAttributeName(e)):o(e)||(this.cbs.onattribend(u.NoValue,this.index),this.state=i.InAttributeName,this.sectionStart=this.index)},t.prototype.stateBeforeAttributeValue=function(e){e===s.DoubleQuote?(this.state=i.InAttributeValueDq,this.sectionStart=this.index+1):e===s.SingleQuote?(this.state=i.InAttributeValueSq,this.sectionStart=this.index+1):o(e)||(this.sectionStart=this.index,this.state=i.InAttributeValueNq,this.stateInAttributeValueNoQuotes(e))},t.prototype.handleInAttributeValue=function(e,n){e===n||!this.decodeEntities&&this.fastForwardTo(n)?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(n===s.DoubleQuote?u.Double:u.Single,this.index),this.state=i.BeforeAttributeName):this.decodeEntities&&e===s.Amp&&(this.baseState=this.state,this.state=i.BeforeEntity)},t.prototype.stateInAttributeValueDoubleQuotes=function(e){this.handleInAttributeValue(e,s.DoubleQuote)},t.prototype.stateInAttributeValueSingleQuotes=function(e){this.handleInAttributeValue(e,s.SingleQuote)},t.prototype.stateInAttributeValueNoQuotes=function(e){o(e)||e===s.Gt?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(u.Unquoted,this.index),this.state=i.BeforeAttributeName,this.stateBeforeAttributeName(e)):this.decodeEntities&&e===s.Amp&&(this.baseState=this.state,this.state=i.BeforeEntity)},t.prototype.stateBeforeDeclaration=function(e){e===s.OpeningSquareBracket?(this.state=i.CDATASequence,this.sequenceIndex=0):this.state=e===s.Dash?i.BeforeComment:i.InDeclaration},t.prototype.stateInDeclaration=function(e){(e===s.Gt||this.fastForwardTo(s.Gt))&&(this.cbs.ondeclaration(this.sectionStart,this.index),this.state=i.Text,this.sectionStart=this.index+1)},t.prototype.stateInProcessingInstruction=function(e){(e===s.Gt||this.fastForwardTo(s.Gt))&&(this.cbs.onprocessinginstruction(this.sectionStart,this.index),this.state=i.Text,this.sectionStart=this.index+1)},t.prototype.stateBeforeComment=function(e){e===s.Dash?(this.state=i.InCommentLike,this.currentSequence=a.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1):this.state=i.InDeclaration},t.prototype.stateInSpecialComment=function(e){(e===s.Gt||this.fastForwardTo(s.Gt))&&(this.cbs.oncomment(this.sectionStart,this.index,0),this.state=i.Text,this.sectionStart=this.index+1)},t.prototype.stateBeforeSpecialS=function(e){var n=e|32;n===a.ScriptEnd[3]?this.startSpecial(a.ScriptEnd,4):n===a.StyleEnd[3]?this.startSpecial(a.StyleEnd,4):(this.state=i.InTagName,this.stateInTagName(e))},t.prototype.stateBeforeEntity=function(e){this.entityExcess=1,this.entityResult=0,e===s.Number?this.state=i.BeforeNumericEntity:e===s.Amp||(this.trieIndex=0,this.trieCurrent=this.entityTrie[0],this.state=i.InNamedEntity,this.stateInNamedEntity(e))},t.prototype.stateInNamedEntity=function(e){if(this.entityExcess+=1,this.trieIndex=(0,h.determineBranch)(this.entityTrie,this.trieCurrent,this.trieIndex+1,e),this.trieIndex<0){this.emitNamedEntity(),this.index--;return}this.trieCurrent=this.entityTrie[this.trieIndex];var n=this.trieCurrent&h.BinTrieFlags.VALUE_LENGTH;if(n){var r=(n>>14)-1;if(!this.allowLegacyEntity()&&e!==s.Semi)this.trieIndex+=r;else{var f=this.index-this.entityExcess+1;f>this.sectionStart&&this.emitPartial(this.sectionStart,f),this.entityResult=this.trieIndex,this.trieIndex+=r,this.entityExcess=0,this.sectionStart=this.index+1,r===0&&this.emitNamedEntity()}}},t.prototype.emitNamedEntity=function(){if(this.state=this.baseState,this.entityResult!==0){var e=(this.entityTrie[this.entityResult]&h.BinTrieFlags.VALUE_LENGTH)>>14;switch(e){case 1:{this.emitCodePoint(this.entityTrie[this.entityResult]&~h.BinTrieFlags.VALUE_LENGTH);break}case 2:{this.emitCodePoint(this.entityTrie[this.entityResult+1]);break}case 3:this.emitCodePoint(this.entityTrie[this.entityResult+1]),this.emitCodePoint(this.entityTrie[this.entityResult+2])}}},t.prototype.stateBeforeNumericEntity=function(e){(e|32)===s.LowerX?(this.entityExcess++,this.state=i.InHexEntity):(this.state=i.InNumericEntity,this.stateInNumericEntity(e))},t.prototype.emitNumericEntity=function(e){var n=this.index-this.entityExcess-1,r=n+2+ +(this.state===i.InHexEntity);r!==this.index&&(n>this.sectionStart&&this.emitPartial(this.sectionStart,n),this.sectionStart=this.index+Number(e),this.emitCodePoint((0,h.replaceCodePoint)(this.entityResult))),this.state=this.baseState},t.prototype.stateInNumericEntity=function(e){e===s.Semi?this.emitNumericEntity(!0):x(e)?(this.entityResult=this.entityResult*10+(e-s.Zero),this.entityExcess++):(this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state=this.baseState,this.index--)},t.prototype.stateInHexEntity=function(e){e===s.Semi?this.emitNumericEntity(!0):x(e)?(this.entityResult=this.entityResult*16+(e-s.Zero),this.entityExcess++):I(e)?(this.entityResult=this.entityResult*16+((e|32)-s.LowerA+10),this.entityExcess++):(this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state=this.baseState,this.index--)},t.prototype.allowLegacyEntity=function(){return!this.xmlMode&&(this.baseState===i.Text||this.baseState===i.InSpecialTag)},t.prototype.cleanup=function(){this.running&&this.sectionStart!==this.index&&(this.state===i.Text||this.state===i.InSpecialTag&&this.sequenceIndex===0?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):(this.state===i.InAttributeValueDq||this.state===i.InAttributeValueSq||this.state===i.InAttributeValueNq)&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))},t.prototype.shouldContinue=function(){return this.index<this.buffer.length+this.offset&&this.running},t.prototype.parse=function(){for(;this.shouldContinue();){var e=this.buffer.charCodeAt(this.index-this.offset);switch(this.state){case i.Text:{this.stateText(e);break}case i.SpecialStartSequence:{this.stateSpecialStartSequence(e);break}case i.InSpecialTag:{this.stateInSpecialTag(e);break}case i.CDATASequence:{this.stateCDATASequence(e);break}case i.InAttributeValueDq:{this.stateInAttributeValueDoubleQuotes(e);break}case i.InAttributeName:{this.stateInAttributeName(e);break}case i.InCommentLike:{this.stateInCommentLike(e);break}case i.InSpecialComment:{this.stateInSpecialComment(e);break}case i.BeforeAttributeName:{this.stateBeforeAttributeName(e);break}case i.InTagName:{this.stateInTagName(e);break}case i.InClosingTagName:{this.stateInClosingTagName(e);break}case i.BeforeTagName:{this.stateBeforeTagName(e);break}case i.AfterAttributeName:{this.stateAfterAttributeName(e);break}case i.InAttributeValueSq:{this.stateInAttributeValueSingleQuotes(e);break}case i.BeforeAttributeValue:{this.stateBeforeAttributeValue(e);break}case i.BeforeClosingTagName:{this.stateBeforeClosingTagName(e);break}case i.AfterClosingTagName:{this.stateAfterClosingTagName(e);break}case i.BeforeSpecialS:{this.stateBeforeSpecialS(e);break}case i.InAttributeValueNq:{this.stateInAttributeValueNoQuotes(e);break}case i.InSelfClosingTag:{this.stateInSelfClosingTag(e);break}case i.InDeclaration:{this.stateInDeclaration(e);break}case i.BeforeDeclaration:{this.stateBeforeDeclaration(e);break}case i.BeforeComment:{this.stateBeforeComment(e);break}case i.InProcessingInstruction:{this.stateInProcessingInstruction(e);break}case i.InNamedEntity:{this.stateInNamedEntity(e);break}case i.BeforeEntity:{this.stateBeforeEntity(e);break}case i.InHexEntity:{this.stateInHexEntity(e);break}case i.InNumericEntity:{this.stateInNumericEntity(e);break}default:this.stateBeforeNumericEntity(e)}this.index++}this.cleanup()},t.prototype.finish=function(){this.state===i.InNamedEntity&&this.emitNamedEntity(),this.sectionStart<this.index&&this.handleTrailingData(),this.cbs.onend()},t.prototype.handleTrailingData=function(){var e=this.buffer.length+this.offset;this.state===i.InCommentLike?this.currentSequence===a.CdataEnd?this.cbs.oncdata(this.sectionStart,e,0):this.cbs.oncomment(this.sectionStart,e,0):this.state===i.InNumericEntity&&this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state===i.InHexEntity&&this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state===i.InTagName||this.state===i.BeforeAttributeName||this.state===i.BeforeAttributeValue||this.state===i.AfterAttributeName||this.state===i.InAttributeName||this.state===i.InAttributeValueSq||this.state===i.InAttributeValueDq||this.state===i.InAttributeValueNq||this.state===i.InClosingTagName||this.cbs.ontext(this.sectionStart,e)},t.prototype.emitPartial=function(e,n){this.baseState!==i.Text&&this.baseState!==i.InSpecialTag?this.cbs.onattribdata(e,n):this.cbs.ontext(e,n)},t.prototype.emitCodePoint=function(e){this.baseState!==i.Text&&this.baseState!==i.InSpecialTag?this.cbs.onattribentity(e):this.cbs.ontextentity(e)},t})();c.default=y})(m.__exports)),m.__exports}exports.__require=N;
|
|
2
2
|
//# sourceMappingURL=index.cjs664.js.map
|
package/dist/index.cjs665.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index.cjs736.js");var a;function u(){return a||(a=1,(function(i){Object.defineProperty(i,"__esModule",{value:!0}),i.Doctype=i.CDATA=i.Tag=i.Style=i.Script=i.Comment=i.Directive=i.Text=i.Root=i.isTag=i.ElementType=void 0;var t;(function(c){c.Root="root",c.Text="text",c.Directive="directive",c.Comment="comment",c.Script="script",c.Style="style",c.Tag="tag",c.CDATA="cdata",c.Doctype="doctype"})(t=i.ElementType||(i.ElementType={}));function n(c){return c.type===t.Tag||c.type===t.Script||c.type===t.Style}i.isTag=n,i.Root=t.Root,i.Text=t.Text,i.Directive=t.Directive,i.Comment=t.Comment,i.Script=t.Script,i.Style=t.Style,i.Tag=t.Tag,i.CDATA=t.CDATA,i.Doctype=t.Doctype})(e.__exports)),e.__exports}exports.__require=u;
|
|
2
2
|
//# sourceMappingURL=index.cjs665.js.map
|
package/dist/index.cjs666.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("./index.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("./index.cjs737.js"),d=require("./index.cjs738.js"),l=require("./index.cjs739.js"),s=require("./index.cjs740.js"),b=require("./index.cjs741.js"),q=require("./index.cjs742.js"),g=require("./index.cjs743.js"),m=require("./index.cjs744.js"),y=require("./index.cjs663.js");var a;function O(){return a||(a=1,(function(e){var f=u.__exports&&u.__exports.__createBinding||(Object.create?(function(_,n,r,t){t===void 0&&(t=r);var o=Object.getOwnPropertyDescriptor(n,r);(!o||("get"in o?!n.__esModule:o.writable||o.configurable))&&(o={enumerable:!0,get:function(){return n[r]}}),Object.defineProperty(_,t,o)}):(function(_,n,r,t){t===void 0&&(t=r),_[t]=n[r]})),i=u.__exports&&u.__exports.__exportStar||function(_,n){for(var r in _)r!=="default"&&!Object.prototype.hasOwnProperty.call(n,r)&&f(n,_,r)};Object.defineProperty(e,"__esModule",{value:!0}),e.hasChildren=e.isDocument=e.isComment=e.isText=e.isCDATA=e.isTag=void 0,i(d.__require(),e),i(l.__require(),e),i(s.__require(),e),i(b.__require(),e),i(q.__require(),e),i(g.__require(),e),i(m.__require(),e);var c=y.__require();Object.defineProperty(e,"isTag",{enumerable:!0,get:function(){return c.isTag}}),Object.defineProperty(e,"isCDATA",{enumerable:!0,get:function(){return c.isCDATA}}),Object.defineProperty(e,"isText",{enumerable:!0,get:function(){return c.isText}}),Object.defineProperty(e,"isComment",{enumerable:!0,get:function(){return c.isComment}}),Object.defineProperty(e,"isDocument",{enumerable:!0,get:function(){return c.isDocument}}),Object.defineProperty(e,"hasChildren",{enumerable:!0,get:function(){return c.hasChildren}})})(u.__exports)),u.__exports}exports.__require=O;
|
|
2
2
|
//# sourceMappingURL=index.cjs666.js.map
|
package/dist/index.cjs671.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const k=require("./index.cjs670.js"),P=require("./index.cjs673.js"),D=require("./index.cjs679.js"),q=require("./index.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const k=require("./index.cjs670.js"),P=require("./index.cjs673.js"),D=require("./index.cjs679.js"),q=require("./index.cjs721.js");var y,v;function E(){if(v)return y;v=1;let h=k.__require(),p=P.__require(),R=D.__require(),{isClean:x,my:d}=q.__require(),l,m,O,a;function w(s){return s.map(e=>(e.nodes&&(e.nodes=w(e.nodes)),delete e.source,e))}function g(s){if(s[x]=!1,s.proxyOf.nodes)for(let e of s.proxyOf.nodes)g(e)}class f extends R{get first(){if(this.proxyOf.nodes)return this.proxyOf.nodes[0]}get last(){if(this.proxyOf.nodes)return this.proxyOf.nodes[this.proxyOf.nodes.length-1]}append(...e){for(let t of e){let r=this.normalize(t,this.last);for(let i of r)this.proxyOf.nodes.push(i)}return this.markDirty(),this}cleanRaws(e){if(super.cleanRaws(e),this.nodes)for(let t of this.nodes)t.cleanRaws(e)}each(e){if(!this.proxyOf.nodes)return;let t=this.getIterator(),r,i;for(;this.indexes[t]<this.proxyOf.nodes.length&&(r=this.indexes[t],i=e(this.proxyOf.nodes[r],r),i!==!1);)this.indexes[t]+=1;return delete this.indexes[t],i}every(e){return this.nodes.every(e)}getIterator(){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;let e=this.lastEach;return this.indexes[e]=0,e}getProxyProcessor(){return{get(e,t){return t==="proxyOf"?e:e[t]?t==="each"||typeof t=="string"&&t.startsWith("walk")?(...r)=>e[t](...r.map(i=>typeof i=="function"?(n,o)=>i(n.toProxy(),o):i)):t==="every"||t==="some"?r=>e[t]((i,...n)=>r(i.toProxy(),...n)):t==="root"?()=>e.root().toProxy():t==="nodes"?e.nodes.map(r=>r.toProxy()):t==="first"||t==="last"?e[t].toProxy():e[t]:e[t]},set(e,t,r){return e[t]===r||(e[t]=r,(t==="name"||t==="params"||t==="selector")&&e.markDirty()),!0}}}index(e){return typeof e=="number"?e:(e.proxyOf&&(e=e.proxyOf),this.proxyOf.nodes.indexOf(e))}insertAfter(e,t){let r=this.index(e),i=this.normalize(t,this.proxyOf.nodes[r]).reverse();r=this.index(e);for(let o of i)this.proxyOf.nodes.splice(r+1,0,o);let n;for(let o in this.indexes)n=this.indexes[o],r<n&&(this.indexes[o]=n+i.length);return this.markDirty(),this}insertBefore(e,t){let r=this.index(e),i=r===0?"prepend":!1,n=this.normalize(t,this.proxyOf.nodes[r],i).reverse();r=this.index(e);for(let u of n)this.proxyOf.nodes.splice(r,0,u);let o;for(let u in this.indexes)o=this.indexes[u],r<=o&&(this.indexes[u]=o+n.length);return this.markDirty(),this}normalize(e,t){if(typeof e=="string")e=w(m(e).nodes);else if(typeof e>"u")e=[];else if(Array.isArray(e)){e=e.slice(0);for(let i of e)i.parent&&i.parent.removeChild(i,"ignore")}else if(e.type==="root"&&this.type!=="document"){e=e.nodes.slice(0);for(let i of e)i.parent&&i.parent.removeChild(i,"ignore")}else if(e.type)e=[e];else if(e.prop){if(typeof e.value>"u")throw new Error("Value field is missed in node creation");typeof e.value!="string"&&(e.value=String(e.value)),e=[new p(e)]}else if(e.selector||e.selectors)e=[new a(e)];else if(e.name)e=[new l(e)];else if(e.text)e=[new h(e)];else throw new Error("Unknown node type in node creation");return e.map(i=>(i[d]||f.rebuild(i),i=i.proxyOf,i.parent&&i.parent.removeChild(i),i[x]&&g(i),i.raws||(i.raws={}),typeof i.raws.before>"u"&&t&&typeof t.raws.before<"u"&&(i.raws.before=t.raws.before.replace(/\S/g,"")),i.parent=this.proxyOf,i))}prepend(...e){e=e.reverse();for(let t of e){let r=this.normalize(t,this.first,"prepend").reverse();for(let i of r)this.proxyOf.nodes.unshift(i);for(let i in this.indexes)this.indexes[i]=this.indexes[i]+r.length}return this.markDirty(),this}push(e){return e.parent=this,this.proxyOf.nodes.push(e),this}removeAll(){for(let e of this.proxyOf.nodes)e.parent=void 0;return this.proxyOf.nodes=[],this.markDirty(),this}removeChild(e){e=this.index(e),this.proxyOf.nodes[e].parent=void 0,this.proxyOf.nodes.splice(e,1);let t;for(let r in this.indexes)t=this.indexes[r],t>=e&&(this.indexes[r]=t-1);return this.markDirty(),this}replaceValues(e,t,r){return r||(r=t,t={}),this.walkDecls(i=>{t.props&&!t.props.includes(i.prop)||t.fast&&!i.value.includes(t.fast)||(i.value=i.value.replace(e,r))}),this.markDirty(),this}some(e){return this.nodes.some(e)}walk(e){return this.each((t,r)=>{let i;try{i=e(t,r)}catch(n){throw t.addToError(n)}return i!==!1&&t.walk&&(i=t.walk(e)),i})}walkAtRules(e,t){return t?e instanceof RegExp?this.walk((r,i)=>{if(r.type==="atrule"&&e.test(r.name))return t(r,i)}):this.walk((r,i)=>{if(r.type==="atrule"&&r.name===e)return t(r,i)}):(t=e,this.walk((r,i)=>{if(r.type==="atrule")return t(r,i)}))}walkComments(e){return this.walk((t,r)=>{if(t.type==="comment")return e(t,r)})}walkDecls(e,t){return t?e instanceof RegExp?this.walk((r,i)=>{if(r.type==="decl"&&e.test(r.prop))return t(r,i)}):this.walk((r,i)=>{if(r.type==="decl"&&r.prop===e)return t(r,i)}):(t=e,this.walk((r,i)=>{if(r.type==="decl")return t(r,i)}))}walkRules(e,t){return t?e instanceof RegExp?this.walk((r,i)=>{if(r.type==="rule"&&e.test(r.selector))return t(r,i)}):this.walk((r,i)=>{if(r.type==="rule"&&r.selector===e)return t(r,i)}):(t=e,this.walk((r,i)=>{if(r.type==="rule")return t(r,i)}))}}return f.registerParse=s=>{m=s},f.registerRule=s=>{a=s},f.registerAtRule=s=>{l=s},f.registerRoot=s=>{O=s},y=f,f.default=f,f.rebuild=s=>{s.type==="atrule"?Object.setPrototypeOf(s,l.prototype):s.type==="rule"?Object.setPrototypeOf(s,a.prototype):s.type==="decl"?Object.setPrototypeOf(s,p.prototype):s.type==="comment"?Object.setPrototypeOf(s,h.prototype):s.type==="root"&&Object.setPrototypeOf(s,O.prototype),s[d]=!0,s.nodes&&s.nodes.forEach(e=>{f.rebuild(e)})},y}exports.__require=E;
|
|
2
2
|
//# sourceMappingURL=index.cjs671.js.map
|
package/dist/index.cjs672.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const _=require("./index.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const _=require("./index.cjs722.js"),q=require("./index.cjs723.js");var d,S;function v(){if(S)return d;S=1;let g=_.__require(),m=q;class h extends Error{constructor(t,n,i,r,l,a){super(t),this.name="CssSyntaxError",this.reason=t,l&&(this.file=l),r&&(this.source=r),a&&(this.plugin=a),typeof n<"u"&&typeof i<"u"&&(typeof n=="number"?(this.line=n,this.column=i):(this.line=n.line,this.column=n.column,this.endLine=i.line,this.endColumn=i.column)),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,h)}setMessage(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"<css input>",typeof this.line<"u"&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason}showSourceCode(t){if(!this.source)return"";let n=this.source;t==null&&(t=g.isColorSupported);let i=e=>e,r=e=>e,l=e=>e;if(t){let{bold:e,gray:c,red:o}=g.createColors(!0);r=s=>e(o(s)),i=s=>c(s),m&&(l=s=>m(s))}let a=n.split(/\r?\n/),f=Math.max(this.line-3,0),p=Math.min(this.line+2,a.length),y=String(p).length;return a.slice(f,p).map((e,c)=>{let o=f+1+c,s=" "+(" "+o).slice(-y)+" | ";if(o===this.line){if(e.length>160){let u=20,b=Math.max(0,this.column-u),C=Math.max(this.column+u,this.endColumn+u),E=e.slice(b,C),M=i(s.replace(/\d/g," "))+e.slice(0,Math.min(this.column-1,u-1)).replace(/[^\t]/g," ");return r(">")+i(s)+l(E)+`
|
|
2
2
|
`+M+r("^")}let x=i(s.replace(/\d/g," "))+e.slice(0,this.column-1).replace(/[^\t]/g," ");return r(">")+i(s)+l(e)+`
|
|
3
3
|
`+x+r("^")}return" "+i(s)+l(e)}).join(`
|
|
4
4
|
`)}toString(){let t=this.showSourceCode();return t&&(t=`
|
package/dist/index.cjs675.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const d=require("./index.cjs669.js"),y=require("./index.cjs670.js"),w=require("./index.cjs673.js"),S=require("./index.cjs676.js"),v=require("./index.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const d=require("./index.cjs669.js"),y=require("./index.cjs670.js"),w=require("./index.cjs673.js"),S=require("./index.cjs676.js"),v=require("./index.cjs724.js"),O=require("./index.cjs683.js"),R=require("./index.cjs684.js");var n,p;function J(){if(p)return n;p=1;let _=d.__require(),a=y.__require(),s=w.__require(),c=S.__require(),f=v.__require(),q=O.__require(),m=R.__require();function u(o,i){if(Array.isArray(o))return o.map(r=>u(r));let{inputs:l,...e}=o;if(l){i=[];for(let r of l){let t={...r,__proto__:c.prototype};t.map&&(t.map={...t.map,__proto__:f.prototype}),i.push(t)}}if(e.nodes&&(e.nodes=o.nodes.map(r=>u(r,i))),e.source){let{inputId:r,...t}=e.source;e.source=t,r!=null&&(e.source.input=i[r])}if(e.type==="root")return new q(e);if(e.type==="decl")return new s(e);if(e.type==="rule")return new m(e);if(e.type==="comment")return new a(e);if(e.type==="atrule")return new _(e);throw new Error("Unknown node type: "+o.type)}return n=u,u.default=u,n}exports.__require=J;
|
|
2
2
|
//# sourceMappingURL=index.cjs675.js.map
|
package/dist/index.cjs676.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const A=require("./index.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const A=require("./index.cjs725.js"),g=require("./index.cjs723.js"),P=require("./index.cjs672.js"),R=require("./index.cjs724.js");var v,_;function E(){if(_)return v;_=1;let{nanoid:F}=A.__require(),{isAbsolute:S,resolve:x}=g,{SourceMapConsumer:q,SourceMapGenerator:O}=g,{fileURLToPath:w,pathToFileURL:d}=g,y=P.__require(),T=R.__require(),C=g,b=Symbol("lineToIndexCache"),M=!!(q&&O),I=!!(x&&S);function L(a){if(a[b])return a[b];let i=a.css.split(`
|
|
2
2
|
`),e=new Array(i.length),t=0;for(let n=0,o=i.length;n<o;n++)e[n]=t,t+=i[n].length+1;return a[b]=e,e}class p{get from(){return this.file||this.id}constructor(i,e={}){if(i===null||typeof i>"u"||typeof i=="object"&&!i.toString)throw new Error(`PostCSS received ${i} instead of CSS string`);if(this.css=i.toString(),this.css[0]==="\uFEFF"||this.css[0]===""?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,this.document=this.css,e.document&&(this.document=e.document.toString()),e.from&&(!I||/^\w+:\/\//.test(e.from)||S(e.from)?this.file=e.from:this.file=x(e.from)),I&&M){let t=new T(this.css,e);if(t.text){this.map=t;let n=t.consumer().file;!this.file&&n&&(this.file=this.mapResolve(n))}}this.file||(this.id="<input css "+F(6)+">"),this.map&&(this.map.file=this.from)}error(i,e,t,n={}){let o,r,f,s,u;if(e&&typeof e=="object"){let h=e,m=t;if(typeof h.offset=="number"){s=h.offset;let c=this.fromOffset(s);e=c.line,t=c.col}else e=h.line,t=h.column,s=this.fromLineAndColumn(e,t);if(typeof m.offset=="number"){f=m.offset;let c=this.fromOffset(f);r=c.line,o=c.col}else r=m.line,o=m.column,f=this.fromLineAndColumn(m.line,m.column)}else if(t)s=this.fromLineAndColumn(e,t);else{s=e;let h=this.fromOffset(s);e=h.line,t=h.col}let l=this.origin(e,t,r,o);return l?u=new y(i,l.endLine===void 0?l.line:{column:l.column,line:l.line},l.endLine===void 0?l.column:{column:l.endColumn,line:l.endLine},l.source,l.file,n.plugin):u=new y(i,r===void 0?e:{column:t,line:e},r===void 0?t:{column:o,line:r},this.css,this.file,n.plugin),u.input={column:t,endColumn:o,endLine:r,endOffset:f,line:e,offset:s,source:this.css},this.file&&(d&&(u.input.url=d(this.file).toString()),u.input.file=this.file),u}fromLineAndColumn(i,e){return L(this)[i-1]+e-1}fromOffset(i){let e=L(this),t=e[e.length-1],n=0;if(i>=t)n=e.length-1;else{let o=e.length-2,r;for(;n<o;)if(r=n+(o-n>>1),i<e[r])o=r-1;else if(i>=e[r+1])n=r+1;else{n=r;break}}return{col:i-e[n]+1,line:n+1}}mapResolve(i){return/^\w+:\/\//.test(i)?i:x(this.map.consumer().sourceRoot||this.map.root||".",i)}origin(i,e,t,n){if(!this.map)return!1;let o=this.map.consumer(),r=o.originalPositionFor({column:e,line:i});if(!r.source)return!1;let f;typeof t=="number"&&(f=o.originalPositionFor({column:n,line:t}));let s;S(r.source)?s=d(r.source):s=new URL(r.source,this.map.consumer().sourceRoot||d(this.map.mapFile));let u={column:r.column,endColumn:f&&f.column,endLine:f&&f.line,line:r.line,url:s.toString()};if(s.protocol==="file:")if(w)u.file=w(s);else throw new Error("file: protocol is not available in this PostCSS build");let l=o.sourceContentFor(r.source);return l&&(u.source=l),u}toJSON(){let i={};for(let e of["hasBOM","css","file","id"])this[e]!=null&&(i[e]=this[e]);return this.map&&(i.map={...this.map},i.map.consumerCache&&(i.map.consumerCache=void 0)),i}}return v=p,p.default=p,C&&C.registerInput&&C.registerInput(p),v}exports.__require=E;
|
|
3
3
|
//# sourceMappingURL=index.cjs676.js.map
|