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Es4S,EAAar+N,KACrCk8N,oBAAoBh0X,EAAE83J,GAAYq+N,EAAYr+N,IAGhD,GAAGs+N,EAAsBA,EAAQpC,oBAClC,CAEA,IADGiC,GAA4BA,EAA2BlvZ,GACrD2O,EAAIwgZ,EAAShuZ,OAAQwN,IACzB4+Y,EAAU4B,EAASxgZ,GAChBs+Y,oBAAoBn2S,EAAEg4S,EAAiBvB,IAAYuB,EAAgBvB,IACrEuB,EAAgBvB,GAAS,KAE1BuB,EAAgBvB,GAAW,CAC5B,EAIG+B,EAAqBz+N,KAA8B,wBAAIA,KAA8B,yBAAK,GAC9Fy+N,EAAmBlnZ,QAAQ6mZ,EAAqBloZ,KAAK,KAAM,IAC3DuoZ,EAAmBprZ,KAAO+qZ,EAAqBloZ,KAAK,KAAMuoZ,EAAmBprZ,KAAK6C,KAAKuoZ,4TCnEvF,MAAMr5Y,EAAY4jB,SAAS89B,eAAe,SAC7B+oU,EAAAA,EAAAA,GAAWzqX,GAEnBupD,QACHzpD,EAAAA,EAAAA,MAACyxK,EAAAA,EAAoB,CAACC,aAAW,EAAA5xK,SAAA,EAC/BH,EAAAA,EAAAA,KAAC65Y,EAAAA,GAAW,KACZ75Y,EAAAA,EAAAA,KAACotX,EAAAA,GAAa,CAAAjtX,UACZE,EAAAA,EAAAA,MAACwgG,EAAAA,EAAU,CAAA1gG,SAAA,EACTH,EAAAA,EAAAA,KAAA,QAAM2a,KAAK,4DAA4DywQ,IAAI,gBAC3EprR,EAAAA,EAAAA,KAAA,QAAMorR,IAAI,aAAazwQ,KAAK,4CAC5B3a,EAAAA,EAAAA,KAACkgG,EAAAA,EAAW,CAAA//F,UACVH,EAAAA,EAAAA,KAAC85Y,EAAAA,GAAG","sources":["../node_modules/@tanstack/query-core/src/logger.ts","../node_modules/@tanstack/query-core/src/removable.ts","../node_modules/@tanstack/query-core/src/query.ts","../node_modules/@tanstack/query-core/src/queryCache.ts","../node_modules/@tanstack/query-core/src/mutation.ts","../node_modules/@tanstack/query-core/src/mutationCache.ts","../node_modules/@tanstack/query-core/src/infiniteQueryBehavior.ts","../node_modules/@tanstack/query-core/src/queryClient.ts","assets/api/WrapperClient.ts","views/Pages/Authorization/ChangePassword/Desktop/Components/ChangePasswordFormDesktop.tsx","views/Pages/Authorization/ChangePassword/Desktop/Components/ChangePasswordImageWindow.tsx","views/Pages/Authorization/ChangePassword/Desktop/ChangePasswordDesktop.tsx","views/Pages/Authorization/ChangePassword/Mobile/MobileComponent/ChangePasswordFormMobile.tsx","views/Pages/Authorization/ChangePassword/Mobile/MobileComponent/ChangePasswordMobileTopHeader.tsx","views/Pages/Authorization/ChangePassword/Mobile/ChangePasswordMobile.tsx","views/Pages/Authorization/ChangePassword/ChangePassword.tsx","views/Pages/Authorization/CreatePassword/Desktop/Components/CreatePasswordFormDesktop.tsx","views/Pages/Authorization/CreatePassword/Desktop/Components/CreatePasswordImageWindow.tsx","views/Pages/Authorization/CreatePassword/Desktop/CreatePasswordDesktop.tsx","views/Pages/Authorization/CreatePassword/Mobile/MobileComponent/CreatePasswordFormMobile.tsx","views/Pages/Authorization/CreatePassword/Mobile/MobileComponent/CreatePasswordMobileTopHeader.tsx","views/Pages/Authorization/CreatePassword/Mobile/CreatePasswordMobile.tsx","views/Pages/Authorization/CreatePassword/CreatePassword.tsx","../node_modules/@mui/icons-material/esm/VisibilityOff.js","../node_modules/@mui/icons-material/esm/Visibility.js","../node_modules/qrcode.react/lib/esm/index.js","views/Pages/Authorization/Login/TwoSetup.tsx","views/Pages/Authorization/Login/Desktop/Components/LoginFormDesktop.tsx","views/Pages/Authorization/Login/Desktop/Components/LoginImageWIndow.tsx","views/Pages/Authorization/Login/Desktop/LoginDesktop.tsx","views/Pages/Authorization/Login/Mobile/MobileComponent/LoginFormMobile.tsx","views/Pages/Authorization/Login/Mobile/MobileComponent/LoginMobileTopHeader.tsx","views/Pages/Authorization/Login/Mobile/LoginMobile.tsx","views/Pages/Authorization/Login/Login.tsx","views/Pages/Authorization/Reset/Desktop/Components/ResetFormDesktop.tsx","views/Pages/Authorization/Reset/Desktop/Components/ResetImageWIndow.tsx","views/Pages/Authorization/Reset/Desktop/ResetDesktop.tsx","views/Pages/Authorization/Reset/Mobile/MobileComponent/ResetFormMobile.tsx","views/Pages/Authorization/Reset/Mobile/MobileComponent/ResetMobileTopHeader.tsx","views/Pages/Authorization/Reset/Mobile/ResetMobile.tsx","views/Pages/Authorization/Reset/Reset.tsx","views/Pages/Flows/JobFlowCoach/index.tsx","../node_modules/@mui/icons-material/esm/LocationOn.js","views/Pages/Flows/JobFlowProvider/Components/AcceptModal.tsx","views/Pages/Flows/JobFlowProvider/Components/CoachCard.tsx","views/Pages/Flows/JobFlowProvider/index.tsx","assets/img/brand/logo-text-dark.svg","views/Pages/Flows/LandingFlow/Pages/Availability.tsx","views/Pages/Flows/LandingFlow/Pages/CoachProfile.tsx","../node_modules/@mui/icons-material/esm/ViewAgenda.js","../node_modules/@mui/icons-material/esm/EventAvailable.js","../node_modules/@mui/icons-material/esm/Feedback.js","../node_modules/@mui/material/ListItemAvatar/listItemAvatarClasses.js","../node_modules/@mui/material/ListItemAvatar/ListItemAvatar.js","views/Pages/Flows/LandingFlow/Pages/Explanation.tsx","views/Pages/Flows/LandingFlow/Pages/GuardianAvailabilities.tsx","views/Pages/Flows/LandingFlow/Pages/GuardianLessons.tsx","views/Pages/Flows/LandingFlow/Components/EditForm.tsx","views/Pages/Flows/LandingFlow/Pages/GuardianPersonalDetails.tsx","views/Pages/Flows/LandingFlow/Pages/PersonalDetails.tsx","views/Pages/Flows/LandingFlow/Pages/SchoolDetails.tsx","views/Pages/Flows/LandingFlow/Pages/StudentDetails.tsx","views/Pages/Flows/LandingFlow/Pages/TutoringQuestions.tsx","../node_modules/@mui/icons-material/esm/SupervisorAccount.js","views/Pages/Flows/LandingFlow/Pages/Welcome.tsx","views/Pages/Flows/LandingFlow/index.tsx","views/Pages/Flows/SignupFlowCoaches/Pages/Contract/DualContractView.tsx","views/Pages/Flows/SignupFlowCoaches/UserStore.jsx","views/Pages/Flows/SignupFlowCoaches/Pages/Contract/Signature.jsx","views/Pages/Flows/SignupFlowCoaches/Pages/Contract/Contract.tsx","../node_modules/@mui/icons-material/esm/Savings.js","../node_modules/@mui/icons-material/esm/PeopleAlt.js","views/Pages/Flows/SignupFlowCoaches/Pages/FinishPage/FinishPage.jsx","views/Pages/Flows/SignupFlowCoaches/Pages/Paspoort/popup/Popup.jsx","views/Pages/Flows/SignupFlowCoaches/Pages/Paspoort/Paspoort.jsx","../node_modules/libphonenumber-js/metadata.mobile.json.js","../node_modules/libphonenumber-js/source/helpers/isObject.js","../node_modules/libphonenumber-js/source/normalizeArguments.js","../node_modules/libphonenumber-js/source/constants.js","../node_modules/libphonenumber-js/source/ParseError.js","../node_modules/libphonenumber-js/source/tools/semver-compare.js","../node_modules/libphonenumber-js/source/metadata.js","../node_modules/libphonenumber-js/source/helpers/extension/createExtensionPattern.js","../node_modules/libphonenumber-js/source/helpers/isViablePhoneNumber.js","../node_modules/libphonenumber-js/source/helpers/extension/extractExtension.js","../node_modules/libphonenumber-js/source/helpers/parseDigits.js","../node_modules/libphonenumber-js/source/parseIncompletePhoneNumber.js","../node_modules/libphonenumber-js/source/helpers/checkNumberLength.js","../node_modules/libphonenumber-js/source/helpers/mergeArrays.js","../node_modules/libphonenumber-js/source/isPossible.js","../node_modules/libphonenumber-js/source/helpers/matchesEntirely.js","../node_modules/libphonenumber-js/source/helpers/getNumberType.js","../node_modules/libphonenumber-js/source/helpers/getPossibleCountriesForNumber.js","../node_modules/libphonenumber-js/source/helpers/formatNationalNumberUsingFormat.js","../node_modules/libphonenumber-js/source/helpers/applyInternationalSeparatorStyle.js","../node_modules/libphonenumber-js/source/helpers/getIddPrefix.js","../node_modules/libphonenumber-js/source/format.js","../node_modules/libphonenumber-js/source/helpers/RFC3966.js","../node_modules/libphonenumber-js/source/PhoneNumber.js","../node_modules/libphonenumber-js/source/isValid.js","../node_modules/libphonenumber-js/source/helpers/stripIddPrefix.js","../node_modules/libphonenumber-js/source/helpers/extractNationalNumber.js","../node_modules/libphonenumber-js/source/helpers/extractNationalNumberFromPossiblyIncompleteNumber.js","../node_modules/libphonenumber-js/source/helpers/extractCountryCallingCode.js","../node_modules/libphonenumber-js/source/helpers/extractCountryCallingCodeFromInternationalNumberWithoutPlusSign.js","../node_modules/libphonenumber-js/source/helpers/getCountryByCallingCode.js","../node_modules/libphonenumber-js/source/helpers/getCountryByNationalNumber.js","../node_modules/libphonenumber-js/source/helpers/extractPhoneContext.js","../node_modules/libphonenumber-js/source/helpers/extractFormattedPhoneNumberFromPossibleRfc3966NumberUri.js","../node_modules/libphonenumber-js/source/parse.js","../node_modules/libphonenumber-js/source/parsePhoneNumber_.js","../node_modules/libphonenumber-js/source/parsePhoneNumberWithError_.js","../node_modules/libphonenumber-js/source/isValidPhoneNumber.js","../node_modules/libphonenumber-js/mobile/exports/isValidPhoneNumber.js","../node_modules/libphonenumber-js/mobile/exports/withMetadataArgument.js","views/Pages/Flows/SignupFlowCoaches/Pages/Persoonlijk/Persoonlijk.jsx","views/Pages/Flows/SignupFlowCoaches/Pages/School/Components/SubjectsPage.tsx","views/Pages/Flows/SignupFlowCoaches/Pages/School/School.tsx","views/Pages/Flows/SignupFlowCoaches/Pages/Startpage.jsx","views/Pages/Flows/SignupFlowCoaches/Pages/Voorkeuren/Voorkeuren.jsx","views/Pages/Flows/SignupFlowCoaches/index.tsx","functions/HelperFunctions/GenerateUUID.tsx","views/Pages/Flows/SignupFlowGuardian/Components/FooterButtons.tsx","views/Pages/Flows/SignupFlowGuardian/Components/PackageModal.tsx","views/Pages/Flows/SignupFlowGuardian/Components/PaymentModal.tsx","views/Pages/Flows/SignupFlowGuardian/Hooks/useGuardian.tsx","views/Pages/Flows/SignupFlowGuardian/Hooks/useProduct.tsx","views/Pages/Flows/SignupFlowGuardian/Pages/Models/errorChecks.tsx","views/Pages/Flows/SignupFlowGuardian/Pages/InformationPage.tsx","views/Pages/Flows/SignupFlowGuardian/Pages/Models/PackageCalculator.tsx","views/Pages/Flows/SignupFlowGuardian/Components/LessonSubjectCard.tsx","views/Pages/Flows/SignupFlowGuardian/Pages/LessonPreferences.tsx","views/Pages/Flows/SignupFlowGuardian/Pages/PaymentMethodPageOld.tsx","views/Pages/Flows/SignupFlowGuardian/Components/PackageCardMobile.tsx","views/Pages/Flows/SignupFlowGuardian/Pages/PersonalAdvice.tsx","views/Pages/Flows/SignupFlowGuardian/Pages/SchedulePage.tsx","views/Pages/Flows/SignupFlowGuardian/Pages/SubjectsPage.tsx","views/Pages/Flows/SignupFlowGuardian/Pages/Models/packages.tsx","views/Pages/Flows/SignupFlowGuardian/Components/SummaryDesktop.tsx","views/Pages/Flows/SignupFlowGuardian/Pages/SummaryPage.tsx","views/Pages/Flows/SignupFlowGuardian/Pages/ThankYouPage.tsx","views/Pages/Flows/SignupFlowGuardian/routes.js","views/Pages/Flows/SignupFlowGuardian/index.tsx","views/Pages/Maintenance/Maintenance.tsx","views/PortalShared/Payment/hooks/usePaymentState.tsx","App.tsx","assets/api/core/ApiError.ts","assets/api/core/BaseHttpRequest.ts","../node_modules/@babel/runtime/helpers/esm/classPrivateFieldLooseBase.js","../node_modules/@babel/runtime/helpers/esm/classPrivateFieldLooseKey.js","assets/api/core/CancelablePromise.ts","assets/api/core/request.ts","assets/api/core/AxiosHttpRequest.ts","assets/api/services/AccordationService.ts","assets/api/services/AuthService.ts","assets/api/services/BundlesService.ts","assets/api/services/CoachesService.ts","assets/api/services/DeclarationsService.ts","assets/api/services/DefaultService.ts","assets/api/services/DefaultTariffService.ts","assets/api/services/ExternalService.ts","assets/api/services/FacturationService.ts","assets/api/services/FlagsService.ts","assets/api/services/FspService.ts","assets/api/services/GuardiansService.ts","assets/api/services/LabelsService.ts","assets/api/services/LessonsService.ts","assets/api/services/LogsService.ts","assets/api/services/MatcherService.ts","assets/api/services/NotesService.ts","assets/api/services/OrdersService.ts","assets/api/services/PipesService.ts","assets/api/services/ProductsService.ts","assets/api/services/PushNotificationsService.ts","assets/api/services/SearchService.ts","assets/api/services/SeleniumService.ts","assets/api/services/ShiftsService.ts","assets/api/services/SPCoachesService.ts","assets/api/services/SPCompetencesService.ts","assets/api/services/SPJobsService.ts","assets/api/services/SPProvidersService.ts","assets/api/services/SPSectorsService.ts","assets/api/services/StubsService.ts","assets/api/services/SupportService.ts","assets/api/services/TagsService.ts","assets/api/services/TasksService.ts","assets/api/services/WebhooksService.ts","assets/api/AppClient.ts","assets/api/models/ActivityStatus.ts","assets/api/models/AllCoachCancelCodes.ts","assets/api/models/CalendarEntryStatusEnum.ts","assets/api/models/CurrentStudyLevelCoachEnum.ts","assets/api/models/DisputeCategory.ts","assets/api/models/EnumBundleStatus.ts","assets/api/models/EnumDeclarationReviewStatus.ts","assets/api/models/EnumOrderType.ts","assets/api/models/EnumPaymentStatus.ts","assets/api/models/GenderEnum.ts","assets/api/models/JobImportType.ts","assets/api/models/JobMatchStatusEnum.ts","assets/api/models/JobStatusEnum.ts","assets/api/models/NoteTypeEnum.ts","assets/api/models/OrderByJobsEnum.ts","assets/api/models/OrderByProvidersEnum.ts","assets/api/models/ProductType.ts","assets/api/models/Provinces.ts","assets/api/models/SalaryTypeEnum.ts","assets/api/models/schemas__disciplines__SchoolLevelEnum.ts","assets/api/models/SchoolLevelCoachEnum.ts","assets/api/models/SchoolLevelEnum_Output.ts","assets/api/models/StubType.ts","assets/api/models/TagTypeEnum.ts","assets/api/models/TaskStatus.ts","components/Elements/Card/index.tsx","components/Elements/Forms/Inputs.tsx","components/Elements/ProgressSpinner.tsx","../node_modules/@mui/icons-material/esm/CheckCircleRounded.js","components/Functional/Availability/AvailabilityGrid/index.tsx","components/Functional/Availability/AvailabilityGrid_V2/Components/AvailabilityGridHeader.tsx","components/Functional/Availability/AvailabilityGrid_V2/Components/AvailabilityGridRaster.tsx","components/Functional/Availability/AvailabilityGrid_V2/index.tsx","components/Functional/Buttons/UploadButton.tsx","functions/location.js","components/Functional/Lists/LocationList/Componets/LocationItem.tsx","components/Functional/Lists/LocationList/index.tsx","components/Functional/Select/SchoolLevelSelect.tsx","components/Templates/Pages/CustomModal/index.tsx","functions/HelperFunctions/Regex.jsx","functions/HelperFunctions/dataUrlToBlob.tsx","functions/HelperFunctions/stringOps.tsx","functions/Hooks/useDeviceDetect.tsx","functions/Hooks/useLabel.tsx","functions/Hooks/useNav.tsx","functions/Hooks/useProductsStore.tsx","functions/Hooks/useUser.tsx","functions/Hooks/validateEmailSendGrid.tsx","../node_modules/i18next-http-backend/esm/utils.js","../node_modules/i18next-http-backend/esm/request.js","../node_modules/i18next-http-backend/esm/index.js","../node_modules/html-parse-stringify/src/parse-tag.js","../node_modules/html-parse-stringify/src/parse.js","../node_modules/html-parse-stringify/src/stringify.js","../node_modules/html-parse-stringify/src/index.js","../node_modules/react-i18next/dist/es/utils.js","../node_modules/react-i18next/dist/es/unescape.js","../node_modules/react-i18next/dist/es/defaults.js","../node_modules/react-i18next/dist/es/i18nInstance.js","../node_modules/react-i18next/dist/es/TransWithoutContext.js","../node_modules/react-i18next/dist/es/initReactI18next.js","../node_modules/react-i18next/dist/es/context.js","../node_modules/react-i18next/dist/es/Trans.js","../node_modules/react-i18next/dist/es/index.js","i18n.tsx","theme-constants/LottieJson.ts","theme-constants/Colors.ts","theme.tsx","views/PortalShared/CollectionPayment/Components/CollectionPaymentCard.tsx","views/PortalShared/CollectionPayment/Components/CollectionPaymentHeader.tsx","views/PortalShared/CollectionPayment/CollectionPaymentPage.tsx","views/PortalShared/InvoicePayment/Components/InvoicePaymentCard.tsx","views/PortalShared/InvoicePayment/Components/InvoicePaymentHeader.tsx","views/PortalShared/InvoicePayment/InvoicePaymentPage.tsx","views/PortalShared/Payment/Components/PaymentStatusPage/PaymentFailedCard.tsx","views/PortalShared/Payment/Components/PaymentStatusPage/PaymentSuccesCard.tsx","views/PortalShared/Payment/Components/PaymentStatusPage/PaymentStatusPage.tsx","../node_modules/@emotion/sheet/dist/emotion-sheet.esm.js","../node_modules/stylis/src/Utility.js","../node_modules/stylis/src/Tokenizer.js","../node_modules/stylis/src/Enum.js","../node_modules/stylis/src/Serializer.js","../node_modules/stylis/src/Parser.js","../node_modules/@emotion/cache/dist/emotion-cache.browser.esm.js","../node_modules/stylis/src/Middleware.js","../node_modules/@emotion/memoize/dist/emotion-memoize.esm.js","../node_modules/@emotion/react/dist/emotion-element-5486c51c.browser.esm.js","../node_modules/@emotion/react/dist/emotion-react.browser.esm.js","../node_modules/@emotion/unitless/dist/emotion-unitless.esm.js","../node_modules/@emotion/serialize/dist/emotion-serialize.esm.js","../node_modules/@emotion/hash/dist/emotion-hash.esm.js","../node_modules/@emotion/use-insertion-effect-with-fallbacks/dist/emotion-use-insertion-effect-with-fallbacks.browser.esm.js","../node_modules/@emotion/utils/dist/emotion-utils.browser.esm.js","../node_modules/@mui/base/node_modules/@mui/utils/esm/extractEventHandlers/extractEventHandlers.js","../node_modules/@mui/base/node_modules/@mui/utils/esm/setRef/setRef.js","../node_modules/@mui/base/node_modules/@mui/utils/esm/useForkRef/useForkRef.js","../node_modules/@mui/base/node_modules/@mui/utils/esm/isHostComponent/isHostComponent.js","../node_modules/@mui/base/node_modules/@mui/utils/esm/appendOwnerState/appendOwnerState.js","../node_modules/@mui/base/node_modules/@mui/utils/esm/omitEventHandlers/omitEventHandlers.js","../node_modules/@mui/base/node_modules/@mui/utils/esm/mergeSlotProps/mergeSlotProps.js","../node_modules/@mui/base/node_modules/@mui/utils/esm/resolveComponentProps/resolveComponentProps.js","../node_modules/@mui/base/node_modules/@mui/utils/esm/useSlotProps/useSlotProps.js","../node_modules/@mui/base/utils/resolveComponentProps.js","../node_modules/@mui/icons-material/AccessTime.js","../node_modules/@mui/icons-material/Autorenew.js","../node_modules/@mui/icons-material/Check.js","../node_modules/@mui/icons-material/Close.js","../node_modules/@mui/icons-material/ContactMail.js","../node_modules/@mui/icons-material/Delete.js","../node_modules/@mui/icons-material/Done.js","../node_modules/@mui/icons-material/Info.js","../node_modules/@mui/icons-material/LocationOn.js","../node_modules/@mui/icons-material/Mail.js","../node_modules/@mui/icons-material/PermIdentity.js","../node_modules/@mui/icons-material/Phone.js","../node_modules/@mui/icons-material/Undo.js","../node_modules/@mui/icons-material/Upload.js","../node_modules/@mui/icons-material/esm/AccountCircle.js","../node_modules/@mui/icons-material/esm/Add.js","../node_modules/@mui/icons-material/esm/ArrowDropDown.js","../node_modules/@mui/icons-material/esm/Badge.js","../node_modules/@mui/icons-material/esm/Call.js","../node_modules/@mui/icons-material/esm/Check.js","../node_modules/@mui/icons-material/esm/ChevronLeft.js","../node_modules/@mui/icons-material/esm/Close.js","../node_modules/@mui/icons-material/esm/Dashboard.js","../node_modules/@mui/icons-material/esm/Edit.js","../node_modules/@mui/icons-material/esm/Event.js","../node_modules/@mui/icons-material/esm/Help.js","../node_modules/@mui/icons-material/esm/Lens.js","../node_modules/@mui/icons-material/esm/MyLocation.js","../node_modules/@mui/icons-material/esm/Person.js","../node_modules/@mui/icons-material/esm/Place.js","../node_modules/@mui/icons-material/esm/Schedule.js","../node_modules/@mui/icons-material/esm/School.js","../node_modules/@mui/icons-material/esm/Upload.js","../node_modules/@mui/icons-material/esm/Warning.js","../node_modules/@mui/icons-material/utils/createSvgIcon.js","../node_modules/@mui/lab/LoadingButton/loadingButtonClasses.js","../node_modules/@mui/lab/LoadingButton/LoadingButton.js","../node_modules/@mui/lab/Timeline/timelineClasses.js","../node_modules/@mui/lab/Timeline/Timeline.js","../node_modules/@mui/lab/Timeline/TimelineContext.js","../node_modules/@mui/lab/TimelineConnector/timelineConnectorClasses.js","../node_modules/@mui/lab/TimelineConnector/TimelineConnector.js","../node_modules/@mui/lab/TimelineContent/TimelineContent.js","../node_modules/@mui/lab/TimelineContent/timelineContentClasses.js","../node_modules/@mui/lab/TimelineDot/timelineDotClasses.js","../node_modules/@mui/lab/TimelineDot/TimelineDot.js","../node_modules/@mui/lab/TimelineOppositeContent/timelineOppositeContentClasses.js","../node_modules/@mui/lab/TimelineItem/timelineItemClasses.js","../node_modules/@mui/lab/TimelineItem/TimelineItem.js","../node_modules/@mui/lab/TimelineSeparator/timelineSeparatorClasses.js","../node_modules/@mui/lab/TimelineSeparator/TimelineSeparator.js","../node_modules/@mui/lab/internal/convertTimelinePositionToClass.js","../node_modules/@mui/material/Alert/alertClasses.js","../node_modules/@mui/material/internal/svg-icons/SuccessOutlined.js","../node_modules/@mui/material/internal/svg-icons/ReportProblemOutlined.js","../node_modules/@mui/material/internal/svg-icons/ErrorOutline.js","../node_modules/@mui/material/internal/svg-icons/InfoOutlined.js","../node_modules/@mui/material/Alert/Alert.js","../node_modules/@mui/material/AppBar/appBarClasses.js","../node_modules/@mui/material/AppBar/AppBar.js","../node_modules/@mui/material/internal/svg-icons/Person.js","../node_modules/@mui/material/Avatar/Avatar.js","../node_modules/@mui/material/Avatar/avatarClasses.js","../node_modules/@mui/material/Backdrop/backdropClasses.js","../node_modules/@mui/material/Backdrop/Backdrop.js","../node_modules/@mui/material/Box/boxClasses.js","../node_modules/@mui/material/Box/Box.js","../node_modules/@mui/material/Button/buttonClasses.js","../node_modules/@mui/material/ButtonGroup/ButtonGroupButtonContext.js","../node_modules/@mui/material/Button/Button.js","../node_modules/@mui/material/ButtonBase/Ripple.js","../node_modules/@mui/material/ButtonBase/touchRippleClasses.js","../node_modules/@mui/material/ButtonBase/TouchRipple.js","../node_modules/@mui/material/ButtonBase/buttonBaseClasses.js","../node_modules/@mui/material/ButtonBase/ButtonBase.js","../node_modules/@mui/material/ButtonGroup/ButtonGroupContext.js","../node_modules/@mui/material/Card/cardClasses.js","../node_modules/@mui/material/Card/Card.js","../node_modules/@mui/material/CardActions/cardActionsClasses.js","../node_modules/@mui/material/CardActions/CardActions.js","../node_modules/@mui/material/CardContent/cardContentClasses.js","../node_modules/@mui/material/CardContent/CardContent.js","../node_modules/@mui/material/CardHeader/cardHeaderClasses.js","../node_modules/@mui/material/CardHeader/CardHeader.js","../node_modules/@mui/material/internal/svg-icons/CheckBoxOutlineBlank.js","../node_modules/@mui/material/internal/svg-icons/CheckBox.js","../node_modules/@mui/material/internal/svg-icons/IndeterminateCheckBox.js","../node_modules/@mui/material/Checkbox/Checkbox.js","../node_modules/@mui/material/Checkbox/checkboxClasses.js","../node_modules/@mui/material/internal/svg-icons/Cancel.js","../node_modules/@mui/material/Chip/chipClasses.js","../node_modules/@mui/material/Chip/Chip.js","../node_modules/@mui/material/CircularProgress/circularProgressClasses.js","../node_modules/@mui/material/CircularProgress/CircularProgress.js","../node_modules/@mui/material/Collapse/collapseClasses.js","../node_modules/@mui/material/Collapse/Collapse.js","../node_modules/@mui/material/Container/Container.js","../node_modules/@mui/material/CssBaseline/CssBaseline.js","../node_modules/@mui/material/DefaultPropsProvider/DefaultPropsProvider.js","../node_modules/@mui/material/Dialog/Dialog.js","../node_modules/@mui/material/Dialog/DialogContext.js","../node_modules/@mui/material/Dialog/dialogClasses.js","../node_modules/@mui/material/DialogActions/dialogActionsClasses.js","../node_modules/@mui/material/DialogActions/DialogActions.js","../node_modules/@mui/material/DialogContent/dialogContentClasses.js","../node_modules/@mui/material/DialogContent/DialogContent.js","../node_modules/@mui/material/DialogTitle/DialogTitle.js","../node_modules/@mui/material/DialogTitle/dialogTitleClasses.js","../node_modules/@mui/material/Divider/Divider.js","../node_modules/@mui/material/Divider/dividerClasses.js","../node_modules/@mui/material/Fab/fabClasses.js","../node_modules/@mui/material/Fab/Fab.js","../node_modules/@mui/material/Fade/Fade.js","../node_modules/@mui/material/FilledInput/FilledInput.js","../node_modules/@mui/material/FilledInput/filledInputClasses.js","../node_modules/@mui/material/FormControl/formControlClasses.js","../node_modules/@mui/material/FormControl/FormControl.js","../node_modules/@mui/material/FormControl/FormControlContext.js","../node_modules/@mui/material/FormControl/formControlState.js","../node_modules/@mui/material/FormControl/useFormControl.js","../node_modules/@mui/material/FormControlLabel/formControlLabelClasses.js","../node_modules/@mui/material/FormControlLabel/FormControlLabel.js","../node_modules/@mui/material/FormGroup/formGroupClasses.js","../node_modules/@mui/material/FormGroup/FormGroup.js","../node_modules/@mui/material/FormHelperText/formHelperTextClasses.js","../node_modules/@mui/material/FormHelperText/FormHelperText.js","../node_modules/@mui/material/FormLabel/FormLabel.js","../node_modules/@mui/material/FormLabel/formLabelClasses.js","../node_modules/@mui/system/esm/GlobalStyles/GlobalStyles.js","../node_modules/@mui/material/GlobalStyles/GlobalStyles.js","../node_modules/@mui/material/Grid/GridContext.js","../node_modules/@mui/material/Grid/gridClasses.js","../node_modules/@mui/material/Grid/Grid.js","../node_modules/@mui/material/Grow/Grow.js","../node_modules/@mui/material/IconButton/iconButtonClasses.js","../node_modules/@mui/material/IconButton/IconButton.js","../node_modules/@mui/material/Input/Input.js","../node_modules/@mui/material/Input/inputClasses.js","../node_modules/@mui/material/InputAdornment/inputAdornmentClasses.js","../node_modules/@mui/material/InputAdornment/InputAdornment.js","../node_modules/@mui/material/TextareaAutosize/TextareaAutosize.js","../node_modules/@mui/material/InputBase/InputBase.js","../node_modules/@mui/material/InputBase/inputBaseClasses.js","../node_modules/@mui/material/InputBase/utils.js","../node_modules/@mui/material/InputLabel/inputLabelClasses.js","../node_modules/@mui/material/InputLabel/InputLabel.js","../node_modules/@mui/material/LinearProgress/linearProgressClasses.js","../node_modules/@mui/material/LinearProgress/LinearProgress.js","../node_modules/@mui/material/Link/linkClasses.js","../node_modules/@mui/material/Link/getTextDecoration.js","../node_modules/@mui/material/Link/Link.js","../node_modules/@mui/material/List/listClasses.js","../node_modules/@mui/material/List/List.js","../node_modules/@mui/material/List/ListContext.js","../node_modules/@mui/material/ListItem/listItemClasses.js","../node_modules/@mui/material/ListItemSecondaryAction/listItemSecondaryActionClasses.js","../node_modules/@mui/material/ListItemSecondaryAction/ListItemSecondaryAction.js","../node_modules/@mui/material/ListItem/ListItem.js","../node_modules/@mui/material/ListItemButton/ListItemButton.js","../node_modules/@mui/material/ListItemButton/listItemButtonClasses.js","../node_modules/@mui/material/ListItemIcon/listItemIconClasses.js","../node_modules/@mui/material/ListItemText/ListItemText.js","../node_modules/@mui/material/ListItemText/listItemTextClasses.js","../node_modules/@mui/material/Menu/menuClasses.js","../node_modules/@mui/material/Menu/Menu.js","../node_modules/@mui/material/MenuItem/menuItemClasses.js","../node_modules/@mui/material/MenuItem/MenuItem.js","../node_modules/@mui/material/utils/getScrollbarSize.js","../node_modules/@mui/material/MenuList/MenuList.js","../node_modules/@mui/material/Modal/ModalManager.js","../node_modules/@mui/material/Modal/useModal.js","../node_modules/@mui/material/Modal/modalClasses.js","../node_modules/@mui/material/Modal/Modal.js","../node_modules/@mui/material/OutlinedInput/NotchedOutline.js","../node_modules/@mui/material/OutlinedInput/OutlinedInput.js","../node_modules/@mui/material/OutlinedInput/outlinedInputClasses.js","../node_modules/@mui/material/styles/getOverlayAlpha.js","../node_modules/@mui/material/Paper/paperClasses.js","../node_modules/@mui/material/Paper/Paper.js","../node_modules/@mui/material/Popover/popoverClasses.js","../node_modules/@mui/material/Popover/Popover.js","../node_modules/@popperjs/core/lib/dom-utils/getWindow.js","../node_modules/@popperjs/core/lib/dom-utils/instanceOf.js","../node_modules/@popperjs/core/lib/utils/math.js","../node_modules/@popperjs/core/lib/utils/userAgent.js","../node_modules/@popperjs/core/lib/dom-utils/isLayoutViewport.js","../node_modules/@popperjs/core/lib/dom-utils/getBoundingClientRect.js","../node_modules/@popperjs/core/lib/dom-utils/getWindowScroll.js","../node_modules/@popperjs/core/lib/dom-utils/getNodeName.js","../node_modules/@popperjs/core/lib/dom-utils/getDocumentElement.js","../node_modules/@popperjs/core/lib/dom-utils/getWindowScrollBarX.js","../node_modules/@popperjs/core/lib/dom-utils/getComputedStyle.js","../node_modules/@popperjs/core/lib/dom-utils/isScrollParent.js","../node_modules/@popperjs/core/lib/dom-utils/getCompositeRect.js","../node_modules/@popperjs/core/lib/dom-utils/getNodeScroll.js","../node_modules/@popperjs/core/lib/dom-utils/getHTMLElementScroll.js","../node_modules/@popperjs/core/lib/dom-utils/getLayoutRect.js","../node_modules/@popperjs/core/lib/dom-utils/getParentNode.js","../node_modules/@popperjs/core/lib/dom-utils/getScrollParent.js","../node_modules/@popperjs/core/lib/dom-utils/listScrollParents.js","../node_modules/@popperjs/core/lib/dom-utils/isTableElement.js","../node_modules/@popperjs/core/lib/dom-utils/getOffsetParent.js","../node_modules/@popperjs/core/lib/enums.js","../node_modules/@popperjs/core/lib/utils/orderModifiers.js","../node_modules/@popperjs/core/lib/utils/debounce.js","../node_modules/@popperjs/core/lib/createPopper.js","../node_modules/@popperjs/core/lib/utils/mergeByName.js","../node_modules/@popperjs/core/lib/modifiers/eventListeners.js","../node_modules/@popperjs/core/lib/utils/getBasePlacement.js","../node_modules/@popperjs/core/lib/utils/getVariation.js","../node_modules/@popperjs/core/lib/utils/getMainAxisFromPlacement.js","../node_modules/@popperjs/core/lib/utils/computeOffsets.js","../node_modules/@popperjs/core/lib/modifiers/computeStyles.js","../node_modules/@popperjs/core/lib/modifiers/offset.js","../node_modules/@popperjs/core/lib/utils/getOppositePlacement.js","../node_modules/@popperjs/core/lib/utils/getOppositeVariationPlacement.js","../node_modules/@popperjs/core/lib/dom-utils/contains.js","../node_modules/@popperjs/core/lib/utils/rectToClientRect.js","../node_modules/@popperjs/core/lib/dom-utils/getClippingRect.js","../node_modules/@popperjs/core/lib/dom-utils/getViewportRect.js","../node_modules/@popperjs/core/lib/dom-utils/getDocumentRect.js","../node_modules/@popperjs/core/lib/utils/mergePaddingObject.js","../node_modules/@popperjs/core/lib/utils/getFreshSideObject.js","../node_modules/@popperjs/core/lib/utils/expandToHashMap.js","../node_modules/@popperjs/core/lib/utils/detectOverflow.js","../node_modules/@popperjs/core/lib/utils/within.js","../node_modules/@popperjs/core/lib/modifiers/preventOverflow.js","../node_modules/@popperjs/core/lib/utils/getAltAxis.js","../node_modules/@popperjs/core/lib/modifiers/arrow.js","../node_modules/@popperjs/core/lib/modifiers/hide.js","../node_modules/@popperjs/core/lib/popper.js","../node_modules/@popperjs/core/lib/modifiers/popperOffsets.js","../node_modules/@popperjs/core/lib/modifiers/applyStyles.js","../node_modules/@popperjs/core/lib/modifiers/flip.js","../node_modules/@popperjs/core/lib/utils/computeAutoPlacement.js","../node_modules/@mui/material/Popper/popperClasses.js","../node_modules/@mui/material/Popper/BasePopper.js","../node_modules/@mui/material/Popper/Popper.js","../node_modules/@mui/material/Portal/Portal.js","../node_modules/@mui/material/internal/svg-icons/RadioButtonUnchecked.js","../node_modules/@mui/material/internal/svg-icons/RadioButtonChecked.js","../node_modules/@mui/material/Radio/RadioButtonIcon.js","../node_modules/@mui/material/Radio/radioClasses.js","../node_modules/@mui/material/Radio/Radio.js","../node_modules/@mui/material/RadioGroup/useRadioGroup.js","../node_modules/@mui/material/RadioGroup/radioGroupClasses.js","../node_modules/@mui/material/RadioGroup/RadioGroup.js","../node_modules/@mui/material/RadioGroup/RadioGroupContext.js","../node_modules/@mui/material/NativeSelect/nativeSelectClasses.js","../node_modules/@mui/material/NativeSelect/NativeSelectInput.js","../node_modules/@mui/material/Select/selectClasses.js","../node_modules/@mui/material/Select/SelectInput.js","../node_modules/@mui/material/Select/Select.js","../node_modules/@mui/material/utils/areArraysEqual.js","../node_modules/@mui/material/Slider/useSlider.js","../node_modules/@mui/material/utils/shouldSpreadAdditionalProps.js","../node_modules/@mui/material/Slider/sliderClasses.js","../node_modules/@mui/material/Slider/Slider.js","../node_modules/@mui/material/Slider/SliderValueLabel.js","../node_modules/@mui/material/Stack/Stack.js","../node_modules/@mui/material/SvgIcon/svgIconClasses.js","../node_modules/@mui/material/SvgIcon/SvgIcon.js","../node_modules/@mui/material/TextField/textFieldClasses.js","../node_modules/@mui/material/TextField/TextField.js","../node_modules/@mui/material/Typography/typographyClasses.js","../node_modules/@mui/material/Typography/Typography.js","../node_modules/@mui/material/Unstable_TrapFocus/FocusTrap.js","../node_modules/@mui/material/colors/red.js","../node_modules/@mui/material/internal/switchBaseClasses.js","../node_modules/@mui/material/internal/SwitchBase.js","../node_modules/@mui/material/internal/svg-icons/ArrowDropDown.js","../node_modules/@mui/material/internal/svg-icons/Close.js","../node_modules/@mui/private-theming/ThemeProvider/ThemeProvider.js","../node_modules/@mui/system/esm/ThemeProvider/ThemeProvider.js","../node_modules/@mui/material/styles/ThemeProvider.js","../node_modules/@mui/material/colors/common.js","../node_modules/@mui/material/colors/grey.js","../node_modules/@mui/material/colors/purple.js","../node_modules/@mui/material/colors/orange.js","../node_modules/@mui/material/colors/blue.js","../node_modules/@mui/material/colors/lightBlue.js","../node_modules/@mui/material/colors/green.js","../node_modules/@mui/material/styles/createPalette.js","../node_modules/@mui/material/styles/shadows.js","../node_modules/@mui/material/styles/zIndex.js","../node_modules/@mui/material/styles/createTheme.js","../node_modules/@mui/material/styles/createMixins.js","../node_modules/@mui/material/styles/createTransitions.js","../node_modules/@mui/material/styles/createTypography.js","../node_modules/@mui/material/styles/defaultTheme.js","../node_modules/@mui/material/styles/identifier.js","../node_modules/@mui/material/styles/rootShouldForwardProp.js","../node_modules/@mui/material/styles/slotShouldForwardProp.js","../node_modules/@mui/material/styles/styled.js","../node_modules/@mui/material/styles/useTheme.js","../node_modules/@mui/material/styles/useThemeProps.js","../node_modules/@mui/material/transitions/utils.js","../node_modules/@mui/material/utils/capitalize.js","../node_modules/@mui/material/utils/createChainedFunction.js","../node_modules/@mui/material/utils/createSvgIcon.js","../node_modules/@mui/material/utils/debounce.js","../node_modules/@mui/material/utils/deprecatedPropType.js","../node_modules/@mui/utils/esm/deprecatedPropType/deprecatedPropType.js","../node_modules/@mui/material/utils/requirePropFactory.js","../node_modules/@mui/utils/esm/requirePropFactory/requirePropFactory.js","../node_modules/@mui/material/utils/setRef.js","../node_modules/@mui/material/utils/unsupportedProp.js","../node_modules/@mui/utils/esm/unsupportedProp/unsupportedProp.js","../node_modules/@mui/material/utils/index.js","../node_modules/@mui/material/utils/isMuiElement.js","../node_modules/@mui/utils/esm/isMuiElement/isMuiElement.js","../node_modules/@mui/material/utils/ownerDocument.js","../node_modules/@mui/material/utils/ownerWindow.js","../node_modules/@mui/material/utils/useControlled.js","../node_modules/@mui/material/utils/useEnhancedEffect.js","../node_modules/@mui/material/utils/useEventCallback.js","../node_modules/@mui/material/utils/useForkRef.js","../node_modules/@mui/material/utils/useId.js","../node_modules/@mui/material/utils/useIsFocusVisible.js","../node_modules/@mui/material/utils/useSlot.js","../node_modules/@mui/private-theming/ThemeProvider/nested.js","../node_modules/@mui/private-theming/useTheme/ThemeContext.js","../node_modules/@mui/private-theming/useTheme/useTheme.js","../node_modules/@mui/styled-engine/GlobalStyles/GlobalStyles.js","../node_modules/@mui/styled-engine/StyledEngineProvider/StyledEngineProvider.js","../node_modules/@emotion/is-prop-valid/dist/emotion-is-prop-valid.esm.js","../node_modules/@emotion/styled/base/dist/emotion-styled-base.browser.esm.js","../node_modules/@emotion/styled/dist/emotion-styled.browser.esm.js","../node_modules/@mui/styled-engine/index.js","../node_modules/is-in-browser/dist/module.js","../node_modules/@babel/runtime/helpers/esm/typeof.js","../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js","../node_modules/@babel/runtime/helpers/esm/toPrimitive.js","../node_modules/@babel/runtime/helpers/esm/createClass.js","../node_modules/jss/dist/jss.esm.js","../node_modules/@mui/styles/mergeClasses/mergeClasses.js","../node_modules/@mui/styles/makeStyles/multiKeyStore.js","../node_modules/@mui/styles/createGenerateClassName/createGenerateClassName.js","../node_modules/jss-plugin-rule-value-function/dist/jss-plugin-rule-value-function.esm.js","../node_modules/jss-plugin-global/dist/jss-plugin-global.esm.js","../node_modules/jss-plugin-nested/dist/jss-plugin-nested.esm.js","../node_modules/hyphenate-style-name/index.js","../node_modules/jss-plugin-camel-case/dist/jss-plugin-camel-case.esm.js","../node_modules/jss-plugin-default-unit/dist/jss-plugin-default-unit.esm.js","../node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js","../node_modules/@babel/runtime/helpers/esm/toConsumableArray.js","../node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js","../node_modules/@babel/runtime/helpers/esm/iterableToArray.js","../node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js","../node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js","../node_modules/css-vendor/dist/css-vendor.esm.js","../node_modules/jss-plugin-vendor-prefixer/dist/jss-plugin-vendor-prefixer.esm.js","../node_modules/jss-plugin-props-sort/dist/jss-plugin-props-sort.esm.js","../node_modules/@mui/styles/StylesProvider/StylesProvider.js","../node_modules/@mui/styles/jssPreset/jssPreset.js","../node_modules/@mui/styles/makeStyles/indexCounter.js","../node_modules/@mui/styles/propsToClassKey/propsToClassKey.js","../node_modules/@mui/styles/getStylesCreator/getStylesCreator.js","../node_modules/@mui/styles/getStylesCreator/noopTheme.js","../node_modules/@mui/styles/makeStyles/makeStyles.js","../node_modules/@mui/styles/useTheme/index.js","../node_modules/@mui/system/colorManipulator.js","../node_modules/@mui/system/createStyled.js","../node_modules/@mui/system/esm/Box/boxClasses.js","../node_modules/@mui/system/esm/Box/Box.js","../node_modules/@mui/system/esm/Container/Container.js","../node_modules/@mui/system/esm/Container/createContainer.js","../node_modules/@mui/system/esm/DefaultPropsProvider/DefaultPropsProvider.js","../node_modules/@mui/system/esm/RtlProvider/index.js","../node_modules/@mui/system/esm/Stack/createStack.js","../node_modules/@mui/system/esm/breakpoints.js","../node_modules/@mui/system/esm/colorManipulator.js","../node_modules/@mui/system/esm/createBox.js","../node_modules/@mui/system/esm/createTheme/applyStyles.js","../node_modules/@mui/system/esm/createTheme/createBreakpoints.js","../node_modules/@mui/system/esm/createTheme/shape.js","../node_modules/@mui/system/esm/createTheme/createTheme.js","../node_modules/@mui/system/esm/createTheme/createSpacing.js","../node_modules/@mui/system/esm/merge.js","../node_modules/@mui/system/esm/spacing.js","../node_modules/@mui/system/esm/memoize.js","../node_modules/@mui/system/esm/style.js","../node_modules/@mui/system/esm/compose.js","../node_modules/@mui/system/esm/borders.js","../node_modules/@mui/system/esm/cssGrid.js","../node_modules/@mui/system/esm/palette.js","../node_modules/@mui/system/esm/sizing.js","../node_modules/@mui/system/esm/styleFunctionSx/defaultSxConfig.js","../node_modules/@mui/system/esm/styleFunctionSx/extendSxProp.js","../node_modules/@mui/system/esm/styleFunctionSx/styleFunctionSx.js","../node_modules/@mui/system/esm/createStyled.js","../node_modules/@mui/system/esm/styled.js","../node_modules/@mui/system/esm/useMediaQuery/useMediaQuery.js","../node_modules/@mui/system/esm/useTheme.js","../node_modules/@mui/system/esm/useThemeProps/getThemeProps.js","../node_modules/@mui/system/esm/useThemeProps/useThemeProps.js","../node_modules/@mui/system/esm/useThemeWithoutDefault.js","../node_modules/@mui/system/useThemeWithoutDefault.js","../node_modules/@mui/utils/esm/ClassNameGenerator/ClassNameGenerator.js","../node_modules/@mui/utils/esm/appendOwnerState/appendOwnerState.js","../node_modules/@mui/utils/esm/capitalize/capitalize.js","../node_modules/@mui/utils/esm/clamp/clamp.js","../node_modules/@mui/utils/esm/composeClasses/composeClasses.js","../node_modules/@mui/utils/esm/createChainedFunction/createChainedFunction.js","../node_modules/@mui/utils/esm/debounce/debounce.js","../node_modules/@mui/utils/esm/deepmerge/deepmerge.js","../node_modules/@mui/utils/esm/extractEventHandlers/extractEventHandlers.js","../node_modules/@mui/utils/esm/formatMuiErrorMessage/formatMuiErrorMessage.js","../node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.js","../node_modules/@mui/utils/esm/generateUtilityClasses/generateUtilityClasses.js","../node_modules/@mui/utils/esm/getDisplayName/getDisplayName.js","../node_modules/@mui/utils/esm/getScrollbarSize/getScrollbarSize.js","../node_modules/@mui/utils/esm/isHostComponent/isHostComponent.js","../node_modules/@mui/utils/esm/omitEventHandlers/omitEventHandlers.js","../node_modules/@mui/utils/esm/mergeSlotProps/mergeSlotProps.js","../node_modules/@mui/utils/esm/ownerDocument/ownerDocument.js","../node_modules/@mui/utils/esm/ownerWindow/ownerWindow.js","../node_modules/@mui/utils/esm/refType/refType.js","../node_modules/@mui/utils/esm/resolveComponentProps/resolveComponentProps.js","../node_modules/@mui/utils/esm/resolveProps/resolveProps.js","../node_modules/@mui/utils/esm/setRef/setRef.js","../node_modules/@mui/utils/esm/useControlled/useControlled.js","../node_modules/@mui/utils/esm/useEnhancedEffect/useEnhancedEffect.js","../node_modules/@mui/utils/esm/useEventCallback/useEventCallback.js","../node_modules/@mui/utils/esm/useForkRef/useForkRef.js","../node_modules/@mui/utils/esm/useId/useId.js","../node_modules/@mui/utils/esm/useIsFocusVisible/useIsFocusVisible.js","../node_modules/@mui/utils/esm/useSlotProps/useSlotProps.js","../node_modules/@mui/utils/esm/useLazyRef/useLazyRef.js","../node_modules/@mui/utils/esm/useOnMount/useOnMount.js","../node_modules/@mui/utils/esm/useTimeout/useTimeout.js","../node_modules/@mui/utils/esm/visuallyHidden/visuallyHidden.js","../node_modules/@mui/x-date-pickers/AdapterMoment/AdapterMoment.js","../node_modules/@mui/x-date-pickers/DatePicker/datePickerToolbarClasses.js","../node_modules/@mui/x-date-pickers/DatePicker/DatePickerToolbar.js","../node_modules/@mui/x-date-pickers/DatePicker/shared.js","../node_modules/@mui/x-date-pickers/internals/utils/validation/validateDate.js","../node_modules/@mui/x-date-pickers/DateField/useDateField.js","../node_modules/@mui/x-date-pickers/DateField/DateField.js","../node_modules/@mui/x-date-pickers/DateCalendar/useIsDateDisabled.js","../node_modules/@mui/x-date-pickers/DateCalendar/useCalendarState.js","../node_modules/@mui/x-date-pickers/DateCalendar/pickersFadeTransitionGroupClasses.js","../node_modules/@mui/x-date-pickers/DateCalendar/PickersFadeTransitionGroup.js","../node_modules/@mui/x-date-pickers/PickersDay/pickersDayClasses.js","../node_modules/@mui/x-date-pickers/PickersDay/PickersDay.js","../node_modules/dom-helpers/esm/removeClass.js","../node_modules/react-transition-group/esm/CSSTransition.js","../node_modules/dom-helpers/esm/addClass.js","../node_modules/dom-helpers/esm/hasClass.js","../node_modules/@mui/x-date-pickers/DateCalendar/pickersSlideTransitionClasses.js","../node_modules/@mui/x-date-pickers/DateCalendar/PickersSlideTransition.js","../node_modules/@mui/x-date-pickers/DateCalendar/dayCalendarClasses.js","../node_modules/@mui/x-date-pickers/DateCalendar/DayCalendar.js","../node_modules/@mui/x-date-pickers/MonthCalendar/pickersMonthClasses.js","../node_modules/@mui/x-date-pickers/MonthCalendar/PickersMonth.js","../node_modules/@mui/x-date-pickers/MonthCalendar/monthCalendarClasses.js","../node_modules/@mui/x-date-pickers/MonthCalendar/MonthCalendar.js","../node_modules/@mui/x-date-pickers/YearCalendar/pickersYearClasses.js","../node_modules/@mui/x-date-pickers/YearCalendar/PickersYear.js","../node_modules/@mui/x-date-pickers/YearCalendar/yearCalendarClasses.js","../node_modules/@mui/x-date-pickers/YearCalendar/YearCalendar.js","../node_modules/@mui/x-date-pickers/PickersCalendarHeader/pickersCalendarHeaderClasses.js","../node_modules/@mui/x-date-pickers/PickersCalendarHeader/PickersCalendarHeader.js","../node_modules/@mui/x-date-pickers/DateCalendar/dateCalendarClasses.js","../node_modules/@mui/x-date-pickers/DateCalendar/DateCalendar.js","../node_modules/@mui/x-date-pickers/dateViewRenderers/dateViewRenderers.js","../node_modules/@mui/x-date-pickers/DesktopDatePicker/DesktopDatePicker.js","../node_modules/@mui/x-date-pickers/MobileDatePicker/MobileDatePicker.js","../node_modules/@mui/x-date-pickers/DatePicker/DatePicker.js","../node_modules/@mui/x-date-pickers/LocalizationProvider/LocalizationProvider.js","../node_modules/@mui/x-date-pickers/PickersLayout/pickersLayoutClasses.js","../node_modules/@mui/x-date-pickers/PickersActionBar/PickersActionBar.js","../node_modules/@mui/x-date-pickers/PickersShortcuts/PickersShortcuts.js","../node_modules/@mui/x-date-pickers/PickersLayout/usePickerLayout.js","../node_modules/@mui/x-date-pickers/PickersLayout/PickersLayout.js","../node_modules/@mui/x-date-pickers/hooks/useClearableField.js","../node_modules/@mui/x-date-pickers/icons/index.js","../node_modules/@mui/x-date-pickers/internals/components/PickerViewRoot/PickerViewRoot.js","../node_modules/@mui/x-date-pickers/internals/components/PickersArrowSwitcher/pickersArrowSwitcherClasses.js","../node_modules/@mui/x-date-pickers/internals/components/PickersArrowSwitcher/PickersArrowSwitcher.js","../node_modules/@mui/x-date-pickers/internals/components/PickersToolbar.js","../node_modules/@mui/x-date-pickers/internals/components/pickersToolbarClasses.js","../node_modules/@mui/x-date-pickers/internals/constants/dimensions.js","../node_modules/@mui/x-date-pickers/internals/hooks/date-helpers-hooks.js","../node_modules/@mui/x-date-pickers/internals/hooks/useDefaultReduceAnimations.js","../node_modules/@mui/x-date-pickers/internals/components/pickersPopperClasses.js","../node_modules/@mui/x-date-pickers/internals/components/PickersPopper.js","../node_modules/@mui/x-date-pickers/internals/hooks/useDesktopPicker/useDesktopPicker.js","../node_modules/@mui/x-date-pickers/internals/hooks/useField/useFieldState.js","../node_modules/@mui/x-date-pickers/internals/hooks/useField/useFieldCharacterEditing.js","../node_modules/@mui/x-date-pickers/internals/hooks/useField/useField.js","../node_modules/@mui/x-date-pickers/internals/hooks/useField/useField.utils.js","../node_modules/@mui/x-date-pickers/internals/components/PickersModalDialog.js","../node_modules/@mui/x-date-pickers/internals/hooks/useMobilePicker/useMobilePicker.js","../node_modules/@mui/x-date-pickers/internals/hooks/usePicker/usePickerValue.js","../node_modules/@mui/x-date-pickers/internals/hooks/useOpenState.js","../node_modules/@mui/x-date-pickers/internals/hooks/usePicker/usePickerViews.js","../node_modules/@mui/x-date-pickers/internals/hooks/useIsLandscape.js","../node_modules/@mui/x-date-pickers/internals/hooks/usePicker/usePickerLayoutProps.js","../node_modules/@mui/x-date-pickers/internals/hooks/usePicker/usePicker.js","../node_modules/@mui/x-date-pickers/internals/utils/warning.js","../node_modules/@mui/x-date-pickers/locales/utils/getPickersLocalization.js","../node_modules/@mui/x-date-pickers/locales/enUS.js","../node_modules/@mui/x-date-pickers/internals/hooks/useUtils.js","../node_modules/@mui/x-date-pickers/internals/hooks/useValidation.js","../node_modules/@mui/x-date-pickers/internals/hooks/useValueWithTimezone.js","../node_modules/@mui/x-date-pickers/internals/hooks/useViews.js","../node_modules/@mui/x-date-pickers/internals/utils/date-utils.js","../node_modules/@mui/x-date-pickers/internals/utils/fields.js","../node_modules/@mui/x-date-pickers/internals/utils/getDefaultReferenceDate.js","../node_modules/@mui/x-date-pickers/internals/utils/slots-migration.js","../node_modules/@mui/x-date-pickers/internals/utils/time-utils.js","../node_modules/@mui/x-date-pickers/internals/utils/utils.js","../node_modules/@mui/x-date-pickers/internals/utils/validation/extractValidationProps.js","../node_modules/@mui/x-date-pickers/internals/utils/valueManagers.js","../node_modules/@mui/x-date-pickers/internals/utils/views.js","../node_modules/axios/index.js","../node_modules/axios/lib/adapters/xhr.js","../node_modules/axios/lib/axios.js","../node_modules/axios/lib/cancel/Cancel.js","../node_modules/axios/lib/cancel/CancelToken.js","../node_modules/axios/lib/cancel/isCancel.js","../node_modules/axios/lib/core/Axios.js","../node_modules/axios/lib/core/InterceptorManager.js","../node_modules/axios/lib/core/buildFullPath.js","../node_modules/axios/lib/core/createError.js","../node_modules/axios/lib/core/dispatchRequest.js","../node_modules/axios/lib/core/enhanceError.js","../node_modules/axios/lib/core/mergeConfig.js","../node_modules/axios/lib/core/settle.js","../node_modules/axios/lib/core/transformData.js","../node_modules/axios/lib/defaults.js","../node_modules/axios/lib/env/data.js","../node_modules/axios/lib/helpers/bind.js","../node_modules/axios/lib/helpers/buildURL.js","../node_modules/axios/lib/helpers/combineURLs.js","../node_modules/axios/lib/helpers/cookies.js","../node_modules/axios/lib/helpers/isAbsoluteURL.js","../node_modules/axios/lib/helpers/isAxiosError.js","../node_modules/axios/lib/helpers/isURLSameOrigin.js","../node_modules/axios/lib/helpers/normalizeHeaderName.js","../node_modules/axios/lib/helpers/parseHeaders.js","../node_modules/axios/lib/helpers/spread.js","../node_modules/axios/lib/helpers/validator.js","../node_modules/axios/lib/utils.js","../node_modules/base64-js/index.js","../node_modules/buffer/index.js","../node_modules/events/events.js","../node_modules/form-data/lib/browser.js","../node_modules/resolve-pathname/esm/resolve-pathname.js","../node_modules/value-equal/esm/value-equal.js","../node_modules/history/esm/history.js","../node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js","../node_modules/hoist-non-react-statics/node_modules/react-is/cjs/react-is.production.min.js","../node_modules/hoist-non-react-statics/node_modules/react-is/index.js","../node_modules/ieee754/index.js","../node_modules/lottie-react/compiled/hooks/useLottie.js","../node_modules/lottie-react/compiled/hooks/useLottieInteractivity.js","../node_modules/lottie-react/compiled/components/Lottie.js","../node_modules/lottie-web/build/player/lottie.js","../node_modules/moment/locale/nl.js","../node_modules/moment/moment.js","../node_modules/notistack/node_modules/clsx/dist/clsx.m.js","../node_modules/goober/dist/goober.modern.js","../node_modules/src/SnackbarContext.ts","../node_modules/src/utils/index.ts","../node_modules/src/transitions/Transition/Transition.tsx","../node_modules/src/transitions/useForkRef.ts","../node_modules/src/transitions/getTransitionProps.ts","../node_modules/src/transitions/utils.ts","../node_modules/src/transitions/createTransition.ts","../node_modules/src/transitions/Slide/Slide.tsx","../node_modules/src/utils/defaultIconVariants.tsx","../node_modules/src/SnackbarProvider/merger.ts","../node_modules/src/utils/styles.ts","../node_modules/src/transitions/Collapse/Collapse.tsx","../node_modules/src/SnackbarItem/utils.ts","../node_modules/src/utils/createChainedFunction.ts","../node_modules/src/utils/useEventCallback.ts","../node_modules/src/SnackbarItem/Snackbar.tsx","../node_modules/src/SnackbarContent/SnackbarContent.tsx","../node_modules/src/ui/MaterialDesignContent/MaterialDesignContent.tsx","../node_modules/src/SnackbarProvider/SnackbarProvider.tsx","../node_modules/src/SnackbarItem/SnackbarItem.tsx","../node_modules/src/SnackbarContainer/SnackbarContainer.tsx","../node_modules/src/useSnackbar.ts","../node_modules/path-to-regexp/index.js","../node_modules/path-to-regexp/node_modules/isarray/index.js","../node_modules/process/browser.js","../node_modules/prop-types/factoryWithThrowingShims.js","../node_modules/prop-types/index.js","../node_modules/prop-types/lib/ReactPropTypesSecret.js","../node_modules/react-device-detect/dist/lib.js","../node_modules/react-dom/cjs/react-dom.production.min.js","../node_modules/react-dom/client.js","../node_modules/react-dom/index.js","../node_modules/react-gtm-module/dist/Snippets.js","../node_modules/react-gtm-module/dist/TagManager.js","../node_modules/react-gtm-module/dist/index.js","../node_modules/react-gtm-module/dist/utils/warn.js","../node_modules/react-is/cjs/react-is.production.min.js","../node_modules/react-is/index.js","../node_modules/react-router-dom/modules/BrowserRouter.js","../node_modules/react-router-dom/modules/HashRouter.js","../node_modules/react-router-dom/modules/utils/locationUtils.js","../node_modules/react-router-dom/modules/Link.js","../node_modules/react-router-dom/modules/NavLink.js","../node_modules/react-router/modules/miniCreateReactContext.js","../node_modules/react-router/modules/createContext.js","../node_modules/react-router/modules/createNamedContext.js","../node_modules/react-router/modules/HistoryContext.js","../node_modules/react-router/modules/RouterContext.js","../node_modules/react-router/modules/Router.js","../node_modules/react-router/modules/MemoryRouter.js","../node_modules/react-router/modules/Lifecycle.js","../node_modules/react-router/modules/generatePath.js","../node_modules/react-router/modules/Redirect.js","../node_modules/react-router/modules/matchPath.js","../node_modules/react-router/modules/Route.js","../node_modules/react-router/modules/StaticRouter.js","../node_modules/react-router/modules/Switch.js","../node_modules/react-router/modules/hooks.js","../node_modules/react-router/node_modules/react-is/cjs/react-is.production.min.js","../node_modules/react-router/node_modules/react-is/index.js","../node_modules/react-signature-canvas/build/index.js","../node_modules/react-transition-group/esm/config.js","../node_modules/react-transition-group/esm/Transition.js","../node_modules/react-transition-group/esm/utils/ChildMapping.js","../node_modules/react-transition-group/esm/TransitionGroup.js","../node_modules/react-transition-group/esm/TransitionGroupContext.js","../node_modules/react-transition-group/esm/utils/reflow.js","../node_modules/react/cjs/react-jsx-runtime.production.min.js","../node_modules/react/cjs/react.production.min.js","../node_modules/react/index.js","../node_modules/react/jsx-runtime.js","../node_modules/scheduler/cjs/scheduler.production.min.js","../node_modules/scheduler/index.js","../node_modules/trim-canvas/build/index.js","../node_modules/ua-parser-js/dist/ua-parser.min.js","../node_modules/void-elements/index.js","../node_modules/@babel/runtime/helpers/extends.js","../node_modules/@babel/runtime/helpers/interopRequireDefault.js","../node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js","../node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js","../node_modules/@babel/runtime/helpers/esm/extends.js","../node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js","../node_modules/@babel/runtime/helpers/esm/inheritsLoose.js","../node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js","../node_modules/@tanstack/query-core/src/focusManager.ts","../node_modules/@tanstack/query-core/src/notifyManager.ts","../node_modules/@tanstack/query-core/src/onlineManager.ts","../node_modules/@tanstack/query-core/src/retryer.ts","../node_modules/@tanstack/query-core/src/subscribable.ts","../node_modules/@tanstack/query-core/src/utils.ts","../node_modules/@tanstack/react-query/src/QueryClientProvider.tsx","../node_modules/clsx/dist/clsx.mjs","../node_modules/i18next/dist/esm/i18next.js","../node_modules/signature_pad/dist/signature_pad.mjs","../node_modules/tiny-invariant/dist/esm/tiny-invariant.js","../webpack/bootstrap","../webpack/runtime/amd options","../webpack/runtime/compat get default export","../webpack/runtime/create fake namespace object","../webpack/runtime/define property getters","../webpack/runtime/ensure chunk","../webpack/runtime/get javascript chunk filename","../webpack/runtime/get mini-css chunk filename","../webpack/runtime/global","../webpack/runtime/hasOwnProperty shorthand","../webpack/runtime/load script","../webpack/runtime/make namespace object","../webpack/runtime/node module decorator","../webpack/runtime/publicPath","../webpack/runtime/css loading","../webpack/runtime/jsonp chunk loading","index.tsx"],"sourcesContent":["export interface Logger {\n log: LogFunction\n warn: LogFunction\n error: LogFunction\n}\n\ntype LogFunction = (...args: any[]) => void\n\nexport const defaultLogger: Logger = console\n","import { isServer, isValidTimeout } from './utils'\n\nexport abstract class Removable {\n cacheTime!: number\n private gcTimeout?: ReturnType\n\n destroy(): void {\n this.clearGcTimeout()\n }\n\n protected scheduleGc(): void {\n this.clearGcTimeout()\n\n if (isValidTimeout(this.cacheTime)) {\n this.gcTimeout = setTimeout(() => {\n this.optionalRemove()\n }, this.cacheTime)\n }\n }\n\n protected updateCacheTime(newCacheTime: number | undefined): void {\n // Default to 5 minutes (Infinity for server-side) if no cache time is set\n this.cacheTime = Math.max(\n this.cacheTime || 0,\n newCacheTime ?? (isServer ? Infinity : 5 * 60 * 1000),\n )\n }\n\n protected clearGcTimeout() {\n if (this.gcTimeout) {\n clearTimeout(this.gcTimeout)\n this.gcTimeout = undefined\n }\n }\n\n protected abstract optionalRemove(): void\n}\n","import { getAbortController, noop, replaceData, timeUntilStale } from './utils'\nimport { defaultLogger } from './logger'\nimport { notifyManager } from './notifyManager'\nimport { canFetch, createRetryer, isCancelledError } from './retryer'\nimport { Removable } from './removable'\nimport type {\n CancelOptions,\n FetchStatus,\n InitialDataFunction,\n QueryFunctionContext,\n QueryKey,\n QueryMeta,\n QueryOptions,\n QueryStatus,\n SetDataOptions,\n} from './types'\nimport type { QueryCache } from './queryCache'\nimport type { QueryObserver } from './queryObserver'\nimport type { Logger } from './logger'\nimport type { Retryer } from './retryer'\n\n// TYPES\n\ninterface QueryConfig<\n TQueryFnData,\n TError,\n TData,\n TQueryKey extends QueryKey = QueryKey,\n> {\n cache: QueryCache\n queryKey: TQueryKey\n queryHash: string\n logger?: Logger\n options?: QueryOptions\n defaultOptions?: QueryOptions\n state?: QueryState\n}\n\nexport interface QueryState {\n data: TData | undefined\n dataUpdateCount: number\n dataUpdatedAt: number\n error: TError | null\n errorUpdateCount: number\n errorUpdatedAt: number\n fetchFailureCount: number\n fetchFailureReason: TError | null\n fetchMeta: any\n isInvalidated: boolean\n status: QueryStatus\n fetchStatus: FetchStatus\n}\n\nexport interface FetchContext<\n TQueryFnData,\n TError,\n TData,\n TQueryKey extends QueryKey = QueryKey,\n> {\n fetchFn: () => unknown | Promise\n fetchOptions?: FetchOptions\n signal?: AbortSignal\n options: QueryOptions\n queryKey: TQueryKey\n state: QueryState\n}\n\nexport interface QueryBehavior<\n TQueryFnData = unknown,\n TError = unknown,\n TData = TQueryFnData,\n TQueryKey extends QueryKey = QueryKey,\n> {\n onFetch: (\n context: FetchContext,\n ) => void\n}\n\nexport interface FetchOptions {\n cancelRefetch?: boolean\n meta?: any\n}\n\ninterface FailedAction {\n type: 'failed'\n failureCount: number\n error: TError\n}\n\ninterface FetchAction {\n type: 'fetch'\n meta?: any\n}\n\ninterface SuccessAction {\n data: TData | undefined\n type: 'success'\n dataUpdatedAt?: number\n manual?: boolean\n}\n\ninterface ErrorAction {\n type: 'error'\n error: TError\n}\n\ninterface InvalidateAction {\n type: 'invalidate'\n}\n\ninterface PauseAction {\n type: 'pause'\n}\n\ninterface ContinueAction {\n type: 'continue'\n}\n\ninterface SetStateAction {\n type: 'setState'\n state: Partial>\n setStateOptions?: SetStateOptions\n}\n\nexport type Action =\n | ContinueAction\n | ErrorAction\n | FailedAction\n | FetchAction\n | InvalidateAction\n | PauseAction\n | SetStateAction\n | SuccessAction\n\nexport interface SetStateOptions {\n meta?: any\n}\n\n// CLASS\n\nexport class Query<\n TQueryFnData = unknown,\n TError = unknown,\n TData = TQueryFnData,\n TQueryKey extends QueryKey = QueryKey,\n> extends Removable {\n queryKey: TQueryKey\n queryHash: string\n options!: QueryOptions\n initialState: QueryState\n revertState?: QueryState\n state: QueryState\n isFetchingOptimistic?: boolean\n\n private cache: QueryCache\n private logger: Logger\n private promise?: Promise\n private retryer?: Retryer\n private observers: QueryObserver[]\n private defaultOptions?: QueryOptions\n private abortSignalConsumed: boolean\n\n constructor(config: QueryConfig) {\n super()\n\n this.abortSignalConsumed = false\n this.defaultOptions = config.defaultOptions\n this.setOptions(config.options)\n this.observers = []\n this.cache = config.cache\n this.logger = config.logger || defaultLogger\n this.queryKey = config.queryKey\n this.queryHash = config.queryHash\n this.initialState = config.state || getDefaultState(this.options)\n this.state = this.initialState\n this.scheduleGc()\n }\n\n get meta(): QueryMeta | undefined {\n return this.options.meta\n }\n\n private setOptions(\n options?: QueryOptions,\n ): void {\n this.options = { ...this.defaultOptions, ...options }\n\n this.updateCacheTime(this.options.cacheTime)\n }\n\n protected optionalRemove() {\n if (!this.observers.length && this.state.fetchStatus === 'idle') {\n this.cache.remove(this)\n }\n }\n\n setData(\n newData: TData,\n options?: SetDataOptions & { manual: boolean },\n ): TData {\n const data = replaceData(this.state.data, newData, this.options)\n\n // Set data and mark it as cached\n this.dispatch({\n data,\n type: 'success',\n dataUpdatedAt: options?.updatedAt,\n manual: options?.manual,\n })\n\n return data\n }\n\n setState(\n state: Partial>,\n setStateOptions?: SetStateOptions,\n ): void {\n this.dispatch({ type: 'setState', state, setStateOptions })\n }\n\n cancel(options?: CancelOptions): Promise {\n const promise = this.promise\n this.retryer?.cancel(options)\n return promise ? promise.then(noop).catch(noop) : Promise.resolve()\n }\n\n destroy(): void {\n super.destroy()\n\n this.cancel({ silent: true })\n }\n\n reset(): void {\n this.destroy()\n this.setState(this.initialState)\n }\n\n isActive(): boolean {\n return this.observers.some((observer) => observer.options.enabled !== false)\n }\n\n isDisabled(): boolean {\n return this.getObserversCount() > 0 && !this.isActive()\n }\n\n isStale(): boolean {\n return (\n this.state.isInvalidated ||\n !this.state.dataUpdatedAt ||\n this.observers.some((observer) => observer.getCurrentResult().isStale)\n )\n }\n\n isStaleByTime(staleTime = 0): boolean {\n return (\n this.state.isInvalidated ||\n !this.state.dataUpdatedAt ||\n !timeUntilStale(this.state.dataUpdatedAt, staleTime)\n )\n }\n\n onFocus(): void {\n const observer = this.observers.find((x) => x.shouldFetchOnWindowFocus())\n\n if (observer) {\n observer.refetch({ cancelRefetch: false })\n }\n\n // Continue fetch if currently paused\n this.retryer?.continue()\n }\n\n onOnline(): void {\n const observer = this.observers.find((x) => x.shouldFetchOnReconnect())\n\n if (observer) {\n observer.refetch({ cancelRefetch: false })\n }\n\n // Continue fetch if currently paused\n this.retryer?.continue()\n }\n\n addObserver(observer: QueryObserver): void {\n if (!this.observers.includes(observer)) {\n this.observers.push(observer)\n\n // Stop the query from being garbage collected\n this.clearGcTimeout()\n\n this.cache.notify({ type: 'observerAdded', query: this, observer })\n }\n }\n\n removeObserver(observer: QueryObserver): void {\n if (this.observers.includes(observer)) {\n this.observers = this.observers.filter((x) => x !== observer)\n\n if (!this.observers.length) {\n // If the transport layer does not support cancellation\n // we'll let the query continue so the result can be cached\n if (this.retryer) {\n if (this.abortSignalConsumed) {\n this.retryer.cancel({ revert: true })\n } else {\n this.retryer.cancelRetry()\n }\n }\n\n this.scheduleGc()\n }\n\n this.cache.notify({ type: 'observerRemoved', query: this, observer })\n }\n }\n\n getObserversCount(): number {\n return this.observers.length\n }\n\n invalidate(): void {\n if (!this.state.isInvalidated) {\n this.dispatch({ type: 'invalidate' })\n }\n }\n\n fetch(\n options?: QueryOptions,\n fetchOptions?: FetchOptions,\n ): Promise {\n if (this.state.fetchStatus !== 'idle') {\n if (this.state.dataUpdatedAt && fetchOptions?.cancelRefetch) {\n // Silently cancel current fetch if the user wants to cancel refetches\n this.cancel({ silent: true })\n } else if (this.promise) {\n // make sure that retries that were potentially cancelled due to unmounts can continue\n this.retryer?.continueRetry()\n // Return current promise if we are already fetching\n return this.promise\n }\n }\n\n // Update config if passed, otherwise the config from the last execution is used\n if (options) {\n this.setOptions(options)\n }\n\n // Use the options from the first observer with a query function if no function is found.\n // This can happen when the query is hydrated or created with setQueryData.\n if (!this.options.queryFn) {\n const observer = this.observers.find((x) => x.options.queryFn)\n if (observer) {\n this.setOptions(observer.options)\n }\n }\n\n if (process.env.NODE_ENV !== 'production') {\n if (!Array.isArray(this.options.queryKey)) {\n this.logger.error(\n `As of v4, queryKey needs to be an Array. If you are using a string like 'repoData', please change it to an Array, e.g. ['repoData']`,\n )\n }\n }\n\n const abortController = getAbortController()\n\n // Create query function context\n const queryFnContext: QueryFunctionContext = {\n queryKey: this.queryKey,\n pageParam: undefined,\n meta: this.meta,\n }\n\n // Adds an enumerable signal property to the object that\n // which sets abortSignalConsumed to true when the signal\n // is read.\n const addSignalProperty = (object: unknown) => {\n Object.defineProperty(object, 'signal', {\n enumerable: true,\n get: () => {\n if (abortController) {\n this.abortSignalConsumed = true\n return abortController.signal\n }\n return undefined\n },\n })\n }\n\n addSignalProperty(queryFnContext)\n\n // Create fetch function\n const fetchFn = () => {\n if (!this.options.queryFn) {\n return Promise.reject(\n `Missing queryFn for queryKey '${this.options.queryHash}'`,\n )\n }\n this.abortSignalConsumed = false\n return this.options.queryFn(queryFnContext)\n }\n\n // Trigger behavior hook\n const context: FetchContext = {\n fetchOptions,\n options: this.options,\n queryKey: this.queryKey,\n state: this.state,\n fetchFn,\n }\n\n addSignalProperty(context)\n\n this.options.behavior?.onFetch(context)\n\n // Store state in case the current fetch needs to be reverted\n this.revertState = this.state\n\n // Set to fetching state if not already in it\n if (\n this.state.fetchStatus === 'idle' ||\n this.state.fetchMeta !== context.fetchOptions?.meta\n ) {\n this.dispatch({ type: 'fetch', meta: context.fetchOptions?.meta })\n }\n\n const onError = (error: TError | { silent?: boolean }) => {\n // Optimistically update state if needed\n if (!(isCancelledError(error) && error.silent)) {\n this.dispatch({\n type: 'error',\n error: error as TError,\n })\n }\n\n if (!isCancelledError(error)) {\n // Notify cache callback\n this.cache.config.onError?.(error, this as Query)\n this.cache.config.onSettled?.(\n this.state.data,\n error,\n this as Query,\n )\n\n if (process.env.NODE_ENV !== 'production') {\n this.logger.error(error)\n }\n }\n\n if (!this.isFetchingOptimistic) {\n // Schedule query gc after fetching\n this.scheduleGc()\n }\n this.isFetchingOptimistic = false\n }\n\n // Try to fetch the data\n this.retryer = createRetryer({\n fn: context.fetchFn as () => TData,\n abort: abortController?.abort.bind(abortController),\n onSuccess: (data) => {\n if (typeof data === 'undefined') {\n if (process.env.NODE_ENV !== 'production') {\n this.logger.error(\n `Query data cannot be undefined. Please make sure to return a value other than undefined from your query function. Affected query key: ${this.queryHash}`,\n )\n }\n onError(new Error(`${this.queryHash} data is undefined`) as any)\n return\n }\n\n this.setData(data as TData)\n\n // Notify cache callback\n this.cache.config.onSuccess?.(data, this as Query)\n this.cache.config.onSettled?.(\n data,\n this.state.error,\n this as Query,\n )\n\n if (!this.isFetchingOptimistic) {\n // Schedule query gc after fetching\n this.scheduleGc()\n }\n this.isFetchingOptimistic = false\n },\n onError,\n onFail: (failureCount, error) => {\n this.dispatch({ type: 'failed', failureCount, error })\n },\n onPause: () => {\n this.dispatch({ type: 'pause' })\n },\n onContinue: () => {\n this.dispatch({ type: 'continue' })\n },\n retry: context.options.retry,\n retryDelay: context.options.retryDelay,\n networkMode: context.options.networkMode,\n })\n\n this.promise = this.retryer.promise\n\n return this.promise\n }\n\n private dispatch(action: Action): void {\n const reducer = (\n state: QueryState,\n ): QueryState => {\n switch (action.type) {\n case 'failed':\n return {\n ...state,\n fetchFailureCount: action.failureCount,\n fetchFailureReason: action.error,\n }\n case 'pause':\n return {\n ...state,\n fetchStatus: 'paused',\n }\n case 'continue':\n return {\n ...state,\n fetchStatus: 'fetching',\n }\n case 'fetch':\n return {\n ...state,\n fetchFailureCount: 0,\n fetchFailureReason: null,\n fetchMeta: action.meta ?? null,\n fetchStatus: canFetch(this.options.networkMode)\n ? 'fetching'\n : 'paused',\n ...(!state.dataUpdatedAt && {\n error: null,\n status: 'loading',\n }),\n }\n case 'success':\n return {\n ...state,\n data: action.data,\n dataUpdateCount: state.dataUpdateCount + 1,\n dataUpdatedAt: action.dataUpdatedAt ?? Date.now(),\n error: null,\n isInvalidated: false,\n status: 'success',\n ...(!action.manual && {\n fetchStatus: 'idle',\n fetchFailureCount: 0,\n fetchFailureReason: null,\n }),\n }\n case 'error':\n const error = action.error as unknown\n\n if (isCancelledError(error) && error.revert && this.revertState) {\n return { ...this.revertState, fetchStatus: 'idle' }\n }\n\n return {\n ...state,\n error: error as TError,\n errorUpdateCount: state.errorUpdateCount + 1,\n errorUpdatedAt: Date.now(),\n fetchFailureCount: state.fetchFailureCount + 1,\n fetchFailureReason: error as TError,\n fetchStatus: 'idle',\n status: 'error',\n }\n case 'invalidate':\n return {\n ...state,\n isInvalidated: true,\n }\n case 'setState':\n return {\n ...state,\n ...action.state,\n }\n }\n }\n\n this.state = reducer(this.state)\n\n notifyManager.batch(() => {\n this.observers.forEach((observer) => {\n observer.onQueryUpdate(action)\n })\n\n this.cache.notify({ query: this, type: 'updated', action })\n })\n }\n}\n\nfunction getDefaultState<\n TQueryFnData,\n TError,\n TData,\n TQueryKey extends QueryKey,\n>(\n options: QueryOptions,\n): QueryState {\n const data =\n typeof options.initialData === 'function'\n ? (options.initialData as InitialDataFunction)()\n : options.initialData\n\n const hasData = typeof data !== 'undefined'\n\n const initialDataUpdatedAt = hasData\n ? typeof options.initialDataUpdatedAt === 'function'\n ? (options.initialDataUpdatedAt as () => number | undefined)()\n : options.initialDataUpdatedAt\n : 0\n\n return {\n data,\n dataUpdateCount: 0,\n dataUpdatedAt: hasData ? initialDataUpdatedAt ?? Date.now() : 0,\n error: null,\n errorUpdateCount: 0,\n errorUpdatedAt: 0,\n fetchFailureCount: 0,\n fetchFailureReason: null,\n fetchMeta: null,\n isInvalidated: false,\n status: hasData ? 'success' : 'loading',\n fetchStatus: 'idle',\n }\n}\n","import { hashQueryKeyByOptions, matchQuery, parseFilterArgs } from './utils'\nimport { Query } from './query'\nimport { notifyManager } from './notifyManager'\nimport { Subscribable } from './subscribable'\nimport type { QueryFilters } from './utils'\nimport type { Action, QueryState } from './query'\nimport type { NotifyEvent, QueryKey, QueryOptions } from './types'\nimport type { QueryClient } from './queryClient'\nimport type { QueryObserver } from './queryObserver'\n\n// TYPES\n\ninterface QueryCacheConfig {\n onError?: (error: unknown, query: Query) => void\n onSuccess?: (data: unknown, query: Query) => void\n onSettled?: (\n data: unknown | undefined,\n error: unknown | null,\n query: Query,\n ) => void\n}\n\ninterface QueryHashMap {\n [hash: string]: Query\n}\n\ninterface NotifyEventQueryAdded extends NotifyEvent {\n type: 'added'\n query: Query\n}\n\ninterface NotifyEventQueryRemoved extends NotifyEvent {\n type: 'removed'\n query: Query\n}\n\ninterface NotifyEventQueryUpdated extends NotifyEvent {\n type: 'updated'\n query: Query\n action: Action\n}\n\ninterface NotifyEventQueryObserverAdded extends NotifyEvent {\n type: 'observerAdded'\n query: Query\n observer: QueryObserver\n}\n\ninterface NotifyEventQueryObserverRemoved extends NotifyEvent {\n type: 'observerRemoved'\n query: Query\n observer: QueryObserver\n}\n\ninterface NotifyEventQueryObserverResultsUpdated extends NotifyEvent {\n type: 'observerResultsUpdated'\n query: Query\n}\n\ninterface NotifyEventQueryObserverOptionsUpdated extends NotifyEvent {\n type: 'observerOptionsUpdated'\n query: Query\n observer: QueryObserver\n}\n\nexport type QueryCacheNotifyEvent =\n | NotifyEventQueryAdded\n | NotifyEventQueryRemoved\n | NotifyEventQueryUpdated\n | NotifyEventQueryObserverAdded\n | NotifyEventQueryObserverRemoved\n | NotifyEventQueryObserverResultsUpdated\n | NotifyEventQueryObserverOptionsUpdated\n\ntype QueryCacheListener = (event: QueryCacheNotifyEvent) => void\n\n// CLASS\n\nexport class QueryCache extends Subscribable {\n config: QueryCacheConfig\n\n private queries: Query[]\n private queriesMap: QueryHashMap\n\n constructor(config?: QueryCacheConfig) {\n super()\n this.config = config || {}\n this.queries = []\n this.queriesMap = {}\n }\n\n build(\n client: QueryClient,\n options: QueryOptions,\n state?: QueryState,\n ): Query {\n const queryKey = options.queryKey!\n const queryHash =\n options.queryHash ?? hashQueryKeyByOptions(queryKey, options)\n let query = this.get(queryHash)\n\n if (!query) {\n query = new Query({\n cache: this,\n logger: client.getLogger(),\n queryKey,\n queryHash,\n options: client.defaultQueryOptions(options),\n state,\n defaultOptions: client.getQueryDefaults(queryKey),\n })\n this.add(query)\n }\n\n return query\n }\n\n add(query: Query): void {\n if (!this.queriesMap[query.queryHash]) {\n this.queriesMap[query.queryHash] = query\n this.queries.push(query)\n this.notify({\n type: 'added',\n query,\n })\n }\n }\n\n remove(query: Query): void {\n const queryInMap = this.queriesMap[query.queryHash]\n\n if (queryInMap) {\n query.destroy()\n\n this.queries = this.queries.filter((x) => x !== query)\n\n if (queryInMap === query) {\n delete this.queriesMap[query.queryHash]\n }\n\n this.notify({ type: 'removed', query })\n }\n }\n\n clear(): void {\n notifyManager.batch(() => {\n this.queries.forEach((query) => {\n this.remove(query)\n })\n })\n }\n\n get<\n TQueryFnData = unknown,\n TError = unknown,\n TData = TQueryFnData,\n TQueryKey extends QueryKey = QueryKey,\n >(\n queryHash: string,\n ): Query | undefined {\n return this.queriesMap[queryHash]\n }\n\n getAll(): Query[] {\n return this.queries\n }\n\n find(\n arg1: QueryKey,\n arg2?: QueryFilters,\n ): Query | undefined {\n const [filters] = parseFilterArgs(arg1, arg2)\n\n if (typeof filters.exact === 'undefined') {\n filters.exact = true\n }\n\n return this.queries.find((query) => matchQuery(filters, query))\n }\n\n findAll(queryKey?: QueryKey, filters?: QueryFilters): Query[]\n findAll(filters?: QueryFilters): Query[]\n findAll(arg1?: QueryKey | QueryFilters, arg2?: QueryFilters): Query[]\n findAll(arg1?: QueryKey | QueryFilters, arg2?: QueryFilters): Query[] {\n const [filters] = parseFilterArgs(arg1, arg2)\n return Object.keys(filters).length > 0\n ? this.queries.filter((query) => matchQuery(filters, query))\n : this.queries\n }\n\n notify(event: QueryCacheNotifyEvent) {\n notifyManager.batch(() => {\n this.listeners.forEach(({ listener }) => {\n listener(event)\n })\n })\n }\n\n onFocus(): void {\n notifyManager.batch(() => {\n this.queries.forEach((query) => {\n query.onFocus()\n })\n })\n }\n\n onOnline(): void {\n notifyManager.batch(() => {\n this.queries.forEach((query) => {\n query.onOnline()\n })\n })\n }\n}\n","import { defaultLogger } from './logger'\nimport { notifyManager } from './notifyManager'\nimport { Removable } from './removable'\nimport { canFetch, createRetryer } from './retryer'\nimport type { MutationMeta, MutationOptions, MutationStatus } from './types'\nimport type { MutationCache } from './mutationCache'\nimport type { MutationObserver } from './mutationObserver'\nimport type { Logger } from './logger'\nimport type { Retryer } from './retryer'\n\n// TYPES\n\ninterface MutationConfig {\n mutationId: number\n mutationCache: MutationCache\n options: MutationOptions\n logger?: Logger\n defaultOptions?: MutationOptions\n state?: MutationState\n meta?: MutationMeta\n}\n\nexport interface MutationState<\n TData = unknown,\n TError = unknown,\n TVariables = void,\n TContext = unknown,\n> {\n context: TContext | undefined\n data: TData | undefined\n error: TError | null\n failureCount: number\n failureReason: TError | null\n isPaused: boolean\n status: MutationStatus\n variables: TVariables | undefined\n}\n\ninterface FailedAction {\n type: 'failed'\n failureCount: number\n error: TError | null\n}\n\ninterface LoadingAction {\n type: 'loading'\n variables?: TVariables\n context?: TContext\n}\n\ninterface SuccessAction {\n type: 'success'\n data: TData\n}\n\ninterface ErrorAction {\n type: 'error'\n error: TError\n}\n\ninterface PauseAction {\n type: 'pause'\n}\n\ninterface ContinueAction {\n type: 'continue'\n}\n\ninterface SetStateAction {\n type: 'setState'\n state: MutationState\n}\n\nexport type Action =\n | ContinueAction\n | ErrorAction\n | FailedAction\n | LoadingAction\n | PauseAction\n | SetStateAction\n | SuccessAction\n\n// CLASS\n\nexport class Mutation<\n TData = unknown,\n TError = unknown,\n TVariables = void,\n TContext = unknown,\n> extends Removable {\n state: MutationState\n options!: MutationOptions\n mutationId: number\n\n private observers: MutationObserver[]\n private defaultOptions?: MutationOptions\n private mutationCache: MutationCache\n private logger: Logger\n private retryer?: Retryer\n\n constructor(config: MutationConfig) {\n super()\n\n this.defaultOptions = config.defaultOptions\n this.mutationId = config.mutationId\n this.mutationCache = config.mutationCache\n this.logger = config.logger || defaultLogger\n this.observers = []\n this.state = config.state || getDefaultState()\n\n this.setOptions(config.options)\n this.scheduleGc()\n }\n\n setOptions(\n options?: MutationOptions,\n ): void {\n this.options = { ...this.defaultOptions, ...options }\n\n this.updateCacheTime(this.options.cacheTime)\n }\n\n get meta(): MutationMeta | undefined {\n return this.options.meta\n }\n\n setState(state: MutationState): void {\n this.dispatch({ type: 'setState', state })\n }\n\n addObserver(observer: MutationObserver): void {\n if (!this.observers.includes(observer)) {\n this.observers.push(observer)\n\n // Stop the mutation from being garbage collected\n this.clearGcTimeout()\n\n this.mutationCache.notify({\n type: 'observerAdded',\n mutation: this,\n observer,\n })\n }\n }\n\n removeObserver(observer: MutationObserver): void {\n this.observers = this.observers.filter((x) => x !== observer)\n\n this.scheduleGc()\n\n this.mutationCache.notify({\n type: 'observerRemoved',\n mutation: this,\n observer,\n })\n }\n\n protected optionalRemove() {\n if (!this.observers.length) {\n if (this.state.status === 'loading') {\n this.scheduleGc()\n } else {\n this.mutationCache.remove(this)\n }\n }\n }\n\n continue(): Promise {\n return this.retryer?.continue() ?? this.execute()\n }\n\n async execute(): Promise {\n const executeMutation = () => {\n this.retryer = createRetryer({\n fn: () => {\n if (!this.options.mutationFn) {\n return Promise.reject('No mutationFn found')\n }\n return this.options.mutationFn(this.state.variables!)\n },\n onFail: (failureCount, error) => {\n this.dispatch({ type: 'failed', failureCount, error })\n },\n onPause: () => {\n this.dispatch({ type: 'pause' })\n },\n onContinue: () => {\n this.dispatch({ type: 'continue' })\n },\n retry: this.options.retry ?? 0,\n retryDelay: this.options.retryDelay,\n networkMode: this.options.networkMode,\n })\n\n return this.retryer.promise\n }\n\n const restored = this.state.status === 'loading'\n try {\n if (!restored) {\n this.dispatch({ type: 'loading', variables: this.options.variables! })\n // Notify cache callback\n await this.mutationCache.config.onMutate?.(\n this.state.variables,\n this as Mutation,\n )\n const context = await this.options.onMutate?.(this.state.variables!)\n if (context !== this.state.context) {\n this.dispatch({\n type: 'loading',\n context,\n variables: this.state.variables,\n })\n }\n }\n const data = await executeMutation()\n\n // Notify cache callback\n await this.mutationCache.config.onSuccess?.(\n data,\n this.state.variables,\n this.state.context,\n this as Mutation,\n )\n\n await this.options.onSuccess?.(\n data,\n this.state.variables!,\n this.state.context!,\n )\n\n // Notify cache callback\n await this.mutationCache.config.onSettled?.(\n data,\n null,\n this.state.variables,\n this.state.context,\n this as Mutation,\n )\n\n await this.options.onSettled?.(\n data,\n null,\n this.state.variables!,\n this.state.context,\n )\n\n this.dispatch({ type: 'success', data })\n return data\n } catch (error) {\n try {\n // Notify cache callback\n await this.mutationCache.config.onError?.(\n error,\n this.state.variables,\n this.state.context,\n this as Mutation,\n )\n\n if (process.env.NODE_ENV !== 'production') {\n this.logger.error(error)\n }\n\n await this.options.onError?.(\n error as TError,\n this.state.variables!,\n this.state.context,\n )\n\n // Notify cache callback\n await this.mutationCache.config.onSettled?.(\n undefined,\n error,\n this.state.variables,\n this.state.context,\n this as Mutation,\n )\n\n await this.options.onSettled?.(\n undefined,\n error as TError,\n this.state.variables!,\n this.state.context,\n )\n throw error\n } finally {\n this.dispatch({ type: 'error', error: error as TError })\n }\n }\n }\n\n private dispatch(action: Action): void {\n const reducer = (\n state: MutationState,\n ): MutationState => {\n switch (action.type) {\n case 'failed':\n return {\n ...state,\n failureCount: action.failureCount,\n failureReason: action.error,\n }\n case 'pause':\n return {\n ...state,\n isPaused: true,\n }\n case 'continue':\n return {\n ...state,\n isPaused: false,\n }\n case 'loading':\n return {\n ...state,\n context: action.context,\n data: undefined,\n failureCount: 0,\n failureReason: null,\n error: null,\n isPaused: !canFetch(this.options.networkMode),\n status: 'loading',\n variables: action.variables,\n }\n case 'success':\n return {\n ...state,\n data: action.data,\n failureCount: 0,\n failureReason: null,\n error: null,\n status: 'success',\n isPaused: false,\n }\n case 'error':\n return {\n ...state,\n data: undefined,\n error: action.error,\n failureCount: state.failureCount + 1,\n failureReason: action.error,\n isPaused: false,\n status: 'error',\n }\n case 'setState':\n return {\n ...state,\n ...action.state,\n }\n }\n }\n this.state = reducer(this.state)\n\n notifyManager.batch(() => {\n this.observers.forEach((observer) => {\n observer.onMutationUpdate(action)\n })\n this.mutationCache.notify({\n mutation: this,\n type: 'updated',\n action,\n })\n })\n }\n}\n\nexport function getDefaultState<\n TData,\n TError,\n TVariables,\n TContext,\n>(): MutationState {\n return {\n context: undefined,\n data: undefined,\n error: null,\n failureCount: 0,\n failureReason: null,\n isPaused: false,\n status: 'idle',\n variables: undefined,\n }\n}\n","import { notifyManager } from './notifyManager'\nimport { Mutation } from './mutation'\nimport { matchMutation, noop } from './utils'\nimport { Subscribable } from './subscribable'\nimport type { MutationObserver } from './mutationObserver'\nimport type { MutationOptions, NotifyEvent } from './types'\nimport type { QueryClient } from './queryClient'\nimport type { Action, MutationState } from './mutation'\nimport type { MutationFilters } from './utils'\n\n// TYPES\n\ninterface MutationCacheConfig {\n onError?: (\n error: unknown,\n variables: unknown,\n context: unknown,\n mutation: Mutation,\n ) => Promise | unknown\n onSuccess?: (\n data: unknown,\n variables: unknown,\n context: unknown,\n mutation: Mutation,\n ) => Promise | unknown\n onMutate?: (\n variables: unknown,\n mutation: Mutation,\n ) => Promise | unknown\n onSettled?: (\n data: unknown | undefined,\n error: unknown | null,\n variables: unknown,\n context: unknown,\n mutation: Mutation,\n ) => Promise | unknown\n}\n\ninterface NotifyEventMutationAdded extends NotifyEvent {\n type: 'added'\n mutation: Mutation\n}\ninterface NotifyEventMutationRemoved extends NotifyEvent {\n type: 'removed'\n mutation: Mutation\n}\n\ninterface NotifyEventMutationObserverAdded extends NotifyEvent {\n type: 'observerAdded'\n mutation: Mutation\n observer: MutationObserver\n}\n\ninterface NotifyEventMutationObserverRemoved extends NotifyEvent {\n type: 'observerRemoved'\n mutation: Mutation\n observer: MutationObserver\n}\n\ninterface NotifyEventMutationObserverOptionsUpdated extends NotifyEvent {\n type: 'observerOptionsUpdated'\n mutation?: Mutation\n observer: MutationObserver\n}\n\ninterface NotifyEventMutationUpdated extends NotifyEvent {\n type: 'updated'\n mutation: Mutation\n action: Action\n}\n\ntype MutationCacheNotifyEvent =\n | NotifyEventMutationAdded\n | NotifyEventMutationRemoved\n | NotifyEventMutationObserverAdded\n | NotifyEventMutationObserverRemoved\n | NotifyEventMutationObserverOptionsUpdated\n | NotifyEventMutationUpdated\n\ntype MutationCacheListener = (event: MutationCacheNotifyEvent) => void\n\n// CLASS\n\nexport class MutationCache extends Subscribable {\n config: MutationCacheConfig\n\n private mutations: Mutation[]\n private mutationId: number\n private resuming: Promise | undefined\n\n constructor(config?: MutationCacheConfig) {\n super()\n this.config = config || {}\n this.mutations = []\n this.mutationId = 0\n }\n\n build(\n client: QueryClient,\n options: MutationOptions,\n state?: MutationState,\n ): Mutation {\n const mutation = new Mutation({\n mutationCache: this,\n logger: client.getLogger(),\n mutationId: ++this.mutationId,\n options: client.defaultMutationOptions(options),\n state,\n defaultOptions: options.mutationKey\n ? client.getMutationDefaults(options.mutationKey)\n : undefined,\n })\n\n this.add(mutation)\n\n return mutation\n }\n\n add(mutation: Mutation): void {\n this.mutations.push(mutation)\n this.notify({ type: 'added', mutation })\n }\n\n remove(mutation: Mutation): void {\n this.mutations = this.mutations.filter((x) => x !== mutation)\n this.notify({ type: 'removed', mutation })\n }\n\n clear(): void {\n notifyManager.batch(() => {\n this.mutations.forEach((mutation) => {\n this.remove(mutation)\n })\n })\n }\n\n getAll(): Mutation[] {\n return this.mutations\n }\n\n find(\n filters: MutationFilters,\n ): Mutation | undefined {\n if (typeof filters.exact === 'undefined') {\n filters.exact = true\n }\n\n return this.mutations.find((mutation) => matchMutation(filters, mutation))\n }\n\n findAll(filters: MutationFilters): Mutation[] {\n return this.mutations.filter((mutation) => matchMutation(filters, mutation))\n }\n\n notify(event: MutationCacheNotifyEvent) {\n notifyManager.batch(() => {\n this.listeners.forEach(({ listener }) => {\n listener(event)\n })\n })\n }\n\n resumePausedMutations(): Promise {\n this.resuming = (this.resuming ?? Promise.resolve())\n .then(() => {\n const pausedMutations = this.mutations.filter((x) => x.state.isPaused)\n return notifyManager.batch(() =>\n pausedMutations.reduce(\n (promise, mutation) =>\n promise.then(() => mutation.continue().catch(noop)),\n Promise.resolve() as Promise,\n ),\n )\n })\n .then(() => {\n this.resuming = undefined\n })\n\n return this.resuming\n }\n}\n","import type { QueryBehavior } from './query'\n\nimport type {\n InfiniteData,\n QueryFunctionContext,\n QueryOptions,\n RefetchQueryFilters,\n} from './types'\n\nexport function infiniteQueryBehavior<\n TQueryFnData,\n TError,\n TData,\n>(): QueryBehavior> {\n return {\n onFetch: (context) => {\n context.fetchFn = () => {\n const refetchPage: RefetchQueryFilters['refetchPage'] | undefined =\n context.fetchOptions?.meta?.refetchPage\n const fetchMore = context.fetchOptions?.meta?.fetchMore\n const pageParam = fetchMore?.pageParam\n const isFetchingNextPage = fetchMore?.direction === 'forward'\n const isFetchingPreviousPage = fetchMore?.direction === 'backward'\n const oldPages = context.state.data?.pages || []\n const oldPageParams = context.state.data?.pageParams || []\n let newPageParams = oldPageParams\n let cancelled = false\n\n const addSignalProperty = (object: unknown) => {\n Object.defineProperty(object, 'signal', {\n enumerable: true,\n get: () => {\n if (context.signal?.aborted) {\n cancelled = true\n } else {\n context.signal?.addEventListener('abort', () => {\n cancelled = true\n })\n }\n return context.signal\n },\n })\n }\n\n // Get query function\n const queryFn =\n context.options.queryFn ||\n (() =>\n Promise.reject(\n `Missing queryFn for queryKey '${context.options.queryHash}'`,\n ))\n\n const buildNewPages = (\n pages: unknown[],\n param: unknown,\n page: unknown,\n previous?: boolean,\n ) => {\n newPageParams = previous\n ? [param, ...newPageParams]\n : [...newPageParams, param]\n return previous ? [page, ...pages] : [...pages, page]\n }\n\n // Create function to fetch a page\n const fetchPage = (\n pages: unknown[],\n manual?: boolean,\n param?: unknown,\n previous?: boolean,\n ): Promise => {\n if (cancelled) {\n return Promise.reject('Cancelled')\n }\n\n if (typeof param === 'undefined' && !manual && pages.length) {\n return Promise.resolve(pages)\n }\n\n const queryFnContext: QueryFunctionContext = {\n queryKey: context.queryKey,\n pageParam: param,\n meta: context.options.meta,\n }\n\n addSignalProperty(queryFnContext)\n\n const queryFnResult = queryFn(queryFnContext)\n\n const promise = Promise.resolve(queryFnResult).then((page) =>\n buildNewPages(pages, param, page, previous),\n )\n\n return promise\n }\n\n let promise: Promise\n\n // Fetch first page?\n if (!oldPages.length) {\n promise = fetchPage([])\n }\n\n // Fetch next page?\n else if (isFetchingNextPage) {\n const manual = typeof pageParam !== 'undefined'\n const param = manual\n ? pageParam\n : getNextPageParam(context.options, oldPages)\n promise = fetchPage(oldPages, manual, param)\n }\n\n // Fetch previous page?\n else if (isFetchingPreviousPage) {\n const manual = typeof pageParam !== 'undefined'\n const param = manual\n ? pageParam\n : getPreviousPageParam(context.options, oldPages)\n promise = fetchPage(oldPages, manual, param, true)\n }\n\n // Refetch pages\n else {\n newPageParams = []\n\n const manual = typeof context.options.getNextPageParam === 'undefined'\n\n const shouldFetchFirstPage =\n refetchPage && oldPages[0]\n ? refetchPage(oldPages[0], 0, oldPages)\n : true\n\n // Fetch first page\n promise = shouldFetchFirstPage\n ? fetchPage([], manual, oldPageParams[0])\n : Promise.resolve(buildNewPages([], oldPageParams[0], oldPages[0]))\n\n // Fetch remaining pages\n for (let i = 1; i < oldPages.length; i++) {\n promise = promise.then((pages) => {\n const shouldFetchNextPage =\n refetchPage && oldPages[i]\n ? refetchPage(oldPages[i], i, oldPages)\n : true\n\n if (shouldFetchNextPage) {\n const param = manual\n ? oldPageParams[i]\n : getNextPageParam(context.options, pages)\n return fetchPage(pages, manual, param)\n }\n return Promise.resolve(\n buildNewPages(pages, oldPageParams[i], oldPages[i]),\n )\n })\n }\n }\n\n const finalPromise = promise.then((pages) => ({\n pages,\n pageParams: newPageParams,\n }))\n\n return finalPromise\n }\n },\n }\n}\n\nexport function getNextPageParam(\n options: QueryOptions,\n pages: unknown[],\n): unknown | undefined {\n return options.getNextPageParam?.(pages[pages.length - 1], pages)\n}\n\nexport function getPreviousPageParam(\n options: QueryOptions,\n pages: unknown[],\n): unknown | undefined {\n return options.getPreviousPageParam?.(pages[0], pages)\n}\n\n/**\n * Checks if there is a next page.\n * Returns `undefined` if it cannot be determined.\n */\nexport function hasNextPage(\n options: QueryOptions,\n pages?: unknown,\n): boolean | undefined {\n if (options.getNextPageParam && Array.isArray(pages)) {\n const nextPageParam = getNextPageParam(options, pages)\n return (\n typeof nextPageParam !== 'undefined' &&\n nextPageParam !== null &&\n nextPageParam !== false\n )\n }\n return\n}\n\n/**\n * Checks if there is a previous page.\n * Returns `undefined` if it cannot be determined.\n */\nexport function hasPreviousPage(\n options: QueryOptions,\n pages?: unknown,\n): boolean | undefined {\n if (options.getPreviousPageParam && Array.isArray(pages)) {\n const previousPageParam = getPreviousPageParam(options, pages)\n return (\n typeof previousPageParam !== 'undefined' &&\n previousPageParam !== null &&\n previousPageParam !== false\n )\n }\n return\n}\n","import {\n functionalUpdate,\n hashQueryKey,\n hashQueryKeyByOptions,\n noop,\n parseFilterArgs,\n parseQueryArgs,\n partialMatchKey,\n} from './utils'\nimport { QueryCache } from './queryCache'\nimport { MutationCache } from './mutationCache'\nimport { focusManager } from './focusManager'\nimport { onlineManager } from './onlineManager'\nimport { notifyManager } from './notifyManager'\nimport { infiniteQueryBehavior } from './infiniteQueryBehavior'\nimport { defaultLogger } from './logger'\nimport type { CancelOptions, DefaultedQueryObserverOptions } from './types'\nimport type { Logger } from './logger'\nimport type { QueryState } from './query'\nimport type {\n DefaultOptions,\n FetchInfiniteQueryOptions,\n FetchQueryOptions,\n InfiniteData,\n InvalidateOptions,\n InvalidateQueryFilters,\n MutationKey,\n MutationObserverOptions,\n MutationOptions,\n QueryClientConfig,\n QueryFunction,\n QueryKey,\n QueryObserverOptions,\n QueryOptions,\n RefetchOptions,\n RefetchQueryFilters,\n ResetOptions,\n ResetQueryFilters,\n SetDataOptions,\n WithRequired,\n} from './types'\nimport type { MutationFilters, QueryFilters, Updater } from './utils'\n\n// TYPES\n\ninterface QueryDefaults {\n queryKey: QueryKey\n defaultOptions: QueryOptions\n}\n\ninterface MutationDefaults {\n mutationKey: MutationKey\n defaultOptions: MutationOptions\n}\n\n// CLASS\n\nexport class QueryClient {\n private queryCache: QueryCache\n private mutationCache: MutationCache\n private logger: Logger\n private defaultOptions: DefaultOptions\n private queryDefaults: QueryDefaults[]\n private mutationDefaults: MutationDefaults[]\n private mountCount: number\n private unsubscribeFocus?: () => void\n private unsubscribeOnline?: () => void\n\n constructor(config: QueryClientConfig = {}) {\n this.queryCache = config.queryCache || new QueryCache()\n this.mutationCache = config.mutationCache || new MutationCache()\n this.logger = config.logger || defaultLogger\n this.defaultOptions = config.defaultOptions || {}\n this.queryDefaults = []\n this.mutationDefaults = []\n this.mountCount = 0\n\n if (process.env.NODE_ENV !== 'production' && config.logger) {\n this.logger.error(\n `Passing a custom logger has been deprecated and will be removed in the next major version.`,\n )\n }\n }\n\n mount(): void {\n this.mountCount++\n if (this.mountCount !== 1) return\n\n this.unsubscribeFocus = focusManager.subscribe(() => {\n if (focusManager.isFocused()) {\n this.resumePausedMutations()\n this.queryCache.onFocus()\n }\n })\n this.unsubscribeOnline = onlineManager.subscribe(() => {\n if (onlineManager.isOnline()) {\n this.resumePausedMutations()\n this.queryCache.onOnline()\n }\n })\n }\n\n unmount(): void {\n this.mountCount--\n if (this.mountCount !== 0) return\n\n this.unsubscribeFocus?.()\n this.unsubscribeFocus = undefined\n\n this.unsubscribeOnline?.()\n this.unsubscribeOnline = undefined\n }\n\n isFetching(filters?: QueryFilters): number\n isFetching(queryKey?: QueryKey, filters?: QueryFilters): number\n isFetching(arg1?: QueryKey | QueryFilters, arg2?: QueryFilters): number {\n const [filters] = parseFilterArgs(arg1, arg2)\n filters.fetchStatus = 'fetching'\n return this.queryCache.findAll(filters).length\n }\n\n isMutating(filters?: MutationFilters): number {\n return this.mutationCache.findAll({ ...filters, fetching: true }).length\n }\n\n getQueryData(\n queryKey: QueryKey,\n filters?: QueryFilters,\n ): TQueryFnData | undefined {\n return this.queryCache.find(queryKey, filters)?.state.data\n }\n\n ensureQueryData<\n TQueryFnData = unknown,\n TError = unknown,\n TData = TQueryFnData,\n TQueryKey extends QueryKey = QueryKey,\n >(\n options: WithRequired<\n FetchQueryOptions,\n 'queryKey'\n >,\n ): Promise\n ensureQueryData<\n TQueryFnData = unknown,\n TError = unknown,\n TData = TQueryFnData,\n TQueryKey extends QueryKey = QueryKey,\n >(\n queryKey: TQueryKey,\n options?: Omit<\n FetchQueryOptions,\n 'queryKey'\n >,\n ): Promise\n ensureQueryData<\n TQueryFnData = unknown,\n TError = unknown,\n TData = TQueryFnData,\n TQueryKey extends QueryKey = QueryKey,\n >(\n queryKey: TQueryKey,\n queryFn: QueryFunction,\n options?: Omit<\n FetchQueryOptions,\n 'queryKey' | 'queryFn'\n >,\n ): Promise\n ensureQueryData<\n TQueryFnData,\n TError,\n TData = TQueryFnData,\n TQueryKey extends QueryKey = QueryKey,\n >(\n arg1:\n | TQueryKey\n | WithRequired<\n FetchQueryOptions,\n 'queryKey'\n >,\n arg2?:\n | QueryFunction\n | FetchQueryOptions,\n arg3?: FetchQueryOptions,\n ): Promise {\n const parsedOptions = parseQueryArgs(arg1, arg2, arg3)\n const cachedData = this.getQueryData(parsedOptions.queryKey!)\n\n return cachedData\n ? Promise.resolve(cachedData)\n : this.fetchQuery(parsedOptions)\n }\n\n getQueriesData(\n queryKey: QueryKey,\n ): [QueryKey, TQueryFnData | undefined][]\n getQueriesData(\n filters: QueryFilters,\n ): [QueryKey, TQueryFnData | undefined][]\n getQueriesData(\n queryKeyOrFilters: QueryKey | QueryFilters,\n ): [QueryKey, TQueryFnData | undefined][] {\n return this.getQueryCache()\n .findAll(queryKeyOrFilters)\n .map(({ queryKey, state }) => {\n const data = state.data as TQueryFnData | undefined\n return [queryKey, data]\n })\n }\n\n setQueryData(\n queryKey: QueryKey,\n updater: Updater,\n options?: SetDataOptions,\n ): TQueryFnData | undefined {\n const query = this.queryCache.find(queryKey)\n const prevData = query?.state.data\n const data = functionalUpdate(updater, prevData)\n\n if (typeof data === 'undefined') {\n return undefined\n }\n\n const parsedOptions = parseQueryArgs(queryKey)\n const defaultedOptions = this.defaultQueryOptions(parsedOptions)\n return this.queryCache\n .build(this, defaultedOptions)\n .setData(data, { ...options, manual: true })\n }\n\n setQueriesData(\n queryKey: QueryKey,\n updater: Updater,\n options?: SetDataOptions,\n ): [QueryKey, TQueryFnData | undefined][]\n\n setQueriesData(\n filters: QueryFilters,\n updater: Updater,\n options?: SetDataOptions,\n ): [QueryKey, TQueryFnData | undefined][]\n\n setQueriesData(\n queryKeyOrFilters: QueryKey | QueryFilters,\n updater: Updater,\n options?: SetDataOptions,\n ): [QueryKey, TQueryFnData | undefined][] {\n return notifyManager.batch(() =>\n this.getQueryCache()\n .findAll(queryKeyOrFilters)\n .map(({ queryKey }) => [\n queryKey,\n this.setQueryData(queryKey, updater, options),\n ]),\n )\n }\n\n getQueryState(\n queryKey: QueryKey,\n filters?: QueryFilters,\n ): QueryState | undefined {\n return this.queryCache.find(queryKey, filters)?.state\n }\n\n removeQueries(filters?: QueryFilters): void\n removeQueries(queryKey?: QueryKey, filters?: QueryFilters): void\n removeQueries(arg1?: QueryKey | QueryFilters, arg2?: QueryFilters): void {\n const [filters] = parseFilterArgs(arg1, arg2)\n const queryCache = this.queryCache\n notifyManager.batch(() => {\n queryCache.findAll(filters).forEach((query) => {\n queryCache.remove(query)\n })\n })\n }\n\n resetQueries(\n filters?: ResetQueryFilters,\n options?: ResetOptions,\n ): Promise\n resetQueries(\n queryKey?: QueryKey,\n filters?: ResetQueryFilters,\n options?: ResetOptions,\n ): Promise\n resetQueries(\n arg1?: QueryKey | ResetQueryFilters,\n arg2?: ResetQueryFilters | ResetOptions,\n arg3?: ResetOptions,\n ): Promise {\n const [filters, options] = parseFilterArgs(arg1, arg2, arg3)\n const queryCache = this.queryCache\n\n const refetchFilters: RefetchQueryFilters = {\n type: 'active',\n ...filters,\n }\n\n return notifyManager.batch(() => {\n queryCache.findAll(filters).forEach((query) => {\n query.reset()\n })\n return this.refetchQueries(refetchFilters, options)\n })\n }\n\n cancelQueries(filters?: QueryFilters, options?: CancelOptions): Promise\n cancelQueries(\n queryKey?: QueryKey,\n filters?: QueryFilters,\n options?: CancelOptions,\n ): Promise\n cancelQueries(\n arg1?: QueryKey | QueryFilters,\n arg2?: QueryFilters | CancelOptions,\n arg3?: CancelOptions,\n ): Promise {\n const [filters, cancelOptions = {}] = parseFilterArgs(arg1, arg2, arg3)\n\n if (typeof cancelOptions.revert === 'undefined') {\n cancelOptions.revert = true\n }\n\n const promises = notifyManager.batch(() =>\n this.queryCache\n .findAll(filters)\n .map((query) => query.cancel(cancelOptions)),\n )\n\n return Promise.all(promises).then(noop).catch(noop)\n }\n\n invalidateQueries(\n filters?: InvalidateQueryFilters,\n options?: InvalidateOptions,\n ): Promise\n invalidateQueries(\n queryKey?: QueryKey,\n filters?: InvalidateQueryFilters,\n options?: InvalidateOptions,\n ): Promise\n invalidateQueries(\n arg1?: QueryKey | InvalidateQueryFilters,\n arg2?: InvalidateQueryFilters | InvalidateOptions,\n arg3?: InvalidateOptions,\n ): Promise {\n const [filters, options] = parseFilterArgs(arg1, arg2, arg3)\n\n return notifyManager.batch(() => {\n this.queryCache.findAll(filters).forEach((query) => {\n query.invalidate()\n })\n\n if (filters.refetchType === 'none') {\n return Promise.resolve()\n }\n const refetchFilters: RefetchQueryFilters = {\n ...filters,\n type: filters.refetchType ?? filters.type ?? 'active',\n }\n return this.refetchQueries(refetchFilters, options)\n })\n }\n\n refetchQueries(\n filters?: RefetchQueryFilters,\n options?: RefetchOptions,\n ): Promise\n refetchQueries(\n queryKey?: QueryKey,\n filters?: RefetchQueryFilters,\n options?: RefetchOptions,\n ): Promise\n refetchQueries(\n arg1?: QueryKey | RefetchQueryFilters,\n arg2?: RefetchQueryFilters | RefetchOptions,\n arg3?: RefetchOptions,\n ): Promise {\n const [filters, options] = parseFilterArgs(arg1, arg2, arg3)\n\n const promises = notifyManager.batch(() =>\n this.queryCache\n .findAll(filters)\n .filter((query) => !query.isDisabled())\n .map((query) =>\n query.fetch(undefined, {\n ...options,\n cancelRefetch: options?.cancelRefetch ?? true,\n meta: { refetchPage: filters.refetchPage },\n }),\n ),\n )\n\n let promise = Promise.all(promises).then(noop)\n\n if (!options?.throwOnError) {\n promise = promise.catch(noop)\n }\n\n return promise\n }\n\n fetchQuery<\n TQueryFnData = unknown,\n TError = unknown,\n TData = TQueryFnData,\n TQueryKey extends QueryKey = QueryKey,\n >(\n options: FetchQueryOptions,\n ): Promise\n fetchQuery<\n TQueryFnData = unknown,\n TError = unknown,\n TData = TQueryFnData,\n TQueryKey extends QueryKey = QueryKey,\n >(\n queryKey: TQueryKey,\n options?: FetchQueryOptions,\n ): Promise\n fetchQuery<\n TQueryFnData = unknown,\n TError = unknown,\n TData = TQueryFnData,\n TQueryKey extends QueryKey = QueryKey,\n >(\n queryKey: TQueryKey,\n queryFn: QueryFunction,\n options?: FetchQueryOptions,\n ): Promise\n fetchQuery<\n TQueryFnData,\n TError,\n TData = TQueryFnData,\n TQueryKey extends QueryKey = QueryKey,\n >(\n arg1: TQueryKey | FetchQueryOptions,\n arg2?:\n | QueryFunction\n | FetchQueryOptions,\n arg3?: FetchQueryOptions,\n ): Promise {\n const parsedOptions = parseQueryArgs(arg1, arg2, arg3)\n const defaultedOptions = this.defaultQueryOptions(parsedOptions)\n\n // https://github.com/tannerlinsley/react-query/issues/652\n if (typeof defaultedOptions.retry === 'undefined') {\n defaultedOptions.retry = false\n }\n\n const query = this.queryCache.build(this, defaultedOptions)\n\n return query.isStaleByTime(defaultedOptions.staleTime)\n ? query.fetch(defaultedOptions)\n : Promise.resolve(query.state.data as TData)\n }\n\n prefetchQuery<\n TQueryFnData = unknown,\n TError = unknown,\n TData = TQueryFnData,\n TQueryKey extends QueryKey = QueryKey,\n >(\n options: FetchQueryOptions,\n ): Promise\n prefetchQuery<\n TQueryFnData = unknown,\n TError = unknown,\n TData = TQueryFnData,\n TQueryKey extends QueryKey = QueryKey,\n >(\n queryKey: TQueryKey,\n options?: FetchQueryOptions,\n ): Promise\n prefetchQuery<\n TQueryFnData = unknown,\n TError = unknown,\n TData = TQueryFnData,\n TQueryKey extends QueryKey = QueryKey,\n >(\n queryKey: TQueryKey,\n queryFn: QueryFunction,\n options?: FetchQueryOptions,\n ): Promise\n prefetchQuery<\n TQueryFnData = unknown,\n TError = unknown,\n TData = TQueryFnData,\n TQueryKey extends QueryKey = QueryKey,\n >(\n arg1: TQueryKey | FetchQueryOptions,\n arg2?:\n | QueryFunction\n | FetchQueryOptions,\n arg3?: FetchQueryOptions,\n ): Promise {\n return this.fetchQuery(arg1 as any, arg2 as any, arg3)\n .then(noop)\n .catch(noop)\n }\n\n fetchInfiniteQuery<\n TQueryFnData = unknown,\n TError = unknown,\n TData = TQueryFnData,\n TQueryKey extends QueryKey = QueryKey,\n >(\n options: FetchInfiniteQueryOptions,\n ): Promise>\n fetchInfiniteQuery<\n TQueryFnData = unknown,\n TError = unknown,\n TData = TQueryFnData,\n TQueryKey extends QueryKey = QueryKey,\n >(\n queryKey: TQueryKey,\n options?: FetchInfiniteQueryOptions,\n ): Promise>\n fetchInfiniteQuery<\n TQueryFnData = unknown,\n TError = unknown,\n TData = TQueryFnData,\n TQueryKey extends QueryKey = QueryKey,\n >(\n queryKey: TQueryKey,\n queryFn: QueryFunction,\n options?: FetchInfiniteQueryOptions,\n ): Promise>\n fetchInfiniteQuery<\n TQueryFnData,\n TError,\n TData = TQueryFnData,\n TQueryKey extends QueryKey = QueryKey,\n >(\n arg1:\n | TQueryKey\n | FetchInfiniteQueryOptions,\n arg2?:\n | QueryFunction\n | FetchInfiniteQueryOptions,\n arg3?: FetchInfiniteQueryOptions,\n ): Promise> {\n const parsedOptions = parseQueryArgs(arg1, arg2, arg3)\n parsedOptions.behavior = infiniteQueryBehavior<\n TQueryFnData,\n TError,\n TData\n >()\n return this.fetchQuery(parsedOptions)\n }\n\n prefetchInfiniteQuery<\n TQueryFnData = unknown,\n TError = unknown,\n TData = TQueryFnData,\n TQueryKey extends QueryKey = QueryKey,\n >(\n options: FetchInfiniteQueryOptions,\n ): Promise\n prefetchInfiniteQuery<\n TQueryFnData = unknown,\n TError = unknown,\n TData = TQueryFnData,\n TQueryKey extends QueryKey = QueryKey,\n >(\n queryKey: TQueryKey,\n options?: FetchInfiniteQueryOptions,\n ): Promise\n prefetchInfiniteQuery<\n TQueryFnData = unknown,\n TError = unknown,\n TData = TQueryFnData,\n TQueryKey extends QueryKey = QueryKey,\n >(\n queryKey: TQueryKey,\n queryFn: QueryFunction,\n options?: FetchInfiniteQueryOptions,\n ): Promise\n prefetchInfiniteQuery<\n TQueryFnData,\n TError,\n TData = TQueryFnData,\n TQueryKey extends QueryKey = QueryKey,\n >(\n arg1:\n | TQueryKey\n | FetchInfiniteQueryOptions,\n arg2?:\n | QueryFunction\n | FetchInfiniteQueryOptions,\n arg3?: FetchInfiniteQueryOptions,\n ): Promise {\n return this.fetchInfiniteQuery(arg1 as any, arg2 as any, arg3)\n .then(noop)\n .catch(noop)\n }\n\n resumePausedMutations(): Promise {\n return this.mutationCache.resumePausedMutations()\n }\n\n getQueryCache(): QueryCache {\n return this.queryCache\n }\n\n getMutationCache(): MutationCache {\n return this.mutationCache\n }\n\n getLogger(): Logger {\n return this.logger\n }\n\n getDefaultOptions(): DefaultOptions {\n return this.defaultOptions\n }\n\n setDefaultOptions(options: DefaultOptions): void {\n this.defaultOptions = options\n }\n\n setQueryDefaults(\n queryKey: QueryKey,\n options: QueryObserverOptions,\n ): void {\n const result = this.queryDefaults.find(\n (x) => hashQueryKey(queryKey) === hashQueryKey(x.queryKey),\n )\n if (result) {\n result.defaultOptions = options\n } else {\n this.queryDefaults.push({ queryKey, defaultOptions: options })\n }\n }\n\n getQueryDefaults(\n queryKey?: QueryKey,\n ): QueryObserverOptions | undefined {\n if (!queryKey) {\n return undefined\n }\n\n // Get the first matching defaults\n const firstMatchingDefaults = this.queryDefaults.find((x) =>\n partialMatchKey(queryKey, x.queryKey),\n )\n\n // Additional checks and error in dev mode\n if (process.env.NODE_ENV !== 'production') {\n // Retrieve all matching defaults for the given key\n const matchingDefaults = this.queryDefaults.filter((x) =>\n partialMatchKey(queryKey, x.queryKey),\n )\n // It is ok not having defaults, but it is error prone to have more than 1 default for a given key\n if (matchingDefaults.length > 1) {\n this.logger.error(\n `[QueryClient] Several query defaults match with key '${JSON.stringify(\n queryKey,\n )}'. The first matching query defaults are used. Please check how query defaults are registered. Order does matter here. cf. https://react-query.tanstack.com/reference/QueryClient#queryclientsetquerydefaults.`,\n )\n }\n }\n\n return firstMatchingDefaults?.defaultOptions\n }\n\n setMutationDefaults(\n mutationKey: MutationKey,\n options: MutationObserverOptions,\n ): void {\n const result = this.mutationDefaults.find(\n (x) => hashQueryKey(mutationKey) === hashQueryKey(x.mutationKey),\n )\n if (result) {\n result.defaultOptions = options\n } else {\n this.mutationDefaults.push({ mutationKey, defaultOptions: options })\n }\n }\n\n getMutationDefaults(\n mutationKey?: MutationKey,\n ): MutationObserverOptions | undefined {\n if (!mutationKey) {\n return undefined\n }\n\n // Get the first matching defaults\n const firstMatchingDefaults = this.mutationDefaults.find((x) =>\n partialMatchKey(mutationKey, x.mutationKey),\n )\n\n // Additional checks and error in dev mode\n if (process.env.NODE_ENV !== 'production') {\n // Retrieve all matching defaults for the given key\n const matchingDefaults = this.mutationDefaults.filter((x) =>\n partialMatchKey(mutationKey, x.mutationKey),\n )\n // It is ok not having defaults, but it is error prone to have more than 1 default for a given key\n if (matchingDefaults.length > 1) {\n this.logger.error(\n `[QueryClient] Several mutation defaults match with key '${JSON.stringify(\n mutationKey,\n )}'. The first matching mutation defaults are used. Please check how mutation defaults are registered. Order does matter here. cf. https://react-query.tanstack.com/reference/QueryClient#queryclientsetmutationdefaults.`,\n )\n }\n }\n\n return firstMatchingDefaults?.defaultOptions\n }\n\n defaultQueryOptions<\n TQueryFnData,\n TError,\n TData,\n TQueryData,\n TQueryKey extends QueryKey,\n >(\n options?:\n | QueryObserverOptions\n | DefaultedQueryObserverOptions<\n TQueryFnData,\n TError,\n TData,\n TQueryData,\n TQueryKey\n >,\n ): DefaultedQueryObserverOptions<\n TQueryFnData,\n TError,\n TData,\n TQueryData,\n TQueryKey\n > {\n if (options?._defaulted) {\n return options as DefaultedQueryObserverOptions<\n TQueryFnData,\n TError,\n TData,\n TQueryData,\n TQueryKey\n >\n }\n\n const defaultedOptions = {\n ...this.defaultOptions.queries,\n ...this.getQueryDefaults(options?.queryKey),\n ...options,\n _defaulted: true,\n }\n\n if (!defaultedOptions.queryHash && defaultedOptions.queryKey) {\n defaultedOptions.queryHash = hashQueryKeyByOptions(\n defaultedOptions.queryKey,\n defaultedOptions,\n )\n }\n\n // dependent default values\n if (typeof defaultedOptions.refetchOnReconnect === 'undefined') {\n defaultedOptions.refetchOnReconnect =\n defaultedOptions.networkMode !== 'always'\n }\n if (typeof defaultedOptions.useErrorBoundary === 'undefined') {\n defaultedOptions.useErrorBoundary = !!defaultedOptions.suspense\n }\n\n return defaultedOptions as DefaultedQueryObserverOptions<\n TQueryFnData,\n TError,\n TData,\n TQueryData,\n TQueryKey\n >\n }\n\n defaultMutationOptions>(\n options?: T,\n ): T {\n if (options?._defaulted) {\n return options\n }\n return {\n ...this.defaultOptions.mutations,\n ...this.getMutationDefaults(options?.mutationKey),\n ...options,\n _defaulted: true,\n } as T\n }\n\n clear(): void {\n this.queryCache.clear()\n this.mutationCache.clear()\n }\n}\n","import axios, { AxiosInstance, AxiosRequestConfig } from 'axios';\nimport { ApiRequestOptions } from './core/ApiRequestOptions';\nimport { BaseHttpRequest } from './core/BaseHttpRequest';\nimport { CancelablePromise } from './core/CancelablePromise';\nimport type { OpenAPIConfig } from './core/OpenAPI';\nimport { request as __request } from './core/request';\nimport { emitter } from 'App';\nexport class WrapperClient extends BaseHttpRequest {\n axiosInstance: AxiosInstance = axios.create({\n baseURL: process.env.REACT_APP_BRANCH,\n timeout: 60000,\n });\n\n constructor(config: OpenAPIConfig) {\n super(config);\n\n // Get the access token from secure storage and add it to the request headers.\n this.axiosInstance.interceptors.request.use(\n async (requestConfig: AxiosRequestConfig) => {\n const accessToken = localStorage.getItem('jwt') as string;\n\n // Check if headers exist, if not, initialize them\n if (!requestConfig.headers) {\n requestConfig.headers = {};\n }\n\n requestConfig.headers.authorization = accessToken;\n\n return requestConfig;\n },\n (error) => {\n\n return Promise.reject(error);\n }\n );\n\n // Add a response interceptor for unauthenticated tokens.\n this.axiosInstance.interceptors.response.use(\n (response) => {\n return response;\n },\n (error) => {\n if (error.response && (error.response.status === 502 || error.response.status === 503)) {\n emitter.emit('maintenance');\n \n // You can add a delay if necessary to allow time for the event to propagate.\n return new Promise((_, reject) => {\n setTimeout(() => {\n reject(error); // This will reject the promise after the emitter has done its work\n }, 0); // Adjust the delay if needed\n });\n }\n \n return Promise.reject(error); // For other errors\n }\n );\n }\n\n public override request(options: ApiRequestOptions): CancelablePromise {\n return __request(this.config, options, this.axiosInstance);\n }\n}\n","import React, { FormEvent, useState } from 'react';\n\nimport {\n Alert,\n Card,\n CardContent,\n CardHeader,\n Grid,\n LinearProgress,\n Typography,\n} from '@mui/material';\nimport { t, Translation } from 'i18n';\n\nimport logoSW from 'assets/img/brand/logo-studyworks-origineel1.png';\nimport logoOB from 'assets/img/brand/LOGO_OB.png';\nimport logoBEU from 'assets/img/brand/LogoBijlesEU.png';\nimport logoVBL from 'assets/img/brand/VlakbijlesLogo.png';\nimport { Button, TextField } from 'components/Elements/Forms/Inputs';\nimport useLabel from 'functions/Hooks/useLabel';\n\n\ninterface IChangePasswordFormDesktopProps {\n handleSubmit: (event: FormEvent) => void;\n state: string;\n password: string;\n passwordComfirm: string;\n setPassword: (value: string) => void;\n setPasswordComfirm: (value: string) => void;\n}\n\nconst ChangePasswordFormDesktop: React.FunctionComponent = ({\n handleSubmit,\n state,\n password,\n passwordComfirm,\n setPassword,\n setPasswordComfirm,\n}) => {\n const label = useLabel();\n const [logo, setLogo] = useState();\n const [height, setHeight] = useState();\n\n React.useEffect(() => {\n if (label) {\n switch (label?.name) {\n case 'StudyWorks':\n setLogo(logoSW);\n setHeight('30px');\n break;\n case 'VlakBijles':\n setLogo(logoVBL);\n setHeight('80px');\n break;\n case 'bijleseu.nl':\n setLogo(logoBEU);\n setHeight('80px');\n break;\n case 'Bijles.EU':\n setLogo(logoBEU);\n setHeight('60px');\n break;\n case 'Online-Bijles.com':\n setLogo(logoOB);\n setHeight('80px');\n break;\n default:\n break;\n }\n }\n }, [label]);\n\n return (\n \n \n \n \n \n \n \n \n {' '}\n \n {t('translation.auth.editpw.headerportal')}\n \n .\n \n }\n subheader={\n \n {t('translation.auth.editpw.subheader')}\n \n }\n sx={{ paddingLeft: '0px' }}\n />\n \n\n \n
\n {state !== 'success' && (\n \n setPassword(event.target.value)}\n autoComplete=\"new-password\"\n />\n \n )}\n {state !== 'success' && (\n \n setPasswordComfirm(event.target.value)}\n autoComplete=\"new-password\"\n />\n \n )}\n {password !== passwordComfirm && (\n {t('translation.auth.editpw.errorNoMatch')}\n )}\n {state === 'error' && {t('translation.auth.editpw.error')}}\n {state === 'success' && {t('translation.auth.editpw.succes')}}\n {state === 'loading' && }\n {state !== 'success' && (\n \n )}\n \n
\n
\n
\n
\n );\n};\n\nexport default ChangePasswordFormDesktop;\n","import React, { useState } from 'react';\n\nimport { Grid, Typography } from '@mui/material';\nimport { Box } from '@mui/system';\nimport { t } from 'i18n';\nimport theme from 'theme';\n\nimport BackgroundBULogo from 'assets/img/LoginImages/BijlesEUInlog.png';\nimport CollageBEU from 'assets/img/LoginImages/CORE_inlogscherm_collage_BEU.png';\nimport CollageOB from 'assets/img/LoginImages/CORE_inlogscherm_collage_OB.png';\nimport CollageSW from 'assets/img/LoginImages/CORE_inlogscherm_collage_SW.png';\nimport CollageVBL from 'assets/img/LoginImages/CORE_inlogscherm_collage_VBL.png';\nimport BackgroundOBLogo from 'assets/img/LoginImages/huisjeOB.png';\nimport BackgroundSWLogo from 'assets/img/LoginImages/logo-studyworks-krans.png';\nimport BackgroundVBLogo from 'assets/img/LoginImages/VBLInlog.png';\nimport useLabel from 'functions/Hooks/useLabel';\n\nconst ChangePasswordImageWIndow = () => {\n const label = useLabel();\n const [backgroundLogo, setBackgroundLogo] = useState();\n const [collage, setCollage] = useState();\n const [opacity, setOpacity] = useState(1);\n\n React.useEffect(() => {\n if (label) {\n switch (label?.name) {\n case 'StudyWorks':\n setBackgroundLogo(BackgroundSWLogo);\n setCollage(CollageSW);\n setOpacity(0.6);\n break;\n case 'VlakBijles':\n setBackgroundLogo(BackgroundVBLogo);\n setCollage(CollageVBL);\n setOpacity(0.2);\n break;\n case 'bijleseu.nl':\n setBackgroundLogo(BackgroundBULogo);\n setCollage(CollageBEU);\n setOpacity(0.3);\n break;\n case 'Bijles.EU':\n setBackgroundLogo(BackgroundBULogo);\n setCollage(CollageBEU);\n setOpacity(0.3);\n break;\n case 'Online-Bijles.com':\n setBackgroundLogo(BackgroundOBLogo);\n setCollage(CollageOB);\n setOpacity(0.3);\n break;\n default:\n setBackgroundLogo(BackgroundSWLogo);\n setCollage(CollageSW);\n break;\n }\n }\n }, [label]);\n\n return (\n \n {backgroundLogo && (\n \n )}\n \n \n \n \n \n 2000 ? '1.4vw' : '1.7vw'}\n color=\"white\"\n textAlign=\"center\"\n lineHeight={1.2}>\n {t('translation.auth.shared.desktop.image.header')}\n \n \n \n 2000 ? '1vw' : '1.2vw'} sx={{ width: '400px' }}>\n {t('translation.auth.shared.desktop.image.subheader')}\n \n \n \n \n \n );\n};\n\nexport default ChangePasswordImageWIndow;\n","import React, { FormEvent } from 'react';\n\nimport { Grid } from '@mui/material';\n\nimport ChangePasswordFormDesktop from './Components/ChangePasswordFormDesktop';\nimport ChangePasswordImageWindow from './Components/ChangePasswordImageWindow';\n\ninterface IChangePasswordDesktopProps {\n handleSubmit: (event: FormEvent) => void;\n state: string;\n password: string;\n passwordComfirm: string;\n setPassword: (value: string) => void;\n setPasswordComfirm: (value: string) => void;\n}\nconst ChangePasswordDesktop: React.FunctionComponent = ({\n handleSubmit,\n state,\n password,\n passwordComfirm,\n setPassword,\n setPasswordComfirm,\n}) => {\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n );\n};\n\nexport default ChangePasswordDesktop;\n","import React, { FormEvent } from 'react';\n\nimport {\n Alert,\n Card,\n CardContent,\n CardHeader,\n Grid,\n LinearProgress,\n Typography,\n} from '@mui/material';\nimport { t, Translation } from 'i18n';\n\nimport { Button, TextField } from 'components/Elements/Forms/Inputs';\nimport useLabel from 'functions/Hooks/useLabel';\n\ninterface IChangePasswordFormMobileProps {\n handleSubmit: (event: FormEvent) => void;\n state: string;\n password: string;\n passwordComfirm: string;\n setPassword: (value: string) => void;\n setPasswordComfirm: (value: string) => void;\n}\n\nconst ChangePasswordFormMobile: React.FunctionComponent = ({\n handleSubmit,\n state,\n password,\n passwordComfirm,\n setPassword,\n setPasswordComfirm,\n}) => {\n const label = useLabel();\n\n return (\n \n \n \n \n \n \n \n {t('translation.auth.editpw.headerportal')}\n \n .\n \n }\n subheader={\n \n {t('translation.auth.editpw.subheader')}\n \n }\n sx={{ paddingTop: '0px' }}\n />\n \n\n \n
\n {state !== 'success' && (\n \n setPassword(event.target.value)}\n autoComplete=\"new-password\"\n />\n \n )}\n {state !== 'success' && (\n \n setPasswordComfirm(event.target.value)}\n autoComplete=\"new-password\"\n />\n \n )}\n {password !== passwordComfirm && (\n {t('translation.auth.editpw.errorNoMatch')}\n )}\n {state === 'error' && {t('translation.auth.editpw.error')}}\n {state === 'success' && {t('translation.auth.editpw.succes')}}\n {state === 'loading' && }\n {state !== 'success' && (\n \n )}\n {/* \n \n */}\n \n
\n
\n
\n
\n );\n};\n\nexport default ChangePasswordFormMobile;\n","import React, { useState } from 'react';\n\nimport { Grid } from '@mui/material';\n\nimport BackgroundBULogo from 'assets/img/LoginImages/CORE_inlogscherm_collage_mobiel_BEU.png';\nimport BackgroundOBLogo from 'assets/img/LoginImages/CORE_inlogscherm_collage_mobiel_OB.png';\nimport BackgroundSWLogo from 'assets/img/LoginImages/CORE_inlogscherm_collage_mobiel_SW.png';\nimport BackgroundVBLogo from 'assets/img/LoginImages/CORE_inlogscherm_collage_mobiel_VBL.png';\nimport useLabel from 'functions/Hooks/useLabel';\n\nconst ChangePasswordMobileTopHeader = () => {\n const label = useLabel();\n const [backgroundLogo, setBackgroundLogo] = useState();\n\n React.useEffect(() => {\n if (label) {\n switch (label?.name) {\n case 'StudyWorks':\n setBackgroundLogo(BackgroundSWLogo);\n break;\n case 'VlakBijles':\n setBackgroundLogo(BackgroundVBLogo);\n break;\n case 'bijleseu.nl':\n setBackgroundLogo(BackgroundBULogo);\n break;\n default:\n setBackgroundLogo(BackgroundOBLogo);\n break;\n }\n }\n }, [label]);\n\n return (\n \n \n {backgroundLogo && (\n \n )}\n \n \n );\n};\n\nexport default ChangePasswordMobileTopHeader;\n","import React, { FormEvent } from 'react';\n\nimport { Grid } from '@mui/material';\n\nimport ChangePasswordFormMobile from './MobileComponent/ChangePasswordFormMobile';\nimport ChangePasswordMobileTopHeader from './MobileComponent/ChangePasswordMobileTopHeader';\n\ninterface IChangePasswordMobileProps {\n handleSubmit: (event: FormEvent) => void;\n state: string;\n password: string;\n passwordComfirm: string;\n setPassword: (value: string) => void;\n setPasswordComfirm: (value: string) => void;\n}\n\nconst ChangePasswordMobile: React.FunctionComponent = ({\n handleSubmit,\n state,\n password,\n passwordComfirm,\n setPassword,\n setPasswordComfirm,\n}) => {\n return (\n \n \n \n \n\n \n \n \n \n );\n};\n\nexport default ChangePasswordMobile;\n","import React, { FormEvent, useState } from 'react';\n\nimport { LinearProgress } from '@mui/material';\nimport { RouteComponentProps, useParams } from 'react-router-dom';\n\nimport { appClient } from 'App';\nimport { PasswordResetIn } from 'assets/api';\nimport { useWidth } from 'functions/Hooks/useDeviceDetect';\nimport useLabel from 'functions/Hooks/useLabel';\n\nimport ChangePasswordDesktop from './Desktop/ChangePasswordDesktop';\nimport ChangePasswordMobile from './Mobile/ChangePasswordMobile';\n\nexport interface ChangePasswordProps extends RouteComponentProps {}\n\nconst ChangePassword: React.FunctionComponent = () => {\n const currentWidth = useWidth();\n const label = useLabel();\n const [password, setPassword] = useState('');\n const [passwordComfirm, setPasswordComfirm] = useState('');\n const [state, setState] = useState('');\n const { token } = useParams<{ token: string }>();\n\n const handleSubmit = (eventL: FormEvent) => {\n eventL.preventDefault();\n setState('loading');\n\n if (password === passwordComfirm) {\n const data: PasswordResetIn = { password: password };\n\n appClient.auth\n .postAuthResetUserPassword(token, data)\n .then(res => {\n if (res.status === '200') {\n setState('success');\n localStorage.clear();\n } else if (res.status === 'ok') {\n setState('success');\n localStorage.clear();\n } else {\n setState('error');\n\n \n }\n })\n .catch(() => {\n setState('error');\n });\n }\n };\n\n return (\n <>\n {label ? (\n currentWidth === 'xs' ? (\n \n ) : (\n \n )\n ) : (\n \n )}\n \n );\n};\n\nexport default ChangePassword;\n","import React, { FormEvent, useState } from 'react';\n\nimport { Alert, Card, CardContent, CardHeader, Grid, Typography } from '@mui/material';\nimport { t, Translation } from 'i18n';\n\nimport logoSW from 'assets/img/brand/logo-studyworks-origineel1.png';\nimport logoOB from 'assets/img/brand/LOGO_OB.png';\nimport logoBEU from 'assets/img/brand/LogoBijlesEU.png';\nimport logoVBL from 'assets/img/brand/VlakbijlesLogo.png';\nimport { Button, TextField } from 'components/Elements/Forms/Inputs';\nimport useLabel from 'functions/Hooks/useLabel';\n\n\ninterface ICreatePasswordFormDesktopProps {\n handleSubmit: (event: FormEvent) => void;\n status: string;\n setPassword: (value: string) => void;\n setPasswordConfirm: (value: string) => void;\n}\n\nconst CreatePasswordFormDesktop: React.FunctionComponent = ({\n handleSubmit,\n status,\n setPassword,\n setPasswordConfirm,\n}) => {\n const label = useLabel();\n const [logo, setLogo] = useState();\n const [height, setHeight] = useState();\n\n React.useEffect(() => {\n if (label) {\n switch (label?.name) {\n case 'StudyWorks':\n setLogo(logoSW);\n setHeight('30px');\n break;\n case 'VlakBijles':\n setLogo(logoVBL);\n setHeight('80px');\n break;\n case 'bijleseu.nl':\n setLogo(logoBEU);\n setHeight('80px');\n break;\n case 'Bijles.EU':\n setLogo(logoBEU);\n setHeight('60px');\n break;\n case 'Online-Bijles.com':\n setLogo(logoOB);\n setHeight('80px');\n break;\n default:\n break;\n }\n }\n }, [label]);\n\n return (\n \n \n \n \n \n \n \n \n \n \n }\n subheader={\n \n {t('translation.auth.createpw.subheader')}\n \n }\n sx={{ paddingLeft: '0px' }}\n />\n \n\n \n
\n \n {status !== 'success' && (\n \n setPassword(e.target.value)}\n autoComplete=\"new-password\"\n />\n \n )}\n {status !== 'success' && (\n \n setPasswordConfirm(e.target.value)}\n autoComplete=\"new-password\"\n />\n \n )}\n {status !== 'success' && (\n \n \n \n )}\n \n {status === 'error' && {t('translation.auth.createpw.error')}}\n {status === 'success' && (\n {t('translation.auth.createpw.succes')}\n )}\n
\n
\n
\n
\n
\n );\n};\n\nexport default CreatePasswordFormDesktop;\n","import React, { useState } from 'react';\n\nimport { Grid, Typography } from '@mui/material';\nimport { Box } from '@mui/system';\nimport { t } from 'i18n';\nimport theme from 'theme';\n\nimport BackgroundBULogo from 'assets/img/LoginImages/BijlesEUInlog.png';\nimport CollageBEU from 'assets/img/LoginImages/CORE_inlogscherm_collage_BEU.png';\nimport CollageOB from 'assets/img/LoginImages/CORE_inlogscherm_collage_OB.png';\nimport CollageSW from 'assets/img/LoginImages/CORE_inlogscherm_collage_SW.png';\nimport CollageVBL from 'assets/img/LoginImages/CORE_inlogscherm_collage_VBL.png';\nimport BackgroundOBLogo from 'assets/img/LoginImages/huisjeOB.png';\nimport BackgroundSWLogo from 'assets/img/LoginImages/logo-studyworks-krans.png';\nimport BackgroundVBLogo from 'assets/img/LoginImages/VBLInlog.png';\nimport useLabel from 'functions/Hooks/useLabel';\n\nconst CreatePasswordImageWindow = () => {\n const label = useLabel();\n const [backgroundLogo, setBackgroundLogo] = useState();\n const [collage, setCollage] = useState();\n const [opacity, setOpacity] = useState(1);\n\n React.useEffect(() => {\n if (label) {\n switch (label?.name) {\n case 'StudyWorks':\n setBackgroundLogo(BackgroundSWLogo);\n setCollage(CollageSW);\n setOpacity(0.6);\n break;\n case 'VlakBijles':\n setBackgroundLogo(BackgroundVBLogo);\n setCollage(CollageVBL);\n setOpacity(0.2);\n break;\n case 'bijleseu.nl':\n setBackgroundLogo(BackgroundBULogo);\n setCollage(CollageBEU);\n setOpacity(0.3);\n break;\n case 'Bijles.EU':\n setBackgroundLogo(BackgroundBULogo);\n setCollage(CollageBEU);\n setOpacity(0.3);\n break;\n case 'Online-Bijles.com':\n setBackgroundLogo(BackgroundOBLogo);\n setCollage(CollageOB);\n setOpacity(0.3);\n break;\n default:\n setBackgroundLogo(BackgroundSWLogo);\n setCollage(CollageSW);\n break;\n }\n }\n }, [label]);\n\n return (\n \n {backgroundLogo && (\n \n )}\n \n \n \n \n \n 2000 ? '1.4vw' : '1.7vw'}\n color=\"white\"\n textAlign=\"center\"\n lineHeight={1.2}>\n {t('translation.auth.shared.desktop.image.header')}\n \n \n \n 2000 ? '1vw' : '1.2vw'} sx={{ width: '400px' }}>\n {t('translation.auth.shared.desktop.image.subheader')}\n \n \n \n \n \n );\n};\n\nexport default CreatePasswordImageWindow;\n","import React, { FormEvent } from 'react';\n\nimport { Grid } from '@mui/material';\n\nimport CreatePasswordFormDesktop from './Components/CreatePasswordFormDesktop';\nimport CreatePasswordImageWindow from './Components/CreatePasswordImageWindow';\n\ninterface ICreatePasswordDesktopProps {\n handleSubmit: (event: FormEvent) => void;\n status: string;\n setPassword: (value: string) => void;\n setPasswordConfirm: (value: string) => void;\n}\nconst CreatePasswordDesktop: React.FunctionComponent = ({\n handleSubmit,\n status,\n setPassword,\n setPasswordConfirm,\n}) => {\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n );\n};\n\nexport default CreatePasswordDesktop;\n","import React, { FormEvent } from 'react';\n\nimport { Card, CardContent, CardHeader, Grid, Typography } from '@mui/material';\nimport { t, Translation } from 'i18n';\n\nimport { Button, TextField } from 'components/Elements/Forms/Inputs';\nimport useLabel from 'functions/Hooks/useLabel';\n\ninterface ICreatePasswordFormMobileProps {\n handleSubmit: (event: FormEvent) => void;\n status: string;\n setPassword: (value: string) => void;\n setPasswordConfirm: (value: string) => void;\n}\n\nconst CreatePasswordFormMobile: React.FunctionComponent = ({\n handleSubmit,\n setPassword,\n setPasswordConfirm,\n}) => {\n const label = useLabel();\n\n return (\n \n \n \n \n \n \n \n {t('translation.auth.createpw.headerportal')}\n \n .\n \n }\n subheader={\n \n {t('translation.auth.createpw.subheader')}\n \n }\n sx={{ paddingTop: '0px' }}\n />\n \n\n \n
\n \n \n setPassword(e.target.value)}\n autoComplete=\"new-password\"\n />\n \n\n \n setPasswordConfirm(e.target.value)}\n autoComplete=\"new-password\"\n />\n \n\n \n \n {t('translation.auth.createpw.submitBTN')}\n \n \n \n
\n
\n
\n\n \n setPasswordConfirm(e.target.value)}\n autoComplete=\"new-password\"\n />\n \n\n \n \n Wachtwoord instellen\n \n \n
\n
\n );\n};\n\nexport default CreatePasswordFormMobile;\n","import React, { useState } from 'react';\n\nimport { Grid } from '@mui/material';\n\nimport BackgroundBULogo from 'assets/img/LoginImages/CORE_inlogscherm_collage_mobiel_BEU.png';\nimport BackgroundOBLogo from 'assets/img/LoginImages/CORE_inlogscherm_collage_mobiel_OB.png';\nimport BackgroundSWLogo from 'assets/img/LoginImages/CORE_inlogscherm_collage_mobiel_SW.png';\nimport BackgroundVBLogo from 'assets/img/LoginImages/CORE_inlogscherm_collage_mobiel_VBL.png';\nimport useLabel from 'functions/Hooks/useLabel';\n\nconst CreatePasswordMobileTopHeader = () => {\n const label = useLabel();\n const [backgroundLogo, setBackgroundLogo] = useState();\n\n React.useEffect(() => {\n if (label) {\n switch (label?.name) {\n case 'StudyWorks':\n setBackgroundLogo(BackgroundSWLogo);\n break;\n case 'VlakBijles':\n setBackgroundLogo(BackgroundVBLogo);\n break;\n case 'bijleseu.nl':\n setBackgroundLogo(BackgroundBULogo);\n break;\n default:\n setBackgroundLogo(BackgroundOBLogo);\n break;\n }\n }\n }, [label]);\n\n return (\n \n \n {backgroundLogo && (\n \n )}\n \n \n );\n};\n\nexport default CreatePasswordMobileTopHeader;\n","import React, { FormEvent } from 'react';\n\nimport { Grid } from '@mui/material';\n\nimport CreatePasswordFormMobile from './MobileComponent/CreatePasswordFormMobile';\nimport CreatePasswordMobileTopHeader from './MobileComponent/CreatePasswordMobileTopHeader';\n\ninterface ICreatePasswordMobileProps {\n handleSubmit: (event: FormEvent) => void;\n status: string;\n setPassword: (value: string) => void;\n setPasswordConfirm: (value: string) => void;\n}\n\nconst CreatePasswordMobile: React.FunctionComponent = ({\n handleSubmit,\n status,\n setPassword,\n setPasswordConfirm,\n}) => {\n return (\n \n \n \n \n\n \n \n \n \n );\n};\n\nexport default CreatePasswordMobile;\n","import React, { FormEvent, useState } from 'react';\n\nimport { LinearProgress } from '@mui/material';\nimport { useParams } from 'react-router-dom';\n\nimport { appClient } from 'App';\nimport { PasswordResetIn } from 'assets/api';\nimport { useWidth } from 'functions/Hooks/useDeviceDetect';\nimport useLabel from 'functions/Hooks/useLabel';\n\nimport CreatePasswordDesktop from './Desktop/CreatePasswordDesktop';\nimport CreatePasswordMobile from './Mobile/CreatePasswordMobile';\n\nconst CreatePassword = () => {\n const { token } = useParams<{ token: string }>();\n const label = useLabel();\n const currentWidth = useWidth();\n const [password, setPassword] = useState('');\n const [passwordComfirm, setPasswordComfirm] = useState('');\n const [state, setState] = useState('');\n\n const handleSubmit = (eventL: FormEvent) => {\n eventL.preventDefault();\n setState('loading');\n\n if (password === passwordComfirm) {\n const data: PasswordResetIn = { password: password };\n\n appClient.auth\n .postAuthResetUserPassword(token, data)\n .then(res => {\n if (res.status === '200') {\n setState('success');\n localStorage.clear();\n } else if (res.status === 'ok') {\n setState('success');\n localStorage.clear();\n } else {\n setState('error');\n }\n })\n .catch(() => {\n setState('error');\n });\n }\n };\n\n return (\n <>\n {label ? (\n currentWidth === 'xs' ? (\n \n ) : (\n \n )\n ) : (\n \n )}\n \n );\n};\n\nexport default CreatePassword;\n","\"use client\";\n\nimport createSvgIcon from './utils/createSvgIcon';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport default createSvgIcon( /*#__PURE__*/_jsx(\"path\", {\n d: \"M12 7c2.76 0 5 2.24 5 5 0 .65-.13 1.26-.36 1.83l2.92 2.92c1.51-1.26 2.7-2.89 3.43-4.75-1.73-4.39-6-7.5-11-7.5-1.4 0-2.74.25-3.98.7l2.16 2.16C10.74 7.13 11.35 7 12 7M2 4.27l2.28 2.28.46.46C3.08 8.3 1.78 10.02 1 12c1.73 4.39 6 7.5 11 7.5 1.55 0 3.03-.3 4.38-.84l.42.42L19.73 22 21 20.73 3.27 3zM7.53 9.8l1.55 1.55c-.05.21-.08.43-.08.65 0 1.66 1.34 3 3 3 .22 0 .44-.03.65-.08l1.55 1.55c-.67.33-1.41.53-2.2.53-2.76 0-5-2.24-5-5 0-.79.2-1.53.53-2.2m4.31-.78 3.15 3.15.02-.16c0-1.66-1.34-3-3-3z\"\n}), 'VisibilityOff');","\"use client\";\n\nimport createSvgIcon from './utils/createSvgIcon';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport default createSvgIcon( /*#__PURE__*/_jsx(\"path\", {\n d: \"M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5M12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5m0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3\"\n}), 'Visibility');","var __defProp = Object.defineProperty;\nvar __getOwnPropSymbols = Object.getOwnPropertySymbols;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __propIsEnum = Object.prototype.propertyIsEnumerable;\nvar __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __spreadValues = (a, b) => {\n for (var prop in b || (b = {}))\n if (__hasOwnProp.call(b, prop))\n __defNormalProp(a, prop, b[prop]);\n if (__getOwnPropSymbols)\n for (var prop of __getOwnPropSymbols(b)) {\n if (__propIsEnum.call(b, prop))\n __defNormalProp(a, prop, b[prop]);\n }\n return a;\n};\nvar __objRest = (source, exclude) => {\n var target = {};\n for (var prop in source)\n if (__hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0)\n target[prop] = source[prop];\n if (source != null && __getOwnPropSymbols)\n for (var prop of __getOwnPropSymbols(source)) {\n if (exclude.indexOf(prop) < 0 && __propIsEnum.call(source, prop))\n target[prop] = source[prop];\n }\n return target;\n};\n\n// src/index.tsx\nimport React from \"react\";\n\n// src/third-party/qrcodegen/index.ts\n/**\n * @license QR Code generator library (TypeScript)\n * Copyright (c) Project Nayuki.\n * SPDX-License-Identifier: MIT\n */\nvar qrcodegen;\n((qrcodegen2) => {\n const _QrCode = class {\n constructor(version, errorCorrectionLevel, dataCodewords, msk) {\n this.version = version;\n this.errorCorrectionLevel = errorCorrectionLevel;\n this.modules = [];\n this.isFunction = [];\n if (version < _QrCode.MIN_VERSION || version > _QrCode.MAX_VERSION)\n throw new RangeError(\"Version value out of range\");\n if (msk < -1 || msk > 7)\n throw new RangeError(\"Mask value out of range\");\n this.size = version * 4 + 17;\n let row = [];\n for (let i = 0; i < this.size; i++)\n row.push(false);\n for (let i = 0; i < this.size; i++) {\n this.modules.push(row.slice());\n this.isFunction.push(row.slice());\n }\n this.drawFunctionPatterns();\n const allCodewords = this.addEccAndInterleave(dataCodewords);\n this.drawCodewords(allCodewords);\n if (msk == -1) {\n let minPenalty = 1e9;\n for (let i = 0; i < 8; i++) {\n this.applyMask(i);\n this.drawFormatBits(i);\n const penalty = this.getPenaltyScore();\n if (penalty < minPenalty) {\n msk = i;\n minPenalty = penalty;\n }\n this.applyMask(i);\n }\n }\n assert(0 <= msk && msk <= 7);\n this.mask = msk;\n this.applyMask(msk);\n this.drawFormatBits(msk);\n this.isFunction = [];\n }\n static encodeText(text, ecl) {\n const segs = qrcodegen2.QrSegment.makeSegments(text);\n return _QrCode.encodeSegments(segs, ecl);\n }\n static encodeBinary(data, ecl) {\n const seg = qrcodegen2.QrSegment.makeBytes(data);\n return _QrCode.encodeSegments([seg], ecl);\n }\n static encodeSegments(segs, ecl, minVersion = 1, maxVersion = 40, mask = -1, boostEcl = true) {\n if (!(_QrCode.MIN_VERSION <= minVersion && minVersion <= maxVersion && maxVersion <= _QrCode.MAX_VERSION) || mask < -1 || mask > 7)\n throw new RangeError(\"Invalid value\");\n let version;\n let dataUsedBits;\n for (version = minVersion; ; version++) {\n const dataCapacityBits2 = _QrCode.getNumDataCodewords(version, ecl) * 8;\n const usedBits = QrSegment.getTotalBits(segs, version);\n if (usedBits <= dataCapacityBits2) {\n dataUsedBits = usedBits;\n break;\n }\n if (version >= maxVersion)\n throw new RangeError(\"Data too long\");\n }\n for (const newEcl of [_QrCode.Ecc.MEDIUM, _QrCode.Ecc.QUARTILE, _QrCode.Ecc.HIGH]) {\n if (boostEcl && dataUsedBits <= _QrCode.getNumDataCodewords(version, newEcl) * 8)\n ecl = newEcl;\n }\n let bb = [];\n for (const seg of segs) {\n appendBits(seg.mode.modeBits, 4, bb);\n appendBits(seg.numChars, seg.mode.numCharCountBits(version), bb);\n for (const b of seg.getData())\n bb.push(b);\n }\n assert(bb.length == dataUsedBits);\n const dataCapacityBits = _QrCode.getNumDataCodewords(version, ecl) * 8;\n assert(bb.length <= dataCapacityBits);\n appendBits(0, Math.min(4, dataCapacityBits - bb.length), bb);\n appendBits(0, (8 - bb.length % 8) % 8, bb);\n assert(bb.length % 8 == 0);\n for (let padByte = 236; bb.length < dataCapacityBits; padByte ^= 236 ^ 17)\n appendBits(padByte, 8, bb);\n let dataCodewords = [];\n while (dataCodewords.length * 8 < bb.length)\n dataCodewords.push(0);\n bb.forEach((b, i) => dataCodewords[i >>> 3] |= b << 7 - (i & 7));\n return new _QrCode(version, ecl, dataCodewords, mask);\n }\n getModule(x, y) {\n return 0 <= x && x < this.size && 0 <= y && y < this.size && this.modules[y][x];\n }\n getModules() {\n return this.modules;\n }\n drawFunctionPatterns() {\n for (let i = 0; i < this.size; i++) {\n this.setFunctionModule(6, i, i % 2 == 0);\n this.setFunctionModule(i, 6, i % 2 == 0);\n }\n this.drawFinderPattern(3, 3);\n this.drawFinderPattern(this.size - 4, 3);\n this.drawFinderPattern(3, this.size - 4);\n const alignPatPos = this.getAlignmentPatternPositions();\n const numAlign = alignPatPos.length;\n for (let i = 0; i < numAlign; i++) {\n for (let j = 0; j < numAlign; j++) {\n if (!(i == 0 && j == 0 || i == 0 && j == numAlign - 1 || i == numAlign - 1 && j == 0))\n this.drawAlignmentPattern(alignPatPos[i], alignPatPos[j]);\n }\n }\n this.drawFormatBits(0);\n this.drawVersion();\n }\n drawFormatBits(mask) {\n const data = this.errorCorrectionLevel.formatBits << 3 | mask;\n let rem = data;\n for (let i = 0; i < 10; i++)\n rem = rem << 1 ^ (rem >>> 9) * 1335;\n const bits = (data << 10 | rem) ^ 21522;\n assert(bits >>> 15 == 0);\n for (let i = 0; i <= 5; i++)\n this.setFunctionModule(8, i, getBit(bits, i));\n this.setFunctionModule(8, 7, getBit(bits, 6));\n this.setFunctionModule(8, 8, getBit(bits, 7));\n this.setFunctionModule(7, 8, getBit(bits, 8));\n for (let i = 9; i < 15; i++)\n this.setFunctionModule(14 - i, 8, getBit(bits, i));\n for (let i = 0; i < 8; i++)\n this.setFunctionModule(this.size - 1 - i, 8, getBit(bits, i));\n for (let i = 8; i < 15; i++)\n this.setFunctionModule(8, this.size - 15 + i, getBit(bits, i));\n this.setFunctionModule(8, this.size - 8, true);\n }\n drawVersion() {\n if (this.version < 7)\n return;\n let rem = this.version;\n for (let i = 0; i < 12; i++)\n rem = rem << 1 ^ (rem >>> 11) * 7973;\n const bits = this.version << 12 | rem;\n assert(bits >>> 18 == 0);\n for (let i = 0; i < 18; i++) {\n const color = getBit(bits, i);\n const a = this.size - 11 + i % 3;\n const b = Math.floor(i / 3);\n this.setFunctionModule(a, b, color);\n this.setFunctionModule(b, a, color);\n }\n }\n drawFinderPattern(x, y) {\n for (let dy = -4; dy <= 4; dy++) {\n for (let dx = -4; dx <= 4; dx++) {\n const dist = Math.max(Math.abs(dx), Math.abs(dy));\n const xx = x + dx;\n const yy = y + dy;\n if (0 <= xx && xx < this.size && 0 <= yy && yy < this.size)\n this.setFunctionModule(xx, yy, dist != 2 && dist != 4);\n }\n }\n }\n drawAlignmentPattern(x, y) {\n for (let dy = -2; dy <= 2; dy++) {\n for (let dx = -2; dx <= 2; dx++)\n this.setFunctionModule(x + dx, y + dy, Math.max(Math.abs(dx), Math.abs(dy)) != 1);\n }\n }\n setFunctionModule(x, y, isDark) {\n this.modules[y][x] = isDark;\n this.isFunction[y][x] = true;\n }\n addEccAndInterleave(data) {\n const ver = this.version;\n const ecl = this.errorCorrectionLevel;\n if (data.length != _QrCode.getNumDataCodewords(ver, ecl))\n throw new RangeError(\"Invalid argument\");\n const numBlocks = _QrCode.NUM_ERROR_CORRECTION_BLOCKS[ecl.ordinal][ver];\n const blockEccLen = _QrCode.ECC_CODEWORDS_PER_BLOCK[ecl.ordinal][ver];\n const rawCodewords = Math.floor(_QrCode.getNumRawDataModules(ver) / 8);\n const numShortBlocks = numBlocks - rawCodewords % numBlocks;\n const shortBlockLen = Math.floor(rawCodewords / numBlocks);\n let blocks = [];\n const rsDiv = _QrCode.reedSolomonComputeDivisor(blockEccLen);\n for (let i = 0, k = 0; i < numBlocks; i++) {\n let dat = data.slice(k, k + shortBlockLen - blockEccLen + (i < numShortBlocks ? 0 : 1));\n k += dat.length;\n const ecc = _QrCode.reedSolomonComputeRemainder(dat, rsDiv);\n if (i < numShortBlocks)\n dat.push(0);\n blocks.push(dat.concat(ecc));\n }\n let result = [];\n for (let i = 0; i < blocks[0].length; i++) {\n blocks.forEach((block, j) => {\n if (i != shortBlockLen - blockEccLen || j >= numShortBlocks)\n result.push(block[i]);\n });\n }\n assert(result.length == rawCodewords);\n return result;\n }\n drawCodewords(data) {\n if (data.length != Math.floor(_QrCode.getNumRawDataModules(this.version) / 8))\n throw new RangeError(\"Invalid argument\");\n let i = 0;\n for (let right = this.size - 1; right >= 1; right -= 2) {\n if (right == 6)\n right = 5;\n for (let vert = 0; vert < this.size; vert++) {\n for (let j = 0; j < 2; j++) {\n const x = right - j;\n const upward = (right + 1 & 2) == 0;\n const y = upward ? this.size - 1 - vert : vert;\n if (!this.isFunction[y][x] && i < data.length * 8) {\n this.modules[y][x] = getBit(data[i >>> 3], 7 - (i & 7));\n i++;\n }\n }\n }\n }\n assert(i == data.length * 8);\n }\n applyMask(mask) {\n if (mask < 0 || mask > 7)\n throw new RangeError(\"Mask value out of range\");\n for (let y = 0; y < this.size; y++) {\n for (let x = 0; x < this.size; x++) {\n let invert;\n switch (mask) {\n case 0:\n invert = (x + y) % 2 == 0;\n break;\n case 1:\n invert = y % 2 == 0;\n break;\n case 2:\n invert = x % 3 == 0;\n break;\n case 3:\n invert = (x + y) % 3 == 0;\n break;\n case 4:\n invert = (Math.floor(x / 3) + Math.floor(y / 2)) % 2 == 0;\n break;\n case 5:\n invert = x * y % 2 + x * y % 3 == 0;\n break;\n case 6:\n invert = (x * y % 2 + x * y % 3) % 2 == 0;\n break;\n case 7:\n invert = ((x + y) % 2 + x * y % 3) % 2 == 0;\n break;\n default:\n throw new Error(\"Unreachable\");\n }\n if (!this.isFunction[y][x] && invert)\n this.modules[y][x] = !this.modules[y][x];\n }\n }\n }\n getPenaltyScore() {\n let result = 0;\n for (let y = 0; y < this.size; y++) {\n let runColor = false;\n let runX = 0;\n let runHistory = [0, 0, 0, 0, 0, 0, 0];\n for (let x = 0; x < this.size; x++) {\n if (this.modules[y][x] == runColor) {\n runX++;\n if (runX == 5)\n result += _QrCode.PENALTY_N1;\n else if (runX > 5)\n result++;\n } else {\n this.finderPenaltyAddHistory(runX, runHistory);\n if (!runColor)\n result += this.finderPenaltyCountPatterns(runHistory) * _QrCode.PENALTY_N3;\n runColor = this.modules[y][x];\n runX = 1;\n }\n }\n result += this.finderPenaltyTerminateAndCount(runColor, runX, runHistory) * _QrCode.PENALTY_N3;\n }\n for (let x = 0; x < this.size; x++) {\n let runColor = false;\n let runY = 0;\n let runHistory = [0, 0, 0, 0, 0, 0, 0];\n for (let y = 0; y < this.size; y++) {\n if (this.modules[y][x] == runColor) {\n runY++;\n if (runY == 5)\n result += _QrCode.PENALTY_N1;\n else if (runY > 5)\n result++;\n } else {\n this.finderPenaltyAddHistory(runY, runHistory);\n if (!runColor)\n result += this.finderPenaltyCountPatterns(runHistory) * _QrCode.PENALTY_N3;\n runColor = this.modules[y][x];\n runY = 1;\n }\n }\n result += this.finderPenaltyTerminateAndCount(runColor, runY, runHistory) * _QrCode.PENALTY_N3;\n }\n for (let y = 0; y < this.size - 1; y++) {\n for (let x = 0; x < this.size - 1; x++) {\n const color = this.modules[y][x];\n if (color == this.modules[y][x + 1] && color == this.modules[y + 1][x] && color == this.modules[y + 1][x + 1])\n result += _QrCode.PENALTY_N2;\n }\n }\n let dark = 0;\n for (const row of this.modules)\n dark = row.reduce((sum, color) => sum + (color ? 1 : 0), dark);\n const total = this.size * this.size;\n const k = Math.ceil(Math.abs(dark * 20 - total * 10) / total) - 1;\n assert(0 <= k && k <= 9);\n result += k * _QrCode.PENALTY_N4;\n assert(0 <= result && result <= 2568888);\n return result;\n }\n getAlignmentPatternPositions() {\n if (this.version == 1)\n return [];\n else {\n const numAlign = Math.floor(this.version / 7) + 2;\n const step = this.version == 32 ? 26 : Math.ceil((this.version * 4 + 4) / (numAlign * 2 - 2)) * 2;\n let result = [6];\n for (let pos = this.size - 7; result.length < numAlign; pos -= step)\n result.splice(1, 0, pos);\n return result;\n }\n }\n static getNumRawDataModules(ver) {\n if (ver < _QrCode.MIN_VERSION || ver > _QrCode.MAX_VERSION)\n throw new RangeError(\"Version number out of range\");\n let result = (16 * ver + 128) * ver + 64;\n if (ver >= 2) {\n const numAlign = Math.floor(ver / 7) + 2;\n result -= (25 * numAlign - 10) * numAlign - 55;\n if (ver >= 7)\n result -= 36;\n }\n assert(208 <= result && result <= 29648);\n return result;\n }\n static getNumDataCodewords(ver, ecl) {\n return Math.floor(_QrCode.getNumRawDataModules(ver) / 8) - _QrCode.ECC_CODEWORDS_PER_BLOCK[ecl.ordinal][ver] * _QrCode.NUM_ERROR_CORRECTION_BLOCKS[ecl.ordinal][ver];\n }\n static reedSolomonComputeDivisor(degree) {\n if (degree < 1 || degree > 255)\n throw new RangeError(\"Degree out of range\");\n let result = [];\n for (let i = 0; i < degree - 1; i++)\n result.push(0);\n result.push(1);\n let root = 1;\n for (let i = 0; i < degree; i++) {\n for (let j = 0; j < result.length; j++) {\n result[j] = _QrCode.reedSolomonMultiply(result[j], root);\n if (j + 1 < result.length)\n result[j] ^= result[j + 1];\n }\n root = _QrCode.reedSolomonMultiply(root, 2);\n }\n return result;\n }\n static reedSolomonComputeRemainder(data, divisor) {\n let result = divisor.map((_) => 0);\n for (const b of data) {\n const factor = b ^ result.shift();\n result.push(0);\n divisor.forEach((coef, i) => result[i] ^= _QrCode.reedSolomonMultiply(coef, factor));\n }\n return result;\n }\n static reedSolomonMultiply(x, y) {\n if (x >>> 8 != 0 || y >>> 8 != 0)\n throw new RangeError(\"Byte out of range\");\n let z = 0;\n for (let i = 7; i >= 0; i--) {\n z = z << 1 ^ (z >>> 7) * 285;\n z ^= (y >>> i & 1) * x;\n }\n assert(z >>> 8 == 0);\n return z;\n }\n finderPenaltyCountPatterns(runHistory) {\n const n = runHistory[1];\n assert(n <= this.size * 3);\n const core = n > 0 && runHistory[2] == n && runHistory[3] == n * 3 && runHistory[4] == n && runHistory[5] == n;\n return (core && runHistory[0] >= n * 4 && runHistory[6] >= n ? 1 : 0) + (core && runHistory[6] >= n * 4 && runHistory[0] >= n ? 1 : 0);\n }\n finderPenaltyTerminateAndCount(currentRunColor, currentRunLength, runHistory) {\n if (currentRunColor) {\n this.finderPenaltyAddHistory(currentRunLength, runHistory);\n currentRunLength = 0;\n }\n currentRunLength += this.size;\n this.finderPenaltyAddHistory(currentRunLength, runHistory);\n return this.finderPenaltyCountPatterns(runHistory);\n }\n finderPenaltyAddHistory(currentRunLength, runHistory) {\n if (runHistory[0] == 0)\n currentRunLength += this.size;\n runHistory.pop();\n runHistory.unshift(currentRunLength);\n }\n };\n let QrCode = _QrCode;\n QrCode.MIN_VERSION = 1;\n QrCode.MAX_VERSION = 40;\n QrCode.PENALTY_N1 = 3;\n QrCode.PENALTY_N2 = 3;\n QrCode.PENALTY_N3 = 40;\n QrCode.PENALTY_N4 = 10;\n QrCode.ECC_CODEWORDS_PER_BLOCK = [\n [-1, 7, 10, 15, 20, 26, 18, 20, 24, 30, 18, 20, 24, 26, 30, 22, 24, 28, 30, 28, 28, 28, 28, 30, 30, 26, 28, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30],\n [-1, 10, 16, 26, 18, 24, 16, 18, 22, 22, 26, 30, 22, 22, 24, 24, 28, 28, 26, 26, 26, 26, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28],\n [-1, 13, 22, 18, 26, 18, 24, 18, 22, 20, 24, 28, 26, 24, 20, 30, 24, 28, 28, 26, 30, 28, 30, 30, 30, 30, 28, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30],\n [-1, 17, 28, 22, 16, 22, 28, 26, 26, 24, 28, 24, 28, 22, 24, 24, 30, 28, 28, 26, 28, 30, 24, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30]\n ];\n QrCode.NUM_ERROR_CORRECTION_BLOCKS = [\n [-1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 4, 4, 4, 4, 4, 6, 6, 6, 6, 7, 8, 8, 9, 9, 10, 12, 12, 12, 13, 14, 15, 16, 17, 18, 19, 19, 20, 21, 22, 24, 25],\n [-1, 1, 1, 1, 2, 2, 4, 4, 4, 5, 5, 5, 8, 9, 9, 10, 10, 11, 13, 14, 16, 17, 17, 18, 20, 21, 23, 25, 26, 28, 29, 31, 33, 35, 37, 38, 40, 43, 45, 47, 49],\n [-1, 1, 1, 2, 2, 4, 4, 6, 6, 8, 8, 8, 10, 12, 16, 12, 17, 16, 18, 21, 20, 23, 23, 25, 27, 29, 34, 34, 35, 38, 40, 43, 45, 48, 51, 53, 56, 59, 62, 65, 68],\n [-1, 1, 1, 2, 4, 4, 4, 5, 6, 8, 8, 11, 11, 16, 16, 18, 16, 19, 21, 25, 25, 25, 34, 30, 32, 35, 37, 40, 42, 45, 48, 51, 54, 57, 60, 63, 66, 70, 74, 77, 81]\n ];\n qrcodegen2.QrCode = QrCode;\n function appendBits(val, len, bb) {\n if (len < 0 || len > 31 || val >>> len != 0)\n throw new RangeError(\"Value out of range\");\n for (let i = len - 1; i >= 0; i--)\n bb.push(val >>> i & 1);\n }\n function getBit(x, i) {\n return (x >>> i & 1) != 0;\n }\n function assert(cond) {\n if (!cond)\n throw new Error(\"Assertion error\");\n }\n const _QrSegment = class {\n constructor(mode, numChars, bitData) {\n this.mode = mode;\n this.numChars = numChars;\n this.bitData = bitData;\n if (numChars < 0)\n throw new RangeError(\"Invalid argument\");\n this.bitData = bitData.slice();\n }\n static makeBytes(data) {\n let bb = [];\n for (const b of data)\n appendBits(b, 8, bb);\n return new _QrSegment(_QrSegment.Mode.BYTE, data.length, bb);\n }\n static makeNumeric(digits) {\n if (!_QrSegment.isNumeric(digits))\n throw new RangeError(\"String contains non-numeric characters\");\n let bb = [];\n for (let i = 0; i < digits.length; ) {\n const n = Math.min(digits.length - i, 3);\n appendBits(parseInt(digits.substr(i, n), 10), n * 3 + 1, bb);\n i += n;\n }\n return new _QrSegment(_QrSegment.Mode.NUMERIC, digits.length, bb);\n }\n static makeAlphanumeric(text) {\n if (!_QrSegment.isAlphanumeric(text))\n throw new RangeError(\"String contains unencodable characters in alphanumeric mode\");\n let bb = [];\n let i;\n for (i = 0; i + 2 <= text.length; i += 2) {\n let temp = _QrSegment.ALPHANUMERIC_CHARSET.indexOf(text.charAt(i)) * 45;\n temp += _QrSegment.ALPHANUMERIC_CHARSET.indexOf(text.charAt(i + 1));\n appendBits(temp, 11, bb);\n }\n if (i < text.length)\n appendBits(_QrSegment.ALPHANUMERIC_CHARSET.indexOf(text.charAt(i)), 6, bb);\n return new _QrSegment(_QrSegment.Mode.ALPHANUMERIC, text.length, bb);\n }\n static makeSegments(text) {\n if (text == \"\")\n return [];\n else if (_QrSegment.isNumeric(text))\n return [_QrSegment.makeNumeric(text)];\n else if (_QrSegment.isAlphanumeric(text))\n return [_QrSegment.makeAlphanumeric(text)];\n else\n return [_QrSegment.makeBytes(_QrSegment.toUtf8ByteArray(text))];\n }\n static makeEci(assignVal) {\n let bb = [];\n if (assignVal < 0)\n throw new RangeError(\"ECI assignment value out of range\");\n else if (assignVal < 1 << 7)\n appendBits(assignVal, 8, bb);\n else if (assignVal < 1 << 14) {\n appendBits(2, 2, bb);\n appendBits(assignVal, 14, bb);\n } else if (assignVal < 1e6) {\n appendBits(6, 3, bb);\n appendBits(assignVal, 21, bb);\n } else\n throw new RangeError(\"ECI assignment value out of range\");\n return new _QrSegment(_QrSegment.Mode.ECI, 0, bb);\n }\n static isNumeric(text) {\n return _QrSegment.NUMERIC_REGEX.test(text);\n }\n static isAlphanumeric(text) {\n return _QrSegment.ALPHANUMERIC_REGEX.test(text);\n }\n getData() {\n return this.bitData.slice();\n }\n static getTotalBits(segs, version) {\n let result = 0;\n for (const seg of segs) {\n const ccbits = seg.mode.numCharCountBits(version);\n if (seg.numChars >= 1 << ccbits)\n return Infinity;\n result += 4 + ccbits + seg.bitData.length;\n }\n return result;\n }\n static toUtf8ByteArray(str) {\n str = encodeURI(str);\n let result = [];\n for (let i = 0; i < str.length; i++) {\n if (str.charAt(i) != \"%\")\n result.push(str.charCodeAt(i));\n else {\n result.push(parseInt(str.substr(i + 1, 2), 16));\n i += 2;\n }\n }\n return result;\n }\n };\n let QrSegment = _QrSegment;\n QrSegment.NUMERIC_REGEX = /^[0-9]*$/;\n QrSegment.ALPHANUMERIC_REGEX = /^[A-Z0-9 $%*+.\\/:-]*$/;\n QrSegment.ALPHANUMERIC_CHARSET = \"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:\";\n qrcodegen2.QrSegment = QrSegment;\n})(qrcodegen || (qrcodegen = {}));\n((qrcodegen2) => {\n let QrCode;\n ((QrCode2) => {\n const _Ecc = class {\n constructor(ordinal, formatBits) {\n this.ordinal = ordinal;\n this.formatBits = formatBits;\n }\n };\n let Ecc = _Ecc;\n Ecc.LOW = new _Ecc(0, 1);\n Ecc.MEDIUM = new _Ecc(1, 0);\n Ecc.QUARTILE = new _Ecc(2, 3);\n Ecc.HIGH = new _Ecc(3, 2);\n QrCode2.Ecc = Ecc;\n })(QrCode = qrcodegen2.QrCode || (qrcodegen2.QrCode = {}));\n})(qrcodegen || (qrcodegen = {}));\n((qrcodegen2) => {\n let QrSegment;\n ((QrSegment2) => {\n const _Mode = class {\n constructor(modeBits, numBitsCharCount) {\n this.modeBits = modeBits;\n this.numBitsCharCount = numBitsCharCount;\n }\n numCharCountBits(ver) {\n return this.numBitsCharCount[Math.floor((ver + 7) / 17)];\n }\n };\n let Mode = _Mode;\n Mode.NUMERIC = new _Mode(1, [10, 12, 14]);\n Mode.ALPHANUMERIC = new _Mode(2, [9, 11, 13]);\n Mode.BYTE = new _Mode(4, [8, 16, 16]);\n Mode.KANJI = new _Mode(8, [8, 10, 12]);\n Mode.ECI = new _Mode(7, [0, 0, 0]);\n QrSegment2.Mode = Mode;\n })(QrSegment = qrcodegen2.QrSegment || (qrcodegen2.QrSegment = {}));\n})(qrcodegen || (qrcodegen = {}));\nvar qrcodegen_default = qrcodegen;\n\n// src/index.tsx\n/**\n * @license qrcode.react\n * Copyright (c) Paul O'Shannessy\n * SPDX-License-Identifier: ISC\n */\nvar ERROR_LEVEL_MAP = {\n L: qrcodegen_default.QrCode.Ecc.LOW,\n M: qrcodegen_default.QrCode.Ecc.MEDIUM,\n Q: qrcodegen_default.QrCode.Ecc.QUARTILE,\n H: qrcodegen_default.QrCode.Ecc.HIGH\n};\nvar DEFAULT_SIZE = 128;\nvar DEFAULT_LEVEL = \"L\";\nvar DEFAULT_BGCOLOR = \"#FFFFFF\";\nvar DEFAULT_FGCOLOR = \"#000000\";\nvar DEFAULT_INCLUDEMARGIN = false;\nvar MARGIN_SIZE = 4;\nvar DEFAULT_IMG_SCALE = 0.1;\nfunction generatePath(modules, margin = 0) {\n const ops = [];\n modules.forEach(function(row, y) {\n let start = null;\n row.forEach(function(cell, x) {\n if (!cell && start !== null) {\n ops.push(`M${start + margin} ${y + margin}h${x - start}v1H${start + margin}z`);\n start = null;\n return;\n }\n if (x === row.length - 1) {\n if (!cell) {\n return;\n }\n if (start === null) {\n ops.push(`M${x + margin},${y + margin} h1v1H${x + margin}z`);\n } else {\n ops.push(`M${start + margin},${y + margin} h${x + 1 - start}v1H${start + margin}z`);\n }\n return;\n }\n if (cell && start === null) {\n start = x;\n }\n });\n });\n return ops.join(\"\");\n}\nfunction excavateModules(modules, excavation) {\n return modules.slice().map((row, y) => {\n if (y < excavation.y || y >= excavation.y + excavation.h) {\n return row;\n }\n return row.map((cell, x) => {\n if (x < excavation.x || x >= excavation.x + excavation.w) {\n return cell;\n }\n return false;\n });\n });\n}\nfunction getImageSettings(cells, size, includeMargin, imageSettings) {\n if (imageSettings == null) {\n return null;\n }\n const margin = includeMargin ? MARGIN_SIZE : 0;\n const numCells = cells.length + margin * 2;\n const defaultSize = Math.floor(size * DEFAULT_IMG_SCALE);\n const scale = numCells / size;\n const w = (imageSettings.width || defaultSize) * scale;\n const h = (imageSettings.height || defaultSize) * scale;\n const x = imageSettings.x == null ? cells.length / 2 - w / 2 : imageSettings.x * scale;\n const y = imageSettings.y == null ? cells.length / 2 - h / 2 : imageSettings.y * scale;\n let excavation = null;\n if (imageSettings.excavate) {\n let floorX = Math.floor(x);\n let floorY = Math.floor(y);\n let ceilW = Math.ceil(w + x - floorX);\n let ceilH = Math.ceil(h + y - floorY);\n excavation = { x: floorX, y: floorY, w: ceilW, h: ceilH };\n }\n return { x, y, h, w, excavation };\n}\nvar SUPPORTS_PATH2D = function() {\n try {\n new Path2D().addPath(new Path2D());\n } catch (e) {\n return false;\n }\n return true;\n}();\nfunction QRCodeCanvas(props) {\n const _a = props, {\n value,\n size = DEFAULT_SIZE,\n level = DEFAULT_LEVEL,\n bgColor = DEFAULT_BGCOLOR,\n fgColor = DEFAULT_FGCOLOR,\n includeMargin = DEFAULT_INCLUDEMARGIN,\n style,\n imageSettings\n } = _a, otherProps = __objRest(_a, [\n \"value\",\n \"size\",\n \"level\",\n \"bgColor\",\n \"fgColor\",\n \"includeMargin\",\n \"style\",\n \"imageSettings\"\n ]);\n const imgSrc = imageSettings == null ? void 0 : imageSettings.src;\n const _canvas = React.useRef(null);\n const _image = React.useRef(null);\n const [isImgLoaded, setIsImageLoaded] = React.useState(false);\n React.useEffect(() => {\n if (_canvas.current != null) {\n const canvas = _canvas.current;\n const ctx = canvas.getContext(\"2d\");\n if (!ctx) {\n return;\n }\n let cells = qrcodegen_default.QrCode.encodeText(value, ERROR_LEVEL_MAP[level]).getModules();\n const margin = includeMargin ? MARGIN_SIZE : 0;\n const numCells = cells.length + margin * 2;\n const calculatedImageSettings = getImageSettings(cells, size, includeMargin, imageSettings);\n const image = _image.current;\n const haveImageToRender = calculatedImageSettings != null && image !== null && image.complete && image.naturalHeight !== 0 && image.naturalWidth !== 0;\n if (haveImageToRender) {\n if (calculatedImageSettings.excavation != null) {\n cells = excavateModules(cells, calculatedImageSettings.excavation);\n }\n }\n const pixelRatio = window.devicePixelRatio || 1;\n canvas.height = canvas.width = size * pixelRatio;\n const scale = size / numCells * pixelRatio;\n ctx.scale(scale, scale);\n ctx.fillStyle = bgColor;\n ctx.fillRect(0, 0, numCells, numCells);\n ctx.fillStyle = fgColor;\n if (SUPPORTS_PATH2D) {\n ctx.fill(new Path2D(generatePath(cells, margin)));\n } else {\n cells.forEach(function(row, rdx) {\n row.forEach(function(cell, cdx) {\n if (cell) {\n ctx.fillRect(cdx + margin, rdx + margin, 1, 1);\n }\n });\n });\n }\n if (haveImageToRender) {\n ctx.drawImage(image, calculatedImageSettings.x + margin, calculatedImageSettings.y + margin, calculatedImageSettings.w, calculatedImageSettings.h);\n }\n }\n });\n React.useEffect(() => {\n setIsImageLoaded(false);\n }, [imgSrc]);\n const canvasStyle = __spreadValues({ height: size, width: size }, style);\n let img = null;\n if (imgSrc != null) {\n img = /* @__PURE__ */ React.createElement(\"img\", {\n src: imgSrc,\n key: imgSrc,\n style: { display: \"none\" },\n onLoad: () => {\n setIsImageLoaded(true);\n },\n ref: _image\n });\n }\n return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(\"canvas\", __spreadValues({\n style: canvasStyle,\n height: size,\n width: size,\n ref: _canvas\n }, otherProps)), img);\n}\nfunction QRCodeSVG(props) {\n const _a = props, {\n value,\n size = DEFAULT_SIZE,\n level = DEFAULT_LEVEL,\n bgColor = DEFAULT_BGCOLOR,\n fgColor = DEFAULT_FGCOLOR,\n includeMargin = DEFAULT_INCLUDEMARGIN,\n imageSettings\n } = _a, otherProps = __objRest(_a, [\n \"value\",\n \"size\",\n \"level\",\n \"bgColor\",\n \"fgColor\",\n \"includeMargin\",\n \"imageSettings\"\n ]);\n let cells = qrcodegen_default.QrCode.encodeText(value, ERROR_LEVEL_MAP[level]).getModules();\n const margin = includeMargin ? MARGIN_SIZE : 0;\n const numCells = cells.length + margin * 2;\n const calculatedImageSettings = getImageSettings(cells, size, includeMargin, imageSettings);\n let image = null;\n if (imageSettings != null && calculatedImageSettings != null) {\n if (calculatedImageSettings.excavation != null) {\n cells = excavateModules(cells, calculatedImageSettings.excavation);\n }\n image = /* @__PURE__ */ React.createElement(\"image\", {\n xlinkHref: imageSettings.src,\n height: calculatedImageSettings.h,\n width: calculatedImageSettings.w,\n x: calculatedImageSettings.x + margin,\n y: calculatedImageSettings.y + margin,\n preserveAspectRatio: \"none\"\n });\n }\n const fgPath = generatePath(cells, margin);\n return /* @__PURE__ */ React.createElement(\"svg\", __spreadValues({\n height: size,\n width: size,\n viewBox: `0 0 ${numCells} ${numCells}`\n }, otherProps), /* @__PURE__ */ React.createElement(\"path\", {\n fill: bgColor,\n d: `M0,0 h${numCells}v${numCells}H0z`,\n shapeRendering: \"crispEdges\"\n }), /* @__PURE__ */ React.createElement(\"path\", {\n fill: fgColor,\n d: fgPath,\n shapeRendering: \"crispEdges\"\n }), image);\n}\nvar QRCode = (props) => {\n const _a = props, { renderAs } = _a, otherProps = __objRest(_a, [\"renderAs\"]);\n if (renderAs === \"svg\") {\n return /* @__PURE__ */ React.createElement(QRCodeSVG, __spreadValues({}, otherProps));\n }\n return /* @__PURE__ */ React.createElement(QRCodeCanvas, __spreadValues({}, otherProps));\n};\nexport {\n QRCodeCanvas,\n QRCodeSVG,\n QRCode as default\n};\n","import * as React from 'react';\nimport { useEffect, useState } from 'react';\n\nimport { CardActions, CardContent, CardHeader, LinearProgress, Modal, Paper } from '@mui/material';\nimport QRCode from 'qrcode.react';\n\nimport { appClient } from 'App';\nimport { UserUri } from 'assets/api';\nimport { Button, TextField } from 'components/Elements/Forms/Inputs';\n\ninterface TwoFPSetupProps {\n status: string;\n onClose: () => void;\n}\n\nconst TwoFPSetup: React.FunctionComponent = ({ status }) => {\n const [qrCode, setQrCode] = useState();\n\n useEffect(() => {\n if (status === 'TwoFPSetUp') {\n appClient.auth.getAuthGetSecret().then(async r => {\n await appClient.auth.patchAuthGetSecret(r);\n appClient.auth.postAuthGetQrUri(r).then(setQrCode);\n });\n }\n }, [status]);\n\n const handleSubmit: React.FormEventHandler = async e => {\n e.preventDefault();\n const formdata = new FormData(e.currentTarget);\n const response = await appClient.auth.postAuthLoginWithMfa({\n mfa: formdata.get('mfa_code') as string,\n });\n\n const { access_token } = response;\n const jwt = `Bearer ${access_token}`;\n localStorage.setItem('jwt', jwt);\n // props.history.push(\"/\");\n window.location.reload();\n };\n\n return (\n \n \n \n \n {qrCode ? (\n \n ) : (\n \n )}\n \n \n {/* setChecked(checked)}/>} label='Ik heb de QR code gescanned met een authenticator app' /> */}\n \n \n Accepteren\n \n \n \n \n );\n};\n\nexport default TwoFPSetup;\n","import React, { FormEvent, useState } from 'react';\n\nimport { Visibility, VisibilityOff } from '@mui/icons-material';\nimport {\n Alert,\n Card,\n CardContent,\n CardHeader,\n Collapse,\n Grid,\n IconButton,\n InputAdornment,\n Link,\n Typography,\n} from '@mui/material';\nimport { t, Translation } from 'i18n';\n\nimport logoSW from 'assets/img/brand/logo-studyworks-origineel1.png';\nimport logoOB from 'assets/img/brand/LOGO_OB.png';\nimport logoBEU from 'assets/img/brand/LogoBijlesEU.png';\nimport logoVBL from 'assets/img/brand/VlakbijlesLogo.png';\nimport { Button, TextField } from 'components/Elements/Forms/Inputs';\nimport useLabel from 'functions/Hooks/useLabel';\nimport useUser from 'functions/Hooks/useUser';\n\nimport TwoFPSetup from '../../TwoSetup';\n\ninterface ILoginFormDesktopProps {\n handleSubmit: (event: FormEvent) => void;\n error: boolean;\n blocked: boolean;\n status: string;\n setStatus: (value: string) => void;\n}\n\nconst LoginFormDesktop: React.FunctionComponent = ({\n handleSubmit,\n error,\n blocked,\n status,\n setStatus,\n}) => {\n const label = useLabel();\n const [showPassword, setShowPassword] = useState(false);\n const { isLoadingUser } = useUser();\n const [logo, setLogo] = useState();\n const [height, setHeight] = useState();\n\n /** Set states (logo, margin and height) for the logo based on label */\n React.useEffect(() => {\n if (label) {\n switch (label?.name) {\n case 'StudyWorks':\n setLogo(logoSW);\n setHeight('30px');\n break;\n case 'VlakBijles':\n setLogo(logoVBL);\n setHeight('80px');\n break;\n case 'bijleseu.nl':\n setLogo(logoBEU);\n setHeight('80px');\n break;\n case 'Bijles.EU':\n setLogo(logoBEU);\n setHeight('60px');\n break;\n case 'Online-Bijles.com':\n setLogo(logoOB);\n setHeight('80px');\n break;\n default:\n break;\n }\n }\n }, [label]);\n\n return (\n \n \n \n \n \n \n \n 2000 ? '1.4vw' : '1.7vw',\n lineHeight: '1.2',\n }}>\n {' '}\n 2000 ? '1.4vw' : '1.7vw',\n lineHeight: '1.2',\n }}>\n {t('translation.auth.login.headerportal')}\n \n .\n \n }\n subheader={\n \n {t('translation.auth.login.subheader')}\n \n }\n sx={{ paddingLeft: '0px' }}\n />\n \n\n \n
\n \n \n \n \n\n \n \n setShowPassword(!showPassword)}\n onMouseDown={e => e.preventDefault()}\n edge=\"end\">\n {showPassword ? : }\n \n \n ),\n }}\n autoComplete=\"current-password\"\n />\n \n \n {status === 'TwoFPRequired' && (\n \n )}\n \n\n \n {error && {t('translation.auth.login.error')}}\n \n \n {blocked && {t('translation.auth.login.blocked')}}\n \n \n 2000 ? '0.7vw' : '1vw'}>\n {t('translation.auth.login.forgetpwBTN')}\n \n \n \n \n {t('translation.auth.login.loginBTN')}\n \n \n \n
\n
\n
\n setStatus('TwoFPRequired')} />\n
\n
\n );\n};\n\nexport default LoginFormDesktop;\n","import React, { useState } from 'react';\n\nimport { Grid, Typography } from '@mui/material';\nimport { Box } from '@mui/system';\nimport { t } from 'i18n';\nimport theme from 'theme';\n\nimport BackgroundBULogo from 'assets/img/LoginImages/BijlesEUInlog.png';\nimport CollageBEU from 'assets/img/LoginImages/CORE_inlogscherm_collage_BEU.png';\nimport CollageOB from 'assets/img/LoginImages/CORE_inlogscherm_collage_OB.png';\nimport CollageSW from 'assets/img/LoginImages/CORE_inlogscherm_collage_SW.png';\nimport CollageVBL from 'assets/img/LoginImages/CORE_inlogscherm_collage_VBL.png';\nimport BackgroundOBLogo from 'assets/img/LoginImages/huisjeOB.png';\nimport BackgroundSWLogo from 'assets/img/LoginImages/logo-studyworks-krans.png';\nimport BackgroundVBLogo from 'assets/img/LoginImages/VBLInlog.png';\nimport useLabel from 'functions/Hooks/useLabel';\n\nconst LoginImageWIndow = () => {\n const label = useLabel();\n const [backgroundLogo, setBackgroundLogo] = useState();\n const [collage, setCollage] = useState();\n const [opacity, setOpacity] = useState(1);\n\n React.useEffect(() => {\n if (label) {\n switch (label?.name) {\n case 'StudyWorks':\n setBackgroundLogo(BackgroundSWLogo);\n setCollage(CollageSW);\n setOpacity(0.6);\n break;\n case 'VlakBijles':\n setBackgroundLogo(BackgroundVBLogo);\n setCollage(CollageVBL);\n setOpacity(0.2);\n break;\n case 'bijleseu.nl':\n setBackgroundLogo(BackgroundBULogo);\n setCollage(CollageBEU);\n setOpacity(0.3);\n break;\n case 'Bijles.EU':\n setBackgroundLogo(BackgroundBULogo);\n setCollage(CollageBEU);\n setOpacity(0.3);\n break;\n case 'Online-Bijles.com':\n setBackgroundLogo(BackgroundOBLogo);\n setCollage(CollageOB);\n setOpacity(0.3);\n break;\n default:\n setBackgroundLogo(BackgroundSWLogo);\n setCollage(CollageSW);\n break;\n }\n }\n }, [label]);\n\n return (\n \n {backgroundLogo && (\n \n )}\n \n \n \n \n \n 2000 ? '1.4vw' : '1.7vw'}\n color=\"white\"\n textAlign=\"center\"\n lineHeight={1.2}>\n {t('translation.auth.shared.desktop.image.header')}\n \n \n \n 2000 ? '1vw' : '1.2vw'} sx={{ width: '400px' }}>\n {t('translation.auth.shared.desktop.image.subheader')}\n \n \n \n \n \n );\n};\n\nexport default LoginImageWIndow;\n","import React, { FormEvent } from 'react';\n\nimport { Grid } from '@mui/material';\n\nimport LoginFormDesktop from './Components/LoginFormDesktop';\nimport LoginImageWIndow from './Components/LoginImageWIndow';\n\ninterface ILoginDesktopProps {\n handleSubmit: (event: FormEvent) => void;\n error: boolean;\n blocked: boolean;\n status: string;\n setStatus: (value: string) => void;\n}\nconst LoginDesktop: React.FunctionComponent = ({\n handleSubmit,\n error,\n blocked,\n status,\n setStatus,\n}) => {\n return (\n \n \n \n 2000 ? '10% 80px' : '20% 80px' }}>\n \n \n \n \n \n \n \n \n \n \n \n \n );\n};\n\nexport default LoginDesktop;\n","import React, { FormEvent, useState } from 'react';\n\nimport { Visibility, VisibilityOff } from '@mui/icons-material';\nimport {\n Alert,\n Card,\n CardContent,\n CardHeader,\n Collapse,\n Grid,\n IconButton,\n InputAdornment,\n Link,\n Typography,\n} from '@mui/material';\nimport { t, Translation } from 'i18n';\n\nimport { Button, TextField } from 'components/Elements/Forms/Inputs';\nimport useLabel from 'functions/Hooks/useLabel';\nimport useUser from 'functions/Hooks/useUser';\n\nimport TwoFPSetup from '../../TwoSetup';\n\n\ninterface ILoginFormMobileProps {\n handleSubmit: (event: FormEvent) => void;\n error: boolean;\n blocked: boolean;\n status: string;\n setStatus: (value: string) => void;\n}\n\nconst LoginFormMobile: React.FunctionComponent = ({\n handleSubmit,\n error,\n blocked,\n status,\n setStatus,\n}) => {\n const label = useLabel();\n const [showPassword, setShowPassword] = useState(false);\n const { isLoadingUser } = useUser();\n\n return (\n \n \n \n \n \n \n \n {t('translation.auth.login.headerportal')}\n \n .\n \n }\n subheader={\n \n {t('translation.auth.login.subheader')}\n \n }\n sx={{ paddingTop: '0px' }}\n />\n \n\n \n
\n \n \n \n \n\n \n \n setShowPassword(!showPassword)}\n onMouseDown={e => e.preventDefault()}\n edge=\"end\">\n {showPassword ? : }\n \n \n ),\n }}\n autoComplete=\"current-password\"\n />\n \n \n {status === 'TwoFPRequired' && (\n \n )}\n \n\n \n {error && {t('translation.auth.login.error')}}\n \n \n {blocked && {t('translation.auth.login.blocked')}}\n \n \n \n \n {t('translation.auth.login.forgetpwBTN')}\n \n \n \n \n \n {t('translation.auth.login.loginBTN')}\n \n \n \n
\n
\n
\n setStatus('TwoFPRequired')} />\n
\n
\n );\n};\n\nexport default LoginFormMobile;\n","import React, { useState } from 'react';\n\nimport { Grid } from '@mui/material';\n\nimport BackgroundBULogo from 'assets/img/LoginImages/CORE_inlogscherm_collage_mobiel_BEU.png';\nimport BackgroundOBLogo from 'assets/img/LoginImages/CORE_inlogscherm_collage_mobiel_OB.png';\nimport BackgroundSWLogo from 'assets/img/LoginImages/CORE_inlogscherm_collage_mobiel_SW.png';\nimport BackgroundVBLogo from 'assets/img/LoginImages/CORE_inlogscherm_collage_mobiel_VBL.png';\nimport useLabel from 'functions/Hooks/useLabel';\n\nconst LoginMobileTopHeader = () => {\n const label = useLabel();\n const [backgroundLogo, setBackgroundLogo] = useState();\n\n React.useEffect(() => {\n if (label) {\n switch (label?.name) {\n case 'StudyWorks':\n setBackgroundLogo(BackgroundSWLogo);\n break;\n case 'VlakBijles':\n setBackgroundLogo(BackgroundVBLogo);\n break;\n case 'bijleseu.nl':\n setBackgroundLogo(BackgroundBULogo);\n break;\n default:\n setBackgroundLogo(BackgroundOBLogo);\n break;\n }\n }\n }, [label]);\n\n return (\n \n \n {backgroundLogo && (\n \n )}\n \n \n );\n};\n\nexport default LoginMobileTopHeader;\n","import React, { FormEvent } from 'react';\n\nimport { Grid } from '@mui/material';\n\nimport LoginFormMobile from './MobileComponent/LoginFormMobile';\nimport LoginMobileTopHeader from './MobileComponent/LoginMobileTopHeader';\n\ninterface ILoginMobileProps {\n handleSubmit: (event: FormEvent) => void;\n error: boolean;\n blocked: boolean;\n status: string;\n setStatus: (value: string) => void;\n}\n\nconst LoginMobile: React.FunctionComponent = ({\n handleSubmit,\n error,\n blocked,\n status,\n setStatus,\n}) => {\n return (\n \n \n \n \n\n \n \n \n \n );\n};\n\nexport default LoginMobile;\n","import React, { FormEvent, useState } from 'react';\n\nimport { LinearProgress } from '@mui/material';\nimport { RouteComponentProps } from 'react-router-dom';\n\nimport { appClient } from 'App';\nimport { Body_login_for_access_token_token_post } from 'assets/api';\nimport { useWidth } from 'functions/Hooks/useDeviceDetect';\nimport useLabel from 'functions/Hooks/useLabel';\nimport useUser from 'functions/Hooks/useUser';\n\nimport LoginDesktop from './Desktop/LoginDesktop';\nimport LoginMobile from './Mobile/LoginMobile';\n\nexport interface LoginProps extends RouteComponentProps {}\n\nconst Login: React.FunctionComponent = props => {\n const currentWidth = useWidth();\n const [error, setError] = useState(false);\n const [blocked, setBlocked] = useState(false);\n\n const label = useLabel();\n\n const [status, setStatus] = useState('first_login');\n const { signIn } = useUser();\n\n const handleSubmit = async (eventL: FormEvent) => {\n setBlocked(false);\n setError(false);\n eventL.preventDefault();\n\n if (status === 'first_login' && signIn) {\n const formdata = new FormData(eventL.currentTarget);\n const loginCredatials: Body_login_for_access_token_token_post = {\n username: formdata.get('email') as string,\n password: formdata.get('password') as string,\n };\n\n // appClient.default.postLoginForAccessToken(loginCredatials);\n const response = await signIn(loginCredatials).catch((r: { status: number }) => {\n if (r.status === 403) {\n setBlocked(true);\n } else {\n setError(true);\n }\n\n return r;\n });\n\n if ('access_token' in response) {\n switch (response.mfa) {\n case 'setup':\n setStatus('TwoFPSetUp');\n break;\n case 'required':\n setStatus('TwoFPRequired');\n break;\n default:\n window.location.reload();\n break;\n }\n }\n } else if (status === 'TwoFPRequired') {\n const formdata = new FormData(eventL.currentTarget);\n const response = await appClient.auth\n .postAuthLoginWithMfa({ mfa: formdata.get('mfa_code') as string })\n .catch(r => {\n if (r.status === 403) {\n setBlocked(true);\n } else {\n setError(true);\n }\n\n return r;\n });\n if (response.mfa === 'none') {\n const { access_token } = response;\n const jwt = `Bearer ${access_token}`;\n localStorage.setItem('jwt', jwt);\n props.history.push('/');\n window.location.reload();\n }\n }\n };\n\n return (\n <>\n {label ? (\n currentWidth === 'xs' ? (\n \n ) : (\n \n )\n ) : (\n \n )}\n \n );\n};\n\nexport default Login;\n","import React, { useState } from 'react';\n\nimport {\n Alert,\n Card,\n CardContent,\n CardHeader,\n Grid,\n LinearProgress,\n Typography,\n} from '@mui/material';\nimport { t, Translation } from 'i18n';\n\nimport logoSW from 'assets/img/brand/logo-studyworks-origineel1.png';\nimport logoOB from 'assets/img/brand/LOGO_OB.png';\nimport logoBEU from 'assets/img/brand/LogoBijlesEU.png';\nimport logoVBL from 'assets/img/brand/VlakbijlesLogo.png';\nimport { Button, TextField } from 'components/Elements/Forms/Inputs';\nimport useLabel from 'functions/Hooks/useLabel';\n\n\ninterface IResetFormDesktopProps {\n handleSubmit: () => void;\n status: string;\n setStatus: (value: string) => void;\n email: string;\n setEmail: (value: string) => void;\n}\n\nconst ResetFormDesktop: React.FunctionComponent = ({\n handleSubmit,\n status,\n email,\n setEmail,\n}) => {\n const label = useLabel();\n const [logo, setLogo] = useState();\n const [height, setHeight] = useState();\n\n React.useEffect(() => {\n if (label) {\n switch (label?.name) {\n case 'StudyWorks':\n setLogo(logoSW);\n setHeight('30px');\n break;\n case 'VlakBijles':\n setLogo(logoVBL);\n setHeight('80px');\n break;\n case 'bijleseu.nl':\n setLogo(logoBEU);\n setHeight('80px');\n break;\n case 'Bijles.EU':\n setLogo(logoBEU);\n setHeight('60px');\n break;\n case 'Online-Bijles.com':\n setLogo(logoOB);\n setHeight('80px');\n break;\n default:\n break;\n }\n }\n }, [label]);\n\n return (\n \n \n \n \n \n \n \n 2000 ? '1.4vw' : '1.7vw',\n lineHeight: '1.2',\n }}>\n \n 2000 ? '1.4vw' : '1.7vw',\n marginLeft: '5px',\n }}>\n {t('translation.auth.resetpw.headerportal')}\n \n .\n \n }\n subheader={\n \n {t('translation.auth.resetpw.subheader')}\n \n }\n sx={{ paddingLeft: '0px' }}\n />\n \n \n ()[\\]\\\\.,;:\\s@\"]+(\\.[^<>()[\\]\\\\.,;:\\s@\"]+)*)|(\".+\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$/.test(\n email.toLowerCase()\n )\n }\n variant=\"outlined\"\n margin=\"normal\"\n required\n fullWidth\n id=\"email\"\n label=\"E-mailadres\"\n name=\"email\"\n helperText={\n status === 'error' &&\n !/^(([^<>()[\\]\\\\.,;:\\s@\"]+(\\.[^<>()[\\]\\\\.,;:\\s@\"]+)*)|(\".+\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$/.test(\n email.toLowerCase()\n )\n ? 'Dit is niet een geldig emailadres'\n : ''\n }\n autoComplete=\"email\"\n onChange={event => setEmail(event.target.value)}\n autoFocus\n />\n {status === 'error' && {t('translation.auth.resetpw.error')}}\n {status === 'success' && {t('translation.auth.resetpw.succes')}}\n {status === 'loading' && }\n\n \n \n \n \n \n \n \n \n \n );\n};\n\nexport default ResetFormDesktop;\n","import React, { useState } from 'react';\n\nimport { Grid, Typography } from '@mui/material';\nimport { Box } from '@mui/system';\nimport { t } from 'i18n';\nimport theme from 'theme';\n\nimport BackgroundBULogo from 'assets/img/LoginImages/BijlesEUInlog.png';\nimport CollageBEU from 'assets/img/LoginImages/CORE_inlogscherm_collage_BEU.png';\nimport CollageOB from 'assets/img/LoginImages/CORE_inlogscherm_collage_OB.png';\nimport CollageSW from 'assets/img/LoginImages/CORE_inlogscherm_collage_SW.png';\nimport CollageVBL from 'assets/img/LoginImages/CORE_inlogscherm_collage_VBL.png';\nimport BackgroundOBLogo from 'assets/img/LoginImages/huisjeOB.png';\nimport BackgroundSWLogo from 'assets/img/LoginImages/logo-studyworks-krans.png';\nimport BackgroundVBLogo from 'assets/img/LoginImages/VBLInlog.png';\nimport useLabel from 'functions/Hooks/useLabel';\n\nconst ResetImageWIndow = () => {\n const label = useLabel();\n const [backgroundLogo, setBackgroundLogo] = useState();\n const [collage, setCollage] = useState();\n const [opacity, setOpacity] = useState(1);\n\n React.useEffect(() => {\n if (label) {\n switch (label?.name) {\n case 'StudyWorks':\n setBackgroundLogo(BackgroundSWLogo);\n setCollage(CollageSW);\n setOpacity(0.6);\n break;\n case 'VlakBijles':\n setBackgroundLogo(BackgroundVBLogo);\n setCollage(CollageVBL);\n setOpacity(0.2);\n break;\n case 'bijleseu.nl':\n setBackgroundLogo(BackgroundBULogo);\n setCollage(CollageBEU);\n setOpacity(0.3);\n break;\n case 'Bijles.EU':\n setBackgroundLogo(BackgroundBULogo);\n setCollage(CollageBEU);\n setOpacity(0.3);\n break;\n case 'Online-Bijles.com':\n setBackgroundLogo(BackgroundOBLogo);\n setCollage(CollageOB);\n setOpacity(0.3);\n break;\n default:\n setBackgroundLogo(BackgroundSWLogo);\n setCollage(CollageSW);\n break;\n }\n }\n }, [label]);\n\n return (\n \n {backgroundLogo && (\n \n )}\n \n \n \n \n \n 2000 ? '1.4vw' : '1.7vw'}\n color=\"white\"\n textAlign=\"center\"\n lineHeight={1.2}>\n {t('translation.auth.shared.desktop.image.header')}\n \n \n \n 2000 ? '1vw' : '1.2vw'} sx={{ width: '400px' }}>\n {t('translation.auth.shared.desktop.image.subheader')}\n \n \n \n \n \n );\n};\n\nexport default ResetImageWIndow;\n","import React from 'react';\n\nimport { Grid } from '@mui/material';\n\nimport LoginFormDesktop from './Components/ResetFormDesktop';\nimport LoginImageWIndow from './Components/ResetImageWIndow';\n\ninterface IResetDesktopProps {\n handleSubmit: () => void;\n status: string;\n setStatus: (value: string) => void;\n email: string;\n setEmail: (value: string) => void;\n}\nconst ResetDesktop: React.FunctionComponent = ({\n handleSubmit,\n status,\n setStatus,\n email,\n setEmail,\n}) => {\n return (\n \n \n \n 2000 ? '10% 80px' : '20% 80px' }}>\n \n \n \n \n \n \n \n \n \n \n \n \n );\n};\n\nexport default ResetDesktop;\n","import React from 'react';\n\nimport {\n Alert,\n Card,\n CardContent,\n CardHeader,\n Grid,\n LinearProgress,\n Typography,\n} from '@mui/material';\nimport { t, Translation } from 'i18n';\n\nimport { Button, TextField } from 'components/Elements/Forms/Inputs';\nimport useLabel from 'functions/Hooks/useLabel';\n\ninterface IResetFormMobileProps {\n handleSubmit: () => void;\n status: string;\n setStatus: (value: string) => void;\n email: string;\n setEmail: (value: string) => void;\n}\n\nconst ResetFormMobile: React.FunctionComponent = ({\n handleSubmit,\n status,\n email,\n setEmail,\n}) => {\n const label = useLabel();\n\n return (\n \n \n \n \n \n {' '}\n \n {t('translation.auth.resetpw.headerportal')}\n \n .\n \n }\n subheader={\n \n {t('translation.auth.resetpw.subheader')}\n \n }\n sx={{ paddingTop: '0px' }}\n />\n \n \n {/* REGEX to validate email */}\n ()[\\]\\\\.,;:\\s@\"]+(\\.[^<>()[\\]\\\\.,;:\\s@\"]+)*)|(\".+\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$/.test(\n email.toLowerCase()\n )\n }\n variant=\"outlined\"\n margin=\"normal\"\n required\n fullWidth\n id=\"email\"\n label=\"E-mailadres\"\n name=\"email\"\n helperText={\n status === 'error' &&\n !/^(([^<>()[\\]\\\\.,;:\\s@\"]+(\\.[^<>()[\\]\\\\.,;:\\s@\"]+)*)|(\".+\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$/.test(\n email.toLowerCase()\n )\n ? 'Dit is niet een geldig emailadres'\n : ''\n }\n autoComplete=\"email\"\n onChange={event => setEmail(event.target.value)}\n autoFocus\n />\n {status === 'error' && (\n {t('translation.auth.resetpw.error')}\n )}\n {status === 'success' && (\n \n ,\n ]}\n />\n \n )}\n {status === 'loading' && }\n\n \n \n \n \n \n \n \n \n \n );\n};\n\nexport default ResetFormMobile;\n","import React, { useState } from 'react';\n\nimport { Grid } from '@mui/material';\n\nimport BackgroundBULogo from 'assets/img/LoginImages/CORE_inlogscherm_collage_mobiel_BEU.png';\nimport BackgroundOBLogo from 'assets/img/LoginImages/CORE_inlogscherm_collage_mobiel_OB.png';\nimport BackgroundSWLogo from 'assets/img/LoginImages/CORE_inlogscherm_collage_mobiel_SW.png';\nimport BackgroundVBLogo from 'assets/img/LoginImages/CORE_inlogscherm_collage_mobiel_VBL.png';\nimport useLabel from 'functions/Hooks/useLabel';\n\nconst ResetMobileTopHeader = () => {\n const label = useLabel();\n const [backgroundLogo, setBackgroundLogo] = useState();\n\n React.useEffect(() => {\n if (label) {\n switch (label?.name) {\n case 'StudyWorks':\n setBackgroundLogo(BackgroundSWLogo);\n break;\n case 'VlakBijles':\n setBackgroundLogo(BackgroundVBLogo);\n break;\n case 'bijleseu.nl':\n setBackgroundLogo(BackgroundBULogo);\n break;\n default:\n setBackgroundLogo(BackgroundOBLogo);\n break;\n }\n }\n }, [label]);\n\n return (\n \n \n {backgroundLogo && (\n \n )}\n \n \n );\n};\n\nexport default ResetMobileTopHeader;\n","import React from 'react';\n\nimport { Grid } from '@mui/material';\n\nimport LoginFormMobile from './MobileComponent/ResetFormMobile';\nimport LoginMobileTopHeader from './MobileComponent/ResetMobileTopHeader';\n\ninterface IResetMobileProps {\n handleSubmit: () => void;\n status: string;\n setStatus: (value: string) => void;\n email: string;\n setEmail: (value: string) => void;\n}\n\nconst ResetMobile: React.FunctionComponent = ({\n handleSubmit,\n status,\n setStatus,\n setEmail,\n email,\n}) => {\n return (\n \n \n \n \n\n \n \n \n \n );\n};\n\nexport default ResetMobile;\n","import React, { useState } from 'react';\n\nimport { LinearProgress } from '@mui/material';\n\nimport { appClient } from 'App';\nimport { PasswordResetRequestIn } from 'assets/api';\nimport { useWidth } from 'functions/Hooks/useDeviceDetect';\nimport useLabel from 'functions/Hooks/useLabel';\n\nimport ResetDesktop from './Desktop/ResetDesktop';\nimport ResetMobile from './Mobile/ResetMobile';\n\nconst Reset = () => {\n const label = useLabel();\n const currentWidth = useWidth();\n const [email, setEmail] = useState('');\n const [status, setStatus] = useState('');\n\n const handleSubmit = () => {\n setStatus('loading');\n\n const data: PasswordResetRequestIn = { email_address: email };\n appClient.auth.postAuthRequestUserPasswordReset(data).then(r => {\n if (r.status === '200') {\n setStatus('success');\n } else if (r.status === 'ok') {\n setStatus('success');\n } else {\n setStatus('error');\n\n \n }\n });\n };\n\n return (\n <>\n {label ? (\n currentWidth === 'xs' ? (\n \n ) : (\n \n )\n ) : (\n \n )}\n \n );\n};\n\nexport default Reset;\n","import React, { useEffect, useState } from 'react';\n\nimport ContactMailIcon from '@mui/icons-material/ContactMail';\nimport LocationOnIcon from '@mui/icons-material/LocationOn';\nimport PhoneIcon from '@mui/icons-material/Phone';\nimport {\n Box,\n Button,\n Card,\n CardContent,\n Dialog,\n Grid,\n Modal,\n Stack,\n Typography,\n} from '@mui/material';\nimport { t } from 'i18n';\nimport { useParams } from 'react-router-dom';\n\nimport { appClient } from 'App';\nimport { JobMatchCoachReplyInformation, SimpleShift } from 'assets/api';\nimport swLogo from 'assets/img/brand/logo-studyworks-origineel1.png';\nimport { capitalizeFirstLetter } from 'functions/HelperFunctions/stringOps';\n\ninterface JobProps {}\nfunction formatDate(shift: SimpleShift) {\n return (\n capitalizeFirstLetter(\n new Date(shift.date).toLocaleDateString('nl', {\n weekday: 'long',\n day: '2-digit',\n month: 'long',\n })\n ) +\n ' ' +\n shift.start_time.substring(0, shift.start_time.length - 3) +\n '-' +\n shift.end_time.substring(0, shift.end_time.length - 3)\n );\n}\n\nconst CoachJobPage: React.FunctionComponent = () => {\n const { jobToken } = useParams<{ jobToken: string }>();\n const [jobMatch, setJobMatch] = React.useState();\n const [branchGone, setBranchGone] = React.useState(false);\n const [chosen, setChosen] = React.useState();\n const [open, setOpen] = useState(false);\n const handleOpen = () => setOpen(true);\n const handleClose = () => setOpen(false);\n\n useEffect(() => {\n appClient.spJobs\n .getSPJobsGetInfoByUuidCoach(jobToken)\n .then(res => {\n setJobMatch(res);\n })\n .catch(() => {\n setBranchGone(true);\n });\n }, []);\n\n function Reply(res: boolean): void {\n appClient.spJobs.patchSPJobsReplyToJobMatchUuidCoach(jobToken, res);\n }\n const ContactCard = () => {\n return (\n \n \n \n \n \n \n \n );\n };\n const ChoiceModal = ({ chosen }: { chosen: string }) => {\n const yes = chosen === 'y';\n\n return (\n \n \n \n \n \n {yes\n ? `Bedankt voor je aanmelding bij de dienst van ${jobMatch?.job.name}!`\n : `Bedankt voor het doorgeven dat ${jobMatch?.job.name} geen goede match is!`}\n \n \n \n {jobMatch?.job.name}\n \n \n \n \n \n {jobMatch?.job.location.street}, {jobMatch?.job.location.zipcode}{' '}\n {jobMatch?.job.location.city}\n \n \n \n \n Over deze vacature\n \n \n \n {jobMatch?.job.description}\n \n \n \n \n Werkdagen\n \n \n {jobMatch?.job.shifts?.map((shift, i: number) => {\n return (\n \n {formatDate(shift)}\n \n );\n })}\n \n \n \n \n \n \n \n );\n };\n const ContactStack = () => {\n return (\n handleOpen()}\n sx={{ '&:hover': { cursor: 'pointer' } }}>\n \n \n \n \n \n \n \n \n );\n };\n function ContactText() {\n return (\n \n \n \n Kinderdagverblijven\n \n \n \n \n Email: kinderopvang@studyworks.nl\n \n \n \n \n Phone number:{' '}\n \n 316 {t('translation.common.phoneNumber.customerservice')}\n \n \n \n \n \n Scholen / Samenwerkingen\n \n \n \n \n Email: samenwerkingen@studyworks.nl\n \n \n \n \n Phone number: 0639613401\n \n \n \n );\n }\n\n return branchGone ? (\n \n \n \n \n \n \n \n \n Dienstverzoek niet gevonden\n \n\n \n De dienst/ vacature die je probeert te vinden is niet gevonden. Dit kan komen\n doordat je al eerder hebt gereageerd en wij hem daarom gesloten/ ingepland hebben\n of doordat iemand anders je voor is geweest (en al ingepland is). Als je bent\n ingepland ontvang je een bevestiging. Mocht u vragen hebben kunt u contact opnemen\n met Studyworks.\n \n \n \n \n \n \n \n \n ) : (\n //can only see the job if the branch is still active\n // job_matches.status == 'awaiting_coach' && job.status == 'awaiting_coaches'\n <>\n \n \n \n \n Op basis van jouw beschikbaarheid hebben we de volgende vacature gevonden:\n \n \n \n \n \n {jobMatch?.job.name}\n \n \n \n \n \n {jobMatch?.job.location.street}, {jobMatch?.job.location.zipcode}{' '}\n {jobMatch?.job.location.city}\n \n \n \n \n Over deze vacature\n \n \n \n {jobMatch?.job.description}\n \n \n \n \n Werkdagen\n \n \n {jobMatch?.job.shifts?.map((shift, i: number) => {\n return (\n \n {formatDate(shift)}\n \n );\n })}\n \n \n \n \n \n {\n setChosen('n');\n Reply(false);\n }}>\n Ik kan niet\n \n {\n setChosen('y');\n Reply(true);\n }}>\n Ik wil werken\n \n \n \n \n {chosen && }\n \n );\n};\n\nexport default CoachJobPage;\n","\"use client\";\n\nimport createSvgIcon from './utils/createSvgIcon';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport default createSvgIcon( /*#__PURE__*/_jsx(\"path\", {\n d: \"M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7m0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5\"\n}), 'LocationOn');","import React from 'react';\n\nimport { AccountCircle, Dashboard, LocationOn } from '@mui/icons-material';\nimport {\n Avatar,\n Card,\n CardContent,\n CardHeader,\n Grid,\n Modal,\n Stack,\n Typography,\n} from '@mui/material';\nimport { Box } from '@mui/system';\nimport theme from 'theme';\n\nimport { BaseCoachSPForBranch, JobBranchReplyInformation } from 'assets/api';\n\ninterface IAcceptModalProps {\n coach: BaseCoachSPForBranch;\n job: JobBranchReplyInformation;\n coachAccepted: boolean;\n}\n\nconst AcceptModal: React.FunctionComponent = ({ coach, job, coachAccepted }) => {\n return (\n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n {job?.location.street}, {job?.location.zipcode} {job?.location.city}\n \n \n \n \n \n Werkdagen\n \n \n {job?.shifts?.map((shift, i: number) => {\n return (\n \n \n {new Date(shift.date).toLocaleDateString('nl', {\n weekday: 'long',\n day: '2-digit',\n month: 'long',\n })}\n {', '}\n {shift.start_time.substring(0, shift.start_time.length - 3)} -{' '}\n {shift.end_time.substring(0, shift.end_time.length - 3)}\n \n \n );\n })}\n \n \n \n \n \n \n\n \n \n \n {coach.profile_picture && coach.profile_picture != undefined ? (\n \n ) : (\n \n )}\n \n \n \n \n {coach.user?.first_name} {coach.user?.last_name}\n \n \n \n \n \n {coach.user_locations[0].city}\n \n \n \n \n \n {job?.sector.name}\n \n \n \n \n \n \n }\n titleTypographyProps={{ margin: '-20px 0px -20px -15px' }}\n />\n \n \n \n \n );\n};\n\nexport default AcceptModal;\n","import React from 'react';\n\nimport { AccountCircle, Check, Dashboard, LocationOn } from '@mui/icons-material';\nimport { Avatar, Card, CardContent, CardHeader, Grid, Stack, Typography } from '@mui/material';\nimport { Box } from '@mui/system';\nimport { useParams } from 'react-router-dom';\n\nimport { appClient } from 'App';\nimport {\n BaseCoachSPForBranch,\n JobBranchReplyInformation,\n JobMatchBranchReplyInformation,\n SimpleCompetence,\n} from 'assets/api';\nimport { Button } from 'components/Elements/Forms/Inputs';\nimport { useWidth } from 'functions/Hooks/useDeviceDetect';\n\ninterface ICoachCardProps {\n match: JobMatchBranchReplyInformation;\n job: JobBranchReplyInformation;\n key: number;\n setSelectedCoach: (value: BaseCoachSPForBranch) => void;\n setCoachAccepted: (value: boolean) => void;\n}\n\nconst CoachCard: React.FunctionComponent = ({\n match,\n job,\n setSelectedCoach,\n setCoachAccepted,\n}) => {\n const { branchToken } = useParams<{ branchToken: string }>();\n const currentWidth = useWidth();\n\n const coach = match.coach;\n\n return (\n \n \n \n \n \n \n {coach.profile_picture && coach.profile_picture != undefined ? (\n \n ) : (\n \n )}\n \n \n \n \n {coach.user?.first_name} {coach.user?.last_name}\n \n \n \n \n \n {coach.user_locations[0].city}\n \n \n \n \n \n {job?.sector.name}\n \n \n \n \n \n \n }\n titleTypographyProps={{ margin: '-20px 0px 0px -15px' }}\n action={\n currentWidth !== 'xs' && (\n {\n appClient.spJobs\n .patchSPJobsReplyToJobMatchUuidBranch(branchToken, match.id, true)\n .then(() => {\n setSelectedCoach(coach);\n setCoachAccepted(true);\n });\n }}>\n Accepteer coach\n \n )\n }\n />\n \n \n \n \n \n \n \n Competenties van {coach.user?.first_name}\n \n \n \n \n {coach.competences\n .sort((a, b) => a.name.localeCompare(b.name))\n .map((competence: SimpleCompetence) => {\n return (\n \n \n \n {competence.name}\n \n \n );\n })}\n \n \n \n \n \n \n \n {currentWidth === 'xs' && (\n \n {\n appClient.spJobs\n .patchSPJobsReplyToJobMatchUuidBranch(branchToken, match.id, true)\n .then(() => {\n setSelectedCoach(coach);\n setCoachAccepted(true);\n });\n }}>\n Accepteer coach\n \n \n )}\n \n \n );\n};\n\nexport default CoachCard;\n","import React, { useEffect, useState } from 'react';\n\nimport AccessTimeIcon from '@mui/icons-material/AccessTime';\nimport ContactMailIcon from '@mui/icons-material/ContactMail';\nimport LocationOnIcon from '@mui/icons-material/LocationOn';\nimport PhoneIcon from '@mui/icons-material/Phone';\nimport {\n Box,\n Card,\n CardContent,\n CardHeader,\n Container,\n Grid,\n IconButton,\n Modal,\n Typography,\n} from '@mui/material';\nimport { t } from 'i18n';\nimport moment from 'moment';\nimport { useParams } from 'react-router-dom';\nimport theme from 'theme';\n\nimport { appClient } from 'App';\nimport {\n BaseCoachSPForBranch,\n JobBranchReplyInformation,\n JobMatchBranchReplyInformation,\n} from 'assets/api';\nimport swLogo from 'assets/img/brand/logo-studyworks-origineel1.png';\nimport { useWidth } from 'functions/Hooks/useDeviceDetect';\n\nimport AcceptModal from './Components/AcceptModal';\nimport CoachCard from './Components/CoachCard';\n\nconst ProviderJobPage: React.FunctionComponent = () => {\n const { branchToken } = useParams<{ branchToken: string }>();\n const [job, setJob] = React.useState();\n const [matches, setMatches] = React.useState([]);\n const [branchGone, setBranchGone] = React.useState(false);\n const [coachAccepted, setCoachAccepted] = React.useState(false);\n const [selectedCoach, setSelectedCoach] = React.useState();\n const [screenSize, setScreenSize] = useState(getCurrentDimension());\n const currentWidth = useWidth();\n\n function getCurrentDimension() {\n return {\n width: window.innerWidth,\n height: window.innerHeight,\n };\n }\n\n useEffect(() => {\n const updateDimension = () => {\n setScreenSize(getCurrentDimension());\n };\n window.addEventListener('resize', updateDimension);\n\n return () => {\n window.removeEventListener('resize', updateDimension);\n };\n }, [screenSize]);\n\n useEffect(() => {\n appClient.spJobs\n .getSPJobsGetInfoByUuidBranch(branchToken)\n .then(res => {\n setJob(res);\n setMatches(res.job_matches);\n })\n .catch(() => {\n setBranchGone(true);\n });\n }, []);\n\n return branchGone ? (\n \n \n \n \n \n \n \n Branch niet gevonden\n \n \n\n \n \n De branch die u probeert te bereiken is niet gevonden. Het kan zijn dat de branch\n is verwijderd omdat u de coach heeft geaccepteerd.\n \n \n \n \n \n \n \n ) : (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n {coachAccepted && job && (\n \n )}\n \n \n \n \n \n \n \n \n \n \n {job?.location.street}, {job?.location.zipcode} {job?.location.city}\n \n \n \n\n \n \n \n \n \n \n {job?.shifts?.map((shift, i: number) => {\n return (\n \n \n {/* {new Date(shift.date).toLocaleDateString('nl', { weekday: 'long', day: '2-digit', month: 'long' })}{', '} */}\n {moment(shift.date).format('dddd').charAt(0).toLocaleUpperCase()}\n {moment(shift.date).format('dddd').slice(1)}{' '}\n {moment(shift.date).format('DD')} {moment(shift.date).format('MMMM')},{' '}\n {shift.start_time.substring(0, shift.start_time.length - 3)} -{' '}\n {shift.end_time.substring(0, shift.end_time.length - 3)}\n \n \n );\n })}\n \n \n \n \n\n \n \n {/* {\n appClient.spJobs.patchSPJobsCloseJobByUuidBranch(branchToken).then(() =>\n enqueueSnackbar(\"Dienst is geannuleerd\", { variant: \"success\" })\n )\n }}\n sx={{\n marginLeft: currentWidth===\"xs\"?\"unset\":\"12%\",\n marginBottom: \"25px\"\n }}\n >\n \n Annuleer dienst\n \n */}\n \n \n \n\n \n \n \n \n {matches.map((match: JobMatchBranchReplyInformation, index) => {\n return (\n <>\n {job && (\n \n \n \n )}\n \n );\n })}\n \n \n \n \n );\n};\n\ninterface JobProps {}\n\nexport default ProviderJobPage;\n","var _defs, _g;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgLogoTextDark(_ref, svgRef) {\n let {\n title,\n titleId,\n ...props\n } = _ref;\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 793.55 130.13\",\n ref: svgRef,\n \"aria-labelledby\": titleId\n }, props), _defs || (_defs = /*#__PURE__*/React.createElement(\"defs\", null, /*#__PURE__*/React.createElement(\"style\", null, \".cls-1{fill:#f79535;}.cls-2{fill:#faa739;}.cls-3{fill:#fdb937;}.cls-4{fill:#f27537;}.cls-5{fill:#f58235;}.cls-6{fill:#6f6f6f;}\"))), title === undefined ? /*#__PURE__*/React.createElement(\"title\", {\n id: titleId\n }, \"Logo-tekst-licht\") : title ? /*#__PURE__*/React.createElement(\"title\", {\n id: titleId\n }, title) : null, _g || (_g = /*#__PURE__*/React.createElement(\"g\", {\n id: \"Layer_2\",\n \"data-name\": \"Layer 2\"\n }, /*#__PURE__*/React.createElement(\"g\", {\n id: \"Layer_1-2\",\n \"data-name\": \"Layer 1\"\n }, /*#__PURE__*/React.createElement(\"path\", {\n id: \"_Path_\",\n \"data-name\": \"\",\n className: \"cls-1\",\n d: \"M19,65.06A44.07,44.07,0,0,1,32.3,33.46a54.34,54.34,0,0,1,78-11A52.39,52.39,0,0,0,20.15,75.23,44.3,44.3,0,0,1,19,65.06Z\"\n }), /*#__PURE__*/React.createElement(\"path\", {\n id: \"_Path_2\",\n \"data-name\": \"\",\n className: \"cls-2\",\n d: \"M128.89,65.06a52.38,52.38,0,0,0-88.63-37.8,44.08,44.08,0,0,1,43.32-1.39,54.37,54.37,0,0,1,34.71,70.78A52,52,0,0,0,128.89,65.06Z\"\n }), /*#__PURE__*/React.createElement(\"path\", {\n id: \"_Path_3\",\n \"data-name\": \"\",\n className: \"cls-3\",\n d: \"M91.82,31.44a44.1,44.1,0,0,1,15.56,33.62,43.43,43.43,0,0,1-.64,7.44c0,.13,0,.27,0,.41a54.44,54.44,0,0,1-54.39,54.38c-.75,0-1.51,0-2.27-.05a51.92,51.92,0,0,0,17.19,2.89A52.4,52.4,0,0,0,91.82,31.44Z\"\n }), /*#__PURE__*/React.createElement(\"path\", {\n id: \"_Path_4\",\n \"data-name\": \"\",\n className: \"cls-4\",\n d: \"M69.39,108.83a53.63,53.63,0,0,1-17,2.77A54.72,54.72,0,0,1,0,71.92c0,.33,0,.66,0,1a52.37,52.37,0,0,0,103.89,9.37A44.34,44.34,0,0,1,69.39,108.83Z\"\n }), /*#__PURE__*/React.createElement(\"path\", {\n id: \"_Path_5\",\n \"data-name\": \"\",\n className: \"cls-5\",\n d: \"M23.53,84.61A54.34,54.34,0,0,1,37.17,7.08a52.38,52.38,0,0,0,22.33,102A44.26,44.26,0,0,1,23.53,84.61Z\"\n }), /*#__PURE__*/React.createElement(\"g\", {\n id: \"_Group_\",\n \"data-name\": \"\"\n }, /*#__PURE__*/React.createElement(\"g\", {\n id: \"_Group_2\",\n \"data-name\": \"\"\n }, /*#__PURE__*/React.createElement(\"path\", {\n id: \"_Compound_Path_\",\n \"data-name\": \"\",\n className: \"cls-6\",\n d: \"M580.81,28.92a35.9,35.9,0,1,1-35.79,36A35.82,35.82,0,0,1,580.81,28.92Zm0,55.84A19.95,19.95,0,1,0,561,64.91,20,20,0,0,0,580.81,84.76Z\"\n }), /*#__PURE__*/React.createElement(\"path\", {\n id: \"_Compound_Path_2\",\n \"data-name\": \"\",\n className: \"cls-6\",\n d: \"M460.09,32.31a1.74,1.74,0,0,1,1.79-2.39h11.67a2.06,2.06,0,0,1,1.79,1.39L483.92,65h.39L499.77,31a1.9,1.9,0,0,1,1.69-1.1h1.8A1.69,1.69,0,0,1,505,31L520.41,65h.4l8.57-33.73a2.06,2.06,0,0,1,1.8-1.39h11.66a1.74,1.74,0,0,1,1.8,2.39L525.79,98.82a1.92,1.92,0,0,1-1.79,1.4h-1.6a2,2,0,0,1-1.69-1.1l-18.25-39.6h-.3L484,99.12a2,2,0,0,1-1.7,1.1h-1.59a1.92,1.92,0,0,1-1.8-1.4Z\"\n }), /*#__PURE__*/React.createElement(\"path\", {\n id: \"_Compound_Path_3\",\n \"data-name\": \"\",\n className: \"cls-6\",\n d: \"M624.09,31.81A1.89,1.89,0,0,1,626,29.92h29.81a21.68,21.68,0,0,1,21.74,21.54c0,9.17-6.08,16.55-14.76,20l13.66,25.32a1.88,1.88,0,0,1-1.69,2.89H661.48a1.86,1.86,0,0,1-1.6-.89L646.62,72.39h-6.88V97.82a2,2,0,0,1-1.89,1.89H626a1.89,1.89,0,0,1-1.89-1.89ZM654.5,59.73c4.09,0,7.58-3.79,7.58-8a7.64,7.64,0,0,0-7.58-7.57H639.74V59.73Z\"\n }), /*#__PURE__*/React.createElement(\"path\", {\n id: \"_Compound_Path_4\",\n \"data-name\": \"\",\n className: \"cls-6\",\n d: \"M686.05,32.31a2.36,2.36,0,0,1,2.39-2.39h11.67a2.43,2.43,0,0,1,2.39,2.39V58.53l22.13-27.61a3,3,0,0,1,1.9-1h12.56a2.31,2.31,0,0,1,1.8,3.69L717.56,62.82,743,95.92a2.34,2.34,0,0,1-1.89,3.69H727.33a2.74,2.74,0,0,1-1.8-.7l-23-31.3V97.32a2.42,2.42,0,0,1-2.39,2.39H688.44a2.36,2.36,0,0,1-2.39-2.39Z\"\n }), /*#__PURE__*/React.createElement(\"path\", {\n id: \"_Compound_Path_5\",\n \"data-name\": \"\",\n className: \"cls-6\",\n d: \"M747.08,90.24,751.77,82a2.57,2.57,0,0,1,3.39-.6c.4.2,7.58,5.48,14.16,5.48,4,0,6.88-2.49,6.88-6,0-4.19-3.49-7.38-10.27-10.07-8.58-3.39-19.34-10.07-19.34-22,0-9.87,7.67-19.84,23-19.84C780,28.92,788,34.21,791,36.4c1.19.7,1,2.49.59,3.19l-5.08,7.68c-.7,1.09-2.49,2-3.39,1.29-.9-.49-8.18-6-14.26-6-3.59,0-6.28,2.39-6.28,5.09,0,3.69,3,6.48,10.87,9.67s20.14,9.17,20.14,22.73c0,10.27-8.88,20.64-23.53,20.64-13,0-20.14-5.38-22.44-7.68C746.59,92,746.29,91.64,747.08,90.24Z\"\n })), /*#__PURE__*/React.createElement(\"g\", {\n id: \"_Group_3\",\n \"data-name\": \"\"\n }, /*#__PURE__*/React.createElement(\"path\", {\n id: \"_Compound_Path_6\",\n \"data-name\": \"\",\n className: \"cls-6\",\n d: \"M164.35,90.14c.9-1.3,1.7-2.79,2.59-4.09s2.3-1.69,3.39-.8c.6.5,8.28,6.88,16,6.88,6.88,0,11.26-4.18,11.26-9.27,0-6-5.18-9.77-15.05-13.86-10.17-4.28-18.15-9.57-18.15-21.13,0-7.78,6-18.45,21.84-18.45a33.76,33.76,0,0,1,18.44,5.88,2.37,2.37,0,0,1,.6,3.39c-.8,1.2-1.7,2.59-2.49,3.79s-2.1,1.9-3.49,1c-.7-.4-7.68-5-13.46-5-8.38,0-11.27,5.29-11.27,9,0,5.68,4.39,9.17,12.66,12.56,11.57,4.69,21.44,10.17,21.44,22.33,0,10.37-9.27,18.85-22.23,18.85A32.24,32.24,0,0,1,165,93.33C164.05,92.53,163.35,91.83,164.35,90.14Z\"\n }), /*#__PURE__*/React.createElement(\"path\", {\n id: \"_Compound_Path_7\",\n \"data-name\": \"\",\n className: \"cls-6\",\n d: \"M232,39.79H215.7a1.9,1.9,0,0,1-1.9-1.9V32.31a1.89,1.89,0,0,1,1.9-1.89h42.87a1.88,1.88,0,0,1,1.89,1.89v5.58a1.89,1.89,0,0,1-1.89,1.9H242.32V98.32a2,2,0,0,1-1.9,1.89h-6.58A2,2,0,0,1,232,98.32Z\"\n }), /*#__PURE__*/React.createElement(\"path\", {\n id: \"_Compound_Path_8\",\n \"data-name\": \"\",\n className: \"cls-6\",\n d: \"M269.64,32.31a2,2,0,0,1,1.89-1.89h6.68a1.89,1.89,0,0,1,1.9,1.89V73.49c0,10,6.38,17.75,16.55,17.75s16.75-7.68,16.75-17.55V32.31a1.89,1.89,0,0,1,1.89-1.89H322a2,2,0,0,1,1.9,1.89V74.19c0,15.15-11.47,27-27.22,27s-27-11.87-27-27Z\"\n }), /*#__PURE__*/React.createElement(\"path\", {\n id: \"_Compound_Path_9\",\n \"data-name\": \"\",\n className: \"cls-6\",\n d: \"M336.79,32.31a1.87,1.87,0,0,1,1.8-1.89h22.93a34.9,34.9,0,1,1,0,69.79H338.59a1.88,1.88,0,0,1-1.8-1.89Zm23.33,58.43c14.66,0,25.33-10.77,25.33-25.53s-10.67-25.32-25.33-25.32H347V90.74Z\"\n }), /*#__PURE__*/React.createElement(\"path\", {\n id: \"_Compound_Path_10\",\n \"data-name\": \"\",\n className: \"cls-6\",\n d: \"M418.39,66.61l-23.33-33.3a1.85,1.85,0,0,1,1.6-2.89H404a2,2,0,0,1,1.59.89l18.05,25.43,18.05-25.43a2.14,2.14,0,0,1,1.59-.89h7.48a1.84,1.84,0,0,1,1.59,2.89l-23.63,33.2V98.32a2,2,0,0,1-1.89,1.89h-6.58a1.9,1.9,0,0,1-1.9-1.89Z\"\n })))))));\n}\nconst ForwardRef = /*#__PURE__*/React.forwardRef(SvgLogoTextDark);\nexport default __webpack_public_path__ + \"static/media/logo-text-dark.1610fa94844c859623871d0ef091a08e.svg\";\nexport { ForwardRef as ReactComponent };","import * as React from 'react';\nimport { useEffect, useState } from 'react';\n\nimport { Typography } from '@mui/material';\nimport { useSnackbar } from 'notistack';\n\nimport { appClient } from 'App';\nimport { BaseUserLocation } from 'assets/api';\nimport AvailabilityGrid from 'components/Functional/Availability/AvailabilityGrid';\nimport useUser from 'functions/Hooks/useUser';\nimport IAvailability, { DayNumber } from 'interfaces/Availability';\n\ninterface AvailabilityProps {}\n\nconst Availability: React.FunctionComponent = () => {\n const { user } = useUser();\n const [user_locations, setUser_locations] = useState([]);\n const [availability, setAvailability] = useState([]);\n const { enqueueSnackbar } = useSnackbar();\n\n const handleNext = (event: CustomEvent<() => void>) => {\n if (availability?.length > 0) event.detail();\n else enqueueSnackbar('Voeg minimaal een tijdsvak in jou beschikbaarheid', { variant: 'error' });\n };\n\n useEffect(() => {\n document.addEventListener('onNext', handleNext as EventListener);\n\n return () => {\n document.removeEventListener('onNext', handleNext as EventListener);\n };\n }, [availability]);\n\n useEffect(() => {\n appClient.coaches.getCoachesViewCoachViaId(user?.coach?.id || 0).then(coach => {\n setUser_locations(coach.user_locations || []);\n setAvailability(\n coach.availabilities?.map((availability: IAvailability) => ({\n ...availability,\n day_number: availability.day_number as DayNumber,\n })) || []\n );\n });\n }, [user]);\n\n return (\n <>\n \n We horen graag van je wanneer je beschikbaar bent om bijles te geven.\n \n \n Dit gaat om je beschikbaarheid per weekdag voor een gemiddelde week. Ben je over het\n algemeen op woensdagavond beschikbaar om bijles te geven?
Dan geef je dat hier aan.\n Je kan meerdere tijdstippen op een dag aangeven, als je bijvoorbeeld alleen in de ochtend en\n avond kan. De precieze data en tijdstippen voor bijlessen geef je hier niet aan - dat\n overleg je met je bijleskind. We vragen dit zodat we een algemeen idee krijgen met welke\n bijleskinderen we je het beste kunnen matchen.\n
\n {\n return appClient.coaches\n .deleteCoachesDeleteAvailability(availabilityItem?.id || 0)\n .then(() => {\n setAvailability(availability.filter(search => search.id !== availabilityItem.id));\n });\n }}\n onAdd={availabilityItem => {\n return appClient.coaches\n .postCoachesAddAvailabilityToCoach(\n user?.coach?.id || 0,\n availabilityItem.user_location?.id || 0,\n availabilityItem\n )\n .then(r => {\n setAvailability([\n ...availability,\n {\n ...r,\n day_number: r.day_number as DayNumber,\n },\n ]);\n });\n }}\n />\n {/* {appClient.coaches.postCoachesAddAvailabilityToCoach(user?.coach?.id || 0, availabilityItem.user_location?.id || 0, availabilityItem)}}\n onPut={(availabilityItem) => {\n appClient.coaches.patchCoachesEditAvailability(availabilityItem.id || 0, availabilityItem)\n appClient.coaches.patchCoachesChangeAvailabilityLocation(availabilityItem.id || 0, availabilityItem?.user_location?.id || 0)\n }}\n onDelete={(availabilityItem)=>{\n appClient.coaches.deleteCoachesDeleteAvailability(availabilityItem?.id || 0)\n }}\n locations={user_locations}\n availability={availability}\n /> */}\n \n );\n};\n\nexport default Availability;\n","import * as React from 'react';\nimport { useEffect, useState } from 'react';\n\nimport { Avatar, CardHeader, Divider, Grid, Typography } from '@mui/material';\n\nimport { appClient } from 'App';\nimport { RegularCoach } from 'assets/api';\nimport { Button, TextField } from 'components/Elements/Forms/Inputs';\nimport useUser from 'functions/Hooks/useUser';\n\ninterface CoachProfileProps {}\n\nconst CoachProfile: React.FunctionComponent = () => {\n const { user } = useUser();\n const [coach, setCoach] = useState();\n\n useEffect(() => {\n appClient.coaches.getCoachesViewCoachViaId(user?.coach?.id || 0).then(setCoach);\n }, [user]);\n\n const handlePhotoUpload = (e: React.ChangeEvent) => {\n appClient.coaches\n .patchCoachesAddProfilePicture(coach?.id || 0, { attachment: e?.target?.files?.[0] as File })\n .then(() => {\n appClient.coaches.getCoachesViewCoachViaId(user?.coach?.id || 0).then(setCoach);\n });\n };\n\n const handleNext = (event: CustomEvent<() => void>) => {\n appClient.coaches.patchCoachesEditCoach(coach?.id || 0, coach as RegularCoach);\n event.detail();\n };\n\n useEffect(() => {\n document.addEventListener('onNext', handleNext as EventListener);\n\n return () => {\n document.removeEventListener('onNext', handleNext as EventListener);\n };\n }, [coach]);\n\n return (\n \n \n Jouw profiel\n \n Je kan hier extra informatie over jezelf aan je profiel toevoegen. Bijvoorbeeld een leuke\n profielfoto, of een leuke biografie. In je biografie kan je vertellen over waarom je\n bijles geeft, wat je hobby's zijn, etc. Met een compleet profiel wordt je sneller\n gematched met een geschikt bijleskind.\n \n \n \n \n }\n titleTypographyProps={{ variant: 'h2' }}\n title={`${coach?.user.first_name} ${coach?.user.last_name}`}\n subheader={\n <>\n \n \n \n }\n />\n \n \n Biografie\n \n \n {\n setCoach({\n ...(coach as RegularCoach),\n bio: e.target.value,\n });\n }}\n fullWidth\n multiline\n minRows={3}\n />\n \n \n \n );\n};\n\nexport default CoachProfile;\n","\"use client\";\n\nimport createSvgIcon from './utils/createSvgIcon';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport default createSvgIcon( /*#__PURE__*/_jsx(\"path\", {\n d: \"M19 13H5c-1.1 0-2 .9-2 2v4c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-4c0-1.1-.9-2-2-2m0-10H5c-1.1 0-2 .9-2 2v4c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2\"\n}), 'ViewAgenda');","\"use client\";\n\nimport createSvgIcon from './utils/createSvgIcon';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport default createSvgIcon( /*#__PURE__*/_jsx(\"path\", {\n d: \"M16.53 11.06 15.47 10l-4.88 4.88-2.12-2.12-1.06 1.06L10.59 17zM19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2m0 16H5V8h14z\"\n}), 'EventAvailable');","\"use client\";\n\nimport createSvgIcon from './utils/createSvgIcon';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport default createSvgIcon( /*#__PURE__*/_jsx(\"path\", {\n d: \"M20 2H4c-1.1 0-1.99.9-1.99 2L2 22l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2m-7 12h-2v-2h2zm0-4h-2V6h2z\"\n}), 'Feedback');","import generateUtilityClasses from '@mui/utils/generateUtilityClasses';\nimport generateUtilityClass from '@mui/utils/generateUtilityClass';\nexport function getListItemAvatarUtilityClass(slot) {\n return generateUtilityClass('MuiListItemAvatar', slot);\n}\nconst listItemAvatarClasses = generateUtilityClasses('MuiListItemAvatar', ['root', 'alignItemsFlexStart']);\nexport default listItemAvatarClasses;","'use client';\n\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nconst _excluded = [\"className\"];\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport composeClasses from '@mui/utils/composeClasses';\nimport ListContext from '../List/ListContext';\nimport styled from '../styles/styled';\nimport { useDefaultProps } from '../DefaultPropsProvider';\nimport { getListItemAvatarUtilityClass } from './listItemAvatarClasses';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst useUtilityClasses = ownerState => {\n const {\n alignItems,\n classes\n } = ownerState;\n const slots = {\n root: ['root', alignItems === 'flex-start' && 'alignItemsFlexStart']\n };\n return composeClasses(slots, getListItemAvatarUtilityClass, classes);\n};\nconst ListItemAvatarRoot = styled('div', {\n name: 'MuiListItemAvatar',\n slot: 'Root',\n overridesResolver: (props, styles) => {\n const {\n ownerState\n } = props;\n return [styles.root, ownerState.alignItems === 'flex-start' && styles.alignItemsFlexStart];\n }\n})(({\n ownerState\n}) => _extends({\n minWidth: 56,\n flexShrink: 0\n}, ownerState.alignItems === 'flex-start' && {\n marginTop: 8\n}));\n\n/**\n * A simple wrapper to apply `List` styles to an `Avatar`.\n */\nconst ListItemAvatar = /*#__PURE__*/React.forwardRef(function ListItemAvatar(inProps, ref) {\n const props = useDefaultProps({\n props: inProps,\n name: 'MuiListItemAvatar'\n });\n const {\n className\n } = props,\n other = _objectWithoutPropertiesLoose(props, _excluded);\n const context = React.useContext(ListContext);\n const ownerState = _extends({}, props, {\n alignItems: context.alignItems\n });\n const classes = useUtilityClasses(ownerState);\n return /*#__PURE__*/_jsx(ListItemAvatarRoot, _extends({\n className: clsx(classes.root, className),\n ownerState: ownerState,\n ref: ref\n }, other));\n});\nprocess.env.NODE_ENV !== \"production\" ? ListItemAvatar.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the d.ts file and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * The content of the component, normally an `Avatar`.\n */\n children: PropTypes.node,\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * @ignore\n */\n className: PropTypes.string,\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])\n} : void 0;\nexport default ListItemAvatar;","import * as React from 'react';\nimport { useEffect } from 'react';\n\nimport { EventAvailable, Feedback, Schedule, ViewAgenda } from '@mui/icons-material';\nimport { Avatar, Grid, ListItem, ListItemAvatar, ListItemText, Typography } from '@mui/material';\nimport { useHistory } from 'react-router-dom';\n\nimport { appClient } from 'App';\nimport useUser from 'functions/Hooks/useUser';\n\ninterface ExplanationProps {}\n\nconst Explanation: React.FunctionComponent = () => {\n const { user } = useUser();\n const history = useHistory();\n\n const handleNext = () => {\n appClient.auth.patchAuthCompleteFirstLanding(user!.id).then(() => history.push('/Dashboard'));\n };\n\n useEffect(() => {\n document.addEventListener('onNext', handleNext as EventListener);\n\n return () => {\n document.removeEventListener('onNext', handleNext as EventListener);\n };\n }, []);\n\n return (\n \n \n Welkom!\n {user?.first_landing_status === 'new' ? (\n \n Wegens onze verhuizing willen wij het een en ander eerst even uitleggen voordat{' '}\n {user.coach ? 'je' : 'u'} verder gaat in het portaal.\n \n ) : user?.coach ? (\n \n Je bent bijna klaar! Als je op de knop hieronder drukt kom je in het nieuwe portaal\n terecht. We lichten graag nog drie dingen uit die belangrijk zijn voor het nieuwe\n portaal.\n \n ) : (\n \n U bent bijna klaar! Als u op de knop hieronder drukt komt u in het nieuwe portaal\n terecht. We lichten graag nog drie dingen uit die belangrijk zijn voor het nieuwe\n portaal.\n \n )}\n \n \n {user?.coach ? (\n <>\n \n \n \n \n \n \n \n \n \n Zorg dat je beschikbaarheid actueel is zodat we je het beste aan bijleskinderen kunnen\n koppelen. Onze automatische systemen koppelen automatisch bijeskinderen en coaches aan\n elkaar op basis van beschikbaarheid en locatie. Zorg daarom dat je minimaal eens in de\n twee weken je algemene beschikbaarheid controleert en indien nodig aanpast.\n \n \n ) : (\n <>\n \n \n \n \n \n \n \n \n \n {' '}\n Uw coach plant in overleg met u bijlessen in. Deze bijlessen vindt u terug in de\n agenda.\n \n \n )}\n \n\n \n {user?.coach ? (\n <>\n \n \n \n \n \n \n \n \n \n Vanaf nu plan je altijd je bijlessen in via dit portaal. Voorbij zijn de tijden van de\n urenbriefjes. Je plant je bijlessen van te voren in via dit portaal. Aan het einde van\n de maand berekenen onze systemen automatisch wat je loon is.\n \n \n ) : (\n <>\n \n \n \n \n \n \n \n \n \n Het systeem houdt u op de hoogte van de bijlessen. Bijvoorbeeld dat een coach feedback\n heeft achtergelaten over een bijles. Of een nieuwe bijles ingepland heeft. U ontvangt\n hier ook e-mails over.\n \n \n )}\n \n \n {user?.coach ? (\n <>\n \n \n \n \n \n \n \n \n \n Na een bijles geef je altijd feedback over de les. Ouders vinden het fijn om te weten\n hoe de bijles verliep. Ging de bijles goed? Maakt het bijleskind mooie stappen? Of\n waren er juist verbeterpunten? Na elke les geef je via dit portaal feedback over de\n gegeven les.\n \n \n ) : (\n <>\n \n \n \n \n \n \n \n \n \n {' '}\n Is uw kind overgegaan naar een volgend leerjaar? Of verandert er iets qua\n beschikbaarheid?{' '}\n \n \n )}\n \n \n \n );\n};\n\nexport default Explanation;\n","import * as React from 'react';\nimport { useEffect } from 'react';\n\nimport { Card, CardContent, Typography } from '@mui/material';\n\nimport { appClient } from 'App';\nimport { RegularStudent } from 'assets/api';\nimport AvailabilityGrid from 'components/Functional/Availability/AvailabilityGrid';\nimport useUser from 'functions/Hooks/useUser';\nimport { DayNumber } from 'interfaces/Availability';\n\ninterface GuardianLessonsProps {}\n\nconst GuardianAvailabilities: React.FunctionComponent = () => {\n const { user } = useUser();\n const [students, setStudents] = React.useState();\n\n const handleNext = (event: CustomEvent<() => void>) => {\n event.detail();\n };\n\n useEffect(() => {\n document.addEventListener('onNext', handleNext as EventListener);\n\n return () => {\n document.removeEventListener('onNext', handleNext as EventListener);\n };\n }, []);\n\n useEffect(() => {\n appClient.guardians\n .getGuardiansViewGuardianSimple(user?.guardian?.id || 0)\n .then(({ students }) => {\n if (students !== null) {\n setStudents(students);\n }\n });\n }, [user]);\n\n return (\n <>\n {students?.map(student => (\n <>\n Dit is de beschikbaarheid van uw kind.\n \n \n \n De beschikbaarheid van {student.first_name} {student.last_name}\n \n \n ({\n ...availability,\n day_number: availability.day_number as DayNumber,\n }))}\n onDelete={availabilityItem => {\n appClient.guardians.deleteGuardiansDeleteAvailability(availabilityItem?.id || 0);\n }}\n onAdd={availabilityItem => {\n appClient.guardians.postGuardiansAddAvailabilityToStudent(\n student.id || 0,\n availabilityItem.user_location?.id || 0,\n availabilityItem\n );\n }}\n />\n \n \n ))}\n \n );\n};\n\nexport default GuardianAvailabilities;\n","import * as React from 'react';\nimport { useEffect } from 'react';\n\nimport { Call, Person } from '@mui/icons-material';\nimport {\n Box,\n Collapse,\n FormControl,\n FormControlLabel,\n Grid,\n Radio,\n RadioGroup,\n Typography,\n} from '@mui/material';\nimport { useSnackbar } from 'notistack';\n\nimport { appClient } from 'App';\nimport { SimpleCoach } from 'assets/api';\nimport { Button } from 'components/Elements/Forms/Inputs';\nimport useUser from 'functions/Hooks/useUser';\n\ninterface GuardianLessonsProps {}\n\nconst GuardianLessons: React.FunctionComponent = () => {\n const { user } = useUser();\n const [status, setStatus] = React.useState('idle');\n const [guardianCoaches, setGuardianCoaches] = React.useState();\n const { enqueueSnackbar } = useSnackbar();\n const handleNext = (event: CustomEvent<() => void>) => {\n switch (status) {\n case 'Has no lessons':\n event.detail();\n break;\n case 'Coaches accurate':\n event.detail();\n break;\n case 'Coaches inaccurate':\n enqueueSnackbar('Neem contact met ons op', { variant: 'info' });\n break;\n default:\n enqueueSnackbar('Geef eerst antwoord', { variant: 'info' });\n break;\n }\n };\n\n const handleRadioButton1 = (event: React.ChangeEvent) => {\n setStatus((event.target as HTMLInputElement).value);\n };\n\n const handleRadioButton2 = (event: React.ChangeEvent) => {\n setStatus((event.target as HTMLInputElement).value);\n };\n\n useEffect(() => {\n document.addEventListener('onNext', handleNext as EventListener);\n\n return () => {\n document.removeEventListener('onNext', handleNext as EventListener);\n };\n }, [status]);\n\n useEffect(() => {\n appClient.guardians.getGuardiansViewGuardianCoaches(user?.guardian?.id || 0).then(result => {\n if (result !== null) {\n setGuardianCoaches(result);\n }\n });\n }, [user]);\n\n return (\n <>\n \n \n \n Heeft een van uw kinderen op dit moment een bijlescoach?\n \n \n \n } label=\"Ja\" />\n } label=\"Nee\" />\n \n \n \n \n {/* Wanneer geen bijles */}\n \n Bedankt, ga verder met stap 3.\n \n {/* Wanneer wel bijles */}\n \n \n \n Dit zijn uw coaches, klopt dat?\n {(!guardianCoaches || guardianCoaches?.length <= 0) && (\n <>\n \n We hebben geen coaches gevonden, heeft u het juiste antwoord geven? Neem anders\n contact op met onze klantenservice:\n \n \n \n \n \n Telefoonnummer\n \n \n \n \n \n \n \n )}\n {guardianCoaches?.map(item => (\n <>\n \n {item.user.first_name + ' ' + item.user.last_name}\n \n \n ))}\n {guardianCoaches && (\n \n \n }\n label=\"Ja, dit klopt\"\n />\n }\n label=\"Nee, dit klopt niet\"\n />\n \n \n )}\n \n \n \n {/* Coaches kloppen */}\n \n \n \n Bedankt! Ga verder op stap 3.\n \n \n \n {status == 'Coaches inaccurate' && (\n \n \n Excuses, Het blijkt dat er iets is misgegaan.\n \n Als niet al uw coaches zijn weergeven zijn, is er iets fout gegaan aan onze kant. Neem\n contact op met ons klantenservice zodat wij u verder kunnen helpen:\n \n \n \n Telefoonnummer\n \n \n \n )}\n \n );\n};\n\nexport default GuardianLessons;\n","import * as React from 'react';\nimport { useState } from 'react';\n\nimport { Close, Edit } from '@mui/icons-material';\nimport { CardHeader, Grid, IconButton } from '@mui/material';\n\ninterface EditFormProps {\n ComponentsWhenNotEditing: React.FunctionComponent;\n ComponentsWhenEditing: React.FunctionComponent;\n title: string;\n subheader: string;\n}\n\nconst EditForm: React.FunctionComponent = ({\n ComponentsWhenEditing,\n ComponentsWhenNotEditing,\n ...restProps\n}) => {\n const [isEditing, setIsEditing] = useState(false);\n\n return (\n <>\n \n setIsEditing(!isEditing)}>\n {isEditing ? : }\n \n }\n />\n \n {isEditing ? ComponentsWhenEditing({}) : ComponentsWhenNotEditing({})}\n \n );\n};\n\nexport default EditForm;\n","import * as React from 'react';\nimport { useEffect, useState } from 'react';\n\nimport { Warning } from '@mui/icons-material';\nimport { Grid, InputProps, Typography } from '@mui/material';\nimport { useSnackbar } from 'notistack';\n\nimport { appClient } from 'App';\nimport { PrivateGuardianInformation, RegularGuardianWithChildren } from 'assets/api';\nimport { TextField } from 'components/Elements/Forms/Inputs';\nimport {\n checkBSN,\n checkIBAN,\n checkMail,\n checkPhone,\n checkZip,\n} from 'functions/HelperFunctions/Regex';\nimport useUser, { IUser } from 'functions/Hooks/useUser';\n\nimport EditForm from '../Components/EditForm';\n\ninterface PersonalDetailsProps {}\n\ntype userProps = 'first_name' | 'last_name' | 'email_address';\nconst userInfoToCheck: userProps[] = ['first_name', 'last_name', 'email_address'];\ntype guardianProps = 'phone_number' | 'city' | 'street' | 'zipcode' | 'iban';\nconst coachInfoToCheck: guardianProps[] = ['phone_number', 'city', 'street', 'zipcode'];\ninterface propsToValidateType {\n [key: string]: (value: any) => RegExpMatchArray | boolean | null;\n}\nconst propsToValidate: propsToValidateType = {\n email_address: checkMail,\n phone_number: checkPhone,\n zipcode: checkZip,\n bsn: checkBSN,\n};\n\ntype CombinedGuardian = RegularGuardianWithChildren & PrivateGuardianInformation;\n\nconst GuardianPersonalDetails: React.FunctionComponent = () => {\n const { user } = useUser();\n const [userChange, setUserChange] = useState(user);\n const [guardian, setGuardian] = useState();\n const { enqueueSnackbar } = useSnackbar();\n\n const handleNext = (event: CustomEvent<() => void>) => {\n for (let index = 0; index < userInfoToCheck.length; index++) {\n const key = userInfoToCheck[index];\n const value = userChange?.[key];\n if (!value) return enqueueSnackbar(`${key} is nog niet ingevuld`, { variant: 'warning' });\n if (Object.keys(propsToValidate).includes(key) && !propsToValidate[key](value))\n return enqueueSnackbar(`${key} is niet correct ingevuld`, { variant: 'error' });\n }\n\n appClient.auth.patchAuthEditUser(user?.id || 0, userChange as IUser);\n\n for (let index = 0; index < coachInfoToCheck.length; index++) {\n const key = coachInfoToCheck[index];\n const value = guardian?.[key];\n if (!value) return enqueueSnackbar(`${key} is nog niet ingevuld`, { variant: 'warning' });\n if (Object.keys(propsToValidate).includes(key) && !propsToValidate[key](value))\n return enqueueSnackbar(`${key} is nog correct ingevuld`, { variant: 'error' });\n }\n\n appClient.guardians.postGuardiansEditGuardian(\n guardian!.id,\n guardian as RegularGuardianWithChildren\n );\n\n event.detail();\n };\n\n useEffect(() => {\n document.addEventListener('onNext', handleNext as unknown as EventListener);\n\n return () => {\n document.removeEventListener('onNext', handleNext as unknown as EventListener);\n };\n }, [userChange, guardian]);\n\n useEffect(() => {\n appClient.auth.getAuthGetCurrentUser().then(setUserChange);\n }, []);\n\n useEffect(() => {\n appClient.guardians.getGuardiansViewGuardianSimple(user!.guardian!.id).then(baseGuardian => {\n appClient.guardians\n .getGuardiansViewPrivateGuardian(user!.guardian!.id)\n .then(privateGuardian => {\n if (baseGuardian !== null && privateGuardian !== null) {\n setGuardian({\n ...baseGuardian,\n ...privateGuardian,\n });\n }\n });\n });\n }, [user]);\n\n const handleChange: InputProps['onChange'] = ({ target: { name, value } }) => {\n if (name.includes('user')) {\n setUserChange({\n ...(userChange as IUser),\n [name.replace('user.', '') as userProps]: value,\n });\n } else {\n setGuardian({\n ...(guardian as CombinedGuardian),\n [name as guardianProps]: value,\n });\n }\n };\n\n return (\n \n (\n <>\n \n \n \n \n \n \n \n \n \n \n \n \n \n )}\n ComponentsWhenNotEditing={() => (\n <>\n \n \n Voornaam\n \n \n \n \n {userChange?.first_name || }\n \n \n \n \n \n Achternaam\n \n \n \n \n {userChange?.last_name || }\n \n \n \n \n \n Telefoon\n \n \n \n \n {guardian?.phone_number || }\n \n \n \n \n \n E-mailadres\n \n \n \n \n {userChange?.email_address || }\n \n \n \n )}\n />\n (\n <>\n \n \n \n \n \n \n \n \n \n \n )}\n ComponentsWhenNotEditing={() => (\n <>\n \n \n Woonplaats\n \n \n \n \n {guardian?.city || }\n \n \n \n \n \n Adres\n \n \n \n \n {guardian?.street || }\n \n \n \n \n \n Postcode\n \n \n \n \n {guardian?.zipcode || }\n \n \n \n )}\n />\n (\n <>\n \n \n \n \n )}\n ComponentsWhenNotEditing={() => (\n <>\n \n \n Iban\n \n \n \n \n {guardian?.iban || }\n \n \n \n )}\n />\n \n \n );\n};\n\nexport default GuardianPersonalDetails;\n","import * as React from 'react';\nimport { useEffect, useState } from 'react';\n\nimport { Alert, FormHelperText, Grid, InputProps, MenuItem, Typography } from '@mui/material';\nimport { useSnackbar } from 'notistack';\nimport { useHistory } from 'react-router-dom';\n\nimport { appClient } from 'App';\nimport { CoachPrivateInformation, RegularCoach } from 'assets/api';\nimport { TextField } from 'components/Elements/Forms/Inputs';\nimport {\n checkBSN,\n checkIBAN,\n checkMail,\n checkPhone,\n checkZip,\n} from 'functions/HelperFunctions/Regex';\nimport useUser, { IUser } from 'functions/Hooks/useUser';\n\nimport EditForm from '../Components/EditForm';\n\ninterface PersonalDetailsProps {}\n\ntype userProps = 'first_name' | 'last_name' | 'email_address';\nconst userInfoToCheck: userProps[] = ['first_name', 'last_name', 'email_address'];\ntype coachProps = 'phone_number' | 'city' | 'street' | 'zipcode' | 'bsn' | 'iban' | 'gender';\nconst coachInfoToCheck: coachProps[] = [\n 'phone_number',\n 'city',\n 'street',\n 'zipcode',\n 'bsn',\n 'iban',\n 'gender',\n];\ninterface propsToValidateType {\n [key: string]: (value: any) => RegExpMatchArray | boolean | null;\n}\nconst propsToValidate: propsToValidateType = {\n email_address: checkMail,\n phone_number: checkPhone,\n zipcode: checkZip,\n bsn: checkBSN,\n iban: checkIBAN,\n};\n\ntype CombinedCoach = RegularCoach & CoachPrivateInformation;\n\nconst PersonalDetails: React.FunctionComponent = () => {\n const { user } = useUser();\n const [userChange, setUserChange] = useState(user);\n const [coachChange, setCoachChange] = useState();\n const { enqueueSnackbar } = useSnackbar();\n const history = useHistory();\n\n const handleNext = (event: CustomEvent<() => void>) => {\n for (let index = 0; index < userInfoToCheck.length; index++) {\n const key = userInfoToCheck[index];\n const value = userChange?.[key];\n if (!value) return enqueueSnackbar(`${key} is nog niet ingevuld`, { variant: 'warning' });\n if (Object.keys(propsToValidate).includes(key) && !propsToValidate[key](value))\n return enqueueSnackbar(`${key} is niet correct ingevuld`, { variant: 'error' });\n }\n\n appClient.auth.patchAuthEditUser(user?.id || 0, userChange as IUser);\n\n for (let index = 0; index < coachInfoToCheck.length; index++) {\n const key = coachInfoToCheck[index];\n const value = coachChange?.[key];\n if (!value) return enqueueSnackbar(`${key} is nog niet ingevuld`, { variant: 'warning' });\n if (Object.keys(propsToValidate).includes(key) && !propsToValidate[key](value))\n return enqueueSnackbar(`${key} is nog correct ingevuld`, { variant: 'error' });\n }\n\n appClient.coaches.patchCoachesEditCoach(coachChange?.id || 0, coachChange as RegularCoach);\n\n if (user?.email_address !== userChange?.email_address) {\n history.push('/login');\n }\n\n event.detail();\n };\n\n useEffect(() => {\n document.addEventListener('onNext', handleNext as unknown as EventListener);\n\n return () => {\n document.removeEventListener('onNext', handleNext as unknown as EventListener);\n };\n }, [userChange, coachChange]);\n\n useEffect(() => {\n appClient.auth.getAuthGetCurrentUser().then(setUserChange);\n }, []);\n\n useEffect(() => {\n appClient.coaches.getCoachesViewCoachViaId(user!.coach!.id).then(baseCoach => {\n appClient.coaches\n .getCoachesViewCoachViaIdAdvancedPrivate(user!.coach!.id)\n .then(privateCoach => {\n setCoachChange({\n ...baseCoach,\n ...privateCoach,\n });\n });\n });\n }, [user]);\n\n const handleChange: InputProps['onChange'] = ({ target: { name, value } }) => {\n if (name.includes('user')) {\n setUserChange({\n ...(userChange as IUser),\n [name.replace('user.', '') as userProps]: value,\n });\n } else {\n setCoachChange({\n ...(coachChange as RegularCoach),\n [name as coachProps]: value,\n id_card_back_key: null,\n id_card_front_key: null,\n bsn: null,\n contract: null,\n iban: null,\n });\n }\n };\n\n return (\n \n \n Let op dat je geslacht correct staat\n \n (\n <>\n \n \n \n \n \n \n \n \n mannelijk\n vrouwelijk\n overig\n \n \n \n \n \n *Als je dit wilt wijzigen, moet je na het wijzigen opnieuw inloggen\n \n \n \n \n \n \n )}\n ComponentsWhenNotEditing={() => (\n <>\n \n \n Voornaam\n \n \n \n \n {userChange?.first_name}\n \n \n \n \n \n Achternaam\n \n \n \n \n {userChange?.last_name}\n \n \n \n \n \n Geslacht\n \n \n \n \n {coachChange?.gender}\n \n \n \n \n \n Telefoon\n \n \n \n \n {coachChange?.phone_number}\n \n \n \n \n \n E-mailadres\n \n \n \n \n {userChange?.email_address}\n \n \n \n )}\n />\n (\n <>\n \n \n \n \n \n \n \n \n \n \n )}\n ComponentsWhenNotEditing={() => (\n <>\n \n \n Woonplaats\n \n \n \n \n {coachChange?.city}\n \n \n \n \n \n Adres\n \n \n \n \n {coachChange?.street}\n \n \n \n \n \n Postcode\n \n \n \n \n {coachChange?.zipcode}\n \n \n \n )}\n />\n (\n <>\n \n \n \n \n \n \n \n )}\n ComponentsWhenNotEditing={() => (\n <>\n \n \n Bsn\n \n \n \n \n {coachChange?.bsn}\n \n \n \n \n \n Iban\n \n \n \n \n {coachChange?.iban}\n \n \n \n )}\n />\n \n \n );\n};\n\nexport default PersonalDetails;\n","import * as React from 'react';\nimport { useEffect, useState } from 'react';\n\nimport {\n Checkbox,\n FormControl,\n FormControlLabel,\n Grid,\n MenuItem,\n Radio,\n RadioGroup,\n Typography,\n} from '@mui/material';\nimport { useSnackbar } from 'notistack';\n\nimport { appClient } from 'App';\nimport { BaseDiscipline, RegularCoach, SchoolLevelCoachEnum } from 'assets/api';\nimport { TextField } from 'components/Elements/Forms/Inputs';\nimport useUser from 'functions/Hooks/useUser';\n\nimport EditForm from '../Components/EditForm';\n\ninterface SchoolDetailsProps {}\ntype DisciplineChangeFunctionType = (discipline: BaseDiscipline, checked?: boolean) => void;\n\nconst SchoolDetails: React.FunctionComponent = () => {\n const [possibleDisciplines, setPossibleDisciplines] = useState([]);\n const [coach, setCoach] = useState();\n const [disciplines, setDisciplines] = useState([]);\n const { user } = useUser();\n const { enqueueSnackbar } = useSnackbar();\n\n const handleNext = async (event: CustomEvent<() => void>) => {\n if (!coach?.school_level)\n return enqueueSnackbar('Geef asjeblieft aan welk niveau je hebt gehaald', {\n variant: 'error',\n });\n if (disciplines?.length <= 0 && !coach.is_pabo)\n return enqueueSnackbar('Voeg minimaal een bijlesvak toe', { variant: 'error' });\n\n await appClient.coaches.patchCoachesEditCoach(coach?.id || 0, coach);\n await appClient.coaches.patchCoachesBulkRemoveDisciplinesFromCoach(\n coach.id,\n possibleDisciplines.map(item => item.id)\n );\n await appClient.coaches.patchCoachesBulkAddDisciplinesToCoach(\n coach.id,\n disciplines.map(item => item.id)\n );\n\n event.detail();\n };\n\n useEffect(() => {\n document.addEventListener('onNext', handleNext as unknown as EventListener);\n\n return () => {\n document.removeEventListener('onNext', handleNext as unknown as EventListener);\n };\n }, [disciplines, coach]);\n\n useEffect(() => {\n appClient.coaches.getCoachesViewCoachViaId(user?.coach?.id || 0).then(r => {\n setCoach(r);\n setDisciplines(r.disciplines || []);\n });\n }, [user]);\n\n useEffect(() => {\n appClient.lessons.getLessonsViewDisciplines().then(result => {\n if (result !== null) {\n setPossibleDisciplines(result);\n }\n });\n }, []);\n\n const handleChange: (event: React.ChangeEvent, checked?: boolean) => void = (\n { target: { value, name } },\n checked\n ) => {\n setCoach({\n ...(coach as RegularCoach),\n [name]: checked !== undefined ? checked : value,\n });\n };\n\n const handleDisciplineChange: DisciplineChangeFunctionType = (discipline, checked) => {\n if (checked) setDisciplines([...disciplines, discipline]);\n else setDisciplines(disciplines.filter(search => search.name !== discipline.name));\n };\n\n const schoolVakkenRadio = () => {\n return (\n <>\n {possibleDisciplines.map(discipline => {\n return (\n \n discipline.id === search.id) !== -1}\n onClick={() =>\n handleDisciplineChange(\n discipline,\n !(disciplines.findIndex(search => discipline.id === search.id) !== -1)\n )\n }\n />\n }\n label={discipline.name}\n // onClick={() => setVak(vak)}\n />\n \n );\n })}\n \n );\n };\n\n return (\n \n (\n <>\n \n handleChange(e as React.ChangeEvent)}\n fullWidth\n label=\"Hoogstbehaalde opleiding\"\n name=\"school_level\">\n {Object.keys(SchoolLevelCoachEnum).map(school_level => (\n \n {school_level.toLowerCase().replace('_', ' ')}\n \n ))}\n \n \n \n \n }\n label=\"Ik ben een pabo-student\"\n />\n \n Vink dit aan als je een onderwijsgerelateerde studie volgt of hebt afgerond.\n Voorbeelden van opleidingen zijn: docentenopleiding, PABO, onderwijsassistent,\n pedagogiek, pedagogische wetenschappen, enzovoort\n \n \n \n )}\n ComponentsWhenNotEditing={() => (\n <>\n \n \n Niveau\n \n \n \n \n {coach?.school_level?.replace('_', ' ')}\n \n \n \n \n \n Ik ben een pabo-student\n \n \n \n \n {coach?.is_pabo ? 'Ja' : 'Nee'}\n \n \n \n )}\n />\n (\n \n \n {schoolVakkenRadio()}\n \n \n )}\n ComponentsWhenNotEditing={() => (\n \n \n {disciplines.map(\n (discipline, index) =>\n `${discipline.name}${index !== (disciplines?.length || 0) - 1 ? ',' : ''} `\n )}\n \n \n )}\n />\n\n \n \n );\n};\n\nexport default SchoolDetails;\n","import * as React from 'react';\nimport { useEffect, useState } from 'react';\n\nimport { Warning } from '@mui/icons-material';\nimport {\n CardHeader,\n Divider,\n FormControl,\n FormControlLabel,\n Grid,\n MenuItem,\n Radio,\n RadioGroup,\n Typography,\n} from '@mui/material';\nimport moment from 'moment';\nimport { useSnackbar } from 'notistack';\n\nimport { appClient } from 'App';\nimport {\n BaseDiscipline,\n GenderEnum,\n RegularStudent,\n SchoolLevelCoachEnum,\n SchoolLevelEnum_Output,\n StudentEdit,\n UserLocationIn,\n} from 'assets/api';\nimport { TextField } from 'components/Elements/Forms/Inputs';\nimport LocationList from 'components/Functional/Lists/LocationList';\nimport {\n checkBSN,\n checkIBAN,\n checkMail,\n checkPhone,\n checkZip,\n} from 'functions/HelperFunctions/Regex';\nimport useUser from 'functions/Hooks/useUser';\nimport { ILocation } from 'interfaces/Location';\n\nimport EditForm from '../Components/EditForm';\n\ninterface PersonalDetailsProps {}\n\ntype studentProps =\n | 'first_name'\n | 'last_name'\n | 'gender'\n | 'date_of_birth'\n | 'school_level'\n | 'school_year';\nconst studentInfoToCheck: studentProps[] = [\n 'first_name',\n 'last_name',\n 'gender',\n 'date_of_birth',\n 'school_level',\n 'school_year',\n];\ntype DisciplineChangeFunctionType = (\n student: RegularStudent,\n discipline: BaseDiscipline,\n checked?: boolean\n) => void;\ninterface propsToValidateType {\n [key: string]: (value: any) => RegExpMatchArray | boolean | null;\n}\nconst propsToValidate: propsToValidateType = {\n email_address: checkMail,\n phone_number: checkPhone,\n zipcode: checkZip,\n bsn: checkBSN,\n iban: checkIBAN,\n};\n\nconst StudentDetails: React.FunctionComponent = () => {\n const { user } = useUser();\n const [students, setStudents] = useState([]);\n const [possibleDisciplines, setPossibleDisciplines] = useState([]);\n const { enqueueSnackbar } = useSnackbar();\n\n const handleNext = async (event: CustomEvent<() => void>) => {\n for (let jIndex = 0; jIndex < students.length; jIndex++) {\n const student = students[jIndex];\n for (let index = 0; index < studentInfoToCheck.length; index++) {\n const key = studentInfoToCheck[index];\n const value = student?.[key];\n if (!value) return enqueueSnackbar(`${key} is nog niet ingevuld`, { variant: 'warning' });\n if (Object.keys(propsToValidate).includes(key) && !propsToValidate[key](value))\n return enqueueSnackbar(`${key} is niet correct ingevuld`, { variant: 'error' });\n }\n\n if (student?.user_locations?.length && student?.user_locations?.length < 1)\n enqueueSnackbar(`Geen bijles locatie toegevoegd`, { variant: 'warning' });\n if (student?.disciplines?.length && student?.disciplines?.length < 1)\n enqueueSnackbar(`Geen vakken toegevoegd`, { variant: 'warning' });\n\n await appClient.guardians.patchGuardiansEditStudent(student.id, student as StudentEdit);\n await appClient.guardians.patchGuardiansBulkRemoveDisciplinesFromStudent(\n student.id,\n possibleDisciplines.map(item => item.id)\n );\n await appClient.guardians.patchGuardiansBulkAddDisciplinesToStudent(\n student.id,\n student?.disciplines?.map(item => item.id) || []\n );\n }\n\n event.detail();\n };\n\n useEffect(() => {\n document.addEventListener('onNext', handleNext as unknown as EventListener);\n\n return () => {\n document.removeEventListener('onNext', handleNext as unknown as EventListener);\n };\n }, [students]);\n\n useEffect(() => {\n appClient.lessons.getLessonsViewDisciplines().then(result => {\n if (result !== null) setPossibleDisciplines(result);\n });\n }, []);\n\n useEffect(() => {\n appClient.guardians\n .getGuardiansViewGuardianSimple(user!.guardian!.id)\n .then(({ students }) => setStudents(students!));\n }, [user]);\n\n const handleChange = (\n event: React.ChangeEvent,\n student: RegularStudent\n ) => {\n const value = event.target.value;\n const name = event.target.name as studentProps;\n const change = [...students];\n const index = change.findIndex(search => search.id === student.id);\n if (name === 'school_level') change[index][name] = value as SchoolLevelEnum_Output;\n else if (name === 'gender') change[index][name] = value as GenderEnum;\n else if (name === 'school_year') change[index][name] = Number(value);\n else change[index][name] = value;\n setStudents(change);\n };\n\n const handleDisciplineChange: DisciplineChangeFunctionType = (student, discipline, checked) => {\n const index = students.findIndex(search => search.id === student.id);\n if (checked) student.disciplines = [...(student.disciplines as BaseDiscipline[]), discipline];\n else if (student.disciplines != null)\n student.disciplines = student.disciplines?.filter(search => search.id !== discipline.id);\n\n const change = [...students];\n change[index] = student;\n setStudents(change);\n };\n\n const schoolVakkenRadio = (student: RegularStudent, disciplines: BaseDiscipline[]) => {\n return (\n <>\n {possibleDisciplines.map(discipline => {\n return (\n \n discipline.id === search.id) !== -1}\n onClick={() =>\n handleDisciplineChange(\n student,\n discipline,\n !(disciplines.findIndex(search => discipline.id === search.id) !== -1)\n )\n }\n />\n }\n label={discipline.name}\n // onClick={() => setVak(vak)}\n />\n \n );\n })}\n \n );\n };\n\n return (\n <>\n {students.map(student => (\n \n (\n <>\n \n handleChange(event, student)}\n label=\"Voornaam\"\n name=\"first_name\"\n value={student?.first_name || ''}\n />\n \n \n handleChange(event, student)}\n label=\"Achternaam\"\n name=\"last_name\"\n value={student?.last_name || ''}\n />\n \n \n handleChange(event, student)}\n label=\"Geslacht\"\n name=\"gender\"\n value={student?.gender || ''}>\n mannelijk\n vrouwelijk\n overig\n \n \n \n handleChange(event, student)}\n label=\"Geboortedatum\"\n name=\"date_of_birth\"\n value={student.date_of_birth}\n />\n \n \n )}\n ComponentsWhenNotEditing={() => (\n <>\n \n \n Voornaam\n \n \n \n \n {student?.first_name || }\n \n \n \n \n \n Achternaam\n \n \n \n \n {student?.last_name || }\n \n \n \n \n \n Geslacht\n \n \n \n \n {student?.gender}\n \n \n \n \n \n Geboortedatum\n \n \n \n \n {moment(student?.date_of_birth).format('D MMMM yyyy')}\n \n \n \n \n )}\n />\n (\n <>\n \n handleChange(e as React.ChangeEvent, student)}\n fullWidth\n label=\"Hoogstbehaalde opleiding\"\n name=\"school_level\">\n {Object.keys(SchoolLevelCoachEnum).map(school_level => (\n \n {school_level.toLowerCase().replace('_', ' ')}\n \n ))}\n \n \n \n handleChange(event, student)}\n label=\"Schooljaar\"\n name=\"school_year\"\n value={student?.school_year || ''}\n />\n \n \n \n Vakken\n \n \n \n {schoolVakkenRadio(student, student.disciplines || [])}\n \n \n \n \n )}\n ComponentsWhenNotEditing={() => (\n <>\n \n \n Niveau\n \n \n \n \n {student?.school_level || }\n \n \n \n \n \n Schooljaar\n \n \n \n \n {student?.school_year || }\n \n \n \n \n \n Vakken\n \n \n \n \n {student?.disciplines && student.disciplines.length > 0 ? (\n student?.disciplines?.map(\n (discipline, index) =>\n `${discipline.name}${\n index !== (student?.disciplines?.length || 0) - 1 ? ',' : ''\n } `\n )\n ) : (\n \n )}\n \n \n \n )}\n />\n \n \n \n \n {\n const locationIn: UserLocationIn = {\n city: value.city as string,\n street: value.street as string,\n country: value.country || 'Netherlands',\n zipcode: value.zipcode as string,\n };\n\n return await appClient.guardians\n .postGuardiansAddStudentLocation(student.id, locationIn)\n .then(r => r.user_locations?.[r.user_locations?.length - 1] as ILocation);\n }}\n onPatch={async value => {\n const locationIn: UserLocationIn = {\n city: value.city as string,\n street: value.street as string,\n country: value.country || 'Netherlands',\n zipcode: value.zipcode as string,\n };\n\n return await appClient.guardians.patchGuardiansEditUserLocation(\n student.id,\n locationIn\n );\n }}\n onDelete={async value => {\n return await appClient.guardians\n .deleteGuardiansDeleteUserLocation(value.id)\n .then(() => value);\n }}\n />\n \n \n \n \n \n ))}\n \n );\n};\n\nexport default StudentDetails;\n","import * as React from 'react';\nimport { useEffect, useState } from 'react';\n\nimport { School } from '@mui/icons-material';\nimport { CardActions, CardHeader, Collapse } from '@mui/material';\nimport Typography from '@mui/material/Typography';\nimport { useSnackbar } from 'notistack';\n\nimport { appClient } from 'App';\nimport { SimpleStudentWithGuardian } from 'assets/api';\nimport Card from 'components/Elements/Card';\nimport { Button } from 'components/Elements/Forms/Inputs';\nimport useUser from 'functions/Hooks/useUser';\n\ninterface TutoringQuestionsProps {}\ntype Status =\n | 'idle'\n | 'has student'\n | 'has no student'\n | 'student is of coach'\n | 'student is not of coach';\n\nconst TutoringQuestions: React.FunctionComponent = () => {\n const [status, setStatus] = useState('idle');\n const { enqueueSnackbar } = useSnackbar();\n const { user } = useUser();\n const [students, setStudents] = useState([]);\n\n const handleNext = (event: CustomEvent<() => void>) => {\n if (status === 'has no student' || status === 'student is of coach') event.detail();\n else {\n switch (status) {\n case 'idle':\n enqueueSnackbar('Geef eerst antwoord', { variant: 'info' });\n break;\n case 'has student':\n enqueueSnackbar('Is deze leerling van jou?', { variant: 'info' });\n break;\n case 'student is not of coach':\n enqueueSnackbar('Neem eerst contact met ons op', { variant: 'error' });\n break;\n default:\n break;\n }\n }\n };\n\n useEffect(() => {\n document.addEventListener('onNext', handleNext as EventListener);\n\n return () => {\n document.removeEventListener('onNext', handleNext as EventListener);\n };\n }, [status]);\n\n useEffect(() => {\n appClient.coaches.getCoachesViewCoachStudents(user!.coach!.id).then(setStudents);\n }, [user]);\n\n return (\n
\n \n \n Geef je op dit moment bijles?\n \n \n \n \n \n \n 0 && status !== 'idle' && status !== 'has no student'}>\n \n Klopt het dat je aan deze student(en) bijles geeft?\n \n {students.map(({ disciplines, ...student }) => (\n \n \n }\n title=\"Vakken\"\n subheader={disciplines?.map(\n (discipline, index) =>\n `${discipline.name}${index !== (disciplines?.length || 0) - 1 ? ',' : ''} `\n )}\n />\n \n ))}\n {status === 'has student' && (\n \n \n \n \n )}\n \n \n \n Mooi! Dan mag je door naar het volgende onderdeel.\n \n \n\n {(status === 'student is not of coach' ||\n (status === 'has no student' && students.length > 0) ||\n (students.length === 0 && status !== 'idle' && status !== 'has no student')) && (\n <>\n \n Hmm, dan is er iets misgegaan met de verhuizing naar het nieuwe portaal. Je moet even\n contact opnemen met ons team om door te gaan. Zij kunnen je helpen. Ons team is\n bereikbaar via recruitment@studyworks.nl en{' '}\n +31 6 6 397 60 255\n \n \n )}\n
\n );\n};\n\nexport default TutoringQuestions;\n","\"use client\";\n\nimport createSvgIcon from './utils/createSvgIcon';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport default createSvgIcon( /*#__PURE__*/_jsx(\"path\", {\n d: \"M16.5 12c1.38 0 2.49-1.12 2.49-2.5S17.88 7 16.5 7C15.12 7 14 8.12 14 9.5s1.12 2.5 2.5 2.5M9 11c1.66 0 2.99-1.34 2.99-3S10.66 5 9 5C7.34 5 6 6.34 6 8s1.34 3 3 3m7.5 3c-1.83 0-5.5.92-5.5 2.75V19h11v-2.25c0-1.83-3.67-2.75-5.5-2.75M9 13c-2.33 0-7 1.17-7 3.5V19h7v-2.25c0-.85.33-2.34 2.37-3.47C10.5 13.1 9.66 13 9 13\"\n}), 'SupervisorAccount');","import * as React from 'react';\nimport { FunctionComponent, useEffect } from 'react';\n\nimport { Badge, Person, Schedule, School, SupervisorAccount } from '@mui/icons-material';\nimport { Avatar, Grid, ListItem, ListItemAvatar, ListItemText, Typography } from '@mui/material';\n\nimport useUser from 'functions/Hooks/useUser';\n\ninterface WelcomeProps {}\n\nconst Welcome: FunctionComponent = () => {\n const { user } = useUser();\n\n const handleNext = (event: CustomEvent<() => void>) => {\n event.detail();\n };\n\n useEffect(() => {\n document.addEventListener('onNext', handleNext as EventListener);\n\n return () => {\n document.removeEventListener('onNext', handleNext as EventListener);\n };\n }, []);\n\n return (\n \n \n Welkom in het nieuwe portaal\n {user?.coach ? (\n \n Wij hebben, zoals je weet, het portaal een upgrade gegeven. Sommige dingen zijn\n hetzelfde gebleven maar een hoop is ook veranderd. Met deze veranderingen zijn gegevens\n die wij van jou hadden misschien niet meer kloppend. Wij willen graag met jou samen door\n jou gegevens doorlopen om te kijken of wij wat hebben gemist.\n \n ) : (\n \n Wij hebben, zoals u weet, het portaal een upgrade gegeven. Sommige dingen zijn hetzelfde\n gebleven maar een hoop is ook veranderd. Met deze veranderingen zijn gegevens die wij\n van u hadden misschien niet meer kloppend. Wij willen graag met u samen door uw gegevens\n doorlopen om te kijken of wij wat hebben gemist.\n \n )}\n \n \n Dit zijn de gegevens die we willen controleren.\n {user?.coach ? (\n <>\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n ) : (\n <>\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n )}\n \n \n );\n};\n\nexport default Welcome;\n","import * as React from 'react';\nimport { FunctionComponent, useEffect, useState } from 'react';\n\nimport { AppBar, CardHeader, Container, Grid, Typography } from '@mui/material';\nimport { useHistory } from 'react-router-dom';\n\nimport BEUBanner from 'assets/img/brand/BEU_header_COREcontainer.jpg';\nimport SWLogo from 'assets/img/brand/logo-text-dark.svg';\nimport OBLogo from 'assets/img/brand/LOGO_OB.png';\nimport BEULogo from 'assets/img/brand/LogoBijlesEU.png';\nimport OBBanner from 'assets/img/brand/OB_header_COREcontainer.jpg';\nimport OELogo from 'assets/img/brand/OE_logo.png';\nimport SWBanner from 'assets/img/brand/Oudercontainer_header.png';\nimport VBLBanner from 'assets/img/brand/VBL_header_COREcontainer.jpg';\nimport VBLLogo from 'assets/img/brand/VlakbijlesLogo.png';\nimport { Button } from 'components/Elements/Forms/Inputs';\nimport ProgressSpinner from 'components/Elements/ProgressSpinner';\nimport useLabel from 'functions/Hooks/useLabel';\nimport useUser from 'functions/Hooks/useUser';\n\nimport Availability from './Pages/Availability';\nimport CoachProfile from './Pages/CoachProfile';\nimport Explanation from './Pages/Explanation';\nimport GuardianAvailabilities from './Pages/GuardianAvailabilities';\nimport GuardianLessons from './Pages/GuardianLessons';\nimport GuardianPersonalDetails from './Pages/GuardianPersonalDetails';\nimport PersonalDetails from './Pages/PersonalDetails';\nimport SchoolDetails from './Pages/SchoolDetails';\nimport StudentDetails from './Pages/StudentDetails';\nimport TutoringQuestions from './Pages/TutoringQuestions';\nimport Welcome from './Pages/Welcome';\n\ninterface LandingProps {}\n\ninterface IPage {\n title: string;\n Component: FunctionComponent>;\n}\n\nconst scrollToRef = () => window.scrollTo(0, document.documentElement.offsetTop);\n\n// Some old users have a legacy landing page. This is a flow to update their old account to the new core.\nconst Landing: React.FunctionComponent = () => {\n const { user } = useUser();\n const [pages, setPages] = useState([\n {\n title: 'Welkom',\n Component: Welcome,\n },\n ]);\n const [currentIndex, setCurrentIndex] = useState(0);\n const currentPage = pages[currentIndex];\n const [trigger, setTrigger] = useState(false);\n const label = useLabel();\n const history = useHistory();\n\n const handleScroll = () => {\n const scrolled = document.documentElement.scrollTop;\n if (scrolled > 75 && !trigger) setTrigger(true);\n if (scrolled < 75 && trigger) setTrigger(false);\n };\n\n useEffect(() => {\n if (user) {\n let change = [\n {\n title: 'Voltooid!',\n Component: Explanation,\n },\n ];\n\n if (user.first_landing_status !== 'new') {\n change = [\n {\n title: 'Welkom',\n Component: Welcome,\n },\n ];\n change = change.concat([\n ...(user?.coach\n ? [\n {\n title: 'Bijles geven',\n Component: TutoringQuestions,\n },\n {\n title: 'Persoonlijke gegevens',\n Component: PersonalDetails,\n },\n {\n title: 'Beschikbaarheid',\n Component: Availability,\n },\n {\n title: 'Schoolgegevens',\n Component: SchoolDetails,\n },\n {\n title: 'Personaliseer',\n Component: CoachProfile,\n },\n ]\n : [\n {\n title: 'Huidige lessen',\n Component: GuardianLessons,\n },\n {\n title: 'Persoonlijke gegevens',\n Component: GuardianPersonalDetails,\n },\n {\n title: 'Studentgegevens',\n Component: StudentDetails,\n },\n {\n title: 'Beschikbaarheid',\n Component: GuardianAvailabilities,\n },\n ]),\n {\n title: 'Voltooid!',\n Component: Explanation,\n },\n ]);\n }\n setPages(change);\n } else {\n history.push('/login');\n }\n }, [user]);\n\n useEffect(() => {\n window.addEventListener('scroll', handleScroll);\n\n return () => {\n window.removeEventListener('scroll', handleScroll);\n };\n }, [trigger]);\n\n useEffect(() => {\n setTrigger(false);\n scrollToRef();\n }, [currentPage]);\n\n const whiteLabelBanner = () => {\n if (label?.name) {\n switch (label.name.toLowerCase()) {\n case 'studyworks':\n return SWBanner;\n break;\n case 'bijles.eu':\n return BEUBanner;\n break;\n case 'online-bijles.com':\n return OBBanner;\n break;\n case 'online-examentraining.com':\n return OBBanner;\n break;\n case 'vlakbijles':\n return VBLBanner;\n break;\n }\n } else {\n return SWBanner;\n }\n };\n\n const whiteLabelLogo = () => {\n if (label?.name) {\n switch (label.name.toLowerCase()) {\n case 'studyworks':\n return SWLogo;\n case 'bijles.eu':\n return BEULogo;\n case 'online-bijles.com':\n return OBLogo;\n case 'online-examentraining.com':\n return OELogo;\n case 'vlakbijles':\n return VBLLogo;\n }\n } else {\n return SWLogo;\n }\n };\n\n const handleNext = async () => {\n const event = new CustomEvent('onNext', {\n detail: () => setCurrentIndex(currentIndex + 1),\n });\n await document.dispatchEvent(event);\n };\n\n return (\n
\n \n \n \n \n \n \n \n \n\n \n \n \n \n \n
\n }\n />\n \n \n
\n
\n\n \n \n \n \n \n \n \n \n \n {currentIndex > 0 && (\n \n )}\n \n\n \n \n \n \n \n \n \n );\n};\n\nexport default Landing;\n","import React from 'react';\n\nimport { Grid, LinearProgress, Typography } from '@mui/material';\n\nimport { Button } from 'components/Elements/Forms/Inputs';\n\ninterface IDualContractViewProps {\n contract: string;\n secondContract: string;\n setAllowSign: (value: boolean) => void;\n}\n\nconst DualContractView: React.FunctionComponent = ({\n contract,\n secondContract,\n setAllowSign,\n}) => {\n const [step, setStep] = React.useState(1);\n\n React.useEffect(() => {\n if (step === 2) {\n setAllowSign(true);\n }\n }, [step]);\n\n return (\n \n \n \n \n {step === 1 && contract ? (\n \n \n \n ) : (\n \n )}\n\n {step === 2 && secondContract ? (\n \n \n \n ) : (\n \n )}\n \n \n\n \n {step > 1 && (\n \n )}\n \n \n \n {step < 2 && (\n \n )}\n \n \n \n );\n};\n\nexport default DualContractView;","import React from 'react';\n\n// *******\n\n// Desktop Stages\n// paspoort: 1\n// persoonlijke gegevens: 2\n// school: 3\n// voorkeuren: 4\n// contract: 5\n\n// Mobile Stages\n\n// paspoort: 1\n// naam: 2\n// idgegevens: 3\n// adres: 4\n// Contact: 5\n// bank: 6\n// bsn: 7\n// school: 8\n// locatie: 9\n// vakken: 10\n// beschikbaarheid: 11\n// contract: 12\n\n// ******\n\nexport const initialState = {\n phone_number: '',\n gender: 'mannelijk',\n street: '',\n city: '',\n zipcode: '',\n email_address: '',\n BSN: '',\n country: '',\n iban: '',\n date_of_birth: '',\n emergency_phone_number: '',\n is_pabo: false,\n current_study: '',\n school_level: '',\n school_year: '',\n id_card_front_key: '',\n id_card_back_key: '',\n isUsingLocation: true,\n disciplines: [],\n availabilities: [],\n user_locations: [],\n};\n\nexport const reducer = (state, { type, ...action }) => {\n switch (type) {\n case 'Initilize':\n return {\n ...state,\n ...action,\n };\n case 'reset':\n return initialState;\n case 'update':\n return {\n ...state,\n [action.name]: action.value,\n };\n case 'updateVakken': {\n let disciplines = action.disciplines;\n\n return {\n ...state,\n disciplines,\n };\n }\n case 'createAvailability': {\n let availabilities = state.availabilities || [];\n let item = availabilities.push(action.item);\n\n return {\n ...state,\n availabilities,\n };\n }\n case 'updateAvailability': {\n let availabilities = state.availabilities;\n availabilities[action.index] = action.item;\n\n return {\n ...state,\n availabilities,\n };\n }\n case 'deleteAvailability': {\n let availabilities = state.availabilities;\n availabilities.splice(action.index, 1);\n\n return {\n ...state,\n availabilities,\n };\n }\n case 'updateFormOK': {\n let copyState = state.formOK;\n copyState[action.name] = action.value;\n\n return {\n ...state,\n formOK: copyState,\n };\n }\n default:\n return state;\n }\n};\n\nexport const Context = React.createContext();\n","import React, { useContext, useEffect, useState } from 'react';\n\nimport AutorenewIcon from '@mui/icons-material/Autorenew';\nimport CreateIcon from '@mui/icons-material/Create';\nimport DeleteIcon from '@mui/icons-material/Delete';\nimport UndoIcon from '@mui/icons-material/Undo';\nimport { Button, Grid, IconButton, Paper, TextField, Typography } from '@mui/material';\nimport { Box } from '@mui/system';\nimport { isMobile } from 'react-device-detect';\nimport SignatureCanvas from 'react-signature-canvas';\n\nimport { Context } from '../../UserStore';\n\nimport './Contract.css';\nimport { ArrowForwardIos } from '@mui/icons-material';\n\n//Dit voor de helft oude code van het vorige coach portaal. Er kan nog veel veranderen, maar het werkt.\n\nconst Signature = ({ setSignature, allowSign }) => {\n let [sigPad, setSigPad] = useState({});\n const clearSignature = () => {\n sigPad.clear();\n setSignature(undefined);\n };\n\n const undoSignature = () => {\n let data = sigPad.toData();\n if (data) {\n data.pop();\n sigPad.fromData(data);\n setSignature(sigPad.getTrimmedCanvas().toDataURL('image/png'));\n }\n };\n\n // Calls the /contract API. returns URL of contract.\n return (\n \n \n \n \n \n \n \n \n \n \n {/* {allowSign?( */}\n setSignature(sigPad.getTrimmedCanvas().toDataURL('image/png'))}\n penColor=\"black\"\n canvasProps={{ className: 'sig-canvas' }}\n ref={setSigPad}\n />\n {/* ):(\n \n )} */}\n \n \n );\n};\n\nexport default Signature;\n","import React, { useEffect, useState } from 'react';\n\nimport AutorenewIcon from '@mui/icons-material/Autorenew';\nimport { Button, Card, Grid, LinearProgress, Paper, Typography } from '@mui/material';\nimport './Contract.css';\nimport { useTheme } from '@mui/styles';\nimport { useSnackbar } from 'notistack';\nimport { useParams } from 'react-router-dom';\n\nimport { appClient } from 'App';\nimport { BaseStub } from 'assets/api';\nimport { dataURItoBlob } from 'functions/HelperFunctions/dataUrlToBlob';\nimport { useWidth } from 'functions/Hooks/useDeviceDetect';\n\nimport DualContractView from './DualContractView';\nimport Signature from './Signature';\n\ninterface IContractPageProps {\n data: BaseStub;\n isTransfering: boolean;\n setIsTransfering: (value: boolean) => void;\n}\n\nconst ContractPage: React.FunctionComponent = ({\n data,\n setIsTransfering,\n isTransfering,\n}) => {\n const [contract, setContract] = React.useState();\n const [secondContract, setSecondContract] = React.useState();\n const [signature, setSignature] = useState(undefined);\n const theme = useTheme();\n const currentWidth = useWidth();\n const { key: secretkey }: any = useParams();\n const { enqueueSnackbar } = useSnackbar();\n const [allowSign, setAllowSign] = useState(false);\n\n const [SkipContract] = useState(false);\n const [canDownload, setCanDownload] = useState(false);\n\n const fetchContract = () => {\n appClient.stubs.getStubsGetStubContract(secretkey).then(r => {\n const mainContract = r.mainContract.object_key_render_url;\n setTimeout(function () {\n fetchAWSContract(mainContract, setContract);\n }, 3000);\n\n setAllowSign(true);\n if (r.secondContract) {\n const secondContract = r.secondContract.object_key_render_url;\n\n setTimeout(function () {\n fetchAWSContract(secondContract, setSecondContract);\n }, 3000);\n\n if (currentWidth === 'xs') {\n setAllowSign(true);\n } else {\n setAllowSign(false);\n }\n }\n });\n };\n\n const fetchAWSContract = (url: string, callback: (contract: string) => void) => {\n fetch(url)\n .then(async r => {\n if (r.status === 403) {\n await fetchAWSContract(url, callback);\n setCanDownload(false);\n } else if (r.status === 200) {\n setCanDownload(true);\n }\n\n return r;\n })\n .then(r => r.blob())\n .then(r => {\n callback(URL.createObjectURL(r));\n });\n };\n\n useEffect(() => {\n fetchContract();\n setIsTransfering(false);\n }, [secretkey]);\n\n const handleNext = async (event: any) => {\n if (!isTransfering) {\n setIsTransfering(true);\n }\n\n if (!SkipContract) {\n if (!contract) {\n setIsTransfering(false);\n\n return enqueueSnackbar('Wacht eerst op de overeenkomst', { variant: 'error' });\n }\n\n if (!signature) {\n setIsTransfering(false);\n\n return enqueueSnackbar('Wij hebben je handtekening nodig', { variant: 'error' });\n } else {\n await appClient.stubs\n .postStubsAddSignature(secretkey, { signature: dataURItoBlob(signature) })\n .then(async () => {\n const info = {\n first_name: data?.data_bundle.first_name,\n last_name: data?.data_bundle.last_name,\n email_address: data?.data_bundle.email_address,\n };\n\n const copy = { ...data };\n const street = data?.data_bundle.street + ' ' + data?.data_bundle.street_number;\n copy.data_bundle.street = street;\n\n await appClient.stubs.postStubsUpdateStub(secretkey, data).catch(error => {\n enqueueSnackbar('Er is iets fout gegaan. ' + error, { variant: 'error' });\n setIsTransfering(false);\n });\n await appClient.stubs.patchStubsTransferStub(secretkey, info).catch(error => {\n enqueueSnackbar('Er is iets fout gegaan. ' + error, { variant: 'error' });\n setIsTransfering(false);\n });\n\n event.detail();\n });\n }\n } else {\n /** START: bypass for contract service */\n const info = {\n first_name: data?.data_bundle.first_name,\n last_name: data?.data_bundle.last_name,\n email_address: data?.data_bundle.email_address,\n };\n\n const copy = { ...data };\n const street = data?.data_bundle.street + ' ' + data?.data_bundle.street_number;\n copy.data_bundle.street = street;\n\n data.data_bundle.contract = 'bullshit';\n\n await appClient.stubs.postStubsUpdateStub(secretkey, data).catch(error => {\n enqueueSnackbar('Er is iets fout gegaan. ' + error, { variant: 'error' });\n setIsTransfering(false);\n });\n await appClient.stubs.patchStubsTransferStub(secretkey, info).catch(error => {\n enqueueSnackbar('Er is iets fout gegaan. ' + error, { variant: 'error' });\n setIsTransfering(false);\n });\n\n event.detail();\n /** END: bypass for contract service */\n }\n };\n\n useEffect(() => {\n document.addEventListener('onNext', handleNext);\n\n return () => {\n document.removeEventListener('onNext', handleNext);\n };\n }, [contract, signature]);\n\n const DownloadContract = (blobURL: string, title = 'blob-test.txt') => {\n const a = document.createElement('a');\n document.body.appendChild(a);\n a.style.display = 'none';\n\n a.href = blobURL;\n a.download = title;\n a.click();\n URL.revokeObjectURL(blobURL);\n };\n\n return (\n \n \n \n Teken je overeenkomst\n\n \n Bedankt! Wij hebben de door jou opgegeven informatie in een overeenkomst verwerkt. Lees\n de overeenkomst goed door. Zodra je akkoord gaat kun je de overeenkomst ondertekenen.\n Let wel op: het genereren van dit overeenkomst kan tot maximaal tien seconden duren. Is\n de overeenkomst dan nog niet geladen? Druk dan op knop hieronder om hem opnieuw te\n genereren.\n \n
\n
\n \n \n Staat er iets fout in je overeenkomst? Klik hier om hem opnieuw te genereren.\n \n \n \n {currentWidth === 'xs' ? (\n <>\n {contract ? (\n \n \n \n \n Download hier uw overeenkomst. Lees het goed door voordat je akkoord gaat.\n \n \n \n DownloadContract(contract, 'first-contract.pdf')}>\n Download overeenkomst\n \n \n \n \n ) : (\n \n )}\n\n {secondContract ? (\n \n \n \n \n Download hier uw overeenkomst. Lees het goed door voordat je akkoord gaat.\n \n \n \n DownloadContract(secondContract, 'second-contract.pdf')}>\n Download overeenkomst\n \n \n \n \n ) : (\n \n )}\n \n ) : (\n \n \n {secondContract && contract ? (\n \n ) : (\n \n {contract ? (\n \n ) : (\n \n )}\n \n )}\n \n \n )}\n
\n \n \n Wij hebben je handtekening nodig.\n \n Heb je alles gelezen en ga je akkoord? Zet dan je handtekening in het veld hieronder en\n klik op akkoord.\n \n \n \n \n \n
\n \n );\n};\n\nexport default ContractPage;\n","\"use client\";\n\nimport createSvgIcon from './utils/createSvgIcon';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport default createSvgIcon( /*#__PURE__*/_jsx(\"path\", {\n d: \"m19.83 7.5-2.27-2.27c.07-.42.18-.81.32-1.15.08-.18.12-.37.12-.58 0-.83-.67-1.5-1.5-1.5-1.64 0-3.09.79-4 2h-5C4.46 4 2 6.46 2 9.5S4.5 21 4.5 21H10v-2h2v2h5.5l1.68-5.59 2.82-.94V7.5zM13 9H8V7h5zm3 2c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1\"\n}), 'Savings');","\"use client\";\n\nimport createSvgIcon from './utils/createSvgIcon';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport default createSvgIcon([/*#__PURE__*/_jsx(\"path\", {\n fillRule: \"evenodd\",\n d: \"M16.67 13.13C18.04 14.06 19 15.32 19 17v3h4v-3c0-2.18-3.57-3.47-6.33-3.87\"\n}, \"0\"), /*#__PURE__*/_jsx(\"circle\", {\n cx: \"9\",\n cy: \"8\",\n r: \"4\",\n fillRule: \"evenodd\"\n}, \"1\"), /*#__PURE__*/_jsx(\"path\", {\n fillRule: \"evenodd\",\n d: \"M15 12c2.21 0 4-1.79 4-4s-1.79-4-4-4c-.47 0-.91.1-1.33.24C14.5 5.27 15 6.58 15 8s-.5 2.73-1.33 3.76c.42.14.86.24 1.33.24m-6 1c-2.67 0-8 1.34-8 4v3h16v-3c0-2.66-5.33-4-8-4\"\n}, \"2\")], 'PeopleAlt');","import React, { useEffect, useState } from 'react';\n\nimport { Event, LaptopMac, PeopleAlt, Person, Savings } from '@mui/icons-material';\nimport {\n Timeline,\n TimelineConnector,\n TimelineContent,\n TimelineDot,\n TimelineItem,\n TimelineSeparator,\n} from '@mui/lab';\nimport { Card, CardHeader, Container, Grid, Typography } from '@mui/material';\n\nimport People from 'assets/img/brand/pexels-keira.jpg';\n\nconst FinishPage = () => {\n return (\n \n \n \n \n \n Je hebt een mail van ons gekregen waarmee je toegang tot het coachportaal krijgt.
\n
In het portaal kan je vinden:\n
\n\n \n \n \n \n \n \n \n \n \n Agenda & beschikbaarheid\n Bekijk aankomende lessen en pas je beschikbaarheid aan.\n \n \n \n \n \n \n \n \n \n \n Financiën\n Bekijk je verwachte vergoeding voor deze maand.\n \n \n \n \n \n \n \n \n \n \n Bijleskinderen\n Een overzicht van alle leerlingen aan wie jij bijles geeft.\n \n \n \n \n \n \n \n \n \n Persoonsgegevens\n Hier kan jij jouw persoonlijke gegevens aanpassen.\n \n \n \n
\n \n
\n
\n );\n};\n\nexport default FinishPage;\n","import React, { useEffect, useState } from 'react';\n\nimport CloseIcon from '@mui/icons-material/Close';\nimport DoneIcon from '@mui/icons-material/Done';\nimport {\n Box,\n Card,\n CardHeader,\n Container,\n Dialog,\n DialogContent,\n IconButton,\n Typography,\n} from '@mui/material';\nimport { isMobile } from 'react-device-detect';\n\nimport './Popup.css';\nimport '../../Persoonlijk/Persoonlijk.css';\n\nconst Popup = ({ open, onClose }) => {\n return (\n \n onClose()}\n style={{\n float: 'right',\n color: '#23282c',\n position: 'absolute',\n top: '4px',\n right: '4px',\n }}>\n \n \n \n \n\n \n \n \n Pasfoto is helder en zichtbaar.\n \n \n \n BSN nummer moet volledig leesbaar zijn.\n \n \n \n Geen bewegend beeld.\n \n \n \n Geen reflectie op de foto.\n \n \n \n De foto mag maximaal 5 MB zijn\n \n \n \n \n );\n};\n\nexport default Popup;\n","import React, { useContext, useEffect, useRef, useState } from 'react';\n\nimport NavigateNextIcon from '@mui/icons-material/NavigateNext';\nimport PermIdentityIcon from '@mui/icons-material/PermIdentity';\nimport { Card, Container, Fab, Grid, IconButton, Paper, Typography } from '@mui/material';\nimport { useTheme } from '@mui/material/styles';\nimport { useSnackbar } from 'notistack';\nimport { useHistory, useParams } from 'react-router-dom';\n\nimport { Button } from 'components/Elements/Forms/Inputs';\n\n\n// import { Spinner } from 'reactstrap';\nimport Popup from './popup/Popup';\n\nimport './Paspoort.css';\nimport { Add, Edit, Help, Upload } from '@mui/icons-material';\nimport { QuestionMark } from '@mui/icons-material';\n\nconst PasportPage = ({ setData, data }) => {\n // const { id_card_back_key, id_card_front_key } = data.data_bundle;\n const theme = useTheme();\n const themeColor = theme.palette.primary.main;\n const [spinner, setSpinner] = useState(false);\n const [themeMessage, setTheme] = useState('neutral');\n const [errorMessage, setErrorMessage] = useState('');\n const [errorCount, setErrorCount] = useState(0);\n const { enqueueSnackbar } = useSnackbar();\n const [isOpen, setIsOpen] = useState(false);\n const { key: secretkey } = useParams();\n\n const getBase64 = async (file, name) => {\n const API_ENDPOINT = `${process.env.REACT_APP_BRANCH}/stubs/stub/${secretkey}/add_attachement/${name}`;\n const request = new XMLHttpRequest();\n const formData = new FormData();\n\n request.open('POST', API_ENDPOINT, true);\n // request.setRequestHeader(\"accept\", \"application/json\"());\n request.onreadystatechange = r => {\n if (request.readyState == 4 && request.status == 200) {\n let newState = JSON.parse(request.responseText);\n setData(newState);\n }\n };\n formData.append('attachment', file);\n request.send(formData);\n };\n\n const setField = event => {\n getBase64(event.target.files[0], event.target.name);\n // setData({\n // ...data,\n // [event.target.name]:\n // });\n };\n\n React.useEffect(() => {\n document.addEventListener('onNext', handleNext);\n\n return () => {\n document.removeEventListener('onNext', handleNext);\n };\n }, [data]);\n\n const handleNext = async event => {\n if (!data.data_bundle.id_card_front_key) {\n enqueueSnackbar('Geen voorkant geüpload.', { variant: 'error' });\n\n return;\n }\n if (!data.data_bundle.id_card_back_key) {\n enqueueSnackbar('Geen achterkant geüpload.', { variant: 'error' });\n\n return;\n }\n event.detail();\n };\n\n const handleClose = () => {\n setIsOpen(false);\n };\n\n // useEffect(() => {\n // if (errorCount === 5) {\n // setData({ type: \"updateFormOK\", name: \"paspoort\", value: true });\n // // Boolean zodat recruitement er naar kan kijken\n // setData({\n // type: \"updateFormOK\",\n // name: \"manualCheckPaspoort\",\n // value: true,\n // });\n // setSpinner(false);\n // setTheme(\"server\");\n // setErrorMessage(\n // `De foto's worden handmatig nagekeken, je kunt voorlopig verder om de gegevens in te voeren`\n // );\n // }\n // }, [errorCount]);\n\n return (\n <>\n \n \n \n \n Upload je paspoort / ID-kaart\n \n \n

\n Om jouw identiteit te controleren, hebben wij een foto nodig van de voor- en\n achterkant van jouw paspoort of ID-kaart. Hierop moeten alle gegevens leesbaar zijn.\n Een watermerk mag wel worden toegevoegd.\n setIsOpen(true)}>\n \n \n

\n
\n {errorMessage && (\n \n {errorMessage &&

{errorMessage}

}\n {/* {spinner && } */}\n {themeMessage === 'error' && (\n setIsOpen(true)}>\n Let op deze punten als je een foto maakt!\n

\n )}\n
\n )}\n\n \n \n \n Voorkant paspoort/ID-kaart\n \n \n \n {data?.data_bundle?.id_card_front_key ? (\n \n ) : (\n <>\n
\n \n
\n
\n
\n
\n
\n
\n \n )}\n\n \n \n \n \n \n\n \n \n \n Achterkant paspoort/ID-kaart\n \n \n \n {data?.data_bundle?.id_card_back_key ? (\n \n ) : (\n
\n \n
\n
\n
\n
\n
\n
\n )}\n \n \n \n \n \n \n \n \n );\n};\n\nexport default PasportPage;\n","// This file is a workaround for a bug in web browsers' \"native\"\n// ES6 importing system which is uncapable of importing \"*.json\" files.\n// https://github.com/catamphetamine/libphonenumber-js/issues/239\nexport default {\"version\":4,\"country_calling_codes\":{\"1\":[\"US\",\"AG\",\"AI\",\"AS\",\"BB\",\"BM\",\"BS\",\"CA\",\"DM\",\"DO\",\"GD\",\"GU\",\"JM\",\"KN\",\"KY\",\"LC\",\"MP\",\"MS\",\"PR\",\"SX\",\"TC\",\"TT\",\"VC\",\"VG\",\"VI\"],\"7\":[\"RU\",\"KZ\"],\"20\":[\"EG\"],\"27\":[\"ZA\"],\"30\":[\"GR\"],\"31\":[\"NL\"],\"32\":[\"BE\"],\"33\":[\"FR\"],\"34\":[\"ES\"],\"36\":[\"HU\"],\"39\":[\"IT\",\"VA\"],\"40\":[\"RO\"],\"41\":[\"CH\"],\"43\":[\"AT\"],\"44\":[\"GB\",\"GG\",\"IM\",\"JE\"],\"45\":[\"DK\"],\"46\":[\"SE\"],\"47\":[\"NO\",\"SJ\"],\"48\":[\"PL\"],\"49\":[\"DE\"],\"51\":[\"PE\"],\"52\":[\"MX\"],\"53\":[\"CU\"],\"54\":[\"AR\"],\"55\":[\"BR\"],\"56\":[\"CL\"],\"57\":[\"CO\"],\"58\":[\"VE\"],\"60\":[\"MY\"],\"61\":[\"AU\",\"CC\",\"CX\"],\"62\":[\"ID\"],\"63\":[\"PH\"],\"64\":[\"NZ\"],\"65\":[\"SG\"],\"66\":[\"TH\"],\"81\":[\"JP\"],\"82\":[\"KR\"],\"84\":[\"VN\"],\"86\":[\"CN\"],\"90\":[\"TR\"],\"91\":[\"IN\"],\"92\":[\"PK\"],\"93\":[\"AF\"],\"94\":[\"LK\"],\"95\":[\"MM\"],\"98\":[\"IR\"],\"211\":[\"SS\"],\"212\":[\"MA\",\"EH\"],\"213\":[\"DZ\"],\"216\":[\"TN\"],\"218\":[\"LY\"],\"220\":[\"GM\"],\"221\":[\"SN\"],\"222\":[\"MR\"],\"223\":[\"ML\"],\"224\":[\"GN\"],\"225\":[\"CI\"],\"226\":[\"BF\"],\"227\":[\"NE\"],\"228\":[\"TG\"],\"229\":[\"BJ\"],\"230\":[\"MU\"],\"231\":[\"LR\"],\"232\":[\"SL\"],\"233\":[\"GH\"],\"234\":[\"NG\"],\"235\":[\"TD\"],\"236\":[\"CF\"],\"237\":[\"CM\"],\"238\":[\"CV\"],\"239\":[\"ST\"],\"240\":[\"GQ\"],\"241\":[\"GA\"],\"242\":[\"CG\"],\"243\":[\"CD\"],\"244\":[\"AO\"],\"245\":[\"GW\"],\"246\":[\"IO\"],\"247\":[\"AC\"],\"248\":[\"SC\"],\"249\":[\"SD\"],\"250\":[\"RW\"],\"251\":[\"ET\"],\"252\":[\"SO\"],\"253\":[\"DJ\"],\"254\":[\"KE\"],\"255\":[\"TZ\"],\"256\":[\"UG\"],\"257\":[\"BI\"],\"258\":[\"MZ\"],\"260\":[\"ZM\"],\"261\":[\"MG\"],\"262\":[\"RE\",\"YT\"],\"263\":[\"ZW\"],\"264\":[\"NA\"],\"265\":[\"MW\"],\"266\":[\"LS\"],\"267\":[\"BW\"],\"268\":[\"SZ\"],\"269\":[\"KM\"],\"290\":[\"SH\",\"TA\"],\"291\":[\"ER\"],\"297\":[\"AW\"],\"298\":[\"FO\"],\"299\":[\"GL\"],\"350\":[\"GI\"],\"351\":[\"PT\"],\"352\":[\"LU\"],\"353\":[\"IE\"],\"354\":[\"IS\"],\"355\":[\"AL\"],\"356\":[\"MT\"],\"357\":[\"CY\"],\"358\":[\"FI\",\"AX\"],\"359\":[\"BG\"],\"370\":[\"LT\"],\"371\":[\"LV\"],\"372\":[\"EE\"],\"373\":[\"MD\"],\"374\":[\"AM\"],\"375\":[\"BY\"],\"376\":[\"AD\"],\"377\":[\"MC\"],\"378\":[\"SM\"],\"380\":[\"UA\"],\"381\":[\"RS\"],\"382\":[\"ME\"],\"383\":[\"XK\"],\"385\":[\"HR\"],\"386\":[\"SI\"],\"387\":[\"BA\"],\"389\":[\"MK\"],\"420\":[\"CZ\"],\"421\":[\"SK\"],\"423\":[\"LI\"],\"500\":[\"FK\"],\"501\":[\"BZ\"],\"502\":[\"GT\"],\"503\":[\"SV\"],\"504\":[\"HN\"],\"505\":[\"NI\"],\"506\":[\"CR\"],\"507\":[\"PA\"],\"508\":[\"PM\"],\"509\":[\"HT\"],\"590\":[\"GP\",\"BL\",\"MF\"],\"591\":[\"BO\"],\"592\":[\"GY\"],\"593\":[\"EC\"],\"594\":[\"GF\"],\"595\":[\"PY\"],\"596\":[\"MQ\"],\"597\":[\"SR\"],\"598\":[\"UY\"],\"599\":[\"CW\",\"BQ\"],\"670\":[\"TL\"],\"672\":[\"NF\"],\"673\":[\"BN\"],\"674\":[\"NR\"],\"675\":[\"PG\"],\"676\":[\"TO\"],\"677\":[\"SB\"],\"678\":[\"VU\"],\"679\":[\"FJ\"],\"680\":[\"PW\"],\"681\":[\"WF\"],\"682\":[\"CK\"],\"683\":[\"NU\"],\"685\":[\"WS\"],\"686\":[\"KI\"],\"687\":[\"NC\"],\"688\":[\"TV\"],\"689\":[\"PF\"],\"690\":[\"TK\"],\"691\":[\"FM\"],\"692\":[\"MH\"],\"850\":[\"KP\"],\"852\":[\"HK\"],\"853\":[\"MO\"],\"855\":[\"KH\"],\"856\":[\"LA\"],\"880\":[\"BD\"],\"886\":[\"TW\"],\"960\":[\"MV\"],\"961\":[\"LB\"],\"962\":[\"JO\"],\"963\":[\"SY\"],\"964\":[\"IQ\"],\"965\":[\"KW\"],\"966\":[\"SA\"],\"967\":[\"YE\"],\"968\":[\"OM\"],\"970\":[\"PS\"],\"971\":[\"AE\"],\"972\":[\"IL\"],\"973\":[\"BH\"],\"974\":[\"QA\"],\"975\":[\"BT\"],\"976\":[\"MN\"],\"977\":[\"NP\"],\"992\":[\"TJ\"],\"993\":[\"TM\"],\"994\":[\"AZ\"],\"995\":[\"GE\"],\"996\":[\"KG\"],\"998\":[\"UZ\"]},\"countries\":{\"AC\":[\"247\",\"00\",\"(?:[01589]\\\\d|[46])\\\\d{4}\",[5,6],0,0,0,0,0,0,0,[0,[\"4\\\\d{4}\",[5]]]],\"AD\":[\"376\",\"00\",\"(?:1|6\\\\d)\\\\d{7}|[135-9]\\\\d{5}\",[6,8,9],[[\"(\\\\d{3})(\\\\d{3})\",\"$1 $2\",[\"[135-9]\"]],[\"(\\\\d{4})(\\\\d{4})\",\"$1 $2\",[\"1\"]],[\"(\\\\d{3})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"6\"]]],0,0,0,0,0,0,[0,[\"690\\\\d{6}|[356]\\\\d{5}\",[6,9]]]],\"AE\":[\"971\",\"00\",\"(?:[4-7]\\\\d|9[0-689])\\\\d{7}|800\\\\d{2,9}|[2-4679]\\\\d{7}\",[5,6,7,8,9,10,11,12],[[\"(\\\\d{3})(\\\\d{2,9})\",\"$1 $2\",[\"60|8\"]],[\"(\\\\d)(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3\",[\"[236]|[479][2-8]\"],\"0$1\"],[\"(\\\\d{3})(\\\\d)(\\\\d{5})\",\"$1 $2 $3\",[\"[479]\"]],[\"(\\\\d{2})(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3\",[\"5\"],\"0$1\"]],\"0\",0,0,0,0,0,[0,[\"5[024-68]\\\\d{7}\",[9]]]],\"AF\":[\"93\",\"00\",\"[2-7]\\\\d{8}\",[9],[[\"(\\\\d{2})(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3\",[\"[2-7]\"],\"0$1\"]],\"0\",0,0,0,0,0,[0,[\"7\\\\d{8}\"]]],\"AG\":[\"1\",\"011\",\"(?:268|[58]\\\\d\\\\d|900)\\\\d{7}\",[10],0,\"1\",0,\"([457]\\\\d{6})$|1\",\"268$1\",0,\"268\",[0,[\"268(?:464|7(?:1[3-9]|[28]\\\\d|3[0246]|64|7[0-689]))\\\\d{4}\"]]],\"AI\":[\"1\",\"011\",\"(?:264|[58]\\\\d\\\\d|900)\\\\d{7}\",[10],0,\"1\",0,\"([2457]\\\\d{6})$|1\",\"264$1\",0,\"264\",[0,[\"264(?:235|4(?:69|76)|5(?:3[6-9]|8[1-4])|7(?:29|72))\\\\d{4}\"]]],\"AL\":[\"355\",\"00\",\"(?:700\\\\d\\\\d|900)\\\\d{3}|8\\\\d{5,7}|(?:[2-5]|6\\\\d)\\\\d{7}\",[6,7,8,9],[[\"(\\\\d{3})(\\\\d{3,4})\",\"$1 $2\",[\"80|9\"],\"0$1\"],[\"(\\\\d)(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3\",[\"4[2-6]\"],\"0$1\"],[\"(\\\\d{2})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"[2358][2-5]|4\"],\"0$1\"],[\"(\\\\d{3})(\\\\d{5})\",\"$1 $2\",[\"[23578]\"],\"0$1\"],[\"(\\\\d{2})(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3\",[\"6\"],\"0$1\"]],\"0\",0,0,0,0,0,[0,[\"6(?:[78][2-9]|9\\\\d)\\\\d{6}\",[9]]]],\"AM\":[\"374\",\"00\",\"(?:[1-489]\\\\d|55|60|77)\\\\d{6}\",[8],[[\"(\\\\d{3})(\\\\d{2})(\\\\d{3})\",\"$1 $2 $3\",[\"[89]0\"],\"0 $1\"],[\"(\\\\d{3})(\\\\d{5})\",\"$1 $2\",[\"2|3[12]\"],\"(0$1)\"],[\"(\\\\d{2})(\\\\d{6})\",\"$1 $2\",[\"1|47\"],\"(0$1)\"],[\"(\\\\d{2})(\\\\d{6})\",\"$1 $2\",[\"[3-9]\"],\"0$1\"]],\"0\",0,0,0,0,0,[0,[\"(?:33|4[1349]|55|77|88|9[13-9])\\\\d{6}\"]]],\"AO\":[\"244\",\"00\",\"[29]\\\\d{8}\",[9],[[\"(\\\\d{3})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"[29]\"]]],0,0,0,0,0,0,[0,[\"9[1-79]\\\\d{7}\"]]],\"AR\":[\"54\",\"00\",\"(?:11|[89]\\\\d\\\\d)\\\\d{8}|[2368]\\\\d{9}\",[10,11],[[\"(\\\\d{4})(\\\\d{2})(\\\\d{4})\",\"$1 $2-$3\",[\"2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9])\",\"2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8]))|2(?:2[24-9]|3[1-59]|47)\",\"2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5[56][46]|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]\",\"2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|58|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|54(?:4|5[13-7]|6[89])|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:454|85[56])[46]|3(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]\"],\"0$1\",1],[\"(\\\\d{2})(\\\\d{4})(\\\\d{4})\",\"$1 $2-$3\",[\"1\"],\"0$1\",1],[\"(\\\\d{3})(\\\\d{3})(\\\\d{4})\",\"$1-$2-$3\",[\"[68]\"],\"0$1\"],[\"(\\\\d{3})(\\\\d{3})(\\\\d{4})\",\"$1 $2-$3\",[\"[23]\"],\"0$1\",1],[\"(\\\\d)(\\\\d{4})(\\\\d{2})(\\\\d{4})\",\"$2 15-$3-$4\",[\"9(?:2[2-469]|3[3-578])\",\"9(?:2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9]))\",\"9(?:2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8])))|92(?:2[24-9]|3[1-59]|47)\",\"9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5(?:[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]\",\"9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|5(?:4(?:4|5[13-7]|6[89])|[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]\"],\"0$1\",0,\"$1 $2 $3-$4\"],[\"(\\\\d)(\\\\d{2})(\\\\d{4})(\\\\d{4})\",\"$2 15-$3-$4\",[\"91\"],\"0$1\",0,\"$1 $2 $3-$4\"],[\"(\\\\d{3})(\\\\d{3})(\\\\d{5})\",\"$1-$2-$3\",[\"8\"],\"0$1\"],[\"(\\\\d)(\\\\d{3})(\\\\d{3})(\\\\d{4})\",\"$2 15-$3-$4\",[\"9\"],\"0$1\",0,\"$1 $2 $3-$4\"]],\"0\",0,\"0?(?:(11|2(?:2(?:02?|[13]|2[13-79]|4[1-6]|5[2457]|6[124-8]|7[1-4]|8[13-6]|9[1267])|3(?:02?|1[467]|2[03-6]|3[13-8]|[49][2-6]|5[2-8]|[67])|4(?:7[3-578]|9)|6(?:[0136]|2[24-6]|4[6-8]?|5[15-8])|80|9(?:0[1-3]|[19]|2\\\\d|3[1-6]|4[02568]?|5[2-4]|6[2-46]|72?|8[23]?))|3(?:3(?:2[79]|6|8[2578])|4(?:0[0-24-9]|[12]|3[5-8]?|4[24-7]|5[4-68]?|6[02-9]|7[126]|8[2379]?|9[1-36-8])|5(?:1|2[1245]|3[237]?|4[1-46-9]|6[2-4]|7[1-6]|8[2-5]?)|6[24]|7(?:[069]|1[1568]|2[15]|3[145]|4[13]|5[14-8]|7[2-57]|8[126])|8(?:[01]|2[15-7]|3[2578]?|4[13-6]|5[4-8]?|6[1-357-9]|7[36-8]?|8[5-8]?|9[124])))15)?\",\"9$1\",0,0,[0,[\"93(?:7(?:1[15]|81)|8(?:21|4[16]|69|9[12]))[46]\\\\d{5}|9(?:2(?:657|9(?:54|66))|3(?:7(?:55|77)|865))[2-8]\\\\d{5}|9(?:2(?:2(?:2[59]|44|52)|3(?:26|44)|473|9(?:[07]2|2[26]|34|46))|3327)[45]\\\\d{5}|9(?:2(?:284|3(?:02|23)|920)|3(?:4(?:46|8[27]|92)|541|878))[2-7]\\\\d{5}|9(?:2(?:(?:26|62)2|320|477|9(?:42|83))|3(?:329|4(?:62|76|89)|564))[2-6]\\\\d{5}|(?:675\\\\d|9(?:11[1-8]\\\\d|2(?:2(?:0[45]|1[2-6]|3[3-6])|3(?:[06]4|7[45])|494|6(?:04|1[2-8]|[36][45]|4[3-6])|80[45]|9(?:[17][4-6]|[48][45]|9[3-6]))|3(?:364|4(?:1[2-8]|[25][4-6]|3[3-6]|84)|5(?:1[2-9]|[38][4-6])|6(?:2[45]|44)|7[069][45]|8(?:0[45]|[17][2-6]|3[4-6]|5[3-6]|8[3-68]))))\\\\d{6}|92(?:2(?:21|4[23]|6[145]|7[1-4]|8[356]|9[267])|3(?:16|3[13-8]|43|5[346-8]|9[3-5])|475|6(?:2[46]|4[78]|5[1568])|9(?:03|2[1457-9]|3[1356]|4[08]|[56][23]|82))4\\\\d{5}|9(?:2(?:2(?:57|81)|3(?:24|46|92)|9(?:01|23|64))|3(?:4(?:42|71)|5(?:25|37|4[347]|71)|7(?:18|35|5[17])))[3-6]\\\\d{5}|9(?:2(?:2(?:02|2[3467]|4[156]|5[45]|6[6-8]|91)|3(?:1[47]|25|[45][25]|96)|47[48]|625|932)|3(?:38[2578]|4(?:0[0-24-9]|3[78]|4[457]|58|6[03-9]|72|83|9[136-8])|5(?:2[124]|[368][23]|4[2689]|7[2-6])|7(?:16|2[15]|3[14]|4[13]|5[468]|7[2-5]|8[26])|8(?:2[5-7]|3[278]|4[3-5]|5[78]|6[1-378]|[78]7|94)))[4-6]\\\\d{5}\"]]],\"AS\":[\"1\",\"011\",\"(?:[58]\\\\d\\\\d|684|900)\\\\d{7}\",[10],0,\"1\",0,\"([267]\\\\d{6})$|1\",\"684$1\",0,\"684\",[0,[\"684(?:2(?:48|5[2468]|7[26])|7(?:3[13]|70|82))\\\\d{4}\"]]],\"AT\":[\"43\",\"00\",\"1\\\\d{3,12}|2\\\\d{6,12}|43(?:(?:0\\\\d|5[02-9])\\\\d{3,9}|2\\\\d{4,5}|[3467]\\\\d{4}|8\\\\d{4,6}|9\\\\d{4,7})|5\\\\d{4,12}|8\\\\d{7,12}|9\\\\d{8,12}|(?:[367]\\\\d|4[0-24-9])\\\\d{4,11}\",[4,5,6,7,8,9,10,11,12,13],[[\"(\\\\d)(\\\\d{3,12})\",\"$1 $2\",[\"1(?:11|[2-9])\"],\"0$1\"],[\"(\\\\d{3})(\\\\d{2})\",\"$1 $2\",[\"517\"],\"0$1\"],[\"(\\\\d{2})(\\\\d{3,5})\",\"$1 $2\",[\"5[079]\"],\"0$1\"],[\"(\\\\d{3})(\\\\d{3,10})\",\"$1 $2\",[\"(?:31|4)6|51|6(?:5[0-3579]|[6-9])|7(?:20|32|8)|[89]\"],\"0$1\"],[\"(\\\\d{4})(\\\\d{3,9})\",\"$1 $2\",[\"[2-467]|5[2-6]\"],\"0$1\"],[\"(\\\\d{2})(\\\\d{3})(\\\\d{3,4})\",\"$1 $2 $3\",[\"5\"],\"0$1\"],[\"(\\\\d{2})(\\\\d{4})(\\\\d{4,7})\",\"$1 $2 $3\",[\"5\"],\"0$1\"]],\"0\",0,0,0,0,0,[0,[\"6(?:5[0-3579]|6[013-9]|[7-9]\\\\d)\\\\d{4,10}\",[7,8,9,10,11,12,13]]]],\"AU\":[\"61\",\"001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011\",\"1(?:[0-79]\\\\d{7}(?:\\\\d(?:\\\\d{2})?)?|8[0-24-9]\\\\d{7})|[2-478]\\\\d{8}|1\\\\d{4,7}\",[5,6,7,8,9,10,12],[[\"(\\\\d{2})(\\\\d{3,4})\",\"$1 $2\",[\"16\"],\"0$1\"],[\"(\\\\d{2})(\\\\d{3})(\\\\d{2,4})\",\"$1 $2 $3\",[\"16\"],\"0$1\"],[\"(\\\\d{3})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"14|4\"],\"0$1\"],[\"(\\\\d)(\\\\d{4})(\\\\d{4})\",\"$1 $2 $3\",[\"[2378]\"],\"(0$1)\"],[\"(\\\\d{4})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"1(?:30|[89])\"]]],\"0\",0,\"(183[12])|0\",0,0,0,[0,[\"4(?:79[01]|83[0-389]|94[0-4])\\\\d{5}|4(?:[0-36]\\\\d|4[047-9]|5[0-25-9]|7[02-8]|8[0-24-9]|9[0-37-9])\\\\d{6}\",[9]]],\"0011\"],\"AW\":[\"297\",\"00\",\"(?:[25-79]\\\\d\\\\d|800)\\\\d{4}\",[7],[[\"(\\\\d{3})(\\\\d{4})\",\"$1 $2\",[\"[25-9]\"]]],0,0,0,0,0,0,[0,[\"(?:290|5[69]\\\\d|6(?:[03]0|22|4[0-2]|[69]\\\\d)|7(?:[34]\\\\d|7[07])|9(?:6[45]|9[4-8]))\\\\d{4}\"]]],\"AX\":[\"358\",\"00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))\",\"2\\\\d{4,9}|35\\\\d{4,5}|(?:60\\\\d\\\\d|800)\\\\d{4,6}|7\\\\d{5,11}|(?:[14]\\\\d|3[0-46-9]|50)\\\\d{4,8}\",[5,6,7,8,9,10,11,12],0,\"0\",0,0,0,0,\"18\",[0,[\"4946\\\\d{2,6}|(?:4[0-8]|50)\\\\d{4,8}\",[6,7,8,9,10]]],\"00\"],\"AZ\":[\"994\",\"00\",\"365\\\\d{6}|(?:[124579]\\\\d|60|88)\\\\d{7}\",[9],[[\"(\\\\d{3})(\\\\d{2})(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3 $4\",[\"90\"],\"0$1\"],[\"(\\\\d{2})(\\\\d{3})(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3 $4\",[\"1[28]|2|365|46\",\"1[28]|2|365[45]|46\",\"1[28]|2|365(?:4|5[02])|46\"],\"(0$1)\"],[\"(\\\\d{2})(\\\\d{3})(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3 $4\",[\"[13-9]\"],\"0$1\"]],\"0\",0,0,0,0,0,[0,[\"36554\\\\d{4}|(?:[16]0|4[04]|5[015]|7[07]|99)\\\\d{7}\"]]],\"BA\":[\"387\",\"00\",\"6\\\\d{8}|(?:[35689]\\\\d|49|70)\\\\d{6}\",[8,9],[[\"(\\\\d{2})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"6[1-3]|[7-9]\"],\"0$1\"],[\"(\\\\d{2})(\\\\d{3})(\\\\d{3})\",\"$1 $2-$3\",[\"[3-5]|6[56]\"],\"0$1\"],[\"(\\\\d{2})(\\\\d{2})(\\\\d{2})(\\\\d{3})\",\"$1 $2 $3 $4\",[\"6\"],\"0$1\"]],\"0\",0,0,0,0,0,[0,[\"6040\\\\d{5}|6(?:03|[1-356]|44|7\\\\d)\\\\d{6}\"]]],\"BB\":[\"1\",\"011\",\"(?:246|[58]\\\\d\\\\d|900)\\\\d{7}\",[10],0,\"1\",0,\"([2-9]\\\\d{6})$|1\",\"246$1\",0,\"246\",[0,[\"246(?:(?:2(?:[3568]\\\\d|4[0-57-9])|3(?:5[2-9]|6[0-6])|4(?:46|5\\\\d)|69[5-7]|8(?:[2-5]\\\\d|83))\\\\d|52(?:1[147]|20))\\\\d{3}\"]]],\"BD\":[\"880\",\"00\",\"[1-469]\\\\d{9}|8[0-79]\\\\d{7,8}|[2-79]\\\\d{8}|[2-9]\\\\d{7}|[3-9]\\\\d{6}|[57-9]\\\\d{5}\",[6,7,8,9,10],[[\"(\\\\d{2})(\\\\d{4,6})\",\"$1-$2\",[\"31[5-8]|[459]1\"],\"0$1\"],[\"(\\\\d{3})(\\\\d{3,7})\",\"$1-$2\",[\"3(?:[67]|8[013-9])|4(?:6[168]|7|[89][18])|5(?:6[128]|9)|6(?:[15]|28|4[14])|7[2-589]|8(?:0[014-9]|[12])|9[358]|(?:3[2-5]|4[235]|5[2-578]|6[0389]|76|8[3-7]|9[24])1|(?:44|66)[01346-9]\"],\"0$1\"],[\"(\\\\d{4})(\\\\d{3,6})\",\"$1-$2\",[\"[13-9]|2[23]\"],\"0$1\"],[\"(\\\\d)(\\\\d{7,8})\",\"$1-$2\",[\"2\"],\"0$1\"]],\"0\",0,0,0,0,0,[0,[\"(?:1[13-9]\\\\d|644)\\\\d{7}|(?:3[78]|44|66)[02-9]\\\\d{7}\",[10]]]],\"BE\":[\"32\",\"00\",\"4\\\\d{8}|[1-9]\\\\d{7}\",[8,9],[[\"(\\\\d{3})(\\\\d{2})(\\\\d{3})\",\"$1 $2 $3\",[\"(?:80|9)0\"],\"0$1\"],[\"(\\\\d)(\\\\d{3})(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3 $4\",[\"[239]|4[23]\"],\"0$1\"],[\"(\\\\d{2})(\\\\d{2})(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3 $4\",[\"[15-8]\"],\"0$1\"],[\"(\\\\d{3})(\\\\d{2})(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3 $4\",[\"4\"],\"0$1\"]],\"0\",0,0,0,0,0,[0,[\"4[5-9]\\\\d{7}\",[9]]]],\"BF\":[\"226\",\"00\",\"[025-7]\\\\d{7}\",[8],[[\"(\\\\d{2})(\\\\d{2})(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3 $4\",[\"[025-7]\"]]],0,0,0,0,0,0,[0,[\"(?:0[1-7]|5[0-8]|[67]\\\\d)\\\\d{6}\"]]],\"BG\":[\"359\",\"00\",\"00800\\\\d{7}|[2-7]\\\\d{6,7}|[89]\\\\d{6,8}|2\\\\d{5}\",[6,7,8,9,12],[[\"(\\\\d)(\\\\d)(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3 $4\",[\"2\"],\"0$1\"],[\"(\\\\d{3})(\\\\d{4})\",\"$1 $2\",[\"43[1-6]|70[1-9]\"],\"0$1\"],[\"(\\\\d)(\\\\d{3})(\\\\d{3,4})\",\"$1 $2 $3\",[\"2\"],\"0$1\"],[\"(\\\\d{2})(\\\\d{3})(\\\\d{2,3})\",\"$1 $2 $3\",[\"[356]|4[124-7]|7[1-9]|8[1-6]|9[1-7]\"],\"0$1\"],[\"(\\\\d{3})(\\\\d{2})(\\\\d{3})\",\"$1 $2 $3\",[\"(?:70|8)0\"],\"0$1\"],[\"(\\\\d{3})(\\\\d{3})(\\\\d{2})\",\"$1 $2 $3\",[\"43[1-7]|7\"],\"0$1\"],[\"(\\\\d{2})(\\\\d{3})(\\\\d{3,4})\",\"$1 $2 $3\",[\"[48]|9[08]\"],\"0$1\"],[\"(\\\\d{3})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"9\"],\"0$1\"]],\"0\",0,0,0,0,0,[0,[\"(?:43[07-9]|99[69]\\\\d)\\\\d{5}|(?:8[7-9]|98)\\\\d{7}\",[8,9]]]],\"BH\":[\"973\",\"00\",\"[136-9]\\\\d{7}\",[8],[[\"(\\\\d{4})(\\\\d{4})\",\"$1 $2\",[\"[13679]|8[02-4679]\"]]],0,0,0,0,0,0,[0,[\"(?:3(?:[0-79]\\\\d|8[0-57-9])\\\\d|6(?:3(?:00|33|6[16])|441|6(?:3[03-9]|[69]\\\\d|7[0-689])))\\\\d{4}\"]]],\"BI\":[\"257\",\"00\",\"(?:[267]\\\\d|31)\\\\d{6}\",[8],[[\"(\\\\d{2})(\\\\d{2})(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3 $4\",[\"[2367]\"]]],0,0,0,0,0,0,[0,[\"(?:29|[67][125-9])\\\\d{6}\"]]],\"BJ\":[\"229\",\"00\",\"[24-689]\\\\d{7}\",[8],[[\"(\\\\d{2})(\\\\d{2})(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3 $4\",[\"[24-689]\"]]],0,0,0,0,0,0,[0,[\"(?:4[0-8]|[56]\\\\d|9[013-9])\\\\d{6}\"]]],\"BL\":[\"590\",\"00\",\"590\\\\d{6}|(?:69|80|9\\\\d)\\\\d{7}\",[9],0,\"0\",0,0,0,0,0,[0,[\"69(?:0\\\\d\\\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\\\d)|6(?:1[016-9]|5[0-4]|[67]\\\\d))\\\\d{4}\"]]],\"BM\":[\"1\",\"011\",\"(?:441|[58]\\\\d\\\\d|900)\\\\d{7}\",[10],0,\"1\",0,\"([2-9]\\\\d{6})$|1\",\"441$1\",0,\"441\",[0,[\"441(?:[2378]\\\\d|5[0-39]|9[02])\\\\d{5}\"]]],\"BN\":[\"673\",\"00\",\"[2-578]\\\\d{6}\",[7],[[\"(\\\\d{3})(\\\\d{4})\",\"$1 $2\",[\"[2-578]\"]]],0,0,0,0,0,0,[0,[\"(?:22[89]|[78]\\\\d\\\\d)\\\\d{4}\"]]],\"BO\":[\"591\",\"00(?:1\\\\d)?\",\"8001\\\\d{5}|(?:[2-467]\\\\d|50)\\\\d{6}\",[8,9],[[\"(\\\\d)(\\\\d{7})\",\"$1 $2\",[\"[235]|4[46]\"]],[\"(\\\\d{8})\",\"$1\",[\"[67]\"]],[\"(\\\\d{3})(\\\\d{2})(\\\\d{4})\",\"$1 $2 $3\",[\"8\"]]],\"0\",0,\"0(1\\\\d)?\",0,0,0,[0,[\"[67]\\\\d{7}\",[8]]]],\"BQ\":[\"599\",\"00\",\"(?:[34]1|7\\\\d)\\\\d{5}\",[7],0,0,0,0,0,0,\"[347]\",[0,[\"(?:31(?:8[14-8]|9[14578])|416[14-9]|7(?:0[01]|7[07]|8\\\\d|9[056])\\\\d)\\\\d{3}\"]]],\"BR\":[\"55\",\"00(?:1[245]|2[1-35]|31|4[13]|[56]5|99)\",\"(?:[1-46-9]\\\\d\\\\d|5(?:[0-46-9]\\\\d|5[0-46-9]))\\\\d{8}|[1-9]\\\\d{9}|[3589]\\\\d{8}|[34]\\\\d{7}\",[8,9,10,11],[[\"(\\\\d{4})(\\\\d{4})\",\"$1-$2\",[\"300|4(?:0[02]|37)\",\"4(?:02|37)0|[34]00\"]],[\"(\\\\d{3})(\\\\d{2,3})(\\\\d{4})\",\"$1 $2 $3\",[\"(?:[358]|90)0\"],\"0$1\"],[\"(\\\\d{2})(\\\\d{4})(\\\\d{4})\",\"$1 $2-$3\",[\"(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])[2-57]\"],\"($1)\"],[\"(\\\\d{2})(\\\\d{5})(\\\\d{4})\",\"$1 $2-$3\",[\"[16][1-9]|[2-57-9]\"],\"($1)\"]],\"0\",0,\"(?:0|90)(?:(1[245]|2[1-35]|31|4[13]|[56]5|99)(\\\\d{10,11}))?\",\"$2\",0,0,[0,[\"(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])(?:7|9\\\\d)\\\\d{7}\",[10,11]]]],\"BS\":[\"1\",\"011\",\"(?:242|[58]\\\\d\\\\d|900)\\\\d{7}\",[10],0,\"1\",0,\"([3-8]\\\\d{6})$|1\",\"242$1\",0,\"242\",[0,[\"242(?:3(?:5[79]|7[56]|95)|4(?:[23][1-9]|4[1-35-9]|5[1-8]|6[2-8]|7\\\\d|81)|5(?:2[45]|3[35]|44|5[1-46-9]|65|77)|6[34]6|7(?:27|38)|8(?:0[1-9]|1[02-9]|2\\\\d|3[0-4]|[89]9))\\\\d{4}\"]]],\"BT\":[\"975\",\"00\",\"[17]\\\\d{7}|[2-8]\\\\d{6}\",[7,8],[[\"(\\\\d)(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"[2-68]|7[246]\"]],[\"(\\\\d{2})(\\\\d{2})(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3 $4\",[\"1[67]|7\"]]],0,0,0,0,0,0,[0,[\"(?:1[67]|77)\\\\d{6}\",[8]]]],\"BW\":[\"267\",\"00\",\"(?:0800|(?:[37]|800)\\\\d)\\\\d{6}|(?:[2-6]\\\\d|90)\\\\d{5}\",[7,8,10],[[\"(\\\\d{2})(\\\\d{5})\",\"$1 $2\",[\"90\"]],[\"(\\\\d{3})(\\\\d{4})\",\"$1 $2\",[\"[24-6]|3[15-9]\"]],[\"(\\\\d{2})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"[37]\"]],[\"(\\\\d{4})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"0\"]],[\"(\\\\d{3})(\\\\d{4})(\\\\d{3})\",\"$1 $2 $3\",[\"8\"]]],0,0,0,0,0,0,[0,[\"(?:321|7[1-8]\\\\d)\\\\d{5}\",[8]]]],\"BY\":[\"375\",\"810\",\"(?:[12]\\\\d|33|44|902)\\\\d{7}|8(?:0[0-79]\\\\d{5,7}|[1-7]\\\\d{9})|8(?:1[0-489]|[5-79]\\\\d)\\\\d{7}|8[1-79]\\\\d{6,7}|8[0-79]\\\\d{5}|8\\\\d{5}\",[6,7,8,9,10,11],[[\"(\\\\d{3})(\\\\d{3})\",\"$1 $2\",[\"800\"],\"8 $1\"],[\"(\\\\d{3})(\\\\d{2})(\\\\d{2,4})\",\"$1 $2 $3\",[\"800\"],\"8 $1\"],[\"(\\\\d{4})(\\\\d{2})(\\\\d{3})\",\"$1 $2-$3\",[\"1(?:5[169]|6[3-5]|7[179])|2(?:1[35]|2[34]|3[3-5])\",\"1(?:5[169]|6(?:3[1-3]|4|5[125])|7(?:1[3-9]|7[0-24-6]|9[2-7]))|2(?:1[35]|2[34]|3[3-5])\"],\"8 0$1\"],[\"(\\\\d{3})(\\\\d{2})(\\\\d{2})(\\\\d{2})\",\"$1 $2-$3-$4\",[\"1(?:[56]|7[467])|2[1-3]\"],\"8 0$1\"],[\"(\\\\d{2})(\\\\d{3})(\\\\d{2})(\\\\d{2})\",\"$1 $2-$3-$4\",[\"[1-4]\"],\"8 0$1\"],[\"(\\\\d{3})(\\\\d{3,4})(\\\\d{4})\",\"$1 $2 $3\",[\"[89]\"],\"8 $1\"]],\"8\",0,\"0|80?\",0,0,0,[0,[\"(?:2(?:5[5-79]|9[1-9])|(?:33|44)\\\\d)\\\\d{6}\",[9]]],\"8~10\"],\"BZ\":[\"501\",\"00\",\"(?:0800\\\\d|[2-8])\\\\d{6}\",[7,11],[[\"(\\\\d{3})(\\\\d{4})\",\"$1-$2\",[\"[2-8]\"]],[\"(\\\\d)(\\\\d{3})(\\\\d{4})(\\\\d{3})\",\"$1-$2-$3-$4\",[\"0\"]]],0,0,0,0,0,0,[0,[\"6[0-35-7]\\\\d{5}\",[7]]]],\"CA\":[\"1\",\"011\",\"(?:[2-8]\\\\d|90)\\\\d{8}|3\\\\d{6}\",[7,10],0,\"1\",0,0,0,0,0,[0,[\"(?:2(?:04|[23]6|[48]9|50|63)|3(?:06|43|54|6[578]|82)|4(?:03|1[68]|[26]8|3[178]|50|74)|5(?:06|1[49]|48|79|8[147])|6(?:04|[18]3|39|47|72)|7(?:0[59]|42|53|78|8[02])|8(?:[06]7|19|25|7[39])|90[25])[2-9]\\\\d{6}\",[10]]]],\"CC\":[\"61\",\"001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011\",\"1(?:[0-79]\\\\d{8}(?:\\\\d{2})?|8[0-24-9]\\\\d{7})|[148]\\\\d{8}|1\\\\d{5,7}\",[6,7,8,9,10,12],0,\"0\",0,\"([59]\\\\d{7})$|0\",\"8$1\",0,0,[0,[\"4(?:79[01]|83[0-389]|94[0-4])\\\\d{5}|4(?:[0-36]\\\\d|4[047-9]|5[0-25-9]|7[02-8]|8[0-24-9]|9[0-37-9])\\\\d{6}\",[9]]],\"0011\"],\"CD\":[\"243\",\"00\",\"(?:(?:[189]|5\\\\d)\\\\d|2)\\\\d{7}|[1-68]\\\\d{6}\",[7,8,9,10],[[\"(\\\\d{2})(\\\\d{2})(\\\\d{3})\",\"$1 $2 $3\",[\"88\"],\"0$1\"],[\"(\\\\d{2})(\\\\d{5})\",\"$1 $2\",[\"[1-6]\"],\"0$1\"],[\"(\\\\d{2})(\\\\d{2})(\\\\d{4})\",\"$1 $2 $3\",[\"2\"],\"0$1\"],[\"(\\\\d{2})(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3\",[\"1\"],\"0$1\"],[\"(\\\\d{3})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"[89]\"],\"0$1\"],[\"(\\\\d{2})(\\\\d{2})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3 $4\",[\"5\"],\"0$1\"]],\"0\",0,0,0,0,0,[0,[\"88\\\\d{5}|(?:8[0-69]|9[017-9])\\\\d{7}\",[7,9]]]],\"CF\":[\"236\",\"00\",\"(?:[27]\\\\d{3}|8776)\\\\d{4}\",[8],[[\"(\\\\d{2})(\\\\d{2})(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3 $4\",[\"[278]\"]]],0,0,0,0,0,0,[0,[\"7[024-7]\\\\d{6}\"]]],\"CG\":[\"242\",\"00\",\"222\\\\d{6}|(?:0\\\\d|80)\\\\d{7}\",[9],[[\"(\\\\d)(\\\\d{4})(\\\\d{4})\",\"$1 $2 $3\",[\"8\"]],[\"(\\\\d{2})(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3\",[\"[02]\"]]],0,0,0,0,0,0,[0,[\"026(?:1[0-5]|6[6-9])\\\\d{4}|0(?:[14-6]\\\\d\\\\d|2(?:40|5[5-8]|6[07-9]))\\\\d{5}\"]]],\"CH\":[\"41\",\"00\",\"8\\\\d{11}|[2-9]\\\\d{8}\",[9,12],[[\"(\\\\d{3})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"8[047]|90\"],\"0$1\"],[\"(\\\\d{2})(\\\\d{3})(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3 $4\",[\"[2-79]|81\"],\"0$1\"],[\"(\\\\d{3})(\\\\d{2})(\\\\d{3})(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3 $4 $5\",[\"8\"],\"0$1\"]],\"0\",0,0,0,0,0,[0,[\"(?:6[89]|7[235-9])\\\\d{7}\",[9]]]],\"CI\":[\"225\",\"00\",\"[02]\\\\d{9}\",[10],[[\"(\\\\d{2})(\\\\d{2})(\\\\d)(\\\\d{5})\",\"$1 $2 $3 $4\",[\"2\"]],[\"(\\\\d{2})(\\\\d{2})(\\\\d{2})(\\\\d{4})\",\"$1 $2 $3 $4\",[\"0\"]]],0,0,0,0,0,0,[0,[\"0[157]\\\\d{8}\"]]],\"CK\":[\"682\",\"00\",\"[2-578]\\\\d{4}\",[5],[[\"(\\\\d{2})(\\\\d{3})\",\"$1 $2\",[\"[2-578]\"]]],0,0,0,0,0,0,[0,[\"[578]\\\\d{4}\"]]],\"CL\":[\"56\",\"(?:0|1(?:1[0-69]|2[02-5]|5[13-58]|69|7[0167]|8[018]))0\",\"12300\\\\d{6}|6\\\\d{9,10}|[2-9]\\\\d{8}\",[9,10,11],[[\"(\\\\d{5})(\\\\d{4})\",\"$1 $2\",[\"219\",\"2196\"],\"($1)\"],[\"(\\\\d{2})(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3\",[\"44\"]],[\"(\\\\d)(\\\\d{4})(\\\\d{4})\",\"$1 $2 $3\",[\"2[1-36]\"],\"($1)\"],[\"(\\\\d)(\\\\d{4})(\\\\d{4})\",\"$1 $2 $3\",[\"9[2-9]\"]],[\"(\\\\d{2})(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3\",[\"3[2-5]|[47]|5[1-3578]|6[13-57]|8(?:0[1-9]|[1-9])\"],\"($1)\"],[\"(\\\\d{3})(\\\\d{3})(\\\\d{3,4})\",\"$1 $2 $3\",[\"60|8\"]],[\"(\\\\d{4})(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3\",[\"1\"]],[\"(\\\\d{3})(\\\\d{3})(\\\\d{2})(\\\\d{3})\",\"$1 $2 $3 $4\",[\"60\"]]],0,0,0,0,0,0,[0,[\"2(?:1982[0-6]|3314[05-9])\\\\d{3}|(?:2(?:1(?:160|962)|3(?:2\\\\d\\\\d|3(?:[03467]\\\\d|1[0-35-9]|2[1-9]|5[0-24-9]|8[0-3])|600)|646[59])|80[1-9]\\\\d\\\\d|9(?:3(?:[0-57-9]\\\\d\\\\d|6(?:0[02-9]|[1-9]\\\\d))|6(?:[0-8]\\\\d\\\\d|9(?:[02-79]\\\\d|1[05-9]))|7[1-9]\\\\d\\\\d|9(?:[03-9]\\\\d\\\\d|1(?:[0235-9]\\\\d|4[0-24-9])|2(?:[0-79]\\\\d|8[0-46-9]))))\\\\d{4}|(?:22|3[2-5]|[47][1-35]|5[1-3578]|6[13-57]|8[1-9]|9[2458])\\\\d{7}\",[9]]]],\"CM\":[\"237\",\"00\",\"[26]\\\\d{8}|88\\\\d{6,7}\",[8,9],[[\"(\\\\d{2})(\\\\d{2})(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3 $4\",[\"88\"]],[\"(\\\\d)(\\\\d{2})(\\\\d{2})(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3 $4 $5\",[\"[26]|88\"]]],0,0,0,0,0,0,[0,[\"(?:24[23]|6(?:[25-9]\\\\d|40))\\\\d{6}\",[9]]]],\"CN\":[\"86\",\"00|1(?:[12]\\\\d|79)\\\\d\\\\d00\",\"(?:(?:1[03-689]|2\\\\d)\\\\d\\\\d|6)\\\\d{8}|1\\\\d{10}|[126]\\\\d{6}(?:\\\\d(?:\\\\d{2})?)?|86\\\\d{5,6}|(?:[3-579]\\\\d|8[0-57-9])\\\\d{5,9}\",[7,8,9,10,11,12],[[\"(\\\\d{2})(\\\\d{5,6})\",\"$1 $2\",[\"(?:10|2[0-57-9])[19]|3(?:[157]|35|49|9[1-68])|4(?:1[124-9]|2[179]|6[47-9]|7|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:07|1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3|4[13]|5[1-5]|7[0-79]|9[0-35-9])|(?:4[35]|59|85)[1-9]\",\"(?:10|2[0-57-9])(?:1[02]|9[56])|8078|(?:3(?:[157]\\\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\\\d|8[23])|5(?:[1357]\\\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))1\",\"10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|80781|(?:3(?:[157]\\\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\\\d|8[23])|5(?:[1357]\\\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))12\",\"10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|807812|(?:3(?:[157]\\\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\\\d|8[23])|5(?:[1357]\\\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))123\",\"10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|(?:3(?:[157]\\\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\\\d|8[23])|5(?:[1357]\\\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:078|1[236-8]|2[5-7]|[37]\\\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))123\"],\"0$1\"],[\"(\\\\d{3})(\\\\d{5,6})\",\"$1 $2\",[\"3(?:[157]|35|49|9[1-68])|4(?:[17]|2[179]|6[47-9]|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]|4[13]|5[1-5])|(?:4[35]|59|85)[1-9]\",\"(?:3(?:[157]\\\\d|35|49|9[1-68])|4(?:[17]\\\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\\\d|4[13]|5[1-5]))[19]\",\"85[23](?:10|95)|(?:3(?:[157]\\\\d|35|49|9[1-68])|4(?:[17]\\\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\\\d|4[13]|5[1-5]))(?:10|9[56])\",\"85[23](?:100|95)|(?:3(?:[157]\\\\d|35|49|9[1-68])|4(?:[17]\\\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\\\d|4[13]|5[1-5]))(?:100|9[56])\"],\"0$1\"],[\"(\\\\d{3})(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3\",[\"(?:4|80)0\"]],[\"(\\\\d{2})(\\\\d{4})(\\\\d{4})\",\"$1 $2 $3\",[\"10|2(?:[02-57-9]|1[1-9])\",\"10|2(?:[02-57-9]|1[1-9])\",\"10[0-79]|2(?:[02-57-9]|1[1-79])|(?:10|21)8(?:0[1-9]|[1-9])\"],\"0$1\",1],[\"(\\\\d{3})(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3\",[\"3(?:[3-59]|7[02-68])|4(?:[26-8]|3[3-9]|5[2-9])|5(?:3[03-9]|[468]|7[028]|9[2-46-9])|6|7(?:[0-247]|3[04-9]|5[0-4689]|6[2368])|8(?:[1-358]|9[1-7])|9(?:[013479]|5[1-5])|(?:[34]1|55|79|87)[02-9]\"],\"0$1\",1],[\"(\\\\d{3})(\\\\d{7,8})\",\"$1 $2\",[\"9\"]],[\"(\\\\d{4})(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3\",[\"80\"],\"0$1\",1],[\"(\\\\d{3})(\\\\d{4})(\\\\d{4})\",\"$1 $2 $3\",[\"[3-578]\"],\"0$1\",1],[\"(\\\\d{3})(\\\\d{4})(\\\\d{4})\",\"$1 $2 $3\",[\"1[3-9]\"]],[\"(\\\\d{2})(\\\\d{3})(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3 $4\",[\"[12]\"],\"0$1\",1]],\"0\",0,\"(1(?:[12]\\\\d|79)\\\\d\\\\d)|0\",0,0,0,[0,[\"1740[0-5]\\\\d{6}|1(?:[38]\\\\d|4[57]|[59][0-35-9]|6[25-7]|7[0-35-8])\\\\d{8}\",[11]]],\"00\"],\"CO\":[\"57\",\"00(?:4(?:[14]4|56)|[579])\",\"60\\\\d{8}|(?:1\\\\d|[39])\\\\d{9}\",[10,11],[[\"(\\\\d{3})(\\\\d{7})\",\"$1 $2\",[\"6|90\"],\"($1)\"],[\"(\\\\d{3})(\\\\d{7})\",\"$1 $2\",[\"3[0-357]|91\"]],[\"(\\\\d)(\\\\d{3})(\\\\d{7})\",\"$1-$2-$3\",[\"1\"],\"0$1\",0,\"$1 $2 $3\"]],\"0\",0,\"0([3579]|4(?:[14]4|56))?\",0,0,0,[0,[\"333301[0-5]\\\\d{3}|3333(?:00|2[5-9]|[3-9]\\\\d)\\\\d{4}|(?:3(?:24[1-9]|3(?:00|3[0-24-9]))|9101)\\\\d{6}|3(?:0[0-5]|1\\\\d|2[0-3]|5[01]|70)\\\\d{7}\",[10]]]],\"CR\":[\"506\",\"00\",\"(?:8\\\\d|90)\\\\d{8}|(?:[24-8]\\\\d{3}|3005)\\\\d{4}\",[8,10],[[\"(\\\\d{4})(\\\\d{4})\",\"$1 $2\",[\"[2-7]|8[3-9]\"]],[\"(\\\\d{3})(\\\\d{3})(\\\\d{4})\",\"$1-$2-$3\",[\"[89]\"]]],0,0,\"(19(?:0[0-2468]|1[09]|20|66|77|99))\",0,0,0,[0,[\"(?:3005\\\\d|6500[01])\\\\d{3}|(?:5[07]|6[0-4]|7[0-3]|8[3-9])\\\\d{6}\",[8]]]],\"CU\":[\"53\",\"119\",\"(?:[2-7]|8\\\\d\\\\d)\\\\d{7}|[2-47]\\\\d{6}|[34]\\\\d{5}\",[6,7,8,10],[[\"(\\\\d{2})(\\\\d{4,6})\",\"$1 $2\",[\"2[1-4]|[34]\"],\"(0$1)\"],[\"(\\\\d)(\\\\d{6,7})\",\"$1 $2\",[\"7\"],\"(0$1)\"],[\"(\\\\d)(\\\\d{7})\",\"$1 $2\",[\"[56]\"],\"0$1\"],[\"(\\\\d{3})(\\\\d{7})\",\"$1 $2\",[\"8\"],\"0$1\"]],\"0\",0,0,0,0,0,[0,[\"(?:5\\\\d|6[2-4])\\\\d{6}\",[8]]]],\"CV\":[\"238\",\"0\",\"(?:[2-59]\\\\d\\\\d|800)\\\\d{4}\",[7],[[\"(\\\\d{3})(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3\",[\"[2-589]\"]]],0,0,0,0,0,0,[0,[\"(?:36|5[1-389]|9\\\\d)\\\\d{5}\"]]],\"CW\":[\"599\",\"00\",\"(?:[34]1|60|(?:7|9\\\\d)\\\\d)\\\\d{5}\",[7,8],[[\"(\\\\d{3})(\\\\d{4})\",\"$1 $2\",[\"[3467]\"]],[\"(\\\\d)(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3\",[\"9[4-8]\"]]],0,0,0,0,0,\"[69]\",[0,[\"953[01]\\\\d{4}|9(?:5[12467]|6[5-9])\\\\d{5}\"]]],\"CX\":[\"61\",\"001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011\",\"1(?:[0-79]\\\\d{8}(?:\\\\d{2})?|8[0-24-9]\\\\d{7})|[148]\\\\d{8}|1\\\\d{5,7}\",[6,7,8,9,10,12],0,\"0\",0,\"([59]\\\\d{7})$|0\",\"8$1\",0,0,[0,[\"4(?:79[01]|83[0-389]|94[0-4])\\\\d{5}|4(?:[0-36]\\\\d|4[047-9]|5[0-25-9]|7[02-8]|8[0-24-9]|9[0-37-9])\\\\d{6}\",[9]]],\"0011\"],\"CY\":[\"357\",\"00\",\"(?:[279]\\\\d|[58]0)\\\\d{6}\",[8],[[\"(\\\\d{2})(\\\\d{6})\",\"$1 $2\",[\"[257-9]\"]]],0,0,0,0,0,0,[0,[\"9(?:10|[4-79]\\\\d)\\\\d{5}\"]]],\"CZ\":[\"420\",\"00\",\"(?:[2-578]\\\\d|60)\\\\d{7}|9\\\\d{8,11}\",[9,10,11,12],[[\"(\\\\d{3})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"[2-8]|9[015-7]\"]],[\"(\\\\d{2})(\\\\d{3})(\\\\d{3})(\\\\d{2})\",\"$1 $2 $3 $4\",[\"96\"]],[\"(\\\\d{2})(\\\\d{3})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3 $4\",[\"9\"]],[\"(\\\\d{3})(\\\\d{3})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3 $4\",[\"9\"]]],0,0,0,0,0,0,[0,[\"(?:60[1-8]\\\\d|7(?:0(?:[2-5]\\\\d|60)|19[01]|[2379]\\\\d\\\\d))\\\\d{5}\",[9]]]],\"DE\":[\"49\",\"00\",\"[2579]\\\\d{5,14}|49(?:[34]0|69|8\\\\d)\\\\d\\\\d?|49(?:37|49|60|7[089]|9\\\\d)\\\\d{1,3}|49(?:2[024-9]|3[2-689]|7[1-7])\\\\d{1,8}|(?:1|[368]\\\\d|4[0-8])\\\\d{3,13}|49(?:[015]\\\\d|2[13]|31|[46][1-8])\\\\d{1,9}\",[4,5,6,7,8,9,10,11,12,13,14,15],[[\"(\\\\d{2})(\\\\d{3,13})\",\"$1 $2\",[\"3[02]|40|[68]9\"],\"0$1\"],[\"(\\\\d{3})(\\\\d{3,12})\",\"$1 $2\",[\"2(?:0[1-389]|1[124]|2[18]|3[14])|3(?:[35-9][15]|4[015])|906|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1\",\"2(?:0[1-389]|12[0-8])|3(?:[35-9][15]|4[015])|906|2(?:[13][14]|2[18])|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1\"],\"0$1\"],[\"(\\\\d{4})(\\\\d{2,11})\",\"$1 $2\",[\"[24-6]|3(?:[3569][02-46-9]|4[2-4679]|7[2-467]|8[2-46-8])|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]\",\"[24-6]|3(?:3(?:0[1-467]|2[127-9]|3[124578]|7[1257-9]|8[1256]|9[145])|4(?:2[135]|4[13578]|9[1346])|5(?:0[14]|2[1-3589]|6[1-4]|7[13468]|8[13568])|6(?:2[1-489]|3[124-6]|6[13]|7[12579]|8[1-356]|9[135])|7(?:2[1-7]|4[145]|6[1-5]|7[1-4])|8(?:21|3[1468]|6|7[1467]|8[136])|9(?:0[12479]|2[1358]|4[134679]|6[1-9]|7[136]|8[147]|9[1468]))|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]|3[68]4[1347]|3(?:47|60)[1356]|3(?:3[46]|46|5[49])[1246]|3[4579]3[1357]\"],\"0$1\"],[\"(\\\\d{3})(\\\\d{4})\",\"$1 $2\",[\"138\"],\"0$1\"],[\"(\\\\d{5})(\\\\d{2,10})\",\"$1 $2\",[\"3\"],\"0$1\"],[\"(\\\\d{3})(\\\\d{5,11})\",\"$1 $2\",[\"181\"],\"0$1\"],[\"(\\\\d{3})(\\\\d)(\\\\d{4,10})\",\"$1 $2 $3\",[\"1(?:3|80)|9\"],\"0$1\"],[\"(\\\\d{3})(\\\\d{7,8})\",\"$1 $2\",[\"1[67]\"],\"0$1\"],[\"(\\\\d{3})(\\\\d{7,12})\",\"$1 $2\",[\"8\"],\"0$1\"],[\"(\\\\d{5})(\\\\d{6})\",\"$1 $2\",[\"185\",\"1850\",\"18500\"],\"0$1\"],[\"(\\\\d{3})(\\\\d{4})(\\\\d{4})\",\"$1 $2 $3\",[\"7\"],\"0$1\"],[\"(\\\\d{4})(\\\\d{7})\",\"$1 $2\",[\"18[68]\"],\"0$1\"],[\"(\\\\d{4})(\\\\d{7})\",\"$1 $2\",[\"15[1279]\"],\"0$1\"],[\"(\\\\d{5})(\\\\d{6})\",\"$1 $2\",[\"15[03568]\",\"15(?:[0568]|31)\"],\"0$1\"],[\"(\\\\d{3})(\\\\d{8})\",\"$1 $2\",[\"18\"],\"0$1\"],[\"(\\\\d{3})(\\\\d{2})(\\\\d{7,8})\",\"$1 $2 $3\",[\"1(?:6[023]|7)\"],\"0$1\"],[\"(\\\\d{4})(\\\\d{2})(\\\\d{7})\",\"$1 $2 $3\",[\"15[279]\"],\"0$1\"],[\"(\\\\d{3})(\\\\d{2})(\\\\d{8})\",\"$1 $2 $3\",[\"15\"],\"0$1\"]],\"0\",0,0,0,0,0,[0,[\"15310\\\\d{6}|1(?:6[023]|7[0-57-9])\\\\d{7,8}|1(?:5[0-25-9]|76)\\\\d{8}\",[10,11]]]],\"DJ\":[\"253\",\"00\",\"(?:2\\\\d|77)\\\\d{6}\",[8],[[\"(\\\\d{2})(\\\\d{2})(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3 $4\",[\"[27]\"]]],0,0,0,0,0,0,[0,[\"77\\\\d{6}\"]]],\"DK\":[\"45\",\"00\",\"[2-9]\\\\d{7}\",[8],[[\"(\\\\d{2})(\\\\d{2})(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3 $4\",[\"[2-9]\"]]],0,0,0,0,0,0,[0,[\"(?:[2-7]\\\\d|8[126-9]|9[1-46-9])\\\\d{6}\"]]],\"DM\":[\"1\",\"011\",\"(?:[58]\\\\d\\\\d|767|900)\\\\d{7}\",[10],0,\"1\",0,\"([2-7]\\\\d{6})$|1\",\"767$1\",0,\"767\",[0,[\"767(?:2(?:[2-4689]5|7[5-7])|31[5-7]|61[1-8]|70[1-6])\\\\d{4}\"]]],\"DO\":[\"1\",\"011\",\"(?:[58]\\\\d\\\\d|900)\\\\d{7}\",[10],0,\"1\",0,0,0,0,\"8001|8[024]9\",[0,[\"8[024]9[2-9]\\\\d{6}\"]]],\"DZ\":[\"213\",\"00\",\"(?:[1-4]|[5-79]\\\\d|80)\\\\d{7}\",[8,9],[[\"(\\\\d{2})(\\\\d{2})(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3 $4\",[\"[1-4]\"],\"0$1\"],[\"(\\\\d{2})(\\\\d{3})(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3 $4\",[\"9\"],\"0$1\"],[\"(\\\\d{3})(\\\\d{2})(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3 $4\",[\"[5-8]\"],\"0$1\"]],\"0\",0,0,0,0,0,[0,[\"(?:5(?:4[0-29]|5\\\\d|6[0-3])|6(?:[569]\\\\d|7[0-6])|7[7-9]\\\\d)\\\\d{6}\",[9]]]],\"EC\":[\"593\",\"00\",\"1\\\\d{9,10}|(?:[2-7]|9\\\\d)\\\\d{7}\",[8,9,10,11],[[\"(\\\\d)(\\\\d{3})(\\\\d{4})\",\"$1 $2-$3\",[\"[2-7]\"],\"(0$1)\",0,\"$1-$2-$3\"],[\"(\\\\d{2})(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3\",[\"9\"],\"0$1\"],[\"(\\\\d{4})(\\\\d{3})(\\\\d{3,4})\",\"$1 $2 $3\",[\"1\"]]],\"0\",0,0,0,0,0,[0,[\"964[0-2]\\\\d{5}|9(?:39|[57][89]|6[0-36-9]|[89]\\\\d)\\\\d{6}\",[9]]]],\"EE\":[\"372\",\"00\",\"8\\\\d{9}|[4578]\\\\d{7}|(?:[3-8]\\\\d|90)\\\\d{5}\",[7,8,10],[[\"(\\\\d{3})(\\\\d{4})\",\"$1 $2\",[\"[369]|4[3-8]|5(?:[0-2]|5[0-478]|6[45])|7[1-9]|88\",\"[369]|4[3-8]|5(?:[02]|1(?:[0-8]|95)|5[0-478]|6(?:4[0-4]|5[1-589]))|7[1-9]|88\"]],[\"(\\\\d{4})(\\\\d{3,4})\",\"$1 $2\",[\"[45]|8(?:00|[1-49])\",\"[45]|8(?:00[1-9]|[1-49])\"]],[\"(\\\\d{2})(\\\\d{2})(\\\\d{4})\",\"$1 $2 $3\",[\"7\"]],[\"(\\\\d{4})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"8\"]]],0,0,0,0,0,0,[0,[\"(?:5\\\\d{5}|8(?:1(?:0(?:0(?:00|[178]\\\\d)|[3-9]\\\\d\\\\d)|(?:1(?:0[236]|1\\\\d)|(?:2[0-59]|[3-79]\\\\d)\\\\d)\\\\d)|2(?:0(?:0(?:00|4\\\\d)|(?:19|[2-7]\\\\d)\\\\d)|(?:(?:[124-6]\\\\d|3[5-9])\\\\d|7(?:[0-79]\\\\d|8[13-9])|8(?:[2-6]\\\\d|7[01]))\\\\d)|[349]\\\\d{4}))\\\\d\\\\d|5(?:(?:[02]\\\\d|5[0-478])\\\\d|1(?:[0-8]\\\\d|95)|6(?:4[0-4]|5[1-589]))\\\\d{3}\",[7,8]]]],\"EG\":[\"20\",\"00\",\"[189]\\\\d{8,9}|[24-6]\\\\d{8}|[135]\\\\d{7}\",[8,9,10],[[\"(\\\\d)(\\\\d{7,8})\",\"$1 $2\",[\"[23]\"],\"0$1\"],[\"(\\\\d{2})(\\\\d{6,7})\",\"$1 $2\",[\"1[35]|[4-6]|8[2468]|9[235-7]\"],\"0$1\"],[\"(\\\\d{3})(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3\",[\"[89]\"],\"0$1\"],[\"(\\\\d{2})(\\\\d{8})\",\"$1 $2\",[\"1\"],\"0$1\"]],\"0\",0,0,0,0,0,[0,[\"1[0-25]\\\\d{8}\",[10]]]],\"EH\":[\"212\",\"00\",\"[5-8]\\\\d{8}\",[9],0,\"0\",0,0,0,0,\"528[89]\",[0,[\"(?:6(?:[0-79]\\\\d|8[0-247-9])|7(?:[0167]\\\\d|2[0-4]|5[01]|8[0-3]))\\\\d{6}\"]]],\"ER\":[\"291\",\"00\",\"[178]\\\\d{6}\",[7],[[\"(\\\\d)(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"[178]\"],\"0$1\"]],\"0\",0,0,0,0,0,[0,[\"(?:17[1-3]|7\\\\d\\\\d)\\\\d{4}\"]]],\"ES\":[\"34\",\"00\",\"[5-9]\\\\d{8}\",[9],[[\"(\\\\d{3})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"[89]00\"]],[\"(\\\\d{3})(\\\\d{2})(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3 $4\",[\"[5-9]\"]]],0,0,0,0,0,0,[0,[\"(?:590[16]00\\\\d|9(?:6906(?:09|10)|7390\\\\d\\\\d))\\\\d\\\\d|(?:6\\\\d|7[1-48])\\\\d{7}\"]]],\"ET\":[\"251\",\"00\",\"(?:11|[2-579]\\\\d)\\\\d{7}\",[9],[[\"(\\\\d{2})(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3\",[\"[1-579]\"],\"0$1\"]],\"0\",0,0,0,0,0,[0,[\"700[1-9]\\\\d{5}|(?:7(?:0[1-9]|1[0-8]|22|77|86|99)|9\\\\d\\\\d)\\\\d{6}\"]]],\"FI\":[\"358\",\"00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))\",\"[1-35689]\\\\d{4}|7\\\\d{10,11}|(?:[124-7]\\\\d|3[0-46-9])\\\\d{8}|[1-9]\\\\d{5,8}\",[5,6,7,8,9,10,11,12],[[\"(\\\\d{5})\",\"$1\",[\"20[2-59]\"],\"0$1\"],[\"(\\\\d{3})(\\\\d{3,7})\",\"$1 $2\",[\"(?:[1-3]0|[68])0|70[07-9]\"],\"0$1\"],[\"(\\\\d{2})(\\\\d{4,8})\",\"$1 $2\",[\"[14]|2[09]|50|7[135]\"],\"0$1\"],[\"(\\\\d{2})(\\\\d{6,10})\",\"$1 $2\",[\"7\"],\"0$1\"],[\"(\\\\d)(\\\\d{4,9})\",\"$1 $2\",[\"(?:1[49]|[2568])[1-8]|3(?:0[1-9]|[1-9])|9\"],\"0$1\"]],\"0\",0,0,0,0,\"1[03-79]|[2-9]\",[0,[\"4946\\\\d{2,6}|(?:4[0-8]|50)\\\\d{4,8}\",[6,7,8,9,10]]],\"00\"],\"FJ\":[\"679\",\"0(?:0|52)\",\"45\\\\d{5}|(?:0800\\\\d|[235-9])\\\\d{6}\",[7,11],[[\"(\\\\d{3})(\\\\d{4})\",\"$1 $2\",[\"[235-9]|45\"]],[\"(\\\\d{4})(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3\",[\"0\"]]],0,0,0,0,0,0,[0,[\"(?:[279]\\\\d|45|5[01568]|8[034679])\\\\d{5}\",[7]]],\"00\"],\"FK\":[\"500\",\"00\",\"[2-7]\\\\d{4}\",[5],0,0,0,0,0,0,0,[0,[\"[56]\\\\d{4}\"]]],\"FM\":[\"691\",\"00\",\"(?:[39]\\\\d\\\\d|820)\\\\d{4}\",[7],[[\"(\\\\d{3})(\\\\d{4})\",\"$1 $2\",[\"[389]\"]]],0,0,0,0,0,0,[0,[\"31(?:00[67]|208|309)\\\\d\\\\d|(?:3(?:[2357]0[1-9]|602|804|905)|(?:820|9[2-7]\\\\d)\\\\d)\\\\d{3}\"]]],\"FO\":[\"298\",\"00\",\"[2-9]\\\\d{5}\",[6],[[\"(\\\\d{6})\",\"$1\",[\"[2-9]\"]]],0,0,\"(10(?:01|[12]0|88))\",0,0,0,[0,[\"(?:[27][1-9]|5\\\\d|9[16])\\\\d{4}\"]]],\"FR\":[\"33\",\"00\",\"[1-9]\\\\d{8}\",[9],[[\"(\\\\d{3})(\\\\d{2})(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3 $4\",[\"8\"],\"0 $1\"],[\"(\\\\d)(\\\\d{2})(\\\\d{2})(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3 $4 $5\",[\"[1-79]\"],\"0$1\"]],\"0\",0,0,0,0,0,[0,[\"(?:6(?:[0-24-8]\\\\d|3[0-8]|9[589])|7[3-9]\\\\d)\\\\d{6}\"]]],\"GA\":[\"241\",\"00\",\"(?:[067]\\\\d|11)\\\\d{6}|[2-7]\\\\d{6}\",[7,8],[[\"(\\\\d)(\\\\d{2})(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3 $4\",[\"[2-7]\"],\"0$1\"],[\"(\\\\d{2})(\\\\d{2})(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3 $4\",[\"0\"]],[\"(\\\\d{2})(\\\\d{2})(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3 $4\",[\"11|[67]\"],\"0$1\"]],0,0,\"0(11\\\\d{6}|60\\\\d{6}|61\\\\d{6}|6[256]\\\\d{6}|7[467]\\\\d{6})\",\"$1\",0,0,[0,[\"(?:(?:0[2-7]|7[467])\\\\d|6(?:0[0-4]|10|[256]\\\\d))\\\\d{5}|[2-7]\\\\d{6}\"]]],\"GB\":[\"44\",\"00\",\"[1-357-9]\\\\d{9}|[18]\\\\d{8}|8\\\\d{6}\",[7,9,10],[[\"(\\\\d{3})(\\\\d{4})\",\"$1 $2\",[\"800\",\"8001\",\"80011\",\"800111\",\"8001111\"],\"0$1\"],[\"(\\\\d{3})(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3\",[\"845\",\"8454\",\"84546\",\"845464\"],\"0$1\"],[\"(\\\\d{3})(\\\\d{6})\",\"$1 $2\",[\"800\"],\"0$1\"],[\"(\\\\d{5})(\\\\d{4,5})\",\"$1 $2\",[\"1(?:38|5[23]|69|76|94)\",\"1(?:(?:38|69)7|5(?:24|39)|768|946)\",\"1(?:3873|5(?:242|39[4-6])|(?:697|768)[347]|9467)\"],\"0$1\"],[\"(\\\\d{4})(\\\\d{5,6})\",\"$1 $2\",[\"1(?:[2-69][02-9]|[78])\"],\"0$1\"],[\"(\\\\d{2})(\\\\d{4})(\\\\d{4})\",\"$1 $2 $3\",[\"[25]|7(?:0|6[02-9])\",\"[25]|7(?:0|6(?:[03-9]|2[356]))\"],\"0$1\"],[\"(\\\\d{4})(\\\\d{6})\",\"$1 $2\",[\"7\"],\"0$1\"],[\"(\\\\d{3})(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3\",[\"[1389]\"],\"0$1\"]],\"0\",0,0,0,0,0,[0,[\"7(?:457[0-57-9]|700[01]|911[028])\\\\d{5}|7(?:[1-3]\\\\d\\\\d|4(?:[0-46-9]\\\\d|5[0-689])|5(?:0[0-8]|[13-9]\\\\d|2[0-35-9])|7(?:0[1-9]|[1-7]\\\\d|8[02-9]|9[0-689])|8(?:[014-9]\\\\d|[23][0-8])|9(?:[024-9]\\\\d|1[02-9]|3[0-689]))\\\\d{6}\",[10]]],0,\" x\"],\"GD\":[\"1\",\"011\",\"(?:473|[58]\\\\d\\\\d|900)\\\\d{7}\",[10],0,\"1\",0,\"([2-9]\\\\d{6})$|1\",\"473$1\",0,\"473\",[0,[\"473(?:4(?:0[2-79]|1[04-9]|2[0-5]|49|5[68])|5(?:2[01]|3[3-8])|901)\\\\d{4}\"]]],\"GE\":[\"995\",\"00\",\"(?:[3-57]\\\\d\\\\d|800)\\\\d{6}\",[9],[[\"(\\\\d{3})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"70\"],\"0$1\"],[\"(\\\\d{2})(\\\\d{3})(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3 $4\",[\"32\"],\"0$1\"],[\"(\\\\d{3})(\\\\d{2})(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3 $4\",[\"[57]\"]],[\"(\\\\d{3})(\\\\d{2})(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3 $4\",[\"[348]\"],\"0$1\"]],\"0\",0,0,0,0,0,[0,[\"5(?:(?:(?:0555|1(?:[17]77|555))[5-9]|757(?:7[7-9]|8[01]))\\\\d|22252[0-4])\\\\d\\\\d|5(?:0(?:0[17]0|505)|1(?:0[01]0|1(?:07|33|51))|2(?:0[02]0|2[25]2)|3(?:0[03]0|3[35]3)|(?:40[04]|900)0|5222)[0-4]\\\\d{3}|(?:5(?:0(?:0(?:0\\\\d|11|22|3[0-6]|44|5[05]|77|88|9[09])|111|22[02]|77\\\\d)|1(?:1(?:[03][01]|[124]\\\\d|5[2-6]|7[0-4])|4\\\\d\\\\d)|[23]555|4(?:4\\\\d\\\\d|555)|5(?:[0157-9]\\\\d\\\\d|200)|6[89]\\\\d\\\\d|7(?:[0147-9]\\\\d\\\\d|5(?:00|[57]5))|8(?:0(?:[018]\\\\d|2[0-4])|5(?:55|8[89])|8(?:55|88))|9(?:090|[1-35-9]\\\\d\\\\d))|790\\\\d\\\\d)\\\\d{4}\"]]],\"GF\":[\"594\",\"00\",\"[56]94\\\\d{6}|(?:80|9\\\\d)\\\\d{7}\",[9],[[\"(\\\\d{3})(\\\\d{2})(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3 $4\",[\"[56]|9[47]\"],\"0$1\"],[\"(\\\\d{3})(\\\\d{2})(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3 $4\",[\"[89]\"],\"0$1\"]],\"0\",0,0,0,0,0,[0,[\"694(?:[0-249]\\\\d|3[0-8])\\\\d{4}\"]]],\"GG\":[\"44\",\"00\",\"(?:1481|[357-9]\\\\d{3})\\\\d{6}|8\\\\d{6}(?:\\\\d{2})?\",[7,9,10],0,\"0\",0,\"([25-9]\\\\d{5})$|0\",\"1481$1\",0,0,[0,[\"7(?:(?:781|839)\\\\d|911[17])\\\\d{5}\",[10]]]],\"GH\":[\"233\",\"00\",\"(?:[235]\\\\d{3}|800)\\\\d{5}\",[8,9],[[\"(\\\\d{3})(\\\\d{5})\",\"$1 $2\",[\"8\"],\"0$1\"],[\"(\\\\d{2})(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3\",[\"[235]\"],\"0$1\"]],\"0\",0,0,0,0,0,[0,[\"(?:2(?:[0346-9]\\\\d|5[67])|5(?:[03-7]\\\\d|9[1-9]))\\\\d{6}\",[9]]]],\"GI\":[\"350\",\"00\",\"(?:[25]\\\\d|60)\\\\d{6}\",[8],[[\"(\\\\d{3})(\\\\d{5})\",\"$1 $2\",[\"2\"]]],0,0,0,0,0,0,[0,[\"5251[0-4]\\\\d{3}|(?:5(?:[146-8]\\\\d\\\\d|250)|60(?:1[01]|6\\\\d))\\\\d{4}\"]]],\"GL\":[\"299\",\"00\",\"(?:19|[2-689]\\\\d|70)\\\\d{4}\",[6],[[\"(\\\\d{2})(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3\",[\"19|[2-9]\"]]],0,0,0,0,0,0,[0,[\"[245]\\\\d{5}\"]]],\"GM\":[\"220\",\"00\",\"[2-9]\\\\d{6}\",[7],[[\"(\\\\d{3})(\\\\d{4})\",\"$1 $2\",[\"[2-9]\"]]],0,0,0,0,0,0,[0,[\"(?:[23679]\\\\d|4[015]|5[0-489])\\\\d{5}\"]]],\"GN\":[\"224\",\"00\",\"722\\\\d{6}|(?:3|6\\\\d)\\\\d{7}\",[8,9],[[\"(\\\\d{2})(\\\\d{2})(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3 $4\",[\"3\"]],[\"(\\\\d{3})(\\\\d{2})(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3 $4\",[\"[67]\"]]],0,0,0,0,0,0,[0,[\"6[0-356]\\\\d{7}\",[9]]]],\"GP\":[\"590\",\"00\",\"590\\\\d{6}|(?:69|80|9\\\\d)\\\\d{7}\",[9],[[\"(\\\\d{3})(\\\\d{2})(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3 $4\",[\"[569]\"],\"0$1\"],[\"(\\\\d{3})(\\\\d{2})(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3 $4\",[\"8\"],\"0$1\"]],\"0\",0,0,0,0,0,[0,[\"69(?:0\\\\d\\\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\\\d)|6(?:1[016-9]|5[0-4]|[67]\\\\d))\\\\d{4}\"]]],\"GQ\":[\"240\",\"00\",\"222\\\\d{6}|(?:3\\\\d|55|[89]0)\\\\d{7}\",[9],[[\"(\\\\d{3})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"[235]\"]],[\"(\\\\d{3})(\\\\d{6})\",\"$1 $2\",[\"[89]\"]]],0,0,0,0,0,0,[0,[\"(?:222|55\\\\d)\\\\d{6}\"]]],\"GR\":[\"30\",\"00\",\"5005000\\\\d{3}|8\\\\d{9,11}|(?:[269]\\\\d|70)\\\\d{8}\",[10,11,12],[[\"(\\\\d{2})(\\\\d{4})(\\\\d{4})\",\"$1 $2 $3\",[\"21|7\"]],[\"(\\\\d{4})(\\\\d{6})\",\"$1 $2\",[\"2(?:2|3[2-57-9]|4[2-469]|5[2-59]|6[2-9]|7[2-69]|8[2-49])|5\"]],[\"(\\\\d{3})(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3\",[\"[2689]\"]],[\"(\\\\d{3})(\\\\d{3,4})(\\\\d{5})\",\"$1 $2 $3\",[\"8\"]]],0,0,0,0,0,0,[0,[\"68[57-9]\\\\d{7}|(?:69|94)\\\\d{8}\",[10]]]],\"GT\":[\"502\",\"00\",\"80\\\\d{6}|(?:1\\\\d{3}|[2-7])\\\\d{7}\",[8,11],[[\"(\\\\d{4})(\\\\d{4})\",\"$1 $2\",[\"[2-8]\"]],[\"(\\\\d{4})(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3\",[\"1\"]]],0,0,0,0,0,0,[0,[\"(?:[3-5]\\\\d\\\\d|80[0-4])\\\\d{5}\",[8]]]],\"GU\":[\"1\",\"011\",\"(?:[58]\\\\d\\\\d|671|900)\\\\d{7}\",[10],0,\"1\",0,\"([2-9]\\\\d{6})$|1\",\"671$1\",0,\"671\",[0,[\"671(?:2\\\\d\\\\d|3(?:00|3[39]|4[349]|55|6[26])|4(?:00|56|7[1-9]|8[02-46-9])|5(?:55|6[2-5]|88)|6(?:3[2-578]|4[24-9]|5[34]|78|8[235-9])|7(?:[0479]7|2[0167]|3[45]|8[7-9])|8(?:[2-57-9]8|6[48])|9(?:2[29]|6[79]|7[1279]|8[7-9]|9[78]))\\\\d{4}\"]]],\"GW\":[\"245\",\"00\",\"[49]\\\\d{8}|4\\\\d{6}\",[7,9],[[\"(\\\\d{3})(\\\\d{4})\",\"$1 $2\",[\"40\"]],[\"(\\\\d{3})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"[49]\"]]],0,0,0,0,0,0,[0,[\"9(?:5\\\\d|6[569]|77)\\\\d{6}\",[9]]]],\"GY\":[\"592\",\"001\",\"(?:[2-8]\\\\d{3}|9008)\\\\d{3}\",[7],[[\"(\\\\d{3})(\\\\d{4})\",\"$1 $2\",[\"[2-9]\"]]],0,0,0,0,0,0,[0,[\"510\\\\d{4}|(?:6\\\\d|7[0-5])\\\\d{5}\"]]],\"HK\":[\"852\",\"00(?:30|5[09]|[126-9]?)\",\"8[0-46-9]\\\\d{6,7}|9\\\\d{4,7}|(?:[2-7]|9\\\\d{3})\\\\d{7}\",[5,6,7,8,9,11],[[\"(\\\\d{3})(\\\\d{2,5})\",\"$1 $2\",[\"900\",\"9003\"]],[\"(\\\\d{4})(\\\\d{4})\",\"$1 $2\",[\"[2-7]|8[1-4]|9(?:0[1-9]|[1-8])\"]],[\"(\\\\d{3})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"8\"]],[\"(\\\\d{3})(\\\\d{2})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3 $4\",[\"9\"]]],0,0,0,0,0,0,[0,[\"(?:4(?:44[0-25-9]|6(?:1[0-7]|4[0-57-9]|6[0-4])|74[0-2])|5(?:73[0-6]|95[0-8])|6(?:26[013-8]|66[0-3])|70(?:7[1-8]|8[0-4])|84(?:4[0-2]|8[0-35-9])|9(?:29[013-9]|39[01]|59[0-4]|899))\\\\d{4}|(?:4(?:4[0-35-9]|6[02357-9]|7[05])|5(?:[1-59][0-46-9]|6[0-4689]|7[0-246-9])|6(?:0[1-9]|[13-59]\\\\d|[268][0-57-9]|7[0-79])|70[1-49]|84[0-39]|9(?:0[1-9]|1[02-9]|[2358][0-8]|[467]\\\\d))\\\\d{5}\",[8]]],\"00\"],\"HN\":[\"504\",\"00\",\"8\\\\d{10}|[237-9]\\\\d{7}\",[8,11],[[\"(\\\\d{4})(\\\\d{4})\",\"$1-$2\",[\"[237-9]\"]]],0,0,0,0,0,0,[0,[\"[37-9]\\\\d{7}\",[8]]]],\"HR\":[\"385\",\"00\",\"(?:[24-69]\\\\d|3[0-79])\\\\d{7}|80\\\\d{5,7}|[1-79]\\\\d{7}|6\\\\d{5,6}\",[6,7,8,9],[[\"(\\\\d{2})(\\\\d{2})(\\\\d{2,3})\",\"$1 $2 $3\",[\"6[01]\"],\"0$1\"],[\"(\\\\d{3})(\\\\d{2})(\\\\d{2,3})\",\"$1 $2 $3\",[\"8\"],\"0$1\"],[\"(\\\\d)(\\\\d{4})(\\\\d{3})\",\"$1 $2 $3\",[\"1\"],\"0$1\"],[\"(\\\\d{2})(\\\\d{3})(\\\\d{3,4})\",\"$1 $2 $3\",[\"6|7[245]\"],\"0$1\"],[\"(\\\\d{2})(\\\\d{3})(\\\\d{3,4})\",\"$1 $2 $3\",[\"9\"],\"0$1\"],[\"(\\\\d{2})(\\\\d{3})(\\\\d{3,4})\",\"$1 $2 $3\",[\"[2-57]\"],\"0$1\"],[\"(\\\\d{3})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"8\"],\"0$1\"]],\"0\",0,0,0,0,0,[0,[\"9(?:(?:0[1-9]|[12589]\\\\d)\\\\d\\\\d|7(?:[0679]\\\\d\\\\d|5(?:[01]\\\\d|44|55|77|9[5-7])))\\\\d{4}|98\\\\d{6}\",[8,9]]]],\"HT\":[\"509\",\"00\",\"(?:[2-489]\\\\d|55)\\\\d{6}\",[8],[[\"(\\\\d{2})(\\\\d{2})(\\\\d{4})\",\"$1 $2 $3\",[\"[2-589]\"]]],0,0,0,0,0,0,[0,[\"(?:[34]\\\\d|55)\\\\d{6}\"]]],\"HU\":[\"36\",\"00\",\"[235-7]\\\\d{8}|[1-9]\\\\d{7}\",[8,9],[[\"(\\\\d)(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3\",[\"1\"],\"(06 $1)\"],[\"(\\\\d{2})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"[27][2-9]|3[2-7]|4[24-9]|5[2-79]|6|8[2-57-9]|9[2-69]\"],\"(06 $1)\"],[\"(\\\\d{2})(\\\\d{3})(\\\\d{3,4})\",\"$1 $2 $3\",[\"[2-9]\"],\"06 $1\"]],\"06\",0,0,0,0,0,[0,[\"(?:[257]0|3[01])\\\\d{7}\",[9]]]],\"ID\":[\"62\",\"00[89]\",\"00[1-9]\\\\d{9,14}|(?:[1-36]|8\\\\d{5})\\\\d{6}|00\\\\d{9}|[1-9]\\\\d{8,10}|[2-9]\\\\d{7}\",[7,8,9,10,11,12,13,14,15,16,17],[[\"(\\\\d)(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"15\"]],[\"(\\\\d{2})(\\\\d{5,9})\",\"$1 $2\",[\"2[124]|[36]1\"],\"(0$1)\"],[\"(\\\\d{3})(\\\\d{5,7})\",\"$1 $2\",[\"800\"],\"0$1\"],[\"(\\\\d{3})(\\\\d{5,8})\",\"$1 $2\",[\"[2-79]\"],\"(0$1)\"],[\"(\\\\d{3})(\\\\d{3,4})(\\\\d{3})\",\"$1-$2-$3\",[\"8[1-35-9]\"],\"0$1\"],[\"(\\\\d{3})(\\\\d{6,8})\",\"$1 $2\",[\"1\"],\"0$1\"],[\"(\\\\d{3})(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3\",[\"804\"],\"0$1\"],[\"(\\\\d{3})(\\\\d)(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3 $4\",[\"80\"],\"0$1\"],[\"(\\\\d{3})(\\\\d{4})(\\\\d{4,5})\",\"$1-$2-$3\",[\"8\"],\"0$1\"]],\"0\",0,0,0,0,0,[0,[\"8[1-35-9]\\\\d{7,10}\",[9,10,11,12]]]],\"IE\":[\"353\",\"00\",\"(?:1\\\\d|[2569])\\\\d{6,8}|4\\\\d{6,9}|7\\\\d{8}|8\\\\d{8,9}\",[7,8,9,10],[[\"(\\\\d{2})(\\\\d{5})\",\"$1 $2\",[\"2[24-9]|47|58|6[237-9]|9[35-9]\"],\"(0$1)\"],[\"(\\\\d{3})(\\\\d{5})\",\"$1 $2\",[\"[45]0\"],\"(0$1)\"],[\"(\\\\d)(\\\\d{3,4})(\\\\d{4})\",\"$1 $2 $3\",[\"1\"],\"(0$1)\"],[\"(\\\\d{2})(\\\\d{3})(\\\\d{3,4})\",\"$1 $2 $3\",[\"[2569]|4[1-69]|7[14]\"],\"(0$1)\"],[\"(\\\\d{3})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"70\"],\"0$1\"],[\"(\\\\d{3})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"81\"],\"(0$1)\"],[\"(\\\\d{2})(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3\",[\"[78]\"],\"0$1\"],[\"(\\\\d{4})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"1\"]],[\"(\\\\d{2})(\\\\d{4})(\\\\d{4})\",\"$1 $2 $3\",[\"4\"],\"(0$1)\"],[\"(\\\\d{2})(\\\\d)(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3 $4\",[\"8\"],\"0$1\"]],\"0\",0,0,0,0,0,[0,[\"8(?:22|[35-9]\\\\d)\\\\d{6}\",[9]]]],\"IL\":[\"972\",\"0(?:0|1[2-9])\",\"1\\\\d{6}(?:\\\\d{3,5})?|[57]\\\\d{8}|[1-489]\\\\d{7}\",[7,8,9,10,11,12],[[\"(\\\\d{4})(\\\\d{3})\",\"$1-$2\",[\"125\"]],[\"(\\\\d{4})(\\\\d{2})(\\\\d{2})\",\"$1-$2-$3\",[\"121\"]],[\"(\\\\d)(\\\\d{3})(\\\\d{4})\",\"$1-$2-$3\",[\"[2-489]\"],\"0$1\"],[\"(\\\\d{2})(\\\\d{3})(\\\\d{4})\",\"$1-$2-$3\",[\"[57]\"],\"0$1\"],[\"(\\\\d{4})(\\\\d{3})(\\\\d{3})\",\"$1-$2-$3\",[\"12\"]],[\"(\\\\d{4})(\\\\d{6})\",\"$1-$2\",[\"159\"]],[\"(\\\\d)(\\\\d{3})(\\\\d{3})(\\\\d{3})\",\"$1-$2-$3-$4\",[\"1[7-9]\"]],[\"(\\\\d{3})(\\\\d{1,2})(\\\\d{3})(\\\\d{4})\",\"$1-$2 $3-$4\",[\"15\"]]],\"0\",0,0,0,0,0,[0,[\"55(?:410|57[0-289])\\\\d{4}|5(?:(?:[0-2][02-9]|[36]\\\\d|[49][2-9]|8[3-7])\\\\d|5(?:01|2\\\\d|3[0-3]|4[34]|5[0-25689]|6[6-8]|7[0-267]|8[7-9]|9[1-9]))\\\\d{5}\",[9]]]],\"IM\":[\"44\",\"00\",\"1624\\\\d{6}|(?:[3578]\\\\d|90)\\\\d{8}\",[10],0,\"0\",0,\"([25-8]\\\\d{5})$|0\",\"1624$1\",0,\"74576|(?:16|7[56])24\",[0,[\"76245[06]\\\\d{4}|7(?:4576|[59]24\\\\d|624[0-4689])\\\\d{5}\"]]],\"IN\":[\"91\",\"00\",\"(?:000800|[2-9]\\\\d\\\\d)\\\\d{7}|1\\\\d{7,12}\",[8,9,10,11,12,13],[[\"(\\\\d{8})\",\"$1\",[\"5(?:0|2[23]|3[03]|[67]1|88)\",\"5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|888)\",\"5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|8888)\"],0,1],[\"(\\\\d{4})(\\\\d{4,5})\",\"$1 $2\",[\"180\",\"1800\"],0,1],[\"(\\\\d{3})(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3\",[\"140\"],0,1],[\"(\\\\d{2})(\\\\d{4})(\\\\d{4})\",\"$1 $2 $3\",[\"11|2[02]|33|4[04]|79[1-7]|80[2-46]\",\"11|2[02]|33|4[04]|79(?:[1-6]|7[19])|80(?:[2-4]|6[0-589])\",\"11|2[02]|33|4[04]|79(?:[124-6]|3(?:[02-9]|1[0-24-9])|7(?:1|9[1-6]))|80(?:[2-4]|6[0-589])\"],\"0$1\",1],[\"(\\\\d{3})(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3\",[\"1(?:2[0-249]|3[0-25]|4[145]|[68]|7[1257])|2(?:1[257]|3[013]|4[01]|5[0137]|6[0158]|78|8[1568])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|5[12]|[78]1)|6(?:12|[2-4]1|5[17]|6[13]|80)|7(?:12|3[134]|4[47]|61|88)|8(?:16|2[014]|3[126]|6[136]|7[078]|8[34]|91)|(?:43|59|75)[15]|(?:1[59]|29|67|72)[14]\",\"1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|674|7(?:(?:2[14]|3[34]|5[15])[2-6]|61[346]|88[0-8])|8(?:70[2-6]|84[235-7]|91[3-7])|(?:1(?:29|60|8[06])|261|552|6(?:12|[2-47]1|5[17]|6[13]|80)|7(?:12|31|4[47])|8(?:16|2[014]|3[126]|6[136]|7[78]|83))[2-7]\",\"1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|6(?:12(?:[2-6]|7[0-8])|74[2-7])|7(?:(?:2[14]|5[15])[2-6]|3171|61[346]|88(?:[2-7]|82))|8(?:70[2-6]|84(?:[2356]|7[19])|91(?:[3-6]|7[19]))|73[134][2-6]|(?:74[47]|8(?:16|2[014]|3[126]|6[136]|7[78]|83))(?:[2-6]|7[19])|(?:1(?:29|60|8[06])|261|552|6(?:[2-4]1|5[17]|6[13]|7(?:1|4[0189])|80)|7(?:12|88[01]))[2-7]\"],\"0$1\",1],[\"(\\\\d{4})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2[2457-9]|3[2-5]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1[013-9]|28|3[129]|4[1-35689]|5[29]|6[02-5]|70)|807\",\"1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2(?:[2457]|84|95)|3(?:[2-4]|55)|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1(?:[013-8]|9[6-9])|28[6-8]|3(?:17|2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4|5[0-367])|70[13-7])|807[19]\",\"1(?:[2-479]|5(?:[0236-9]|5[013-9]))|[2-5]|6(?:2(?:84|95)|355|83)|73179|807(?:1|9[1-3])|(?:1552|6(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[124-6])\\\\d|7(?:1(?:[013-8]\\\\d|9[6-9])|28[6-8]|3(?:2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]\\\\d|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4\\\\d|5[0-367])|70[13-7]))[2-7]\"],\"0$1\",1],[\"(\\\\d{5})(\\\\d{5})\",\"$1 $2\",[\"[6-9]\"],\"0$1\",1],[\"(\\\\d{4})(\\\\d{2,4})(\\\\d{4})\",\"$1 $2 $3\",[\"1(?:6|8[06])\",\"1(?:6|8[06]0)\"],0,1],[\"(\\\\d{4})(\\\\d{3})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3 $4\",[\"18\"],0,1]],\"0\",0,0,0,0,0,[0,[\"(?:61279|7(?:887[02-9]|9(?:313|79[07-9]))|8(?:079[04-9]|(?:84|91)7[02-8]))\\\\d{5}|(?:6(?:12|[2-47]1|5[17]|6[13]|80)[0189]|7(?:1(?:2[0189]|9[0-5])|2(?:[14][017-9]|8[0-59])|3(?:2[5-8]|[34][017-9]|9[016-9])|4(?:1[015-9]|[29][89]|39|8[389])|5(?:[15][017-9]|2[04-9]|9[7-9])|6(?:0[0-47]|1[0-257-9]|2[0-4]|3[19]|5[4589])|70[0289]|88[089]|97[02-8])|8(?:0(?:6[67]|7[02-8])|70[017-9]|84[01489]|91[0-289]))\\\\d{6}|(?:7(?:31|4[47])|8(?:16|2[014]|3[126]|6[136]|7[78]|83))(?:[0189]\\\\d|7[02-8])\\\\d{5}|(?:6(?:[09]\\\\d|1[04679]|2[03689]|3[05-9]|4[0489]|50|6[069]|7[07]|8[7-9])|7(?:0\\\\d|2[0235-79]|3[05-8]|40|5[0346-8]|6[6-9]|7[1-9]|8[0-79]|9[089])|8(?:0[01589]|1[0-57-9]|2[235-9]|3[03-57-9]|[45]\\\\d|6[02457-9]|7[1-69]|8[0-25-9]|9[02-9])|9\\\\d\\\\d)\\\\d{7}|(?:6(?:(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578]|8[124-6])\\\\d|7(?:[235689]\\\\d|4[0189]))|7(?:1(?:[013-8]\\\\d|9[6-9])|28[6-8]|3(?:2[0-49]|9[2-5])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]\\\\d|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4\\\\d|5[0-367])|70[13-7]|881))[0189]\\\\d{5}\",[10]]]],\"IO\":[\"246\",\"00\",\"3\\\\d{6}\",[7],[[\"(\\\\d{3})(\\\\d{4})\",\"$1 $2\",[\"3\"]]],0,0,0,0,0,0,[0,[\"38\\\\d{5}\"]]],\"IQ\":[\"964\",\"00\",\"(?:1|7\\\\d\\\\d)\\\\d{7}|[2-6]\\\\d{7,8}\",[8,9,10],[[\"(\\\\d)(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3\",[\"1\"],\"0$1\"],[\"(\\\\d{2})(\\\\d{3})(\\\\d{3,4})\",\"$1 $2 $3\",[\"[2-6]\"],\"0$1\"],[\"(\\\\d{3})(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3\",[\"7\"],\"0$1\"]],\"0\",0,0,0,0,0,[0,[\"7[3-9]\\\\d{8}\",[10]]]],\"IR\":[\"98\",\"00\",\"[1-9]\\\\d{9}|(?:[1-8]\\\\d\\\\d|9)\\\\d{3,4}\",[4,5,6,7,10],[[\"(\\\\d{4,5})\",\"$1\",[\"96\"],\"0$1\"],[\"(\\\\d{2})(\\\\d{4,5})\",\"$1 $2\",[\"(?:1[137]|2[13-68]|3[1458]|4[145]|5[1468]|6[16]|7[1467]|8[13467])[12689]\"],\"0$1\"],[\"(\\\\d{3})(\\\\d{3})(\\\\d{3,4})\",\"$1 $2 $3\",[\"9\"],\"0$1\"],[\"(\\\\d{2})(\\\\d{4})(\\\\d{4})\",\"$1 $2 $3\",[\"[1-8]\"],\"0$1\"]],\"0\",0,0,0,0,0,[0,[\"9(?:(?:0(?:[0-35]\\\\d|4[4-6])|(?:[13]\\\\d|2[0-3])\\\\d)\\\\d|9(?:[0-46]\\\\d\\\\d|5[15]0|8(?:[12]\\\\d|88)|9(?:0[0-3]|[19]\\\\d|21|69|77|8[7-9])))\\\\d{5}\",[10]]]],\"IS\":[\"354\",\"00|1(?:0(?:01|[12]0)|100)\",\"(?:38\\\\d|[4-9])\\\\d{6}\",[7,9],[[\"(\\\\d{3})(\\\\d{4})\",\"$1 $2\",[\"[4-9]\"]],[\"(\\\\d{3})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"3\"]]],0,0,0,0,0,0,[0,[\"(?:38[589]\\\\d\\\\d|6(?:1[1-8]|2[0-6]|3[026-9]|4[014679]|5[0159]|6[0-69]|70|8[06-8]|9\\\\d)|7(?:5[057]|[6-9]\\\\d)|8(?:2[0-59]|[3-69]\\\\d|8[238]))\\\\d{4}\"]],\"00\"],\"IT\":[\"39\",\"00\",\"0\\\\d{5,10}|1\\\\d{8,10}|3(?:[0-8]\\\\d{7,10}|9\\\\d{7,8})|(?:43|55|70)\\\\d{8}|8\\\\d{5}(?:\\\\d{2,4})?\",[6,7,8,9,10,11,12],[[\"(\\\\d{2})(\\\\d{4,6})\",\"$1 $2\",[\"0[26]\"]],[\"(\\\\d{3})(\\\\d{3,6})\",\"$1 $2\",[\"0[13-57-9][0159]|8(?:03|4[17]|9[2-5])\",\"0[13-57-9][0159]|8(?:03|4[17]|9(?:2|3[04]|[45][0-4]))\"]],[\"(\\\\d{4})(\\\\d{2,6})\",\"$1 $2\",[\"0(?:[13-579][2-46-8]|8[236-8])\"]],[\"(\\\\d{4})(\\\\d{4})\",\"$1 $2\",[\"894\"]],[\"(\\\\d{2})(\\\\d{3,4})(\\\\d{4})\",\"$1 $2 $3\",[\"0[26]|5\"]],[\"(\\\\d{3})(\\\\d{3})(\\\\d{3,4})\",\"$1 $2 $3\",[\"1(?:44|[679])|[378]|43\"]],[\"(\\\\d{3})(\\\\d{3,4})(\\\\d{4})\",\"$1 $2 $3\",[\"0[13-57-9][0159]|14\"]],[\"(\\\\d{2})(\\\\d{4})(\\\\d{5})\",\"$1 $2 $3\",[\"0[26]\"]],[\"(\\\\d{4})(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3\",[\"0\"]],[\"(\\\\d{3})(\\\\d{4})(\\\\d{4,5})\",\"$1 $2 $3\",[\"3\"]]],0,0,0,0,0,0,[0,[\"3[2-9]\\\\d{7,8}|(?:31|43)\\\\d{8}\",[9,10]]]],\"JE\":[\"44\",\"00\",\"1534\\\\d{6}|(?:[3578]\\\\d|90)\\\\d{8}\",[10],0,\"0\",0,\"([0-24-8]\\\\d{5})$|0\",\"1534$1\",0,0,[0,[\"7(?:(?:(?:50|82)9|937)\\\\d|7(?:00[378]|97\\\\d))\\\\d{5}\"]]],\"JM\":[\"1\",\"011\",\"(?:[58]\\\\d\\\\d|658|900)\\\\d{7}\",[10],0,\"1\",0,0,0,0,\"658|876\",[0,[\"(?:658295|876(?:2(?:0[1-9]|[13-9]\\\\d|2[013-9])|[348]\\\\d\\\\d|5(?:0[1-9]|[1-9]\\\\d)|6(?:4[89]|6[67])|7(?:0[07]|7\\\\d|8[1-47-9]|9[0-36-9])|9(?:[01]9|9[0579])))\\\\d{4}\"]]],\"JO\":[\"962\",\"00\",\"(?:(?:[2689]|7\\\\d)\\\\d|32|53)\\\\d{6}\",[8,9],[[\"(\\\\d)(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3\",[\"[2356]|87\"],\"(0$1)\"],[\"(\\\\d{3})(\\\\d{5,6})\",\"$1 $2\",[\"[89]\"],\"0$1\"],[\"(\\\\d{2})(\\\\d{7})\",\"$1 $2\",[\"70\"],\"0$1\"],[\"(\\\\d)(\\\\d{4})(\\\\d{4})\",\"$1 $2 $3\",[\"7\"],\"0$1\"]],\"0\",0,0,0,0,0,[0,[\"7(?:[78][0-25-9]|9\\\\d)\\\\d{6}\",[9]]]],\"JP\":[\"81\",\"010\",\"00[1-9]\\\\d{6,14}|[257-9]\\\\d{9}|(?:00|[1-9]\\\\d\\\\d)\\\\d{6}\",[8,9,10,11,12,13,14,15,16,17],[[\"(\\\\d{3})(\\\\d{3})(\\\\d{3})\",\"$1-$2-$3\",[\"(?:12|57|99)0\"],\"0$1\"],[\"(\\\\d{4})(\\\\d)(\\\\d{4})\",\"$1-$2-$3\",[\"1(?:26|3[79]|4[56]|5[4-68]|6[3-5])|499|5(?:76|97)|746|8(?:3[89]|47|51)|9(?:80|9[16])\",\"1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:76|97)9|7468|8(?:3(?:8[7-9]|96)|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]\",\"1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:769|979[2-69])|7468|8(?:3(?:8[7-9]|96[2457-9])|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]\"],\"0$1\"],[\"(\\\\d{2})(\\\\d{3})(\\\\d{4})\",\"$1-$2-$3\",[\"60\"],\"0$1\"],[\"(\\\\d)(\\\\d{4})(\\\\d{4})\",\"$1-$2-$3\",[\"[36]|4(?:2[09]|7[01])\",\"[36]|4(?:2(?:0|9[02-69])|7(?:0[019]|1))\"],\"0$1\"],[\"(\\\\d{2})(\\\\d{3})(\\\\d{4})\",\"$1-$2-$3\",[\"1(?:1|5[45]|77|88|9[69])|2(?:2[1-37]|3[0-269]|4[59]|5|6[24]|7[1-358]|8[1369]|9[0-38])|4(?:[28][1-9]|3[0-57]|[45]|6[248]|7[2-579]|9[29])|5(?:2|3[0459]|4[0-369]|5[29]|8[02389]|9[0-389])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9[2-6])|8(?:2[124589]|3[26-9]|49|51|6|7[0-468]|8[68]|9[019])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9[1-489])\",\"1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2(?:[127]|3[014-9])|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9[19])|62|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|8[1-9]|9[29])|5(?:2|3(?:[045]|9[0-8])|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0-2469])|3(?:[29]|60)|49|51|6(?:[0-24]|36|5[0-3589]|7[23]|9[01459])|7[0-468]|8[68])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9(?:[1289]|3[34]|4[0178]))|(?:264|837)[016-9]|2(?:57|93)[015-9]|(?:25[0468]|422|838)[01]|(?:47[59]|59[89]|8(?:6[68]|9))[019]\",\"1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2[127]|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9(?:17|99))|6(?:2|4[016-9])|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|9[29])|5(?:2|3(?:[045]|9(?:[0-58]|6[4-9]|7[0-35689]))|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0169])|3(?:[29]|60|7(?:[017-9]|6[6-8]))|49|51|6(?:[0-24]|36[2-57-9]|5(?:[0-389]|5[23])|6(?:[01]|9[178])|7(?:2[2-468]|3[78])|9[0145])|7[0-468]|8[68])|9(?:4[15]|5[138]|7[156]|8[189]|9(?:[1289]|3(?:31|4[357])|4[0178]))|(?:8294|96)[1-3]|2(?:57|93)[015-9]|(?:223|8699)[014-9]|(?:25[0468]|422|838)[01]|(?:48|8292|9[23])[1-9]|(?:47[59]|59[89]|8(?:68|9))[019]\"],\"0$1\"],[\"(\\\\d{3})(\\\\d{2})(\\\\d{4})\",\"$1-$2-$3\",[\"[14]|[289][2-9]|5[3-9]|7[2-4679]\"],\"0$1\"],[\"(\\\\d{3})(\\\\d{3})(\\\\d{4})\",\"$1-$2-$3\",[\"800\"],\"0$1\"],[\"(\\\\d{2})(\\\\d{4})(\\\\d{4})\",\"$1-$2-$3\",[\"[257-9]\"],\"0$1\"]],\"0\",0,\"(000[259]\\\\d{6})$|(?:(?:003768)0?)|0\",\"$1\",0,0,[0,[\"[7-9]0[1-9]\\\\d{7}\",[10]]]],\"KE\":[\"254\",\"000\",\"(?:[17]\\\\d\\\\d|900)\\\\d{6}|(?:2|80)0\\\\d{6,7}|[4-6]\\\\d{6,8}\",[7,8,9,10],[[\"(\\\\d{2})(\\\\d{5,7})\",\"$1 $2\",[\"[24-6]\"],\"0$1\"],[\"(\\\\d{3})(\\\\d{6})\",\"$1 $2\",[\"[17]\"],\"0$1\"],[\"(\\\\d{3})(\\\\d{3})(\\\\d{3,4})\",\"$1 $2 $3\",[\"[89]\"],\"0$1\"]],\"0\",0,0,0,0,0,[0,[\"(?:1(?:0[0-8]|1[0-7]|2[014]|30)|7\\\\d\\\\d)\\\\d{6}\",[9]]]],\"KG\":[\"996\",\"00\",\"8\\\\d{9}|[235-9]\\\\d{8}\",[9,10],[[\"(\\\\d{4})(\\\\d{5})\",\"$1 $2\",[\"3(?:1[346]|[24-79])\"],\"0$1\"],[\"(\\\\d{3})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"[235-79]|88\"],\"0$1\"],[\"(\\\\d{3})(\\\\d{3})(\\\\d)(\\\\d{2,3})\",\"$1 $2 $3 $4\",[\"8\"],\"0$1\"]],\"0\",0,0,0,0,0,[0,[\"312(?:58\\\\d|973)\\\\d{3}|(?:2(?:0[0-35]|2\\\\d)|5[0-24-7]\\\\d|600|7(?:[07]\\\\d|55)|88[08]|9(?:12|9[05-9]))\\\\d{6}\",[9]]]],\"KH\":[\"855\",\"00[14-9]\",\"1\\\\d{9}|[1-9]\\\\d{7,8}\",[8,9,10],[[\"(\\\\d{2})(\\\\d{3})(\\\\d{3,4})\",\"$1 $2 $3\",[\"[1-9]\"],\"0$1\"],[\"(\\\\d{4})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"1\"]]],\"0\",0,0,0,0,0,[0,[\"(?:(?:1[28]|3[18]|9[67])\\\\d|6[016-9]|7(?:[07-9]|[16]\\\\d)|8(?:[013-79]|8\\\\d))\\\\d{6}|(?:1\\\\d|9[0-57-9])\\\\d{6}|(?:2[3-6]|3[2-6]|4[2-4]|[5-7][2-5])48\\\\d{5}\",[8,9]]]],\"KI\":[\"686\",\"00\",\"(?:[37]\\\\d|6[0-79])\\\\d{6}|(?:[2-48]\\\\d|50)\\\\d{3}\",[5,8],0,\"0\",0,0,0,0,0,[0,[\"(?:6200[01]|7(?:310[1-9]|5(?:02[03-9]|12[0-47-9]|22[0-7]|[34](?:0[1-9]|8[02-9])|50[1-9])))\\\\d{3}|(?:63\\\\d\\\\d|7(?:(?:[0146-9]\\\\d|2[0-689])\\\\d|3(?:[02-9]\\\\d|1[1-9])|5(?:[0-2][013-9]|[34][1-79]|5[1-9]|[6-9]\\\\d)))\\\\d{4}\",[8]]]],\"KM\":[\"269\",\"00\",\"[3478]\\\\d{6}\",[7],[[\"(\\\\d{3})(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3\",[\"[3478]\"]]],0,0,0,0,0,0,[0,[\"[34]\\\\d{6}\"]]],\"KN\":[\"1\",\"011\",\"(?:[58]\\\\d\\\\d|900)\\\\d{7}\",[10],0,\"1\",0,\"([2-7]\\\\d{6})$|1\",\"869$1\",0,\"869\",[0,[\"869(?:48[89]|55[6-8]|66\\\\d|76[02-7])\\\\d{4}\"]]],\"KP\":[\"850\",\"00|99\",\"85\\\\d{6}|(?:19\\\\d|[2-7])\\\\d{7}\",[8,10],[[\"(\\\\d{2})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"8\"],\"0$1\"],[\"(\\\\d)(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3\",[\"[2-7]\"],\"0$1\"],[\"(\\\\d{3})(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3\",[\"1\"],\"0$1\"]],\"0\",0,0,0,0,0,[0,[\"19[1-3]\\\\d{7}\",[10]]]],\"KR\":[\"82\",\"00(?:[125689]|3(?:[46]5|91)|7(?:00|27|3|55|6[126]))\",\"00[1-9]\\\\d{8,11}|(?:[12]|5\\\\d{3})\\\\d{7}|[13-6]\\\\d{9}|(?:[1-6]\\\\d|80)\\\\d{7}|[3-6]\\\\d{4,5}|(?:00|7)0\\\\d{8}\",[5,6,8,9,10,11,12,13,14],[[\"(\\\\d{2})(\\\\d{3,4})\",\"$1-$2\",[\"(?:3[1-3]|[46][1-4]|5[1-5])1\"],\"0$1\"],[\"(\\\\d{4})(\\\\d{4})\",\"$1-$2\",[\"1\"]],[\"(\\\\d)(\\\\d{3,4})(\\\\d{4})\",\"$1-$2-$3\",[\"2\"],\"0$1\"],[\"(\\\\d{2})(\\\\d{3})(\\\\d{4})\",\"$1-$2-$3\",[\"[36]0|8\"],\"0$1\"],[\"(\\\\d{2})(\\\\d{3,4})(\\\\d{4})\",\"$1-$2-$3\",[\"[1346]|5[1-5]\"],\"0$1\"],[\"(\\\\d{2})(\\\\d{4})(\\\\d{4})\",\"$1-$2-$3\",[\"[57]\"],\"0$1\"],[\"(\\\\d{2})(\\\\d{5})(\\\\d{4})\",\"$1-$2-$3\",[\"5\"],\"0$1\"]],\"0\",0,\"0(8(?:[1-46-8]|5\\\\d\\\\d))?\",0,0,0,[0,[\"1(?:05(?:[0-8]\\\\d|9[0-6])|22[13]\\\\d)\\\\d{4,5}|1(?:0[0-46-9]|[16-9]\\\\d|2[013-9])\\\\d{6,7}\",[9,10]]]],\"KW\":[\"965\",\"00\",\"18\\\\d{5}|(?:[2569]\\\\d|41)\\\\d{6}\",[7,8],[[\"(\\\\d{4})(\\\\d{3,4})\",\"$1 $2\",[\"[169]|2(?:[235]|4[1-35-9])|52\"]],[\"(\\\\d{3})(\\\\d{5})\",\"$1 $2\",[\"[245]\"]]],0,0,0,0,0,0,[0,[\"(?:41\\\\d\\\\d|5(?:(?:[05]\\\\d|1[0-7]|6[56])\\\\d|2(?:22|5[25])|7(?:55|77)|88[58])|6(?:(?:0[034679]|5[015-9]|6\\\\d)\\\\d|1(?:00|11|6[16])|2[26]2|3[36]3|4[46]4|7(?:0[013-9]|[67]\\\\d)|8[68]8|9(?:[069]\\\\d|3[039]))|9(?:(?:[04679]\\\\d|8[057-9])\\\\d|1(?:1[01]|99)|2(?:00|2\\\\d)|3(?:00|3[03])|5(?:00|5\\\\d)))\\\\d{4}\",[8]]]],\"KY\":[\"1\",\"011\",\"(?:345|[58]\\\\d\\\\d|900)\\\\d{7}\",[10],0,\"1\",0,\"([2-9]\\\\d{6})$|1\",\"345$1\",0,\"345\",[0,[\"345(?:32[1-9]|42[0-4]|5(?:1[67]|2[5-79]|4[6-9]|50|76)|649|82[56]|9(?:1[679]|2[2-9]|3[06-9]|90))\\\\d{4}\"]]],\"KZ\":[\"7\",\"810\",\"(?:33622|8\\\\d{8})\\\\d{5}|[78]\\\\d{9}\",[10,14],0,\"8\",0,0,0,0,\"33|7\",[0,[\"7(?:0[0-25-8]|47|6[0-4]|7[15-8]|85)\\\\d{7}\",[10]]],\"8~10\"],\"LA\":[\"856\",\"00\",\"[23]\\\\d{9}|3\\\\d{8}|(?:[235-8]\\\\d|41)\\\\d{6}\",[8,9,10],[[\"(\\\\d{2})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"2[13]|3[14]|[4-8]\"],\"0$1\"],[\"(\\\\d{2})(\\\\d{2})(\\\\d{2})(\\\\d{3})\",\"$1 $2 $3 $4\",[\"30[0135-9]\"],\"0$1\"],[\"(\\\\d{2})(\\\\d{2})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3 $4\",[\"[23]\"],\"0$1\"]],\"0\",0,0,0,0,0,[0,[\"208[78]\\\\d{6}|(?:20[23579]|30[24])\\\\d{7}\",[10]]]],\"LB\":[\"961\",\"00\",\"[27-9]\\\\d{7}|[13-9]\\\\d{6}\",[7,8],[[\"(\\\\d)(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"[13-69]|7(?:[2-57]|62|8[0-7]|9[04-9])|8[02-9]\"],\"0$1\"],[\"(\\\\d{2})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"[27-9]\"]]],\"0\",0,0,0,0,0,[0,[\"793(?:[01]\\\\d|2[0-4])\\\\d{3}|(?:(?:3|81)\\\\d|7(?:[01]\\\\d|6[013-9]|8[89]|9[12]))\\\\d{5}\"]]],\"LC\":[\"1\",\"011\",\"(?:[58]\\\\d\\\\d|758|900)\\\\d{7}\",[10],0,\"1\",0,\"([2-8]\\\\d{6})$|1\",\"758$1\",0,\"758\",[0,[\"758(?:28[4-7]|384|4(?:6[01]|8[4-9])|5(?:1[89]|20|84)|7(?:1[2-9]|2\\\\d|3[0-3])|812)\\\\d{4}\"]]],\"LI\":[\"423\",\"00\",\"[68]\\\\d{8}|(?:[2378]\\\\d|90)\\\\d{5}\",[7,9],[[\"(\\\\d{3})(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3\",[\"[2379]|8(?:0[09]|7)\",\"[2379]|8(?:0(?:02|9)|7)\"]],[\"(\\\\d{3})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"8\"]],[\"(\\\\d{2})(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3\",[\"69\"]],[\"(\\\\d{3})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"6\"]]],\"0\",0,\"(1001)|0\",0,0,0,[0,[\"(?:6(?:(?:4[5-9]|5[0-469])\\\\d|6(?:[024-6]\\\\d|[17]0|3[7-9]))\\\\d|7(?:[37-9]\\\\d|42|56))\\\\d{4}\"]]],\"LK\":[\"94\",\"00\",\"[1-9]\\\\d{8}\",[9],[[\"(\\\\d{2})(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3\",[\"7\"],\"0$1\"],[\"(\\\\d{3})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"[1-689]\"],\"0$1\"]],\"0\",0,0,0,0,0,[0,[\"7(?:[0-25-8]\\\\d|4[0-4])\\\\d{6}\"]]],\"LR\":[\"231\",\"00\",\"(?:[245]\\\\d|33|77|88)\\\\d{7}|(?:2\\\\d|[4-6])\\\\d{6}\",[7,8,9],[[\"(\\\\d)(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"4[67]|[56]\"],\"0$1\"],[\"(\\\\d{2})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"2\"],\"0$1\"],[\"(\\\\d{2})(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3\",[\"[2-578]\"],\"0$1\"]],\"0\",0,0,0,0,0,[0,[\"(?:(?:(?:22|33)0|555|(?:77|88)\\\\d)\\\\d|4(?:240|[67]))\\\\d{5}|[56]\\\\d{6}\",[7,9]]]],\"LS\":[\"266\",\"00\",\"(?:[256]\\\\d\\\\d|800)\\\\d{5}\",[8],[[\"(\\\\d{4})(\\\\d{4})\",\"$1 $2\",[\"[2568]\"]]],0,0,0,0,0,0,[0,[\"[56]\\\\d{7}\"]]],\"LT\":[\"370\",\"00\",\"(?:[3469]\\\\d|52|[78]0)\\\\d{6}\",[8],[[\"(\\\\d)(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3\",[\"52[0-7]\"],\"(0-$1)\",1],[\"(\\\\d{3})(\\\\d{2})(\\\\d{3})\",\"$1 $2 $3\",[\"[7-9]\"],\"0 $1\",1],[\"(\\\\d{2})(\\\\d{6})\",\"$1 $2\",[\"37|4(?:[15]|6[1-8])\"],\"(0-$1)\",1],[\"(\\\\d{3})(\\\\d{5})\",\"$1 $2\",[\"[3-6]\"],\"(0-$1)\",1]],\"0\",0,\"[08]\",0,0,0,[0,[\"6\\\\d{7}\"]]],\"LU\":[\"352\",\"00\",\"35[013-9]\\\\d{4,8}|6\\\\d{8}|35\\\\d{2,4}|(?:[2457-9]\\\\d|3[0-46-9])\\\\d{2,9}\",[4,5,6,7,8,9,10,11],[[\"(\\\\d{2})(\\\\d{3})\",\"$1 $2\",[\"2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])\"]],[\"(\\\\d{2})(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3\",[\"2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])\"]],[\"(\\\\d{2})(\\\\d{2})(\\\\d{3})\",\"$1 $2 $3\",[\"20[2-689]\"]],[\"(\\\\d{2})(\\\\d{2})(\\\\d{2})(\\\\d{1,2})\",\"$1 $2 $3 $4\",[\"2(?:[0367]|4[3-8])\"]],[\"(\\\\d{3})(\\\\d{2})(\\\\d{3})\",\"$1 $2 $3\",[\"80[01]|90[015]\"]],[\"(\\\\d{2})(\\\\d{2})(\\\\d{2})(\\\\d{3})\",\"$1 $2 $3 $4\",[\"20\"]],[\"(\\\\d{3})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"6\"]],[\"(\\\\d{2})(\\\\d{2})(\\\\d{2})(\\\\d{2})(\\\\d{1,2})\",\"$1 $2 $3 $4 $5\",[\"2(?:[0367]|4[3-8])\"]],[\"(\\\\d{2})(\\\\d{2})(\\\\d{2})(\\\\d{1,5})\",\"$1 $2 $3 $4\",[\"[3-57]|8[13-9]|9(?:0[89]|[2-579])|(?:2|80)[2-9]\"]]],0,0,\"(15(?:0[06]|1[12]|[35]5|4[04]|6[26]|77|88|99)\\\\d)\",0,0,0,[0,[\"6(?:[269][18]|5[1568]|7[189]|81)\\\\d{6}\",[9]]]],\"LV\":[\"371\",\"00\",\"(?:[268]\\\\d|90)\\\\d{6}\",[8],[[\"(\\\\d{2})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"[269]|8[01]\"]]],0,0,0,0,0,0,[0,[\"23(?:23[0-57-9]|33[0238])\\\\d{3}|2(?:[0-24-9]\\\\d\\\\d|3(?:0[07]|[14-9]\\\\d|2[024-9]|3[0-24-9]))\\\\d{4}\"]]],\"LY\":[\"218\",\"00\",\"[2-9]\\\\d{8}\",[9],[[\"(\\\\d{2})(\\\\d{7})\",\"$1-$2\",[\"[2-9]\"],\"0$1\"]],\"0\",0,0,0,0,0,[0,[\"9[1-6]\\\\d{7}\"]]],\"MA\":[\"212\",\"00\",\"[5-8]\\\\d{8}\",[9],[[\"(\\\\d{3})(\\\\d{2})(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3 $4\",[\"5[45]\"],\"0$1\"],[\"(\\\\d{4})(\\\\d{5})\",\"$1-$2\",[\"5(?:2[2-46-9]|3[3-9]|9)|8(?:0[89]|92)\"],\"0$1\"],[\"(\\\\d{2})(\\\\d{7})\",\"$1-$2\",[\"8\"],\"0$1\"],[\"(\\\\d{3})(\\\\d{6})\",\"$1-$2\",[\"[5-7]\"],\"0$1\"]],\"0\",0,0,0,0,0,[0,[\"(?:6(?:[0-79]\\\\d|8[0-247-9])|7(?:[0167]\\\\d|2[0-4]|5[01]|8[0-3]))\\\\d{6}\"]]],\"MC\":[\"377\",\"00\",\"(?:[3489]|6\\\\d)\\\\d{7}\",[8,9],[[\"(\\\\d{2})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"4\"],\"0$1\"],[\"(\\\\d{2})(\\\\d{2})(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3 $4\",[\"[389]\"]],[\"(\\\\d)(\\\\d{2})(\\\\d{2})(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3 $4 $5\",[\"6\"],\"0$1\"]],\"0\",0,0,0,0,0,[0,[\"4(?:[469]\\\\d|5[1-9])\\\\d{5}|(?:3|6\\\\d)\\\\d{7}\"]]],\"MD\":[\"373\",\"00\",\"(?:[235-7]\\\\d|[89]0)\\\\d{6}\",[8],[[\"(\\\\d{3})(\\\\d{5})\",\"$1 $2\",[\"[89]\"],\"0$1\"],[\"(\\\\d{2})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"22|3\"],\"0$1\"],[\"(\\\\d{3})(\\\\d{2})(\\\\d{3})\",\"$1 $2 $3\",[\"[25-7]\"],\"0$1\"]],\"0\",0,0,0,0,0,[0,[\"562\\\\d{5}|(?:6\\\\d|7[16-9])\\\\d{6}\"]]],\"ME\":[\"382\",\"00\",\"(?:20|[3-79]\\\\d)\\\\d{6}|80\\\\d{6,7}\",[8,9],[[\"(\\\\d{2})(\\\\d{3})(\\\\d{3,4})\",\"$1 $2 $3\",[\"[2-9]\"],\"0$1\"]],\"0\",0,0,0,0,0,[0,[\"6(?:[07-9]\\\\d|3[024]|6[0-25])\\\\d{5}\",[8]]]],\"MF\":[\"590\",\"00\",\"590\\\\d{6}|(?:69|80|9\\\\d)\\\\d{7}\",[9],0,\"0\",0,0,0,0,0,[0,[\"69(?:0\\\\d\\\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\\\d)|6(?:1[016-9]|5[0-4]|[67]\\\\d))\\\\d{4}\"]]],\"MG\":[\"261\",\"00\",\"[23]\\\\d{8}\",[9],[[\"(\\\\d{2})(\\\\d{2})(\\\\d{3})(\\\\d{2})\",\"$1 $2 $3 $4\",[\"[23]\"],\"0$1\"]],\"0\",0,\"([24-9]\\\\d{6})$|0\",\"20$1\",0,0,[0,[\"3[2-47-9]\\\\d{7}\"]]],\"MH\":[\"692\",\"011\",\"329\\\\d{4}|(?:[256]\\\\d|45)\\\\d{5}\",[7],[[\"(\\\\d{3})(\\\\d{4})\",\"$1-$2\",[\"[2-6]\"]]],\"1\",0,0,0,0,0,[0,[\"(?:(?:23|54)5|329|45[35-8])\\\\d{4}\"]]],\"MK\":[\"389\",\"00\",\"[2-578]\\\\d{7}\",[8],[[\"(\\\\d)(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3\",[\"2|34[47]|4(?:[37]7|5[47]|64)\"],\"0$1\"],[\"(\\\\d{2})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"[347]\"],\"0$1\"],[\"(\\\\d{3})(\\\\d)(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3 $4\",[\"[58]\"],\"0$1\"]],\"0\",0,0,0,0,0,[0,[\"7(?:3555|(?:474|9[019]7)7)\\\\d{3}|7(?:[0-25-8]\\\\d\\\\d|3(?:[1-48]\\\\d|6[01]|7[01578])|4(?:2\\\\d|60|7[01578])|9(?:[2-4]\\\\d|5[01]|7[015]))\\\\d{4}\"]]],\"ML\":[\"223\",\"00\",\"[24-9]\\\\d{7}\",[8],[[\"(\\\\d{2})(\\\\d{2})(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3 $4\",[\"[24-9]\"]]],0,0,0,0,0,0,[0,[\"2(?:0(?:01|79)|17\\\\d)\\\\d{4}|(?:5[01]|[679]\\\\d|8[2-49])\\\\d{6}\"]]],\"MM\":[\"95\",\"00\",\"1\\\\d{5,7}|95\\\\d{6}|(?:[4-7]|9[0-46-9])\\\\d{6,8}|(?:2|8\\\\d)\\\\d{5,8}\",[6,7,8,9,10],[[\"(\\\\d)(\\\\d{2})(\\\\d{3})\",\"$1 $2 $3\",[\"16|2\"],\"0$1\"],[\"(\\\\d{2})(\\\\d{2})(\\\\d{3})\",\"$1 $2 $3\",[\"4(?:[2-46]|5[3-5])|5|6(?:[1-689]|7[235-7])|7(?:[0-4]|5[2-7])|8[1-5]|(?:60|86)[23]\"],\"0$1\"],[\"(\\\\d)(\\\\d{3})(\\\\d{3,4})\",\"$1 $2 $3\",[\"[12]|452|678|86\",\"[12]|452|6788|86\"],\"0$1\"],[\"(\\\\d{2})(\\\\d{3})(\\\\d{3,4})\",\"$1 $2 $3\",[\"[4-7]|8[1-35]\"],\"0$1\"],[\"(\\\\d)(\\\\d{3})(\\\\d{4,6})\",\"$1 $2 $3\",[\"9(?:2[0-4]|[35-9]|4[137-9])\"],\"0$1\"],[\"(\\\\d)(\\\\d{4})(\\\\d{4})\",\"$1 $2 $3\",[\"2\"],\"0$1\"],[\"(\\\\d{3})(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3\",[\"8\"],\"0$1\"],[\"(\\\\d)(\\\\d{3})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3 $4\",[\"92\"],\"0$1\"],[\"(\\\\d)(\\\\d{5})(\\\\d{4})\",\"$1 $2 $3\",[\"9\"],\"0$1\"]],\"0\",0,0,0,0,0,[0,[\"(?:17[01]|9(?:2(?:[0-4]|[56]\\\\d\\\\d)|(?:3(?:[0-36]|4\\\\d)|(?:6\\\\d|8[89]|9[4-8])\\\\d|7(?:3|40|[5-9]\\\\d))\\\\d|4(?:(?:[0245]\\\\d|[1379])\\\\d|88)|5[0-6])\\\\d)\\\\d{4}|9[69]1\\\\d{6}|9(?:[68]\\\\d|9[089])\\\\d{5}\",[7,8,9,10]]]],\"MN\":[\"976\",\"001\",\"[12]\\\\d{7,9}|[5-9]\\\\d{7}\",[8,9,10],[[\"(\\\\d{2})(\\\\d{2})(\\\\d{4})\",\"$1 $2 $3\",[\"[12]1\"],\"0$1\"],[\"(\\\\d{4})(\\\\d{4})\",\"$1 $2\",[\"[5-9]\"]],[\"(\\\\d{3})(\\\\d{5,6})\",\"$1 $2\",[\"[12]2[1-3]\"],\"0$1\"],[\"(\\\\d{4})(\\\\d{5,6})\",\"$1 $2\",[\"[12](?:27|3[2-8]|4[2-68]|5[1-4689])\",\"[12](?:27|3[2-8]|4[2-68]|5[1-4689])[0-3]\"],\"0$1\"],[\"(\\\\d{5})(\\\\d{4,5})\",\"$1 $2\",[\"[12]\"],\"0$1\"]],\"0\",0,0,0,0,0,[0,[\"(?:83[01]|92[039])\\\\d{5}|(?:5[05]|6[069]|8[015689]|9[013-9])\\\\d{6}\",[8]]]],\"MO\":[\"853\",\"00\",\"0800\\\\d{3}|(?:28|[68]\\\\d)\\\\d{6}\",[7,8],[[\"(\\\\d{4})(\\\\d{3})\",\"$1 $2\",[\"0\"]],[\"(\\\\d{4})(\\\\d{4})\",\"$1 $2\",[\"[268]\"]]],0,0,0,0,0,0,[0,[\"6800[0-79]\\\\d{3}|6(?:[235]\\\\d\\\\d|6(?:0[0-5]|[1-9]\\\\d)|8(?:0[1-9]|[14-8]\\\\d|2[5-9]|[39][0-4]))\\\\d{4}\",[8]]]],\"MP\":[\"1\",\"011\",\"[58]\\\\d{9}|(?:67|90)0\\\\d{7}\",[10],0,\"1\",0,\"([2-9]\\\\d{6})$|1\",\"670$1\",0,\"670\",[0,[\"670(?:2(?:3[3-7]|56|8[4-8])|32[1-38]|4(?:33|8[348])|5(?:32|55|88)|6(?:64|70|82)|78[3589]|8[3-9]8|989)\\\\d{4}\"]]],\"MQ\":[\"596\",\"00\",\"596\\\\d{6}|(?:69|80|9\\\\d)\\\\d{7}\",[9],[[\"(\\\\d{3})(\\\\d{2})(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3 $4\",[\"[569]\"],\"0$1\"],[\"(\\\\d{3})(\\\\d{2})(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3 $4\",[\"8\"],\"0$1\"]],\"0\",0,0,0,0,0,[0,[\"69(?:6(?:[0-46-9]\\\\d|5[0-6])|727)\\\\d{4}\"]]],\"MR\":[\"222\",\"00\",\"(?:[2-4]\\\\d\\\\d|800)\\\\d{5}\",[8],[[\"(\\\\d{2})(\\\\d{2})(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3 $4\",[\"[2-48]\"]]],0,0,0,0,0,0,[0,[\"[2-4][0-46-9]\\\\d{6}\"]]],\"MS\":[\"1\",\"011\",\"(?:[58]\\\\d\\\\d|664|900)\\\\d{7}\",[10],0,\"1\",0,\"([34]\\\\d{6})$|1\",\"664$1\",0,\"664\",[0,[\"664(?:3(?:49|9[1-6])|49[2-6])\\\\d{4}\"]]],\"MT\":[\"356\",\"00\",\"3550\\\\d{4}|(?:[2579]\\\\d\\\\d|800)\\\\d{5}\",[8],[[\"(\\\\d{4})(\\\\d{4})\",\"$1 $2\",[\"[2357-9]\"]]],0,0,0,0,0,0,[0,[\"(?:7(?:210|[79]\\\\d\\\\d)|9(?:[29]\\\\d\\\\d|69[67]|8(?:1[1-3]|89|97)))\\\\d{4}\"]]],\"MU\":[\"230\",\"0(?:0|[24-7]0|3[03])\",\"(?:[57]|8\\\\d\\\\d)\\\\d{7}|[2-468]\\\\d{6}\",[7,8,10],[[\"(\\\\d{3})(\\\\d{4})\",\"$1 $2\",[\"[2-46]|8[013]\"]],[\"(\\\\d{4})(\\\\d{4})\",\"$1 $2\",[\"[57]\"]],[\"(\\\\d{5})(\\\\d{5})\",\"$1 $2\",[\"8\"]]],0,0,0,0,0,0,[0,[\"5(?:4(?:2[1-389]|7[1-9])|87[15-8])\\\\d{4}|(?:5(?:2[5-9]|4[3-689]|[57]\\\\d|8[0-689]|9[0-8])|7(?:0[0-4]|3[013]))\\\\d{5}\",[8]]],\"020\"],\"MV\":[\"960\",\"0(?:0|19)\",\"(?:800|9[0-57-9]\\\\d)\\\\d{7}|[34679]\\\\d{6}\",[7,10],[[\"(\\\\d{3})(\\\\d{4})\",\"$1-$2\",[\"[34679]\"]],[\"(\\\\d{3})(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3\",[\"[89]\"]]],0,0,0,0,0,0,[0,[\"(?:46[46]|[79]\\\\d\\\\d)\\\\d{4}\",[7]]],\"00\"],\"MW\":[\"265\",\"00\",\"(?:[1289]\\\\d|31|77)\\\\d{7}|1\\\\d{6}\",[7,9],[[\"(\\\\d)(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"1[2-9]\"],\"0$1\"],[\"(\\\\d{3})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"2\"],\"0$1\"],[\"(\\\\d{3})(\\\\d{2})(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3 $4\",[\"[137-9]\"],\"0$1\"]],\"0\",0,0,0,0,0,[0,[\"111\\\\d{6}|(?:31|77|[89][89])\\\\d{7}\",[9]]]],\"MX\":[\"52\",\"0[09]\",\"[2-9]\\\\d{9}\",[10],[[\"(\\\\d{2})(\\\\d{4})(\\\\d{4})\",\"$1 $2 $3\",[\"33|5[56]|81\"]],[\"(\\\\d{3})(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3\",[\"[2-9]\"]]],0,0,0,0,0,0,[0,[\"657[12]\\\\d{6}|(?:2(?:2\\\\d|3[1-35-8]|4[13-9]|7[1-689]|8[1-578]|9[467])|3(?:1[1-79]|[2458][1-9]|3\\\\d|7[1-8]|9[1-5])|4(?:1[1-57-9]|[267][1-9]|3[1-8]|[45]\\\\d|8[1-35-9]|9[2-689])|5(?:[56]\\\\d|88|9[1-79])|6(?:1[2-68]|[2-4][1-9]|5[1-3689]|6[0-57-9]|7[1-7]|8[67]|9[4-8])|7(?:[1346][1-9]|[27]\\\\d|5[13-9]|8[1-69]|9[17])|8(?:1\\\\d|2[13-689]|3[1-6]|4[124-6]|6[1246-9]|7[0-378]|9[12479])|9(?:1[346-9]|2[1-4]|3[2-46-8]|5[1348]|[69]\\\\d|7[12]|8[1-8]))\\\\d{7}\"]],\"00\"],\"MY\":[\"60\",\"00\",\"1\\\\d{8,9}|(?:3\\\\d|[4-9])\\\\d{7}\",[8,9,10],[[\"(\\\\d)(\\\\d{3})(\\\\d{4})\",\"$1-$2 $3\",[\"[4-79]\"],\"0$1\"],[\"(\\\\d{2})(\\\\d{3})(\\\\d{3,4})\",\"$1-$2 $3\",[\"1(?:[02469]|[378][1-9]|53)|8\",\"1(?:[02469]|[37][1-9]|53|8(?:[1-46-9]|5[7-9]))|8\"],\"0$1\"],[\"(\\\\d)(\\\\d{4})(\\\\d{4})\",\"$1-$2 $3\",[\"3\"],\"0$1\"],[\"(\\\\d)(\\\\d{3})(\\\\d{2})(\\\\d{4})\",\"$1-$2-$3-$4\",[\"1(?:[367]|80)\"]],[\"(\\\\d{3})(\\\\d{3})(\\\\d{4})\",\"$1-$2 $3\",[\"15\"],\"0$1\"],[\"(\\\\d{2})(\\\\d{4})(\\\\d{4})\",\"$1-$2 $3\",[\"1\"],\"0$1\"]],\"0\",0,0,0,0,0,[0,[\"1(?:1888[689]|4400|8(?:47|8[27])[0-4])\\\\d{4}|1(?:0(?:[23568]\\\\d|4[0-6]|7[016-9]|9[0-8])|1(?:[1-5]\\\\d\\\\d|6(?:0[5-9]|[1-9]\\\\d)|7(?:[0-4]\\\\d|5[0-7]))|(?:[269]\\\\d|[37][1-9]|4[235-9])\\\\d|5(?:31|9\\\\d\\\\d)|8(?:1[23]|[236]\\\\d|4[06]|5(?:46|[7-9])|7[016-9]|8[01]|9[0-8]))\\\\d{5}\",[9,10]]]],\"MZ\":[\"258\",\"00\",\"(?:2|8\\\\d)\\\\d{7}\",[8,9],[[\"(\\\\d{2})(\\\\d{3})(\\\\d{3,4})\",\"$1 $2 $3\",[\"2|8[2-79]\"]],[\"(\\\\d{3})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"8\"]]],0,0,0,0,0,0,[0,[\"8[2-79]\\\\d{7}\",[9]]]],\"NA\":[\"264\",\"00\",\"[68]\\\\d{7,8}\",[8,9],[[\"(\\\\d{2})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"88\"],\"0$1\"],[\"(\\\\d{2})(\\\\d{3})(\\\\d{3,4})\",\"$1 $2 $3\",[\"6\"],\"0$1\"],[\"(\\\\d{3})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"87\"],\"0$1\"],[\"(\\\\d{2})(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3\",[\"8\"],\"0$1\"]],\"0\",0,0,0,0,0,[0,[\"(?:60|8[1245])\\\\d{7}\",[9]]]],\"NC\":[\"687\",\"00\",\"(?:050|[2-57-9]\\\\d\\\\d)\\\\d{3}\",[6],[[\"(\\\\d{2})(\\\\d{2})(\\\\d{2})\",\"$1.$2.$3\",[\"[02-57-9]\"]]],0,0,0,0,0,0,[0,[\"(?:5[0-4]|[79]\\\\d|8[0-79])\\\\d{4}\"]]],\"NE\":[\"227\",\"00\",\"[027-9]\\\\d{7}\",[8],[[\"(\\\\d{2})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"08\"]],[\"(\\\\d{2})(\\\\d{2})(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3 $4\",[\"[089]|2[013]|7[0467]\"]]],0,0,0,0,0,0,[0,[\"(?:23|7[0467]|[89]\\\\d)\\\\d{6}\"]]],\"NF\":[\"672\",\"00\",\"[13]\\\\d{5}\",[6],[[\"(\\\\d{2})(\\\\d{4})\",\"$1 $2\",[\"1[0-3]\"]],[\"(\\\\d)(\\\\d{5})\",\"$1 $2\",[\"[13]\"]]],0,0,\"([0-258]\\\\d{4})$\",\"3$1\",0,0,[0,[\"(?:14|3[58])\\\\d{4}\"]]],\"NG\":[\"234\",\"009\",\"38\\\\d{6}|[78]\\\\d{9,13}|(?:20|9\\\\d)\\\\d{8}\",[8,10,11,12,13,14],[[\"(\\\\d{2})(\\\\d{3})(\\\\d{2,3})\",\"$1 $2 $3\",[\"3\"],\"0$1\"],[\"(\\\\d{3})(\\\\d{3})(\\\\d{3,4})\",\"$1 $2 $3\",[\"[7-9]\"],\"0$1\"],[\"(\\\\d{3})(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3\",[\"20[129]\"],\"0$1\"],[\"(\\\\d{4})(\\\\d{2})(\\\\d{4})\",\"$1 $2 $3\",[\"2\"],\"0$1\"],[\"(\\\\d{3})(\\\\d{4})(\\\\d{4,5})\",\"$1 $2 $3\",[\"[78]\"],\"0$1\"],[\"(\\\\d{3})(\\\\d{5})(\\\\d{5,6})\",\"$1 $2 $3\",[\"[78]\"],\"0$1\"]],\"0\",0,0,0,0,0,[0,[\"(?:702[0-24-9]|819[01])\\\\d{6}|(?:7(?:0[13-9]|[12]\\\\d)|8(?:0[1-9]|1[0-8])|9(?:0[1-9]|1[1-6]))\\\\d{7}\",[10]]]],\"NI\":[\"505\",\"00\",\"(?:1800|[25-8]\\\\d{3})\\\\d{4}\",[8],[[\"(\\\\d{4})(\\\\d{4})\",\"$1 $2\",[\"[125-8]\"]]],0,0,0,0,0,0,[0,[\"(?:5(?:5[0-7]|[78]\\\\d)|6(?:20|3[035]|4[045]|5[05]|77|8[1-9]|9[059])|(?:7[5-8]|8\\\\d)\\\\d)\\\\d{5}\"]]],\"NL\":[\"31\",\"00\",\"(?:[124-7]\\\\d\\\\d|3(?:[02-9]\\\\d|1[0-8]))\\\\d{6}|8\\\\d{6,9}|9\\\\d{6,10}|1\\\\d{4,5}\",[5,6,7,8,9,10,11],[[\"(\\\\d{3})(\\\\d{4,7})\",\"$1 $2\",[\"[89]0\"],\"0$1\"],[\"(\\\\d{2})(\\\\d{7})\",\"$1 $2\",[\"66\"],\"0$1\"],[\"(\\\\d)(\\\\d{8})\",\"$1 $2\",[\"6\"],\"0$1\"],[\"(\\\\d{3})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"1[16-8]|2[259]|3[124]|4[17-9]|5[124679]\"],\"0$1\"],[\"(\\\\d{2})(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3\",[\"[1-578]|91\"],\"0$1\"],[\"(\\\\d{3})(\\\\d{3})(\\\\d{5})\",\"$1 $2 $3\",[\"9\"],\"0$1\"]],\"0\",0,0,0,0,0,[0,[\"(?:6[1-58]|970\\\\d)\\\\d{7}\",[9,11]]]],\"NO\":[\"47\",\"00\",\"(?:0|[2-9]\\\\d{3})\\\\d{4}\",[5,8],[[\"(\\\\d{3})(\\\\d{2})(\\\\d{3})\",\"$1 $2 $3\",[\"8\"]],[\"(\\\\d{2})(\\\\d{2})(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3 $4\",[\"[2-79]\"]]],0,0,0,0,0,\"[02-689]|7[0-8]\",[0,[\"(?:4[015-8]|9\\\\d)\\\\d{6}\",[8]]]],\"NP\":[\"977\",\"00\",\"(?:1\\\\d|9)\\\\d{9}|[1-9]\\\\d{7}\",[8,10,11],[[\"(\\\\d)(\\\\d{7})\",\"$1-$2\",[\"1[2-6]\"],\"0$1\"],[\"(\\\\d{2})(\\\\d{6})\",\"$1-$2\",[\"1[01]|[2-8]|9(?:[1-59]|[67][2-6])\"],\"0$1\"],[\"(\\\\d{3})(\\\\d{7})\",\"$1-$2\",[\"9\"]]],\"0\",0,0,0,0,0,[0,[\"9(?:00|6[0-3]|7[024-6]|8[0-24-68])\\\\d{7}\",[10]]]],\"NR\":[\"674\",\"00\",\"(?:444|(?:55|8\\\\d)\\\\d|666)\\\\d{4}\",[7],[[\"(\\\\d{3})(\\\\d{4})\",\"$1 $2\",[\"[4-68]\"]]],0,0,0,0,0,0,[0,[\"(?:55[3-9]|666|8\\\\d\\\\d)\\\\d{4}\"]]],\"NU\":[\"683\",\"00\",\"(?:[4-7]|888\\\\d)\\\\d{3}\",[4,7],[[\"(\\\\d{3})(\\\\d{4})\",\"$1 $2\",[\"8\"]]],0,0,0,0,0,0,[0,[\"(?:[56]|888[1-9])\\\\d{3}\"]]],\"NZ\":[\"64\",\"0(?:0|161)\",\"[1289]\\\\d{9}|50\\\\d{5}(?:\\\\d{2,3})?|[27-9]\\\\d{7,8}|(?:[34]\\\\d|6[0-35-9])\\\\d{6}|8\\\\d{4,6}\",[5,6,7,8,9,10],[[\"(\\\\d{2})(\\\\d{3,8})\",\"$1 $2\",[\"8[1-79]\"],\"0$1\"],[\"(\\\\d{3})(\\\\d{2})(\\\\d{2,3})\",\"$1 $2 $3\",[\"50[036-8]|8|90\",\"50(?:[0367]|88)|8|90\"],\"0$1\"],[\"(\\\\d)(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3\",[\"24|[346]|7[2-57-9]|9[2-9]\"],\"0$1\"],[\"(\\\\d{3})(\\\\d{3})(\\\\d{3,4})\",\"$1 $2 $3\",[\"2(?:10|74)|[589]\"],\"0$1\"],[\"(\\\\d{2})(\\\\d{3,4})(\\\\d{4})\",\"$1 $2 $3\",[\"1|2[028]\"],\"0$1\"],[\"(\\\\d{2})(\\\\d{3})(\\\\d{3,5})\",\"$1 $2 $3\",[\"2(?:[169]|7[0-35-9])|7\"],\"0$1\"]],\"0\",0,0,0,0,0,[0,[\"2(?:[0-27-9]\\\\d|6)\\\\d{6,7}|2(?:1\\\\d|75)\\\\d{5}\",[8,9,10]]],\"00\"],\"OM\":[\"968\",\"00\",\"(?:1505|[279]\\\\d{3}|500)\\\\d{4}|800\\\\d{5,6}\",[7,8,9],[[\"(\\\\d{3})(\\\\d{4,6})\",\"$1 $2\",[\"[58]\"]],[\"(\\\\d{2})(\\\\d{6})\",\"$1 $2\",[\"2\"]],[\"(\\\\d{4})(\\\\d{4})\",\"$1 $2\",[\"[179]\"]]],0,0,0,0,0,0,[0,[\"(?:1505|90[1-9]\\\\d)\\\\d{4}|(?:7[126-9]|9[1-9])\\\\d{6}\",[8]]]],\"PA\":[\"507\",\"00\",\"(?:00800|8\\\\d{3})\\\\d{6}|[68]\\\\d{7}|[1-57-9]\\\\d{6}\",[7,8,10,11],[[\"(\\\\d{3})(\\\\d{4})\",\"$1-$2\",[\"[1-57-9]\"]],[\"(\\\\d{4})(\\\\d{4})\",\"$1-$2\",[\"[68]\"]],[\"(\\\\d{3})(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3\",[\"8\"]]],0,0,0,0,0,0,[0,[\"(?:1[16]1|21[89]|6\\\\d{3}|8(?:1[01]|7[23]))\\\\d{4}\",[7,8]]]],\"PE\":[\"51\",\"00|19(?:1[124]|77|90)00\",\"(?:[14-8]|9\\\\d)\\\\d{7}\",[8,9],[[\"(\\\\d{3})(\\\\d{5})\",\"$1 $2\",[\"80\"],\"(0$1)\"],[\"(\\\\d)(\\\\d{7})\",\"$1 $2\",[\"1\"],\"(0$1)\"],[\"(\\\\d{2})(\\\\d{6})\",\"$1 $2\",[\"[4-8]\"],\"(0$1)\"],[\"(\\\\d{3})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"9\"]]],\"0\",0,0,0,0,0,[0,[\"9\\\\d{8}\",[9]]],\"00\",\" Anexo \"],\"PF\":[\"689\",\"00\",\"4\\\\d{5}(?:\\\\d{2})?|8\\\\d{7,8}\",[6,8,9],[[\"(\\\\d{2})(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3\",[\"44\"]],[\"(\\\\d{2})(\\\\d{2})(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3 $4\",[\"4|8[7-9]\"]],[\"(\\\\d{3})(\\\\d{2})(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3 $4\",[\"8\"]]],0,0,0,0,0,0,[0,[\"8[7-9]\\\\d{6}\",[8]]]],\"PG\":[\"675\",\"00|140[1-3]\",\"(?:180|[78]\\\\d{3})\\\\d{4}|(?:[2-589]\\\\d|64)\\\\d{5}\",[7,8],[[\"(\\\\d{3})(\\\\d{4})\",\"$1 $2\",[\"18|[2-69]|85\"]],[\"(\\\\d{4})(\\\\d{4})\",\"$1 $2\",[\"[78]\"]]],0,0,0,0,0,0,[0,[\"(?:7\\\\d|8[1-38])\\\\d{6}\",[8]]],\"00\"],\"PH\":[\"63\",\"00\",\"(?:[2-7]|9\\\\d)\\\\d{8}|2\\\\d{5}|(?:1800|8)\\\\d{7,9}\",[6,8,9,10,11,12,13],[[\"(\\\\d)(\\\\d{5})\",\"$1 $2\",[\"2\"],\"(0$1)\"],[\"(\\\\d{4})(\\\\d{4,6})\",\"$1 $2\",[\"3(?:23|39|46)|4(?:2[3-6]|[35]9|4[26]|76)|544|88[245]|(?:52|64|86)2\",\"3(?:230|397|461)|4(?:2(?:35|[46]4|51)|396|4(?:22|63)|59[347]|76[15])|5(?:221|446)|642[23]|8(?:622|8(?:[24]2|5[13]))\"],\"(0$1)\"],[\"(\\\\d{5})(\\\\d{4})\",\"$1 $2\",[\"346|4(?:27|9[35])|883\",\"3469|4(?:279|9(?:30|56))|8834\"],\"(0$1)\"],[\"(\\\\d)(\\\\d{4})(\\\\d{4})\",\"$1 $2 $3\",[\"2\"],\"(0$1)\"],[\"(\\\\d{2})(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3\",[\"[3-7]|8[2-8]\"],\"(0$1)\"],[\"(\\\\d{3})(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3\",[\"[89]\"],\"0$1\"],[\"(\\\\d{4})(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3\",[\"1\"]],[\"(\\\\d{4})(\\\\d{1,2})(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3 $4\",[\"1\"]]],\"0\",0,0,0,0,0,[0,[\"(?:8(?:1[37]|9[5-8])|9(?:0[5-9]|1[0-24-9]|[235-7]\\\\d|4[2-9]|8[135-9]|9[1-9]))\\\\d{7}\",[10]]]],\"PK\":[\"92\",\"00\",\"122\\\\d{6}|[24-8]\\\\d{10,11}|9(?:[013-9]\\\\d{8,10}|2(?:[01]\\\\d\\\\d|2(?:[06-8]\\\\d|1[01]))\\\\d{7})|(?:[2-8]\\\\d{3}|92(?:[0-7]\\\\d|8[1-9]))\\\\d{6}|[24-9]\\\\d{8}|[89]\\\\d{7}\",[8,9,10,11,12],[[\"(\\\\d{3})(\\\\d{3})(\\\\d{2,7})\",\"$1 $2 $3\",[\"[89]0\"],\"0$1\"],[\"(\\\\d{4})(\\\\d{5})\",\"$1 $2\",[\"1\"]],[\"(\\\\d{3})(\\\\d{6,7})\",\"$1 $2\",[\"2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:2[2-8]|3[27-9]|4[2-6]|6[3569]|9[25-8])\",\"9(?:2[3-8]|98)|(?:2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:22|3[27-9]|4[2-6]|6[3569]|9[25-7]))[2-9]\"],\"(0$1)\"],[\"(\\\\d{2})(\\\\d{7,8})\",\"$1 $2\",[\"(?:2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91)[2-9]\"],\"(0$1)\"],[\"(\\\\d{5})(\\\\d{5})\",\"$1 $2\",[\"58\"],\"(0$1)\"],[\"(\\\\d{3})(\\\\d{7})\",\"$1 $2\",[\"3\"],\"0$1\"],[\"(\\\\d{2})(\\\\d{3})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3 $4\",[\"2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91\"],\"(0$1)\"],[\"(\\\\d{3})(\\\\d{3})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3 $4\",[\"[24-9]\"],\"(0$1)\"]],\"0\",0,0,0,0,0,[0,[\"3(?:[0-247]\\\\d|3[0-79]|55|64)\\\\d{7}\",[10]]]],\"PL\":[\"48\",\"00\",\"(?:6|8\\\\d\\\\d)\\\\d{7}|[1-9]\\\\d{6}(?:\\\\d{2})?|[26]\\\\d{5}\",[6,7,8,9,10],[[\"(\\\\d{5})\",\"$1\",[\"19\"]],[\"(\\\\d{3})(\\\\d{3})\",\"$1 $2\",[\"11|20|64\"]],[\"(\\\\d{2})(\\\\d{2})(\\\\d{3})\",\"$1 $2 $3\",[\"(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])1\",\"(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])19\"]],[\"(\\\\d{3})(\\\\d{2})(\\\\d{2,3})\",\"$1 $2 $3\",[\"64\"]],[\"(\\\\d{3})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"21|39|45|5[0137]|6[0469]|7[02389]|8(?:0[14]|8)\"]],[\"(\\\\d{2})(\\\\d{3})(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3 $4\",[\"1[2-8]|[2-7]|8[1-79]|9[145]\"]],[\"(\\\\d{3})(\\\\d{3})(\\\\d{3,4})\",\"$1 $2 $3\",[\"8\"]]],0,0,0,0,0,0,[0,[\"21(?:1[013-5]|2\\\\d)\\\\d{5}|(?:45|5[0137]|6[069]|7[2389]|88)\\\\d{7}\",[9]]]],\"PM\":[\"508\",\"00\",\"[45]\\\\d{5}|(?:708|80\\\\d)\\\\d{6}\",[6,9],[[\"(\\\\d{2})(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3\",[\"[45]\"],\"0$1\"],[\"(\\\\d{3})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"7\"]],[\"(\\\\d{3})(\\\\d{2})(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3 $4\",[\"8\"],\"0$1\"]],\"0\",0,0,0,0,0,[0,[\"(?:4[02-4]|5[056]|708[45][0-5])\\\\d{4}\"]]],\"PR\":[\"1\",\"011\",\"(?:[589]\\\\d\\\\d|787)\\\\d{7}\",[10],0,\"1\",0,0,0,0,\"787|939\",[0,[\"(?:787|939)[2-9]\\\\d{6}\"]]],\"PS\":[\"970\",\"00\",\"[2489]2\\\\d{6}|(?:1\\\\d|5)\\\\d{8}\",[8,9,10],[[\"(\\\\d)(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3\",[\"[2489]\"],\"0$1\"],[\"(\\\\d{3})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"5\"],\"0$1\"],[\"(\\\\d{4})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"1\"]]],\"0\",0,0,0,0,0,[0,[\"5[69]\\\\d{7}\",[9]]]],\"PT\":[\"351\",\"00\",\"1693\\\\d{5}|(?:[26-9]\\\\d|30)\\\\d{7}\",[9],[[\"(\\\\d{2})(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3\",[\"2[12]\"]],[\"(\\\\d{3})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"16|[236-9]\"]]],0,0,0,0,0,0,[0,[\"6(?:[06]92(?:30|9\\\\d)|[35]92(?:[049]\\\\d|3[034]))\\\\d{3}|(?:(?:16|6[0356])93|9(?:[1-36]\\\\d\\\\d|480))\\\\d{5}\"]]],\"PW\":[\"680\",\"01[12]\",\"(?:[24-8]\\\\d\\\\d|345|900)\\\\d{4}\",[7],[[\"(\\\\d{3})(\\\\d{4})\",\"$1 $2\",[\"[2-9]\"]]],0,0,0,0,0,0,[0,[\"(?:(?:46|83)[0-5]|6[2-4689]0)\\\\d{4}|(?:45|77|88)\\\\d{5}\"]]],\"PY\":[\"595\",\"00\",\"59\\\\d{4,6}|9\\\\d{5,10}|(?:[2-46-8]\\\\d|5[0-8])\\\\d{4,7}\",[6,7,8,9,10,11],[[\"(\\\\d{3})(\\\\d{3,6})\",\"$1 $2\",[\"[2-9]0\"],\"0$1\"],[\"(\\\\d{2})(\\\\d{5})\",\"$1 $2\",[\"[26]1|3[289]|4[1246-8]|7[1-3]|8[1-36]\"],\"(0$1)\"],[\"(\\\\d{3})(\\\\d{4,5})\",\"$1 $2\",[\"2[279]|3[13-5]|4[359]|5|6(?:[34]|7[1-46-8])|7[46-8]|85\"],\"(0$1)\"],[\"(\\\\d{2})(\\\\d{3})(\\\\d{3,4})\",\"$1 $2 $3\",[\"2[14-68]|3[26-9]|4[1246-8]|6(?:1|75)|7[1-35]|8[1-36]\"],\"(0$1)\"],[\"(\\\\d{2})(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3\",[\"87\"]],[\"(\\\\d{3})(\\\\d{6})\",\"$1 $2\",[\"9(?:[5-79]|8[1-7])\"],\"0$1\"],[\"(\\\\d{3})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"[2-8]\"],\"0$1\"],[\"(\\\\d{4})(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3\",[\"9\"]]],\"0\",0,0,0,0,0,[0,[\"9(?:51|6[129]|7[1-6]|8[1-7]|9[1-5])\\\\d{6}\",[9]]]],\"QA\":[\"974\",\"00\",\"800\\\\d{4}|(?:2|800)\\\\d{6}|(?:0080|[3-7])\\\\d{7}\",[7,8,9,11],[[\"(\\\\d{3})(\\\\d{4})\",\"$1 $2\",[\"2[16]|8\"]],[\"(\\\\d{4})(\\\\d{4})\",\"$1 $2\",[\"[3-7]\"]]],0,0,0,0,0,0,[0,[\"[35-7]\\\\d{7}\",[8]]]],\"RE\":[\"262\",\"00\",\"(?:26|[689]\\\\d)\\\\d{7}\",[9],[[\"(\\\\d{3})(\\\\d{2})(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3 $4\",[\"[2689]\"],\"0$1\"]],\"0\",0,0,0,0,0,[0,[\"69(?:2\\\\d\\\\d|3(?:[06][0-6]|1[013]|2[0-2]|3[0-39]|4\\\\d|5[0-5]|7[0-37]|8[0-8]|9[0-479]))\\\\d{4}\"]]],\"RO\":[\"40\",\"00\",\"(?:[236-8]\\\\d|90)\\\\d{7}|[23]\\\\d{5}\",[6,9],[[\"(\\\\d{3})(\\\\d{3})\",\"$1 $2\",[\"2[3-6]\",\"2[3-6]\\\\d9\"],\"0$1\"],[\"(\\\\d{2})(\\\\d{4})\",\"$1 $2\",[\"219|31\"],\"0$1\"],[\"(\\\\d{2})(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3\",[\"[23]1\"],\"0$1\"],[\"(\\\\d{3})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"[236-9]\"],\"0$1\"]],\"0\",0,0,0,0,0,[0,[\"(?:630|702)0\\\\d{5}|(?:6(?:00|2\\\\d)|7(?:0[013-9]|1[0-3]|[2-7]\\\\d|8[03-8]|9[0-39]))\\\\d{6}\",[9]]],0,\" int \"],\"RS\":[\"381\",\"00\",\"38[02-9]\\\\d{6,9}|6\\\\d{7,9}|90\\\\d{4,8}|38\\\\d{5,6}|(?:7\\\\d\\\\d|800)\\\\d{3,9}|(?:[12]\\\\d|3[0-79])\\\\d{5,10}\",[6,7,8,9,10,11,12],[[\"(\\\\d{3})(\\\\d{3,9})\",\"$1 $2\",[\"(?:2[389]|39)0|[7-9]\"],\"0$1\"],[\"(\\\\d{2})(\\\\d{5,10})\",\"$1 $2\",[\"[1-36]\"],\"0$1\"]],\"0\",0,0,0,0,0,[0,[\"6(?:[0-689]|7\\\\d)\\\\d{6,7}\",[8,9,10]]]],\"RU\":[\"7\",\"810\",\"8\\\\d{13}|[347-9]\\\\d{9}\",[10,14],[[\"(\\\\d{4})(\\\\d{2})(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3 $4\",[\"7(?:1[0-8]|2[1-9])\",\"7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:1[23]|[2-9]2))\",\"7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:13[03-69]|62[013-9]))|72[1-57-9]2\"],\"8 ($1)\",1],[\"(\\\\d{5})(\\\\d)(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3 $4\",[\"7(?:1[0-68]|2[1-9])\",\"7(?:1(?:[06][3-6]|[18]|2[35]|[3-5][3-5])|2(?:[13][3-5]|[24-689]|7[457]))\",\"7(?:1(?:0(?:[356]|4[023])|[18]|2(?:3[013-9]|5)|3[45]|43[013-79]|5(?:3[1-8]|4[1-7]|5)|6(?:3[0-35-9]|[4-6]))|2(?:1(?:3[178]|[45])|[24-689]|3[35]|7[457]))|7(?:14|23)4[0-8]|71(?:33|45)[1-79]\"],\"8 ($1)\",1],[\"(\\\\d{3})(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3\",[\"7\"],\"8 ($1)\",1],[\"(\\\\d{3})(\\\\d{3})(\\\\d{2})(\\\\d{2})\",\"$1 $2-$3-$4\",[\"[349]|8(?:[02-7]|1[1-8])\"],\"8 ($1)\",1],[\"(\\\\d{4})(\\\\d{4})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3 $4\",[\"8\"],\"8 ($1)\"]],\"8\",0,0,0,0,\"3[04-689]|[489]\",[0,[\"9\\\\d{9}\",[10]]],\"8~10\"],\"RW\":[\"250\",\"00\",\"(?:06|[27]\\\\d\\\\d|[89]00)\\\\d{6}\",[8,9],[[\"(\\\\d{2})(\\\\d{2})(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3 $4\",[\"0\"]],[\"(\\\\d{3})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"2\"]],[\"(\\\\d{3})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"[7-9]\"],\"0$1\"]],\"0\",0,0,0,0,0,[0,[\"7[237-9]\\\\d{7}\",[9]]]],\"SA\":[\"966\",\"00\",\"92\\\\d{7}|(?:[15]|8\\\\d)\\\\d{8}\",[9,10],[[\"(\\\\d{4})(\\\\d{5})\",\"$1 $2\",[\"9\"]],[\"(\\\\d{2})(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3\",[\"1\"],\"0$1\"],[\"(\\\\d{2})(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3\",[\"5\"],\"0$1\"],[\"(\\\\d{3})(\\\\d{3})(\\\\d{3,4})\",\"$1 $2 $3\",[\"81\"],\"0$1\"],[\"(\\\\d{3})(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3\",[\"8\"]]],\"0\",0,0,0,0,0,[0,[\"579[01]\\\\d{5}|5(?:[013-689]\\\\d|7[0-8])\\\\d{6}\",[9]]]],\"SB\":[\"677\",\"0[01]\",\"[6-9]\\\\d{6}|[1-6]\\\\d{4}\",[5,7],[[\"(\\\\d{2})(\\\\d{5})\",\"$1 $2\",[\"6[89]|7|8[4-9]|9(?:[1-8]|9[0-8])\"]]],0,0,0,0,0,0,[0,[\"48\\\\d{3}|(?:(?:6[89]|7[1-9]|8[4-9])\\\\d|9(?:1[2-9]|2[013-9]|3[0-2]|[46]\\\\d|5[0-46-9]|7[0-689]|8[0-79]|9[0-8]))\\\\d{4}\"]]],\"SC\":[\"248\",\"010|0[0-2]\",\"(?:[2489]\\\\d|64)\\\\d{5}\",[7],[[\"(\\\\d)(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"[246]|9[57]\"]]],0,0,0,0,0,0,[0,[\"2[125-8]\\\\d{5}\"]],\"00\"],\"SD\":[\"249\",\"00\",\"[19]\\\\d{8}\",[9],[[\"(\\\\d{2})(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3\",[\"[19]\"],\"0$1\"]],\"0\",0,0,0,0,0,[0,[\"(?:1[0-2]|9[0-3569])\\\\d{7}\"]]],\"SE\":[\"46\",\"00\",\"(?:[26]\\\\d\\\\d|9)\\\\d{9}|[1-9]\\\\d{8}|[1-689]\\\\d{7}|[1-4689]\\\\d{6}|2\\\\d{5}\",[6,7,8,9,10,12],[[\"(\\\\d{2})(\\\\d{2,3})(\\\\d{2})\",\"$1-$2 $3\",[\"20\"],\"0$1\",0,\"$1 $2 $3\"],[\"(\\\\d{3})(\\\\d{4})\",\"$1-$2\",[\"9(?:00|39|44|9)\"],\"0$1\",0,\"$1 $2\"],[\"(\\\\d{2})(\\\\d{3})(\\\\d{2})\",\"$1-$2 $3\",[\"[12][136]|3[356]|4[0246]|6[03]|90[1-9]\"],\"0$1\",0,\"$1 $2 $3\"],[\"(\\\\d)(\\\\d{2,3})(\\\\d{2})(\\\\d{2})\",\"$1-$2 $3 $4\",[\"8\"],\"0$1\",0,\"$1 $2 $3 $4\"],[\"(\\\\d{3})(\\\\d{2,3})(\\\\d{2})\",\"$1-$2 $3\",[\"1[2457]|2(?:[247-9]|5[0138])|3[0247-9]|4[1357-9]|5[0-35-9]|6(?:[125689]|4[02-57]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])\"],\"0$1\",0,\"$1 $2 $3\"],[\"(\\\\d{3})(\\\\d{2,3})(\\\\d{3})\",\"$1-$2 $3\",[\"9(?:00|39|44)\"],\"0$1\",0,\"$1 $2 $3\"],[\"(\\\\d{2})(\\\\d{2,3})(\\\\d{2})(\\\\d{2})\",\"$1-$2 $3 $4\",[\"1[13689]|2[0136]|3[1356]|4[0246]|54|6[03]|90[1-9]\"],\"0$1\",0,\"$1 $2 $3 $4\"],[\"(\\\\d{2})(\\\\d{3})(\\\\d{2})(\\\\d{2})\",\"$1-$2 $3 $4\",[\"10|7\"],\"0$1\",0,\"$1 $2 $3 $4\"],[\"(\\\\d)(\\\\d{3})(\\\\d{3})(\\\\d{2})\",\"$1-$2 $3 $4\",[\"8\"],\"0$1\",0,\"$1 $2 $3 $4\"],[\"(\\\\d{3})(\\\\d{2})(\\\\d{2})(\\\\d{2})\",\"$1-$2 $3 $4\",[\"[13-5]|2(?:[247-9]|5[0138])|6(?:[124-689]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])\"],\"0$1\",0,\"$1 $2 $3 $4\"],[\"(\\\\d{3})(\\\\d{2})(\\\\d{2})(\\\\d{3})\",\"$1-$2 $3 $4\",[\"9\"],\"0$1\",0,\"$1 $2 $3 $4\"],[\"(\\\\d{3})(\\\\d{2})(\\\\d{3})(\\\\d{2})(\\\\d{2})\",\"$1-$2 $3 $4 $5\",[\"[26]\"],\"0$1\",0,\"$1 $2 $3 $4 $5\"]],\"0\",0,0,0,0,0,[0,[\"7[02369]\\\\d{7}\",[9]]]],\"SG\":[\"65\",\"0[0-3]\\\\d\",\"(?:(?:1\\\\d|8)\\\\d\\\\d|7000)\\\\d{7}|[3689]\\\\d{7}\",[8,10,11],[[\"(\\\\d{4})(\\\\d{4})\",\"$1 $2\",[\"[369]|8(?:0[1-9]|[1-9])\"]],[\"(\\\\d{3})(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3\",[\"8\"]],[\"(\\\\d{4})(\\\\d{4})(\\\\d{3})\",\"$1 $2 $3\",[\"7\"]],[\"(\\\\d{4})(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3\",[\"1\"]]],0,0,0,0,0,0,[0,[\"(?:8(?:0(?:[1-8]\\\\d|9[0-689])|[1-8]\\\\d\\\\d|9(?:[0-4]\\\\d|5[0-3]|62))|9[0-8]\\\\d\\\\d)\\\\d{4}\",[8]]]],\"SH\":[\"290\",\"00\",\"(?:[256]\\\\d|8)\\\\d{3}\",[4,5],0,0,0,0,0,0,\"[256]\",[0,[\"[56]\\\\d{4}\",[5]]]],\"SI\":[\"386\",\"00|10(?:22|66|88|99)\",\"[1-7]\\\\d{7}|8\\\\d{4,7}|90\\\\d{4,6}\",[5,6,7,8],[[\"(\\\\d{2})(\\\\d{3,6})\",\"$1 $2\",[\"8[09]|9\"],\"0$1\"],[\"(\\\\d{3})(\\\\d{5})\",\"$1 $2\",[\"59|8\"],\"0$1\"],[\"(\\\\d{2})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"[37][01]|4[0139]|51|6\"],\"0$1\"],[\"(\\\\d)(\\\\d{3})(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3 $4\",[\"[1-57]\"],\"(0$1)\"]],\"0\",0,0,0,0,0,[0,[\"65(?:[178]\\\\d|5[56]|6[01])\\\\d{4}|(?:[37][01]|4[0139]|51|6[489])\\\\d{6}\",[8]]],\"00\"],\"SJ\":[\"47\",\"00\",\"0\\\\d{4}|(?:[489]\\\\d|79)\\\\d{6}\",[5,8],0,0,0,0,0,0,\"79\",[0,[\"(?:4[015-8]|9\\\\d)\\\\d{6}\",[8]]]],\"SK\":[\"421\",\"00\",\"[2-689]\\\\d{8}|[2-59]\\\\d{6}|[2-5]\\\\d{5}\",[6,7,9],[[\"(\\\\d)(\\\\d{2})(\\\\d{3,4})\",\"$1 $2 $3\",[\"21\"],\"0$1\"],[\"(\\\\d{2})(\\\\d{2})(\\\\d{2,3})\",\"$1 $2 $3\",[\"[3-5][1-8]1\",\"[3-5][1-8]1[67]\"],\"0$1\"],[\"(\\\\d)(\\\\d{3})(\\\\d{3})(\\\\d{2})\",\"$1/$2 $3 $4\",[\"2\"],\"0$1\"],[\"(\\\\d{3})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"[689]\"],\"0$1\"],[\"(\\\\d{2})(\\\\d{3})(\\\\d{2})(\\\\d{2})\",\"$1/$2 $3 $4\",[\"[3-5]\"],\"0$1\"]],\"0\",0,0,0,0,0,[0,[\"909[1-9]\\\\d{5}|9(?:0[1-8]|1[0-24-9]|4[03-57-9]|5\\\\d)\\\\d{6}\",[9]]]],\"SL\":[\"232\",\"00\",\"(?:[237-9]\\\\d|66)\\\\d{6}\",[8],[[\"(\\\\d{2})(\\\\d{6})\",\"$1 $2\",[\"[236-9]\"],\"(0$1)\"]],\"0\",0,0,0,0,0,[0,[\"(?:25|3[0-5]|66|7[2-9]|8[08]|9[09])\\\\d{6}\"]]],\"SM\":[\"378\",\"00\",\"(?:0549|[5-7]\\\\d)\\\\d{6}\",[8,10],[[\"(\\\\d{2})(\\\\d{2})(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3 $4\",[\"[5-7]\"]],[\"(\\\\d{4})(\\\\d{6})\",\"$1 $2\",[\"0\"]]],0,0,\"([89]\\\\d{5})$\",\"0549$1\",0,0,[0,[\"6[16]\\\\d{6}\",[8]]]],\"SN\":[\"221\",\"00\",\"(?:[378]\\\\d|93)\\\\d{7}\",[9],[[\"(\\\\d{3})(\\\\d{2})(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3 $4\",[\"8\"]],[\"(\\\\d{2})(\\\\d{3})(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3 $4\",[\"[379]\"]]],0,0,0,0,0,0,[0,[\"7(?:(?:[06-8]\\\\d|[19]0|21)\\\\d|5(?:0[01]|[19]0|2[25]|[38]3|[4-7]\\\\d))\\\\d{5}\"]]],\"SO\":[\"252\",\"00\",\"[346-9]\\\\d{8}|[12679]\\\\d{7}|[1-5]\\\\d{6}|[1348]\\\\d{5}\",[6,7,8,9],[[\"(\\\\d{2})(\\\\d{4})\",\"$1 $2\",[\"8[125]\"]],[\"(\\\\d{6})\",\"$1\",[\"[134]\"]],[\"(\\\\d)(\\\\d{6})\",\"$1 $2\",[\"[15]|2[0-79]|3[0-46-8]|4[0-7]\"]],[\"(\\\\d)(\\\\d{7})\",\"$1 $2\",[\"(?:2|90)4|[67]\"]],[\"(\\\\d{3})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"[348]|64|79|90\"]],[\"(\\\\d{2})(\\\\d{5,7})\",\"$1 $2\",[\"1|28|6[0-35-9]|77|9[2-9]\"]]],\"0\",0,0,0,0,0,[0,[\"(?:(?:15|(?:3[59]|4[89]|6\\\\d|7[79]|8[08])\\\\d|9(?:0\\\\d|[2-9]))\\\\d|2(?:4\\\\d|8))\\\\d{5}|(?:[67]\\\\d\\\\d|904)\\\\d{5}\",[7,8,9]]]],\"SR\":[\"597\",\"00\",\"(?:[2-5]|68|[78]\\\\d)\\\\d{5}\",[6,7],[[\"(\\\\d{2})(\\\\d{2})(\\\\d{2})\",\"$1-$2-$3\",[\"56\"]],[\"(\\\\d{3})(\\\\d{3})\",\"$1-$2\",[\"[2-5]\"]],[\"(\\\\d{3})(\\\\d{4})\",\"$1-$2\",[\"[6-8]\"]]],0,0,0,0,0,0,[0,[\"(?:7[124-7]|8[124-9])\\\\d{5}\",[7]]]],\"SS\":[\"211\",\"00\",\"[19]\\\\d{8}\",[9],[[\"(\\\\d{3})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"[19]\"],\"0$1\"]],\"0\",0,0,0,0,0,[0,[\"(?:12|9[1257-9])\\\\d{7}\"]]],\"ST\":[\"239\",\"00\",\"(?:22|9\\\\d)\\\\d{5}\",[7],[[\"(\\\\d{3})(\\\\d{4})\",\"$1 $2\",[\"[29]\"]]],0,0,0,0,0,0,[0,[\"900[5-9]\\\\d{3}|9(?:0[1-9]|[89]\\\\d)\\\\d{4}\"]]],\"SV\":[\"503\",\"00\",\"[267]\\\\d{7}|(?:80\\\\d|900)\\\\d{4}(?:\\\\d{4})?\",[7,8,11],[[\"(\\\\d{3})(\\\\d{4})\",\"$1 $2\",[\"[89]\"]],[\"(\\\\d{4})(\\\\d{4})\",\"$1 $2\",[\"[267]\"]],[\"(\\\\d{3})(\\\\d{4})(\\\\d{4})\",\"$1 $2 $3\",[\"[89]\"]]],0,0,0,0,0,0,[0,[\"[67]\\\\d{7}\",[8]]]],\"SX\":[\"1\",\"011\",\"7215\\\\d{6}|(?:[58]\\\\d\\\\d|900)\\\\d{7}\",[10],0,\"1\",0,\"(5\\\\d{6})$|1\",\"721$1\",0,\"721\",[0,[\"7215(?:1[02]|2\\\\d|5[034679]|8[014-8])\\\\d{4}\"]]],\"SY\":[\"963\",\"00\",\"[1-39]\\\\d{8}|[1-5]\\\\d{7}\",[8,9],[[\"(\\\\d{2})(\\\\d{3})(\\\\d{3,4})\",\"$1 $2 $3\",[\"[1-5]\"],\"0$1\",1],[\"(\\\\d{3})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"9\"],\"0$1\",1]],\"0\",0,0,0,0,0,[0,[\"9[1-689]\\\\d{7}\",[9]]]],\"SZ\":[\"268\",\"00\",\"0800\\\\d{4}|(?:[237]\\\\d|900)\\\\d{6}\",[8,9],[[\"(\\\\d{4})(\\\\d{4})\",\"$1 $2\",[\"[0237]\"]],[\"(\\\\d{5})(\\\\d{4})\",\"$1 $2\",[\"9\"]]],0,0,0,0,0,0,[0,[\"7[6-9]\\\\d{6}\",[8]]]],\"TA\":[\"290\",\"00\",\"8\\\\d{3}\",[4],0,0,0,0,0,0,\"8\"],\"TC\":[\"1\",\"011\",\"(?:[58]\\\\d\\\\d|649|900)\\\\d{7}\",[10],0,\"1\",0,\"([2-479]\\\\d{6})$|1\",\"649$1\",0,\"649\",[0,[\"649(?:2(?:3[129]|4[1-79])|3\\\\d\\\\d|4[34][1-3])\\\\d{4}\"]]],\"TD\":[\"235\",\"00|16\",\"(?:22|[689]\\\\d|77)\\\\d{6}\",[8],[[\"(\\\\d{2})(\\\\d{2})(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3 $4\",[\"[26-9]\"]]],0,0,0,0,0,0,[0,[\"(?:[69]\\\\d|77|8[56])\\\\d{6}\"]],\"00\"],\"TG\":[\"228\",\"00\",\"[279]\\\\d{7}\",[8],[[\"(\\\\d{2})(\\\\d{2})(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3 $4\",[\"[279]\"]]],0,0,0,0,0,0,[0,[\"(?:7[019]|9[0-36-9])\\\\d{6}\"]]],\"TH\":[\"66\",\"00[1-9]\",\"(?:001800|[2-57]|[689]\\\\d)\\\\d{7}|1\\\\d{7,9}\",[8,9,10,13],[[\"(\\\\d)(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3\",[\"2\"],\"0$1\"],[\"(\\\\d{2})(\\\\d{3})(\\\\d{3,4})\",\"$1 $2 $3\",[\"[13-9]\"],\"0$1\"],[\"(\\\\d{4})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"1\"]]],\"0\",0,0,0,0,0,[0,[\"67(?:1[0-8]|2[4-7])\\\\d{5}|(?:14|6[1-6]|[89]\\\\d)\\\\d{7}\",[9]]]],\"TJ\":[\"992\",\"810\",\"[0-57-9]\\\\d{8}\",[9],[[\"(\\\\d{6})(\\\\d)(\\\\d{2})\",\"$1 $2 $3\",[\"331\",\"3317\"]],[\"(\\\\d{3})(\\\\d{2})(\\\\d{4})\",\"$1 $2 $3\",[\"44[02-479]|[34]7\"]],[\"(\\\\d{4})(\\\\d)(\\\\d{4})\",\"$1 $2 $3\",[\"3(?:[1245]|3[12])\"]],[\"(\\\\d{2})(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3\",[\"[0-57-9]\"]]],0,0,0,0,0,0,[0,[\"(?:33[03-9]|4(?:1[18]|4[02-479])|81[1-9])\\\\d{6}|(?:[09]\\\\d|1[017]|2[02]|[34]0|5[05]|7[01578]|8[078])\\\\d{7}\"]],\"8~10\"],\"TK\":[\"690\",\"00\",\"[2-47]\\\\d{3,6}\",[4,5,6,7],0,0,0,0,0,0,0,[0,[\"7[2-4]\\\\d{2,5}\"]]],\"TL\":[\"670\",\"00\",\"7\\\\d{7}|(?:[2-47]\\\\d|[89]0)\\\\d{5}\",[7,8],[[\"(\\\\d{3})(\\\\d{4})\",\"$1 $2\",[\"[2-489]|70\"]],[\"(\\\\d{4})(\\\\d{4})\",\"$1 $2\",[\"7\"]]],0,0,0,0,0,0,[0,[\"7[2-8]\\\\d{6}\",[8]]]],\"TM\":[\"993\",\"810\",\"(?:[1-6]\\\\d|71)\\\\d{6}\",[8],[[\"(\\\\d{2})(\\\\d{2})(\\\\d{2})(\\\\d{2})\",\"$1 $2-$3-$4\",[\"12\"],\"(8 $1)\"],[\"(\\\\d{3})(\\\\d)(\\\\d{2})(\\\\d{2})\",\"$1 $2-$3-$4\",[\"[1-5]\"],\"(8 $1)\"],[\"(\\\\d{2})(\\\\d{6})\",\"$1 $2\",[\"[67]\"],\"8 $1\"]],\"8\",0,0,0,0,0,[0,[\"(?:6\\\\d|71)\\\\d{6}\"]],\"8~10\"],\"TN\":[\"216\",\"00\",\"[2-57-9]\\\\d{7}\",[8],[[\"(\\\\d{2})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"[2-57-9]\"]]],0,0,0,0,0,0,[0,[\"3(?:001|[12]40)\\\\d{4}|(?:(?:[259]\\\\d|4[0-8])\\\\d|3(?:1[1-35]|6[0-4]|91))\\\\d{5}\"]]],\"TO\":[\"676\",\"00\",\"(?:0800|(?:[5-8]\\\\d\\\\d|999)\\\\d)\\\\d{3}|[2-8]\\\\d{4}\",[5,7],[[\"(\\\\d{2})(\\\\d{3})\",\"$1-$2\",[\"[2-4]|50|6[09]|7[0-24-69]|8[05]\"]],[\"(\\\\d{4})(\\\\d{3})\",\"$1 $2\",[\"0\"]],[\"(\\\\d{3})(\\\\d{4})\",\"$1 $2\",[\"[5-9]\"]]],0,0,0,0,0,0,[0,[\"(?:5(?:4[0-5]|5[4-6])|6(?:[09]\\\\d|3[02]|8[15-9])|(?:7\\\\d|8[46-9])\\\\d|999)\\\\d{4}\",[7]]]],\"TR\":[\"90\",\"00\",\"4\\\\d{6}|8\\\\d{11,12}|(?:[2-58]\\\\d\\\\d|900)\\\\d{7}\",[7,10,12,13],[[\"(\\\\d{3})(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3\",[\"512|8[01589]|90\"],\"0$1\",1],[\"(\\\\d{3})(\\\\d{3})(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3 $4\",[\"5(?:[0-59]|61)\",\"5(?:[0-59]|61[06])\",\"5(?:[0-59]|61[06]1)\"],\"0$1\",1],[\"(\\\\d{3})(\\\\d{3})(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3 $4\",[\"[24][1-8]|3[1-9]\"],\"(0$1)\",1],[\"(\\\\d{3})(\\\\d{3})(\\\\d{6,7})\",\"$1 $2 $3\",[\"80\"],\"0$1\",1]],\"0\",0,0,0,0,0,[0,[\"561(?:011|61\\\\d)\\\\d{4}|5(?:0[15-7]|1[06]|24|[34]\\\\d|5[1-59]|9[46])\\\\d{7}\",[10]]]],\"TT\":[\"1\",\"011\",\"(?:[58]\\\\d\\\\d|900)\\\\d{7}\",[10],0,\"1\",0,\"([2-46-8]\\\\d{6})$|1\",\"868$1\",0,\"868\",[0,[\"868(?:(?:2[5-9]|3\\\\d)\\\\d|4(?:3[0-6]|[6-9]\\\\d)|6(?:20|78|8\\\\d)|7(?:0[1-9]|1[02-9]|[2-9]\\\\d))\\\\d{4}\"]]],\"TV\":[\"688\",\"00\",\"(?:2|7\\\\d\\\\d|90)\\\\d{4}\",[5,6,7],[[\"(\\\\d{2})(\\\\d{3})\",\"$1 $2\",[\"2\"]],[\"(\\\\d{2})(\\\\d{4})\",\"$1 $2\",[\"90\"]],[\"(\\\\d{2})(\\\\d{5})\",\"$1 $2\",[\"7\"]]],0,0,0,0,0,0,[0,[\"(?:7[01]\\\\d|90)\\\\d{4}\",[6,7]]]],\"TW\":[\"886\",\"0(?:0[25-79]|19)\",\"[2-689]\\\\d{8}|7\\\\d{9,10}|[2-8]\\\\d{7}|2\\\\d{6}\",[7,8,9,10,11],[[\"(\\\\d{2})(\\\\d)(\\\\d{4})\",\"$1 $2 $3\",[\"202\"],\"0$1\"],[\"(\\\\d{2})(\\\\d{3})(\\\\d{3,4})\",\"$1 $2 $3\",[\"[258]0\"],\"0$1\"],[\"(\\\\d)(\\\\d{3,4})(\\\\d{4})\",\"$1 $2 $3\",[\"[23568]|4(?:0[02-48]|[1-47-9])|7[1-9]\",\"[23568]|4(?:0[2-48]|[1-47-9])|(?:400|7)[1-9]\"],\"0$1\"],[\"(\\\\d{3})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"[49]\"],\"0$1\"],[\"(\\\\d{2})(\\\\d{4})(\\\\d{4,5})\",\"$1 $2 $3\",[\"7\"],\"0$1\"]],\"0\",0,0,0,0,0,[0,[\"(?:40001[0-2]|9[0-8]\\\\d{4})\\\\d{3}\",[9]]],0,\"#\"],\"TZ\":[\"255\",\"00[056]\",\"(?:[25-8]\\\\d|41|90)\\\\d{7}\",[9],[[\"(\\\\d{3})(\\\\d{2})(\\\\d{4})\",\"$1 $2 $3\",[\"[89]\"],\"0$1\"],[\"(\\\\d{2})(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3\",[\"[24]\"],\"0$1\"],[\"(\\\\d{2})(\\\\d{7})\",\"$1 $2\",[\"5\"]],[\"(\\\\d{3})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"[67]\"],\"0$1\"]],\"0\",0,0,0,0,0,[0,[\"(?:6[125-9]|7[13-9])\\\\d{7}\"]]],\"UA\":[\"380\",\"00\",\"[89]\\\\d{9}|[3-9]\\\\d{8}\",[9,10],[[\"(\\\\d{3})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"6[12][29]|(?:3[1-8]|4[136-8]|5[12457]|6[49])2|(?:56|65)[24]\",\"6[12][29]|(?:35|4[1378]|5[12457]|6[49])2|(?:56|65)[24]|(?:3[1-46-8]|46)2[013-9]\"],\"0$1\"],[\"(\\\\d{4})(\\\\d{5})\",\"$1 $2\",[\"3[1-8]|4(?:[1367]|[45][6-9]|8[4-6])|5(?:[1-5]|6[0135689]|7[4-6])|6(?:[12][3-7]|[459])\",\"3[1-8]|4(?:[1367]|[45][6-9]|8[4-6])|5(?:[1-5]|6(?:[015689]|3[02389])|7[4-6])|6(?:[12][3-7]|[459])\"],\"0$1\"],[\"(\\\\d{2})(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3\",[\"[3-7]|89|9[1-9]\"],\"0$1\"],[\"(\\\\d{3})(\\\\d{3})(\\\\d{3,4})\",\"$1 $2 $3\",[\"[89]\"],\"0$1\"]],\"0\",0,0,0,0,0,[0,[\"790\\\\d{6}|(?:39|50|6[36-8]|7[1-357]|9[1-9])\\\\d{7}\",[9]]],\"0~0\"],\"UG\":[\"256\",\"00[057]\",\"800\\\\d{6}|(?:[29]0|[347]\\\\d)\\\\d{7}\",[9],[[\"(\\\\d{4})(\\\\d{5})\",\"$1 $2\",[\"202\",\"2024\"],\"0$1\"],[\"(\\\\d{3})(\\\\d{6})\",\"$1 $2\",[\"[27-9]|4(?:6[45]|[7-9])\"],\"0$1\"],[\"(\\\\d{2})(\\\\d{7})\",\"$1 $2\",[\"[34]\"],\"0$1\"]],\"0\",0,0,0,0,0,[0,[\"72[48]0\\\\d{5}|7(?:[015-8]\\\\d|2[067]|36|4[0-5]|9[89])\\\\d{6}\"]]],\"US\":[\"1\",\"011\",\"[2-9]\\\\d{9}|3\\\\d{6}\",[10],[[\"(\\\\d{3})(\\\\d{4})\",\"$1-$2\",[\"310\"],0,1],[\"(\\\\d{3})(\\\\d{3})(\\\\d{4})\",\"($1) $2-$3\",[\"[2-9]\"],0,1,\"$1-$2-$3\"]],\"1\",0,0,0,0,0,[0,[\"(?:3052(?:0[0-8]|[1-9]\\\\d)|5056(?:[0-35-9]\\\\d|4[468])|7302[0-4]\\\\d)\\\\d{4}|(?:305[3-9]|472[24]|505[2-57-9]|7306|983[2-47-9])\\\\d{6}|(?:2(?:0[1-35-9]|1[02-9]|2[03-57-9]|3[1459]|4[08]|5[1-46]|6[0279]|7[0269]|8[13])|3(?:0[1-47-9]|1[02-9]|2[013569]|3[0-24679]|4[167]|5[0-2]|6[01349]|8[056])|4(?:0[124-9]|1[02-579]|2[3-5]|3[0245]|4[023578]|58|6[349]|7[0589]|8[04])|5(?:0[1-47-9]|1[0235-8]|20|3[0149]|4[01]|5[179]|6[1-47]|7[0-5]|8[0256])|6(?:0[1-35-9]|1[024-9]|2[03689]|3[016]|4[0156]|5[01679]|6[0-279]|78|8[0-29])|7(?:0[1-46-8]|1[2-9]|2[04-8]|3[1247]|4[037]|5[47]|6[02359]|7[0-59]|8[156])|8(?:0[1-68]|1[02-8]|2[068]|3[0-2589]|4[03578]|5[046-9]|6[02-5]|7[028])|9(?:0[1346-9]|1[02-9]|2[0589]|3[0146-8]|4[01357-9]|5[12469]|7[0-389]|8[04-69]))[2-9]\\\\d{6}\"]]],\"UY\":[\"598\",\"0(?:0|1[3-9]\\\\d)\",\"0004\\\\d{2,9}|[1249]\\\\d{7}|(?:[49]\\\\d|80)\\\\d{5}\",[6,7,8,9,10,11,12,13],[[\"(\\\\d{3})(\\\\d{3,4})\",\"$1 $2\",[\"0\"]],[\"(\\\\d{3})(\\\\d{4})\",\"$1 $2\",[\"[49]0|8\"],\"0$1\"],[\"(\\\\d{2})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"9\"],\"0$1\"],[\"(\\\\d{4})(\\\\d{4})\",\"$1 $2\",[\"[124]\"]],[\"(\\\\d{3})(\\\\d{3})(\\\\d{2,4})\",\"$1 $2 $3\",[\"0\"]],[\"(\\\\d{3})(\\\\d{3})(\\\\d{3})(\\\\d{2,4})\",\"$1 $2 $3 $4\",[\"0\"]]],\"0\",0,0,0,0,0,[0,[\"9[1-9]\\\\d{6}\",[8]]],\"00\",\" int. \"],\"UZ\":[\"998\",\"00\",\"(?:20|33|[5-79]\\\\d|88)\\\\d{7}\",[9],[[\"(\\\\d{2})(\\\\d{3})(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3 $4\",[\"[235-9]\"]]],0,0,0,0,0,0,[0,[\"(?:(?:[25]0|33|88|9[0-57-9])\\\\d{3}|6(?:1(?:2(?:2[01]|98)|35[0-4]|50\\\\d|61[23]|7(?:[01][017]|4\\\\d|55|9[5-9]))|2(?:(?:11|7\\\\d)\\\\d|2(?:[12]1|9[01379])|5(?:[126]\\\\d|3[0-4]))|5(?:19[01]|2(?:27|9[26])|(?:30|59|7\\\\d)\\\\d)|6(?:2(?:1[5-9]|2[0367]|38|41|52|60)|(?:3[79]|9[0-3])\\\\d|4(?:56|83)|7(?:[07]\\\\d|1[017]|3[07]|4[047]|5[057]|67|8[0178]|9[79]))|7(?:2(?:24|3[237]|4[5-9]|7[15-8])|5(?:7[12]|8[0589])|7(?:0\\\\d|[39][07])|9(?:0\\\\d|7[079])))|7(?:[07]\\\\d{3}|1(?:13[01]|6(?:0[47]|1[67]|66)|71[3-69]|98\\\\d)|2(?:2(?:2[79]|95)|3(?:2[5-9]|6[0-6])|57\\\\d|7(?:0\\\\d|1[17]|2[27]|3[37]|44|5[057]|66|88))|3(?:2(?:1[0-6]|21|3[469]|7[159])|(?:33|9[4-6])\\\\d|5(?:0[0-4]|5[579]|9\\\\d)|7(?:[0-3579]\\\\d|4[0467]|6[67]|8[078]))|4(?:2(?:29|5[0257]|6[0-7]|7[1-57])|5(?:1[0-4]|8\\\\d|9[5-9])|7(?:0\\\\d|1[024589]|2[0-27]|3[0137]|[46][07]|5[01]|7[5-9]|9[079])|9(?:7[015-9]|[89]\\\\d))|5(?:112|2(?:0\\\\d|2[29]|[49]4)|3[1568]\\\\d|52[6-9]|7(?:0[01578]|1[017]|[23]7|4[047]|[5-7]\\\\d|8[78]|9[079]))|9(?:22[128]|3(?:2[0-4]|7\\\\d)|57[02569]|7(?:2[05-9]|3[37]|4\\\\d|60|7[2579]|87|9[07]))))\\\\d{4}\"]]],\"VA\":[\"39\",\"00\",\"0\\\\d{5,10}|3[0-8]\\\\d{7,10}|55\\\\d{8}|8\\\\d{5}(?:\\\\d{2,4})?|(?:1\\\\d|39)\\\\d{7,8}\",[6,7,8,9,10,11,12],0,0,0,0,0,0,\"06698\",[0,[\"3[1-9]\\\\d{8}|3[2-9]\\\\d{7}\",[9,10]]]],\"VC\":[\"1\",\"011\",\"(?:[58]\\\\d\\\\d|784|900)\\\\d{7}\",[10],0,\"1\",0,\"([2-7]\\\\d{6})$|1\",\"784$1\",0,\"784\",[0,[\"784(?:4(?:3[0-5]|5[45]|89|9[0-8])|5(?:2[6-9]|3[0-4])|720)\\\\d{4}\"]]],\"VE\":[\"58\",\"00\",\"[68]00\\\\d{7}|(?:[24]\\\\d|[59]0)\\\\d{8}\",[10],[[\"(\\\\d{3})(\\\\d{7})\",\"$1-$2\",[\"[24-689]\"],\"0$1\"]],\"0\",0,0,0,0,0,[0,[\"4(?:1[24-8]|2[46])\\\\d{7}\"]]],\"VG\":[\"1\",\"011\",\"(?:284|[58]\\\\d\\\\d|900)\\\\d{7}\",[10],0,\"1\",0,\"([2-578]\\\\d{6})$|1\",\"284$1\",0,\"284\",[0,[\"284(?:245|3(?:0[0-3]|4[0-7]|68|9[34])|4(?:4[0-6]|68|9[69])|5(?:4[0-7]|68|9[69]))\\\\d{4}\"]]],\"VI\":[\"1\",\"011\",\"[58]\\\\d{9}|(?:34|90)0\\\\d{7}\",[10],0,\"1\",0,\"([2-9]\\\\d{6})$|1\",\"340$1\",0,\"340\",[0,[\"340(?:2(?:0\\\\d|10|2[06-8]|4[49]|77)|3(?:32|44)|4(?:2[23]|44|7[34]|89)|5(?:1[34]|55)|6(?:2[56]|4[23]|77|9[023])|7(?:1[2-57-9]|2[57]|7\\\\d)|884|998)\\\\d{4}\"]]],\"VN\":[\"84\",\"00\",\"[12]\\\\d{9}|[135-9]\\\\d{8}|[16]\\\\d{7}|[16-8]\\\\d{6}\",[7,8,9,10],[[\"(\\\\d{2})(\\\\d{5})\",\"$1 $2\",[\"80\"],\"0$1\",1],[\"(\\\\d{4})(\\\\d{4,6})\",\"$1 $2\",[\"1\"],0,1],[\"(\\\\d{2})(\\\\d{3})(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3 $4\",[\"6\"],\"0$1\",1],[\"(\\\\d{3})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"[357-9]\"],\"0$1\",1],[\"(\\\\d{2})(\\\\d{4})(\\\\d{4})\",\"$1 $2 $3\",[\"2[48]\"],\"0$1\",1],[\"(\\\\d{3})(\\\\d{4})(\\\\d{3})\",\"$1 $2 $3\",[\"2\"],\"0$1\",1]],\"0\",0,0,0,0,0,[0,[\"(?:5(?:2[238]|59)|89[6-9]|99[013-9])\\\\d{6}|(?:3\\\\d|5[1689]|7[06-9]|8[1-8]|9[0-8])\\\\d{7}\",[9]]]],\"VU\":[\"678\",\"00\",\"[57-9]\\\\d{6}|(?:[238]\\\\d|48)\\\\d{3}\",[5,7],[[\"(\\\\d{3})(\\\\d{4})\",\"$1 $2\",[\"[57-9]\"]]],0,0,0,0,0,0,[0,[\"(?:[58]\\\\d|7[013-7])\\\\d{5}\",[7]]]],\"WF\":[\"681\",\"00\",\"(?:40|72)\\\\d{4}|8\\\\d{5}(?:\\\\d{3})?\",[6,9],[[\"(\\\\d{2})(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3\",[\"[478]\"]],[\"(\\\\d{3})(\\\\d{2})(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3 $4\",[\"8\"]]],0,0,0,0,0,0,[0,[\"(?:72|8[23])\\\\d{4}\",[6]]]],\"WS\":[\"685\",\"0\",\"(?:[2-6]|8\\\\d{5})\\\\d{4}|[78]\\\\d{6}|[68]\\\\d{5}\",[5,6,7,10],[[\"(\\\\d{5})\",\"$1\",[\"[2-5]|6[1-9]\"]],[\"(\\\\d{3})(\\\\d{3,7})\",\"$1 $2\",[\"[68]\"]],[\"(\\\\d{2})(\\\\d{5})\",\"$1 $2\",[\"7\"]]],0,0,0,0,0,0,[0,[\"(?:7[1-35-7]|8(?:[3-7]|9\\\\d{3}))\\\\d{5}\",[7,10]]]],\"XK\":[\"383\",\"00\",\"2\\\\d{7,8}|3\\\\d{7,11}|(?:4\\\\d\\\\d|[89]00)\\\\d{5}\",[8,9,10,11,12],[[\"(\\\\d{3})(\\\\d{5})\",\"$1 $2\",[\"[89]\"],\"0$1\"],[\"(\\\\d{2})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"[2-4]\"],\"0$1\"],[\"(\\\\d{3})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"2|39\"],\"0$1\"],[\"(\\\\d{2})(\\\\d{7,10})\",\"$1 $2\",[\"3\"],\"0$1\"]],\"0\",0,0,0,0,0,[0,[\"4[3-9]\\\\d{6}\",[8]]]],\"YE\":[\"967\",\"00\",\"(?:1|7\\\\d)\\\\d{7}|[1-7]\\\\d{6}\",[7,8,9],[[\"(\\\\d)(\\\\d{3})(\\\\d{3,4})\",\"$1 $2 $3\",[\"[1-6]|7(?:[24-6]|8[0-7])\"],\"0$1\"],[\"(\\\\d{3})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"7\"],\"0$1\"]],\"0\",0,0,0,0,0,[0,[\"7[01378]\\\\d{7}\",[9]]]],\"YT\":[\"262\",\"00\",\"(?:80|9\\\\d)\\\\d{7}|(?:26|63)9\\\\d{6}\",[9],0,\"0\",0,0,0,0,0,[0,[\"639(?:0[0-79]|1[019]|[267]\\\\d|3[09]|40|5[05-9]|9[04-79])\\\\d{4}\"]]],\"ZA\":[\"27\",\"00\",\"[1-79]\\\\d{8}|8\\\\d{4,9}\",[5,6,7,8,9,10],[[\"(\\\\d{2})(\\\\d{3,4})\",\"$1 $2\",[\"8[1-4]\"],\"0$1\"],[\"(\\\\d{2})(\\\\d{3})(\\\\d{2,3})\",\"$1 $2 $3\",[\"8[1-4]\"],\"0$1\"],[\"(\\\\d{3})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"860\"],\"0$1\"],[\"(\\\\d{2})(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3\",[\"[1-9]\"],\"0$1\"],[\"(\\\\d{3})(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3\",[\"8\"],\"0$1\"]],\"0\",0,0,0,0,0,[0,[\"(?:1(?:3492[0-25]|4495[0235]|549(?:20|5[01]))|4[34]492[01])\\\\d{3}|8[1-4]\\\\d{3,7}|(?:2[27]|47|54)4950\\\\d{3}|(?:1(?:049[2-4]|9[12]\\\\d\\\\d)|(?:6\\\\d\\\\d|7(?:[0-46-9]\\\\d|5[0-4]))\\\\d\\\\d|8(?:5\\\\d{3}|7(?:08[67]|158|28[5-9]|310)))\\\\d{4}|(?:1[6-8]|28|3[2-69]|4[025689]|5[36-8])4920\\\\d{3}|(?:12|[2-5]1)492\\\\d{4}\",[5,6,7,8,9]]]],\"ZM\":[\"260\",\"00\",\"800\\\\d{6}|(?:21|63|[79]\\\\d)\\\\d{7}\",[9],[[\"(\\\\d{3})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"[28]\"],\"0$1\"],[\"(\\\\d{2})(\\\\d{7})\",\"$1 $2\",[\"[79]\"],\"0$1\"]],\"0\",0,0,0,0,0,[0,[\"(?:7[5-79]|9[5-8])\\\\d{7}\"]]],\"ZW\":[\"263\",\"00\",\"2(?:[0-57-9]\\\\d{6,8}|6[0-24-9]\\\\d{6,7})|[38]\\\\d{9}|[35-8]\\\\d{8}|[3-6]\\\\d{7}|[1-689]\\\\d{6}|[1-3569]\\\\d{5}|[1356]\\\\d{4}\",[5,6,7,8,9,10],[[\"(\\\\d{3})(\\\\d{3,5})\",\"$1 $2\",[\"2(?:0[45]|2[278]|[49]8)|3(?:[09]8|17)|6(?:[29]8|37|75)|[23][78]|(?:33|5[15]|6[68])[78]\"],\"0$1\"],[\"(\\\\d)(\\\\d{3})(\\\\d{2,4})\",\"$1 $2 $3\",[\"[49]\"],\"0$1\"],[\"(\\\\d{3})(\\\\d{4})\",\"$1 $2\",[\"80\"],\"0$1\"],[\"(\\\\d{2})(\\\\d{7})\",\"$1 $2\",[\"24|8[13-59]|(?:2[05-79]|39|5[45]|6[15-8])2\",\"2(?:02[014]|4|[56]20|[79]2)|392|5(?:42|525)|6(?:[16-8]21|52[013])|8[13-59]\"],\"(0$1)\"],[\"(\\\\d{2})(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3\",[\"7\"],\"0$1\"],[\"(\\\\d{3})(\\\\d{3})(\\\\d{3,4})\",\"$1 $2 $3\",[\"2(?:1[39]|2[0157]|[378]|[56][14])|3(?:12|29)\",\"2(?:1[39]|2[0157]|[378]|[56][14])|3(?:123|29)\"],\"0$1\"],[\"(\\\\d{4})(\\\\d{6})\",\"$1 $2\",[\"8\"],\"0$1\"],[\"(\\\\d{2})(\\\\d{3,5})\",\"$1 $2\",[\"1|2(?:0[0-36-9]|12|29|[56])|3(?:1[0-689]|[24-6])|5(?:[0236-9]|1[2-4])|6(?:[013-59]|7[0-46-9])|(?:33|55|6[68])[0-69]|(?:29|3[09]|62)[0-79]\"],\"0$1\"],[\"(\\\\d{2})(\\\\d{3})(\\\\d{3,4})\",\"$1 $2 $3\",[\"29[013-9]|39|54\"],\"0$1\"],[\"(\\\\d{4})(\\\\d{3,5})\",\"$1 $2\",[\"(?:25|54)8\",\"258|5483\"],\"0$1\"]],\"0\",0,0,0,0,0,[0,[\"7(?:[1278]\\\\d|3[1-9])\\\\d{6}\",[9]]]]},\"nonGeographic\":{\"800\":[\"800\",0,\"(?:00|[1-9]\\\\d)\\\\d{6}\",[8],[[\"(\\\\d{4})(\\\\d{4})\",\"$1 $2\",[\"\\\\d\"]]],0,0,0,0,0,0,[0,0,[\"(?:00|[1-9]\\\\d)\\\\d{6}\"]]],\"808\":[\"808\",0,\"[1-9]\\\\d{7}\",[8],[[\"(\\\\d{4})(\\\\d{4})\",\"$1 $2\",[\"[1-9]\"]]],0,0,0,0,0,0,[0,0,0,0,0,0,0,0,0,[\"[1-9]\\\\d{7}\"]]],\"870\":[\"870\",0,\"7\\\\d{11}|[35-7]\\\\d{8}\",[9,12],[[\"(\\\\d{3})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"[35-7]\"]]],0,0,0,0,0,0,[0,[\"(?:[356]|774[45])\\\\d{8}|7[6-8]\\\\d{7}\"]]],\"878\":[\"878\",0,\"10\\\\d{10}\",[12],[[\"(\\\\d{2})(\\\\d{5})(\\\\d{5})\",\"$1 $2 $3\",[\"1\"]]],0,0,0,0,0,0,[0,0,0,0,0,0,0,0,[\"10\\\\d{10}\"]]],\"881\":[\"881\",0,\"6\\\\d{9}|[0-36-9]\\\\d{8}\",[9,10],[[\"(\\\\d)(\\\\d{3})(\\\\d{5})\",\"$1 $2 $3\",[\"[0-37-9]\"]],[\"(\\\\d)(\\\\d{3})(\\\\d{5,6})\",\"$1 $2 $3\",[\"6\"]]],0,0,0,0,0,0,[0,[\"6\\\\d{9}|[0-36-9]\\\\d{8}\"]]],\"882\":[\"882\",0,\"[13]\\\\d{6}(?:\\\\d{2,5})?|[19]\\\\d{7}|(?:[25]\\\\d\\\\d|4)\\\\d{7}(?:\\\\d{2})?\",[7,8,9,10,11,12],[[\"(\\\\d{2})(\\\\d{5})\",\"$1 $2\",[\"16|342\"]],[\"(\\\\d{2})(\\\\d{6})\",\"$1 $2\",[\"49\"]],[\"(\\\\d{2})(\\\\d{2})(\\\\d{4})\",\"$1 $2 $3\",[\"1[36]|9\"]],[\"(\\\\d{2})(\\\\d{4})(\\\\d{3})\",\"$1 $2 $3\",[\"3[23]\"]],[\"(\\\\d{2})(\\\\d{3,4})(\\\\d{4})\",\"$1 $2 $3\",[\"16\"]],[\"(\\\\d{2})(\\\\d{4})(\\\\d{4})\",\"$1 $2 $3\",[\"10|23|3(?:[15]|4[57])|4|51\"]],[\"(\\\\d{3})(\\\\d{4})(\\\\d{4})\",\"$1 $2 $3\",[\"34\"]],[\"(\\\\d{2})(\\\\d{4,5})(\\\\d{5})\",\"$1 $2 $3\",[\"[1-35]\"]]],0,0,0,0,0,0,[0,[\"342\\\\d{4}|(?:337|49)\\\\d{6}|(?:3(?:2|47|7\\\\d{3})|50\\\\d{3})\\\\d{7}\",[7,8,9,10,12]],0,0,0,[\"348[57]\\\\d{7}\",[11]],0,0,[\"1(?:3(?:0[0347]|[13][0139]|2[035]|4[013568]|6[0459]|7[06]|8[15-8]|9[0689])\\\\d{4}|6\\\\d{5,10})|(?:345\\\\d|9[89])\\\\d{6}|(?:10|2(?:3|85\\\\d)|3(?:[15]|[69]\\\\d\\\\d)|4[15-8]|51)\\\\d{8}\"]]],\"883\":[\"883\",0,\"(?:[1-4]\\\\d|51)\\\\d{6,10}\",[8,9,10,11,12],[[\"(\\\\d{3})(\\\\d{3})(\\\\d{2,8})\",\"$1 $2 $3\",[\"[14]|2[24-689]|3[02-689]|51[24-9]\"]],[\"(\\\\d{3})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"510\"]],[\"(\\\\d{3})(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3\",[\"21\"]],[\"(\\\\d{4})(\\\\d{4})(\\\\d{4})\",\"$1 $2 $3\",[\"51[13]\"]],[\"(\\\\d{3})(\\\\d{3})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3 $4\",[\"[235]\"]]],0,0,0,0,0,0,[0,0,0,0,0,0,0,0,[\"(?:2(?:00\\\\d\\\\d|10)|(?:370[1-9]|51\\\\d0)\\\\d)\\\\d{7}|51(?:00\\\\d{5}|[24-9]0\\\\d{4,7})|(?:1[0-79]|2[24-689]|3[02-689]|4[0-4])0\\\\d{5,9}\"]]],\"888\":[\"888\",0,\"\\\\d{11}\",[11],[[\"(\\\\d{3})(\\\\d{3})(\\\\d{5})\",\"$1 $2 $3\"]],0,0,0,0,0,0,[0,0,0,0,0,0,[\"\\\\d{11}\"]]],\"979\":[\"979\",0,\"[1359]\\\\d{8}\",[9],[[\"(\\\\d)(\\\\d{4})(\\\\d{4})\",\"$1 $2 $3\",[\"[1359]\"]]],0,0,0,0,0,0,[0,0,0,[\"[1359]\\\\d{8}\"]]]}}","const objectConstructor = {}.constructor;\r\n\r\nexport default function isObject(object) {\r\n return object !== undefined && object !== null && object.constructor === objectConstructor;\r\n}\r\n","import isObject from './helpers/isObject.js'\r\n\r\n// Extracts the following properties from function arguments:\r\n// * input `text`\r\n// * `options` object\r\n// * `metadata` JSON\r\nexport default function normalizeArguments(args) {\r\n\tconst [arg_1, arg_2, arg_3, arg_4] = Array.prototype.slice.call(args)\r\n\r\n\tlet text\r\n\tlet options\r\n\tlet metadata\r\n\r\n\t// If the phone number is passed as a string.\r\n\t// `parsePhoneNumber('88005553535', ...)`.\r\n\tif (typeof arg_1 === 'string') {\r\n\t\ttext = arg_1\r\n\t}\r\n\telse throw new TypeError('A text for parsing must be a string.')\r\n\r\n\t// If \"default country\" argument is being passed then move it to `options`.\r\n\t// `parsePhoneNumber('88005553535', 'RU', [options], metadata)`.\r\n\tif (!arg_2 || typeof arg_2 === 'string')\r\n\t{\r\n\t\tif (arg_4) {\r\n\t\t\toptions = arg_3\r\n\t\t\tmetadata = arg_4\r\n\t\t} else {\r\n\t\t\toptions = undefined\r\n\t\t\tmetadata = arg_3\r\n\t\t}\r\n\r\n\t\tif (arg_2) {\r\n\t\t\toptions = { defaultCountry: arg_2, ...options }\r\n\t\t}\r\n\t}\r\n\t// `defaultCountry` is not passed.\r\n\t// Example: `parsePhoneNumber('+78005553535', [options], metadata)`.\r\n\telse if (isObject(arg_2))\r\n\t{\r\n\t\tif (arg_3) {\r\n\t\t\toptions = arg_2\r\n\t\t\tmetadata = arg_3\r\n\t\t} else {\r\n\t\t\tmetadata = arg_2\r\n\t\t}\r\n\t}\r\n\telse throw new Error(`Invalid second argument: ${arg_2}`)\r\n\r\n\treturn {\r\n\t\ttext,\r\n\t\toptions,\r\n\t\tmetadata\r\n\t}\r\n}","// The minimum length of the national significant number.\r\nexport const MIN_LENGTH_FOR_NSN = 2\r\n\r\n// The ITU says the maximum length should be 15,\r\n// but one can find longer numbers in Germany.\r\nexport const MAX_LENGTH_FOR_NSN = 17\r\n\r\n// The maximum length of the country calling code.\r\nexport const MAX_LENGTH_COUNTRY_CODE = 3\r\n\r\n// Digits accepted in phone numbers\r\n// (ascii, fullwidth, arabic-indic, and eastern arabic digits).\r\nexport const VALID_DIGITS = '0-9\\uFF10-\\uFF19\\u0660-\\u0669\\u06F0-\\u06F9'\r\n\r\n// `DASHES` will be right after the opening square bracket of the \"character class\"\r\nconst DASHES = '-\\u2010-\\u2015\\u2212\\u30FC\\uFF0D'\r\nconst SLASHES = '\\uFF0F/'\r\nconst DOTS = '\\uFF0E.'\r\nexport const WHITESPACE = ' \\u00A0\\u00AD\\u200B\\u2060\\u3000'\r\nconst BRACKETS = '()\\uFF08\\uFF09\\uFF3B\\uFF3D\\\\[\\\\]'\r\n// export const OPENING_BRACKETS = '(\\uFF08\\uFF3B\\\\\\['\r\nconst TILDES = '~\\u2053\\u223C\\uFF5E'\r\n\r\n// Regular expression of acceptable punctuation found in phone numbers. This\r\n// excludes punctuation found as a leading character only. This consists of dash\r\n// characters, white space characters, full stops, slashes, square brackets,\r\n// parentheses and tildes. Full-width variants are also present.\r\nexport const VALID_PUNCTUATION = `${DASHES}${SLASHES}${DOTS}${WHITESPACE}${BRACKETS}${TILDES}`\r\n\r\nexport const PLUS_CHARS = '+\\uFF0B'\r\n// const LEADING_PLUS_CHARS_PATTERN = new RegExp('^[' + PLUS_CHARS + ']+')","// https://stackoverflow.com/a/46971044/970769\r\n// \"Breaking changes in Typescript 2.1\"\r\n// \"Extending built-ins like Error, Array, and Map may no longer work.\"\r\n// \"As a recommendation, you can manually adjust the prototype immediately after any super(...) calls.\"\r\n// https://github.com/Microsoft/TypeScript-wiki/blob/main/Breaking-Changes.md#extending-built-ins-like-error-array-and-map-may-no-longer-work\r\nexport default class ParseError extends Error {\r\n constructor(code) {\r\n super(code)\r\n // Set the prototype explicitly.\r\n // Any subclass of FooError will have to manually set the prototype as well.\r\n Object.setPrototypeOf(this, ParseError.prototype)\r\n this.name = this.constructor.name\r\n }\r\n}","// Copy-pasted from:\r\n// https://github.com/substack/semver-compare/blob/master/index.js\r\n//\r\n// Inlining this function because some users reported issues with\r\n// importing from `semver-compare` in a browser with ES6 \"native\" modules.\r\n//\r\n// Fixes `semver-compare` not being able to compare versions with alpha/beta/etc \"tags\".\r\n// https://github.com/catamphetamine/libphonenumber-js/issues/381\r\nexport default function(a, b) {\r\n a = a.split('-')\r\n b = b.split('-')\r\n var pa = a[0].split('.')\r\n var pb = b[0].split('.')\r\n for (var i = 0; i < 3; i++) {\r\n var na = Number(pa[i])\r\n var nb = Number(pb[i])\r\n if (na > nb) return 1\r\n if (nb > na) return -1\r\n if (!isNaN(na) && isNaN(nb)) return 1\r\n if (isNaN(na) && !isNaN(nb)) return -1\r\n }\r\n if (a[1] && b[1]) {\r\n return a[1] > b[1] ? 1 : (a[1] < b[1] ? -1 : 0)\r\n }\r\n return !a[1] && b[1] ? 1 : (a[1] && !b[1] ? -1 : 0)\r\n}","import compare from './tools/semver-compare.js'\r\nimport isObject from './helpers/isObject.js'\r\n\r\n// Added \"possibleLengths\" and renamed\r\n// \"country_phone_code_to_countries\" to \"country_calling_codes\".\r\nconst V2 = '1.0.18'\r\n\r\n// Added \"idd_prefix\" and \"default_idd_prefix\".\r\nconst V3 = '1.2.0'\r\n\r\n// Moved `001` country code to \"nonGeographic\" section of metadata.\r\nconst V4 = '1.7.35'\r\n\r\nconst DEFAULT_EXT_PREFIX = ' ext. '\r\n\r\nconst CALLING_CODE_REG_EXP = /^\\d+$/\r\n\r\n/**\r\n * See: https://gitlab.com/catamphetamine/libphonenumber-js/blob/master/METADATA.md\r\n */\r\nexport default class Metadata {\r\n\tconstructor(metadata) {\r\n\t\tvalidateMetadata(metadata)\r\n\t\tthis.metadata = metadata\r\n\t\tsetVersion.call(this, metadata)\r\n\t}\r\n\r\n\tgetCountries() {\r\n\t\treturn Object.keys(this.metadata.countries).filter(_ => _ !== '001')\r\n\t}\r\n\r\n\tgetCountryMetadata(countryCode) {\r\n\t\treturn this.metadata.countries[countryCode]\r\n\t}\r\n\r\n\tnonGeographic() {\r\n\t\tif (this.v1 || this.v2 || this.v3) return\r\n\t\t// `nonGeographical` was a typo.\r\n\t\t// It's present in metadata generated from `1.7.35` to `1.7.37`.\r\n\t\t// The test case could be found by searching for \"nonGeographical\".\r\n\t\treturn this.metadata.nonGeographic || this.metadata.nonGeographical\r\n\t}\r\n\r\n\thasCountry(country) {\r\n\t\treturn this.getCountryMetadata(country) !== undefined\r\n\t}\r\n\r\n\thasCallingCode(callingCode) {\r\n\t\tif (this.getCountryCodesForCallingCode(callingCode)) {\r\n\t\t\treturn true\r\n\t\t}\r\n\t\tif (this.nonGeographic()) {\r\n\t\t\tif (this.nonGeographic()[callingCode]) {\r\n\t\t\t\treturn true\r\n\t\t\t}\r\n\t\t} else {\r\n\t\t\t// A hacky workaround for old custom metadata (generated before V4).\r\n\t\t\tconst countryCodes = this.countryCallingCodes()[callingCode]\r\n\t\t\tif (countryCodes && countryCodes.length === 1 && countryCodes[0] === '001') {\r\n\t\t\t\treturn true\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\r\n\tisNonGeographicCallingCode(callingCode) {\r\n\t\tif (this.nonGeographic()) {\r\n\t\t\treturn this.nonGeographic()[callingCode] ? true : false\r\n\t\t} else {\r\n\t\t\treturn this.getCountryCodesForCallingCode(callingCode) ? false : true\r\n\t\t}\r\n\t}\r\n\r\n\t// Deprecated.\r\n\tcountry(countryCode) {\r\n\t\treturn this.selectNumberingPlan(countryCode)\r\n\t}\r\n\r\n\tselectNumberingPlan(countryCode, callingCode) {\r\n\t\t// Supports just passing `callingCode` as the first argument.\r\n\t\tif (countryCode && CALLING_CODE_REG_EXP.test(countryCode)) {\r\n\t\t\tcallingCode = countryCode\r\n\t\t\tcountryCode = null\r\n\t\t}\r\n\t\tif (countryCode && countryCode !== '001') {\r\n\t\t\tif (!this.hasCountry(countryCode)) {\r\n\t\t\t\tthrow new Error(`Unknown country: ${countryCode}`)\r\n\t\t\t}\r\n\t\t\tthis.numberingPlan = new NumberingPlan(this.getCountryMetadata(countryCode), this)\r\n\t\t} else if (callingCode) {\r\n\t\t\tif (!this.hasCallingCode(callingCode)) {\r\n\t\t\t\tthrow new Error(`Unknown calling code: ${callingCode}`)\r\n\t\t\t}\r\n\t\t\tthis.numberingPlan = new NumberingPlan(this.getNumberingPlanMetadata(callingCode), this)\r\n\t\t} else {\r\n\t\t\tthis.numberingPlan = undefined\r\n\t\t}\r\n\t\treturn this\r\n\t}\r\n\r\n\tgetCountryCodesForCallingCode(callingCode) {\r\n\t\tconst countryCodes = this.countryCallingCodes()[callingCode]\r\n\t\tif (countryCodes) {\r\n\t\t\t// Metadata before V4 included \"non-geographic entity\" calling codes\r\n\t\t\t// inside `country_calling_codes` (for example, `\"881\":[\"001\"]`).\r\n\t\t\t// Now the semantics of `country_calling_codes` has changed:\r\n\t\t\t// it's specifically for \"countries\" now.\r\n\t\t\t// Older versions of custom metadata will simply skip parsing\r\n\t\t\t// \"non-geographic entity\" phone numbers with new versions\r\n\t\t\t// of this library: it's not considered a bug,\r\n\t\t\t// because such numbers are extremely rare,\r\n\t\t\t// and developers extremely rarely use custom metadata.\r\n\t\t\tif (countryCodes.length === 1 && countryCodes[0].length === 3) {\r\n\t\t\t\treturn\r\n\t\t\t}\r\n\t\t\treturn countryCodes\r\n\t\t}\r\n\t}\r\n\r\n\tgetCountryCodeForCallingCode(callingCode) {\r\n\t\tconst countryCodes = this.getCountryCodesForCallingCode(callingCode)\r\n\t\tif (countryCodes) {\r\n\t\t\treturn countryCodes[0]\r\n\t\t}\r\n\t}\r\n\r\n\tgetNumberingPlanMetadata(callingCode) {\r\n\t\tconst countryCode = this.getCountryCodeForCallingCode(callingCode)\r\n\t\tif (countryCode) {\r\n\t\t\treturn this.getCountryMetadata(countryCode)\r\n\t\t}\r\n\t\tif (this.nonGeographic()) {\r\n\t\t\tconst metadata = this.nonGeographic()[callingCode]\r\n\t\t\tif (metadata) {\r\n\t\t\t\treturn metadata\r\n\t\t\t}\r\n\t\t} else {\r\n\t\t\t// A hacky workaround for old custom metadata (generated before V4).\r\n\t\t\t// In that metadata, there was no concept of \"non-geographic\" metadata\r\n\t\t\t// so metadata for `001` country code was stored along with other countries.\r\n\t\t\t// The test case can be found by searching for:\r\n\t\t\t// \"should work around `nonGeographic` metadata not existing\".\r\n\t\t\tconst countryCodes = this.countryCallingCodes()[callingCode]\r\n\t\t\tif (countryCodes && countryCodes.length === 1 && countryCodes[0] === '001') {\r\n\t\t\t\treturn this.metadata.countries['001']\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\r\n\t// Deprecated.\r\n\tcountryCallingCode() {\r\n\t\treturn this.numberingPlan.callingCode()\r\n\t}\r\n\r\n\t// Deprecated.\r\n\tIDDPrefix() {\r\n\t\treturn this.numberingPlan.IDDPrefix()\r\n\t}\r\n\r\n\t// Deprecated.\r\n\tdefaultIDDPrefix() {\r\n\t\treturn this.numberingPlan.defaultIDDPrefix()\r\n\t}\r\n\r\n\t// Deprecated.\r\n\tnationalNumberPattern() {\r\n\t\treturn this.numberingPlan.nationalNumberPattern()\r\n\t}\r\n\r\n\t// Deprecated.\r\n\tpossibleLengths() {\r\n\t\treturn this.numberingPlan.possibleLengths()\r\n\t}\r\n\r\n\t// Deprecated.\r\n\tformats() {\r\n\t\treturn this.numberingPlan.formats()\r\n\t}\r\n\r\n\t// Deprecated.\r\n\tnationalPrefixForParsing() {\r\n\t\treturn this.numberingPlan.nationalPrefixForParsing()\r\n\t}\r\n\r\n\t// Deprecated.\r\n\tnationalPrefixTransformRule() {\r\n\t\treturn this.numberingPlan.nationalPrefixTransformRule()\r\n\t}\r\n\r\n\t// Deprecated.\r\n\tleadingDigits() {\r\n\t\treturn this.numberingPlan.leadingDigits()\r\n\t}\r\n\r\n\t// Deprecated.\r\n\thasTypes() {\r\n\t\treturn this.numberingPlan.hasTypes()\r\n\t}\r\n\r\n\t// Deprecated.\r\n\ttype(type) {\r\n\t\treturn this.numberingPlan.type(type)\r\n\t}\r\n\r\n\t// Deprecated.\r\n\text() {\r\n\t\treturn this.numberingPlan.ext()\r\n\t}\r\n\r\n\tcountryCallingCodes() {\r\n\t\tif (this.v1) return this.metadata.country_phone_code_to_countries\r\n\t\treturn this.metadata.country_calling_codes\r\n\t}\r\n\r\n\t// Deprecated.\r\n\tchooseCountryByCountryCallingCode(callingCode) {\r\n\t\treturn this.selectNumberingPlan(callingCode)\r\n\t}\r\n\r\n\thasSelectedNumberingPlan() {\r\n\t\treturn this.numberingPlan !== undefined\r\n\t}\r\n}\r\n\r\nclass NumberingPlan {\r\n\tconstructor(metadata, globalMetadataObject) {\r\n\t\tthis.globalMetadataObject = globalMetadataObject\r\n\t\tthis.metadata = metadata\r\n\t\tsetVersion.call(this, globalMetadataObject.metadata)\r\n\t}\r\n\r\n\tcallingCode() {\r\n\t\treturn this.metadata[0]\r\n\t}\r\n\r\n\t// Formatting information for regions which share\r\n\t// a country calling code is contained by only one region\r\n\t// for performance reasons. For example, for NANPA region\r\n\t// (\"North American Numbering Plan Administration\",\r\n\t// which includes USA, Canada, Cayman Islands, Bahamas, etc)\r\n\t// it will be contained in the metadata for `US`.\r\n\tgetDefaultCountryMetadataForRegion() {\r\n\t\treturn this.globalMetadataObject.getNumberingPlanMetadata(this.callingCode())\r\n\t}\r\n\r\n\t// Is always present.\r\n\tIDDPrefix() {\r\n\t\tif (this.v1 || this.v2) return\r\n\t\treturn this.metadata[1]\r\n\t}\r\n\r\n\t// Is only present when a country supports multiple IDD prefixes.\r\n\tdefaultIDDPrefix() {\r\n\t\tif (this.v1 || this.v2) return\r\n\t\treturn this.metadata[12]\r\n\t}\r\n\r\n\tnationalNumberPattern() {\r\n\t\tif (this.v1 || this.v2) return this.metadata[1]\r\n\t\treturn this.metadata[2]\r\n\t}\r\n\r\n\t// \"possible length\" data is always present in Google's metadata.\r\n\tpossibleLengths() {\r\n\t\tif (this.v1) return\r\n\t\treturn this.metadata[this.v2 ? 2 : 3]\r\n\t}\r\n\r\n\t_getFormats(metadata) {\r\n\t\treturn metadata[this.v1 ? 2 : this.v2 ? 3 : 4]\r\n\t}\r\n\r\n\t// For countries of the same region (e.g. NANPA)\r\n\t// formats are all stored in the \"main\" country for that region.\r\n\t// E.g. \"RU\" and \"KZ\", \"US\" and \"CA\".\r\n\tformats() {\r\n\t\tconst formats = this._getFormats(this.metadata) || this._getFormats(this.getDefaultCountryMetadataForRegion()) || []\r\n\t\treturn formats.map(_ => new Format(_, this))\r\n\t}\r\n\r\n\tnationalPrefix() {\r\n\t\treturn this.metadata[this.v1 ? 3 : this.v2 ? 4 : 5]\r\n\t}\r\n\r\n\t_getNationalPrefixFormattingRule(metadata) {\r\n\t\treturn metadata[this.v1 ? 4 : this.v2 ? 5 : 6]\r\n\t}\r\n\r\n\t// For countries of the same region (e.g. NANPA)\r\n\t// national prefix formatting rule is stored in the \"main\" country for that region.\r\n\t// E.g. \"RU\" and \"KZ\", \"US\" and \"CA\".\r\n\tnationalPrefixFormattingRule() {\r\n\t\treturn this._getNationalPrefixFormattingRule(this.metadata) || this._getNationalPrefixFormattingRule(this.getDefaultCountryMetadataForRegion())\r\n\t}\r\n\r\n\t_nationalPrefixForParsing() {\r\n\t\treturn this.metadata[this.v1 ? 5 : this.v2 ? 6 : 7]\r\n\t}\r\n\r\n\tnationalPrefixForParsing() {\r\n\t\t// If `national_prefix_for_parsing` is not set explicitly,\r\n\t\t// then infer it from `national_prefix` (if any)\r\n\t\treturn this._nationalPrefixForParsing() || this.nationalPrefix()\r\n\t}\r\n\r\n\tnationalPrefixTransformRule() {\r\n\t\treturn this.metadata[this.v1 ? 6 : this.v2 ? 7 : 8]\r\n\t}\r\n\r\n\t_getNationalPrefixIsOptionalWhenFormatting() {\r\n\t\treturn !!this.metadata[this.v1 ? 7 : this.v2 ? 8 : 9]\r\n\t}\r\n\r\n\t// For countries of the same region (e.g. NANPA)\r\n\t// \"national prefix is optional when formatting\" flag is\r\n\t// stored in the \"main\" country for that region.\r\n\t// E.g. \"RU\" and \"KZ\", \"US\" and \"CA\".\r\n\tnationalPrefixIsOptionalWhenFormattingInNationalFormat() {\r\n\t\treturn this._getNationalPrefixIsOptionalWhenFormatting(this.metadata) ||\r\n\t\t\tthis._getNationalPrefixIsOptionalWhenFormatting(this.getDefaultCountryMetadataForRegion())\r\n\t}\r\n\r\n\tleadingDigits() {\r\n\t\treturn this.metadata[this.v1 ? 8 : this.v2 ? 9 : 10]\r\n\t}\r\n\r\n\ttypes() {\r\n\t\treturn this.metadata[this.v1 ? 9 : this.v2 ? 10 : 11]\r\n\t}\r\n\r\n\thasTypes() {\r\n\t\t// Versions 1.2.0 - 1.2.4: can be `[]`.\r\n\t\t/* istanbul ignore next */\r\n\t\tif (this.types() && this.types().length === 0) {\r\n\t\t\treturn false\r\n\t\t}\r\n\t\t// Versions <= 1.2.4: can be `undefined`.\r\n\t\t// Version >= 1.2.5: can be `0`.\r\n\t\treturn !!this.types()\r\n\t}\r\n\r\n\ttype(type) {\r\n\t\tif (this.hasTypes() && getType(this.types(), type)) {\r\n\t\t\treturn new Type(getType(this.types(), type), this)\r\n\t\t}\r\n\t}\r\n\r\n\text() {\r\n\t\tif (this.v1 || this.v2) return DEFAULT_EXT_PREFIX\r\n\t\treturn this.metadata[13] || DEFAULT_EXT_PREFIX\r\n\t}\r\n}\r\n\r\nclass Format {\r\n\tconstructor(format, metadata) {\r\n\t\tthis._format = format\r\n\t\tthis.metadata = metadata\r\n\t}\r\n\r\n\tpattern() {\r\n\t\treturn this._format[0]\r\n\t}\r\n\r\n\tformat() {\r\n\t\treturn this._format[1]\r\n\t}\r\n\r\n\tleadingDigitsPatterns() {\r\n\t\treturn this._format[2] || []\r\n\t}\r\n\r\n\tnationalPrefixFormattingRule() {\r\n\t\treturn this._format[3] || this.metadata.nationalPrefixFormattingRule()\r\n\t}\r\n\r\n\tnationalPrefixIsOptionalWhenFormattingInNationalFormat() {\r\n\t\treturn !!this._format[4] || this.metadata.nationalPrefixIsOptionalWhenFormattingInNationalFormat()\r\n\t}\r\n\r\n\tnationalPrefixIsMandatoryWhenFormattingInNationalFormat() {\r\n\t\t// National prefix is omitted if there's no national prefix formatting rule\r\n\t\t// set for this country, or when the national prefix formatting rule\r\n\t\t// contains no national prefix itself, or when this rule is set but\r\n\t\t// national prefix is optional for this phone number format\r\n\t\t// (and it is not enforced explicitly)\r\n\t\treturn this.usesNationalPrefix() && !this.nationalPrefixIsOptionalWhenFormattingInNationalFormat()\r\n\t}\r\n\r\n\t// Checks whether national prefix formatting rule contains national prefix.\r\n\tusesNationalPrefix() {\r\n\t\treturn this.nationalPrefixFormattingRule() &&\r\n\t\t\t// Check that national prefix formatting rule is not a \"dummy\" one.\r\n\t\t\t!FIRST_GROUP_ONLY_PREFIX_PATTERN.test(this.nationalPrefixFormattingRule())\r\n\t\t\t// In compressed metadata, `this.nationalPrefixFormattingRule()` is `0`\r\n\t\t\t// when `national_prefix_formatting_rule` is not present.\r\n\t\t\t// So, `true` or `false` are returned explicitly here, so that\r\n\t\t\t// `0` number isn't returned.\r\n\t\t\t? true\r\n\t\t\t: false\r\n\t}\r\n\r\n\tinternationalFormat() {\r\n\t\treturn this._format[5] || this.format()\r\n\t}\r\n}\r\n\r\n/**\r\n * A pattern that is used to determine if the national prefix formatting rule\r\n * has the first group only, i.e., does not start with the national prefix.\r\n * Note that the pattern explicitly allows for unbalanced parentheses.\r\n */\r\nconst FIRST_GROUP_ONLY_PREFIX_PATTERN = /^\\(?\\$1\\)?$/\r\n\r\nclass Type {\r\n\tconstructor(type, metadata) {\r\n\t\tthis.type = type\r\n\t\tthis.metadata = metadata\r\n\t}\r\n\r\n\tpattern() {\r\n\t\tif (this.metadata.v1) return this.type\r\n\t\treturn this.type[0]\r\n\t}\r\n\r\n\tpossibleLengths() {\r\n\t\tif (this.metadata.v1) return\r\n\t\treturn this.type[1] || this.metadata.possibleLengths()\r\n\t}\r\n}\r\n\r\nfunction getType(types, type) {\r\n\tswitch (type) {\r\n\t\tcase 'FIXED_LINE':\r\n\t\t\treturn types[0]\r\n\t\tcase 'MOBILE':\r\n\t\t\treturn types[1]\r\n\t\tcase 'TOLL_FREE':\r\n\t\t\treturn types[2]\r\n\t\tcase 'PREMIUM_RATE':\r\n\t\t\treturn types[3]\r\n\t\tcase 'PERSONAL_NUMBER':\r\n\t\t\treturn types[4]\r\n\t\tcase 'VOICEMAIL':\r\n\t\t\treturn types[5]\r\n\t\tcase 'UAN':\r\n\t\t\treturn types[6]\r\n\t\tcase 'PAGER':\r\n\t\t\treturn types[7]\r\n\t\tcase 'VOIP':\r\n\t\t\treturn types[8]\r\n\t\tcase 'SHARED_COST':\r\n\t\t\treturn types[9]\r\n\t}\r\n}\r\n\r\nexport function validateMetadata(metadata) {\r\n\tif (!metadata) {\r\n\t\tthrow new Error('[libphonenumber-js] `metadata` argument not passed. Check your arguments.')\r\n\t}\r\n\r\n\t// `country_phone_code_to_countries` was renamed to\r\n\t// `country_calling_codes` in `1.0.18`.\r\n\tif (!isObject(metadata) || !isObject(metadata.countries)) {\r\n\t\tthrow new Error(`[libphonenumber-js] \\`metadata\\` argument was passed but it's not a valid metadata. Must be an object having \\`.countries\\` child object property. Got ${isObject(metadata) ? 'an object of shape: { ' + Object.keys(metadata).join(', ') + ' }' : 'a ' + typeOf(metadata) + ': ' + metadata}.`)\r\n\t}\r\n}\r\n\r\n// Babel transforms `typeof` into some \"branches\"\r\n// so istanbul will show this as \"branch not covered\".\r\n/* istanbul ignore next */\r\nconst typeOf = _ => typeof _\r\n\r\n/**\r\n * Returns extension prefix for a country.\r\n * @param {string} country\r\n * @param {object} metadata\r\n * @return {string?}\r\n * @example\r\n * // Returns \" ext. \"\r\n * getExtPrefix(\"US\")\r\n */\r\nexport function getExtPrefix(country, metadata) {\r\n\tmetadata = new Metadata(metadata)\r\n\tif (metadata.hasCountry(country)) {\r\n\t\treturn metadata.country(country).ext()\r\n\t}\r\n\treturn DEFAULT_EXT_PREFIX\r\n}\r\n\r\n/**\r\n * Returns \"country calling code\" for a country.\r\n * Throws an error if the country doesn't exist or isn't supported by this library.\r\n * @param {string} country\r\n * @param {object} metadata\r\n * @return {string}\r\n * @example\r\n * // Returns \"44\"\r\n * getCountryCallingCode(\"GB\")\r\n */\r\nexport function getCountryCallingCode(country, metadata) {\r\n\tmetadata = new Metadata(metadata)\r\n\tif (metadata.hasCountry(country)) {\r\n\t\treturn metadata.country(country).countryCallingCode()\r\n\t}\r\n\tthrow new Error(`Unknown country: ${country}`)\r\n}\r\n\r\nexport function isSupportedCountry(country, metadata) {\r\n\t// metadata = new Metadata(metadata)\r\n\t// return metadata.hasCountry(country)\r\n\treturn metadata.countries.hasOwnProperty(country)\r\n}\r\n\r\nfunction setVersion(metadata) {\r\n\tconst { version } = metadata\r\n\tif (typeof version === 'number') {\r\n\t\tthis.v1 = version === 1\r\n\t\tthis.v2 = version === 2\r\n\t\tthis.v3 = version === 3\r\n\t\tthis.v4 = version === 4\r\n\t} else {\r\n\t\tif (!version) {\r\n\t\t\tthis.v1 = true\r\n\t\t} else if (compare(version, V3) === -1) {\r\n\t\t\tthis.v2 = true\r\n\t\t} else if (compare(version, V4) === -1) {\r\n\t\t\tthis.v3 = true\r\n\t\t} else {\r\n\t\t\tthis.v4 = true\r\n\t\t}\r\n\t}\r\n}\r\n\r\n// const ISO_COUNTRY_CODE = /^[A-Z]{2}$/\r\n// function isCountryCode(countryCode) {\r\n// \treturn ISO_COUNTRY_CODE.test(countryCodeOrCountryCallingCode)\r\n// }","import { VALID_DIGITS } from '../../constants.js'\r\n\r\n// The RFC 3966 format for extensions.\r\nconst RFC3966_EXTN_PREFIX = ';ext='\r\n\r\n/**\r\n * Helper method for constructing regular expressions for parsing. Creates\r\n * an expression that captures up to max_length digits.\r\n * @return {string} RegEx pattern to capture extension digits.\r\n */\r\nconst getExtensionDigitsPattern = (maxLength) => `([${VALID_DIGITS}]{1,${maxLength}})`\r\n\r\n/**\r\n * Helper initialiser method to create the regular-expression pattern to match\r\n * extensions.\r\n * Copy-pasted from Google's `libphonenumber`:\r\n * https://github.com/google/libphonenumber/blob/55b2646ec9393f4d3d6661b9c82ef9e258e8b829/javascript/i18n/phonenumbers/phonenumberutil.js#L759-L766\r\n * @return {string} RegEx pattern to capture extensions.\r\n */\r\nexport default function createExtensionPattern(purpose) {\r\n\t// We cap the maximum length of an extension based on the ambiguity of the way\r\n\t// the extension is prefixed. As per ITU, the officially allowed length for\r\n\t// extensions is actually 40, but we don't support this since we haven't seen real\r\n\t// examples and this introduces many false interpretations as the extension labels\r\n\t// are not standardized.\r\n\t/** @type {string} */\r\n\tvar extLimitAfterExplicitLabel = '20';\r\n\t/** @type {string} */\r\n\tvar extLimitAfterLikelyLabel = '15';\r\n\t/** @type {string} */\r\n\tvar extLimitAfterAmbiguousChar = '9';\r\n\t/** @type {string} */\r\n\tvar extLimitWhenNotSure = '6';\r\n\r\n\t/** @type {string} */\r\n\tvar possibleSeparatorsBetweenNumberAndExtLabel = \"[ \\u00A0\\\\t,]*\";\r\n\t// Optional full stop (.) or colon, followed by zero or more spaces/tabs/commas.\r\n\t/** @type {string} */\r\n\tvar possibleCharsAfterExtLabel = \"[:\\\\.\\uFF0E]?[ \\u00A0\\\\t,-]*\";\r\n\t/** @type {string} */\r\n\tvar optionalExtnSuffix = \"#?\";\r\n\r\n\t// Here the extension is called out in more explicit way, i.e mentioning it obvious\r\n\t// patterns like \"ext.\".\r\n\t/** @type {string} */\r\n\tvar explicitExtLabels =\r\n\t \"(?:e?xt(?:ensi(?:o\\u0301?|\\u00F3))?n?|\\uFF45?\\uFF58\\uFF54\\uFF4E?|\\u0434\\u043E\\u0431|anexo)\";\r\n\t// One-character symbols that can be used to indicate an extension, and less\r\n\t// commonly used or more ambiguous extension labels.\r\n\t/** @type {string} */\r\n\tvar ambiguousExtLabels = \"(?:[x\\uFF58#\\uFF03~\\uFF5E]|int|\\uFF49\\uFF4E\\uFF54)\";\r\n\t// When extension is not separated clearly.\r\n\t/** @type {string} */\r\n\tvar ambiguousSeparator = \"[- ]+\";\r\n\t// This is the same as possibleSeparatorsBetweenNumberAndExtLabel, but not matching\r\n\t// comma as extension label may have it.\r\n\t/** @type {string} */\r\n\tvar possibleSeparatorsNumberExtLabelNoComma = \"[ \\u00A0\\\\t]*\";\r\n\t// \",,\" is commonly used for auto dialling the extension when connected. First\r\n\t// comma is matched through possibleSeparatorsBetweenNumberAndExtLabel, so we do\r\n\t// not repeat it here. Semi-colon works in Iphone and Android also to pop up a\r\n\t// button with the extension number following.\r\n\t/** @type {string} */\r\n\tvar autoDiallingAndExtLabelsFound = \"(?:,{2}|;)\";\r\n\r\n\t/** @type {string} */\r\n\tvar rfcExtn = RFC3966_EXTN_PREFIX\r\n\t + getExtensionDigitsPattern(extLimitAfterExplicitLabel);\r\n\t/** @type {string} */\r\n\tvar explicitExtn = possibleSeparatorsBetweenNumberAndExtLabel + explicitExtLabels\r\n\t + possibleCharsAfterExtLabel\r\n\t + getExtensionDigitsPattern(extLimitAfterExplicitLabel)\r\n\t + optionalExtnSuffix;\r\n\t/** @type {string} */\r\n\tvar ambiguousExtn = possibleSeparatorsBetweenNumberAndExtLabel + ambiguousExtLabels\r\n\t + possibleCharsAfterExtLabel\r\n\t+ getExtensionDigitsPattern(extLimitAfterAmbiguousChar)\r\n\t+ optionalExtnSuffix;\r\n\t/** @type {string} */\r\n\tvar americanStyleExtnWithSuffix = ambiguousSeparator\r\n\t+ getExtensionDigitsPattern(extLimitWhenNotSure) + \"#\";\r\n\r\n\t/** @type {string} */\r\n\tvar autoDiallingExtn = possibleSeparatorsNumberExtLabelNoComma\r\n\t + autoDiallingAndExtLabelsFound + possibleCharsAfterExtLabel\r\n\t + getExtensionDigitsPattern(extLimitAfterLikelyLabel)\r\n\t+ optionalExtnSuffix;\r\n\t/** @type {string} */\r\n\tvar onlyCommasExtn = possibleSeparatorsNumberExtLabelNoComma\r\n\t + \"(?:,)+\" + possibleCharsAfterExtLabel\r\n\t + getExtensionDigitsPattern(extLimitAfterAmbiguousChar)\r\n\t + optionalExtnSuffix;\r\n\r\n\t// The first regular expression covers RFC 3966 format, where the extension is added\r\n\t// using \";ext=\". The second more generic where extension is mentioned with explicit\r\n\t// labels like \"ext:\". In both the above cases we allow more numbers in extension than\r\n\t// any other extension labels. The third one captures when single character extension\r\n\t// labels or less commonly used labels are used. In such cases we capture fewer\r\n\t// extension digits in order to reduce the chance of falsely interpreting two\r\n\t// numbers beside each other as a number + extension. The fourth one covers the\r\n\t// special case of American numbers where the extension is written with a hash\r\n\t// at the end, such as \"- 503#\". The fifth one is exclusively for extension\r\n\t// autodialling formats which are used when dialling and in this case we accept longer\r\n\t// extensions. The last one is more liberal on the number of commas that acts as\r\n\t// extension labels, so we have a strict cap on the number of digits in such extensions.\r\n\treturn rfcExtn + \"|\"\r\n\t + explicitExtn + \"|\"\r\n\t + ambiguousExtn + \"|\"\r\n\t + americanStyleExtnWithSuffix + \"|\"\r\n\t + autoDiallingExtn + \"|\"\r\n\t + onlyCommasExtn;\r\n}","import {\r\n\tMIN_LENGTH_FOR_NSN,\r\n\tVALID_DIGITS,\r\n\tVALID_PUNCTUATION,\r\n\tPLUS_CHARS\r\n} from '../constants.js'\r\n\r\nimport createExtensionPattern from './extension/createExtensionPattern.js'\r\n\r\n// Regular expression of viable phone numbers. This is location independent.\r\n// Checks we have at least three leading digits, and only valid punctuation,\r\n// alpha characters and digits in the phone number. Does not include extension\r\n// data. The symbol 'x' is allowed here as valid punctuation since it is often\r\n// used as a placeholder for carrier codes, for example in Brazilian phone\r\n// numbers. We also allow multiple '+' characters at the start.\r\n//\r\n// Corresponds to the following:\r\n// [digits]{minLengthNsn}|\r\n// plus_sign*\r\n// (([punctuation]|[star])*[digits]){3,}([punctuation]|[star]|[digits]|[alpha])*\r\n//\r\n// The first reg-ex is to allow short numbers (two digits long) to be parsed if\r\n// they are entered as \"15\" etc, but only if there is no punctuation in them.\r\n// The second expression restricts the number of digits to three or more, but\r\n// then allows them to be in international form, and to have alpha-characters\r\n// and punctuation. We split up the two reg-exes here and combine them when\r\n// creating the reg-ex VALID_PHONE_NUMBER_PATTERN itself so we can prefix it\r\n// with ^ and append $ to each branch.\r\n//\r\n// \"Note VALID_PUNCTUATION starts with a -,\r\n// so must be the first in the range\" (c) Google devs.\r\n// (wtf did they mean by saying that; probably nothing)\r\n//\r\nconst MIN_LENGTH_PHONE_NUMBER_PATTERN = '[' + VALID_DIGITS + ']{' + MIN_LENGTH_FOR_NSN + '}'\r\n//\r\n// And this is the second reg-exp:\r\n// (see MIN_LENGTH_PHONE_NUMBER_PATTERN for a full description of this reg-exp)\r\n//\r\nexport const VALID_PHONE_NUMBER =\r\n\t'[' + PLUS_CHARS + ']{0,1}' +\r\n\t'(?:' +\r\n\t\t'[' + VALID_PUNCTUATION + ']*' +\r\n\t\t'[' + VALID_DIGITS + ']' +\r\n\t'){3,}' +\r\n\t'[' +\r\n\t\tVALID_PUNCTUATION +\r\n\t\tVALID_DIGITS +\r\n\t']*'\r\n\r\n// This regular expression isn't present in Google's `libphonenumber`\r\n// and is only used to determine whether the phone number being input\r\n// is too short for it to even consider it a \"valid\" number.\r\n// This is just a way to differentiate between a really invalid phone\r\n// number like \"abcde\" and a valid phone number that a user has just\r\n// started inputting, like \"+1\" or \"1\": both these cases would be\r\n// considered `NOT_A_NUMBER` by Google's `libphonenumber`, but this\r\n// library can provide a more detailed error message — whether it's\r\n// really \"not a number\", or is it just a start of a valid phone number.\r\nconst VALID_PHONE_NUMBER_START_REG_EXP = new RegExp(\r\n\t'^' +\r\n\t'[' + PLUS_CHARS + ']{0,1}' +\r\n\t'(?:' +\r\n\t\t'[' + VALID_PUNCTUATION + ']*' +\r\n\t\t'[' + VALID_DIGITS + ']' +\r\n\t'){1,2}' +\r\n\t'$'\r\n, 'i')\r\n\r\nexport const VALID_PHONE_NUMBER_WITH_EXTENSION =\r\n\tVALID_PHONE_NUMBER +\r\n\t// Phone number extensions\r\n\t'(?:' + createExtensionPattern() + ')?'\r\n\r\n// The combined regular expression for valid phone numbers:\r\n//\r\nconst VALID_PHONE_NUMBER_PATTERN = new RegExp(\r\n\t// Either a short two-digit-only phone number\r\n\t'^' +\r\n\t\tMIN_LENGTH_PHONE_NUMBER_PATTERN +\r\n\t'$' +\r\n\t'|' +\r\n\t// Or a longer fully parsed phone number (min 3 characters)\r\n\t'^' +\r\n\t\tVALID_PHONE_NUMBER_WITH_EXTENSION +\r\n\t'$'\r\n, 'i')\r\n\r\n// Checks to see if the string of characters could possibly be a phone number at\r\n// all. At the moment, checks to see that the string begins with at least 2\r\n// digits, ignoring any punctuation commonly found in phone numbers. This method\r\n// does not require the number to be normalized in advance - but does assume\r\n// that leading non-number symbols have been removed, such as by the method\r\n// `extract_possible_number`.\r\n//\r\nexport default function isViablePhoneNumber(number) {\r\n\treturn number.length >= MIN_LENGTH_FOR_NSN &&\r\n\t\tVALID_PHONE_NUMBER_PATTERN.test(number)\r\n}\r\n\r\n// This is just a way to differentiate between a really invalid phone\r\n// number like \"abcde\" and a valid phone number that a user has just\r\n// started inputting, like \"+1\" or \"1\": both these cases would be\r\n// considered `NOT_A_NUMBER` by Google's `libphonenumber`, but this\r\n// library can provide a more detailed error message — whether it's\r\n// really \"not a number\", or is it just a start of a valid phone number.\r\nexport function isViablePhoneNumberStart(number) {\r\n\treturn VALID_PHONE_NUMBER_START_REG_EXP.test(number)\r\n}","import createExtensionPattern from './createExtensionPattern.js'\r\n\r\n// Regexp of all known extension prefixes used by different regions followed by\r\n// 1 or more valid digits, for use when parsing.\r\nconst EXTN_PATTERN = new RegExp('(?:' + createExtensionPattern() + ')$', 'i')\r\n\r\n// Strips any extension (as in, the part of the number dialled after the call is\r\n// connected, usually indicated with extn, ext, x or similar) from the end of\r\n// the number, and returns it.\r\nexport default function extractExtension(number) {\r\n\tconst start = number.search(EXTN_PATTERN)\r\n\tif (start < 0) {\r\n\t\treturn {}\r\n\t}\r\n\t// If we find a potential extension, and the number preceding this is a viable\r\n\t// number, we assume it is an extension.\r\n\tconst numberWithoutExtension = number.slice(0, start)\r\n\tconst matches = number.match(EXTN_PATTERN)\r\n\tlet i = 1\r\n\twhile (i < matches.length) {\r\n\t\tif (matches[i]) {\r\n\t\t\treturn {\r\n\t\t\t\tnumber: numberWithoutExtension,\r\n\t\t\t\text: matches[i]\r\n\t\t\t}\r\n\t\t}\r\n\t\ti++\r\n\t}\r\n}","// These mappings map a character (key) to a specific digit that should\r\n// replace it for normalization purposes. Non-European digits that\r\n// may be used in phone numbers are mapped to a European equivalent.\r\n//\r\n// E.g. in Iraq they don't write `+442323234` but rather `+٤٤٢٣٢٣٢٣٤`.\r\n//\r\nexport const DIGITS = {\r\n\t'0': '0',\r\n\t'1': '1',\r\n\t'2': '2',\r\n\t'3': '3',\r\n\t'4': '4',\r\n\t'5': '5',\r\n\t'6': '6',\r\n\t'7': '7',\r\n\t'8': '8',\r\n\t'9': '9',\r\n\t'\\uFF10': '0', // Fullwidth digit 0\r\n\t'\\uFF11': '1', // Fullwidth digit 1\r\n\t'\\uFF12': '2', // Fullwidth digit 2\r\n\t'\\uFF13': '3', // Fullwidth digit 3\r\n\t'\\uFF14': '4', // Fullwidth digit 4\r\n\t'\\uFF15': '5', // Fullwidth digit 5\r\n\t'\\uFF16': '6', // Fullwidth digit 6\r\n\t'\\uFF17': '7', // Fullwidth digit 7\r\n\t'\\uFF18': '8', // Fullwidth digit 8\r\n\t'\\uFF19': '9', // Fullwidth digit 9\r\n\t'\\u0660': '0', // Arabic-indic digit 0\r\n\t'\\u0661': '1', // Arabic-indic digit 1\r\n\t'\\u0662': '2', // Arabic-indic digit 2\r\n\t'\\u0663': '3', // Arabic-indic digit 3\r\n\t'\\u0664': '4', // Arabic-indic digit 4\r\n\t'\\u0665': '5', // Arabic-indic digit 5\r\n\t'\\u0666': '6', // Arabic-indic digit 6\r\n\t'\\u0667': '7', // Arabic-indic digit 7\r\n\t'\\u0668': '8', // Arabic-indic digit 8\r\n\t'\\u0669': '9', // Arabic-indic digit 9\r\n\t'\\u06F0': '0', // Eastern-Arabic digit 0\r\n\t'\\u06F1': '1', // Eastern-Arabic digit 1\r\n\t'\\u06F2': '2', // Eastern-Arabic digit 2\r\n\t'\\u06F3': '3', // Eastern-Arabic digit 3\r\n\t'\\u06F4': '4', // Eastern-Arabic digit 4\r\n\t'\\u06F5': '5', // Eastern-Arabic digit 5\r\n\t'\\u06F6': '6', // Eastern-Arabic digit 6\r\n\t'\\u06F7': '7', // Eastern-Arabic digit 7\r\n\t'\\u06F8': '8', // Eastern-Arabic digit 8\r\n\t'\\u06F9': '9' // Eastern-Arabic digit 9\r\n}\r\n\r\nexport function parseDigit(character) {\r\n\treturn DIGITS[character]\r\n}\r\n\r\n/**\r\n * Parses phone number digits from a string.\r\n * Drops all punctuation leaving only digits.\r\n * Also converts wide-ascii and arabic-indic numerals to conventional numerals.\r\n * E.g. in Iraq they don't write `+442323234` but rather `+٤٤٢٣٢٣٢٣٤`.\r\n * @param {string} string\r\n * @return {string}\r\n * @example\r\n * ```js\r\n * parseDigits('8 (800) 555')\r\n * // Outputs '8800555'.\r\n * ```\r\n */\r\nexport default function parseDigits(string) {\r\n\tlet result = ''\r\n\t// Using `.split('')` here instead of normal `for ... of`\r\n\t// because the importing application doesn't neccessarily include an ES6 polyfill.\r\n\t// The `.split('')` approach discards \"exotic\" UTF-8 characters\r\n\t// (the ones consisting of four bytes) but digits\r\n\t// (including non-European ones) don't fall into that range\r\n\t// so such \"exotic\" characters would be discarded anyway.\r\n\tfor (const character of string.split('')) {\r\n\t\tconst digit = parseDigit(character)\r\n\t\tif (digit) {\r\n\t\t\tresult += digit\r\n\t\t}\r\n\t}\r\n\treturn result\r\n}","import { parseDigit } from './helpers/parseDigits.js'\r\n\r\n/**\r\n * Parses phone number characters from a string.\r\n * Drops all punctuation leaving only digits and the leading `+` sign (if any).\r\n * Also converts wide-ascii and arabic-indic numerals to conventional numerals.\r\n * E.g. in Iraq they don't write `+442323234` but rather `+٤٤٢٣٢٣٢٣٤`.\r\n * @param {string} string\r\n * @return {string}\r\n * @example\r\n * ```js\r\n * // Outputs '8800555'.\r\n * parseIncompletePhoneNumber('8 (800) 555')\r\n * // Outputs '+7800555'.\r\n * parseIncompletePhoneNumber('+7 800 555')\r\n * ```\r\n */\r\nexport default function parseIncompletePhoneNumber(string) {\r\n\tlet result = ''\r\n\t// Using `.split('')` here instead of normal `for ... of`\r\n\t// because the importing application doesn't neccessarily include an ES6 polyfill.\r\n\t// The `.split('')` approach discards \"exotic\" UTF-8 characters\r\n\t// (the ones consisting of four bytes) but digits\r\n\t// (including non-European ones) don't fall into that range\r\n\t// so such \"exotic\" characters would be discarded anyway.\r\n\tfor (const character of string.split('')) {\r\n\t\tresult += parsePhoneNumberCharacter(character, result) || ''\r\n\t}\r\n\treturn result\r\n}\r\n\r\n/**\r\n * Parses next character while parsing phone number digits (including a `+`)\r\n * from text: discards everything except `+` and digits, and `+` is only allowed\r\n * at the start of a phone number.\r\n * For example, is used in `react-phone-number-input` where it uses\r\n * [`input-format`](https://gitlab.com/catamphetamine/input-format).\r\n * @param {string} character - Yet another character from raw input string.\r\n * @param {string?} prevParsedCharacters - Previous parsed characters.\r\n * @param {function?} emitEvent - An optional \"emit event\" function.\r\n * @return {string?} The parsed character.\r\n */\r\nexport function parsePhoneNumberCharacter(character, prevParsedCharacters, emitEvent) {\r\n\t// Only allow a leading `+`.\r\n\tif (character === '+') {\r\n\t\t// If this `+` is not the first parsed character\r\n\t\t// then discard it.\r\n\t\tif (prevParsedCharacters) {\r\n\t\t\t// `emitEvent` argument was added to this `export`ed function on Dec 26th, 2023.\r\n\t\t\t// Any 3rd-party code that used to `import` and call this function before that\r\n\t\t\t// won't be passing any `emitEvent` argument.\r\n\t\t\t//\r\n\t\t\t// The addition of the `emitEvent` argument was to fix the slightly-weird behavior\r\n\t\t\t// of parsing an input string when the user inputs something like `\"2+7\"\r\n\t\t\t// https://github.com/catamphetamine/react-phone-number-input/issues/437\r\n\t\t\t//\r\n\t\t\t// If the parser encounters an unexpected `+` in a string being parsed\r\n\t\t\t// then it simply discards that out-of-place `+` and any following characters.\r\n\t\t\t//\r\n\t\t\tif (typeof emitEvent === 'function') {\r\n\t\t\t\temitEvent('end')\r\n\t\t\t}\r\n\t\t\treturn\r\n\t\t}\r\n\t\treturn '+'\r\n\t}\r\n\t// Allow digits.\r\n\treturn parseDigit(character)\r\n}","import mergeArrays from './mergeArrays.js'\r\n\r\nexport default function checkNumberLength(nationalNumber, metadata) {\r\n\treturn checkNumberLengthForType(nationalNumber, undefined, metadata)\r\n}\r\n\r\n// Checks whether a number is possible for the country based on its length.\r\n// Should only be called for the \"new\" metadata which has \"possible lengths\".\r\nexport function checkNumberLengthForType(nationalNumber, type, metadata) {\r\n\tconst type_info = metadata.type(type)\r\n\r\n\t// There should always be \"\" set for every type element.\r\n\t// This is declared in the XML schema.\r\n\t// For size efficiency, where a sub-description (e.g. fixed-line)\r\n\t// has the same \"\" as the \"general description\", this is missing,\r\n\t// so we fall back to the \"general description\". Where no numbers of the type\r\n\t// exist at all, there is one possible length (-1) which is guaranteed\r\n\t// not to match the length of any real phone number.\r\n\tlet possible_lengths = type_info && type_info.possibleLengths() || metadata.possibleLengths()\r\n\t// let local_lengths = type_info && type.possibleLengthsLocal() || metadata.possibleLengthsLocal()\r\n\r\n\t// Metadata before version `1.0.18` didn't contain `possible_lengths`.\r\n\tif (!possible_lengths) {\r\n\t\treturn 'IS_POSSIBLE'\r\n\t}\r\n\r\n\tif (type === 'FIXED_LINE_OR_MOBILE') {\r\n\t\t// No such country in metadata.\r\n\t\t/* istanbul ignore next */\r\n\t\tif (!metadata.type('FIXED_LINE')) {\r\n\t\t\t// The rare case has been encountered where no fixedLine data is available\r\n\t\t\t// (true for some non-geographic entities), so we just check mobile.\r\n\t\t\treturn checkNumberLengthForType(nationalNumber, 'MOBILE', metadata)\r\n\t\t}\r\n\r\n\t\tconst mobile_type = metadata.type('MOBILE')\r\n\t\tif (mobile_type) {\r\n\t\t\t// Merge the mobile data in if there was any. \"Concat\" creates a new\r\n\t\t\t// array, it doesn't edit possible_lengths in place, so we don't need a copy.\r\n\t\t\t// Note that when adding the possible lengths from mobile, we have\r\n\t\t\t// to again check they aren't empty since if they are this indicates\r\n\t\t\t// they are the same as the general desc and should be obtained from there.\r\n\t\t\tpossible_lengths = mergeArrays(possible_lengths, mobile_type.possibleLengths())\r\n\t\t\t// The current list is sorted; we need to merge in the new list and\r\n\t\t\t// re-sort (duplicates are okay). Sorting isn't so expensive because\r\n\t\t\t// the lists are very small.\r\n\r\n\t\t\t// if (local_lengths) {\r\n\t\t\t// \tlocal_lengths = mergeArrays(local_lengths, mobile_type.possibleLengthsLocal())\r\n\t\t\t// } else {\r\n\t\t\t// \tlocal_lengths = mobile_type.possibleLengthsLocal()\r\n\t\t\t// }\r\n\t\t}\r\n\t}\r\n\t// If the type doesn't exist then return 'INVALID_LENGTH'.\r\n\telse if (type && !type_info) {\r\n\t\treturn 'INVALID_LENGTH'\r\n\t}\r\n\r\n\tconst actual_length = nationalNumber.length\r\n\r\n\t// In `libphonenumber-js` all \"local-only\" formats are dropped for simplicity.\r\n\t// // This is safe because there is never an overlap beween the possible lengths\r\n\t// // and the local-only lengths; this is checked at build time.\r\n\t// if (local_lengths && local_lengths.indexOf(nationalNumber.length) >= 0)\r\n\t// {\r\n\t// \treturn 'IS_POSSIBLE_LOCAL_ONLY'\r\n\t// }\r\n\r\n\tconst minimum_length = possible_lengths[0]\r\n\r\n\tif (minimum_length === actual_length) {\r\n\t\treturn 'IS_POSSIBLE'\r\n\t}\r\n\r\n\tif (minimum_length > actual_length) {\r\n\t\treturn 'TOO_SHORT'\r\n\t}\r\n\r\n\tif (possible_lengths[possible_lengths.length - 1] < actual_length) {\r\n\t\treturn 'TOO_LONG'\r\n\t}\r\n\r\n\t// We skip the first element since we've already checked it.\r\n\treturn possible_lengths.indexOf(actual_length, 1) >= 0 ? 'IS_POSSIBLE' : 'INVALID_LENGTH'\r\n}","/**\r\n * Merges two arrays.\r\n * @param {*} a\r\n * @param {*} b\r\n * @return {*}\r\n */\r\nexport default function mergeArrays(a, b) {\r\n\tconst merged = a.slice()\r\n\r\n\tfor (const element of b) {\r\n\t\tif (a.indexOf(element) < 0) {\r\n\t\t\tmerged.push(element)\r\n\t\t}\r\n\t}\r\n\r\n\treturn merged.sort((a, b) => a - b)\r\n\r\n\t// ES6 version, requires Set polyfill.\r\n\t// let merged = new Set(a)\r\n\t// for (const element of b) {\r\n\t// \tmerged.add(i)\r\n\t// }\r\n\t// return Array.from(merged).sort((a, b) => a - b)\r\n}","import Metadata from './metadata.js'\r\nimport checkNumberLength from './helpers/checkNumberLength.js'\r\n\r\n/**\r\n * Checks if a phone number is \"possible\" (basically just checks its length).\r\n *\r\n * isPossible(phoneNumberInstance, { ..., v2: true }, metadata)\r\n *\r\n * isPossible({ phone: '8005553535', country: 'RU' }, { ... }, metadata)\r\n * isPossible({ phone: '8005553535', country: 'RU' }, undefined, metadata)\r\n *\r\n * @param {object|PhoneNumber} input — If `options.v2: true` flag is passed, the `input` should be a `PhoneNumber` instance. Otherwise, it should be an object of shape `{ phone: '...', country: '...' }`.\r\n * @param {object} [options]\r\n * @param {object} metadata\r\n * @return {string}\r\n */\r\nexport default function isPossiblePhoneNumber(input, options, metadata) {\r\n\t/* istanbul ignore if */\r\n\tif (options === undefined) {\r\n\t\toptions = {}\r\n\t}\r\n\r\n\tmetadata = new Metadata(metadata)\r\n\r\n\tif (options.v2) {\r\n\t\tif (!input.countryCallingCode) {\r\n\t\t\tthrow new Error('Invalid phone number object passed')\r\n\t\t}\r\n\t\tmetadata.selectNumberingPlan(input.countryCallingCode)\r\n\t} else {\r\n\t\tif (!input.phone) {\r\n\t\t\treturn false\r\n\t\t}\r\n\t\tif (input.country) {\r\n\t\t\tif (!metadata.hasCountry(input.country)) {\r\n\t\t\t\tthrow new Error(`Unknown country: ${input.country}`)\r\n\t\t\t}\r\n\t\t\tmetadata.country(input.country)\r\n\t\t} else {\r\n\t\t\tif (!input.countryCallingCode) {\r\n\t\t\t\tthrow new Error('Invalid phone number object passed')\r\n\t\t\t}\r\n\t\t\tmetadata.selectNumberingPlan(input.countryCallingCode)\r\n\t\t}\r\n\t}\r\n\r\n\t// Old metadata (< 1.0.18) had no \"possible length\" data.\r\n\tif (metadata.possibleLengths()) {\r\n\t\treturn isPossibleNumber(input.phone || input.nationalNumber, metadata)\r\n\t} else {\r\n\t\t// There was a bug between `1.7.35` and `1.7.37` where \"possible_lengths\"\r\n\t\t// were missing for \"non-geographical\" numbering plans.\r\n\t\t// Just assume the number is possible in such cases:\r\n\t\t// it's unlikely that anyone generated their custom metadata\r\n\t\t// in that short period of time (one day).\r\n\t\t// This code can be removed in some future major version update.\r\n\t\tif (input.countryCallingCode && metadata.isNonGeographicCallingCode(input.countryCallingCode)) {\r\n\t\t\t// \"Non-geographic entities\" did't have `possibleLengths`\r\n\t\t\t// due to a bug in metadata generation process.\r\n\t\t\treturn true\r\n\t\t} else {\r\n\t\t\tthrow new Error('Missing \"possibleLengths\" in metadata. Perhaps the metadata has been generated before v1.0.18.');\r\n\t\t}\r\n\t}\r\n}\r\n\r\nexport function isPossibleNumber(nationalNumber, metadata) { //, isInternational) {\r\n\tswitch (checkNumberLength(nationalNumber, metadata)) {\r\n\t\tcase 'IS_POSSIBLE':\r\n\t\t\treturn true\r\n\t\t// This library ignores \"local-only\" phone numbers (for simplicity).\r\n\t\t// See the readme for more info on what are \"local-only\" phone numbers.\r\n\t\t// case 'IS_POSSIBLE_LOCAL_ONLY':\r\n\t\t// \treturn !isInternational\r\n\t\tdefault:\r\n\t\t\treturn false\r\n\t}\r\n}","/**\r\n * Checks whether the entire input sequence can be matched\r\n * against the regular expression.\r\n * @return {boolean}\r\n */\r\nexport default function matchesEntirely(text, regular_expression) {\r\n\t// If assigning the `''` default value is moved to the arguments above,\r\n\t// code coverage would decrease for some weird reason.\r\n\ttext = text || ''\r\n\treturn new RegExp('^(?:' + regular_expression + ')$').test(text)\r\n}","import Metadata from '../metadata.js'\r\nimport matchesEntirely from './matchesEntirely.js'\r\n\r\nconst NON_FIXED_LINE_PHONE_TYPES = [\r\n\t'MOBILE',\r\n\t'PREMIUM_RATE',\r\n\t'TOLL_FREE',\r\n\t'SHARED_COST',\r\n\t'VOIP',\r\n\t'PERSONAL_NUMBER',\r\n\t'PAGER',\r\n\t'UAN',\r\n\t'VOICEMAIL'\r\n]\r\n\r\n// Finds out national phone number type (fixed line, mobile, etc)\r\nexport default function getNumberType(input, options, metadata)\r\n{\r\n\t// If assigning the `{}` default value is moved to the arguments above,\r\n\t// code coverage would decrease for some weird reason.\r\n\toptions = options || {}\r\n\r\n\t// When `parse()` returns an empty object — `{}` —\r\n\t// that means that the phone number is malformed,\r\n\t// so it can't possibly be valid.\r\n\tif (!input.country && !input.countryCallingCode) {\r\n\t\treturn\r\n\t}\r\n\r\n\tmetadata = new Metadata(metadata)\r\n\r\n\tmetadata.selectNumberingPlan(input.country, input.countryCallingCode)\r\n\r\n\tconst nationalNumber = options.v2 ? input.nationalNumber : input.phone\r\n\r\n\t// The following is copy-pasted from the original function:\r\n\t// https://github.com/googlei18n/libphonenumber/blob/3ea547d4fbaa2d0b67588904dfa5d3f2557c27ff/javascript/i18n/phonenumbers/phonenumberutil.js#L2835\r\n\r\n\t// Is this national number even valid for this country\r\n\tif (!matchesEntirely(nationalNumber, metadata.nationalNumberPattern())) {\r\n\t\treturn\r\n\t}\r\n\r\n\t// Is it fixed line number\r\n\tif (isNumberTypeEqualTo(nationalNumber, 'FIXED_LINE', metadata)) {\r\n\t\t// Because duplicate regular expressions are removed\r\n\t\t// to reduce metadata size, if \"mobile\" pattern is \"\"\r\n\t\t// then it means it was removed due to being a duplicate of the fixed-line pattern.\r\n\t\t//\r\n\t\tif (metadata.type('MOBILE') && metadata.type('MOBILE').pattern() === '') {\r\n\t\t\treturn 'FIXED_LINE_OR_MOBILE'\r\n\t\t}\r\n\r\n\t\t// `MOBILE` type pattern isn't included if it matched `FIXED_LINE` one.\r\n\t\t// For example, for \"US\" country.\r\n\t\t// Old metadata (< `1.0.18`) had a specific \"types\" data structure\r\n\t\t// that happened to be `undefined` for `MOBILE` in that case.\r\n\t\t// Newer metadata (>= `1.0.18`) has another data structure that is\r\n\t\t// not `undefined` for `MOBILE` in that case (it's just an empty array).\r\n\t\t// So this `if` is just for backwards compatibility with old metadata.\r\n\t\tif (!metadata.type('MOBILE')) {\r\n\t\t\treturn 'FIXED_LINE_OR_MOBILE'\r\n\t\t}\r\n\r\n\t\t// Check if the number happens to qualify as both fixed line and mobile.\r\n\t\t// (no such country in the minimal metadata set)\r\n\t\t/* istanbul ignore if */\r\n\t\tif (isNumberTypeEqualTo(nationalNumber, 'MOBILE', metadata)) {\r\n\t\t\treturn 'FIXED_LINE_OR_MOBILE'\r\n\t\t}\r\n\r\n\t\treturn 'FIXED_LINE'\r\n\t}\r\n\r\n\tfor (const type of NON_FIXED_LINE_PHONE_TYPES) {\r\n\t\tif (isNumberTypeEqualTo(nationalNumber, type, metadata)) {\r\n\t\t\treturn type\r\n\t\t}\r\n\t}\r\n}\r\n\r\nexport function isNumberTypeEqualTo(nationalNumber, type, metadata) {\r\n\ttype = metadata.type(type)\r\n\tif (!type || !type.pattern()) {\r\n\t\treturn false\r\n\t}\r\n\t// Check if any possible number lengths are present;\r\n\t// if so, we use them to avoid checking\r\n\t// the validation pattern if they don't match.\r\n\t// If they are absent, this means they match\r\n\t// the general description, which we have\r\n\t// already checked before a specific number type.\r\n\tif (type.possibleLengths() &&\r\n\t\ttype.possibleLengths().indexOf(nationalNumber.length) < 0) {\r\n\t\treturn false\r\n\t}\r\n\treturn matchesEntirely(nationalNumber, type.pattern())\r\n}","import Metadata from '../metadata.js'\r\n\r\n/**\r\n * Returns a list of countries that the phone number could potentially belong to.\r\n * @param {string} callingCode — Calling code.\r\n * @param {string} nationalNumber — National (significant) number.\r\n * @param {object} metadata — Metadata.\r\n * @return {string[]} A list of possible countries.\r\n */\r\nexport default function getPossibleCountriesForNumber(callingCode, nationalNumber, metadata) {\r\n\tconst _metadata = new Metadata(metadata)\r\n\tlet possibleCountries = _metadata.getCountryCodesForCallingCode(callingCode)\r\n\tif (!possibleCountries) {\r\n\t\treturn []\r\n\t}\r\n\treturn possibleCountries.filter((country) => {\r\n\t\treturn couldNationalNumberBelongToCountry(nationalNumber, country, metadata)\r\n\t})\r\n}\r\n\r\nfunction couldNationalNumberBelongToCountry(nationalNumber, country, metadata) {\r\n\tconst _metadata = new Metadata(metadata)\r\n\t_metadata.selectNumberingPlan(country)\r\n\tif (_metadata.numberingPlan.possibleLengths().indexOf(nationalNumber.length) >= 0) {\r\n\t\treturn true\r\n\t}\r\n\treturn false\r\n}","import applyInternationalSeparatorStyle from './applyInternationalSeparatorStyle.js'\r\n\r\n// This was originally set to $1 but there are some countries for which the\r\n// first group is not used in the national pattern (e.g. Argentina) so the $1\r\n// group does not match correctly. Therefore, we use `\\d`, so that the first\r\n// group actually used in the pattern will be matched.\r\nexport const FIRST_GROUP_PATTERN = /(\\$\\d)/\r\n\r\nexport default function formatNationalNumberUsingFormat(\r\n\tnumber,\r\n\tformat,\r\n\t{\r\n\t\tuseInternationalFormat,\r\n\t\twithNationalPrefix,\r\n\t\tcarrierCode,\r\n\t\tmetadata\r\n\t}\r\n) {\r\n\tconst formattedNumber = number.replace(\r\n\t\tnew RegExp(format.pattern()),\r\n\t\tuseInternationalFormat\r\n\t\t\t? format.internationalFormat()\r\n\t\t\t: (\r\n\t\t\t\t// This library doesn't use `domestic_carrier_code_formatting_rule`,\r\n\t\t\t\t// because that one is only used when formatting phone numbers\r\n\t\t\t\t// for dialing from a mobile phone, and this is not a dialing library.\r\n\t\t\t\t// carrierCode && format.domesticCarrierCodeFormattingRule()\r\n\t\t\t\t// \t// First, replace the $CC in the formatting rule with the desired carrier code.\r\n\t\t\t\t// \t// Then, replace the $FG in the formatting rule with the first group\r\n\t\t\t\t// \t// and the carrier code combined in the appropriate way.\r\n\t\t\t\t// \t? format.format().replace(FIRST_GROUP_PATTERN, format.domesticCarrierCodeFormattingRule().replace('$CC', carrierCode))\r\n\t\t\t\t// \t: (\r\n\t\t\t\t// \t\twithNationalPrefix && format.nationalPrefixFormattingRule()\r\n\t\t\t\t// \t\t\t? format.format().replace(FIRST_GROUP_PATTERN, format.nationalPrefixFormattingRule())\r\n\t\t\t\t// \t\t\t: format.format()\r\n\t\t\t\t// \t)\r\n\t\t\t\twithNationalPrefix && format.nationalPrefixFormattingRule()\r\n\t\t\t\t\t? format.format().replace(FIRST_GROUP_PATTERN, format.nationalPrefixFormattingRule())\r\n\t\t\t\t\t: format.format()\r\n\t\t\t)\r\n\t)\r\n\tif (useInternationalFormat) {\r\n\t\treturn applyInternationalSeparatorStyle(formattedNumber)\r\n\t}\r\n\treturn formattedNumber\r\n}","import { VALID_PUNCTUATION } from '../constants.js'\r\n\r\n// Removes brackets and replaces dashes with spaces.\r\n//\r\n// E.g. \"(999) 111-22-33\" -> \"999 111 22 33\"\r\n//\r\n// For some reason Google's metadata contains ``s with brackets and dashes.\r\n// Meanwhile, there's no single opinion about using punctuation in international phone numbers.\r\n//\r\n// For example, Google's `` for USA is `+1 213-373-4253`.\r\n// And here's a quote from WikiPedia's \"North American Numbering Plan\" page:\r\n// https://en.wikipedia.org/wiki/North_American_Numbering_Plan\r\n//\r\n// \"The country calling code for all countries participating in the NANP is 1.\r\n// In international format, an NANP number should be listed as +1 301 555 01 00,\r\n// where 301 is an area code (Maryland).\"\r\n//\r\n// I personally prefer the international format without any punctuation.\r\n// For example, brackets are remnants of the old age, meaning that the\r\n// phone number part in brackets (so called \"area code\") can be omitted\r\n// if dialing within the same \"area\".\r\n// And hyphens were clearly introduced for splitting local numbers into memorizable groups.\r\n// For example, remembering \"5553535\" is difficult but \"555-35-35\" is much simpler.\r\n// Imagine a man taking a bus from home to work and seeing an ad with a phone number.\r\n// He has a couple of seconds to memorize that number until it passes by.\r\n// If it were spaces instead of hyphens the man wouldn't necessarily get it,\r\n// but with hyphens instead of spaces the grouping is more explicit.\r\n// I personally think that hyphens introduce visual clutter,\r\n// so I prefer replacing them with spaces in international numbers.\r\n// In the modern age all output is done on displays where spaces are clearly distinguishable\r\n// so hyphens can be safely replaced with spaces without losing any legibility.\r\n//\r\nexport default function applyInternationalSeparatorStyle(formattedNumber) {\r\n\treturn formattedNumber.replace(new RegExp(`[${VALID_PUNCTUATION}]+`, 'g'), ' ').trim()\r\n}","import Metadata from '../metadata.js'\r\n\r\n/**\r\n * Pattern that makes it easy to distinguish whether a region has a single\r\n * international dialing prefix or not. If a region has a single international\r\n * prefix (e.g. 011 in USA), it will be represented as a string that contains\r\n * a sequence of ASCII digits, and possibly a tilde, which signals waiting for\r\n * the tone. If there are multiple available international prefixes in a\r\n * region, they will be represented as a regex string that always contains one\r\n * or more characters that are not ASCII digits or a tilde.\r\n */\r\nconst SINGLE_IDD_PREFIX_REG_EXP = /^[\\d]+(?:[~\\u2053\\u223C\\uFF5E][\\d]+)?$/\r\n\r\n// For regions that have multiple IDD prefixes\r\n// a preferred IDD prefix is returned.\r\nexport default function getIddPrefix(country, callingCode, metadata) {\r\n\tconst countryMetadata = new Metadata(metadata)\r\n\tcountryMetadata.selectNumberingPlan(country, callingCode)\r\n\tif (countryMetadata.defaultIDDPrefix()) {\r\n\t\treturn countryMetadata.defaultIDDPrefix()\r\n\t}\r\n\tif (SINGLE_IDD_PREFIX_REG_EXP.test(countryMetadata.IDDPrefix())) {\r\n\t\treturn countryMetadata.IDDPrefix()\r\n\t}\r\n}\r\n","// This is a port of Google Android `libphonenumber`'s\r\n// `phonenumberutil.js` of December 31th, 2018.\r\n//\r\n// https://github.com/googlei18n/libphonenumber/commits/master/javascript/i18n/phonenumbers/phonenumberutil.js\r\n\r\nimport matchesEntirely from './helpers/matchesEntirely.js'\r\nimport formatNationalNumberUsingFormat from './helpers/formatNationalNumberUsingFormat.js'\r\nimport Metadata, { getCountryCallingCode } from './metadata.js'\r\nimport getIddPrefix from './helpers/getIddPrefix.js'\r\nimport { formatRFC3966 } from './helpers/RFC3966.js'\r\n\r\nconst DEFAULT_OPTIONS = {\r\n\tformatExtension: (formattedNumber, extension, metadata) => `${formattedNumber}${metadata.ext()}${extension}`\r\n}\r\n\r\n/**\r\n * Formats a phone number.\r\n *\r\n * format(phoneNumberInstance, 'INTERNATIONAL', { ..., v2: true }, metadata)\r\n * format(phoneNumberInstance, 'NATIONAL', { ..., v2: true }, metadata)\r\n *\r\n * format({ phone: '8005553535', country: 'RU' }, 'INTERNATIONAL', { ... }, metadata)\r\n * format({ phone: '8005553535', country: 'RU' }, 'NATIONAL', undefined, metadata)\r\n *\r\n * @param {object|PhoneNumber} input — If `options.v2: true` flag is passed, the `input` should be a `PhoneNumber` instance. Otherwise, it should be an object of shape `{ phone: '...', country: '...' }`.\r\n * @param {string} format\r\n * @param {object} [options]\r\n * @param {object} metadata\r\n * @return {string}\r\n */\r\nexport default function formatNumber(input, format, options, metadata) {\r\n\t// Apply default options.\r\n\tif (options) {\r\n\t\toptions = { ...DEFAULT_OPTIONS, ...options }\r\n\t} else {\r\n\t\toptions = DEFAULT_OPTIONS\r\n\t}\r\n\r\n\tmetadata = new Metadata(metadata)\r\n\r\n\tif (input.country && input.country !== '001') {\r\n\t\t// Validate `input.country`.\r\n\t\tif (!metadata.hasCountry(input.country)) {\r\n\t\t\tthrow new Error(`Unknown country: ${input.country}`)\r\n\t\t}\r\n\t\tmetadata.country(input.country)\r\n\t}\r\n\telse if (input.countryCallingCode) {\r\n\t\tmetadata.selectNumberingPlan(input.countryCallingCode)\r\n\t}\r\n\telse return input.phone || ''\r\n\r\n\tconst countryCallingCode = metadata.countryCallingCode()\r\n\r\n\tconst nationalNumber = options.v2 ? input.nationalNumber : input.phone\r\n\r\n\t// This variable should have been declared inside `case`s\r\n\t// but Babel has a bug and it says \"duplicate variable declaration\".\r\n\tlet number\r\n\r\n\tswitch (format) {\r\n\t\tcase 'NATIONAL':\r\n\t\t\t// Legacy argument support.\r\n\t\t\t// (`{ country: ..., phone: '' }`)\r\n\t\t\tif (!nationalNumber) {\r\n\t\t\t\treturn ''\r\n\t\t\t}\r\n\t\t\tnumber = formatNationalNumber(nationalNumber, input.carrierCode, 'NATIONAL', metadata, options)\r\n\t\t\treturn addExtension(number, input.ext, metadata, options.formatExtension)\r\n\r\n\t\tcase 'INTERNATIONAL':\r\n\t\t\t// Legacy argument support.\r\n\t\t\t// (`{ country: ..., phone: '' }`)\r\n\t\t\tif (!nationalNumber) {\r\n\t\t\t\treturn `+${countryCallingCode}`\r\n\t\t\t}\r\n\t\t\tnumber = formatNationalNumber(nationalNumber, null, 'INTERNATIONAL', metadata, options)\r\n\t\t\tnumber = `+${countryCallingCode} ${number}`\r\n\t\t\treturn addExtension(number, input.ext, metadata, options.formatExtension)\r\n\r\n\t\tcase 'E.164':\r\n\t\t\t// `E.164` doesn't define \"phone number extensions\".\r\n\t\t\treturn `+${countryCallingCode}${nationalNumber}`\r\n\r\n\t\tcase 'RFC3966':\r\n\t\t\treturn formatRFC3966({\r\n\t\t\t\tnumber: `+${countryCallingCode}${nationalNumber}`,\r\n\t\t\t\text: input.ext\r\n\t\t\t})\r\n\r\n\t\t// For reference, here's Google's IDD formatter:\r\n\t\t// https://github.com/google/libphonenumber/blob/32719cf74e68796788d1ca45abc85dcdc63ba5b9/java/libphonenumber/src/com/google/i18n/phonenumbers/PhoneNumberUtil.java#L1546\r\n\t\t// Not saying that this IDD formatter replicates it 1:1, but it seems to work.\r\n\t\t// Who would even need to format phone numbers in IDD format anyway?\r\n\t\tcase 'IDD':\r\n\t\t\tif (!options.fromCountry) {\r\n\t\t\t\treturn\r\n\t\t\t\t// throw new Error('`fromCountry` option not passed for IDD-prefixed formatting.')\r\n\t\t\t}\r\n\t\t\tconst formattedNumber = formatIDD(\r\n\t\t\t\tnationalNumber,\r\n\t\t\t\tinput.carrierCode,\r\n\t\t\t\tcountryCallingCode,\r\n\t\t\t\toptions.fromCountry,\r\n\t\t\t\tmetadata\r\n\t\t\t)\r\n\t\t\treturn addExtension(formattedNumber, input.ext, metadata, options.formatExtension)\r\n\r\n\t\tdefault:\r\n\t\t\tthrow new Error(`Unknown \"format\" argument passed to \"formatNumber()\": \"${format}\"`)\r\n\t}\r\n}\r\n\r\nfunction formatNationalNumber(number, carrierCode, formatAs, metadata, options) {\r\n\tconst format = chooseFormatForNumber(metadata.formats(), number)\r\n\tif (!format) {\r\n\t\treturn number\r\n\t}\r\n\treturn formatNationalNumberUsingFormat(\r\n\t\tnumber,\r\n\t\tformat,\r\n\t\t{\r\n\t\t\tuseInternationalFormat: formatAs === 'INTERNATIONAL',\r\n\t\t\twithNationalPrefix: format.nationalPrefixIsOptionalWhenFormattingInNationalFormat() && (options && options.nationalPrefix === false) ? false : true,\r\n\t\t\tcarrierCode,\r\n\t\t\tmetadata\r\n\t\t}\r\n\t)\r\n}\r\n\r\nexport function chooseFormatForNumber(availableFormats, nationalNnumber) {\r\n\tfor (const format of availableFormats) {\r\n\t\t// Validate leading digits.\r\n\t\t// The test case for \"else path\" could be found by searching for\r\n\t\t// \"format.leadingDigitsPatterns().length === 0\".\r\n\t\tif (format.leadingDigitsPatterns().length > 0) {\r\n\t\t\t// The last leading_digits_pattern is used here, as it is the most detailed\r\n\t\t\tconst lastLeadingDigitsPattern = format.leadingDigitsPatterns()[format.leadingDigitsPatterns().length - 1]\r\n\t\t\t// If leading digits don't match then move on to the next phone number format\r\n\t\t\tif (nationalNnumber.search(lastLeadingDigitsPattern) !== 0) {\r\n\t\t\t\tcontinue\r\n\t\t\t}\r\n\t\t}\r\n\t\t// Check that the national number matches the phone number format regular expression\r\n\t\tif (matchesEntirely(nationalNnumber, format.pattern())) {\r\n\t\t\treturn format\r\n\t\t}\r\n\t}\r\n}\r\n\r\nfunction addExtension(formattedNumber, ext, metadata, formatExtension) {\r\n\treturn ext ? formatExtension(formattedNumber, ext, metadata) : formattedNumber\r\n}\r\n\r\nfunction formatIDD(\r\n\tnationalNumber,\r\n\tcarrierCode,\r\n\tcountryCallingCode,\r\n\tfromCountry,\r\n\tmetadata\r\n) {\r\n\tconst fromCountryCallingCode = getCountryCallingCode(fromCountry, metadata.metadata)\r\n\t// When calling within the same country calling code.\r\n\tif (fromCountryCallingCode === countryCallingCode) {\r\n\t\tconst formattedNumber = formatNationalNumber(nationalNumber, carrierCode, 'NATIONAL', metadata)\r\n\t\t// For NANPA regions, return the national format for these regions\r\n\t\t// but prefix it with the country calling code.\r\n\t\tif (countryCallingCode === '1') {\r\n\t\t\treturn countryCallingCode + ' ' + formattedNumber\r\n\t\t}\r\n\t\t// If regions share a country calling code, the country calling code need\r\n\t\t// not be dialled. This also applies when dialling within a region, so this\r\n\t\t// if clause covers both these cases. Technically this is the case for\r\n\t\t// dialling from La Reunion to other overseas departments of France (French\r\n\t\t// Guiana, Martinique, Guadeloupe), but not vice versa - so we don't cover\r\n\t\t// this edge case for now and for those cases return the version including\r\n\t\t// country calling code. Details here:\r\n\t\t// http://www.petitfute.com/voyage/225-info-pratiques-reunion\r\n\t\t//\r\n\t\treturn formattedNumber\r\n\t}\r\n\tconst iddPrefix = getIddPrefix(fromCountry, undefined, metadata.metadata)\r\n\tif (iddPrefix) {\r\n\t\treturn `${iddPrefix} ${countryCallingCode} ${formatNationalNumber(nationalNumber, null, 'INTERNATIONAL', metadata)}`\r\n\t}\r\n}","import isViablePhoneNumber from './isViablePhoneNumber.js'\r\n\r\n// https://www.ietf.org/rfc/rfc3966.txt\r\n\r\n/**\r\n * @param {string} text - Phone URI (RFC 3966).\r\n * @return {object} `{ ?number, ?ext }`.\r\n */\r\nexport function parseRFC3966(text) {\r\n\tlet number\r\n\tlet ext\r\n\r\n\t// Replace \"tel:\" with \"tel=\" for parsing convenience.\r\n\ttext = text.replace(/^tel:/, 'tel=')\r\n\r\n\tfor (const part of text.split(';')) {\r\n\t\tconst [name, value] = part.split('=')\r\n\t\tswitch (name) {\r\n\t\t\tcase 'tel':\r\n\t\t\t\tnumber = value\r\n\t\t\t\tbreak\r\n\t\t\tcase 'ext':\r\n\t\t\t\text = value\r\n\t\t\t\tbreak\r\n\t\t\tcase 'phone-context':\r\n\t\t\t\t// Only \"country contexts\" are supported.\r\n\t\t\t\t// \"Domain contexts\" are ignored.\r\n\t\t\t\tif (value[0] === '+') {\r\n\t\t\t\t\tnumber = value + number\r\n\t\t\t\t}\r\n\t\t\t\tbreak\r\n\t\t}\r\n\t}\r\n\r\n\t// If the phone number is not viable, then abort.\r\n\tif (!isViablePhoneNumber(number)) {\r\n\t\treturn {}\r\n\t}\r\n\r\n\tconst result = { number }\r\n\tif (ext) {\r\n\t\tresult.ext = ext\r\n\t}\r\n\treturn result\r\n}\r\n\r\n/**\r\n * @param {object} - `{ ?number, ?extension }`.\r\n * @return {string} Phone URI (RFC 3966).\r\n */\r\nexport function formatRFC3966({ number, ext }) {\r\n\tif (!number) {\r\n\t\treturn ''\r\n\t}\r\n\tif (number[0] !== '+') {\r\n\t\tthrow new Error(`\"formatRFC3966()\" expects \"number\" to be in E.164 format.`)\r\n\t}\r\n\treturn `tel:${number}${ext ? ';ext=' + ext : ''}`\r\n}","import Metadata from './metadata.js'\r\nimport isPossibleNumber from './isPossible.js'\r\nimport isValidNumber from './isValid.js'\r\n// import checkNumberLength from './helpers/checkNumberLength.js'\r\nimport getNumberType from './helpers/getNumberType.js'\r\nimport getPossibleCountriesForNumber from './helpers/getPossibleCountriesForNumber.js'\r\nimport formatNumber from './format.js'\r\n\r\nconst USE_NON_GEOGRAPHIC_COUNTRY_CODE = false\r\n\r\nexport default class PhoneNumber {\r\n\t/**\r\n\t * @param {string} countryOrCountryCallingCode\r\n\t * @param {string} nationalNumber\r\n\t * @param {object} metadata — Metadata JSON\r\n\t * @return {PhoneNumber}\r\n\t */\r\n\tconstructor(countryOrCountryCallingCode, nationalNumber, metadata) {\r\n\t\tif (!countryOrCountryCallingCode) {\r\n\t\t\tthrow new TypeError('`country` or `countryCallingCode` not passed')\r\n\t\t}\r\n\t\tif (!nationalNumber) {\r\n\t\t\tthrow new TypeError('`nationalNumber` not passed')\r\n\t\t}\r\n\t\tif (!metadata) {\r\n\t\t\tthrow new TypeError('`metadata` not passed')\r\n\t\t}\r\n\t\tconst { country, countryCallingCode } = getCountryAndCountryCallingCode(\r\n\t\t\tcountryOrCountryCallingCode,\r\n\t\t\tmetadata\r\n\t\t)\r\n\t\tthis.country = country\r\n\t\tthis.countryCallingCode = countryCallingCode\r\n\t\tthis.nationalNumber = nationalNumber\r\n\t\tthis.number = '+' + this.countryCallingCode + this.nationalNumber\r\n\t\t// Exclude `metadata` property output from `PhoneNumber.toString()`\r\n\t\t// so that it doesn't clutter the console output of Node.js.\r\n\t\t// Previously, when Node.js did `console.log(new PhoneNumber(...))`,\r\n\t\t// it would output the whole internal structure of the `metadata` object.\r\n\t\tthis.getMetadata = () => metadata\r\n\t}\r\n\r\n\tsetExt(ext) {\r\n\t\tthis.ext = ext\r\n\t}\r\n\r\n\tgetPossibleCountries() {\r\n\t\tif (this.country) {\r\n\t\t\treturn [this.country]\r\n\t\t}\r\n\t\treturn getPossibleCountriesForNumber(\r\n\t\t\tthis.countryCallingCode,\r\n\t\t\tthis.nationalNumber,\r\n\t\t\tthis.getMetadata()\r\n\t\t)\r\n\t}\r\n\r\n\tisPossible() {\r\n\t\treturn isPossibleNumber(this, { v2: true }, this.getMetadata())\r\n\t}\r\n\r\n\tisValid() {\r\n\t\treturn isValidNumber(this, { v2: true }, this.getMetadata())\r\n\t}\r\n\r\n\tisNonGeographic() {\r\n\t\tconst metadata = new Metadata(this.getMetadata())\r\n\t\treturn metadata.isNonGeographicCallingCode(this.countryCallingCode)\r\n\t}\r\n\r\n\tisEqual(phoneNumber) {\r\n\t\treturn this.number === phoneNumber.number && this.ext === phoneNumber.ext\r\n\t}\r\n\r\n\t// This function was originally meant to be an equivalent for `validatePhoneNumberLength()`,\r\n\t// but later it was found out that it doesn't include the possible `TOO_SHORT` result\r\n\t// returned from `parsePhoneNumberWithError()` in the original `validatePhoneNumberLength()`,\r\n\t// so eventually I simply commented out this method from the `PhoneNumber` class\r\n\t// and just left the `validatePhoneNumberLength()` function, even though that one would require\r\n\t// and additional step to also validate the actual country / calling code of the phone number.\r\n\t// validateLength() {\r\n\t// \tconst metadata = new Metadata(this.getMetadata())\r\n\t// \tmetadata.selectNumberingPlan(this.countryCallingCode)\r\n\t// \tconst result = checkNumberLength(this.nationalNumber, metadata)\r\n\t// \tif (result !== 'IS_POSSIBLE') {\r\n\t// \t\treturn result\r\n\t// \t}\r\n\t// }\r\n\r\n\tgetType() {\r\n\t\treturn getNumberType(this, { v2: true }, this.getMetadata())\r\n\t}\r\n\r\n\tformat(format, options) {\r\n\t\treturn formatNumber(\r\n\t\t\tthis,\r\n\t\t\tformat,\r\n\t\t\toptions ? { ...options, v2: true } : { v2: true },\r\n\t\t\tthis.getMetadata()\r\n\t\t)\r\n\t}\r\n\r\n\tformatNational(options) {\r\n\t\treturn this.format('NATIONAL', options)\r\n\t}\r\n\r\n\tformatInternational(options) {\r\n\t\treturn this.format('INTERNATIONAL', options)\r\n\t}\r\n\r\n\tgetURI(options) {\r\n\t\treturn this.format('RFC3966', options)\r\n\t}\r\n}\r\n\r\nconst isCountryCode = (value) => /^[A-Z]{2}$/.test(value)\r\n\r\nfunction getCountryAndCountryCallingCode(countryOrCountryCallingCode, metadataJson) {\r\n\tlet country\r\n\tlet countryCallingCode\r\n\r\n\tconst metadata = new Metadata(metadataJson)\r\n\t// If country code is passed then derive `countryCallingCode` from it.\r\n\t// Also store the country code as `.country`.\r\n\tif (isCountryCode(countryOrCountryCallingCode)) {\r\n\t\tcountry = countryOrCountryCallingCode\r\n\t\tmetadata.selectNumberingPlan(country)\r\n\t\tcountryCallingCode = metadata.countryCallingCode()\r\n\t} else {\r\n\t\tcountryCallingCode = countryOrCountryCallingCode\r\n\t\t/* istanbul ignore if */\r\n\t\tif (USE_NON_GEOGRAPHIC_COUNTRY_CODE) {\r\n\t\t\tif (metadata.isNonGeographicCallingCode(countryCallingCode)) {\r\n\t\t\t\tcountry = '001'\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\r\n\treturn {\r\n\t\tcountry,\r\n\t\tcountryCallingCode\r\n\t}\r\n}","import Metadata from './metadata.js'\r\nimport matchesEntirely from './helpers/matchesEntirely.js'\r\nimport getNumberType from './helpers/getNumberType.js'\r\n\r\n/**\r\n * Checks if a given phone number is valid.\r\n *\r\n * isValid(phoneNumberInstance, { ..., v2: true }, metadata)\r\n *\r\n * isPossible({ phone: '8005553535', country: 'RU' }, { ... }, metadata)\r\n * isPossible({ phone: '8005553535', country: 'RU' }, undefined, metadata)\r\n *\r\n * If the `number` is a string, it will be parsed to an object,\r\n * but only if it contains only valid phone number characters (including punctuation).\r\n * If the `number` is an object, it is used as is.\r\n *\r\n * The optional `defaultCountry` argument is the default country.\r\n * I.e. it does not restrict to just that country,\r\n * e.g. in those cases where several countries share\r\n * the same phone numbering rules (NANPA, Britain, etc).\r\n * For example, even though the number `07624 369230`\r\n * belongs to the Isle of Man (\"IM\" country code)\r\n * calling `isValidNumber('07624369230', 'GB', metadata)`\r\n * still returns `true` because the country is not restricted to `GB`,\r\n * it's just that `GB` is the default one for the phone numbering rules.\r\n * For restricting the country see `isValidNumberForRegion()`\r\n * though restricting a country might not be a good idea.\r\n * https://github.com/googlei18n/libphonenumber/blob/master/FAQ.md#when-should-i-use-isvalidnumberforregion\r\n *\r\n * Examples:\r\n *\r\n * ```js\r\n * isValidNumber('+78005553535', metadata)\r\n * isValidNumber('8005553535', 'RU', metadata)\r\n * isValidNumber('88005553535', 'RU', metadata)\r\n * isValidNumber({ phone: '8005553535', country: 'RU' }, metadata)\r\n * ```\r\n */\r\nexport default function isValidNumber(input, options, metadata)\r\n{\r\n\t// If assigning the `{}` default value is moved to the arguments above,\r\n\t// code coverage would decrease for some weird reason.\r\n\toptions = options || {}\r\n\r\n\tmetadata = new Metadata(metadata)\r\n\r\n\tmetadata.selectNumberingPlan(input.country, input.countryCallingCode)\r\n\r\n\t// By default, countries only have type regexps when it's required for\r\n\t// distinguishing different countries having the same `countryCallingCode`.\r\n\tif (metadata.hasTypes()) {\r\n\t\treturn getNumberType(input, options, metadata.metadata) !== undefined\r\n\t}\r\n\r\n\t// If there are no type regexps for this country in metadata then use\r\n\t// `nationalNumberPattern` as a \"better than nothing\" replacement.\r\n\tconst nationalNumber = options.v2 ? input.nationalNumber : input.phone\r\n\treturn matchesEntirely(nationalNumber, metadata.nationalNumberPattern())\r\n}","import Metadata from '../metadata.js'\r\nimport { VALID_DIGITS } from '../constants.js'\r\n\r\nconst CAPTURING_DIGIT_PATTERN = new RegExp('([' + VALID_DIGITS + '])')\r\n\r\nexport default function stripIddPrefix(number, country, callingCode, metadata) {\r\n\tif (!country) {\r\n\t\treturn\r\n\t}\r\n\t// Check if the number is IDD-prefixed.\r\n\tconst countryMetadata = new Metadata(metadata)\r\n\tcountryMetadata.selectNumberingPlan(country, callingCode)\r\n\tconst IDDPrefixPattern = new RegExp(countryMetadata.IDDPrefix())\r\n\tif (number.search(IDDPrefixPattern) !== 0) {\r\n\t\treturn\r\n\t}\r\n\t// Strip IDD prefix.\r\n\tnumber = number.slice(number.match(IDDPrefixPattern)[0].length)\r\n\t// If there're any digits after an IDD prefix,\r\n\t// then those digits are a country calling code.\r\n\t// Since no country code starts with a `0`,\r\n\t// the code below validates that the next digit (if present) is not `0`.\r\n\tconst matchedGroups = number.match(CAPTURING_DIGIT_PATTERN)\r\n\tif (matchedGroups && matchedGroups[1] != null && matchedGroups[1].length > 0) {\r\n\t\tif (matchedGroups[1] === '0') {\r\n\t\t\treturn\r\n\t\t}\r\n\t}\r\n\treturn number\r\n}","import extractNationalNumberFromPossiblyIncompleteNumber from './extractNationalNumberFromPossiblyIncompleteNumber.js'\r\nimport matchesEntirely from './matchesEntirely.js'\r\nimport checkNumberLength from './checkNumberLength.js'\r\n\r\n/**\r\n * Strips national prefix and carrier code from a complete phone number.\r\n * The difference from the non-\"FromCompleteNumber\" function is that\r\n * it won't extract national prefix if the resultant number is too short\r\n * to be a complete number for the selected phone numbering plan.\r\n * @param {string} number — Complete phone number digits.\r\n * @param {Metadata} metadata — Metadata with a phone numbering plan selected.\r\n * @return {object} `{ nationalNumber: string, carrierCode: string? }`.\r\n */\r\nexport default function extractNationalNumber(number, metadata) {\r\n\t// Parsing national prefixes and carrier codes\r\n\t// is only required for local phone numbers\r\n\t// but some people don't understand that\r\n\t// and sometimes write international phone numbers\r\n\t// with national prefixes (or maybe even carrier codes).\r\n\t// http://ucken.blogspot.ru/2016/03/trunk-prefixes-in-skype4b.html\r\n\t// Google's original library forgives such mistakes\r\n\t// and so does this library, because it has been requested:\r\n\t// https://github.com/catamphetamine/libphonenumber-js/issues/127\r\n\tconst {\r\n\t\tcarrierCode,\r\n\t\tnationalNumber\r\n\t} = extractNationalNumberFromPossiblyIncompleteNumber(\r\n\t\tnumber,\r\n\t\tmetadata\r\n\t)\r\n\r\n\tif (nationalNumber !== number) {\r\n\t\tif (!shouldHaveExtractedNationalPrefix(number, nationalNumber, metadata)) {\r\n\t\t\t// Don't strip the national prefix.\r\n\t\t\treturn { nationalNumber: number }\r\n\t\t}\r\n\t\t// Check the national (significant) number length after extracting national prefix and carrier code.\r\n\t\t// Legacy generated metadata (before `1.0.18`) didn't support the \"possible lengths\" feature.\r\n\t\tif (metadata.possibleLengths()) {\r\n\t\t\t// The number remaining after stripping the national prefix and carrier code\r\n\t\t\t// should be long enough to have a possible length for the country.\r\n\t\t\t// Otherwise, don't strip the national prefix and carrier code,\r\n\t\t\t// since the original number could be a valid number.\r\n\t\t\t// This check has been copy-pasted \"as is\" from Google's original library:\r\n\t\t\t// https://github.com/google/libphonenumber/blob/876268eb1ad6cdc1b7b5bef17fc5e43052702d57/java/libphonenumber/src/com/google/i18n/phonenumbers/PhoneNumberUtil.java#L3236-L3250\r\n\t\t\t// It doesn't check for the \"possibility\" of the original `number`.\r\n\t\t\t// I guess it's fine not checking that one. It works as is anyway.\r\n\t\t\tif (!isPossibleIncompleteNationalNumber(nationalNumber, metadata)) {\r\n\t\t\t\t// Don't strip the national prefix.\r\n\t\t\t\treturn { nationalNumber: number }\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\r\n\treturn { nationalNumber, carrierCode }\r\n}\r\n\r\n// In some countries, the same digit could be a national prefix\r\n// or a leading digit of a valid phone number.\r\n// For example, in Russia, national prefix is `8`,\r\n// and also `800 555 35 35` is a valid number\r\n// in which `8` is not a national prefix, but the first digit\r\n// of a national (significant) number.\r\n// Same's with Belarus:\r\n// `82004910060` is a valid national (significant) number,\r\n// but `2004910060` is not.\r\n// To support such cases (to prevent the code from always stripping\r\n// national prefix), a condition is imposed: a national prefix\r\n// is not extracted when the original number is \"viable\" and the\r\n// resultant number is not, a \"viable\" national number being the one\r\n// that matches `national_number_pattern`.\r\nfunction shouldHaveExtractedNationalPrefix(nationalNumberBefore, nationalNumberAfter, metadata) {\r\n\t// The equivalent in Google's code is:\r\n\t// https://github.com/google/libphonenumber/blob/e326fa1fc4283bb05eb35cb3c15c18f98a31af33/java/libphonenumber/src/com/google/i18n/phonenumbers/PhoneNumberUtil.java#L2969-L3004\r\n\tif (matchesEntirely(nationalNumberBefore, metadata.nationalNumberPattern()) &&\r\n\t\t!matchesEntirely(nationalNumberAfter, metadata.nationalNumberPattern())) {\r\n\t\treturn false\r\n\t}\r\n\t// This \"is possible\" national number (length) check has been commented out\r\n\t// because it's superceded by the (effectively) same check done in the\r\n\t// `extractNationalNumber()` function after it calls `shouldHaveExtractedNationalPrefix()`.\r\n\t// In other words, why run the same check twice if it could only be run once.\r\n\t// // Check the national (significant) number length after extracting national prefix and carrier code.\r\n\t// // Fixes a minor \"weird behavior\" bug: https://gitlab.com/catamphetamine/libphonenumber-js/-/issues/57\r\n\t// // (Legacy generated metadata (before `1.0.18`) didn't support the \"possible lengths\" feature).\r\n\t// if (metadata.possibleLengths()) {\r\n\t// \tif (isPossibleIncompleteNationalNumber(nationalNumberBefore, metadata) &&\r\n\t// \t\t!isPossibleIncompleteNationalNumber(nationalNumberAfter, metadata)) {\r\n\t// \t\treturn false\r\n\t// \t}\r\n\t// }\r\n\treturn true\r\n}\r\n\r\nfunction isPossibleIncompleteNationalNumber(nationalNumber, metadata) {\r\n\tswitch (checkNumberLength(nationalNumber, metadata)) {\r\n\t\tcase 'TOO_SHORT':\r\n\t\tcase 'INVALID_LENGTH':\r\n\t\t// This library ignores \"local-only\" phone numbers (for simplicity).\r\n\t\t// See the readme for more info on what are \"local-only\" phone numbers.\r\n\t\t// case 'IS_POSSIBLE_LOCAL_ONLY':\r\n\t\t\treturn false\r\n\t\tdefault:\r\n\t\t\treturn true\r\n\t}\r\n}","/**\r\n * Strips any national prefix (such as 0, 1) present in a\r\n * (possibly incomplete) number provided.\r\n * \"Carrier codes\" are only used in Colombia and Brazil,\r\n * and only when dialing within those countries from a mobile phone to a fixed line number.\r\n * Sometimes it won't actually strip national prefix\r\n * and will instead prepend some digits to the `number`:\r\n * for example, when number `2345678` is passed with `VI` country selected,\r\n * it will return `{ number: \"3402345678\" }`, because `340` area code is prepended.\r\n * @param {string} number — National number digits.\r\n * @param {object} metadata — Metadata with country selected.\r\n * @return {object} `{ nationalNumber: string, nationalPrefix: string? carrierCode: string? }`. Even if a national prefix was extracted, it's not necessarily present in the returned object, so don't rely on its presence in the returned object in order to find out whether a national prefix has been extracted or not.\r\n */\r\nexport default function extractNationalNumberFromPossiblyIncompleteNumber(number, metadata) {\r\n\tif (number && metadata.numberingPlan.nationalPrefixForParsing()) {\r\n\t\t// See METADATA.md for the description of\r\n\t\t// `national_prefix_for_parsing` and `national_prefix_transform_rule`.\r\n\t\t// Attempt to parse the first digits as a national prefix.\r\n\t\tconst prefixPattern = new RegExp('^(?:' + metadata.numberingPlan.nationalPrefixForParsing() + ')')\r\n\t\tconst prefixMatch = prefixPattern.exec(number)\r\n\t\tif (prefixMatch) {\r\n\t\t\tlet nationalNumber\r\n\t\t\tlet carrierCode\r\n\t\t\t// https://gitlab.com/catamphetamine/libphonenumber-js/-/blob/master/METADATA.md#national_prefix_for_parsing--national_prefix_transform_rule\r\n\t\t\t// If a `national_prefix_for_parsing` has any \"capturing groups\"\r\n\t\t\t// then it means that the national (significant) number is equal to\r\n\t\t\t// those \"capturing groups\" transformed via `national_prefix_transform_rule`,\r\n\t\t\t// and nothing could be said about the actual national prefix:\r\n\t\t\t// what is it and was it even there.\r\n\t\t\t// If a `national_prefix_for_parsing` doesn't have any \"capturing groups\",\r\n\t\t\t// then everything it matches is a national prefix.\r\n\t\t\t// To determine whether `national_prefix_for_parsing` matched any\r\n\t\t\t// \"capturing groups\", the value of the result of calling `.exec()`\r\n\t\t\t// is looked at, and if it has non-undefined values where there're\r\n\t\t\t// \"capturing groups\" in the regular expression, then it means\r\n\t\t\t// that \"capturing groups\" have been matched.\r\n\t\t\t// It's not possible to tell whether there'll be any \"capturing gropus\"\r\n\t\t\t// before the matching process, because a `national_prefix_for_parsing`\r\n\t\t\t// could exhibit both behaviors.\r\n\t\t\tconst capturedGroupsCount = prefixMatch.length - 1\r\n\t\t\tconst hasCapturedGroups = capturedGroupsCount > 0 && prefixMatch[capturedGroupsCount]\r\n\t\t\tif (metadata.nationalPrefixTransformRule() && hasCapturedGroups) {\r\n\t\t\t\tnationalNumber = number.replace(\r\n\t\t\t\t\tprefixPattern,\r\n\t\t\t\t\tmetadata.nationalPrefixTransformRule()\r\n\t\t\t\t)\r\n\t\t\t\t// If there's more than one captured group,\r\n\t\t\t\t// then carrier code is the second one.\r\n\t\t\t\tif (capturedGroupsCount > 1) {\r\n\t\t\t\t\tcarrierCode = prefixMatch[1]\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\t// If there're no \"capturing groups\",\r\n\t\t\t// or if there're \"capturing groups\" but no\r\n\t\t\t// `national_prefix_transform_rule`,\r\n\t\t\t// then just strip the national prefix from the number,\r\n\t\t\t// and possibly a carrier code.\r\n\t\t\t// Seems like there could be more.\r\n\t\t\telse {\r\n\t\t\t\t// `prefixBeforeNationalNumber` is the whole substring matched by\r\n\t\t\t\t// the `national_prefix_for_parsing` regular expression.\r\n\t\t\t\t// There seem to be no guarantees that it's just a national prefix.\r\n\t\t\t\t// For example, if there's a carrier code, it's gonna be a\r\n\t\t\t\t// part of `prefixBeforeNationalNumber` too.\r\n\t\t\t\tconst prefixBeforeNationalNumber = prefixMatch[0]\r\n\t\t\t\tnationalNumber = number.slice(prefixBeforeNationalNumber.length)\r\n\t\t\t\t// If there's at least one captured group,\r\n\t\t\t\t// then carrier code is the first one.\r\n\t\t\t\tif (hasCapturedGroups) {\r\n\t\t\t\t\tcarrierCode = prefixMatch[1]\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\t// Tries to guess whether a national prefix was present in the input.\r\n\t\t\t// This is not something copy-pasted from Google's library:\r\n\t\t\t// they don't seem to have an equivalent for that.\r\n\t\t\t// So this isn't an \"officially approved\" way of doing something like that.\r\n\t\t\t// But since there seems no other existing method, this library uses it.\r\n\t\t\tlet nationalPrefix\r\n\t\t\tif (hasCapturedGroups) {\r\n\t\t\t\tconst possiblePositionOfTheFirstCapturedGroup = number.indexOf(prefixMatch[1])\r\n\t\t\t\tconst possibleNationalPrefix = number.slice(0, possiblePositionOfTheFirstCapturedGroup)\r\n\t\t\t\t// Example: an Argentinian (AR) phone number `0111523456789`.\r\n\t\t\t\t// `prefixMatch[0]` is `01115`, and `$1` is `11`,\r\n\t\t\t\t// and the rest of the phone number is `23456789`.\r\n\t\t\t\t// The national number is transformed via `9$1` to `91123456789`.\r\n\t\t\t\t// National prefix `0` is detected being present at the start.\r\n\t\t\t\t// if (possibleNationalPrefix.indexOf(metadata.numberingPlan.nationalPrefix()) === 0) {\r\n\t\t\t\tif (possibleNationalPrefix === metadata.numberingPlan.nationalPrefix()) {\r\n\t\t\t\t\tnationalPrefix = metadata.numberingPlan.nationalPrefix()\r\n\t\t\t\t}\r\n\t\t\t} else {\r\n\t\t\t\tnationalPrefix = prefixMatch[0]\r\n\t\t\t}\r\n\t\t\treturn {\r\n\t\t\t\tnationalNumber,\r\n\t\t\t\tnationalPrefix,\r\n\t\t\t\tcarrierCode\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n return {\r\n \tnationalNumber: number\r\n }\r\n}","import stripIddPrefix from './stripIddPrefix.js'\r\nimport extractCountryCallingCodeFromInternationalNumberWithoutPlusSign from './extractCountryCallingCodeFromInternationalNumberWithoutPlusSign.js'\r\nimport Metadata from '../metadata.js'\r\nimport { MAX_LENGTH_COUNTRY_CODE } from '../constants.js'\r\n\r\n/**\r\n * Converts a phone number digits (possibly with a `+`)\r\n * into a calling code and the rest phone number digits.\r\n * The \"rest phone number digits\" could include\r\n * a national prefix, carrier code, and national\r\n * (significant) number.\r\n * @param {string} number — Phone number digits (possibly with a `+`).\r\n * @param {string} [country] — Default country.\r\n * @param {string} [callingCode] — Default calling code (some phone numbering plans are non-geographic).\r\n * @param {object} metadata\r\n * @return {object} `{ countryCallingCodeSource: string?, countryCallingCode: string?, number: string }`\r\n * @example\r\n * // Returns `{ countryCallingCode: \"1\", number: \"2133734253\" }`.\r\n * extractCountryCallingCode('2133734253', 'US', null, metadata)\r\n * extractCountryCallingCode('2133734253', null, '1', metadata)\r\n * extractCountryCallingCode('+12133734253', null, null, metadata)\r\n * extractCountryCallingCode('+12133734253', 'RU', null, metadata)\r\n */\r\nexport default function extractCountryCallingCode(\r\n\tnumber,\r\n\tcountry,\r\n\tcallingCode,\r\n\tmetadata\r\n) {\r\n\tif (!number) {\r\n\t\treturn {}\r\n\t}\r\n\r\n\tlet isNumberWithIddPrefix\r\n\r\n\t// If this is not an international phone number,\r\n\t// then either extract an \"IDD\" prefix, or extract a\r\n\t// country calling code from a number by autocorrecting it\r\n\t// by prepending a leading `+` in cases when it starts\r\n\t// with the country calling code.\r\n\t// https://wikitravel.org/en/International_dialling_prefix\r\n\t// https://github.com/catamphetamine/libphonenumber-js/issues/376\r\n\tif (number[0] !== '+') {\r\n\t\t// Convert an \"out-of-country\" dialing phone number\r\n\t\t// to a proper international phone number.\r\n\t\tconst numberWithoutIDD = stripIddPrefix(number, country, callingCode, metadata)\r\n\t\t// If an IDD prefix was stripped then\r\n\t\t// convert the number to international one\r\n\t\t// for subsequent parsing.\r\n\t\tif (numberWithoutIDD && numberWithoutIDD !== number) {\r\n\t\t\tisNumberWithIddPrefix = true\r\n\t\t\tnumber = '+' + numberWithoutIDD\r\n\t\t} else {\r\n\t\t\t// Check to see if the number starts with the country calling code\r\n\t\t\t// for the default country. If so, we remove the country calling code,\r\n\t\t\t// and do some checks on the validity of the number before and after.\r\n\t\t\t// https://github.com/catamphetamine/libphonenumber-js/issues/376\r\n\t\t\tif (country || callingCode) {\r\n\t\t\t\tconst {\r\n\t\t\t\t\tcountryCallingCode,\r\n\t\t\t\t\tnumber: shorterNumber\r\n\t\t\t\t} = extractCountryCallingCodeFromInternationalNumberWithoutPlusSign(\r\n\t\t\t\t\tnumber,\r\n\t\t\t\t\tcountry,\r\n\t\t\t\t\tcallingCode,\r\n\t\t\t\t\tmetadata\r\n\t\t\t\t)\r\n\t\t\t\tif (countryCallingCode) {\r\n\t\t\t\t\treturn {\r\n\t\t\t\t\t\tcountryCallingCodeSource: 'FROM_NUMBER_WITHOUT_PLUS_SIGN',\r\n\t\t\t\t\t\tcountryCallingCode,\r\n\t\t\t\t\t\tnumber: shorterNumber\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\treturn {\r\n\t\t\t\t// No need to set it to `UNSPECIFIED`. It can be just `undefined`.\r\n\t\t\t\t// countryCallingCodeSource: 'UNSPECIFIED',\r\n\t\t\t\tnumber\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\r\n\t// Fast abortion: country codes do not begin with a '0'\r\n\tif (number[1] === '0') {\r\n\t\treturn {}\r\n\t}\r\n\r\n\tmetadata = new Metadata(metadata)\r\n\r\n\t// The thing with country phone codes\r\n\t// is that they are orthogonal to each other\r\n\t// i.e. there's no such country phone code A\r\n\t// for which country phone code B exists\r\n\t// where B starts with A.\r\n\t// Therefore, while scanning digits,\r\n\t// if a valid country code is found,\r\n\t// that means that it is the country code.\r\n\t//\r\n\tlet i = 2\r\n\twhile (i - 1 <= MAX_LENGTH_COUNTRY_CODE && i <= number.length) {\r\n\t\tconst countryCallingCode = number.slice(1, i)\r\n\t\tif (metadata.hasCallingCode(countryCallingCode)) {\r\n\t\t\tmetadata.selectNumberingPlan(countryCallingCode)\r\n\t\t\treturn {\r\n\t\t\t\tcountryCallingCodeSource: isNumberWithIddPrefix ? 'FROM_NUMBER_WITH_IDD' : 'FROM_NUMBER_WITH_PLUS_SIGN',\r\n\t\t\t\tcountryCallingCode,\r\n\t\t\t\tnumber: number.slice(i)\r\n\t\t\t}\r\n\t\t}\r\n\t\ti++\r\n\t}\r\n\r\n\treturn {}\r\n}\r\n\r\n// The possible values for the returned `countryCallingCodeSource` are:\r\n//\r\n// Copy-pasted from:\r\n// https://github.com/google/libphonenumber/blob/master/resources/phonenumber.proto\r\n//\r\n// // The source from which the country_code is derived. This is not set in the\r\n// // general parsing method, but in the method that parses and keeps raw_input.\r\n// // New fields could be added upon request.\r\n// enum CountryCodeSource {\r\n// // Default value returned if this is not set, because the phone number was\r\n// // created using parse, not parseAndKeepRawInput. hasCountryCodeSource will\r\n// // return false if this is the case.\r\n// UNSPECIFIED = 0;\r\n//\r\n// // The country_code is derived based on a phone number with a leading \"+\",\r\n// // e.g. the French number \"+33 1 42 68 53 00\".\r\n// FROM_NUMBER_WITH_PLUS_SIGN = 1;\r\n//\r\n// // The country_code is derived based on a phone number with a leading IDD,\r\n// // e.g. the French number \"011 33 1 42 68 53 00\", as it is dialled from US.\r\n// FROM_NUMBER_WITH_IDD = 5;\r\n//\r\n// // The country_code is derived based on a phone number without a leading\r\n// // \"+\", e.g. the French number \"33 1 42 68 53 00\" when defaultCountry is\r\n// // supplied as France.\r\n// FROM_NUMBER_WITHOUT_PLUS_SIGN = 10;\r\n//\r\n// // The country_code is derived NOT based on the phone number itself, but\r\n// // from the defaultCountry parameter provided in the parsing function by the\r\n// // clients. This happens mostly for numbers written in the national format\r\n// // (without country code). For example, this would be set when parsing the\r\n// // French number \"01 42 68 53 00\", when defaultCountry is supplied as\r\n// // France.\r\n// FROM_DEFAULT_COUNTRY = 20;\r\n// }","import Metadata from '../metadata.js'\r\nimport matchesEntirely from './matchesEntirely.js'\r\nimport extractNationalNumber from './extractNationalNumber.js'\r\nimport checkNumberLength from './checkNumberLength.js'\r\nimport getCountryCallingCode from '../getCountryCallingCode.js'\r\n\r\n/**\r\n * Sometimes some people incorrectly input international phone numbers\r\n * without the leading `+`. This function corrects such input.\r\n * @param {string} number — Phone number digits.\r\n * @param {string?} country\r\n * @param {string?} callingCode\r\n * @param {object} metadata\r\n * @return {object} `{ countryCallingCode: string?, number: string }`.\r\n */\r\nexport default function extractCountryCallingCodeFromInternationalNumberWithoutPlusSign(\r\n\tnumber,\r\n\tcountry,\r\n\tcallingCode,\r\n\tmetadata\r\n) {\r\n\tconst countryCallingCode = country ? getCountryCallingCode(country, metadata) : callingCode\r\n\tif (number.indexOf(countryCallingCode) === 0) {\r\n\t\tmetadata = new Metadata(metadata)\r\n\t\tmetadata.selectNumberingPlan(country, callingCode)\r\n\t\tconst possibleShorterNumber = number.slice(countryCallingCode.length)\r\n\t\tconst {\r\n\t\t\tnationalNumber: possibleShorterNationalNumber,\r\n\t\t} = extractNationalNumber(\r\n\t\t\tpossibleShorterNumber,\r\n\t\t\tmetadata\r\n\t\t)\r\n\t\tconst {\r\n\t\t\tnationalNumber\r\n\t\t} = extractNationalNumber(\r\n\t\t\tnumber,\r\n\t\t\tmetadata\r\n\t\t)\r\n\t\t// If the number was not valid before but is valid now,\r\n\t\t// or if it was too long before, we consider the number\r\n\t\t// with the country calling code stripped to be a better result\r\n\t\t// and keep that instead.\r\n\t\t// For example, in Germany (+49), `49` is a valid area code,\r\n\t\t// so if a number starts with `49`, it could be both a valid\r\n\t\t// national German number or an international number without\r\n\t\t// a leading `+`.\r\n\t\tif (\r\n\t\t\t(\r\n\t\t\t\t!matchesEntirely(nationalNumber, metadata.nationalNumberPattern())\r\n\t\t\t\t&&\r\n\t\t\t\tmatchesEntirely(possibleShorterNationalNumber, metadata.nationalNumberPattern())\r\n\t\t\t)\r\n\t\t\t||\r\n\t\t\tcheckNumberLength(nationalNumber, metadata) === 'TOO_LONG'\r\n\t\t) {\r\n\t\t\treturn {\r\n\t\t\t\tcountryCallingCode,\r\n\t\t\t\tnumber: possibleShorterNumber\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\treturn { number }\r\n}","import getCountryByNationalNumber from './getCountryByNationalNumber.js'\r\n\r\nconst USE_NON_GEOGRAPHIC_COUNTRY_CODE = false\r\n\r\nexport default function getCountryByCallingCode(callingCode, {\r\n\tnationalNumber: nationalPhoneNumber,\r\n\tdefaultCountry,\r\n\tmetadata\r\n}) {\r\n\t/* istanbul ignore if */\r\n\tif (USE_NON_GEOGRAPHIC_COUNTRY_CODE) {\r\n\t\tif (metadata.isNonGeographicCallingCode(callingCode)) {\r\n\t\t\treturn '001'\r\n\t\t}\r\n\t}\r\n\tconst possibleCountries = metadata.getCountryCodesForCallingCode(callingCode)\r\n\tif (!possibleCountries) {\r\n\t\treturn\r\n\t}\r\n\t// If there's just one country corresponding to the country code,\r\n\t// then just return it, without further phone number digits validation.\r\n\tif (possibleCountries.length === 1) {\r\n\t\treturn possibleCountries[0]\r\n\t}\r\n\treturn getCountryByNationalNumber(nationalPhoneNumber, {\r\n\t\tcountries: possibleCountries,\r\n\t\tdefaultCountry,\r\n\t\tmetadata: metadata.metadata\r\n\t})\r\n}","import Metadata from '../metadata.js'\r\nimport getNumberType from './getNumberType.js'\r\n\r\nexport default function getCountryByNationalNumber(nationalPhoneNumber, {\r\n\tcountries,\r\n\tdefaultCountry,\r\n\tmetadata\r\n}) {\r\n\t// Re-create `metadata` because it will be selecting a `country`.\r\n\tmetadata = new Metadata(metadata)\r\n\r\n\t// const matchingCountries = []\r\n\r\n\tfor (const country of countries) {\r\n\t\tmetadata.country(country)\r\n\t\t// \"Leading digits\" patterns are only defined for about 20% of all countries.\r\n\t\t// By definition, matching \"leading digits\" is a sufficient but not a necessary\r\n\t\t// condition for a phone number to belong to a country.\r\n\t\t// The point of \"leading digits\" check is that it's the fastest one to get a match.\r\n\t\t// https://gitlab.com/catamphetamine/libphonenumber-js/blob/master/METADATA.md#leading_digits\r\n\t\t// I'd suppose that \"leading digits\" patterns are mutually exclusive for different countries\r\n\t\t// because of the intended use of that feature.\r\n\t\tif (metadata.leadingDigits()) {\r\n\t\t\tif (nationalPhoneNumber &&\r\n\t\t\t\tnationalPhoneNumber.search(metadata.leadingDigits()) === 0) {\r\n\t\t\t\treturn country\r\n\t\t\t}\r\n\t\t}\r\n\t\t// Else perform full validation with all of those\r\n\t\t// fixed-line/mobile/etc regular expressions.\r\n\t\telse if (getNumberType({ phone: nationalPhoneNumber, country }, undefined, metadata.metadata)) {\r\n\t\t\t// If both the `defaultCountry` and the \"main\" one match the phone number,\r\n\t\t\t// don't prefer the `defaultCountry` over the \"main\" one.\r\n\t\t\t// https://gitlab.com/catamphetamine/libphonenumber-js/-/issues/154\r\n\t\t\treturn country\r\n\t\t\t// // If the `defaultCountry` is among the `matchingCountries` then return it.\r\n\t\t\t// if (defaultCountry) {\r\n\t\t\t// \tif (country === defaultCountry) {\r\n\t\t\t// \t\treturn country\r\n\t\t\t// \t}\r\n\t\t\t// \tmatchingCountries.push(country)\r\n\t\t\t// } else {\r\n\t\t\t// \treturn country\r\n\t\t\t// }\r\n\t\t}\r\n\t}\r\n\r\n\t// // Return the first (\"main\") one of the `matchingCountries`.\r\n\t// if (matchingCountries.length > 0) {\r\n\t// \treturn matchingCountries[0]\r\n\t// }\r\n}","// When phone numbers are written in `RFC3966` format — `\"tel:+12133734253\"` —\r\n// they can have their \"calling code\" part written separately in a `phone-context` parameter.\r\n// Example: `\"tel:12133734253;phone-context=+1\"`.\r\n// This function parses the full phone number from the local number and the `phone-context`\r\n// when the `phone-context` contains a `+` sign.\r\n\r\nimport {\r\n VALID_DIGITS,\r\n // PLUS_CHARS\r\n} from '../constants.js'\r\n\r\nexport const PLUS_SIGN = '+'\r\n\r\nconst RFC3966_VISUAL_SEPARATOR_ = '[\\\\-\\\\.\\\\(\\\\)]?'\r\n\r\nconst RFC3966_PHONE_DIGIT_ = '(' + '[' + VALID_DIGITS + ']' + '|' + RFC3966_VISUAL_SEPARATOR_ + ')'\r\n\r\nconst RFC3966_GLOBAL_NUMBER_DIGITS_ =\r\n\t'^' +\r\n\t'\\\\' +\r\n\tPLUS_SIGN +\r\n\tRFC3966_PHONE_DIGIT_ +\r\n\t'*' +\r\n\t'[' + VALID_DIGITS + ']' +\r\n\tRFC3966_PHONE_DIGIT_ +\r\n\t'*' +\r\n\t'$'\r\n\r\n/**\r\n * Regular expression of valid global-number-digits for the phone-context\r\n * parameter, following the syntax defined in RFC3966.\r\n */\r\nconst RFC3966_GLOBAL_NUMBER_DIGITS_PATTERN_ = new RegExp(RFC3966_GLOBAL_NUMBER_DIGITS_, 'g')\r\n\r\n// In this port of Google's library, we don't accept alpha characters in phone numbers.\r\n// const ALPHANUM_ = VALID_ALPHA_ + VALID_DIGITS\r\nconst ALPHANUM_ = VALID_DIGITS\r\n\r\nconst RFC3966_DOMAINLABEL_ = '[' + ALPHANUM_ + ']+((\\\\-)*[' + ALPHANUM_ + '])*'\r\n\r\nconst VALID_ALPHA_ = 'a-zA-Z'\r\nconst RFC3966_TOPLABEL_ = '[' + VALID_ALPHA_ + ']+((\\\\-)*[' + ALPHANUM_ + '])*'\r\n\r\nconst RFC3966_DOMAINNAME_ = '^(' + RFC3966_DOMAINLABEL_ + '\\\\.)*' + RFC3966_TOPLABEL_ + '\\\\.?$'\r\n\r\n/**\r\n * Regular expression of valid domainname for the phone-context parameter,\r\n * following the syntax defined in RFC3966.\r\n */\r\nconst RFC3966_DOMAINNAME_PATTERN_ = new RegExp(RFC3966_DOMAINNAME_, 'g')\r\n\r\nexport const RFC3966_PREFIX_ = 'tel:'\r\nexport const RFC3966_PHONE_CONTEXT_ = ';phone-context='\r\nexport const RFC3966_ISDN_SUBADDRESS_ = ';isub='\r\n\r\n/**\r\n * Extracts the value of the phone-context parameter of `numberToExtractFrom`,\r\n * following the syntax defined in RFC3966.\r\n *\r\n * @param {string} numberToExtractFrom\r\n * @return {string|null} the extracted string (possibly empty), or `null` if no phone-context parameter is found.\r\n */\r\nexport default function extractPhoneContext(numberToExtractFrom) {\r\n\tconst indexOfPhoneContext = numberToExtractFrom.indexOf(RFC3966_PHONE_CONTEXT_)\r\n\t// If no phone-context parameter is present\r\n\tif (indexOfPhoneContext < 0) {\r\n\t\treturn null\r\n\t}\r\n\r\n\tconst phoneContextStart = indexOfPhoneContext + RFC3966_PHONE_CONTEXT_.length\r\n\t// If phone-context parameter is empty\r\n\tif (phoneContextStart >= numberToExtractFrom.length) {\r\n\t\treturn ''\r\n\t}\r\n\r\n\tconst phoneContextEnd = numberToExtractFrom.indexOf(';', phoneContextStart)\r\n\t// If phone-context is not the last parameter\r\n\tif (phoneContextEnd >= 0) {\r\n\t\treturn numberToExtractFrom.substring(phoneContextStart, phoneContextEnd)\r\n\t} else {\r\n\t\treturn numberToExtractFrom.substring(phoneContextStart)\r\n\t}\r\n}\r\n\r\n/**\r\n * Returns whether the value of phoneContext follows the syntax defined in RFC3966.\r\n *\r\n * @param {string|null} phoneContext\r\n * @return {boolean}\r\n */\r\nexport function isPhoneContextValid(phoneContext) {\r\n\tif (phoneContext === null) {\r\n\t\treturn true\r\n\t}\r\n\r\n\tif (phoneContext.length === 0) {\r\n\t\treturn false\r\n\t}\r\n\r\n\t// Does phone-context value match pattern of global-number-digits or domainname.\r\n\treturn RFC3966_GLOBAL_NUMBER_DIGITS_PATTERN_.test(phoneContext) ||\r\n\t\tRFC3966_DOMAINNAME_PATTERN_.test(phoneContext)\r\n}","import extractPhoneContext, {\r\n\tisPhoneContextValid,\r\n\tPLUS_SIGN,\r\n\tRFC3966_PREFIX_,\r\n\tRFC3966_PHONE_CONTEXT_,\r\n\tRFC3966_ISDN_SUBADDRESS_\r\n} from './extractPhoneContext.js'\r\n\r\nimport ParseError from '../ParseError.js'\r\n\r\n/**\r\n * @param {string} numberToParse\r\n * @param {string} nationalNumber\r\n * @return {}\r\n */\r\nexport default function extractFormattedPhoneNumberFromPossibleRfc3966NumberUri(numberToParse, {\r\n\textractFormattedPhoneNumber\r\n}) {\r\n\tconst phoneContext = extractPhoneContext(numberToParse)\r\n\tif (!isPhoneContextValid(phoneContext)) {\r\n\t\tthrow new ParseError('NOT_A_NUMBER')\r\n\t}\r\n\r\n\tlet phoneNumberString\r\n\r\n\tif (phoneContext === null) {\r\n\t\t// Extract a possible number from the string passed in.\r\n\t\t// (this strips leading characters that could not be the start of a phone number)\r\n\t\tphoneNumberString = extractFormattedPhoneNumber(numberToParse) || ''\r\n\t} else {\r\n\t\tphoneNumberString = ''\r\n\r\n\t\t// If the phone context contains a phone number prefix, we need to capture\r\n\t\t// it, whereas domains will be ignored.\r\n\t\tif (phoneContext.charAt(0) === PLUS_SIGN) {\r\n\t\t\tphoneNumberString += phoneContext\r\n\t\t}\r\n\r\n\t\t// Now append everything between the \"tel:\" prefix and the phone-context.\r\n\t\t// This should include the national number, an optional extension or\r\n\t\t// isdn-subaddress component. Note we also handle the case when \"tel:\" is\r\n\t\t// missing, as we have seen in some of the phone number inputs.\r\n\t\t// In that case, we append everything from the beginning.\r\n\t\tconst indexOfRfc3966Prefix = numberToParse.indexOf(RFC3966_PREFIX_)\r\n\t\tlet indexOfNationalNumber\r\n\t\t// RFC 3966 \"tel:\" prefix is preset at this stage because\r\n\t\t// `isPhoneContextValid()` requires it to be present.\r\n\t\t/* istanbul ignore else */\r\n\t\tif (indexOfRfc3966Prefix >= 0) {\r\n\t\t\tindexOfNationalNumber = indexOfRfc3966Prefix + RFC3966_PREFIX_.length\r\n\t\t} else {\r\n\t\t\tindexOfNationalNumber = 0\r\n\t\t}\r\n\t\tconst indexOfPhoneContext = numberToParse.indexOf(RFC3966_PHONE_CONTEXT_)\r\n\t\tphoneNumberString += numberToParse.substring(indexOfNationalNumber, indexOfPhoneContext)\r\n\t}\r\n\r\n\t// Delete the isdn-subaddress and everything after it if it is present.\r\n\t// Note extension won't appear at the same time with isdn-subaddress\r\n\t// according to paragraph 5.3 of the RFC3966 spec.\r\n\tconst indexOfIsdn = phoneNumberString.indexOf(RFC3966_ISDN_SUBADDRESS_)\r\n\tif (indexOfIsdn > 0) {\r\n\t\tphoneNumberString = phoneNumberString.substring(0, indexOfIsdn)\r\n\t}\r\n\t// If both phone context and isdn-subaddress are absent but other\r\n\t// parameters are present, the parameters are left in nationalNumber.\r\n\t// This is because we are concerned about deleting content from a potential\r\n\t// number string when there is no strong evidence that the number is\r\n\t// actually written in RFC3966.\r\n\r\n\tif (phoneNumberString !== '') {\r\n\t\treturn phoneNumberString\r\n\t}\r\n}","// This is a port of Google Android `libphonenumber`'s\r\n// `phonenumberutil.js` of December 31th, 2018.\r\n//\r\n// https://github.com/googlei18n/libphonenumber/commits/master/javascript/i18n/phonenumbers/phonenumberutil.js\r\n\r\nimport {\r\n\tVALID_DIGITS,\r\n\tPLUS_CHARS,\r\n\tMIN_LENGTH_FOR_NSN,\r\n\tMAX_LENGTH_FOR_NSN\r\n} from './constants.js'\r\n\r\nimport ParseError from './ParseError.js'\r\nimport Metadata from './metadata.js'\r\nimport isViablePhoneNumber, { isViablePhoneNumberStart } from './helpers/isViablePhoneNumber.js'\r\nimport extractExtension from './helpers/extension/extractExtension.js'\r\nimport parseIncompletePhoneNumber from './parseIncompletePhoneNumber.js'\r\nimport getCountryCallingCode from './getCountryCallingCode.js'\r\nimport { isPossibleNumber } from './isPossible.js'\r\n// import { parseRFC3966 } from './helpers/RFC3966.js'\r\nimport PhoneNumber from './PhoneNumber.js'\r\nimport matchesEntirely from './helpers/matchesEntirely.js'\r\nimport extractCountryCallingCode from './helpers/extractCountryCallingCode.js'\r\nimport extractNationalNumber from './helpers/extractNationalNumber.js'\r\nimport stripIddPrefix from './helpers/stripIddPrefix.js'\r\nimport getCountryByCallingCode from './helpers/getCountryByCallingCode.js'\r\nimport extractFormattedPhoneNumberFromPossibleRfc3966NumberUri from './helpers/extractFormattedPhoneNumberFromPossibleRfc3966NumberUri.js'\r\n\r\n// We don't allow input strings for parsing to be longer than 250 chars.\r\n// This prevents malicious input from consuming CPU.\r\nconst MAX_INPUT_STRING_LENGTH = 250\r\n\r\n// This consists of the plus symbol, digits, and arabic-indic digits.\r\nconst PHONE_NUMBER_START_PATTERN = new RegExp('[' + PLUS_CHARS + VALID_DIGITS + ']')\r\n\r\n// Regular expression of trailing characters that we want to remove.\r\n// A trailing `#` is sometimes used when writing phone numbers with extensions in US.\r\n// Example: \"+1 (645) 123 1234-910#\" number has extension \"910\".\r\nconst AFTER_PHONE_NUMBER_END_PATTERN = new RegExp('[^' + VALID_DIGITS + '#' + ']+$')\r\n\r\nconst USE_NON_GEOGRAPHIC_COUNTRY_CODE = false\r\n\r\n// Examples:\r\n//\r\n// ```js\r\n// parse('8 (800) 555-35-35', 'RU')\r\n// parse('8 (800) 555-35-35', 'RU', metadata)\r\n// parse('8 (800) 555-35-35', { country: { default: 'RU' } })\r\n// parse('8 (800) 555-35-35', { country: { default: 'RU' } }, metadata)\r\n// parse('+7 800 555 35 35')\r\n// parse('+7 800 555 35 35', metadata)\r\n// ```\r\n//\r\n\r\n/**\r\n * Parses a phone number.\r\n *\r\n * parse('123456789', { defaultCountry: 'RU', v2: true }, metadata)\r\n * parse('123456789', { defaultCountry: 'RU' }, metadata)\r\n * parse('123456789', undefined, metadata)\r\n *\r\n * @param {string} input\r\n * @param {object} [options]\r\n * @param {object} metadata\r\n * @return {object|PhoneNumber?} If `options.v2: true` flag is passed, it returns a `PhoneNumber?` instance. Otherwise, returns an object of shape `{ phone: '...', country: '...' }` (or just `{}` if no phone number was parsed).\r\n */\r\nexport default function parse(text, options, metadata) {\r\n\t// If assigning the `{}` default value is moved to the arguments above,\r\n\t// code coverage would decrease for some weird reason.\r\n\toptions = options || {}\r\n\r\n\tmetadata = new Metadata(metadata)\r\n\r\n\t// Validate `defaultCountry`.\r\n\tif (options.defaultCountry && !metadata.hasCountry(options.defaultCountry)) {\r\n\t\tif (options.v2) {\r\n\t\t\tthrow new ParseError('INVALID_COUNTRY')\r\n\t\t}\r\n\t\tthrow new Error(`Unknown country: ${options.defaultCountry}`)\r\n\t}\r\n\r\n\t// Parse the phone number.\r\n\tconst { number: formattedPhoneNumber, ext, error } = parseInput(text, options.v2, options.extract)\r\n\r\n\t// If the phone number is not viable then return nothing.\r\n\tif (!formattedPhoneNumber) {\r\n\t\tif (options.v2) {\r\n\t\t\tif (error === 'TOO_SHORT') {\r\n\t\t\t\tthrow new ParseError('TOO_SHORT')\r\n\t\t\t}\r\n\t\t\tthrow new ParseError('NOT_A_NUMBER')\r\n\t\t}\r\n\t\treturn {}\r\n\t}\r\n\r\n\tconst {\r\n\t\tcountry,\r\n\t\tnationalNumber,\r\n\t\tcountryCallingCode,\r\n\t\tcountryCallingCodeSource,\r\n\t\tcarrierCode\r\n\t} = parsePhoneNumber(\r\n\t\tformattedPhoneNumber,\r\n\t\toptions.defaultCountry,\r\n\t\toptions.defaultCallingCode,\r\n\t\tmetadata\r\n\t)\r\n\r\n\tif (!metadata.hasSelectedNumberingPlan()) {\r\n\t\tif (options.v2) {\r\n\t\t\tthrow new ParseError('INVALID_COUNTRY')\r\n\t\t}\r\n\t\treturn {}\r\n\t}\r\n\r\n\t// Validate national (significant) number length.\r\n\tif (!nationalNumber || nationalNumber.length < MIN_LENGTH_FOR_NSN) {\r\n\t\t// Won't throw here because the regexp already demands length > 1.\r\n\t\t/* istanbul ignore if */\r\n\t\tif (options.v2) {\r\n\t\t\tthrow new ParseError('TOO_SHORT')\r\n\t\t}\r\n\t\t// Google's demo just throws an error in this case.\r\n\t\treturn {}\r\n\t}\r\n\r\n\t// Validate national (significant) number length.\r\n\t//\r\n\t// A sidenote:\r\n\t//\r\n\t// They say that sometimes national (significant) numbers\r\n\t// can be longer than `MAX_LENGTH_FOR_NSN` (e.g. in Germany).\r\n\t// https://github.com/googlei18n/libphonenumber/blob/7e1748645552da39c4e1ba731e47969d97bdb539/resources/phonenumber.proto#L36\r\n\t// Such numbers will just be discarded.\r\n\t//\r\n\tif (nationalNumber.length > MAX_LENGTH_FOR_NSN) {\r\n\t\tif (options.v2) {\r\n\t\t\tthrow new ParseError('TOO_LONG')\r\n\t\t}\r\n\t\t// Google's demo just throws an error in this case.\r\n\t\treturn {}\r\n\t}\r\n\r\n\tif (options.v2) {\r\n\t\tconst phoneNumber = new PhoneNumber(\r\n\t\t\tcountryCallingCode,\r\n\t\t\tnationalNumber,\r\n\t\t\tmetadata.metadata\r\n\t\t)\r\n\t\tif (country) {\r\n\t\t\tphoneNumber.country = country\r\n\t\t}\r\n\t\tif (carrierCode) {\r\n\t\t\tphoneNumber.carrierCode = carrierCode\r\n\t\t}\r\n\t\tif (ext) {\r\n\t\t\tphoneNumber.ext = ext\r\n\t\t}\r\n\t\tphoneNumber.__countryCallingCodeSource = countryCallingCodeSource\r\n\t\treturn phoneNumber\r\n\t}\r\n\r\n\t// Check if national phone number pattern matches the number.\r\n\t// National number pattern is different for each country,\r\n\t// even for those ones which are part of the \"NANPA\" group.\r\n\tconst valid = (options.extended ? metadata.hasSelectedNumberingPlan() : country) ?\r\n\t\tmatchesEntirely(nationalNumber, metadata.nationalNumberPattern()) :\r\n\t\tfalse\r\n\r\n\tif (!options.extended) {\r\n\t\treturn valid ? result(country, nationalNumber, ext) : {}\r\n\t}\r\n\r\n\t// isInternational: countryCallingCode !== undefined\r\n\r\n\treturn {\r\n\t\tcountry,\r\n\t\tcountryCallingCode,\r\n\t\tcarrierCode,\r\n\t\tvalid,\r\n\t\tpossible: valid ? true : (\r\n\t\t\toptions.extended === true &&\r\n\t\t\tmetadata.possibleLengths() &&\r\n\t\t\tisPossibleNumber(nationalNumber, metadata) ? true : false\r\n\t\t),\r\n\t\tphone: nationalNumber,\r\n\t\text\r\n\t}\r\n}\r\n\r\n/**\r\n * Extracts a formatted phone number from text.\r\n * Doesn't guarantee that the extracted phone number\r\n * is a valid phone number (for example, doesn't validate its length).\r\n * @param {string} text\r\n * @param {boolean} [extract] — If `false`, then will parse the entire `text` as a phone number.\r\n * @param {boolean} [throwOnError] — By default, it won't throw if the text is too long.\r\n * @return {string}\r\n * @example\r\n * // Returns \"(213) 373-4253\".\r\n * extractFormattedPhoneNumber(\"Call (213) 373-4253 for assistance.\")\r\n */\r\nfunction extractFormattedPhoneNumber(text, extract, throwOnError) {\r\n\tif (!text) {\r\n\t\treturn\r\n\t}\r\n\tif (text.length > MAX_INPUT_STRING_LENGTH) {\r\n\t\tif (throwOnError) {\r\n\t\t\tthrow new ParseError('TOO_LONG')\r\n\t\t}\r\n\t\treturn\r\n\t}\r\n\tif (extract === false) {\r\n\t\treturn text\r\n\t}\r\n\t// Attempt to extract a possible number from the string passed in\r\n\tconst startsAt = text.search(PHONE_NUMBER_START_PATTERN)\r\n\tif (startsAt < 0) {\r\n\t\treturn\r\n\t}\r\n\treturn text\r\n\t\t// Trim everything to the left of the phone number\r\n\t\t.slice(startsAt)\r\n\t\t// Remove trailing non-numerical characters\r\n\t\t.replace(AFTER_PHONE_NUMBER_END_PATTERN, '')\r\n}\r\n\r\n/**\r\n * @param {string} text - Input.\r\n * @param {boolean} v2 - Legacy API functions don't pass `v2: true` flag.\r\n * @param {boolean} [extract] - Whether to extract a phone number from `text`, or attempt to parse the entire text as a phone number.\r\n * @return {object} `{ ?number, ?ext }`.\r\n */\r\nfunction parseInput(text, v2, extract) {\r\n\t// // Parse RFC 3966 phone number URI.\r\n\t// if (text && text.indexOf('tel:') === 0) {\r\n\t// \treturn parseRFC3966(text)\r\n\t// }\r\n\t// let number = extractFormattedPhoneNumber(text, extract, v2)\r\n\tlet number = extractFormattedPhoneNumberFromPossibleRfc3966NumberUri(text, {\r\n\t\textractFormattedPhoneNumber: (text) => extractFormattedPhoneNumber(text, extract, v2)\r\n\t})\r\n\t// If the phone number is not viable, then abort.\r\n\tif (!number) {\r\n\t\treturn {}\r\n\t}\r\n\tif (!isViablePhoneNumber(number)) {\r\n\t\tif (isViablePhoneNumberStart(number)) {\r\n\t\t\treturn { error: 'TOO_SHORT' }\r\n\t\t}\r\n\t\treturn {}\r\n\t}\r\n\t// Attempt to parse extension first, since it doesn't require region-specific\r\n\t// data and we want to have the non-normalised number here.\r\n\tconst withExtensionStripped = extractExtension(number)\r\n\tif (withExtensionStripped.ext) {\r\n\t\treturn withExtensionStripped\r\n\t}\r\n\treturn { number }\r\n}\r\n\r\n/**\r\n * Creates `parse()` result object.\r\n */\r\nfunction result(country, nationalNumber, ext) {\r\n\tconst result = {\r\n\t\tcountry,\r\n\t\tphone: nationalNumber\r\n\t}\r\n\tif (ext) {\r\n\t\tresult.ext = ext\r\n\t}\r\n\treturn result\r\n}\r\n\r\n/**\r\n * Parses a viable phone number.\r\n * @param {string} formattedPhoneNumber — Example: \"(213) 373-4253\".\r\n * @param {string} [defaultCountry]\r\n * @param {string} [defaultCallingCode]\r\n * @param {Metadata} metadata\r\n * @return {object} Returns `{ country: string?, countryCallingCode: string?, nationalNumber: string? }`.\r\n */\r\nfunction parsePhoneNumber(\r\n\tformattedPhoneNumber,\r\n\tdefaultCountry,\r\n\tdefaultCallingCode,\r\n\tmetadata\r\n) {\r\n\t// Extract calling code from phone number.\r\n\tlet { countryCallingCodeSource, countryCallingCode, number } = extractCountryCallingCode(\r\n\t\tparseIncompletePhoneNumber(formattedPhoneNumber),\r\n\t\tdefaultCountry,\r\n\t\tdefaultCallingCode,\r\n\t\tmetadata.metadata\r\n\t)\r\n\r\n\t// Choose a country by `countryCallingCode`.\r\n\tlet country\r\n\tif (countryCallingCode) {\r\n\t\tmetadata.selectNumberingPlan(countryCallingCode)\r\n\t}\r\n\t// If `formattedPhoneNumber` is passed in \"national\" format\r\n\t// then `number` is defined and `countryCallingCode` is `undefined`.\r\n\telse if (number && (defaultCountry || defaultCallingCode)) {\r\n\t\tmetadata.selectNumberingPlan(defaultCountry, defaultCallingCode)\r\n\t\tif (defaultCountry) {\r\n\t\t\tcountry = defaultCountry\r\n\t\t} else {\r\n\t\t\t/* istanbul ignore if */\r\n\t\t\tif (USE_NON_GEOGRAPHIC_COUNTRY_CODE) {\r\n\t\t\t\tif (metadata.isNonGeographicCallingCode(defaultCallingCode)) {\r\n\t\t\t\t\tcountry = '001'\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\tcountryCallingCode = defaultCallingCode || getCountryCallingCode(defaultCountry, metadata.metadata)\r\n\t}\r\n\telse return {}\r\n\r\n\tif (!number) {\r\n\t\treturn {\r\n\t\t\tcountryCallingCodeSource,\r\n\t\t\tcountryCallingCode\r\n\t\t}\r\n\t}\r\n\r\n\tconst {\r\n\t\tnationalNumber,\r\n\t\tcarrierCode\r\n\t} = extractNationalNumber(\r\n\t\tparseIncompletePhoneNumber(number),\r\n\t\tmetadata\r\n\t)\r\n\r\n\t// Sometimes there are several countries\r\n\t// corresponding to the same country phone code\r\n\t// (e.g. NANPA countries all having `1` country phone code).\r\n\t// Therefore, to reliably determine the exact country,\r\n\t// national (significant) number should have been parsed first.\r\n\t//\r\n\t// When `metadata.json` is generated, all \"ambiguous\" country phone codes\r\n\t// get their countries populated with the full set of\r\n\t// \"phone number type\" regular expressions.\r\n\t//\r\n\tconst exactCountry = getCountryByCallingCode(countryCallingCode, {\r\n\t\tnationalNumber,\r\n\t\tdefaultCountry,\r\n\t\tmetadata\r\n\t})\r\n\tif (exactCountry) {\r\n\t\tcountry = exactCountry\r\n\t\t/* istanbul ignore if */\r\n\t\tif (exactCountry === '001') {\r\n\t\t\t// Can't happen with `USE_NON_GEOGRAPHIC_COUNTRY_CODE` being `false`.\r\n\t\t\t// If `USE_NON_GEOGRAPHIC_COUNTRY_CODE` is set to `true` for some reason,\r\n\t\t\t// then remove the \"istanbul ignore if\".\r\n\t\t} else {\r\n\t\t\tmetadata.country(country)\r\n\t\t}\r\n\t}\r\n\r\n\treturn {\r\n\t\tcountry,\r\n\t\tcountryCallingCode,\r\n\t\tcountryCallingCodeSource,\r\n\t\tnationalNumber,\r\n\t\tcarrierCode\r\n\t}\r\n}","import parsePhoneNumberWithError from './parsePhoneNumberWithError_.js'\r\nimport ParseError from './ParseError.js'\r\nimport { isSupportedCountry } from './metadata.js'\r\n\r\nexport default function parsePhoneNumber(text, options, metadata) {\r\n\t// Validate `defaultCountry`.\r\n\tif (options && options.defaultCountry && !isSupportedCountry(options.defaultCountry, metadata)) {\r\n\t\toptions = {\r\n\t\t\t...options,\r\n\t\t\tdefaultCountry: undefined\r\n\t\t}\r\n\t}\r\n\t// Parse phone number.\r\n\ttry {\r\n\t\treturn parsePhoneNumberWithError(text, options, metadata)\r\n\t} catch (error) {\r\n\t\t/* istanbul ignore else */\r\n\t\tif (error instanceof ParseError) {\r\n\t\t\t//\r\n\t\t} else {\r\n\t\t\tthrow error\r\n\t\t}\r\n\t}\r\n}\r\n","import parse from './parse.js'\r\n\r\nexport default function parsePhoneNumberWithError(text, options, metadata) {\r\n\treturn parse(text, { ...options, v2: true }, metadata)\r\n}","import normalizeArguments from './normalizeArguments.js'\r\nimport parsePhoneNumber from './parsePhoneNumber_.js'\r\n\r\nexport default function isValidPhoneNumber() {\r\n\tlet { text, options, metadata } = normalizeArguments(arguments)\r\n\toptions = {\r\n\t\t...options,\r\n\t\textract: false\r\n\t}\r\n\tconst phoneNumber = parsePhoneNumber(text, options, metadata)\r\n\treturn phoneNumber && phoneNumber.isValid() || false\r\n}","import withMetadataArgument from './withMetadataArgument.js'\r\nimport { isValidPhoneNumber as _isValidPhoneNumber } from '../../core/index.js'\r\n\r\nexport function isValidPhoneNumber() {\r\n\treturn withMetadataArgument(_isValidPhoneNumber, arguments)\r\n}","// Importing from a \".js\" file is a workaround for Node.js \"ES Modules\"\r\n// importing system which is even uncapable of importing \"*.json\" files.\r\nimport metadata from '../../metadata.mobile.json.js'\r\n\r\nexport default function withMetadataArgument(func, _arguments) {\r\n\tvar args = Array.prototype.slice.call(_arguments)\r\n\targs.push(metadata)\r\n\treturn func.apply(this, args)\r\n}","import React, { useRef } from 'react';\n\nimport {\n Card,\n CardContent,\n CardHeader,\n Divider,\n Grid,\n MenuItem,\n} from '@mui/material';\nimport { isMobile } from 'react-device-detect';\n\nimport './Persoonlijk.css';\nimport { TextField } from 'components/Elements/Forms/Inputs';\n\nimport { useSnackbar } from 'notistack';\n\nimport {\n checkBSN,\n checkCity,\n checkIBAN,\n checkMail,\n checkPhone,\n checkZip,\n} from 'functions/HelperFunctions/Regex';\n\nimport { isValidPhoneNumber } from 'libphonenumber-js/mobile';\n\nimport { useWidth } from 'functions/Hooks/useDeviceDetect';\nimport { validateEmailSendGrid } from 'functions/Hooks/validateEmailSendGrid';\n\nconst PersoonlijkeGegevensPage = ({ setData, data }) => {\n const {\n street_number,\n first_name,\n last_name,\n zipcode,\n city,\n street,\n date_of_birth,\n email_address,\n phone_number,\n emergency_phone_number,\n bsn,\n iban,\n gender,\n } = data.data_bundle;\n\n const { enqueueSnackbar } = useSnackbar();\n const previousEmail = useRef('');\n const currentWidth = useWidth();\n\n const genderDropdown = [\n {\n value: 'mannelijk',\n label: 'Mannelijk',\n },\n {\n value: 'vrouwelijk',\n label: 'Vrouwelijk',\n },\n {\n value: 'overig',\n label: 'Overig',\n },\n ];\n\n const saveData = (name, value) => {\n let change = { ...data };\n change.data_bundle.country = 'nederland';\n change.data_bundle[name] = value;\n\n if (change.data_bundle.zipcode && change.data_bundle.city && change.data_bundle.street) {\n change.data_bundle.user_locations = [\n {\n zipcode: change.data_bundle.zipcode,\n city: change.data_bundle.city,\n street: change.data_bundle.street,\n country: 'nederland',\n },\n ];\n }\n setData(change);\n };\n\n const capitalize = s => {\n if (typeof s !== 'string') return '';\n\n return s.charAt(0).toUpperCase() + s.slice(1);\n };\n\n const handleNext = async event => {\n event.preventDefault();\n let emailValidation = await validateEmailSendGrid(email_address);\n\n if (!first_name) {\n enqueueSnackbar('Voornaam is verplicht', { variant: 'error' });\n\n return;\n }\n if (!last_name) {\n enqueueSnackbar('Achternaam is verplicht', { variant: 'error' });\n\n return;\n }\n if (!street) {\n enqueueSnackbar('Straatnaam is verplicht', { variant: 'error' });\n\n return;\n }\n if (!street_number) {\n enqueueSnackbar('Huisnummer is verplicht', { variant: 'error' });\n\n return;\n }\n if (!(await checkZip(zipcode))) {\n enqueueSnackbar('Postcode is onjuist', { variant: 'error' });\n\n return;\n }\n if (!date_of_birth) {\n enqueueSnackbar('Geboortedatum is verplicht', { variant: 'error' });\n\n return;\n }\n if (!city) {\n enqueueSnackbar('Woonplaats is onjuist', { variant: 'error' });\n\n return;\n } else {\n if (await checkCity(city)) {\n enqueueSnackbar('Woonplaats bevat cijfers', { variant: 'error' });\n\n return;\n }\n }\n if (!checkMail(email_address)) {\n enqueueSnackbar('E-mail is onjuist', { variant: 'error' });\n\n return;\n } else if (\n emailValidation &&\n emailValidation.verdict === 'Risky' &&\n previousEmail.current !== email_address\n ) {\n //Check if email-address has been verified before, if it is the first time a validation comes back negative a warning should be thrown.\n previousEmail.current = email_address;\n enqueueSnackbar(\n 'U hebt mogelijk een incorrect e-mailadres ingevuld. Kunt u het e-mailadres nog een keer controleren? Indien het klopt, gelieve nog een keer op Volgende te klikken',\n {\n variant: 'info',\n anchorOrigin:\n currentWidth === 'xs'\n ? {\n vertical: 'top',\n horizontal: 'center',\n }\n : {\n vertical: 'bottom',\n horizontal: 'center',\n },\n }\n );\n\n return;\n }\n //TODO: Moet uiteindelijk meerdere landen toelaten.\n if (!isValidPhoneNumber(phone_number, 'NL')) {\n enqueueSnackbar('Telefoonnummer is onjuist', { variant: 'error' });\n\n return;\n }\n if (!checkBSN(bsn)) {\n enqueueSnackbar('BSN is onjuist', { variant: 'error' });\n\n return;\n }\n if (!checkIBAN(iban)) {\n enqueueSnackbar('Iban is onjuist', { variant: 'error' });\n\n return;\n }\n if (!gender) {\n enqueueSnackbar('Geslacht is verplicht', { variant: 'error' });\n\n return;\n }\n\n event.detail();\n };\n\n React.useEffect(() => {\n document.addEventListener('onNext', handleNext);\n\n return () => {\n document.removeEventListener('onNext', handleNext);\n };\n }, [data]);\n\n return (\n
\n \n \n \n \n \n \n \n \n \n saveData('first_name', capitalize(e.target.value))}\n />\n \n\n \n saveData('last_name', capitalize(e.target.value))}\n />\n \n \n saveData('date_of_birth', capitalize(e.target.value))}\n />\n \n \n saveData('bsn', capitalize(e.target.value))}\n />\n \n \n saveData('gender', e.target.value)}>\n {genderDropdown.map(option => (\n \n {option.label}\n \n ))}\n \n \n \n \n \n \n \n \n\n \n\n \n \n \n \n \n \n \n \n \n saveData('street', capitalize(e.target.value))}\n />\n \n \n saveData('street_number', e.target.value)}\n />\n \n \n \n saveData('zipcode', e.target.value.toUpperCase().replace(' ', ''))\n }\n />\n \n \n saveData('city', capitalize(e.target.value))}\n />\n \n \n \n \n \n \n\n \n\n \n \n \n \n \n \n \n \n \n saveData('email_address', e.target.value.toLowerCase())}\n />\n \n \n saveData('phone_number', e.target.value)}\n />\n \n \n saveData('emergency_phone_number', e.target.value)}\n />\n \n \n \n \n \n \n\n \n\n \n \n \n \n \n \n \n \n \n saveData('iban', e.target.value)}\n />\n \n \n \n \n \n \n
\n );\n};\n\nexport default PersoonlijkeGegevensPage;\n","import React, { useEffect, useState } from 'react';\n\nimport { FormControlLabel, Grid, Radio } from '@mui/material';\n\nimport { appClient } from 'App';\nimport { BaseDiscipline } from 'assets/api';\n\ninterface SubjectPageProps {\n data: any;\n setData: any;\n}\n\nconst SubjectPage: React.FunctionComponent = ({ data, setData }) => {\n const [update, setUpdate] = useState(false);\n const [subjects, setSubjects] = useState([]);\n\n React.useEffect(() => {\n if (update === true) {\n setUpdate(false);\n }\n }, [update]);\n\n //Retrieves all possible subjects from the back-end\n useEffect(() => {\n appClient.lessons.getLessonsViewDisciplines().then(r => {\n if (r !== null) {\n setSubjects(r);\n }\n });\n }, []);\n\n const setVak = (vak: BaseDiscipline) => {\n const change = { ...data };\n if (change.data_bundle.disciplines == undefined) {\n change.data_bundle.disciplines = [];\n }\n\n if (change.data_bundle.disciplines?.indexOf(vak.id) == -1) {\n change.data_bundle.disciplines?.push(vak.id);\n setData(change);\n } else {\n const index = change.data_bundle.disciplines.indexOf(vak.id);\n change.data_bundle.disciplines.splice(index, 1);\n setData(change);\n }\n };\n\n // const setComment = (info) => {\n // const tempParent = { ...parent }\n // tempParent.students[0].comment = info\n // updateParent(tempParent)\n // }\n\n const schoolVakkenRadio = (vakken: BaseDiscipline[]) => {\n const toReturn = [];\n const filteredSubjects = vakken\n .sort((a, b) => a.name.localeCompare(b.name))\n .filter(vak => !vak.is_primary_school);\n const ammountLimmit = Math.floor(filteredSubjects.length / 3);\n\n let column = [];\n for (let index = 0; index < filteredSubjects.length; index++) {\n const vak = filteredSubjects[index];\n column.push(\n setVak(vak)}\n />\n }\n label={vak.name}\n sx={{ width: '100%' }}\n />\n );\n if (column.length >= ammountLimmit) {\n toReturn.push(\n \n {column}\n \n );\n column = [];\n }\n }\n\n return toReturn;\n };\n\n return (\n
\n \n {subjects && schoolVakkenRadio(subjects)}\n \n
\n );\n};\n\nexport default SubjectPage;\n","/* eslint-disable react/jsx-key */\nimport React, { useState } from 'react';\nimport '../Index.css';\n\nimport UploadIcon from '@mui/icons-material/Upload';\nimport {\n Card,\n CardContent,\n CardHeader,\n Checkbox,\n Collapse,\n Divider,\n FormControlLabel,\n Grid,\n MenuItem,\n Stack,\n Typography,\n} from '@mui/material';\nimport { t, Translation } from 'i18n';\nimport { useSnackbar } from 'notistack';\n\nimport { appClient } from 'App';\nimport { BaseStub } from 'assets/api';\nimport { TextField } from 'components/Elements/Forms/Inputs';\nimport UploadButton from 'components/Functional/Buttons/UploadButton';\nimport SchoolLevelSelect from 'components/Functional/Select/SchoolLevelSelect';\n\nimport SubjectPage from './Components/SubjectsPage';\n\ninterface SchoolProps {\n setData: (d: BaseStub) => void;\n data: BaseStub;\n}\nconst School: React.FunctionComponent = ({ setData, data }) => {\n const [tempData, setTempData] = useState({ ...data });\n const { enqueueSnackbar } = useSnackbar();\n const [uploadedFileName, setUploadedFileName] = useState('');\n\n React.useEffect(() => {\n if (!data.data_bundle.is_pabo) {\n data.data_bundle.is_pabo = false;\n }\n if (!data.data_bundle.is_kdv) {\n data.data_bundle.is_kdv = false;\n }\n if (!data.data_bundle.is_coach) {\n data.data_bundle.is_coach = false;\n }\n if (data.data_bundle.grades) {\n setUploadedFileName(\n t('translation.signUpCoaches.schoolInformation.previouslyUploadedGrades')\n );\n }\n }, []);\n\n React.useEffect(() => {\n document.addEventListener('onNext', handleNext);\n\n return () => {\n document.removeEventListener('onNext', handleNext);\n };\n }, [data]);\n\n const saveData = (name: string, value: string) => {\n const change = { ...tempData };\n if (name === 'school_level') {\n change.data_bundle.disciplines = [];\n }\n change.data_bundle[name] = value;\n\n if (change.data_bundle.finished_current_study === true) {\n change.data_bundle.school_year = 0;\n }\n\n setTempData(change);\n setData(change);\n\n toggleSubjects();\n };\n\n const toggleSubjects = () => {\n if (!data.data_bundle.is_coach && !data.data_bundle.is_pabo && data.data_bundle.is_kdv) {\n return false;\n } else {\n return true;\n }\n };\n\n //Run checks on data before going to next page\n const handleNext = (event: any) => {\n if (!data.data_bundle.school_level) {\n enqueueSnackbar('Middelbare school is verplicht', { variant: 'error' });\n\n return;\n }\n\n if (!data.data_bundle.is_pabo && !data.data_bundle.is_coach && !data.data_bundle.is_kdv) {\n enqueueSnackbar('Selecteer op zijn minst 1 optie', { variant: 'error' });\n\n return;\n }\n\n if (data.data_bundle.is_coach === 'true') {\n if (!(data.data_bundle.disciplines.length > 0)) {\n enqueueSnackbar('Selecteer op zijn minst 1 vak om bijles in te geven', {\n variant: 'error',\n });\n\n return;\n }\n }\n\n event.detail();\n };\n\n const capitalize = (s: any) => {\n if (typeof s !== 'string') return '';\n\n return s.charAt(0).toUpperCase() + s.slice(1);\n };\n\n //Handle when a user uploads a grades list to the server. Save the file name and adds attachment to the stub.\n const handleChangeUpload = (e: any) => {\n const attachment: File | undefined = e.target.files[0];\n if (attachment) {\n appClient.stubs\n .postStubsAddAttachement('grades_key', data.secret_key, { attachment })\n .then(() => {\n setUploadedFileName(e.target.files[0].name);\n enqueueSnackbar(t('translation.common.alerts.uploadGrades.success'), {\n variant: 'success',\n });\n })\n .catch(() => {\n enqueueSnackbar(t('translation.common.alerts.uploadGrades.fail'), { variant: 'error' });\n });\n }\n };\n\n return (\n <>\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n saveData('current_study', capitalize(e.target.value))}\n />\n \n \n \n saveData('school_year', e.target.value)}>\n {[...Array(6)].map((_, i) => (\n \n {`Jaar ${i + 1}`}\n \n ))}\n \n \n \n \n saveData('finished_current_study', e.target.checked.toString())\n }\n name=\"finished_current_study\"\n />\n }\n label=\"Ik heb deze studie afgerond.\"\n />\n \n \n \n \n {\n saveData('is_coach', e.target.checked.toString());\n }}\n name=\"is_coach\"\n />\n }\n label=\"Ik wil bijles geven.\"\n />\n \n \n saveData('is_pabo', e.target.checked.toString())}\n name=\"is_pabo \"\n />\n }\n label=\" Ik wil op een school werken.\"\n />\n \n \n saveData('is_kdv', e.target.checked.toString())}\n name=\"is_kdv \"\n />\n }\n label=\"Ik wil in de kinderopvang werken.\"\n />\n \n \n \n {t('translation.signUpCoaches.schoolInformation.uploadTitle')}\n \n \n \n \n ,\n \n mijn duo\n ,\n ]}\n />\n \n \n \n \n \n \n \n }\n handleChange={handleChangeUpload}\n endIcon={}\n />\n {uploadedFileName !== '' && (\n \n {uploadedFileName}\n \n )}\n \n \n \n \n \n \n \n \n \n \n\n \n \n {data.data_bundle.is_coach === 'true' && (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n )}\n \n \n );\n};\n\nexport default School;\n","import React from 'react';\n\nimport { Card, Container, Grid, styled, Typography } from '@mui/material';\nimport { useTheme } from '@mui/material/styles';\nimport { isMobile } from 'react-device-detect';\n\nimport './StartPage.css';\nimport './Index.css';\nimport People from 'assets/img/brand/peoplelaughingsohappy.jpg';\n\nimport {\n Timeline,\n TimelineConnector,\n TimelineContent,\n TimelineDot,\n TimelineItem,\n TimelineSeparator,\n} from '@mui/lab';\n\nconst StyledTimeLine = styled(TimelineItem)({\n '&::before': { display: 'none' },\n marginBottom: '0px',\n '& .MuiTimelineContent-root': { padding: '0px 16px' },\n '& .MuiTimelineSeparator-root': {\n '& .MuiTimelineDot-filled': {\n height: '12px',\n width: '12px',\n margin: '6.5px 0px',\n padding: '0px',\n },\n },\n});\n\nconst StartPage = ({ setData, data }) => {\n const theme = useTheme();\n const themeColor = theme.palette.primary.main;\n\n React.useEffect(() => {\n document.addEventListener('onNext', handleNext);\n\n return () => {\n document.removeEventListener('onNext', handleNext);\n };\n }, [data]);\n\n const handleNext = async event => {\n event.detail();\n };\n\n return (\n \n \n Welkom bij StudyWorks!\n \n Om een officiële StudyWorker te worden, vragen wij je profiel volledig aan te vullen en de\n benodige documenten te ondertekenen\n \n \n \n \n \n \n \n \n \n \n Welkom\n \n\n \n \n \n \n \n Persoonsgegevens\n \n\n \n \n \n \n \n Schoolgegevens\n \n\n \n \n \n \n \n Beschikbaarheid\n \n\n \n \n \n \n \n Paspoort / ID-kaart\n \n\n \n \n \n \n \n Overeenkomst\n \n\n \n \n \n \n Akkoord\n \n \n \n \n \n \n );\n};\n\nexport default StartPage;\n","import React, { useEffect } from 'react';\n\nimport { Card, Container, FormHelperText, Typography } from '@mui/material';\nimport '../Persoonlijk/Persoonlijk.css';\nimport { useSnackbar } from 'notistack';\n\nimport { TextField } from 'components/Elements/Forms/Inputs';\nimport AvailabilityGrid_V2 from 'components/Functional/Availability/AvailabilityGrid_V2';\n\nconst PreferencePage = ({ setData, data }) => {\n const { enqueueSnackbar } = useSnackbar();\n\n const saveAvailabilityData = value => {\n let change = { ...data };\n change.data_bundle.availabilities.push(value);\n setData(change);\n };\n\n const removeAvailabilityData = value => {\n let change = { ...data };\n let index = change.data_bundle.availabilities.indexOf(value);\n change.data_bundle.availabilities.splice(index, 1);\n setData(change);\n };\n\n const handleNext = async event => {\n if (data.data_bundle.availabilities.length <= 0) {\n enqueueSnackbar('Vink tenminste één beschikbaarheid aan.', { variant: 'error' });\n\n return;\n }\n\n event.detail();\n };\n\n React.useEffect(() => {\n document.addEventListener('onNext', handleNext);\n\n return () => {\n document.removeEventListener('onNext', handleNext);\n };\n }, [data]);\n\n React.useEffect(() => {\n if (!data?.data_bundle?.availabilities) {\n let change = { ...data };\n change.data_bundle.availabilities = [];\n setData(change);\n }\n }, []);\n\n return (\n <>\n \n \n Beschikbaarheid\n \n \n Vul hier je beschikbaarheid in. Dit gaat om je beschikbaarheid per dag voor een gemiddelde\n week. Ben je over het algemeen op woensdagavond beschikbaar? Dan geef je dat hier aan.\n \n \n \n {/* {\n saveAvailabilityData(availability);\n }}\n onDelete={(availability) => {\n removeAvailabilityData(availability);\n }}\n /> */}\n\n \n \n \n {\n setData({\n ...data,\n data_bundle: {\n ...data.data_bundle,\n comment: e.target.value,\n },\n });\n }}\n />\n \n Geef hier aan of je een opmerking hebt op je aangegeven beschikbaarheid.\n \n \n \n );\n};\n\nexport default PreferencePage;\n","import * as React from 'react';\nimport { FunctionComponent, useEffect, useState } from 'react';\n\nimport {\n AppBar,\n CardHeader,\n CircularProgress,\n Container,\n Grid,\n LinearProgress,\n Typography,\n} from '@mui/material';\nimport { useTheme } from '@mui/styles';\nimport { useHistory, useParams } from 'react-router-dom';\n\nimport { appClient } from 'App';\nimport { BaseStub } from 'assets/api';\nimport BEUBanner from 'assets/img/brand/BEU_header_COREcontainer.jpg';\nimport SWLogo from 'assets/img/brand/logo-text-dark.svg';\nimport OBLogo from 'assets/img/brand/LOGO_OB.png';\nimport BEULogo from 'assets/img/brand/LogoBijlesEU.png';\nimport OBBanner from 'assets/img/brand/OB_header_COREcontainer.jpg';\nimport OELogo from 'assets/img/brand/OE_logo.png';\nimport SWBanner from 'assets/img/brand/Oudercontainer_header.png';\nimport VBLBanner from 'assets/img/brand/VBL_header_COREcontainer.jpg';\nimport VBLLogo from 'assets/img/brand/VlakbijlesLogo.png';\nimport { Button } from 'components/Elements/Forms/Inputs';\nimport ProgressSpinner from 'components/Elements/ProgressSpinner';\nimport { GenerateUUID } from 'functions/HelperFunctions/GenerateUUID';\nimport useLabel from 'functions/Hooks/useLabel';\n\nimport ContractPage from './Pages/Contract/Contract';\nimport FinishPage from './Pages/FinishPage/FinishPage';\nimport PaspoortPage from './Pages/Paspoort/Paspoort';\nimport PersoonlijkeGegevensPage from './Pages/Persoonlijk/Persoonlijk';\nimport School from './Pages/School/School';\nimport StartPage from './Pages/Startpage';\nimport PreferencePage from './Pages/Voorkeuren/Voorkeuren';\n\ntype ComponentType = FunctionComponent<{\n setIsTransfering?: React.Dispatch> | undefined;\n isTransfering?: boolean;\n data?: BaseStub;\n setData?: React.Dispatch>;\n}>;\n\ninterface IParam {\n key: string;\n}\n\nconst scrollToRef = () => window.scrollTo(0, document.documentElement.offsetTop);\n\nconst Landing: React.FunctionComponent = () => {\n const [data, setData] = useState();\n const { key: secretkey } = useParams();\n const [isTransfering, setIsTransfering] = React.useState(false);\n const [currentIndex, setCurrentIndex] = useState(0);\n const [trigger, setTrigger] = useState(false);\n const label = useLabel();\n const theme = useTheme();\n const pages = [\n {\n title: 'Welkom',\n Component: StartPage as ComponentType,\n toPipe: 150,\n },\n {\n title: 'Persoonsgegevens',\n Component: PersoonlijkeGegevensPage as ComponentType,\n toPipe: 154,\n },\n {\n title: 'Schoolgegevens',\n Component: School as ComponentType,\n toPipe: 152,\n },\n {\n title: 'Beschikbaarheid',\n Component: PreferencePage as ComponentType,\n toPipe: 155,\n },\n {\n title: 'Paspoort / ID-kaart',\n Component: PaspoortPage as ComponentType,\n toPipe: 157,\n },\n {\n title: 'Overeenkomst',\n Component: ContractPage as ComponentType,\n },\n {\n title: 'Akkoord',\n Component: FinishPage as ComponentType,\n },\n ];\n\n const currentPage = pages[currentIndex];\n\n const history = useHistory();\n React.useEffect(() => {\n document.title = 'Coachflow';\n });\n\n React.useEffect(() => {\n window.addEventListener('scroll', handleScroll);\n\n return () => {\n window.removeEventListener('scroll', handleScroll);\n };\n }, [trigger]);\n\n React.useEffect(() => {\n setTrigger(false);\n scrollToRef();\n }, [currentIndex]);\n\n const handleScroll = () => {\n const scrolled = document.documentElement.scrollTop;\n if (scrolled > 75 && !trigger) setTrigger(true);\n if (scrolled < 75 && trigger) setTrigger(false);\n };\n\n const whiteLabelBanner = () => {\n if (label?.name) {\n switch (label.name.toLowerCase()) {\n case 'studyworks':\n return SWBanner;\n case 'bijles.eu':\n return BEUBanner;\n case 'online-bijles.com':\n return OBBanner;\n case 'online-examentraining.com':\n return OBBanner;\n case 'vlakbijles':\n return VBLBanner;\n }\n } else {\n return SWBanner;\n }\n };\n\n const whiteLabelLogo = () => {\n if (label?.name) {\n switch (label.name.toLowerCase()) {\n case 'studyworks':\n return SWLogo;\n case 'bijles.eu':\n return BEULogo;\n case 'online-bijles.com':\n return OBLogo;\n case 'online-examentraining.com':\n return OELogo;\n case 'vlakbijles':\n return VBLLogo;\n }\n } else {\n return SWLogo;\n }\n };\n\n useEffect(() => {\n if (secretkey) {\n appClient.stubs.getStubsReadStub(secretkey).then((r: BaseStub) => {\n if (!r.contract_key) {\n r.contract_key = GenerateUUID();\n }\n\n setData(r);\n });\n }\n }, [secretkey]);\n\n const handleNext = async () => {\n const event = new CustomEvent('onNext', {\n detail: () => {\n setCurrentIndex(currentIndex + 1);\n setIsTransfering(false);\n },\n });\n if (currentIndex < 6) {\n if (currentPage.toPipe)\n await appClient.stubs\n .postStubsChangePipeSimple(secretkey, currentPage.toPipe)\n .then(() => {})\n .catch(() => {});\n\n if (data) {\n await appClient.stubs.postStubsUpdateStub(secretkey, { data_bundle: data.data_bundle });\n }\n await document.dispatchEvent(event);\n } else {\n history.push(`/reset`);\n }\n };\n\n return (\n
\n \n \n \n \n \n \n \n \n\n \n \n \n \n \n
\n }\n />\n \n \n \n \n\n \n \n \n \n \n {data ? (\n \n ) : (\n \n )}\n \n \n \n \n {currentIndex < 6 && currentIndex > 0 && (\n \n )}\n \n\n \n handleNext()}>\n {currentIndex < 6 ? (\n \n {isTransfering ? (\n \n ) : (\n <>\n {currentIndex !== 5 && `Naar stap ${currentIndex + 2}: `}\n {pages[currentIndex + 1] ? pages[currentIndex + 1].title : 'voltooid'}\n \n )}\n \n ) : (\n \n Stel een wachtwoord in\n \n )}\n \n \n \n \n \n \n
\n );\n};\n\nexport default Landing;\n","export const GenerateUUID = () => {\n return String('xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx').replace(/[xy]/g, character => {\n const random = (Math.random() * 16) | 0;\n const value = character === 'x' ? random : (random & 0x3) | 0x8;\n\n return value.toString(16);\n });\n};\n","import React from 'react';\n\nimport { Container, Grid, Link, Typography } from '@mui/material';\n\nimport { BaseStub } from 'assets/api';\nimport { Button } from 'components/Elements/Forms/Inputs';\nimport { useWidth } from 'functions/Hooks/useDeviceDetect';\nimport useLabel from 'functions/Hooks/useLabel';\n\nimport { IExtendedBundleIn } from '..';\n\ninterface FooterButtonsProps {\n data: any;\n setData: (stub: BaseStub) => void;\n bundle?: IExtendedBundleIn;\n setBundle?: (bundle: IExtendedBundleIn) => void;\n currentIndex: number;\n pages: any;\n handleNext: () => void;\n handlePref: () => void;\n setSkipAdvice: (advice: boolean) => void;\n setSkipPayment: (payment: boolean) => void;\n payLater: boolean;\n setPayLater: (pay: boolean) => void;\n}\n\nconst FooterButtons: React.FunctionComponent = ({\n data,\n setData,\n bundle,\n setBundle,\n currentIndex,\n handleNext,\n handlePref,\n setSkipAdvice,\n setSkipPayment,\n setPayLater,\n}) => {\n const currentWidth = useWidth();\n const label = useLabel();\n\n const handleSkipAdvice = () => {\n setSkipAdvice(true);\n const tempData = { ...data };\n tempData.data_bundle.package = 'skip_advice';\n tempData.data_bundle.skip_advice = true;\n setData(tempData);\n\n if (setBundle && bundle) {\n const tempBundle = { ...bundle };\n tempBundle.data_bundle.package = 'skip_advice';\n tempBundle.data_bundle.skip_advice = true;\n setBundle(tempBundle);\n }\n\n handleNext();\n };\n\n const handleSkipPackage = () => {\n if (data) {\n const tempData = { ...data };\n tempData.data_bundle.package = 'Geen pakket geselecteerd';\n tempData.data_bundle.skip_package = true;\n setData(tempData);\n }\n\n if (setBundle && bundle) {\n const tempBundle = { ...bundle };\n tempBundle.data_bundle.package = 'Geen pakket geselecteerd';\n tempBundle.data_bundle.skip_package = true;\n setBundle(tempBundle);\n }\n\n handleNext();\n };\n\n const handleSkipPayment = () => {\n setSkipPayment(true);\n setPayLater(true);\n /**TODO: set payment-> ik betaal mijn pakket later */\n handleNext();\n };\n\n const handleSkipEvent = () => {\n switch (currentIndex) {\n case 3:\n handleSkipAdvice();\n break;\n case 4:\n handleSkipPackage();\n break;\n case 5:\n handleSkipPayment();\n break;\n }\n };\n\n const handlePrefClick = () => {\n switch (currentIndex) {\n case 3:\n handlePref();\n break;\n case 4:\n if (bundle && setBundle) {\n const tempData = { ...bundle };\n tempData.data_bundle.skip_advice = false;\n setBundle(tempData);\n }\n handlePref();\n break;\n case 5:\n handlePref();\n break;\n default:\n handlePref();\n }\n };\n\n return (\n \n \n \n {currentIndex != 3 && currentIndex != 0 && (\n handlePrefClick()}\n sx={{\n height: '40px',\n minWidth: { xs: 'unset', sm: '150px' },\n }}>\n Vorige\n \n )}\n \n\n \n handleNext()}\n sx={{\n height: '40px',\n minWidth: { xs: 'unset', sm: '150px' },\n }}>\n \n {currentIndex == 4 ? 'Afronden' : currentIndex === 3 ? 'Geef advies' : 'Volgende'}\n \n \n \n {currentIndex == 3 && (\n \n \n \n {currentIndex == 3 ? 'Sla deze stap over' : 'Kies pakket later'}\n \n \n \n )}\n \n \n );\n};\n\nexport default FooterButtons;\n","import React from 'react';\n\nimport { Card, CardActions, CardContent, Grid, Modal, Typography } from '@mui/material';\n\nimport { Button } from 'components/Elements/Forms/Inputs';\nimport { useWidth } from 'functions/Hooks/useDeviceDetect';\nimport useLabel from 'functions/Hooks/useLabel';\n\nimport { IExtendedBundleIn, IFlowPageProps } from '..';\n\ninterface IPackageModalProps extends IFlowPageProps {\n bundle: IExtendedBundleIn;\n setBundle: (bundle: IExtendedBundleIn) => void;\n open: boolean;\n handleButtonClick: () => void;\n handlePrimaryButton: () => void;\n selectedPackage?: string;\n}\n\nconst PackageModal: React.FunctionComponent = ({\n open,\n handleButtonClick,\n handlePrimaryButton,\n selectedPackage,\n}) => {\n const label = useLabel();\n const currentWidth = useWidth();\n\n return (\n \n \n \n \n Weet u zeker dat u gebruik wilt maken van losse lessen? Met een pakket bent u veel\n voordeliger uit en in combinatie met een automatische incasso kunt u in termijnen\n betalen en krijgt u €10,- korting op de administratiekosten.\n \n \n \n \n \n \n Terug\n \n \n \n \n \n {selectedPackage}\n \n \n \n \n \n \n );\n};\n\nexport default PackageModal;\n","import React from 'react';\n\nimport { Card, CardActions, CardContent, Grid, Modal, Typography } from '@mui/material';\n\nimport { Button } from 'components/Elements/Forms/Inputs';\nimport { useWidth } from 'functions/Hooks/useDeviceDetect';\nimport useLabel from 'functions/Hooks/useLabel';\n\nimport { IExtendedBundleIn, IFlowPageProps } from '..';\n\ninterface IPaymentModalProps extends IFlowPageProps {\n bundle: IExtendedBundleIn;\n setBundle: (bundle: IExtendedBundleIn) => void;\n open: boolean;\n handleButtonClick: () => void;\n handlePrimaryButton: () => void;\n paymentMethod?: string;\n}\n\nconst PaymentModal: React.FunctionComponent = ({\n open,\n handleButtonClick,\n handlePrimaryButton,\n paymentMethod,\n}) => {\n const label = useLabel();\n const currentWidth = useWidth();\n\n const showPaymentMethod = (): string => {\n let paymentMethodSting = '';\n switch (paymentMethod) {\n case 'achteraf':\n paymentMethodSting = 'Losse factuur';\n break;\n case 'none':\n paymentMethodSting = 'Afronden';\n break;\n }\n\n return paymentMethodSting;\n };\n\n return (\n \n \n \n {paymentMethod === 'achteraf' && (\n \n Weet u zeker dat u met losse facturen wilt betalen? Bij een automatische incasso\n ontvangt u namelijk €10,- korting op de administratiekosten.\n \n )}\n\n {paymentMethod === 'none' && (\n \n Weet u zeker dat u door wilt gaan zonder een betalingsmethode te kiezen? Hierdoor\n kiest u automatisch voor losse facturen inclusief €2,50 per opgemaakte factuur.\n \n )}\n \n \n \n \n \n Terug\n \n \n \n \n \n {showPaymentMethod()}\n \n \n \n \n \n \n );\n};\n\nexport default PaymentModal;\n","import React, { useContext, useState } from 'react';\n\ninterface IGuardianProviderProps {\n children: React.ReactNode;\n}\n\ninterface IGuardianContexProps {\n guardianId: number | undefined;\n SetGuardianId: React.Dispatch>;\n}\n\nexport const GuardianContext = React.createContext(null);\n\n/* THis product hook is used to get product between pages */\nexport const GuardianContextProvider: React.FC = ({ children }) => {\n const [guardianId, SetGuardianId] = useState();\n\n return (\n \n {children}\n \n );\n};\n\nexport const useGuardianContext = () => {\n const context = useContext(GuardianContext);\n if (!context) {\n throw new Error('useGuardianContext must be used within a GuardianContextProvider');\n }\n\n return context;\n};\n\nexport default useGuardianContext;\n","import React, { useContext, useState } from 'react';\n\nimport { RegularProduct } from 'assets/api';\n\ninterface IProductsProviderProps {\n children: React.ReactNode;\n}\n\ninterface IProductsContexProps {\n Products: RegularProduct[] | undefined;\n SetProducts: React.Dispatch>;\n}\n\nexport const ProductsContext = React.createContext(null);\n\n/* THis product hook is used to get product between pages */\nexport const ProductsContextProvider: React.FC = ({ children }) => {\n const [Products, SetProducts] = useState();\n\n return (\n \n {children}\n \n );\n};\n\nexport const useProductsContext = () => {\n const context = useContext(ProductsContext);\n if (!context) {\n throw new Error('useProductsContext must be used within a ProductsContextProvider');\n }\n\n return context;\n};\n\nexport default useProductsContext;\n","import { checkMail, checkPhone, checkZip } from 'functions/HelperFunctions/Regex';\n\nexport const CheckFirstName = (validateError: boolean, value: string): boolean => {\n let test = false;\n if (validateError) {\n if (!value && value === undefined) {\n test = true;\n } else if (value === '') {\n test = true;\n } else {\n test = false;\n }\n } else {\n if (value === '') {\n test = true;\n } else {\n test = false;\n }\n }\n\n return test;\n};\n\nexport const CheckLastName = (validateError: boolean, value: string): boolean => {\n let test = false;\n if (validateError) {\n if (!value && value === undefined) {\n test = true;\n } else if (value === '') {\n test = true;\n } else {\n test = false;\n }\n } else {\n if (value === '') {\n test = true;\n } else {\n test = false;\n }\n }\n\n return test;\n};\n\nexport const CheckGender = (validateError: boolean, value: string): boolean => {\n let test = false;\n if (validateError) {\n if (!value && value === undefined) {\n test = true;\n } else if (value === '') {\n test = true;\n } else {\n test = false;\n }\n } else {\n if (value === '') {\n test = true;\n } else {\n test = false;\n }\n }\n\n return test;\n};\n\nexport const CheckDateOfBirth = (validateError: boolean, value: string): boolean => {\n let test = false;\n if (validateError) {\n if (!value && value === undefined) {\n test = true;\n } else if (value === '') {\n test = true;\n } else {\n test = false;\n }\n } else {\n if (value === '') {\n test = true;\n } else {\n test = false;\n }\n }\n\n return test;\n};\n\nexport const CheckZipCode = (validateError: boolean, value: string): boolean => {\n let test = false;\n if (validateError) {\n if (!value && value === undefined && !checkZip(value)) {\n test = true;\n } else if (value === '') {\n test = true;\n } else {\n test = false;\n }\n } else {\n if (value === '') {\n test = true;\n } else {\n test = false;\n }\n }\n\n return test;\n};\n\nexport const CheckHouseNumber = (validateError: boolean, value: string): boolean => {\n let test = false;\n if (validateError) {\n if (!value && value === undefined && !/^[1-9][0-9]*.*$/.test(value)) {\n test = true;\n } else if (value === '') {\n test = true;\n } else {\n test = false;\n }\n } else {\n if (value === '') {\n test = true;\n } else {\n test = false;\n }\n }\n\n return test;\n};\n\nexport const CheckStreetName = (validateError: boolean, value: string): boolean => {\n let test = false;\n if (validateError) {\n if (!value && value === undefined) {\n test = true;\n } else if (value === '') {\n test = true;\n } else {\n test = false;\n }\n } else {\n if (value === '') {\n test = true;\n } else {\n test = false;\n }\n }\n\n return test;\n};\n\nexport const CheckCity = (validateError: boolean, value: string): boolean => {\n let test = false;\n if (validateError) {\n if (!value && value === undefined) {\n test = true;\n } else if (value === '') {\n test = true;\n } else {\n test = false;\n }\n } else {\n if (value === '') {\n test = true;\n } else {\n test = false;\n }\n }\n\n return test;\n};\n\nexport const CheckMail = (validateError: boolean, value: string): boolean => {\n let test = false;\n if (validateError) {\n if (!value && value === undefined && !checkMail(value)) {\n test = true;\n } else if (value === '') {\n test = true;\n } else {\n test = false;\n }\n } else {\n if (value === '') {\n test = true;\n } else {\n test = false;\n }\n }\n\n return test;\n};\n\nexport const CheckPhone = (validateError: boolean, value: string): boolean => {\n let test = false;\n if (validateError) {\n if (!value && value === undefined && !checkPhone(value)) {\n test = true;\n } else if (value === '') {\n test = true;\n } else {\n test = false;\n }\n } else {\n if (value === '') {\n test = true;\n } else {\n test = false;\n }\n }\n\n return test;\n};\n","import React, { useEffect, useRef, useState } from 'react';\n\nimport { Card, CardContent, CardHeader, Grid, MenuItem } from '@mui/material';\nimport makeStyles from '@mui/styles/makeStyles';\nimport { LocalizationProvider } from '@mui/x-date-pickers';\nimport { AdapterMoment } from '@mui/x-date-pickers/AdapterMoment';\nimport { DatePicker } from '@mui/x-date-pickers/DatePicker';\nimport { t } from 'i18n';\nimport { isValidPhoneNumber } from 'libphonenumber-js/mobile';\nimport moment, { Moment } from 'moment';\nimport { useSnackbar } from 'notistack';\n\nimport { appClient } from 'App';\nimport { BaseStub, EmailValidationIn, EmailValidationOut } from 'assets/api';\nimport { TextField } from 'components/Elements/Forms/Inputs';\nimport {\n checkCity,\n checkDateYMD,\n checkMail,\n checkZip,\n ValidateEmail,\n} from 'functions/HelperFunctions/Regex';\nimport { useWidth } from 'functions/Hooks/useDeviceDetect';\nimport { validateEmailSendGrid } from 'functions/Hooks/validateEmailSendGrid';\n\nimport { IFlowPageProps, valueType } from '..';\nimport {\n CheckCity,\n CheckDateOfBirth,\n CheckFirstName,\n CheckGender,\n CheckHouseNumber,\n CheckLastName,\n CheckPhone,\n CheckStreetName,\n CheckZipCode,\n} from './Models/errorChecks';\n\nconst useStyles = makeStyles({\n root: {\n '& .MuiInputBase-root': {\n padding: 0,\n paddingLeft: 10,\n paddingRight: 20,\n '& .MuiButtonBase-root': {\n padding: 0,\n paddingLeft: 10,\n },\n '& .MuiInputBase-input': {\n padding: 15,\n paddingLeft: 0,\n },\n },\n },\n});\n\ninterface IInformationPageProps extends IFlowPageProps {\n data: BaseStub;\n setData: (baseStub: BaseStub) => void;\n secretkey: string;\n}\n\nconst InformationPage: React.FunctionComponent = ({\n data,\n setData,\n setMailExist,\n}) => {\n const { zipcode } = data.data_bundle;\n const [updateDom, setUpdateDom] = useState(false);\n const [emailResponse, setEmailResponse] = useState();\n const { enqueueSnackbar } = useSnackbar();\n const currentWidth = useWidth();\n const [validateError, setValidateError] = useState(false);\n const previousEmail = useRef('');\n const classes = useStyles();\n\n // Converts dates in format DD/MM/YYYY or YYYY-MM-DD to moment object\n const dateToMoment = (date: string): moment.Moment => {\n let dateSeparated = date.split('/');\n let momentDate;\n\n if (dateSeparated.length === 3) {\n momentDate = moment(\n `${dateSeparated[2]}-${dateSeparated[1]}-${dateSeparated[0]}`,\n 'YYYY-MM-DD'\n );\n } else {\n dateSeparated = date.split('-');\n momentDate = moment(\n `${dateSeparated[0]}-${dateSeparated[1]}-${dateSeparated[2]}`,\n 'YYYY-MM-DD'\n );\n }\n\n return momentDate;\n };\n\n const [dateOfBirth, setDateOfBirth] = useState();\n\n // Sets default date of birth if it is not set\n useEffect(() => {\n if (dateOfBirth === undefined && data.data_bundle.students?.[0]?.date_of_birth) {\n setDateOfBirth(dateToMoment(data.data_bundle.students?.[0]?.date_of_birth));\n }\n }, [data.data_bundle.students?.[0]?.date_of_birth]);\n\n React.useEffect(() => {\n if (updateDom) {\n setUpdateDom(false);\n }\n }, [updateDom]);\n\n React.useEffect(() => {\n //Trigger rerender\n }, [data.data_bundle.email_address]);\n\n useEffect(() => {\n if (data.data_bundle.email_address) {\n const emailData: EmailValidationIn = {\n email: data.data_bundle.email_address,\n };\n appClient.auth\n .postAuthValidateEmailAddress(emailData)\n .then((r: EmailValidationOut) => setEmailResponse(r));\n }\n }, [data.data_bundle.email_address]);\n\n //Save data from a certain information field to the databundle\n const saveData = (name: string, value: valueType) => {\n const change = { ...data };\n change.data_bundle.country = 'nederland';\n change.data_bundle[name] = value;\n\n if (change.data_bundle.zipcode && change.data_bundle.city && change.data_bundle.street) {\n change.data_bundle.user_locations = [\n {\n zipcode: change.data_bundle.zipcode,\n city: change.data_bundle.city,\n street: change.data_bundle.street,\n country: 'nederland',\n },\n ];\n }\n setData(change);\n };\n\n const saveDataChild = (name: string, value: valueType) => {\n const change = { ...data };\n if (change?.data_bundle?.students?.length > 0) change.data_bundle.students[0][name] = value;\n else {\n change.data_bundle.students = [{ [name]: value }];\n }\n setData(change);\n };\n\n const capitalize = (s: string): string => {\n if (typeof s !== 'string') return '';\n\n return s.charAt(0).toUpperCase() + s.slice(1);\n };\n\n //Handles what happens when next is pressed. Validates data in data_bundle\n const handleNext = async (event: any) => {\n //TODO, dit kan veeeeel korter (for loop)\n const emailValidation: EmailValidationOut = await validateEmailSendGrid(\n data.data_bundle?.email_address\n );\n\n if (\n !data.data_bundle?.students?.[0]?.first_name ||\n !data.data_bundle?.students?.[0]?.last_name ||\n !data.data_bundle?.street ||\n !data.data_bundle.students[0].gender ||\n !data.data_bundle?.house_number ||\n !(await checkZip(data.data_bundle.zipcode)) ||\n !data.data_bundle.students[0].date_of_birth ||\n data.data_bundle.students[0].date_of_birth === 'Invalid date' ||\n !checkDateYMD(data.data_bundle.students[0].date_of_birth) ||\n !data.data_bundle.city ||\n (await checkCity(data.data_bundle.cityity)) ||\n !data.data_bundle?.first_name ||\n !data.data_bundle?.last_name ||\n !ValidateEmail(data.data_bundle.email_address) ||\n !data.data_bundle.phone_number ||\n !isValidPhoneNumber(data.data_bundle.phone_number, 'NL')\n ) {\n enqueueSnackbar(\n 'De ingevulde gegevens kloppen niet, controleer deze en pas aan waar nodig is!',\n { variant: 'error' }\n );\n setValidateError(true);\n\n return;\n } else if (\n emailValidation &&\n emailValidation.verdict === 'Risky' &&\n previousEmail.current !== data.data_bundle.email_address\n ) {\n //Check if email-address has been verified before, if it is the first time a validation comes back negative a warning should be thrown.\n previousEmail.current = data.data_bundle.email_address;\n enqueueSnackbar(\n 'U hebt mogelijk een incorrect e-mailadres ingevuld. Kunt u het e-mailadres nog een keer controleren? Indien het klopt, gelieve nog een keer op Volgende te klikken',\n {\n variant: 'info',\n anchorOrigin:\n currentWidth === 'xs'\n ? {\n vertical: 'top',\n horizontal: 'center',\n }\n : {\n vertical: 'bottom',\n horizontal: 'center',\n },\n }\n );\n setValidateError(true);\n\n return;\n } else {\n previousEmail.current = data.data_bundle.email_address;\n setValidateError(false);\n }\n\n if (emailResponse && emailResponse.found && emailResponse.verdict != 'Invalid') {\n setMailExist?.(true);\n } else {\n setMailExist?.(false);\n }\n\n event.detail();\n };\n\n useEffect(() => {\n document.addEventListener('onNext', handleNext);\n\n return () => {\n document.removeEventListener('onNext', handleNext);\n };\n }, [data]);\n\n return (\n
\n \n \n \n \n \n \n \n\n \n \n saveDataChild('first_name', capitalize(e.target.value))}\n />\n \n \n saveDataChild('last_name', e.target.value)}\n />\n \n \n \n {/* Geslacht */}\n saveDataChild('gender', 'mannelijk')} value=\"mannelijk\">\n Man\n \n saveDataChild('gender', 'vrouwelijk')} value=\"vrouwelijk\">\n Vrouw\n \n saveDataChild('gender', 'overig')} value=\"overig\">\n Overig\n \n \n \n {currentWidth != 'xs' && }\n \n \n (\n \n ),\n }}\n disableOpenPicker={currentWidth !== 'xs'}\n value={dateOfBirth}\n localeText={{ fieldYearPlaceholder: params => 'J'.repeat(params.digitAmount) }}\n slotProps={{\n textField: {\n variant: 'filled',\n required: true,\n size: 'small',\n error: CheckDateOfBirth(\n validateError,\n data.data_bundle.students?.[0]?.date_of_birth\n ),\n onBlur: e => {\n let dayString = '';\n dayString = e.target.value || '';\n\n const day = dateToMoment(dayString).format('YYYY-MM-DD');\n setDateOfBirth(dateToMoment(dayString));\n saveDataChild('date_of_birth', day);\n },\n InputProps: {\n disableUnderline: true,\n defaultValue: 'DD/MM/JJJJ',\n\n sx: {\n height: '46px',\n bgcolor: '#f5f5f5',\n borderRadius: '20px',\n ...(currentWidth === 'xs' && {\n fontSize: '14px',\n lineHeight: '16px',\n padding: '0px',\n margin: '-2px 0px -2px 0px',\n }),\n },\n },\n },\n }}\n onChange={() => {}}\n onAccept={day => {\n let dayString = '';\n\n if (day !== null) {\n dayString = moment(day)?.format('YYYY-MM-DD') || '';\n }\n\n setDateOfBirth(moment(day));\n saveDataChild('date_of_birth', dayString);\n }}\n />\n \n \n \n saveData('zipcode', e.target.value.toUpperCase().replace(' ', ''))}\n />\n \n \n saveData('house_number', e.target.value)}\n error={CheckHouseNumber(validateError, data.data_bundle.house_number)}\n // error={ !/^[1-9][0-9]*.*$/.test(data.data_bundle.house_number) && data.data_bundle.house_number !== undefined}\n dontShowBorder\n />\n \n \n saveData('street', capitalize(e.target.value))}\n />\n \n \n saveData('city', capitalize(e.target.value))}\n />\n \n \n \n \n\n \n \n \n \n \n \n\n \n \n \n saveData('first_name', capitalize(e.target.value))}\n />\n \n\n \n saveData('last_name', e.target.value)}\n />\n \n \n saveData('email_address', e.target.value)}\n />\n \n \n saveData('phone_number', e.target.value)}\n // error={data.data_bundle?.phone_number !== undefined && !checkPhone(data.data_bundle?.phone_number)}\n error={CheckPhone(validateError, data.data_bundle?.phone_number)}\n dontShowBorder\n />\n \n \n \n \n \n \n
\n );\n};\n\nexport default InformationPage;\n","import moment from 'moment';\n\nimport { IExtendedBundleIn } from '../..';\n\n//TODO: Staat dit niet in de verkeerde folder? Dit hoort niet thuis in de pagina's folder.\n\nexport class PackageCalculator {\n private score: number;\n private data: IExtendedBundleIn;\n\n constructor(data: IExtendedBundleIn) {\n this.data = data;\n this.setScore();\n }\n\n public setData = (data: IExtendedBundleIn) => {\n this.data = data;\n this.setScore();\n };\n\n public getData = (): IExtendedBundleIn => {\n return this.data;\n };\n\n private setScore = (): void => {\n if (this.data.data_bundle.students[0]) {\n const student = this.data.data_bundle.students[0];\n this.score =\n this.getGradeScore(student) +\n this.getYearScore(student) +\n this.getMultipleChildScore(this.data.data_bundle);\n }\n };\n\n public getScore = (): number => {\n return this.score;\n };\n\n /**get a score from the grades based on the divrence between the current grade and the targeted grade*/\n private getGradeScore = (student: any): number => {\n let score = 0;\n\n if (student.grade) {\n student.grade.forEach((grade: any) => {\n if (grade.grade <= 3) {\n score = score + 7;\n } else if (grade.grade > 3 && grade.grade <= 6) {\n score = score + 4;\n } else if (grade.grade >= 6) {\n score = score + 1;\n }\n });\n }\n\n return score;\n };\n\n /** get a score from the date based on how many days it is to the test */\n private getDateScore = (student: any): number => {\n let score = 0;\n let dayDiv = 0;\n\n if (student.date_of_test) {\n dayDiv = moment(student.date_of_test).dayOfYear() - moment().dayOfYear();\n\n if (dayDiv <= 7) {\n score = 1;\n } else if (dayDiv > 14 && dayDiv <= 30) {\n score = 3;\n } else if (dayDiv >= 31) {\n score = 20;\n }\n }\n\n return score;\n };\n\n /** get a score based on how many subject are selected */\n private getSubjectScore = (student: any): number => {\n let score = 0;\n let disciplinesLength = 0;\n if (student.disciplines.length > 0) {\n disciplinesLength = student.disciplines.length;\n if (disciplinesLength <= 1) {\n score = 1;\n } else if (disciplinesLength > 1 && disciplinesLength <= 2) {\n score = 3;\n } else if (disciplinesLength >= 3) {\n score = 5;\n }\n }\n\n return score;\n };\n\n /** get a score based on if you are in your final year of your study and in what month you are in your final year */\n private getYearScore = (student: any): number => {\n let score = 0;\n let maxYears = 0;\n\n if (student.school_level && student.school_year) {\n switch (student.school_level) {\n case 'groep':\n maxYears = 8;\n break;\n case 'vmbo':\n maxYears = 4;\n break;\n case 'vmbotl':\n maxYears = 4;\n break;\n case 'vmbokader':\n maxYears = 4;\n break;\n case 'vmbobasis':\n maxYears = 4;\n break;\n case 'havo':\n maxYears = 5;\n break;\n case 'vwo':\n maxYears = 6;\n break;\n case 'gymnasium':\n maxYears = 6;\n break;\n default:\n maxYears = 8;\n break;\n }\n\n if (student.school_year == maxYears) {\n if (moment().toDate().getMonth() < 6) {\n score = 1;\n } else {\n score = 3;\n }\n } else {\n score = 6;\n }\n }\n\n return score;\n };\n\n /** get a score based on constrains the child has */\n private getBackpackScore = (student: any): number => {\n let score = 0;\n if (student.comment) {\n let c: string = student.comment;\n c = c.toLocaleLowerCase();\n\n if (c.includes('adhd')) {\n score = score + 1;\n }\n if (c.includes('add')) {\n score = score + 1;\n }\n if (c.includes('autisme')) {\n score = score + 3;\n }\n if (c.includes('pddnos')) {\n score = score + 3;\n }\n if (c.includes('asperger')) {\n score = score + 2;\n }\n if (c.includes('hoogbegaafd')) {\n score = score + 1;\n }\n if (c.includes('faal angst') || c.includes('faalangst') || c.includes('faal-angst')) {\n score = score + 3;\n }\n if (c.includes('dyslexie') && c.includes('dislectisch')) {\n score = score + 2;\n }\n if (c.includes('dyscalculie')) {\n score = score + 2;\n }\n }\n\n return score;\n };\n\n private getMultipleChildScore = (bundle: any): number => {\n let score = 0;\n if (bundle.multiple_children) {\n score = 25;\n } else {\n score = 0;\n }\n\n return score;\n };\n}\n","import React, { useState } from 'react';\n\nimport { Avatar, Card, CardContent, CardHeader, Grid, Slider, Typography } from '@mui/material';\n\nimport { BaseDiscipline } from 'assets/api';\nimport useLabel from 'functions/Hooks/useLabel';\n\nimport { IBundleFlowPageProps } from '..';\n\ninterface ILessonSubjectCardProps extends IBundleFlowPageProps {\n subjectId: any;\n index: number;\n subjects: BaseDiscipline[];\n subjectGrade?: number;\n}\n\nexport interface IGrades {\n id: number;\n grade: number;\n}\n\nconst LessonSubjectCard: React.FunctionComponent = ({\n subjectId,\n subjects,\n bundle,\n setBundle,\n subjectGrade,\n}) => {\n const [grade, setGrade] = useState(5.5);\n const label = useLabel();\n const [show, setShow] = useState();\n\n React.useEffect(() => {\n if (subjectGrade) {\n setGrade(subjectGrade);\n }\n }, [grade]);\n\n React.useEffect(() => {\n if (\n subjects.find(subject => subjectId === subject.id)?.name === 'Huiswerkbegeleiding' ||\n subjects.find(subject => subjectId === subject.id)?.name === 'Organiseren & Plannen'\n ) {\n setShow(false);\n } else {\n setShow(true);\n }\n }, [show]);\n\n const handleChange = (event: Event, newValue: number | number[]) => {\n const tempData = { ...bundle };\n if (typeof newValue === 'number') {\n setGrade(newValue);\n\n if (!tempData.data_bundle.students[0].grade) {\n tempData.data_bundle.students[0].grade = [];\n setBundle(tempData);\n }\n\n if (tempData.data_bundle.students[0].grade.findIndex((x: any) => x.id == subjectId) >= 0) {\n const subjectObject = {\n id: subjectId,\n grade: newValue,\n };\n\n const foundIndex = tempData.data_bundle.students[0].grade.findIndex(\n (x: any) => x.id == subjectId\n );\n tempData.data_bundle.students[0].grade[foundIndex] = subjectObject;\n setBundle(tempData);\n } else {\n const subjectObject = {\n id: subjectId,\n grade: newValue,\n };\n\n tempData.data_bundle.students[0].grade.push(subjectObject);\n setBundle(tempData);\n }\n }\n };\n\n return (\n <>\n {show && (\n \n \n \n \n subjectId === subject.id)?.name}\n titleTypographyProps={{\n fontWeight: 'light',\n fontSize: '18px',\n }}\n />\n \n \n \n \n \n {grade}\n \n \n \n \n \n\n \n \n \n \n 1\n \n \n \n \n \n \n \n 10\n \n \n \n \n \n \n )}\n \n );\n};\n\nexport default LessonSubjectCard;\n","import React, { useState } from 'react';\n\nimport {\n Avatar,\n Box,\n Card,\n CardContent,\n Grid,\n Radio,\n RadioGroup,\n Slider,\n Typography,\n} from '@mui/material';\n\nimport { appClient } from 'App';\nimport { BaseDiscipline } from 'assets/api';\nimport fiene from 'assets/img/brand/FieneVierkant.png';\nimport { Button } from 'components/Elements/Forms/Inputs';\nimport { useWidth } from 'functions/Hooks/useDeviceDetect';\nimport useLabel from 'functions/Hooks/useLabel';\n\nimport { IExtendedBundleIn, IFlowPageProps } from '..';\nimport { PackageCalculator } from './Models/PackageCalculator';\nimport LessonSubjectCard from '../Components/LessonSubjectCard';\n\nexport interface ILessonPrefrencesPageProps extends IFlowPageProps {\n bundle: IExtendedBundleIn;\n setBundle: (bundle: IExtendedBundleIn) => void;\n}\n\nconst LessonPrefrences: React.FunctionComponent = ({\n bundle,\n setBundle,\n}) => {\n const [multipleChild, setMultipleChild] = useState('nee'); //TODO: ik zou child veranderen naar students want in de programmeer context staat het een beetje raar\n const [selectedButton, setSelectedButton] = useState('Nee');\n const [subjects, setSubjects] = useState();\n const [hours, setHours] = useState(1);\n const label = useLabel();\n const currentWidth = useWidth();\n\n React.useEffect(() => {\n if (!subjects) {\n appClient.lessons.getLessonsViewDisciplines().then((r: BaseDiscipline[] | null) => {\n if (r !== null) {\n setSubjects(\n r.sort((a: BaseDiscipline, b: BaseDiscipline) => a.name.localeCompare(b.name))\n );\n }\n });\n }\n }, [subjects]);\n\n React.useEffect(() => {\n if (bundle.data_bundle.multiple_children) {\n if (bundle.data_bundle.multiple_children === true) {\n setMultipleChild('ja');\n } else if (bundle.data_bundle.multiple_children === false) {\n setMultipleChild('false');\n }\n }\n }, [multipleChild]);\n\n const handleNext = (event: any) => {\n const tempdata = { ...bundle };\n const pc = new PackageCalculator(tempdata);\n\n const dataSpread = { ...bundle };\n dataSpread.data_bundle.package = '';\n const tempHours = hours * 2;\n dataSpread.data_bundle.students[0].score = pc.getScore() + tempHours;\n setBundle(dataSpread);\n\n event.detail();\n };\n\n React.useEffect(() => {\n document.addEventListener('onNext', handleNext);\n\n return () => {\n document.removeEventListener('onNext', handleNext);\n };\n }, [bundle]);\n\n const handleCheckMulitpleChilds = (ev: string): void => {\n let e = false;\n if (ev === 'ja') {\n e = true;\n } else if (ev === 'nee') {\n e = false;\n } else {\n e = false;\n }\n setMultipleChild(ev);\n const tempData = { ...bundle };\n tempData.data_bundle.multiple_children = e;\n setBundle(tempData);\n };\n\n const handleChange = (event: Event, newValue: number | number[]) => {\n setHours(newValue as number);\n };\n\n const showSubjects = (): boolean => {\n let show = true;\n if (subjects) {\n const subid1 = subjects?.find(subject => {\n if (subject.name === 'Huiswerkbegeleiding') {\n return subject.id;\n }\n });\n const subid2 = subjects?.find(subject => {\n if (subject.name === 'Organiseren & Plannen') {\n return subject.id;\n }\n });\n\n if (\n bundle.data_bundle.students[0].disciplines.includes(subid1) ||\n bundle.data_bundle.students[0].disciplines.includes(subid2)\n ) {\n show = false;\n } else {\n show = true;\n }\n }\n\n return show;\n };\n\n return (\n
\n \n \n \n \n \n \n \n \n \n Hoi! Mijn naam is Fiene en ik help u graag met uw pakketkeuze. Met een\n pakket bent u namelijk voordeliger uit dan met losse lessen.\n \n \n\n \n \n Beantwoord de onderstaande vragen, zodat ik u het beste kan adviseren.\n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n Heeft u nog meer kinderen die bijles nodig hebben?\n \n \n \n \n \n \n {\n setSelectedButton('Ja');\n handleCheckMulitpleChilds('ja');\n }}\n sx={{\n padding: '10px 20px',\n minWidth: '100%',\n backgroundColor: selectedButton == 'Ja' ? label?.main_color : '#f5f5f5',\n }}\n startIcon={\n \n }>\n Ja\n \n \n\n \n {\n setSelectedButton('Nee');\n handleCheckMulitpleChilds('nee');\n }}\n sx={{\n padding: '10px 20px',\n minWidth: '100%',\n backgroundColor: selectedButton == 'Nee' ? label?.main_color : '#f5f5f5',\n }}\n startIcon={\n \n }>\n \n Nee\n \n \n \n \n \n \n \n \n \n\n \n \n \n {showSubjects() && (\n <>\n \n \n Huidige cijfers van de aangegeven vakken:\n \n \n\n \n \n \n \n {subjects &&\n bundle.data_bundle.students[0].disciplines?.map(\n (subjectId: any, index: number) => {\n return (\n \n );\n }\n )}\n \n \n \n \n \n )}\n \n Hoeveel uren per week wilt u bijles?\n\n \n \n \n \n \n {/* */}\n \n \n \n \n \n {hours > 5 ? '5+' : hours}\n \n \n \n \n \n\n \n \n \n \n 1\n \n \n \n \n \n \n \n 5+\n \n \n \n \n \n \n \n \n \n \n \n
\n );\n};\n\nexport default LessonPrefrences;\n","import React, { useState } from 'react';\n\nimport { Close } from '@mui/icons-material';\nimport CheckIcon from '@mui/icons-material/Check';\nimport InfoIcon from '@mui/icons-material/Info';\nimport {\n Box,\n Card,\n CardContent,\n CardHeader,\n Dialog,\n DialogContent,\n DialogTitle,\n Grid,\n IconButton,\n MenuItem,\n styled,\n Typography,\n} from '@mui/material';\nimport InputAdornment from '@mui/material/InputAdornment';\nimport { useSnackbar } from 'notistack';\n\nimport { TextField } from 'components/Elements/Forms/Inputs';\nimport { checkIBAN } from 'functions/HelperFunctions/Regex';\nimport useLabel from 'functions/Hooks/useLabel';\n\nimport { IBundleFlowPageProps } from '..';\n\nconst BootstrapDialog = styled(Dialog)(({ theme }) => ({\n borderRadius: '15px',\n '& .MuiDialog-paper': { borderRadius: '15px' },\n '& .MuiDialogContent-root': { padding: theme.spacing(2) },\n '& .MuiDialogActions-root': { padding: theme.spacing(1) },\n}));\n\nexport interface DialogTitleProps {\n id: string;\n children?: React.ReactNode;\n onClose: () => void;\n}\n\ninterface IPaymentMethodPageProps extends IBundleFlowPageProps {\n SetPaymentModalOpen: (open: boolean) => void;\n}\n\nconst PaymentMethodPageOld: React.FunctionComponent = ({\n bundle,\n setBundle,\n setPayLater,\n skipPayment,\n SetPaymentModalOpen,\n}) => {\n const { enqueueSnackbar } = useSnackbar();\n const [paymentMethod, setPaymentMethod] = useState('none');\n const [cardBool, setCardBool] = useState(false);\n const [ibanCheckIconVisible, setIbanCheckIconVisible] = useState(false);\n\n const label = useLabel();\n\n const handlePaymentMethodChange = (event: string): void => {\n const tempdata = { ...bundle };\n tempdata.data_bundle.payment_method = event;\n setBundle(tempdata);\n\n setPaymentMethod(event);\n\n if (event === 'achteraf') {\n tempdata.data_bundle.accept_incasso = false;\n if (setPayLater) {\n setPayLater(true);\n }\n } else {\n tempdata.data_bundle.accept_incasso = true;\n if (setPayLater) {\n setPayLater(false);\n }\n }\n\n setBundle(tempdata);\n };\n\n const handleNext = async (event: any) => {\n if (\n bundle.data_bundle.payment_method === 'Losse factuur' ||\n bundle.data_bundle.payment_method === 'achteraf' ||\n bundle.data_bundle.payment_method === 'none'\n ) {\n SetPaymentModalOpen(true);\n\n return;\n }\n\n if (skipPayment) {\n const tempdata = { ...bundle };\n tempdata.data_bundle.payment_method = 'Geen betaalmethode gekozen';\n setBundle(tempdata);\n } else {\n if (paymentMethod == 'incasso') {\n if (bundle.data_bundle.iban) {\n const r = await fetch(\n 'https://openiban.com/validate/' +\n bundle.data_bundle.iban +\n '?getBIC=true&validateBankCode=true'\n ).then(r => {\n return r.json();\n });\n if (r.valid === false) {\n enqueueSnackbar('Uw IBAN lijkt niet te kloppen, check het a.u.b. nog een keer', {\n variant: 'error',\n });\n\n return;\n }\n } else {\n enqueueSnackbar('Vul a.u.b uw IBAN in.', { variant: 'error' });\n\n return;\n }\n }\n }\n\n event.detail();\n };\n\n const checkValidIbanRegex = (event: any) => {\n if (checkIBAN(event.target.value)) {\n setIbanCheckIconVisible(true);\n } else {\n setIbanCheckIconVisible(false);\n }\n };\n\n React.useEffect(() => {\n document.addEventListener('onNext', handleNext);\n\n return () => {\n document.removeEventListener('onNext', handleNext);\n };\n }, [bundle]);\n\n React.useEffect(() => {\n if (bundle.data_bundle.payment_method) {\n setPaymentMethod(bundle.data_bundle.payment_method);\n } else {\n const tempdata = { ...bundle };\n tempdata.data_bundle.payment_method = 'none';\n setBundle(tempdata);\n }\n }, [bundle]);\n\n const handleIBAN = (IBAN: string): void => {\n const tempData = { ...bundle };\n tempData.data_bundle.iban = IBAN;\n setBundle(tempData);\n };\n\n const Capatilize = (value: string): string => {\n if (value) {\n value = value.toLocaleUpperCase();\n }\n\n return value;\n };\n\n function BootstrapDialogTitle(props: DialogTitleProps) {\n const { children, onClose, ...other } = props;\n\n return (\n \n {children}\n {onClose ? (\n theme.palette.grey[500],\n }}>\n \n \n ) : null}\n \n );\n }\n\n const handleTermSelect = (value: number) => {\n const tempBundle = { ...bundle };\n tempBundle.data_bundle.term = value;\n setBundle(tempBundle);\n };\n\n const showAutoIncassoText = () => {\n {\n /* Volledige ontzorging */\n }\n if (bundle.data_bundle.package === 'Losse les') {\n return (\n \n €10,- korting op de administratiekosten.\n \n );\n } else if (\n paymentMethod !== 'incasso' &&\n bundle.data_bundle.package !== 'Geen pakket geselecteerd'\n ) {\n return (\n \n Bepaal zelf het aantal betaaltermijnen\n \n );\n } else if (paymentMethod === 'none') {\n return (\n \n Volledige ontzorging\n \n );\n } else {\n return (\n \n \n \n );\n }\n };\n\n const ShowPaymentInfoText = () => {\n if (bundle.data_bundle.package === 'Losse les') {\n return (\n \n \n Maak hieronder een keuze hoe u wenst te betalen voor uw bijlessen. Wanneer u kiest voor\n een automatische incasso heeft u de volgende voordelen:\n
    \n
  • Volledige ontzorging;
  • \n
  • €10,- korting op de administratiekosten.
  • \n {/*
  • \n Incasso vindt aan het begin van de maand plaats.\n
  • */}\n
\n
\n
\n );\n } else if (paymentMethod === 'incasso') {\n return (\n \n \n Maak hieronder een keuze hoe u wenst te betalen voor uw bijlessen. Wanneer u kiest voor\n een automatische incasso heeft u de volgende voordelen:\n
    \n
  • Volledige ontzorging;
  • \n
  • Bepaal zelf in hoeveel termijnen u betaalt;
  • \n
  • €10,- korting op de administratiekosten.
  • \n {/*
  • \n Maandelijkse incasso.\n
  • */}\n
\n
\n
\n );\n } else if (paymentMethod === 'achteraf' || paymentMethod === 'none') {\n return (\n \n \n Maak hieronder een keuze hoe u wenst te betalen voor uw bijlessen. Wanneer u kiest voor\n een automatische incasso heeft u de volgende voordelen:\n
    \n
  • Volledige ontzorging;
  • \n
  • Bepaal zelf in hoeveel termijnen u betaalt;
  • \n
  • €10,- korting op de administratiekosten.
  • \n {/*
  • \n Maandelijkse incasso.\n
  • */}\n
\n
\n
\n );\n }\n };\n\n return (\n \n \n \n \n {/* \n \n Maak hieronder een keuze hoe u wenst te betalen voor uw bijlessen.\n U kunt kiezen uit onze handige automatische incasso of handmatig overmaken middels losse facturen.\n De betalingen vinden altijd aan het einde van de maand plaats.\n \n */}\n {ShowPaymentInfoText()}\n \n \n \n\n \n \n \n \n \n Maak uw keuze:\n \n \n\n \n {\n handlePaymentMethodChange('incasso');\n }}>\n \n \n \n {\n setCardBool(true);\n }}>\n \n \n \n \n \n \n \n \n \n {showAutoIncassoText()}\n \n\n {paymentMethod == 'incasso' && (\n \n \n \n IBAN *\n \n \n \n {\n handleIBAN(e.target.value); //todo: add to init\n checkValidIbanRegex(e);\n }}\n InputProps={{\n endAdornment: (\n \n {ibanCheckIconVisible && (\n \n )}\n \n ),\n }}\n />\n \n {bundle.data_bundle.package !== 'Losse les' &&\n bundle.data_bundle.package !== 'Geen pakket geselecteerd' && (\n <>\n \n \n Termijnen\n \n \n \n {\n handleTermSelect(e.target.value as unknown as number);\n }}>\n {/* Termijnen */}\n 1 termijn\n 2 termijnen\n 3 termijnen\n 4 termijnen\n \n \n \n )}\n \n )}\n \n \n\n setCardBool(false)}\n aria-labelledby=\"customized-dialog-title\"\n open={cardBool}\n sx={{ borderRadius: '15px' }}>\n setCardBool(false)}>\n \n {paymentMethod == 'incasso' ? 'Automatische incasso' : 'Losse factuur'}\n \n \n \n \n {paymentMethod == 'incasso'\n ? 'Bij een automatische incasso geeft u ons toestemming om een bepaald geldbedrag van uw rekening af te schrijven voor de bijlessen.'\n : 'U ontvangt elke maand een factuur welke u binnen 14 dagen handmatig dient over te maken. Per opgestelde factuur wordt €2,50 administratiekosten in rekening gebracht.'}\n \n \n \n \n \n {\n handlePaymentMethodChange('achteraf');\n }}>\n \n \n \n {\n setCardBool(true);\n }}>\n \n \n \n \n \n \n \n \n \n + €2,50 administratiekosten per verstuurde factuur\n \n \n \n \n \n \n \n \n );\n};\n\nexport default PaymentMethodPageOld;\n","import React, { useState } from 'react';\n\nimport { Check } from '@mui/icons-material';\nimport { Box, Card, CardContent, CardHeader, Grid, Stack, Typography } from '@mui/material';\n\nimport { BaseStub, RegularProduct } from 'assets/api';\nimport beu_background from 'assets/img/brand/BEU_wit23.png';\nimport ob_background from 'assets/img/brand/OB_wit23.png';\nimport sw_background from 'assets/img/brand/SW_helemaalwit_rond23.png';\nimport vb_background from 'assets/img/brand/VBL_wit23.png';\nimport useLabel from 'functions/Hooks/useLabel';\n\nimport { IPackage } from '..';\n\ninterface PackageCardMobileProps extends IPackage {\n score: number;\n data?: BaseStub;\n setData?: (baseStub: BaseStub) => void;\n radioValue?: string;\n advice?: boolean;\n\n displayMatch?: boolean;\n noAdvice?: boolean;\n skipAdvice?: boolean;\n product: RegularProduct;\n selectedProducts?: RegularProduct[];\n setSelectedProducts?: (value: RegularProduct[]) => void;\n}\n\nconst PackageCardMobile: React.FunctionComponent = ({\n selected,\n advice,\n skipAdvice,\n product,\n}) => {\n const label = useLabel();\n const [losseLes, setLosseles] = useState(false);\n\n React.useEffect(() => {\n if (product.name === 'Losse les') {\n setLosseles(true);\n } else {\n setLosseles(false);\n }\n }, [losseLes]);\n\n const img = () => {\n if (label?.name) {\n switch (label.name.toLowerCase()) {\n case 'studyworks':\n return `url(${sw_background})`;\n case 'bijles.eu':\n return `url(${beu_background})`;\n case 'online-bijles.com':\n return `url(${ob_background})`;\n case 'vlakbijles':\n return `url(${vb_background})`;\n }\n }\n\n return `url(${sw_background})`;\n };\n const strippenkaarten = label?.name == 'VlakBijles' || label?.name == 'Bijles.EU';\n\n return (\n \n \n {losseLes && !strippenkaarten ? (\n <>\n \n \n {product.name}\n \n \n {product.bundle_details && (\n \n {' '}\n {'€' +\n Math.round(product.price / product.bundle_details?.total_hours).toFixed(\n 2\n )}{' '}\n \n )}\n \n {' '}\n {' p/u'}{' '}\n \n \n \n }\n />\n \n ) : (\n <>\n {product.name}\n ) : (\n product.name.split(' ').map((word, index) => {\n if (index === product.name.split(' ').length - 1) {\n return (\n \n {word}\n \n );\n } else if (label?.main_color !== null) {\n return (\n \n {' '}\n {word}{' '}\n \n );\n }\n })\n )\n }\n titleTypographyProps={{\n variant: 'h5',\n fontWeight: 'bold',\n }}\n sx={{\n textAlign: 'center',\n padding: '8px 0px',\n backgroundColor: 'transparent',\n }}\n />\n \n \n \n {product.bundle_details && (\n \n {'€' +\n Math.round(product.price / product.bundle_details?.total_hours).toFixed(2)}\n \n {' '}\n {' p/u'}{' '}\n \n \n )}\n \n \n \n \n {/* */}\n \n \n {product.bundle_details && (\n \n {strippenkaarten && losseLes\n ? `Startend vanaf €${Math.round(\n product.price / product.bundle_details?.total_hours\n ).toFixed(2)} per uur`\n : `${product.bundle_details.total_hours} uur bijles`}\n \n )}\n \n \n \n \n {!skipAdvice && advice && (\n \n \n Ons advies\n \n \n )}\n {product.name == 'Succes pakket' && skipAdvice && (\n \n \n Meest gekozen\n \n \n )}\n {product.name == 'Succes plus pakket' && !advice && (\n \n \n Meest voordelig\n \n \n )}\n \n \n \n \n \n \n \n )}\n\n {/* \n \n \n \n \n \n \n {handleSelectedProducts() ? 'Geselecteerd' : 'Selecteer'}\n \n \n \n\n \n \n {handleSelectedProducts() && (\n \n \n \n \n \n \n\n \n \n {getProductCount()}\n \n \n\n \n \n \n \n \n \n )}\n \n \n \n */}\n \n \n );\n};\n\nexport default PackageCardMobile;\n","import React, { useState } from 'react';\n\nimport { Avatar, Box, Card, CardContent, CircularProgress, Grid, Typography } from '@mui/material';\n\nimport { appClient } from 'App';\nimport { RegularProduct } from 'assets/api';\nimport fiene from 'assets/img/brand/FieneVierkant.png';\nimport useLabel from 'functions/Hooks/useLabel';\n\nimport { IExtendedBundleIn, IFlowPageProps } from '..';\nimport PackageCardMobile from '../Components/PackageCardMobile';\n\nexport interface IPersonalAdvicePageProps extends IFlowPageProps {\n bundle: IExtendedBundleIn;\n setBundle: (bundle: IExtendedBundleIn) => void;\n SetPackageModalOpen: (open: boolean) => void;\n}\n\nexport interface RegularProductExtends extends RegularProduct {\n selected?: boolean;\n}\n\nconst PersonalAdvice: React.FunctionComponent = ({\n bundle,\n setBundle,\n}) => {\n const label = useLabel();\n const [score, setScore] = useState(0);\n\n const [selectedProducts, setSelectedProducts] = useState([]);\n\n const [products, setProducts] = useState();\n const [skipAdvice, setSkipAdvice] = useState(false);\n const [advicedPackage, setAdvicedPackage] = useState();\n const [loading, setLoading] = useState(true);\n\n React.useEffect(() => {\n const data = bundle;\n data.data_bundle.products = selectedProducts;\n if (selectedProducts[0]) {\n bundle.data_bundle.package = selectedProducts[0].name;\n } else {\n bundle.data_bundle.package = selectedProducts;\n }\n setBundle(data);\n }, [selectedProducts]);\n\n React.useEffect(() => {\n setScore(bundle.data_bundle.students[0].score);\n });\n\n React.useEffect(() => {\n setSkipAdvice(bundle.data_bundle.skip_advice);\n }, [bundle.data_bundle.package]);\n\n React.useEffect(() => {\n if (label) {\n appClient.products.getProductsGetPublicProducts(label?.id).then((r: RegularProduct[]) => {\n setProducts(r.filter((prod: RegularProduct) => prod.is_active === true));\n });\n }\n }, []);\n\n //Calculate the adviced product based on libele model score\n React.useEffect(() => {\n if (products) {\n const normalePackages: RegularProductExtends[] = [];\n\n let isAdviced: RegularProductExtends;\n if (products) {\n let div: number | undefined = undefined;\n products.forEach(product => {\n if (product.bundle_details) {\n if (!isAdviced) {\n isAdviced = product;\n }\n\n //substract the score from the hours and abstract is to exclude minus values\n const num = Math.abs(product.bundle_details?.total_hours - score);\n\n if (div === undefined) {\n div = num;\n }\n\n // check if the number is lower than the previous number to set the product\n if (num <= div) {\n div = num;\n setAdvicedPackage(product);\n }\n normalePackages.push(product);\n }\n });\n }\n }\n }, [products, score]);\n\n React.useEffect(() => {\n if (loading) {\n setTimeout(function () {\n setLoading(false);\n }, 3000);\n }\n }, [loading]);\n\n const handleNext = (event: any) => {\n // if (bundle.data_bundle.products.length === 0) {\n // enqueueSnackbar('Selecteer a.u.b. een pakket', { variant: 'error' });\n\n // return;\n // }\n\n event.detail();\n };\n\n React.useEffect(() => {\n document.addEventListener('onNext', handleNext);\n\n return () => {\n document.removeEventListener('onNext', handleNext);\n };\n }, [bundle]);\n\n const showPackageName = (pname: string): string => {\n let name = '';\n switch (pname) {\n case 'Strippenkaart klein':\n name = 'kleine Strippenkaart';\n break;\n case 'Strippenkaart groot':\n name = 'grote Strippenkaart';\n break;\n default:\n name = pname;\n }\n\n return name;\n };\n\n const getSelected = (p: RegularProduct): boolean => {\n let selected: boolean = false;\n const found = selectedProducts.find(product => product.id === p.id);\n if (found) {\n selected = true;\n } else {\n selected = false;\n }\n\n return selected;\n };\n\n return (\n
\n {!skipAdvice && loading ? (\n \n \n \n \n \n Berekenen van pakketten\n \n \n \n \n ) : (\n \n \n \n \n \n \n \n \n {!skipAdvice && (\n \n \n Wat fijn dat ik u mag helpen met uw pakketkeuze! Op basis van uw\n ingevulde antwoorden raad ik u aan om te kiezen voor\n {advicedPackage && advicedPackage.name.includes('Strippenkaart')\n ? ' een '\n : ' het '}\n {loading ? (\n ''\n ) : advicedPackage ? (\n \n {showPackageName(advicedPackage.name) + '.'}\n \n ) : (\n 'strippenkaart'\n )}\n
\n \n
\n )}\n\n {!skipAdvice ? (\n \n \n Hieronder kunt u de pakketten zien die wij aanbieden. Deze pakketten\n kunnen na het afronden van het aanmeldproces in het portaal\n aangeschaft worden.\n \n
\n ) : (\n \n \n Hieronder kunt u de pakketten zien die wij aanbieden. Bij een groter\n bijlespakket ontvangt u meer korting op de uurprijs. Wenst u te\n betalen in termijnen? Kies dan voor onze voordelige pakketten in\n combinatie met een automatische incasso.\n \n
\n )}\n
\n \n {!skipAdvice && (\n \n \n \n \n \n \n )}\n \n \n {!skipAdvice && (\n \n \n \n \n \n )}\n \n
\n
\n\n \n \n \n \n \n Hieronder kunt u de pakketten zien die wij aanbieden:\n \n \n\n \n \n {products &&\n products.map(p => {\n return (\n \n \n \n );\n })}\n \n \n \n \n \n\n \n \n \n \n \n *Eenmalig €35,- administratiekosten\n \n \n \n \n \n
\n )}\n
\n );\n};\n\nexport default PersonalAdvice;\n","import React from 'react';\n\nimport { Box, Card, CardContent, Grid, MenuItem, Radio, Typography } from '@mui/material';\nimport { useSnackbar } from 'notistack';\nimport TagManager from 'react-gtm-module';\n\nimport { AvailabilityIn, BaseStub } from 'assets/api';\nimport { Button, TextField } from 'components/Elements/Forms/Inputs';\nimport AvailabilityGrid_V2 from 'components/Functional/Availability/AvailabilityGrid_V2';\nimport useLabel from 'functions/Hooks/useLabel';\n\nimport { IFlowPageProps } from '..';\n\ninterface ISchedulePage extends IFlowPageProps {\n data: BaseStub;\n setData: (baseStub: BaseStub) => void;\n}\n\n//TODO: heeft een betere naam nodig\nconst SchedulePage: React.FunctionComponent = ({ data, setData }) => {\n const { enqueueSnackbar } = useSnackbar();\n const [selectedDate, setSelectedDate] = React.useState(\n data.data_bundle.students[0].start_date\n ? data.data_bundle.students[0].start_date\n : 'volgende_week'\n );\n const label = useLabel();\n\n const handleLocation = (event: boolean) => {\n const tempData = { ...data };\n tempData.data_bundle.students[0].online_tutoring = event;\n setData(tempData);\n };\n\n const tagManagerArgs = {\n dataLayer: {\n page: 'availability',\n data: data,\n },\n dataLayerName: 'PageDataLayer',\n };\n\n TagManager.dataLayer(tagManagerArgs);\n\n const setLessonComment = (info: string) => {\n const tempData = { ...data };\n tempData.data_bundle.students[0].lesson_comment = info;\n setData(tempData);\n };\n\n const handleAdd = (item: AvailabilityIn) => {\n const tempData = { ...data };\n if (!tempData.data_bundle.students[0].availability) {\n tempData.data_bundle.students[0].availability = [];\n setData(tempData);\n }\n\n if (tempData.data_bundle.students[0].availability) {\n tempData.data_bundle.students[0].availability.push(item);\n setData(tempData);\n } else {\n tempData.data_bundle.students[0].availability = [item];\n setData(tempData);\n }\n };\n\n const handleDelete = (item: AvailabilityIn) => {\n const tempData = { ...data };\n const index = tempData.data_bundle.students[0].availability.indexOf(item);\n if (index !== -1) {\n tempData.data_bundle.students[0].availability.splice(index, 1);\n setData(tempData);\n }\n };\n\n const handleStarttDate = (value: string) => {\n setSelectedDate(value);\n const tempData = { ...data };\n tempData.data_bundle.students[0].start_date = value;\n setData(tempData);\n };\n\n const handleNext = (event: any) => {\n if (\n data.data_bundle.students[0].availability === undefined ||\n data.data_bundle.students[0].availability.length < 1\n ) {\n enqueueSnackbar('Geef a.u.b. uw beschikbaarheid op.', { variant: 'error' });\n\n return;\n }\n\n if (data.data_bundle.students[0].start_date === undefined) {\n enqueueSnackbar('Geef a.u.b. een datum op wanneer u wenst te starten.', { variant: 'error' });\n\n return;\n }\n\n const tempdata = { ...data };\n tempdata.data_bundle.students[0].start_date = selectedDate;\n setData(tempdata);\n\n event.detail();\n };\n\n React.useEffect(() => {\n document.addEventListener('onNext', handleNext);\n\n return () => {\n document.removeEventListener('onNext', handleNext);\n };\n }, [data]);\n\n enum StartDatesEnum {\n //options volgende weeek, over 2 weken, over 3 weken, later dan 3 weken\n Volgende_week = 'Volgende week',\n Over_2_weken = 'Over 2 weken',\n Over_3_weken = 'Over 3 weken',\n Later_dan_3_weken = 'Later dan 3 weken',\n }\n\n return (\n
\n \n \n \n \n \n Vink aan op welke momenten uw kind allemaal beschikbaar is voor bijles. Op basis van\n deze beschikbaarheid plannen wij de eerste bijles in.\n \n \n \n \n Tip:\n \n \n \n hoe meer beschikbaarheid u opgeeft, hoe sneller wij u kunnen helpen.\n \n \n \n \n \n\n \n \n \n \n \n Legenda:\n \n \n \n \n \n \n \n \n \n \n Niet beschikbaar\n \n \n \n\n \n \n \n \n \n \n Beschikbaar\n \n \n \n \n \n \n \n (Klik op de grijze vakjes om deze groen te maken indien u beschikbaar bent.)\n \n \n\n \n \n \n \n \n \n\n \n \n \n \n \n \n \n Wanneer wenst u te starten?\n \n \n \n handleStarttDate(e.target.value)}>\n {Object.keys(StartDatesEnum).map(item => (\n \n {item.replaceAll('_', ' ')}\n \n ))}\n \n \n \n \n\n \n \n \n \n Locatie voorkeur:\n \n \n \n \n \n handleLocation(false)}\n sx={{\n padding: '10px 20px',\n minWidth: '100%',\n backgroundColor: data.data_bundle.students[0].online_tutoring\n ? data.data_bundle.students[0].online_tutoring === false\n ? label?.main_color\n : '#f5f5f5'\n : label?.main_color,\n alignItems: 'left',\n }}\n startIcon={\n \n }>\n \n Aan huis\n \n \n \n\n \n { setSelectedButton(\"Online\"); setPrefferedTutoring(true); }}\n onClick={() => handleLocation(true)}\n sx={{\n padding: '10px 20px',\n minWidth: '100%',\n backgroundColor:\n data.data_bundle.students[0].online_tutoring === true\n ? label?.main_color\n : '#f5f5f5',\n }}\n startIcon={\n \n }>\n \n Online\n \n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n Heeft u nog specifieke voorkeuren/ wensen?\n \n \n \n setLessonComment(e.target.value)}\n />\n \n \n \n \n
\n );\n};\n\nexport default SchedulePage;\n","import React, { useState } from 'react';\n\nimport {\n Card,\n CardContent,\n CardHeader,\n Checkbox,\n FormControl,\n FormControlLabel,\n Grid,\n MenuItem,\n RadioGroup,\n Typography,\n} from '@mui/material';\nimport { useSnackbar } from 'notistack';\n\nimport { appClient } from 'App';\nimport { BaseDiscipline, BaseStub, SchoolLevelEnum_Output } from 'assets/api';\nimport { TextField } from 'components/Elements/Forms/Inputs';\n\nimport { IFlowPageProps } from '..';\n\ninterface ISubjectPageProps extends IFlowPageProps {\n data: BaseStub;\n setData: (baseStub: BaseStub) => void;\n}\n\nconst SubjectPage: React.FunctionComponent = ({ data, setData }) => {\n const [update, setUpdate] = useState(false);\n const [subjects, setSubjects] = useState();\n const { enqueueSnackbar } = useSnackbar();\n React.useEffect(() => {\n if (update === true) {\n setUpdate(false);\n }\n }, [update]);\n\n React.useEffect(() => {\n if (!subjects) {\n try {\n appClient.lessons.getLessonsViewDisciplines().then((r: BaseDiscipline[] | null) => {\n if (r !== null) {\n setSubjects(\n r.sort((a: BaseDiscipline, b: BaseDiscipline) => a.name.localeCompare(b.name))\n );\n }\n });\n } catch (e) {\n // Nothing\n }\n }\n });\n\n const handleNext = (event: any) => {\n const disciplines: BaseDiscipline[] = data.data_bundle.students[0].disciplines;\n if (!data.data_bundle.students[0].school_level) {\n enqueueSnackbar('Selecteer a.u.b. het gewenste niveau.', { variant: 'error' });\n\n return;\n }\n\n if (!data.data_bundle.students[0].school_year) {\n enqueueSnackbar('Selecteer a.u.b het schooljaar.', { variant: 'error' });\n\n return;\n }\n\n if (disciplines === undefined || disciplines.length === 0) {\n enqueueSnackbar('Selecteer a.u.b op zijn minst 1 bijles vak.', { variant: 'error' });\n\n return;\n }\n event.detail();\n };\n\n React.useEffect(() => {\n document.addEventListener('onNext', handleNext);\n\n return () => {\n document.removeEventListener('onNext', handleNext);\n };\n }, [data]);\n\n const setLeerjaar = (school_year: number) => {\n const tempdata = { ...data };\n tempdata.data_bundle.students[0].school_year = school_year;\n setData(tempdata);\n };\n\n const setNiveau = (school_level: string) => {\n const tempdata = { ...data };\n tempdata.data_bundle.students[0].school_level = school_level;\n tempdata.data_bundle.students[0].school_year = '';\n if (tempdata.data_bundle.students?.[0].disciplines !== undefined) {\n tempdata.data_bundle.students[0].disciplines = [];\n }\n setData(tempdata);\n };\n\n const setVak = (vak: BaseDiscipline) => {\n const tempdata = { ...data };\n if (!tempdata.data_bundle?.students?.[0].disciplines) {\n tempdata.data_bundle.students[0].disciplines = [];\n tempdata.data_bundle.students[0].disciplines.push(vak.id);\n } else {\n const disciplines: Array = tempdata.data_bundle?.students?.[0].disciplines;\n if (disciplines.indexOf(vak.id) == -1) {\n disciplines.push(vak.id);\n } else {\n const index = tempdata.data_bundle.students?.[0].disciplines.indexOf(vak.id);\n tempdata.data_bundle.students[0].disciplines.splice(index, 1);\n }\n }\n setData(tempdata);\n };\n\n const returnGrade = () => {\n const items = [];\n let years;\n switch (data.data_bundle.students?.[0]?.school_level) {\n case 'basisschool':\n years = 8;\n break;\n case 'vmbo':\n years = 4;\n break;\n case 'vmbo-tl':\n years = 4;\n break;\n case 'vmbo-kader':\n years = 4;\n break;\n case 'vmbo-basis':\n years = 4;\n break;\n case 'havo':\n years = 5;\n break;\n case 'vwo':\n years = 6;\n break;\n case 'gymnasium':\n years = 6;\n break;\n case 'mbo':\n years = 4;\n break;\n case 'hbo':\n years = 4;\n break;\n case 'wo':\n years = 4;\n break;\n default:\n years = 8;\n break;\n }\n for (let i = 1; i <= years; i++) {\n items.push(\n setLeerjaar(i)} value={i}>\n {i}\n \n );\n }\n\n return items;\n };\n\n const schoolVakkenRadio = (vakken: BaseDiscipline[]) => {\n return (\n \n {vakken.map((vak: BaseDiscipline) => {\n if (data.data_bundle.students?.[0].school_level === 'basisschool') {\n if (vak.is_primary_school) {\n return (\n \n setVak(vak)}\n />\n }\n label={\n \n {vak.name}\n \n }\n sx={{ width: { xs: '100%', sm: 'auto' } }}\n />\n \n );\n }\n } else {\n if (!vak.is_primary_school) {\n return (\n \n setVak(vak)}\n />\n }\n label={\n \n {vak.name}\n \n }\n sx={{ width: { xs: '100%', sm: 'auto' } }}\n />\n \n );\n }\n }\n })}\n \n );\n };\n\n return (\n
\n \n \n \n \n \n \n \n \n \n \n \n \n setNiveau(e.target.value)}>\n {Object.keys(SchoolLevelEnum_Output).map(school_level => (\n \n {school_level.toLowerCase().replace('_', ' ')}\n \n ))}\n \n \n \n \n \n \n \n \n \n \n \n {returnGrade()}\n \n \n \n \n \n \n {data.data_bundle.students?.[0].school_year &&\n data.data_bundle.students?.[0].school_level && (\n \n \n \n )}\n \n \n \n \n {data.data_bundle.students?.[0].school_year &&\n data.data_bundle.students?.[0].school_level && (\n \n \n \n \n {subjects && schoolVakkenRadio(subjects)}\n \n \n \n \n )}\n \n \n \n \n \n \n \n
\n );\n};\n\nexport default SubjectPage;\n","export const SWPackages = [\n {\n title: 'Mini pakket',\n price: 31,\n discount: 64,\n hours: 16,\n maxScore: 5,\n selected: false,\n advice: false,\n displayMatch: true,\n priority: 3,\n },\n {\n title: 'Succes pakket',\n price: 28,\n discount: 168,\n hours: 24,\n minScore: 5,\n maxScore: 19,\n selected: false,\n advice: false,\n displayMatch: true,\n priority: 1,\n },\n {\n title: 'Succes plus pakket',\n price: 24,\n discount: 440,\n hours: 40,\n minScore: 19,\n selected: false,\n advice: false,\n displayMatch: true,\n priority: 2,\n },\n {\n title: 'Losse les',\n price: 35,\n discount: 0,\n hours: 1,\n minScore: 0,\n selected: false,\n advice: false,\n displayMatch: true,\n priority: 4,\n },\n];\nexport const OBPackages = [\n {\n title: 'Klein pakket',\n price: 30,\n discount: 90,\n hours: 15,\n maxScore: 5,\n selected: false,\n advice: false,\n displayMatch: true,\n priority: 3,\n },\n {\n title: 'Middel pakket',\n price: 27,\n discount: 216,\n hours: 24,\n minScore: 5,\n maxScore: 19,\n selected: false,\n advice: false,\n displayMatch: true,\n priority: 1,\n },\n {\n title: 'Groot pakket',\n price: 23,\n discount: 494,\n hours: 38,\n minScore: 19,\n selected: false,\n advice: false,\n displayMatch: true,\n priority: 2,\n },\n {\n title: 'Losse les',\n price: 36,\n hours: 1,\n minScore: 0,\n selected: false,\n advice: false,\n displayMatch: true,\n priority: 4,\n },\n];\nexport const VBPackages = [\n {\n title: 'Losse les',\n price: 24,\n hours: 1,\n maxScore: 5,\n selected: false,\n noMatch: true,\n advice: true,\n priority: 3,\n },\n {\n title: 'Strippenkaart klein',\n price: 30,\n discount: 48,\n hours: 12,\n minScore: 5,\n maxScore: 11,\n selected: false,\n noMatch: true,\n advice: true,\n priority: 2,\n },\n {\n title: 'Strippenkaart groot',\n price: 28,\n discount: 144,\n hours: 24,\n minScore: 11,\n selected: false,\n noMatch: true,\n advice: true,\n priority: 1,\n },\n];\n\nexport const BEUPackages = [\n {\n title: 'Losse les',\n price: 34,\n hours: 1,\n maxScore: 5,\n selected: false,\n noMatch: true,\n advice: true,\n priority: 3,\n },\n {\n title: 'Strippenkaart klein',\n price: 30,\n discount: 48,\n hours: 12,\n minScore: 5,\n maxScore: 11,\n selected: false,\n noMatch: true,\n advice: true,\n priority: 2,\n },\n {\n title: 'Strippenkaart groot',\n price: 28,\n discount: 144,\n hours: 24,\n minScore: 1,\n selected: false,\n noMatch: true,\n advice: true,\n priority: 1,\n },\n];\n","import React from 'react';\n\nimport MailIcon from '@mui/icons-material/Mail';\nimport PhoneIcon from '@mui/icons-material/Phone';\nimport { Card, CardContent, CardHeader, Grid, Typography } from '@mui/material';\nimport moment from 'moment';\n\nimport { BaseDiscipline } from 'assets/api';\nimport { Button } from 'components/Elements/Forms/Inputs';\nimport AvailabilityGrid_V2 from 'components/Functional/Availability/AvailabilityGrid_V2';\n\nimport { IExtendedBundleIn, IFlowPageProps, IPackage } from '..';\n\ninterface SummaryDesktop extends IFlowPageProps {\n bundle: IExtendedBundleIn;\n setBundle: (bundle: IExtendedBundleIn) => void;\n vakken: BaseDiscipline[] | undefined;\n package?: IPackage[];\n phone: string;\n email: string;\n}\n\nconst SummaryDesktop: React.FunctionComponent = ({\n bundle,\n vakken,\n phone,\n email,\n}) => {\n const calculateHeight = (): string => {\n const el = document.getElementById('info')?.offsetHeight;\n\n // el = el!-20\n return el + 'px';\n };\n\n const getDisiplinesNames = (disipline: number): string => {\n let name = '';\n const vak = vakken?.find(vak => vak.id === disipline);\n if (vak) {\n name = vak?.name;\n }\n\n return name;\n };\n\n return (\n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n Voornaam:\n \n \n {bundle.data_bundle.students?.[0].first_name}\n \n\n \n Achternaam:\n \n \n {bundle.data_bundle.students?.[0].last_name}\n \n\n \n Geboortedatum:\n \n \n \n {moment(bundle.data_bundle.students?.[0].date_of_birth).format(\n 'DD-MM-yyyy'\n )}\n \n \n\n \n Geslacht:\n \n \n {bundle.data_bundle.students?.[0].gender}\n \n\n \n Locatievoorkeur:\n \n \n \n {bundle.data_bundle.students?.[0].online_tutoring ? 'Aan huis' : 'Online'}\n \n \n\n \n Schoolniveau:\n \n \n {bundle.data_bundle.students?.[0].school_level}\n \n\n \n Leerjaar:\n \n \n {bundle.data_bundle.students?.[0].school_year}\n \n\n \n Vakken:\n \n \n \n {bundle.data_bundle.students?.[0].disciplines.map(\n (discipline: number) => {\n return (\n \n {getDisiplinesNames(discipline)}\n \n );\n }\n )}\n \n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n Voornaam:\n \n \n {bundle.data_bundle.first_name}\n \n\n \n Achternaam:\n \n \n {bundle.data_bundle.last_name}\n \n\n \n E-mail:\n \n \n {bundle.data_bundle.email_address}\n \n\n \n Telefoon:\n \n \n {bundle.data_bundle.phone_number}\n \n\n {/* \n Pakket:\n \n \n {bundle.data_bundle.package}\n \n\n \n Betaal-methode:\n \n \n \n {bundle.data_bundle.payment_method\n ? bundle.data_bundle.payment_method === 'achteraf'\n ? 'Losse factuur'\n : bundle.data_bundle.payment_method\n : 'Wij nemen contact met u op voor uw abonnementskeuze!'}\n \n \n\n \n IBAN:\n \n \n {bundle.data_bundle.iban}\n \n\n \n Termijn:\n \n \n {bundle.data_bundle.term}\n */}\n \n \n \n \n \n \n\n \n \n \n \n {/* */}\n\n {/* { }}\n onDelete={() => { }}\n disabled={true}\n /> */}\n\n \n \n \n \n\n \n \n \n \n \n\n \n }\n href={'tel:' + phone}\n sx={{ backgroundColor: '#f5f5f5' }}>\n {phone}\n \n \n \n }\n href={'mailto:' + email}\n sx={{ backgroundColor: '#f5f5f5' }}>\n {email}\n \n \n \n \n \n );\n};\n\nexport default SummaryDesktop;\n","import React, { useState } from 'react';\nimport './Summary.css';\n\nimport MailIcon from '@mui/icons-material/Mail';\nimport PhoneIcon from '@mui/icons-material/Phone';\nimport { Grid, Typography } from '@mui/material';\nimport Divider from '@mui/material/Divider';\nimport { Box } from '@mui/system';\nimport TagManager from 'react-gtm-module';\n\nimport { appClient } from 'App';\nimport { BaseDiscipline } from 'assets/api';\nimport { Button } from 'components/Elements/Forms/Inputs';\nimport AvailabilityGrid_V2 from 'components/Functional/Availability/AvailabilityGrid_V2';\nimport { useWidth } from 'functions/Hooks/useDeviceDetect';\nimport useLabel from 'functions/Hooks/useLabel';\n\nimport { IBundleFlowPageProps, IPackage } from '..';\nimport { BEUPackages, OBPackages, SWPackages, VBPackages } from './Models/packages';\nimport SummaryDesktop from '../Components/SummaryDesktop';\n\nconst SummaryPage: React.FunctionComponent = ({ bundle, setBundle }) => {\n const label = useLabel();\n const currentWidth = useWidth();\n const [vakken, setVakken] = useState();\n const [packages, setPackages] = useState();\n const [phone, setPhone] = useState('');\n const [email, setEmail] = useState('');\n\n React.useEffect(() => {\n switch (label?.name.toLowerCase()) {\n case 'studyworks':\n setPhone('030-7440538');\n setEmail('info@studyworks.nl');\n break;\n case 'online-bijles.com':\n setPhone('06-40344017');\n setEmail('info@online-bijles.com');\n break;\n case 'vlakbijles':\n setPhone('088-1155630');\n setEmail('vlakbijles@studyworks.nl');\n break;\n case 'online-examentraining.com':\n setPhone('06-40213409');\n setEmail('info@online-examentraining.com');\n break;\n case 'bijles.eu':\n setPhone('06-33818964');\n setEmail('info@bijleseu.nl');\n break;\n default:\n setPhone('030 744 05 38');\n setEmail('info@studyworks.nl');\n break;\n }\n }, [phone, email]);\n const tagManagerArgs = {\n dataLayer: {\n page: 'summary',\n data: bundle,\n },\n dataLayerName: 'PageDataLayer',\n };\n\n TagManager.dataLayer(tagManagerArgs);\n\n const handleNext = (event: any) => {\n event.detail();\n };\n\n React.useEffect(() => {\n /**TODO: white label packages */\n if (!packages) {\n if (label?.name) {\n switch (label.name.toLowerCase()) {\n case 'studyworks':\n setPackages(SWPackages);\n break;\n case 'bijles.eu':\n setPackages(BEUPackages);\n break;\n case 'online-bijles.com':\n setPackages(OBPackages);\n break;\n case 'vlakbijles':\n setPackages(VBPackages);\n break;\n }\n } else {\n setPackages(SWPackages);\n }\n }\n }, [packages]);\n\n React.useEffect(() => {\n if (!vakken) {\n appClient.lessons.getLessonsViewDisciplines().then(r => {\n if (r !== null) {\n setVakken(r);\n }\n });\n }\n }, [vakken]);\n\n React.useEffect(() => {\n document.addEventListener('onNext', handleNext);\n\n return () => {\n document.removeEventListener('onNext', handleNext);\n };\n }, [bundle]);\n\n const getDisiplinesNames = (disipline: number): string => {\n let name = '';\n const vak = vakken?.find(vak => vak.id === disipline);\n if (vak) {\n name = vak?.name;\n }\n\n return name;\n };\n\n type LIProps = {\n a: string;\n b: string;\n };\n const ListItemSUMM = ({ a, b }: LIProps): JSX.Element => {\n return (\n <>\n \n \n {a}\n \n \n \n {b}\n \n \n );\n };\n\n const splitMail = (value: string): string => {\n const split = value.split('@');\n\n return split[0] + '@' + split[1];\n };\n\n return currentWidth === 'xs' ? (\n \n \n \n \n Bedankt voor uw aanmelding!\n \n \n Uw aanmelding is compleet. U krijgt zo een bevestigsmail met daarin een uitnodigingslink\n voor onze online omgeving. Wij gaan zo snel mogenlijk voor u aan de slag. Indien u nog\n vragen heeft kunt u ons altijd contact met ons opnemen.\n \n \n \n \n \n \n Gegevens van uw kind\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n getDisiplinesNames(discipline))\n .join(', ')}\n />\n \n \n \n \n\n \n \n \n \n Uw gegevens\n \n \n \n \n \n \n \n \n \n \n \n \n \n {bundle.data_bundle.payment_method == 'incasso' && (\n \n )}\n \n \n \n \n \n \n \n \n \n \n \n Beschikbaarheid\n \n \n {/* \n { }}\n onDelete={() => { }}\n disabled={true}\n />\n */}\n\n \n \n \n \n \n \n Nog vragen?\n \n \n \n }\n href={'tel:' + phone}\n sx={{ backgroundColor: '#f5f5f5' }}>\n {phone}\n \n \n\n \n }\n href={'mailto:' + email}\n sx={{ backgroundColor: '#f5f5f5' }}>\n {email}\n \n \n \n \n \n \n ) : (\n \n );\n};\n\nexport default SummaryPage;\n","import React, { useState } from 'react';\n\nimport { Card, CardContent, CardHeader, Grid, Typography } from '@mui/material';\n\ninterface ThankYouPageProps {}\n\nconst ThankYouPage: React.FunctionComponent = () => {\n const [isTransfered, setIsTransfered] = useState(false);\n\n //TODO: Dit wordt nu elke rerender afgevuurd\n React.useEffect(() => {\n if (!isTransfered) {\n // appClient.stubs\n setIsTransfered(true);\n }\n });\n\n return (\n \n \n \n \n Wij nemen zo spoedig mogelijk contact met u op.\n \n \n \n );\n};\n\nexport default ThankYouPage;\n","import InformationPage from './Pages/InformationPage';\nimport LessonPrefrences from './Pages/LessonPreferences';\nimport PersonalAdvice from './Pages/PersonalAdvice';\nimport SchedulePage from './Pages/SchedulePage';\nimport SubjectPage from './Pages/SubjectsPage';\nimport SummaryPage from './Pages/SummaryPage';\n\nconst flowroutes = [\n {\n title: 'Algemene gegevens',\n Component: InformationPage,\n url: '/Algemenegegevens',\n to: '/Schoolgegevens',\n index: 0,\n },\n {\n title: 'Schoolgegevens',\n Component: SubjectPage,\n url: '/Schoolgegevens',\n to: '/Beschikbaarheid',\n index: 1,\n },\n {\n title: 'Beschikbaarheid',\n Component: SchedulePage,\n isTransfering: true,\n url: '/Beschikbaarheid',\n to: '/Bijlesadvies',\n index: 2,\n },\n {\n title: 'Bijles advies',\n Component: LessonPrefrences,\n url: '/Bijlesadvies',\n to: '/Persoonlijkadvies',\n index: 3,\n },\n {\n title: 'Persoonlijk advies',\n Component: PersonalAdvice,\n url: '/Persoonlijkadvies',\n to: '/Samenvatting',\n index: 4,\n },\n // {\n // title: 'Betaalmethode',\n // Component: PaymentMethodPageOld,\n // isFinalizing: true,\n // url: '/Betaalmethode',\n // to: '/Samenvatting',\n // index: 5,\n // },\n {\n title: 'Samenvatting',\n Component: SummaryPage,\n url: '/Samenvatting',\n },\n];\n\nexport default flowroutes;\n","import * as React from 'react';\nimport { FunctionComponent, useState } from 'react';\n\nimport { Check } from '@mui/icons-material';\nimport {\n AppBar,\n Box,\n CardHeader,\n CircularProgress,\n Container,\n Grid,\n LinearProgress,\n Typography,\n} from '@mui/material';\nimport { useTheme } from '@mui/styles';\nimport { useSnackbar } from 'notistack';\nimport TagManager, { TagManagerArgs } from 'react-gtm-module';\nimport { Route, Switch, useHistory, useParams } from 'react-router-dom';\n\nimport { appClient } from 'App';\nimport { BaseStub, BundleIn, SecretKeyType, StubIn, StubType, UserIn } from 'assets/api';\nimport BEUBanner from 'assets/img/brand/BEU_header_COREcontainer.jpg';\nimport SWLogo from 'assets/img/brand/logo-text-dark.svg';\nimport OBLogo from 'assets/img/brand/LOGO_OB.png';\nimport BEULogo from 'assets/img/brand/LogoBijlesEU.png';\nimport OBBanner from 'assets/img/brand/OB_header_COREcontainer.jpg';\nimport OELogo from 'assets/img/brand/OE_logo.png';\nimport SWBanner from 'assets/img/brand/Oudercontainer_header.png';\nimport VBLBanner from 'assets/img/brand/VBL_header_COREcontainer.jpg';\nimport VBLLogo from 'assets/img/brand/VlakbijlesLogo.png';\nimport ProgressSpinner from 'components/Elements/ProgressSpinner';\nimport { useWidth } from 'functions/Hooks/useDeviceDetect';\nimport useLabel from 'functions/Hooks/useLabel';\n\nimport FooterButtons from './Components/FooterButtons';\nimport PackageModal from './Components/PackageModal';\nimport PaymentModal from './Components/PaymentModal';\nimport { GuardianContextProvider } from './Hooks/useGuardian';\nimport { ProductsContextProvider } from './Hooks/useProduct';\nimport InformationPage from './Pages/InformationPage';\nimport LessonPrefrences from './Pages/LessonPreferences';\n// import PaymentMethodPage from './Pages/PaymentMethodPage';\nimport PaymentMethodPageOld from './Pages/PaymentMethodPageOld';\nimport PersonalAdvice from './Pages/PersonalAdvice';\nimport SchedulePage from './Pages/SchedulePage';\nimport SubjectPage from './Pages/SubjectsPage';\nimport SummaryPage from './Pages/SummaryPage';\nimport ThankYouPage from './Pages/ThankYouPage';\nimport flowroutes from './routes';\n\ntype ComponentType = FunctionComponent<{\n setIsTransfering?: React.Dispatch> | undefined;\n isTransfering?: boolean;\n data?: BaseStub;\n currentIndex?: number;\n setCurrentIndex?: (value: number) => void;\n setData?: React.Dispatch>;\n setMailExist?: (value: boolean) => void;\n payLater?: boolean;\n setPayLater?: (value: boolean) => void;\n skipAdvice?: boolean;\n setSkipAdvice?: (value: boolean) => void;\n skipPackage?: boolean;\n setSkipPackage?: (value: boolean) => void;\n skipPayment?: boolean;\n setSkipPayment?: (value: boolean) => void;\n}>;\n\ninterface IPage {\n title: string;\n Component: ComponentType;\n toPipe?: number;\n isTransfering?: boolean;\n isFinalizing?: boolean;\n thankYouPage?: boolean;\n url?: string;\n to?: string;\n index?: number;\n}\n\nexport interface IPackage {\n title?: string;\n price?: number;\n discount?: number;\n hours?: number;\n minScore?: number;\n maxScore?: number;\n selected?: boolean;\n displayMatch?: boolean;\n priority?: number;\n}\n\nexport interface IBundleFlowPageProps extends IFlowPageProps {\n bundle: IExtendedBundleIn;\n setBundle: (bundle: IExtendedBundleIn) => void;\n}\n\nexport interface IFlowPageProps {\n currentIndex?: number;\n setCurrentIndex?: (value: number) => void;\n setMailExist?: (value: boolean) => void;\n payLater?: boolean;\n setPayLater?: (value: boolean) => void;\n skipAdvice?: boolean;\n setSkipAdvice?: (value: boolean) => void;\n skipPackage?: boolean;\n setSkipPackage?: (value: boolean) => void;\n skipPayment?: boolean;\n setSkipPayment?: (value: boolean) => void;\n}\n\nexport type valueType = string | number | Date | boolean;\n\nexport interface IParam {\n key: string;\n}\n\nconst scrollToRef = () => {\n window.scrollTo(0, document.documentElement.offsetTop);\n};\n\nexport interface IExtendedBundleIn extends BundleIn {\n data_bundle: any;\n}\n\nconst Landing: React.FunctionComponent = () => {\n const { enqueueSnackbar } = useSnackbar();\n const [indexInit, setIndexInit] = useState();\n const [data, setData] = useState();\n const [bundle, setBundle] = useState();\n const { key } = useParams();\n const [secretkey, setSecretkey] = useState();\n const [currentIndex, setCurrentIndex] = useState(0);\n const [currentPage, setCurrentPage] = useState();\n const [trigger, setTrigger] = useState(false);\n const label = useLabel();\n const theme = useTheme();\n\n const [mailExist, setMailExist] = useState(false);\n const [payLater, setPayLater] = useState(false);\n const [skipAdvice, setSkipAdvice] = useState(false); //TODO: dit kan netter\n const [skipPayment, setSkipPayment] = useState(false); //TODO: dit kan netter\n\n const [packageModalOpen, setPackageModalOpen] = useState(false);\n const [paymentModalOpen, setPaymentModalOpen] = useState(false);\n const [maySwitchPage, setMaySwitchPage] = useState(true);\n const history = useHistory();\n const currentWidth = useWidth();\n\n const [pages] = useState(flowroutes as IPage[]);\n // const currentPage = pages[currentIndex];\n let init = false;\n\n const getBaseUrl = (): string => {\n const baseUrl = '/OuderSignUp/' + secretkey;\n\n return baseUrl;\n };\n\n React.useEffect(() => {\n if (!currentPage) {\n setCurrentPage(pages[currentIndex]);\n }\n });\n\n React.useEffect(() => {\n const path = document.location.pathname.split('/');\n const pageObj = pages.find(page => page.url === '/' + path[3]);\n if (pageObj) {\n setCurrentIndex(pageObj?.index as number);\n }\n }, [currentIndex]);\n\n React.useEffect(() => {\n if (label) {\n const tagManagerArgs: TagManagerArgs = {\n gtmId: label?.gtm_id,\n dataLayerName: 'PageDataLayer',\n dataLayer: {\n data: bundle ? bundle : data,\n },\n };\n\n TagManager.initialize(tagManagerArgs);\n setIndexInit(true);\n /** THIS COULD FIX THE DATALAYER URL CHANGE */\n // TagManager.dataLayer(\n // tagManagerArgs\n // )\n }\n }, [label, indexInit]);\n\n React.useEffect(() => {\n document.title = 'Ouderflow';\n });\n\n React.useEffect(() => {\n window.addEventListener('scroll', handleScroll);\n\n return () => {\n window.removeEventListener('scroll', handleScroll);\n };\n }, [trigger]);\n\n React.useEffect(() => {\n setTrigger(false);\n scrollToRef();\n }, [currentPage]);\n\n React.useEffect(() => {\n if (key) {\n setSecretkey(key);\n // history.push(\"/OuderSignUp/\" + key + \"/corebedankt\");\n } else {\n if (!secretkey || secretkey === 'undefined') {\n const data: StubIn = {\n origin: StubType.GUARDIAN,\n label_id: label?.id ? label?.id : 3,\n data_bundle: {},\n comments: 'string',\n };\n appClient.stubs\n .postStubsCreateStub(data)\n .then(res => {\n if (res.secret_key) {\n setSecretkey(res.secret_key);\n // history.push(\"/OuderSignUp/\" + res.secret_key);\n history.push('/OuderSignUp/' + res.secret_key + '/Algemenegegevens');\n }\n })\n .catch(() => {});\n }\n }\n }, [secretkey, label]);\n\n React.useEffect(() => {\n if (!init && secretkey) {\n appClient.stubs.getStubsGetSecretKeyType(secretkey).then((r: SecretKeyType) => {\n if (r.type === 'guardian') {\n history.push(getBaseUrl() + '/Bijlesadvies');\n\n const pageObj = pages.find(page => page.url === '/Bijlesadvies');\n if (pageObj) {\n setCurrentIndex(pageObj?.index as number);\n }\n } else {\n appClient.stubs.getStubsReadStub(secretkey).then(r => {\n setData(r);\n });\n history.push(getBaseUrl() + '/Algemenegegevens');\n }\n init = true;\n });\n }\n }, [secretkey]);\n\n const handleScroll = () => {\n const scrolled = document.documentElement.scrollTop;\n if (scrolled > 75 && !trigger) setTrigger(true);\n if (scrolled < 75 && trigger) setTrigger(false);\n };\n\n const whiteLabelBanner = () => {\n if (label?.name) {\n switch (label.name.toLowerCase()) {\n case 'studyworks':\n return SWBanner;\n case 'bijles.eu':\n return BEUBanner;\n case 'online-bijles.com':\n return OBBanner;\n case 'online-examentraining.com':\n return OBBanner;\n case 'vlakbijles':\n return VBLBanner;\n }\n } else {\n return SWBanner;\n }\n };\n\n const whiteLabelLogo = () => {\n if (label?.name) {\n switch (label.name.toLowerCase()) {\n case 'studyworks':\n return SWLogo;\n case 'bijles.eu':\n return BEULogo;\n case 'online-bijles.com':\n return OBLogo;\n case 'online-bijles':\n return OBLogo;\n case 'online-examentraining':\n return OELogo;\n case 'vlakbijles':\n return VBLLogo;\n }\n } else {\n return SWLogo;\n }\n };\n\n const updateStub = async () => {\n if (secretkey && data) {\n await appClient.stubs\n .postStubsUpdateStub(secretkey, { data_bundle: data.data_bundle })\n .then(() => {\n setMaySwitchPage(true);\n })\n .catch((e: any) => {\n if (e.status === 422) {\n setMaySwitchPage(true); // needs to be false\n // enqueueSnackbar('Uw postcode lijkt niet te kloppen, kunt u deze controleren?', {\n // variant: 'error',\n // });\n }\n });\n }\n\n return maySwitchPage;\n };\n\n const changePipe = async () => {\n if (currentPage) {\n if (currentPage.toPipe && secretkey) {\n await appClient.stubs.postStubsChangePipeSimple(secretkey, currentPage.toPipe);\n }\n }\n };\n\n const transferStub = async () => {\n const body: UserIn = {\n first_name: data?.data_bundle.first_name,\n last_name: data?.data_bundle.last_name,\n email_address: data?.data_bundle.email_address,\n };\n\n await appClient.stubs.patchStubsTransferStub(key, body);\n };\n\n const handleNext = async () => {\n setSkipAdvice(false);\n setSkipPayment(false);\n\n /**TODO: this needs to be in schedulepage bit is not working there */\n if (pages[currentIndex].title === 'Beschikbaarheid') {\n if (\n data?.data_bundle.students[0].availability === undefined ||\n data.data_bundle.students[0].availability.length < 1\n ) {\n enqueueSnackbar('Geef a.u.b. uw beschikbaarheid op.', { variant: 'error' });\n\n return;\n }\n\n if (data?.data_bundle.students[0].start_date === undefined) {\n enqueueSnackbar('Geef a.u.b. een datum op wanneer u wenst te starten.', {\n variant: 'error',\n });\n\n return;\n }\n\n const tempdata = { ...data };\n if (tempdata.data_bundle.students[0].online_tutoring === undefined) {\n tempdata.data_bundle.students[0].online_tutoring = false;\n }\n // tempdata.data_bundle.students[0].start_date = selectedDate;\n setData(tempdata);\n }\n\n if (mailExist) {\n setCurrentIndex(5);\n } else {\n if (secretkey) {\n if (pages[currentIndex].isTransfering) {\n history.push(getBaseUrl() + pages[currentIndex].to);\n setBundle({\n iban: '',\n payment_method: '',\n bundle: '',\n terms: 0,\n accept_incasso: false,\n data_bundle: data?.data_bundle,\n });\n\n await updateStub();\n await transferStub();\n } else if (pages[currentIndex].isFinalizing) {\n if (bundle) {\n if (bundle?.data_bundle.iban) {\n bundle.iban = bundle?.data_bundle.iban;\n } else {\n bundle.iban = '';\n }\n bundle.payment_method = bundle.data_bundle.payment_method;\n if (bundle.data_bundle.payment_method === 'incasso') {\n bundle.accept_incasso = true;\n } else {\n bundle.accept_incasso = false;\n }\n bundle.bundle = bundle.data_bundle.package;\n if (bundle.data_bundle.term) {\n bundle.terms = bundle.data_bundle.term;\n } else {\n bundle.terms = 0;\n }\n\n if (bundle.data_bundle.payment_method === 'incasso') {\n if (bundle.data_bundle.iban) {\n const r = await fetch(\n 'https://openiban.com/validate/' +\n bundle.data_bundle.iban +\n '?getBIC=true&validateBankCode=true'\n ).then(r => {\n return r.json();\n });\n if (r.valid === true) {\n appClient.guardians.postGuardiansSelectBundle(secretkey, bundle);\n }\n }\n } else if (bundle.data_bundle.payment_method === 'achteraf') {\n appClient.guardians.postGuardiansSelectBundle(secretkey, bundle);\n }\n }\n } else {\n if (!bundle) {\n changePipe();\n updateStub();\n }\n }\n\n if (maySwitchPage) {\n const event: CustomEvent = new CustomEvent('onNext', {\n detail: () => {\n setCurrentIndex(currentIndex + 1);\n setCurrentPage(pages[currentIndex + 1]);\n history.push(getBaseUrl() + pages[currentIndex].to);\n },\n });\n\n await document.dispatchEvent(event);\n }\n }\n }\n };\n\n const handlePref = () => {\n setSkipAdvice(false);\n setSkipPayment(false);\n setPayLater(false);\n setCurrentIndex(currentIndex - 1);\n history.push(getBaseUrl() + pages[currentIndex - 1].url);\n };\n\n const handlePackageModalClose = () => {\n setPackageModalOpen(false);\n\n setCurrentIndex(currentIndex + 1);\n setCurrentPage(pages[currentIndex + 1]);\n history.push(getBaseUrl() + pages[currentIndex].to);\n };\n\n const handlePaymentModalClose = () => {\n setPaymentModalOpen(false);\n\n setCurrentIndex(currentIndex + 1);\n setCurrentPage(pages[currentIndex + 1]);\n history.push(getBaseUrl() + pages[currentIndex].to);\n };\n\n const baseUrl = '/OuderSignUp/' + secretkey;\n\n return (\n \n \n
\n \n \n \n \n \n \n \n \n\n \n \n \n \n {currentPage && currentPage.title === 'Samenvatting' ? (\n \n \n \n \n \n \n \n \n ) : (\n \n )}\n
\n }\n />\n \n \n \n \n\n \n \n \n \n \n {data ? (\n mailExist ? (\n \n ) : bundle ? (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n ) : (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n )\n ) : (\n \n )}\n \n \n\n \n {!mailExist && (\n \n {currentPage?.title != 'Samenvatting' && (\n \n )}\n \n )}\n \n \n \n\n {bundle && (\n <>\n setPackageModalOpen(false)}\n handlePrimaryButton={handlePackageModalClose}\n selectedPackage={bundle.data_bundle.package}\n />\n\n setPaymentModalOpen(false)}\n handlePrimaryButton={handlePaymentModalClose}\n paymentMethod={bundle.data_bundle.payment_method}\n />\n \n )}\n \n
\n \n \n );\n};\n\nexport default Landing;\n","import { useEffect, useState } from 'react';\n\nimport { Box, Grid, Typography } from '@mui/material';\nimport { t } from 'i18n';\nimport Lottie from 'lottie-react';\n\nimport logoSW from 'assets/img/brand/logo-studyworks-origineel1.png';\nimport logoOB from 'assets/img/brand/LOGO_OB.png';\nimport logoBEU from 'assets/img/brand/LogoBijlesEU.png';\nimport logoVBL from 'assets/img/brand/VlakbijlesLogo.png';\nimport useLabel from 'functions/Hooks/useLabel';\nimport { LottieJson } from 'theme-constants';\n\nconst Maintenance = () => {\n const label = useLabel();\n const [logo, setLogo] = useState();\n const [height, setHeight] = useState();\n\n /** Set states (logo, margin and height) for the logo based on label */\n useEffect(() => {\n if (label) {\n switch (label?.name) {\n case 'StudyWorks':\n setLogo(logoSW);\n setHeight('30px');\n break;\n case 'VlakBijles':\n setLogo(logoVBL);\n setHeight('80px');\n break;\n case 'bijleseu.nl':\n setLogo(logoBEU);\n setHeight('80px');\n break;\n case 'Bijles.EU':\n setLogo(logoBEU);\n setHeight('60px');\n break;\n case 'Online-Bijles.com':\n setLogo(logoOB);\n setHeight('80px');\n break;\n default:\n break;\n }\n }\n }, [label]);\n\n return (\n \n \n \n \n \n \n {t('translation.maintenance.title')}\n \n \n {t('translation.maintenance.text')}\n \n \n \n \n \n \n \n \n );\n};\n\nexport default Maintenance;\n","import React, { useContext, useState } from 'react';\n\nimport { OrderWithPaymentInformation } from 'assets/api';\n\ninterface IPaymentStateProviderProps {\n children: React.ReactNode;\n}\n\ninterface IPaymnetStateContexProps {\n state: OrderWithPaymentInformation | undefined;\n setState: React.Dispatch>;\n}\n\nexport const PaymentStateContex = React.createContext(null);\n\n/** Hook for transfer the payment stage between pages */\nexport const PaymentStateProvider: React.FC = ({ children }) => {\n const [state, setState] = useState();\n\n return (\n \n {children}\n \n );\n};\n\nexport const usePaymentStateContext = () => {\n const context = useContext(PaymentStateContex);\n if (!context) {\n throw new Error('useNavContext must be used within a NavContextProvider');\n }\n\n return context;\n};\n\nexport default usePaymentStateContext;\n","import React, { useEffect, useState } from 'react';\n\nimport 'moment/locale/nl';\nimport { LinearProgress } from '@mui/material';\nimport { createTheme, ThemeProvider } from '@mui/material/styles';\nimport createPalette from '@mui/material/styles/createPalette';\nimport createTypography from '@mui/material/styles/createTypography';\nimport { QueryClient, QueryClientProvider } from '@tanstack/react-query';\n// import axios, { AxiosError, AxiosRequestConfig, AxiosResponse } from 'axios';\nimport EventEmitter from 'events';\nimport moment from 'moment';\nimport { SnackbarProvider } from 'notistack';\nimport { HashRouter, Redirect, Route, Switch, useHistory } from 'react-router-dom';\n\nimport { AppClient, RegularUserWithGroupsAndTypes } from 'assets/api';\nimport { WrapperClient } from 'assets/api/WrapperClient';\nimport CustomModal from 'components/Templates/Pages/CustomModal';\nimport { useWidth } from 'functions/Hooks/useDeviceDetect';\nimport useLabel from 'functions/Hooks/useLabel';\nimport { NavContextProvider } from 'functions/Hooks/useNav';\nimport { ProductStoreContextProvider } from 'functions/Hooks/useProductsStore';\nimport ChangePassword from 'views/Pages/Authorization/ChangePassword/ChangePassword';\nimport CreatePassword from 'views/Pages/Authorization/CreatePassword/CreatePassword';\nimport Login from 'views/Pages/Authorization/Login/Login';\nimport Reset from 'views/Pages/Authorization/Reset/Reset';\nimport CoachJobPage from 'views/Pages/Flows/JobFlowCoach';\nimport ProviderJobPage from 'views/Pages/Flows/JobFlowProvider';\nimport Landing from 'views/Pages/Flows/LandingFlow';\nimport SignUpFlowCoaches from 'views/Pages/Flows/SignupFlowCoaches';\nimport SignUpFlowGuardians from 'views/Pages/Flows/SignupFlowGuardian';\nimport Maintenance from 'views/Pages/Maintenance/Maintenance';\nimport InvoicePaymentPage from 'views/PortalShared/CollectionPayment/CollectionPaymentPage';\nimport CollectionPaymentPage from 'views/PortalShared/InvoicePayment/InvoicePaymentPage';\nimport PaymentStatusPage from 'views/PortalShared/Payment/Components/PaymentStatusPage/PaymentStatusPage';\nimport { PaymentStateProvider } from 'views/PortalShared/Payment/hooks/usePaymentState';\n\nimport useUser from './functions/Hooks/useUser';\nimport standardTheme, { font, palette, typography } from './theme';\n\nexport const appClient = new AppClient({}, WrapperClient);\nexport const emitter = new EventEmitter();\n\nconst loading = () => ;\n\n// Containers\nconst DefaultLayout = React.lazy(() => import('./components/Functional/Containers/DefaultLayout'));\n\n// Pages\nconst Page404 = React.lazy(() => import('./views/Pages/Page404/Page404'));\nconst Page500 = React.lazy(() => import('./views/Pages/Page500/Page500'));\n\nfunction App() {\n const { jwt, getUser } = useUser();\n const history = useHistory();\n const [theme, setTheme] = useState(standardTheme);\n const currentLabel = useLabel();\n const prevMonth = moment().subtract(1, 'months');\n const currentWidth = useWidth();\n const queryClient = new QueryClient();\n\n const mobile = currentWidth === 'xs';\n\n useEffect(() => {\n emitter.on('maintenance', () => {\n history.push('/Maintenance');\n });\n }, []);\n\n const checkUnaccorded = (user: RegularUserWithGroupsAndTypes) => {\n if (user && user?.coach !== null && user?.coach !== undefined) {\n appClient.coaches\n .getCoachesViewCoachToAccord(user.coach.id, prevMonth.year(), prevMonth.month() + 1, true)\n .then(lessonSchema => {\n if (lessonSchema.length > 0) {\n history.push('../#/FinancienCoach');\n } else {\n history.push('../#/Dashboard');\n }\n })\n .catch(e => {\n if (e.status === 406) {\n history.push('../#/FinancienCoach');\n } else {\n history.push('../#/Dashboard');\n }\n });\n } else {\n history.push('../#/Dashboard');\n }\n };\n\n //Check if a user is authenticated and redirect to the correct page\n const checkIfAuthenticated = () => {\n if (jwt() && getUser) {\n getUser()\n .then(userData => {\n switch (userData.first_landing_status) {\n case 'legacy':\n history.push('/Landing');\n break;\n default: {\n //Redirect to the page the user has visited before logging out in a different way than clicking \"log out\"\n const href = window.location.href.toLocaleLowerCase();\n if (href.includes('redirectto=')) {\n const hrefSplit = href.split('redirectto=');\n //Redirect to dashboard if redirectTo is empty\n if (hrefSplit[1] == '#/') {\n history.push('../#/Dashboard');\n } else {\n history.push(`../${hrefSplit[1]}`);\n }\n } else if (window.location.href.toLocaleLowerCase().includes('login')) {\n checkUnaccorded(userData);\n }\n break;\n }\n }\n })\n .catch(r => {\n if (r.status == 404) {\n history.push('../400');\n } else if (r.status >= 500 && r.status < 600) {\n history.push('../500');\n }\n });\n }\n };\n\n useEffect(() => {\n if (history) checkIfAuthenticated();\n }, [history]);\n\n //Changes theme based on label and screen size\n React.useLayoutEffect(() => {\n let paletteTemp = palette;\n let typographyTemp = typography;\n\n //Change theme based on label\n if (currentLabel) {\n //Colour scheme\n paletteTemp = createPalette({\n primary: {\n main: currentLabel.main_color as string,\n light: currentLabel.light_color as string,\n dark: currentLabel.dark_color as string,\n contrastText: currentLabel.contrast_color as string,\n },\n });\n\n //Document title, logo\n document.title = currentLabel?.name + ' portaal';\n if (document.getElementById('favicon')) {\n (document.getElementById('favicon') as unknown as { href: string }).href =\n process.env.REACT_APP_PROFILEPHOTOBUCKET + '/' + currentLabel?.logo;\n }\n\n //tags\n const tagManager = document.getElementById('googletagmanager');\n tagManager?.append(\n ``\n );\n }\n\n //Change font size for mobile\n if (mobile) {\n typographyTemp = createTypography(paletteTemp, {\n fontFamily: font,\n h1: {\n font: 'normal normal bold 20px/26px Source Sans Pro',\n textTransform: 'none',\n },\n h2: {\n font: 'normal normal bold 16px/20px Source Sans Pro',\n textTransform: 'none',\n },\n h3: {\n font: 'normal normal bold 14px/20px Source Sans Pro',\n textTransform: 'none',\n },\n h4: {\n font: 'normal normal normal 14px/20px Source Sans Pro',\n textTransform: 'none',\n },\n h5: {\n font: 'normal normal bold 20px/26px Source Sans Pro',\n textTransform: 'none',\n },\n body1: { font: 'normal normal normal 14px/20px Source Sans Pro' },\n body2: {\n font: 'normal normal normal 14px/20px Source Sans Pro',\n color: paletteTemp.text.secondary,\n },\n button: {\n font: 'normal normal bold 14px/16px Source Sans Pro',\n textTransform: 'none',\n },\n subtitle2: {\n fontFamily: \"'Dancing Script', cursive\",\n fontWeight: '600',\n fontSize: '35px',\n },\n });\n }\n\n //Apply new theme elements\n if (paletteTemp !== palette || typographyTemp !== typography) {\n setTheme(\n createTheme({\n palette: paletteTemp,\n typography: typographyTemp,\n })\n );\n }\n }, [mobile, currentLabel]);\n\n moment.locale('nl');\n\n return (\n \n \n \n \n \n \n \n \n \n } />\n }\n />\n } />\n } />\n } />\n\n } />\n } />\n\n }\n />\n }\n />\n } />\n } />\n } />\n \n } />\n } />\n } />\n } />\n } />\n\n \n \n (\n \n \n \n )}\n />\n \n \n \n \n \n \n \n \n \n );\n}\n\nexport default App;\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\nimport type { ApiRequestOptions } from './ApiRequestOptions';\nimport type { ApiResult } from './ApiResult';\n\nexport class ApiError extends Error {\n public readonly url: string;\n public readonly status: number;\n public readonly statusText: string;\n public readonly body: any;\n public readonly request: ApiRequestOptions;\n\n constructor(request: ApiRequestOptions, response: ApiResult, message: string) {\n super(message);\n\n this.name = 'ApiError';\n this.url = response.url;\n this.status = response.status;\n this.statusText = response.statusText;\n this.body = response.body;\n this.request = request;\n }\n}\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\nimport type { ApiRequestOptions } from './ApiRequestOptions';\nimport type { CancelablePromise } from './CancelablePromise';\nimport type { OpenAPIConfig } from './OpenAPI';\n\nexport abstract class BaseHttpRequest {\n\n constructor(public readonly config: OpenAPIConfig) {}\n\n public abstract request(options: ApiRequestOptions): CancelablePromise;\n}\n","function _classPrivateFieldBase(e, t) {\n if (!{}.hasOwnProperty.call(e, t)) throw new TypeError(\"attempted to use private field on non-instance\");\n return e;\n}\nexport { _classPrivateFieldBase as default };","var id = 0;\nfunction _classPrivateFieldKey(e) {\n return \"__private_\" + id++ + \"_\" + e;\n}\nexport { _classPrivateFieldKey as default };","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\nexport class CancelError extends Error {\n\n constructor(message: string) {\n super(message);\n this.name = 'CancelError';\n }\n\n public get isCancelled(): boolean {\n return true;\n }\n}\n\nexport interface OnCancel {\n readonly isResolved: boolean;\n readonly isRejected: boolean;\n readonly isCancelled: boolean;\n\n (cancelHandler: () => void): void;\n}\n\nexport class CancelablePromise implements Promise {\n #isResolved: boolean;\n #isRejected: boolean;\n #isCancelled: boolean;\n readonly #cancelHandlers: (() => void)[];\n readonly #promise: Promise;\n #resolve?: (value: T | PromiseLike) => void;\n #reject?: (reason?: any) => void;\n\n constructor(\n executor: (\n resolve: (value: T | PromiseLike) => void,\n reject: (reason?: any) => void,\n onCancel: OnCancel\n ) => void\n ) {\n this.#isResolved = false;\n this.#isRejected = false;\n this.#isCancelled = false;\n this.#cancelHandlers = [];\n this.#promise = new Promise((resolve, reject) => {\n this.#resolve = resolve;\n this.#reject = reject;\n\n const onResolve = (value: T | PromiseLike): void => {\n if (this.#isResolved || this.#isRejected || this.#isCancelled) {\n return;\n }\n this.#isResolved = true;\n if (this.#resolve) this.#resolve(value);\n };\n\n const onReject = (reason?: any): void => {\n if (this.#isResolved || this.#isRejected || this.#isCancelled) {\n return;\n }\n this.#isRejected = true;\n if (this.#reject) this.#reject(reason);\n };\n\n const onCancel = (cancelHandler: () => void): void => {\n if (this.#isResolved || this.#isRejected || this.#isCancelled) {\n return;\n }\n this.#cancelHandlers.push(cancelHandler);\n };\n\n Object.defineProperty(onCancel, 'isResolved', {\n get: (): boolean => this.#isResolved,\n });\n\n Object.defineProperty(onCancel, 'isRejected', {\n get: (): boolean => this.#isRejected,\n });\n\n Object.defineProperty(onCancel, 'isCancelled', {\n get: (): boolean => this.#isCancelled,\n });\n\n return executor(onResolve, onReject, onCancel as OnCancel);\n });\n }\n\n get [Symbol.toStringTag]() {\n return \"Cancellable Promise\";\n }\n\n public then(\n onFulfilled?: ((value: T) => TResult1 | PromiseLike) | null,\n onRejected?: ((reason: any) => TResult2 | PromiseLike) | null\n ): Promise {\n return this.#promise.then(onFulfilled, onRejected);\n }\n\n public catch(\n onRejected?: ((reason: any) => TResult | PromiseLike) | null\n ): Promise {\n return this.#promise.catch(onRejected);\n }\n\n public finally(onFinally?: (() => void) | null): Promise {\n return this.#promise.finally(onFinally);\n }\n\n public cancel(): void {\n if (this.#isResolved || this.#isRejected || this.#isCancelled) {\n return;\n }\n this.#isCancelled = true;\n if (this.#cancelHandlers.length) {\n try {\n for (const cancelHandler of this.#cancelHandlers) {\n cancelHandler();\n }\n } catch (error) {\n console.warn('Cancellation threw an error', error);\n return;\n }\n }\n this.#cancelHandlers.length = 0;\n if (this.#reject) this.#reject(new CancelError('Request aborted'));\n }\n\n public get isCancelled(): boolean {\n return this.#isCancelled;\n }\n}\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\nimport axios from 'axios';\nimport type { AxiosError, AxiosRequestConfig, AxiosResponse, AxiosInstance } from 'axios';\nimport FormData from 'form-data';\n\nimport { ApiError } from 'assets/api/core/ApiError';\nimport type { ApiRequestOptions } from 'assets/api/core/ApiRequestOptions';\nimport type { ApiResult } from 'assets/api/core/ApiResult';\nimport { CancelablePromise } from 'assets/api/core/CancelablePromise';\nimport type { OnCancel } from 'assets/api/core/CancelablePromise';\nimport type { OpenAPIConfig } from 'assets/api/core/OpenAPI';\n\nexport const isDefined = (value: T | null | undefined): value is Exclude => {\n return value !== undefined && value !== null;\n};\n\nexport const isString = (value: any): value is string => {\n return typeof value === 'string';\n};\n\nexport const isStringWithValue = (value: any): value is string => {\n return isString(value) && value !== '';\n};\n\nexport const isBlob = (value: any): value is Blob => {\n return (\n typeof value === 'object' &&\n typeof value.type === 'string' &&\n typeof value.stream === 'function' &&\n typeof value.arrayBuffer === 'function' &&\n typeof value.constructor === 'function' &&\n typeof value.constructor.name === 'string' &&\n /^(Blob|File)$/.test(value.constructor.name) &&\n /^(Blob|File)$/.test(value[Symbol.toStringTag])\n );\n};\n\nexport const isFormData = (value: any): value is FormData => {\n return value instanceof FormData;\n};\n\nexport const isSuccess = (status: number): boolean => {\n return status >= 200 && status < 300;\n};\n\nexport const base64 = (str: string): string => {\n try {\n return btoa(str);\n } catch (err) {\n // @ts-ignore\n return Buffer.from(str).toString('base64');\n }\n};\n\nexport const getQueryString = (params: Record): string => {\n const qs: string[] = [];\n\n const append = (key: string, value: any) => {\n qs.push(`${encodeURIComponent(key)}=${encodeURIComponent(String(value))}`);\n };\n\n const process = (key: string, value: any) => {\n if (isDefined(value)) {\n if (Array.isArray(value)) {\n value.forEach(v => {\n process(key, v);\n });\n } else if (typeof value === 'object') {\n Object.entries(value).forEach(([k, v]) => {\n process(`${key}[${k}]`, v);\n });\n } else {\n append(key, value);\n }\n }\n };\n\n Object.entries(params).forEach(([key, value]) => {\n process(key, value);\n });\n\n if (qs.length > 0) {\n return `?${qs.join('&')}`;\n }\n\n return '';\n};\n\nconst getUrl = (config: OpenAPIConfig, options: ApiRequestOptions): string => {\n const encoder = config.ENCODE_PATH || encodeURI;\n\n const path = options.url\n .replace('{api-version}', config.VERSION)\n .replace(/{(.*?)}/g, (substring: string, group: string) => {\n if (options.path?.hasOwnProperty(group)) {\n return encoder(String(options.path[group]));\n }\n return substring;\n });\n\n const url = `${config.BASE}${path}`;\n if (options.query) {\n return `${url}${getQueryString(options.query)}`;\n }\n return url;\n};\n\nexport const getFormData = (options: ApiRequestOptions): FormData | undefined => {\n if (options.formData) {\n const formData = new FormData();\n\n const process = (key: string, value: any) => {\n if (isString(value) || isBlob(value)) {\n formData.append(key, value);\n } else {\n formData.append(key, JSON.stringify(value));\n }\n };\n\n Object.entries(options.formData)\n .filter(([_, value]) => isDefined(value))\n .forEach(([key, value]) => {\n if (Array.isArray(value)) {\n value.forEach(v => process(key, v));\n } else {\n process(key, value);\n }\n });\n\n return formData;\n }\n return undefined;\n};\n\ntype Resolver = (options: ApiRequestOptions) => Promise;\n\nexport const resolve = async (options: ApiRequestOptions, resolver?: T | Resolver): Promise => {\n if (typeof resolver === 'function') {\n return (resolver as Resolver)(options);\n }\n return resolver;\n};\n\nexport const getHeaders = async (config: OpenAPIConfig, options: ApiRequestOptions, formData?: FormData): Promise> => {\n const [token, username, password, additionalHeaders] = await Promise.all([\n resolve(options, config.TOKEN),\n resolve(options, config.USERNAME),\n resolve(options, config.PASSWORD),\n resolve(options, config.HEADERS),\n ]);\n\n const formHeaders = typeof formData?.getHeaders === 'function' && formData?.getHeaders() || {}\n\n const headers = Object.entries({\n Accept: 'application/json',\n ...additionalHeaders,\n ...options.headers,\n ...formHeaders,\n })\n .filter(([_, value]) => isDefined(value))\n .reduce((headers, [key, value]) => ({\n ...headers,\n [key]: String(value),\n }), {} as Record);\n\n if (isStringWithValue(token)) {\n headers['Authorization'] = `Bearer ${token}`;\n }\n\n if (isStringWithValue(username) && isStringWithValue(password)) {\n const credentials = base64(`${username}:${password}`);\n headers['Authorization'] = `Basic ${credentials}`;\n }\n\n if (options.body !== undefined) {\n if (options.mediaType) {\n headers['Content-Type'] = options.mediaType;\n } else if (isBlob(options.body)) {\n headers['Content-Type'] = options.body.type || 'application/octet-stream';\n } else if (isString(options.body)) {\n headers['Content-Type'] = 'text/plain';\n } else if (!isFormData(options.body)) {\n headers['Content-Type'] = 'application/json';\n }\n }\n\n return headers;\n};\n\nexport const getRequestBody = (options: ApiRequestOptions): any => {\n if (options.body) {\n return options.body;\n }\n return undefined;\n};\n\nexport const sendRequest = async (\n config: OpenAPIConfig,\n options: ApiRequestOptions,\n url: string,\n body: any,\n formData: FormData | undefined,\n headers: Record,\n onCancel: OnCancel,\n axiosClient: AxiosInstance\n): Promise> => {\n const source = axios.CancelToken.source();\n\n const requestConfig: AxiosRequestConfig = {\n url,\n headers,\n data: body ?? formData,\n method: options.method,\n withCredentials: config.WITH_CREDENTIALS,\n cancelToken: source.token,\n };\n\n onCancel(() => source.cancel('The user aborted a request.'));\n\n try {\n return await axiosClient.request(requestConfig);\n } catch (error) {\n const axiosError = error as AxiosError;\n if (axiosError.response) {\n return axiosError.response;\n }\n throw error;\n }\n};\n\nexport const getResponseHeader = (response: AxiosResponse, responseHeader?: string): string | undefined => {\n if (responseHeader) {\n const content = response.headers[responseHeader];\n if (isString(content)) {\n return content;\n }\n }\n return undefined;\n};\n\nexport const getResponseBody = (response: AxiosResponse): any => {\n if (response.status !== 204) {\n return response.data;\n }\n return undefined;\n};\n\nexport const catchErrorCodes = (options: ApiRequestOptions, result: ApiResult): void => {\n const errors: Record = {\n 400: 'Bad Request',\n 401: 'Unauthorized',\n 403: 'Forbidden',\n 404: 'Not Found',\n 500: 'Internal Server Error',\n 502: 'Bad Gateway',\n 503: 'Service Unavailable',\n ...options.errors,\n }\n\n const error = errors[result.status];\n if (error) {\n throw new ApiError(options, result, error);\n }\n\n if (!result.ok) {\n const errorStatus = result.status ?? 'unknown';\n const errorStatusText = result.statusText ?? 'unknown';\n const errorBody = (() => {\n try {\n return JSON.stringify(result.body, null, 2);\n } catch (e) {\n return undefined;\n }\n })();\n\n throw new ApiError(options, result,\n `Generic Error: status: ${errorStatus}; status text: ${errorStatusText}; body: ${errorBody}`\n );\n }\n};\n\n/**\n * Request method\n * @param config The OpenAPI configuration object\n * @param options The request options from the service\n * @param axiosClient The axios client instance to use\n * @returns CancelablePromise\n * @throws ApiError\n */\nexport const request = (config: OpenAPIConfig, options: ApiRequestOptions, axiosClient: AxiosInstance = axios): CancelablePromise => {\n return new CancelablePromise(async (resolve, reject, onCancel) => {\n try {\n const url = getUrl(config, options);\n const formData = getFormData(options);\n const body = getRequestBody(options);\n const headers = await getHeaders(config, options, formData);\n\n if (!onCancel.isCancelled) {\n const response = await sendRequest(config, options, url, body, formData, headers, onCancel, axiosClient);\n const responseBody = getResponseBody(response);\n const responseHeader = getResponseHeader(response, options.responseHeader);\n\n const result: ApiResult = {\n url,\n ok: isSuccess(response.status),\n status: response.status,\n statusText: response.statusText,\n body: responseHeader ?? responseBody,\n };\n\n catchErrorCodes(options, result);\n\n resolve(result.body);\n }\n } catch (error) {\n reject(error);\n }\n });\n};\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\nimport type { ApiRequestOptions } from './ApiRequestOptions';\nimport { BaseHttpRequest } from './BaseHttpRequest';\nimport type { CancelablePromise } from './CancelablePromise';\nimport type { OpenAPIConfig } from './OpenAPI';\nimport { request as __request } from './request';\n\nexport class AxiosHttpRequest extends BaseHttpRequest {\n\n constructor(config: OpenAPIConfig) {\n super(config);\n }\n\n /**\n * Request method\n * @param options The request options from the service\n * @returns CancelablePromise\n * @throws ApiError\n */\n public override request(options: ApiRequestOptions): CancelablePromise {\n return __request(this.config, options);\n }\n}\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\nimport type { SimpleShift } from '../models/SimpleShift';\nimport type { CancelablePromise } from '../core/CancelablePromise';\nimport type { BaseHttpRequest } from '../core/BaseHttpRequest';\nexport class AccordationService {\n constructor(public readonly httpRequest: BaseHttpRequest) {}\n /**\n * Accord Shifts\n * ### Create Accordation\n *\n * Accords all unaccorded shifts of a coach in the current week (from monday to sunday).\n *\n *\n * **Permissions Required**:\n * `accord_shifts`\n * @param coachId\n * @returns SimpleShift Successful Response\n * @throws ApiError\n */\n public patchFspAccordShifts(\n coachId: number,\n ): CancelablePromise> {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/v1/fsp/accordation/{coach_id}/accordation',\n path: {\n 'coach_id': coachId,\n },\n errors: {\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Accord Shifts\n * ### Create Accordation\n *\n * Accords all unaccorded shifts of a coach in the current week (from monday to sunday).\n *\n *\n * **Permissions Required**:\n * `accord_shifts`\n * @param coachId\n * @returns SimpleShift Successful Response\n * @throws ApiError\n */\n public patchFspAccordShiftsVLatest(\n coachId: number,\n ): CancelablePromise> {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/latest/fsp/accordation/{coach_id}/accordation',\n path: {\n 'coach_id': coachId,\n },\n errors: {\n 422: `Validation Error`,\n },\n });\n }\n}\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\nimport type { BaseGroup } from '../models/BaseGroup';\nimport type { BaseGroupWithMembers } from '../models/BaseGroupWithMembers';\nimport type { BaseNotification } from '../models/BaseNotification';\nimport type { BasePermission } from '../models/BasePermission';\nimport type { BaseRole } from '../models/BaseRole';\nimport type { BaseRoleWithMembers } from '../models/BaseRoleWithMembers';\nimport type { BaseUser } from '../models/BaseUser';\nimport type { BaseUserWithOrderPreferences } from '../models/BaseUserWithOrderPreferences';\nimport type { EditUser } from '../models/EditUser';\nimport type { EditUserSimple } from '../models/EditUserSimple';\nimport type { EmailValidationIn } from '../models/EmailValidationIn';\nimport type { EmailValidationOut } from '../models/EmailValidationOut';\nimport type { EnumOrderType } from '../models/EnumOrderType';\nimport type { GenericCount } from '../models/GenericCount';\nimport type { GenericStatus } from '../models/GenericStatus';\nimport type { GroupEdit } from '../models/GroupEdit';\nimport type { GroupIn } from '../models/GroupIn';\nimport type { NotificationsOut } from '../models/NotificationsOut';\nimport type { PasswordResetIn } from '../models/PasswordResetIn';\nimport type { PasswordResetRequestIn } from '../models/PasswordResetRequestIn';\nimport type { RegularUser } from '../models/RegularUser';\nimport type { RegularUserWithGroupsAndTypes } from '../models/RegularUserWithGroupsAndTypes';\nimport type { RoleEdit } from '../models/RoleEdit';\nimport type { RoleIn } from '../models/RoleIn';\nimport type { Token } from '../models/Token';\nimport type { UserIn } from '../models/UserIn';\nimport type { UserMfaIn } from '../models/UserMfaIn';\nimport type { UserSecret } from '../models/UserSecret';\nimport type { UserSecretIn } from '../models/UserSecretIn';\nimport type { UserUri } from '../models/UserUri';\nimport type { CancelablePromise } from '../core/CancelablePromise';\nimport type { BaseHttpRequest } from '../core/BaseHttpRequest';\nexport class AuthService {\n constructor(public readonly httpRequest: BaseHttpRequest) {}\n /**\n * Create\n * @param requestBody\n * @returns RegularUser Successful Response\n * @throws ApiError\n */\n public postAuthCreate(\n requestBody: UserIn,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/v1/auth/user/create',\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Request User Password Reset\n * @param requestBody\n * @returns GenericStatus Successful Response\n * @throws ApiError\n */\n public postAuthRequestUserPasswordReset(\n requestBody: PasswordResetRequestIn,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/v1/auth/user/password/reset/request',\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Reset User Password\n * @param token\n * @param requestBody\n * @returns GenericStatus Successful Response\n * @throws ApiError\n */\n public postAuthResetUserPassword(\n token: string,\n requestBody: PasswordResetIn,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/v1/auth/user/password/reset/{token}',\n path: {\n 'token': token,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Secret\n * @returns UserSecret Successful Response\n * @throws ApiError\n */\n public getAuthGetSecret(): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/auth/user/secret',\n errors: {\n 404: `Not found`,\n },\n });\n }\n /**\n * Get Qr Uri\n * @param requestBody\n * @returns UserUri Successful Response\n * @throws ApiError\n */\n public postAuthGetQrUri(\n requestBody: UserSecretIn,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/v1/auth/user/uri',\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Secret\n * @param requestBody\n * @returns GenericStatus Successful Response\n * @throws ApiError\n */\n public patchAuthGetSecret(\n requestBody: UserSecretIn,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/v1/auth/user/set/secret',\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Login With Mfa\n * @param requestBody\n * @returns Token Successful Response\n * @throws ApiError\n */\n public postAuthLoginWithMfa(\n requestBody: UserMfaIn,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/v1/auth/user/mfa/login',\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Create Group\n * @param requestBody\n * @returns BaseGroup Successful Response\n * @throws ApiError\n */\n public postAuthCreateGroup(\n requestBody: GroupIn,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/v1/auth/group/create',\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Create Role\n * @param requestBody\n * @returns BaseRole Successful Response\n * @throws ApiError\n */\n public postAuthCreateRole(\n requestBody: RoleIn,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/v1/auth/role/create',\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get All Roles\n * @returns any Successful Response\n * @throws ApiError\n */\n public getAuthGetAllRoles(): CancelablePromise<(Array | null)> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/auth/roles/all',\n errors: {\n 404: `Not found`,\n },\n });\n }\n /**\n * Search All Roles\n * @param searchTerm\n * @returns any Successful Response\n * @throws ApiError\n */\n public getAuthSearchAllRoles(\n searchTerm: string,\n ): CancelablePromise<(Array | null)> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/auth/roles/search/{search_term}',\n path: {\n 'search_term': searchTerm,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get All Groups\n * @returns any Successful Response\n * @throws ApiError\n */\n public getAuthGetAllGroups(): CancelablePromise<(Array | null)> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/auth/groups/all',\n errors: {\n 404: `Not found`,\n },\n });\n }\n /**\n * Get All Users\n * @param offset\n * @param limit\n * @returns any Successful Response\n * @throws ApiError\n */\n public getAuthGetAllUsers(\n offset?: number,\n limit: number = 10,\n ): CancelablePromise<(Array | null)> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/auth/users',\n query: {\n 'offset': offset,\n 'limit': limit,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Search All Groups\n * @param searchTerm\n * @returns any Successful Response\n * @throws ApiError\n */\n public getAuthSearchAllGroups(\n searchTerm: string,\n ): CancelablePromise<(Array | null)> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/auth/groups/search/{search_term}',\n path: {\n 'search_term': searchTerm,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get All Permissions\n * @returns any Successful Response\n * @throws ApiError\n */\n public getAuthGetAllPermissions(): CancelablePromise<(Array | null)> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/auth/permissions/all',\n errors: {\n 404: `Not found`,\n },\n });\n }\n /**\n * Get Single Role\n * @param roleId\n * @returns BaseRole Successful Response\n * @throws ApiError\n */\n public getAuthGetSingleRole(\n roleId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/auth/roles/{role_id}',\n path: {\n 'role_id': roleId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Edit Single Role\n * @param roleId\n * @param requestBody\n * @returns BaseRole Successful Response\n * @throws ApiError\n */\n public patchAuthEditSingleRole(\n roleId: number,\n requestBody: RoleEdit,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/v1/auth/roles/{role_id}',\n path: {\n 'role_id': roleId,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Single Role Members\n * @param roleId\n * @param offset\n * @param limit\n * @returns any Successful Response\n * @throws ApiError\n */\n public getAuthGetSingleRoleMembers(\n roleId: number,\n offset?: number,\n limit: number = 25,\n ): CancelablePromise<(BaseRoleWithMembers | null)> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/auth/roles/{role_id}/members',\n path: {\n 'role_id': roleId,\n },\n query: {\n 'offset': offset,\n 'limit': limit,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Single Group\n * @param groupId\n * @returns BaseGroupWithMembers Successful Response\n * @throws ApiError\n */\n public getAuthGetSingleGroup(\n groupId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/auth/groups/{group_id}',\n path: {\n 'group_id': groupId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Edit Single Group\n * @param groupId\n * @param requestBody\n * @returns BaseGroupWithMembers Successful Response\n * @throws ApiError\n */\n public patchAuthEditSingleGroup(\n groupId: number,\n requestBody: GroupEdit,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/v1/auth/groups/{group_id}',\n path: {\n 'group_id': groupId,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Promote User To Group\n * @param userId\n * @param groupId\n * @returns GenericStatus Successful Response\n * @throws ApiError\n */\n public patchAuthPromoteUserToGroup(\n userId: number,\n groupId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/v1/auth/user/{user_id}/promote/group/{group_id}',\n path: {\n 'user_id': userId,\n 'group_id': groupId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Demote User From Group\n * @param groupId\n * @param userId\n * @returns GenericStatus Successful Response\n * @throws ApiError\n */\n public patchAuthDemoteUserFromGroup(\n groupId: number,\n userId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/v1/auth/user/{user_id}/demote/group/{group_id}',\n path: {\n 'group_id': groupId,\n 'user_id': userId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Promote User To Role\n * @param roleId\n * @param userId\n * @returns GenericStatus Successful Response\n * @throws ApiError\n */\n public patchAuthPromoteUserToRole(\n roleId: number,\n userId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/v1/auth/user/{user_id}/promote/role/{role_id}',\n path: {\n 'role_id': roleId,\n 'user_id': userId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Demote User From Role\n * @param roleId\n * @param userId\n * @returns GenericStatus Successful Response\n * @throws ApiError\n */\n public patchAuthDemoteUserFromRole(\n roleId: number,\n userId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/v1/auth/user/{user_id}/demote/role/{role_id}',\n path: {\n 'role_id': roleId,\n 'user_id': userId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Bulk Attach Permissions To Role\n * @param roleId\n * @param requestBody\n * @returns GenericStatus Successful Response\n * @throws ApiError\n */\n public patchAuthBulkAttachPermissionsToRole(\n roleId: number,\n requestBody: Array,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/v1/auth/role/{role_id}/attach_permissions/bulk',\n path: {\n 'role_id': roleId,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Bulk Remove Permissions From Role\n * @param roleId\n * @param requestBody\n * @returns GenericStatus Successful Response\n * @throws ApiError\n */\n public patchAuthBulkRemovePermissionsFromRole(\n roleId: number,\n requestBody: Array,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/v1/auth/role/{role_id}/remove_permissions/bulk',\n path: {\n 'role_id': roleId,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Notifications\n * @returns NotificationsOut Successful Response\n * @throws ApiError\n */\n public getAuthGetNotifications(): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/auth/user/notifications',\n errors: {\n 404: `Not found`,\n },\n });\n }\n /**\n * Get Unread Notifications\n * @returns NotificationsOut Successful Response\n * @throws ApiError\n */\n public getAuthGetUnreadNotifications(): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/auth/user/notifications/unread',\n errors: {\n 404: `Not found`,\n },\n });\n }\n /**\n * Get Single Notification\n * @param notificationId\n * @returns BaseNotification Successful Response\n * @throws ApiError\n */\n public getAuthGetSingleNotification(\n notificationId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/auth/user/notifications/{notification_id}/read',\n path: {\n 'notification_id': notificationId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Mark Notification Read\n * @param notificationId\n * @returns BaseNotification Successful Response\n * @throws ApiError\n */\n public patchAuthMarkNotificationRead(\n notificationId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/v1/auth/user/notifications/{notification_id}/mark_read',\n path: {\n 'notification_id': notificationId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Current User\n * @returns RegularUserWithGroupsAndTypes Successful Response\n * @throws ApiError\n */\n public getAuthGetCurrentUser(): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/auth/user/me',\n errors: {\n 404: `Not found`,\n },\n });\n }\n /**\n * Get Current User Permissions\n * @returns string Successful Response\n * @throws ApiError\n */\n public getAuthGetCurrentUserPermissions(): CancelablePromise> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/auth/user/permissions',\n errors: {\n 404: `Not found`,\n },\n });\n }\n /**\n * Get User\n * @param userId\n * @returns RegularUserWithGroupsAndTypes Successful Response\n * @throws ApiError\n */\n public getAuthGetUser(\n userId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/auth/user/{user_id}',\n path: {\n 'user_id': userId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Edit User\n * @param userId\n * @param requestBody\n * @returns RegularUserWithGroupsAndTypes Successful Response\n * @throws ApiError\n */\n public patchAuthEditUser(\n userId: number,\n requestBody: EditUserSimple,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/v1/auth/user/{user_id}',\n path: {\n 'user_id': userId,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Edit User Advanced\n * @param userId\n * @param requestBody\n * @returns RegularUserWithGroupsAndTypes Successful Response\n * @throws ApiError\n */\n public patchAuthEditUserAdvanced(\n userId: number,\n requestBody: EditUser,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/v1/auth/user/{user_id}/advanced',\n path: {\n 'user_id': userId,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Complete First Landing\n * @param userId\n * @returns GenericStatus Successful Response\n * @throws ApiError\n */\n public patchAuthCompleteFirstLanding(\n userId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/v1/auth/user/{user_id}/complete_first_landing',\n path: {\n 'user_id': userId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get User Count\n * @returns GenericCount Successful Response\n * @throws ApiError\n */\n public getAuthGetUserCount(): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/auth/users/count',\n errors: {\n 404: `Not found`,\n },\n });\n }\n /**\n * Validate Email Address\n * @param requestBody\n * @returns EmailValidationOut Successful Response\n * @throws ApiError\n */\n public postAuthValidateEmailAddress(\n requestBody: EmailValidationIn,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/v1/auth/users/email_validation',\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Login For Access Token\n * @param userId\n * @returns Token Successful Response\n * @throws ApiError\n */\n public postAuthLoginForAccessToken(\n userId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/v1/auth/log_in_as/{user_id}',\n path: {\n 'user_id': userId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Access From Refresh Token\n * Gets a new access token from a refresh token. also returns a new refresh token\n * @param requestBody\n * @returns Token Successful Response\n * @throws ApiError\n */\n public postAuthGetAccessFromRefreshToken(\n requestBody: Token,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/v1/auth/access_from_refresh',\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Change Preferred Order Type\n * @param orderType\n * @returns BaseUserWithOrderPreferences Successful Response\n * @throws ApiError\n */\n public patchAuthChangePreferredOrderType(\n orderType: EnumOrderType,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/v1/auth/user/change_preferred_order_type',\n query: {\n 'order_type': orderType,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Disable User\n * Disables a user\n * @returns GenericStatus Successful Response\n * @throws ApiError\n */\n public deleteAuthDisableUser(): CancelablePromise {\n return this.httpRequest.request({\n method: 'DELETE',\n url: '/v1/auth/disable_user',\n errors: {\n 404: `Not found`,\n },\n });\n }\n /**\n * Create\n * @param requestBody\n * @returns RegularUser Successful Response\n * @throws ApiError\n */\n public postAuthCreateVLatest(\n requestBody: UserIn,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/latest/auth/user/create',\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Request User Password Reset\n * @param requestBody\n * @returns GenericStatus Successful Response\n * @throws ApiError\n */\n public postAuthRequestUserPasswordResetVLatest(\n requestBody: PasswordResetRequestIn,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/latest/auth/user/password/reset/request',\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Reset User Password\n * @param token\n * @param requestBody\n * @returns GenericStatus Successful Response\n * @throws ApiError\n */\n public postAuthResetUserPasswordVLatest(\n token: string,\n requestBody: PasswordResetIn,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/latest/auth/user/password/reset/{token}',\n path: {\n 'token': token,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Secret\n * @returns UserSecret Successful Response\n * @throws ApiError\n */\n public getAuthGetSecretVLatest(): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/auth/user/secret',\n errors: {\n 404: `Not found`,\n },\n });\n }\n /**\n * Get Qr Uri\n * @param requestBody\n * @returns UserUri Successful Response\n * @throws ApiError\n */\n public postAuthGetQrUriVLatest(\n requestBody: UserSecretIn,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/latest/auth/user/uri',\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Secret\n * @param requestBody\n * @returns GenericStatus Successful Response\n * @throws ApiError\n */\n public patchAuthGetSecretVLatest(\n requestBody: UserSecretIn,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/latest/auth/user/set/secret',\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Login With Mfa\n * @param requestBody\n * @returns Token Successful Response\n * @throws ApiError\n */\n public postAuthLoginWithMfaVLatest(\n requestBody: UserMfaIn,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/latest/auth/user/mfa/login',\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Create Group\n * @param requestBody\n * @returns BaseGroup Successful Response\n * @throws ApiError\n */\n public postAuthCreateGroupVLatest(\n requestBody: GroupIn,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/latest/auth/group/create',\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Create Role\n * @param requestBody\n * @returns BaseRole Successful Response\n * @throws ApiError\n */\n public postAuthCreateRoleVLatest(\n requestBody: RoleIn,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/latest/auth/role/create',\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get All Roles\n * @returns any Successful Response\n * @throws ApiError\n */\n public getAuthGetAllRolesVLatest(): CancelablePromise<(Array | null)> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/auth/roles/all',\n errors: {\n 404: `Not found`,\n },\n });\n }\n /**\n * Search All Roles\n * @param searchTerm\n * @returns any Successful Response\n * @throws ApiError\n */\n public getAuthSearchAllRolesVLatest(\n searchTerm: string,\n ): CancelablePromise<(Array | null)> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/auth/roles/search/{search_term}',\n path: {\n 'search_term': searchTerm,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get All Groups\n * @returns any Successful Response\n * @throws ApiError\n */\n public getAuthGetAllGroupsVLatest(): CancelablePromise<(Array | null)> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/auth/groups/all',\n errors: {\n 404: `Not found`,\n },\n });\n }\n /**\n * Get All Users\n * @param offset\n * @param limit\n * @returns any Successful Response\n * @throws ApiError\n */\n public getAuthGetAllUsersVLatest(\n offset?: number,\n limit: number = 10,\n ): CancelablePromise<(Array | null)> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/auth/users',\n query: {\n 'offset': offset,\n 'limit': limit,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Search All Groups\n * @param searchTerm\n * @returns any Successful Response\n * @throws ApiError\n */\n public getAuthSearchAllGroupsVLatest(\n searchTerm: string,\n ): CancelablePromise<(Array | null)> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/auth/groups/search/{search_term}',\n path: {\n 'search_term': searchTerm,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get All Permissions\n * @returns any Successful Response\n * @throws ApiError\n */\n public getAuthGetAllPermissionsVLatest(): CancelablePromise<(Array | null)> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/auth/permissions/all',\n errors: {\n 404: `Not found`,\n },\n });\n }\n /**\n * Get Single Role\n * @param roleId\n * @returns BaseRole Successful Response\n * @throws ApiError\n */\n public getAuthGetSingleRoleVLatest(\n roleId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/auth/roles/{role_id}',\n path: {\n 'role_id': roleId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Edit Single Role\n * @param roleId\n * @param requestBody\n * @returns BaseRole Successful Response\n * @throws ApiError\n */\n public patchAuthEditSingleRoleVLatest(\n roleId: number,\n requestBody: RoleEdit,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/latest/auth/roles/{role_id}',\n path: {\n 'role_id': roleId,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Single Role Members\n * @param roleId\n * @param offset\n * @param limit\n * @returns any Successful Response\n * @throws ApiError\n */\n public getAuthGetSingleRoleMembersVLatest(\n roleId: number,\n offset?: number,\n limit: number = 25,\n ): CancelablePromise<(BaseRoleWithMembers | null)> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/auth/roles/{role_id}/members',\n path: {\n 'role_id': roleId,\n },\n query: {\n 'offset': offset,\n 'limit': limit,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Single Group\n * @param groupId\n * @returns BaseGroupWithMembers Successful Response\n * @throws ApiError\n */\n public getAuthGetSingleGroupVLatest(\n groupId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/auth/groups/{group_id}',\n path: {\n 'group_id': groupId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Edit Single Group\n * @param groupId\n * @param requestBody\n * @returns BaseGroupWithMembers Successful Response\n * @throws ApiError\n */\n public patchAuthEditSingleGroupVLatest(\n groupId: number,\n requestBody: GroupEdit,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/latest/auth/groups/{group_id}',\n path: {\n 'group_id': groupId,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Promote User To Group\n * @param userId\n * @param groupId\n * @returns GenericStatus Successful Response\n * @throws ApiError\n */\n public patchAuthPromoteUserToGroupVLatest(\n userId: number,\n groupId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/latest/auth/user/{user_id}/promote/group/{group_id}',\n path: {\n 'user_id': userId,\n 'group_id': groupId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Demote User From Group\n * @param groupId\n * @param userId\n * @returns GenericStatus Successful Response\n * @throws ApiError\n */\n public patchAuthDemoteUserFromGroupVLatest(\n groupId: number,\n userId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/latest/auth/user/{user_id}/demote/group/{group_id}',\n path: {\n 'group_id': groupId,\n 'user_id': userId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Promote User To Role\n * @param roleId\n * @param userId\n * @returns GenericStatus Successful Response\n * @throws ApiError\n */\n public patchAuthPromoteUserToRoleVLatest(\n roleId: number,\n userId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/latest/auth/user/{user_id}/promote/role/{role_id}',\n path: {\n 'role_id': roleId,\n 'user_id': userId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Demote User From Role\n * @param roleId\n * @param userId\n * @returns GenericStatus Successful Response\n * @throws ApiError\n */\n public patchAuthDemoteUserFromRoleVLatest(\n roleId: number,\n userId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/latest/auth/user/{user_id}/demote/role/{role_id}',\n path: {\n 'role_id': roleId,\n 'user_id': userId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Bulk Attach Permissions To Role\n * @param roleId\n * @param requestBody\n * @returns GenericStatus Successful Response\n * @throws ApiError\n */\n public patchAuthBulkAttachPermissionsToRoleVLatest(\n roleId: number,\n requestBody: Array,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/latest/auth/role/{role_id}/attach_permissions/bulk',\n path: {\n 'role_id': roleId,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Bulk Remove Permissions From Role\n * @param roleId\n * @param requestBody\n * @returns GenericStatus Successful Response\n * @throws ApiError\n */\n public patchAuthBulkRemovePermissionsFromRoleVLatest(\n roleId: number,\n requestBody: Array,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/latest/auth/role/{role_id}/remove_permissions/bulk',\n path: {\n 'role_id': roleId,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Notifications\n * @returns NotificationsOut Successful Response\n * @throws ApiError\n */\n public getAuthGetNotificationsVLatest(): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/auth/user/notifications',\n errors: {\n 404: `Not found`,\n },\n });\n }\n /**\n * Get Unread Notifications\n * @returns NotificationsOut Successful Response\n * @throws ApiError\n */\n public getAuthGetUnreadNotificationsVLatest(): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/auth/user/notifications/unread',\n errors: {\n 404: `Not found`,\n },\n });\n }\n /**\n * Get Single Notification\n * @param notificationId\n * @returns BaseNotification Successful Response\n * @throws ApiError\n */\n public getAuthGetSingleNotificationVLatest(\n notificationId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/auth/user/notifications/{notification_id}/read',\n path: {\n 'notification_id': notificationId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Mark Notification Read\n * @param notificationId\n * @returns BaseNotification Successful Response\n * @throws ApiError\n */\n public patchAuthMarkNotificationReadVLatest(\n notificationId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/latest/auth/user/notifications/{notification_id}/mark_read',\n path: {\n 'notification_id': notificationId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Current User\n * @returns RegularUserWithGroupsAndTypes Successful Response\n * @throws ApiError\n */\n public getAuthGetCurrentUserVLatest(): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/auth/user/me',\n errors: {\n 404: `Not found`,\n },\n });\n }\n /**\n * Get Current User Permissions\n * @returns string Successful Response\n * @throws ApiError\n */\n public getAuthGetCurrentUserPermissionsVLatest(): CancelablePromise> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/auth/user/permissions',\n errors: {\n 404: `Not found`,\n },\n });\n }\n /**\n * Get User\n * @param userId\n * @returns RegularUserWithGroupsAndTypes Successful Response\n * @throws ApiError\n */\n public getAuthGetUserVLatest(\n userId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/auth/user/{user_id}',\n path: {\n 'user_id': userId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Edit User\n * @param userId\n * @param requestBody\n * @returns RegularUserWithGroupsAndTypes Successful Response\n * @throws ApiError\n */\n public patchAuthEditUserVLatest(\n userId: number,\n requestBody: EditUserSimple,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/latest/auth/user/{user_id}',\n path: {\n 'user_id': userId,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Edit User Advanced\n * @param userId\n * @param requestBody\n * @returns RegularUserWithGroupsAndTypes Successful Response\n * @throws ApiError\n */\n public patchAuthEditUserAdvancedVLatest(\n userId: number,\n requestBody: EditUser,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/latest/auth/user/{user_id}/advanced',\n path: {\n 'user_id': userId,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Complete First Landing\n * @param userId\n * @returns GenericStatus Successful Response\n * @throws ApiError\n */\n public patchAuthCompleteFirstLandingVLatest(\n userId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/latest/auth/user/{user_id}/complete_first_landing',\n path: {\n 'user_id': userId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get User Count\n * @returns GenericCount Successful Response\n * @throws ApiError\n */\n public getAuthGetUserCountVLatest(): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/auth/users/count',\n errors: {\n 404: `Not found`,\n },\n });\n }\n /**\n * Validate Email Address\n * @param requestBody\n * @returns EmailValidationOut Successful Response\n * @throws ApiError\n */\n public postAuthValidateEmailAddressVLatest(\n requestBody: EmailValidationIn,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/latest/auth/users/email_validation',\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Login For Access Token\n * @param userId\n * @returns Token Successful Response\n * @throws ApiError\n */\n public postAuthLoginForAccessTokenVLatest(\n userId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/latest/auth/log_in_as/{user_id}',\n path: {\n 'user_id': userId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Access From Refresh Token\n * Gets a new access token from a refresh token. also returns a new refresh token\n * @param requestBody\n * @returns Token Successful Response\n * @throws ApiError\n */\n public postAuthGetAccessFromRefreshTokenVLatest(\n requestBody: Token,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/latest/auth/access_from_refresh',\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Change Preferred Order Type\n * @param orderType\n * @returns BaseUserWithOrderPreferences Successful Response\n * @throws ApiError\n */\n public patchAuthChangePreferredOrderTypeVLatest(\n orderType: EnumOrderType,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/latest/auth/user/change_preferred_order_type',\n query: {\n 'order_type': orderType,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Disable User\n * Disables a user\n * @returns GenericStatus Successful Response\n * @throws ApiError\n */\n public deleteAuthDisableUserVLatest(): CancelablePromise {\n return this.httpRequest.request({\n method: 'DELETE',\n url: '/latest/auth/disable_user',\n errors: {\n 404: `Not found`,\n },\n });\n }\n}\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\nimport type { AdvancedLesson } from '../models/AdvancedLesson';\nimport type { AssociatedLesson } from '../models/AssociatedLesson';\nimport type { BaseBundleDetailLessonAssociation } from '../models/BaseBundleDetailLessonAssociation';\nimport type { RegularBundleDetail } from '../models/RegularBundleDetail';\nimport type { CancelablePromise } from '../core/CancelablePromise';\nimport type { BaseHttpRequest } from '../core/BaseHttpRequest';\nexport class BundlesService {\n constructor(public readonly httpRequest: BaseHttpRequest) {}\n /**\n * Get Bundle\n * TODO refactor this to use the bundle_service and add the correct permissions\n *\n *
\n * Retrieve a bundle by its ID.\n *\n *
\n * Args:\n *\n * - bundle_id: int\n *\n *
\n * Returns:\n *\n * - `RegularBundleDetail`\n *\n *
\n * HTTPExceptions:\n *\n * - 404: Bundle not found\n *\n * - 403: Not enough permissions to view bundles\n * @param bundleId\n * @returns RegularBundleDetail Successful Response\n * @throws ApiError\n */\n public getBundlesGetBundle(\n bundleId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/bundles/bundle/{bundle_id}',\n path: {\n 'bundle_id': bundleId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Update Bundle\n *
\n * Update a bundle by its ID.\n *\n *
\n * Args:\n *\n * - bundle_id: `int`\n *\n * - updated_bundle: `BundleDetailEdit`\n *\n * - total_hours: `Optional[float]`\n *\n * - remaining_hours: `Optional[float]`\n *\n * - start_date: `Optional[datetime]`\n *\n * - end_date: `Optional[datetime]`\n *\n *
\n * Returns: The updated bundle that was edited\n *\n * - `RegularBundleDetail`\n *\n *
\n * HTTPExceptions:\n *\n * - 404: Bundle not found\n *\n * - 403: Not enough permissions to edit bundles\n * @param bundleId\n * @param endDate\n * @param totalHours\n * @returns RegularBundleDetail Successful Response\n * @throws ApiError\n */\n public patchBundlesUpdateBundle(\n bundleId: number,\n endDate?: (string | null),\n totalHours?: (number | null),\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/v1/bundles/bundle/{bundle_id}',\n path: {\n 'bundle_id': bundleId,\n },\n query: {\n 'end_date': endDate,\n 'total_hours': totalHours,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Bundles\n * @param guardianId\n * @returns RegularBundleDetail Successful Response\n * @throws ApiError\n */\n public getBundlesGetBundles(\n guardianId: number,\n ): CancelablePromise> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/bundles/bundles/{guardian_id}',\n path: {\n 'guardian_id': guardianId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Bundle Lessons\n * @param bundleId\n * @returns AdvancedLesson Successful Response\n * @throws ApiError\n */\n public getBundlesGetBundleLessons(\n bundleId: number,\n ): CancelablePromise> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/bundles/bundle/{bundle_id}/lessons',\n path: {\n 'bundle_id': bundleId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Associated Lessons\n *
\n * Retrieve all lessons associated with a bundle by its ID.\n *\n *
\n * Args:\n *\n * - bundle_id: `int`\n *\n *
\n * Returns:\n *\n * - `List[BaseLesson]`\n *\n *
\n * HTTPExceptions:\n *\n * - 404: Bundle not found\n *\n * - 403: Not enough permissions to view bundles\n * @param bundleId\n * @returns AssociatedLesson Successful Response\n * @throws ApiError\n */\n public getBundlesGetAssociatedLessons(\n bundleId: number,\n ): CancelablePromise> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/bundles/bundle/{bundle_id}/associated_lessons',\n path: {\n 'bundle_id': bundleId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Associate Lesson\n *
\n * Associate a lesson with the next bundle.\n *\n *
\n * Args:\n *\n * - lesson_id: `int`\n *\n *
\n * Returns:\n *\n * - `BaseBundleDetailLessonAssociation`\n *\n *
\n * HTTPExceptions:\n *\n * - 404: Lesson not found\n *\n * - 403: Not enough permissions to edit bundles\n * @param lessonId\n * @returns BaseBundleDetailLessonAssociation Successful Response\n * @throws ApiError\n */\n public postBundlesAssociateLesson(\n lessonId: number,\n ): CancelablePromise> {\n return this.httpRequest.request({\n method: 'POST',\n url: '/v1/bundles/bundle/associate_lesson/{lesson_id}',\n path: {\n 'lesson_id': lessonId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Bundle\n * TODO refactor this to use the bundle_service and add the correct permissions\n *\n *
\n * Retrieve a bundle by its ID.\n *\n *
\n * Args:\n *\n * - bundle_id: int\n *\n *
\n * Returns:\n *\n * - `RegularBundleDetail`\n *\n *
\n * HTTPExceptions:\n *\n * - 404: Bundle not found\n *\n * - 403: Not enough permissions to view bundles\n * @param bundleId\n * @returns RegularBundleDetail Successful Response\n * @throws ApiError\n */\n public getBundlesGetBundleVLatest(\n bundleId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/bundles/bundle/{bundle_id}',\n path: {\n 'bundle_id': bundleId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Update Bundle\n *
\n * Update a bundle by its ID.\n *\n *
\n * Args:\n *\n * - bundle_id: `int`\n *\n * - updated_bundle: `BundleDetailEdit`\n *\n * - total_hours: `Optional[float]`\n *\n * - remaining_hours: `Optional[float]`\n *\n * - start_date: `Optional[datetime]`\n *\n * - end_date: `Optional[datetime]`\n *\n *
\n * Returns: The updated bundle that was edited\n *\n * - `RegularBundleDetail`\n *\n *
\n * HTTPExceptions:\n *\n * - 404: Bundle not found\n *\n * - 403: Not enough permissions to edit bundles\n * @param bundleId\n * @param endDate\n * @param totalHours\n * @returns RegularBundleDetail Successful Response\n * @throws ApiError\n */\n public patchBundlesUpdateBundleVLatest(\n bundleId: number,\n endDate?: (string | null),\n totalHours?: (number | null),\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/latest/bundles/bundle/{bundle_id}',\n path: {\n 'bundle_id': bundleId,\n },\n query: {\n 'end_date': endDate,\n 'total_hours': totalHours,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Bundles\n * @param guardianId\n * @returns RegularBundleDetail Successful Response\n * @throws ApiError\n */\n public getBundlesGetBundlesVLatest(\n guardianId: number,\n ): CancelablePromise> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/bundles/bundles/{guardian_id}',\n path: {\n 'guardian_id': guardianId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Bundle Lessons\n * @param bundleId\n * @returns AdvancedLesson Successful Response\n * @throws ApiError\n */\n public getBundlesGetBundleLessonsVLatest(\n bundleId: number,\n ): CancelablePromise> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/bundles/bundle/{bundle_id}/lessons',\n path: {\n 'bundle_id': bundleId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Associated Lessons\n *
\n * Retrieve all lessons associated with a bundle by its ID.\n *\n *
\n * Args:\n *\n * - bundle_id: `int`\n *\n *
\n * Returns:\n *\n * - `List[BaseLesson]`\n *\n *
\n * HTTPExceptions:\n *\n * - 404: Bundle not found\n *\n * - 403: Not enough permissions to view bundles\n * @param bundleId\n * @returns AssociatedLesson Successful Response\n * @throws ApiError\n */\n public getBundlesGetAssociatedLessonsVLatest(\n bundleId: number,\n ): CancelablePromise> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/bundles/bundle/{bundle_id}/associated_lessons',\n path: {\n 'bundle_id': bundleId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Associate Lesson\n *
\n * Associate a lesson with the next bundle.\n *\n *
\n * Args:\n *\n * - lesson_id: `int`\n *\n *
\n * Returns:\n *\n * - `BaseBundleDetailLessonAssociation`\n *\n *
\n * HTTPExceptions:\n *\n * - 404: Lesson not found\n *\n * - 403: Not enough permissions to edit bundles\n * @param lessonId\n * @returns BaseBundleDetailLessonAssociation Successful Response\n * @throws ApiError\n */\n public postBundlesAssociateLessonVLatest(\n lessonId: number,\n ): CancelablePromise> {\n return this.httpRequest.request({\n method: 'POST',\n url: '/latest/bundles/bundle/associate_lesson/{lesson_id}',\n path: {\n 'lesson_id': lessonId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n}\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\nimport type { AdvancedCoach } from '../models/AdvancedCoach';\nimport type { AvailabilityEdit } from '../models/AvailabilityEdit';\nimport type { AvailabilityIn } from '../models/AvailabilityIn';\nimport type { BaseAvailability } from '../models/BaseAvailability';\nimport type { BaseContract } from '../models/BaseContract';\nimport type { BaseLesson } from '../models/BaseLesson';\nimport type { BaseLessonRequestWithOpenStudentRequests } from '../models/BaseLessonRequestWithOpenStudentRequests';\nimport type { BaseLessonRequestWithStudentRequests } from '../models/BaseLessonRequestWithStudentRequests';\nimport type { BaseNote } from '../models/BaseNote';\nimport type { BasePipeLog } from '../models/BasePipeLog';\nimport type { BaseStudentCoach } from '../models/BaseStudentCoach';\nimport type { BaseStudentCoachesEdit } from '../models/BaseStudentCoachesEdit';\nimport type { BaseStudentRequest } from '../models/BaseStudentRequest';\nimport type { BaseTag } from '../models/BaseTag';\nimport type { BaseUserLocation } from '../models/BaseUserLocation';\nimport type { Body_add_grades_attachment_latest_coaches_coach__coach_id__add_grades_attachment_patch } from '../models/Body_add_grades_attachment_latest_coaches_coach__coach_id__add_grades_attachment_patch';\nimport type { Body_add_grades_attachment_v1_coaches_coach__coach_id__add_grades_attachment_patch } from '../models/Body_add_grades_attachment_v1_coaches_coach__coach_id__add_grades_attachment_patch';\nimport type { Body_add_id_card_attachment_latest_coaches_coach__coach_id__add_id_card_attachment_post } from '../models/Body_add_id_card_attachment_latest_coaches_coach__coach_id__add_id_card_attachment_post';\nimport type { Body_add_id_card_attachment_v1_coaches_coach__coach_id__add_id_card_attachment_post } from '../models/Body_add_id_card_attachment_v1_coaches_coach__coach_id__add_id_card_attachment_post';\nimport type { Body_add_profile_picture_latest_coaches_coach__coach_id__add_profile_picture_patch } from '../models/Body_add_profile_picture_latest_coaches_coach__coach_id__add_profile_picture_patch';\nimport type { Body_add_profile_picture_v1_coaches_coach__coach_id__add_profile_picture_patch } from '../models/Body_add_profile_picture_v1_coaches_coach__coach_id__add_profile_picture_patch';\nimport type { Body_create_coach_latest_coaches_create_post } from '../models/Body_create_coach_latest_coaches_create_post';\nimport type { Body_create_coach_v1_coaches_create_post } from '../models/Body_create_coach_v1_coaches_create_post';\nimport type { Body_sign_coach_contract_latest_coaches_coach__coach_id__signature_post } from '../models/Body_sign_coach_contract_latest_coaches_coach__coach_id__signature_post';\nimport type { Body_sign_coach_contract_v1_coaches_coach__coach_id__signature_post } from '../models/Body_sign_coach_contract_v1_coaches_coach__coach_id__signature_post';\nimport type { CoachAccordanceSnapshot } from '../models/CoachAccordanceSnapshot';\nimport type { CoachEdit } from '../models/CoachEdit';\nimport type { CoachEditAdvanced } from '../models/CoachEditAdvanced';\nimport type { CoachPrivateInformation } from '../models/CoachPrivateInformation';\nimport type { CoachSalary } from '../models/CoachSalary';\nimport type { CoachTotalHours } from '../models/CoachTotalHours';\nimport type { CoachUnaccordedMonths } from '../models/CoachUnaccordedMonths';\nimport type { ContractGeneration } from '../models/ContractGeneration';\nimport type { FileUploadBase64 } from '../models/FileUploadBase64';\nimport type { GenericStatus } from '../models/GenericStatus';\nimport type { KdvFavoriteBranches } from '../models/KdvFavoriteBranches';\nimport type { NoteIn } from '../models/NoteIn';\nimport type { RegularCoach } from '../models/RegularCoach';\nimport type { SalaryTypeEnum } from '../models/SalaryTypeEnum';\nimport type { schemas__accordance_logs__BaseLog } from '../models/schemas__accordance_logs__BaseLog';\nimport type { SimpleStudentWithGuardian } from '../models/SimpleStudentWithGuardian';\nimport type { StudentCoachFinancialMontly } from '../models/StudentCoachFinancialMontly';\nimport type { StudentRequestIn } from '../models/StudentRequestIn';\nimport type { ToAccordLessonSchema } from '../models/ToAccordLessonSchema';\nimport type { UserLocationIn } from '../models/UserLocationIn';\nimport type { CancelablePromise } from '../core/CancelablePromise';\nimport type { BaseHttpRequest } from '../core/BaseHttpRequest';\nexport class CoachesService {\n constructor(public readonly httpRequest: BaseHttpRequest) {}\n /**\n * Get Coach Salary\n * ### Get Coach Salary\n *\n * Retrieve the salary of a coach.\n *\n * **Permissions Required**:\n * `view_coach_salary`\n * ***found in:***\n * - `permission:can_manage_coaches`\n * - `User` == matching `Coach`\n *\n * **Parameters**:\n * - **salary_type**: `SalaryTypeEnum` object, default is `BIJLES`.\n * - **coach_id**: `int` object, fetched by the path parameter.\n *\n * **Returns**:\n * - `float`: The salary of the coach\n * @param coachId\n * @param salaryType\n * @returns number Successful Response\n * @throws ApiError\n */\n public getFspGetCoachSalary(\n coachId: number,\n salaryType: SalaryTypeEnum,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/fsp/fsp_coach/coach/{coach_id}/salary',\n path: {\n 'coach_id': coachId,\n },\n query: {\n 'salary_type': salaryType,\n },\n errors: {\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Edit Coach Salary\n * ### Edit Coach Salary\n *\n * Edit the salary of a coach.\n *\n * **Permissions Required**:\n * `edit_coach_salary`\n * ***found in:***\n * - `permission:can_manage_coaches`\n * - `User` == matching `Coach`\n *\n * **Parameters**:\n * - **coach_id**: `int` object, fetched by the path parameter.\n * - **salary**: `float` object, updated salary value.\n * - **salary_type**: `SalaryTypeEnum` object, default is `bijles`.\n *\n * **Returns**:\n * - `float`: The updated salary of the coach\n * @param coachId\n * @param salary\n * @param salaryType\n * @returns number Successful Response\n * @throws ApiError\n */\n public patchFspEditCoachSalary(\n coachId: number,\n salary: number,\n salaryType: SalaryTypeEnum,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/v1/fsp/fsp_coach/coach/{coach_id}/salary',\n path: {\n 'coach_id': coachId,\n },\n query: {\n 'salary': salary,\n 'salary_type': salaryType,\n },\n errors: {\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Create Coach\n * @param requestBody\n * @returns AdvancedCoach Successful Response\n * @throws ApiError\n */\n public postCoachesCreateCoach(\n requestBody: Body_create_coach_v1_coaches_create_post,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/v1/coaches/create',\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Bulk Add Disciplines To Coach\n * @param coachId\n * @param requestBody\n * @returns RegularCoach Successful Response\n * @throws ApiError\n */\n public patchCoachesBulkAddDisciplinesToCoach(\n coachId: number,\n requestBody: Array,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/v1/coaches/coach/{coach_id}/add_disciplines/bulk',\n path: {\n 'coach_id': coachId,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Bulk Remove Disciplines From Coach\n * @param coachId\n * @param requestBody\n * @returns RegularCoach Successful Response\n * @throws ApiError\n */\n public patchCoachesBulkRemoveDisciplinesFromCoach(\n coachId: number,\n requestBody: Array,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/v1/coaches/coach/{coach_id}/remove_disciplines/bulk',\n path: {\n 'coach_id': coachId,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Add Location To Coach\n * @param coachId\n * @param requestBody\n * @returns RegularCoach Successful Response\n * @throws ApiError\n */\n public postCoachesAddLocationToCoach(\n coachId: number,\n requestBody: UserLocationIn,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/v1/coaches/coach/{coach_id}/add_location',\n path: {\n 'coach_id': coachId,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Add Student To Coach\n * @param coachId\n * @param studentId\n * @returns RegularCoach Successful Response\n * @throws ApiError\n */\n public postCoachesAddStudentToCoach(\n coachId: number,\n studentId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/v1/coaches/coach/{coach_id}/students/{student_id}/add',\n path: {\n 'coach_id': coachId,\n 'student_id': studentId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * View Coach Via Id\n * @param coachId\n * @returns RegularCoach Successful Response\n * @throws ApiError\n */\n public getCoachesViewCoachViaId(\n coachId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/coaches/coach/{coach_id}',\n path: {\n 'coach_id': coachId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Edit Coach\n * @param coachId\n * @param requestBody\n * @returns RegularCoach Successful Response\n * @throws ApiError\n */\n public patchCoachesEditCoach(\n coachId: number,\n requestBody: CoachEdit,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/v1/coaches/coach/{coach_id}',\n path: {\n 'coach_id': coachId,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * View Coach Via Id Advanced\n * @param coachId\n * @returns AdvancedCoach Successful Response\n * @throws ApiError\n */\n public getCoachesViewCoachViaIdAdvanced(\n coachId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/coaches/coach/{coach_id}/advanced',\n path: {\n 'coach_id': coachId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Edit Coach Advanced\n * @param coachId\n * @param requestBody\n * @returns RegularCoach Successful Response\n * @throws ApiError\n */\n public patchCoachesEditCoachAdvanced(\n coachId: number,\n requestBody: CoachEditAdvanced,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/v1/coaches/coach/{coach_id}/advanced',\n path: {\n 'coach_id': coachId,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * View Coach Via Key\n * @param key\n * @returns RegularCoach Successful Response\n * @throws ApiError\n */\n public getCoachesViewCoachViaKey(\n key: string,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/coaches/coach/key/{key}',\n path: {\n 'key': key,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * View Coach Via Key Advanced\n * @param key\n * @returns AdvancedCoach Successful Response\n * @throws ApiError\n */\n public getCoachesViewCoachViaKeyAdvanced(\n key: string,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/coaches/coach/key/{key}/advanced',\n path: {\n 'key': key,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Add Availability To Coach\n * @param coachId\n * @param userLocationId\n * @param requestBody\n * @returns BaseAvailability Successful Response\n * @throws ApiError\n */\n public postCoachesAddAvailabilityToCoach(\n coachId: number,\n userLocationId: number,\n requestBody: AvailabilityIn,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/v1/coaches/coach/{coach_id}/add_availability/location/{user_location_id}',\n path: {\n 'coach_id': coachId,\n 'user_location_id': userLocationId,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Update Availability To Coach\n * @param coachId\n * @returns any Successful Response\n * @throws ApiError\n */\n public postCoachesUpdateAvailabilityToCoach(\n coachId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/v1/coaches/coach/{coach_id}/update_availability/maintain',\n path: {\n 'coach_id': coachId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Edit User Location\n * @param userLocationId\n * @param requestBody\n * @returns BaseUserLocation Successful Response\n * @throws ApiError\n */\n public patchCoachesEditUserLocation(\n userLocationId: number,\n requestBody: UserLocationIn,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/v1/coaches/coach/location/{user_location_id}/edit',\n path: {\n 'user_location_id': userLocationId,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Delete User Location\n * @param userLocationId\n * @returns GenericStatus Successful Response\n * @throws ApiError\n */\n public deleteCoachesDeleteUserLocation(\n userLocationId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'DELETE',\n url: '/v1/coaches/coach/location/{user_location_id}/delete',\n path: {\n 'user_location_id': userLocationId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Set Coach To Inactive\n * @param coachId\n * @returns RegularCoach Successful Response\n * @throws ApiError\n */\n public patchCoachesSetCoachToInactive(\n coachId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/v1/coaches/coach/{coach_id}/set_inactive',\n path: {\n 'coach_id': coachId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Edit Availability\n * @param availabilityId\n * @param requestBody\n * @returns BaseAvailability Successful Response\n * @throws ApiError\n */\n public patchCoachesEditAvailability(\n availabilityId: number,\n requestBody: AvailabilityEdit,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/v1/coaches/coach/availability/{availability_id}/edit',\n path: {\n 'availability_id': availabilityId,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Change Availability Location\n * @param availabilityId\n * @param userLocationId\n * @returns BaseAvailability Successful Response\n * @throws ApiError\n */\n public patchCoachesChangeAvailabilityLocation(\n availabilityId: number,\n userLocationId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/v1/coaches/coach/availability/{availability_id}/change_location/{user_location_id}',\n path: {\n 'availability_id': availabilityId,\n 'user_location_id': userLocationId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Delete Availability\n * @param availabilityId\n * @returns GenericStatus Successful Response\n * @throws ApiError\n */\n public deleteCoachesDeleteAvailability(\n availabilityId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'DELETE',\n url: '/v1/coaches/coach/availability/{availability_id}/delete',\n path: {\n 'availability_id': availabilityId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Change Pipe For Coach\n * @param pipeId\n * @param coachId\n * @returns AdvancedCoach Successful Response\n * @throws ApiError\n */\n public patchCoachesChangePipeForCoach(\n pipeId: number,\n coachId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/v1/coaches/coach/{coach_id}/change_pipe/{pipe_id}',\n path: {\n 'pipe_id': pipeId,\n 'coach_id': coachId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Pin Coach\n * @param coachId\n * @returns GenericStatus Successful Response\n * @throws ApiError\n */\n public patchCoachesPinCoach(\n coachId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/v1/coaches/coach/{coach_id}/pin',\n path: {\n 'coach_id': coachId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Unpin Coach\n * @param coachId\n * @returns GenericStatus Successful Response\n * @throws ApiError\n */\n public patchCoachesUnpinCoach(\n coachId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/v1/coaches/coach/{coach_id}/unpin',\n path: {\n 'coach_id': coachId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Set Coach Unvisible\n * @param coachId\n * @returns GenericStatus Successful Response\n * @throws ApiError\n */\n public patchCoachesSetCoachUnvisible(\n coachId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/v1/coaches/coach/{coach_id}/set_unvisible',\n path: {\n 'coach_id': coachId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Set Coach Visible\n * @param coachId\n * @returns GenericStatus Successful Response\n * @throws ApiError\n */\n public patchCoachesSetCoachVisible(\n coachId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/v1/coaches/coach/{coach_id}/set_visible',\n path: {\n 'coach_id': coachId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Pipe Log\n * @param coachId\n * @param offset\n * @param limit\n * @returns any Successful Response\n * @throws ApiError\n */\n public getCoachesGetPipeLog(\n coachId: number,\n offset?: number,\n limit: number = 500,\n ): CancelablePromise<(Array | null)> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/coaches/coach/{coach_id}/pipe_log',\n path: {\n 'coach_id': coachId,\n },\n query: {\n 'offset': offset,\n 'limit': limit,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * View Coach Schedule\n * @param coachId\n * @param start\n * @param end\n * @returns any Successful Response\n * @throws ApiError\n */\n public getCoachesViewCoachSchedule(\n coachId: number,\n start?: (string | null),\n end?: (string | null),\n ): CancelablePromise<(Array | null)> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/coaches/coach/{coach_id}/schedule',\n path: {\n 'coach_id': coachId,\n },\n query: {\n 'start': start,\n 'end': end,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Tag Coach\n * @param coachId\n * @param tagId\n * @returns AdvancedCoach Successful Response\n * @throws ApiError\n */\n public postCoachesTagCoach(\n coachId: number,\n tagId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/v1/coaches/coach/{coach_id}/tag/{tag_id}',\n path: {\n 'coach_id': coachId,\n 'tag_id': tagId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Untag Coach\n * @param coachId\n * @param tagId\n * @returns AdvancedCoach Successful Response\n * @throws ApiError\n */\n public deleteCoachesUntagCoach(\n coachId: number,\n tagId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'DELETE',\n url: '/v1/coaches/coach/{coach_id}/tag/{tag_id}',\n path: {\n 'coach_id': coachId,\n 'tag_id': tagId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * View All Tags\n * @returns any Successful Response\n * @throws ApiError\n */\n public getCoachesViewAllTags(): CancelablePromise<(Array | null)> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/coaches/coach/tags/all',\n errors: {\n 404: `Not found`,\n },\n });\n }\n /**\n * Add Profile Picture\n * @param coachId\n * @param formData\n * @returns RegularCoach Successful Response\n * @throws ApiError\n */\n public patchCoachesAddProfilePicture(\n coachId: number,\n formData: Body_add_profile_picture_v1_coaches_coach__coach_id__add_profile_picture_patch,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/v1/coaches/coach/{coach_id}/add_profile_picture',\n path: {\n 'coach_id': coachId,\n },\n formData: formData,\n mediaType: 'multipart/form-data',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Add Profile Picture Base64\n * `!!!` __This endpoint is not in working condition via SwaggerUI, but works via the generated react-native api in the apps.__ `!!!`\n * @param coachId\n * @param requestBody\n * @returns RegularCoach Successful Response\n * @throws ApiError\n */\n public postCoachesAddProfilePictureBase64(\n coachId: number,\n requestBody: FileUploadBase64,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/v1/coaches/coach/{coach_id}/add_profile_picture_base64',\n path: {\n 'coach_id': coachId,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Remove Profile Picture\n * @param coachId\n * @returns RegularCoach Successful Response\n * @throws ApiError\n */\n public deleteCoachesRemoveProfilePicture(\n coachId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'DELETE',\n url: '/v1/coaches/coach/{coach_id}/remove_profile_picture',\n path: {\n 'coach_id': coachId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * View Coach Students\n * @param coachId\n * @returns SimpleStudentWithGuardian Successful Response\n * @throws ApiError\n */\n public getCoachesViewCoachStudents(\n coachId: number,\n ): CancelablePromise> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/coaches/coach/{coach_id}/students',\n path: {\n 'coach_id': coachId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * View Coach Lessons Count\n * @param coachId\n * @returns any Successful Response\n * @throws ApiError\n */\n public getCoachesViewCoachLessonsCount(\n coachId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/coaches/coach/{coach_id}/lessons/count',\n path: {\n 'coach_id': coachId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * View Coach Students Financial\n * @param coachId\n * @param year\n * @param month\n * @param showDisputed\n * @returns StudentCoachFinancialMontly Successful Response\n * @throws ApiError\n */\n public getCoachesViewCoachStudentsFinancial(\n coachId: number,\n year: number = 2024,\n month: number = 12,\n showDisputed: boolean = false,\n ): CancelablePromise> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/coaches/coach/{coach_id}/students/financial',\n path: {\n 'coach_id': coachId,\n },\n query: {\n 'year': year,\n 'month': month,\n 'show_disputed': showDisputed,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * View Coach Students Financial Unaccorded Months\n * @param coachId\n * @returns CoachUnaccordedMonths Successful Response\n * @throws ApiError\n */\n public getCoachesViewCoachStudentsFinancialUnaccordedMonths(\n coachId: number,\n ): CancelablePromise> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/coaches/coach/{coach_id}/students/financial/unaccorded_months',\n path: {\n 'coach_id': coachId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * View Coach To Accord\n * @param coachId\n * @param year\n * @param month\n * @param showDisputed\n * @returns ToAccordLessonSchema Successful Response\n * @throws ApiError\n */\n public getCoachesViewCoachToAccord(\n coachId: number,\n year: number = 2024,\n month: number = 12,\n showDisputed: boolean = false,\n ): CancelablePromise> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/coaches/coach/{coach_id}/to_accord',\n path: {\n 'coach_id': coachId,\n },\n query: {\n 'year': year,\n 'month': month,\n 'show_disputed': showDisputed,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Coach Accordance\n * @param coachId\n * @param month\n * @param year\n * @param force\n * @param showDisputed\n * @returns GenericStatus Successful Response\n * @throws ApiError\n */\n public postCoachesCoachAccordance(\n coachId: number,\n month: number,\n year: number,\n force: boolean = false,\n showDisputed: boolean = false,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/v1/coaches/coach/{coach_id}/accordance',\n path: {\n 'coach_id': coachId,\n },\n query: {\n 'month': month,\n 'year': year,\n 'force': force,\n 'show_disputed': showDisputed,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Coach Accordance Snapshots\n * @param coachId\n * @returns CoachAccordanceSnapshot Successful Response\n * @throws ApiError\n */\n public getCoachesCoachAccordanceSnapshots(\n coachId: number,\n ): CancelablePromise> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/coaches/coach/{coach_id}/snapshots',\n path: {\n 'coach_id': coachId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Coach Unaccordance\n * @param coachId\n * @param month\n * @param year\n * @param force\n * @returns GenericStatus Successful Response\n * @throws ApiError\n */\n public patchCoachesCoachUnaccordance(\n coachId: number,\n month: number,\n year: number,\n force: boolean = false,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/v1/coaches/coach/{coach_id}/unaccord',\n path: {\n 'coach_id': coachId,\n },\n query: {\n 'month': month,\n 'year': year,\n 'force': force,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * View Unaccorded Coaches\n * @param start\n * @param end\n * @returns any Successful Response\n * @throws ApiError\n */\n public getCoachesViewUnaccordedCoaches(\n start?: (string | null),\n end?: (string | null),\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/coaches/unaccorded_coaches',\n query: {\n 'start': start,\n 'end': end,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Update Coach Student\n * @param studentId\n * @param coachId\n * @param requestBody\n * @returns GenericStatus Successful Response\n * @throws ApiError\n */\n public patchCoachesUpdateCoachStudent(\n studentId: number,\n coachId: number,\n requestBody: BaseStudentCoachesEdit,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/v1/coaches/coach/{coach_id}/update_student/{student_id}',\n path: {\n 'student_id': studentId,\n 'coach_id': coachId,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * View Coach Student\n * @param studentId\n * @returns any Successful Response\n * @throws ApiError\n */\n public getCoachesViewCoachStudent(\n studentId: number,\n ): CancelablePromise<(SimpleStudentWithGuardian | null)> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/coaches/coach/student/{student_id}',\n path: {\n 'student_id': studentId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * View Student Coach\n * @param coachId\n * @returns BaseStudentCoach Successful Response\n * @throws ApiError\n */\n public getCoachesViewStudentCoach(\n coachId: number,\n ): CancelablePromise> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/coaches/coach/{coach_id}/student_coach',\n path: {\n 'coach_id': coachId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * View Salary\n * @param coachId\n * @param year\n * @param month\n * @returns CoachSalary Successful Response\n * @throws ApiError\n */\n public getCoachesViewSalary(\n coachId: number,\n year: number = 2025,\n month: number = 1,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/coaches/coach/{coach_id}/salary',\n path: {\n 'coach_id': coachId,\n },\n query: {\n 'year': year,\n 'month': month,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * View Coach Notes\n * @param coachId\n * @returns any Successful Response\n * @throws ApiError\n */\n public getCoachesViewCoachNotes(\n coachId: number,\n ): CancelablePromise<(Array | null)> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/coaches/view/{coach_id}/notes',\n path: {\n 'coach_id': coachId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Add Coach Note\n * @param coachId\n * @param requestBody\n * @returns BaseNote Successful Response\n * @throws ApiError\n */\n public postCoachesAddCoachNote(\n coachId: number,\n requestBody: NoteIn,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/v1/coaches/view/{coach_id}/notes',\n path: {\n 'coach_id': coachId,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * View Coach Ical\n * @param icalToken\n * @param start\n * @returns any Successful Response\n * @throws ApiError\n */\n public getCoachesViewCoachIcal(\n icalToken: string,\n start?: (string | null),\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/coaches/coach/ics/{ical_token}',\n path: {\n 'ical_token': icalToken,\n },\n query: {\n 'start': start,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * View All Coaches\n * @param offset\n * @param limit\n * @returns any Successful Response\n * @throws ApiError\n */\n public getCoachesViewAllCoaches(\n offset?: number,\n limit: number = 30,\n ): CancelablePromise<(Array | null)> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/coaches/coaches/view/all',\n query: {\n 'offset': offset,\n 'limit': limit,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Open Student Request\n * @param coachId\n * @param lessonRequestId\n * @param requestBody\n * @returns BaseStudentRequest Successful Response\n * @throws ApiError\n */\n public postCoachesOpenStudentRequest(\n coachId: number,\n lessonRequestId: number,\n requestBody: StudentRequestIn,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/v1/coaches/coach/{coach_id}/request/{lesson_request_id}',\n path: {\n 'coach_id': coachId,\n 'lesson_request_id': lessonRequestId,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Close Student Request\n * @param studentRequestId\n * @param approve\n * @returns BaseStudentRequest Successful Response\n * @throws ApiError\n */\n public postCoachesCloseStudentRequest(\n studentRequestId: number,\n approve: boolean = false,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/v1/coaches/coaches/request/{student_request_id}/close',\n path: {\n 'student_request_id': studentRequestId,\n },\n query: {\n 'approve': approve,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * View Coach Via Id Advanced Private\n * @param coachId\n * @returns CoachPrivateInformation Successful Response\n * @throws ApiError\n */\n public getCoachesViewCoachViaIdAdvancedPrivate(\n coachId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/coaches/coach/{coach_id}/private',\n path: {\n 'coach_id': coachId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * View Student Request\n * @param studentRequestId\n * @returns BaseStudentRequest Successful Response\n * @throws ApiError\n */\n public getCoachesViewStudentRequest(\n studentRequestId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/coaches/coaches/request/{student_request_id}/view',\n path: {\n 'student_request_id': studentRequestId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * View Open Student Requests\n * @returns BaseLessonRequestWithOpenStudentRequests Successful Response\n * @throws ApiError\n */\n public getCoachesViewOpenStudentRequests(): CancelablePromise> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/coaches/coaches/requests/view/open',\n errors: {\n 404: `Not found`,\n },\n });\n }\n /**\n * View All Student Requests\n * @returns BaseLessonRequestWithStudentRequests Successful Response\n * @throws ApiError\n */\n public getCoachesViewAllStudentRequests(): CancelablePromise> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/coaches/coaches/requests/view/all',\n errors: {\n 404: `Not found`,\n },\n });\n }\n /**\n * View Coach Hours\n * @param start\n * @param end\n * @returns any Successful Response\n * @throws ApiError\n */\n public getCoachesViewCoachHours(\n start?: (string | null),\n end?: (string | null),\n ): CancelablePromise<(Array | null)> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/coaches/coaches/total_hours',\n query: {\n 'start': start,\n 'end': end,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * View Coach Hours Download\n * @param start\n * @param end\n * @param needCancelled\n * @param needAccorded\n * @returns any Successful Response\n * @throws ApiError\n */\n public getCoachesViewCoachHoursDownload(\n start?: (string | null),\n end?: (string | null),\n needCancelled?: (boolean | null),\n needAccorded?: (boolean | null),\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/coaches/coaches/total_hours/download',\n query: {\n 'start': start,\n 'end': end,\n 'need_cancelled': needCancelled,\n 'need_accorded': needAccorded,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * View Coach Overview\n * ### generate a csv file containing the overview of all coaches who have had lessons within the given period\n *\n * #### Parameters:\n * - `start` (optional): the start date of the period you want to generate the overview for\n * - defaults to the first of the current month\n * - `end` (optional): the end date of the period you want to generate the overview for\n * - defaults to the current date\n *\n * #### Returns:\n * - a csv file containing the overview of all coaches who have had lessons within the given period, in the rabo-format\n * - ask administration for more information about the rabo-format if required\n * @param start\n * @param end\n * @returns any Successful Response\n * @throws ApiError\n */\n public getCoachesViewCoachOverview(\n start?: (string | null),\n end?: (string | null),\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/coaches/coaches/overview/download',\n query: {\n 'start': start,\n 'end': end,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Generate Coach Contract\n * @param coachId\n * @param isLaborContract\n * @returns ContractGeneration Successful Response\n * @throws ApiError\n */\n public getCoachesGenerateCoachContract(\n coachId: number,\n isLaborContract: boolean = false,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/coaches/coach/{coach_id}/contract',\n path: {\n 'coach_id': coachId,\n },\n query: {\n 'is_labor_contract': isLaborContract,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Sign Coach Contract\n * @param coachId\n * @param formData\n * @param isLaborContract\n * @returns any Successful Response\n * @throws ApiError\n */\n public postCoachesSignCoachContract(\n coachId: number,\n formData: Body_sign_coach_contract_v1_coaches_coach__coach_id__signature_post,\n isLaborContract: boolean = false,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/v1/coaches/coach/{coach_id}/signature',\n path: {\n 'coach_id': coachId,\n },\n query: {\n 'is_labor_contract': isLaborContract,\n },\n formData: formData,\n mediaType: 'multipart/form-data',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * View Contracts\n * @param coachId\n * @returns BaseContract Successful Response\n * @throws ApiError\n */\n public getCoachesViewContracts(\n coachId: number,\n ): CancelablePromise> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/coaches/coach/view/contracts/{coach_id}',\n path: {\n 'coach_id': coachId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * View Complete Contracts\n * @param coachId\n * @returns BaseContract Successful Response\n * @throws ApiError\n */\n public getCoachesViewCompleteContracts(\n coachId: number,\n ): CancelablePromise> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/coaches/coach/view/complete/contracts/{coach_id}',\n path: {\n 'coach_id': coachId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Reject Contract\n * @param coachId\n * @returns any Successful Response\n * @throws ApiError\n */\n public postCoachesRejectContract(\n coachId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/v1/coaches/coach/{coach_id}/reject_contract',\n path: {\n 'coach_id': coachId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Verify Coach\n * @param coachId\n * @param verify\n * @returns GenericStatus Successful Response\n * @throws ApiError\n */\n public getCoachesVerifyCoach(\n coachId: number,\n verify: boolean = true,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/coaches/coach/{coach_id}/verify',\n path: {\n 'coach_id': coachId,\n },\n query: {\n 'verify': verify,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Reset Contract\n * @param coachId\n * @param isLaborContract\n * @returns GenericStatus Successful Response\n * @throws ApiError\n */\n public postCoachesResetContract(\n coachId: number,\n isLaborContract: boolean = false,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/v1/coaches/coach/{coach_id}/reset_contract',\n path: {\n 'coach_id': coachId,\n },\n query: {\n 'is_labor_contract': isLaborContract,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Add Id Card Attachment\n * @param coachId\n * @param formData\n * @param isFront\n * @returns CoachPrivateInformation Successful Response\n * @throws ApiError\n */\n public postCoachesAddIdCardAttachment(\n coachId: number,\n formData: Body_add_id_card_attachment_v1_coaches_coach__coach_id__add_id_card_attachment_post,\n isFront: boolean = true,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/v1/coaches/coach/{coach_id}/add_id_card_attachment',\n path: {\n 'coach_id': coachId,\n },\n query: {\n 'is_front': isFront,\n },\n formData: formData,\n mediaType: 'multipart/form-data',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Remove Id\n * @param coachId\n * @returns GenericStatus Successful Response\n * @throws ApiError\n */\n public patchCoachesRemoveId(\n coachId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/v1/coaches/coach/{coach_id}/remove/id',\n path: {\n 'coach_id': coachId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Add Grades Attachment\n * @param coachId\n * @param formData\n * @returns CoachPrivateInformation Successful Response\n * @throws ApiError\n */\n public patchCoachesAddGradesAttachment(\n coachId: number,\n formData: Body_add_grades_attachment_v1_coaches_coach__coach_id__add_grades_attachment_patch,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/v1/coaches/coach/{coach_id}/add_grades_attachment',\n path: {\n 'coach_id': coachId,\n },\n formData: formData,\n mediaType: 'multipart/form-data',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * View Coach Accordance Logs\n * @param coachId\n * @param startDate\n * @param endDate\n * @param limit\n * @param offset\n * @param userId\n * @returns schemas__accordance_logs__BaseLog Successful Response\n * @throws ApiError\n */\n public getCoachesViewCoachAccordanceLogs(\n coachId: number,\n startDate?: (string | null),\n endDate?: (string | null),\n limit: number = 30,\n offset?: number,\n userId?: (number | null),\n ): CancelablePromise> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/coaches/coach/{coach_id}/accordance_logs',\n path: {\n 'coach_id': coachId,\n },\n query: {\n 'start_date': startDate,\n 'end_date': endDate,\n 'limit': limit,\n 'offset': offset,\n 'user_id': userId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Coach Kvk Number\n * @param coachId\n * @returns any Successful Response\n * @throws ApiError\n */\n public getCoachesGetCoachKvkNumber(\n coachId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/coaches/coach/{coach_id}/kvk_number',\n path: {\n 'coach_id': coachId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Edit Coach Kvk Number\n * @param coachId\n * @param kvkNumber\n * @returns any Successful Response\n * @throws ApiError\n */\n public patchCoachesEditCoachKvkNumber(\n coachId: number,\n kvkNumber: string,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/v1/coaches/coach/{coach_id}/kvk_number',\n path: {\n 'coach_id': coachId,\n },\n query: {\n 'kvk_number': kvkNumber,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Coach Vat Number\n * @param coachId\n * @returns any Successful Response\n * @throws ApiError\n */\n public getCoachesGetCoachVatNumber(\n coachId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/coaches/coach/{coach_id}/vat_number',\n path: {\n 'coach_id': coachId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Edit Coach Vat Number\n * @param coachId\n * @param vatNumber\n * @returns any Successful Response\n * @throws ApiError\n */\n public patchCoachesEditCoachVatNumber(\n coachId: number,\n vatNumber: string,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/v1/coaches/coach/{coach_id}/vat_number',\n path: {\n 'coach_id': coachId,\n },\n query: {\n 'vat_number': vatNumber,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Coach Favorite Locations\n * This endpoint returns the favorite locations of a coach\n *\n * Args:\n * - coach_id: int: the id of the coach\n *\n * Returns:\n *\n * - KdvFavoriteBranches: list of favorite branch-locations of the coach and the amount of the total favorite\n *\n * NOTE: This endpoint returns mocking data\n * @param coachId\n * @returns KdvFavoriteBranches Successful Response\n * @throws ApiError\n */\n public getCoachesGetCoachFavoriteLocations(\n coachId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/coaches/coach/{coach_id}/favorite_branches',\n path: {\n 'coach_id': coachId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Edit Coach Active\n * @param isActive\n * @param coachId\n * @returns any Successful Response\n * @throws ApiError\n */\n public patchCoachesEditCoachActive(\n isActive: boolean,\n coachId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/v1/coaches/coach/status/{coach_id}/{is_active}',\n path: {\n 'is_active': isActive,\n 'coach_id': coachId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Coach Salary\n * ### Get Coach Salary\n *\n * Retrieve the salary of a coach.\n *\n * **Permissions Required**:\n * `view_coach_salary`\n * ***found in:***\n * - `permission:can_manage_coaches`\n * - `User` == matching `Coach`\n *\n * **Parameters**:\n * - **salary_type**: `SalaryTypeEnum` object, default is `BIJLES`.\n * - **coach_id**: `int` object, fetched by the path parameter.\n *\n * **Returns**:\n * - `float`: The salary of the coach\n * @param coachId\n * @param salaryType\n * @returns number Successful Response\n * @throws ApiError\n */\n public getFspGetCoachSalaryVLatest(\n coachId: number,\n salaryType: SalaryTypeEnum,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/fsp/fsp_coach/coach/{coach_id}/salary',\n path: {\n 'coach_id': coachId,\n },\n query: {\n 'salary_type': salaryType,\n },\n errors: {\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Edit Coach Salary\n * ### Edit Coach Salary\n *\n * Edit the salary of a coach.\n *\n * **Permissions Required**:\n * `edit_coach_salary`\n * ***found in:***\n * - `permission:can_manage_coaches`\n * - `User` == matching `Coach`\n *\n * **Parameters**:\n * - **coach_id**: `int` object, fetched by the path parameter.\n * - **salary**: `float` object, updated salary value.\n * - **salary_type**: `SalaryTypeEnum` object, default is `bijles`.\n *\n * **Returns**:\n * - `float`: The updated salary of the coach\n * @param coachId\n * @param salary\n * @param salaryType\n * @returns number Successful Response\n * @throws ApiError\n */\n public patchFspEditCoachSalaryVLatest(\n coachId: number,\n salary: number,\n salaryType: SalaryTypeEnum,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/latest/fsp/fsp_coach/coach/{coach_id}/salary',\n path: {\n 'coach_id': coachId,\n },\n query: {\n 'salary': salary,\n 'salary_type': salaryType,\n },\n errors: {\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Create Coach\n * @param requestBody\n * @returns AdvancedCoach Successful Response\n * @throws ApiError\n */\n public postCoachesCreateCoachVLatest(\n requestBody: Body_create_coach_latest_coaches_create_post,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/latest/coaches/create',\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Bulk Add Disciplines To Coach\n * @param coachId\n * @param requestBody\n * @returns RegularCoach Successful Response\n * @throws ApiError\n */\n public patchCoachesBulkAddDisciplinesToCoachVLatest(\n coachId: number,\n requestBody: Array,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/latest/coaches/coach/{coach_id}/add_disciplines/bulk',\n path: {\n 'coach_id': coachId,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Bulk Remove Disciplines From Coach\n * @param coachId\n * @param requestBody\n * @returns RegularCoach Successful Response\n * @throws ApiError\n */\n public patchCoachesBulkRemoveDisciplinesFromCoachVLatest(\n coachId: number,\n requestBody: Array,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/latest/coaches/coach/{coach_id}/remove_disciplines/bulk',\n path: {\n 'coach_id': coachId,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Add Location To Coach\n * @param coachId\n * @param requestBody\n * @returns RegularCoach Successful Response\n * @throws ApiError\n */\n public postCoachesAddLocationToCoachVLatest(\n coachId: number,\n requestBody: UserLocationIn,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/latest/coaches/coach/{coach_id}/add_location',\n path: {\n 'coach_id': coachId,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Add Student To Coach\n * @param coachId\n * @param studentId\n * @returns RegularCoach Successful Response\n * @throws ApiError\n */\n public postCoachesAddStudentToCoachVLatest(\n coachId: number,\n studentId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/latest/coaches/coach/{coach_id}/students/{student_id}/add',\n path: {\n 'coach_id': coachId,\n 'student_id': studentId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * View Coach Via Id\n * @param coachId\n * @returns RegularCoach Successful Response\n * @throws ApiError\n */\n public getCoachesViewCoachViaIdVLatest(\n coachId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/coaches/coach/{coach_id}',\n path: {\n 'coach_id': coachId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Edit Coach\n * @param coachId\n * @param requestBody\n * @returns RegularCoach Successful Response\n * @throws ApiError\n */\n public patchCoachesEditCoachVLatest(\n coachId: number,\n requestBody: CoachEdit,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/latest/coaches/coach/{coach_id}',\n path: {\n 'coach_id': coachId,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * View Coach Via Id Advanced\n * @param coachId\n * @returns AdvancedCoach Successful Response\n * @throws ApiError\n */\n public getCoachesViewCoachViaIdAdvancedVLatest(\n coachId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/coaches/coach/{coach_id}/advanced',\n path: {\n 'coach_id': coachId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Edit Coach Advanced\n * @param coachId\n * @param requestBody\n * @returns RegularCoach Successful Response\n * @throws ApiError\n */\n public patchCoachesEditCoachAdvancedVLatest(\n coachId: number,\n requestBody: CoachEditAdvanced,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/latest/coaches/coach/{coach_id}/advanced',\n path: {\n 'coach_id': coachId,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * View Coach Via Key\n * @param key\n * @returns RegularCoach Successful Response\n * @throws ApiError\n */\n public getCoachesViewCoachViaKeyVLatest(\n key: string,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/coaches/coach/key/{key}',\n path: {\n 'key': key,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * View Coach Via Key Advanced\n * @param key\n * @returns AdvancedCoach Successful Response\n * @throws ApiError\n */\n public getCoachesViewCoachViaKeyAdvancedVLatest(\n key: string,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/coaches/coach/key/{key}/advanced',\n path: {\n 'key': key,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Add Availability To Coach\n * @param coachId\n * @param userLocationId\n * @param requestBody\n * @returns BaseAvailability Successful Response\n * @throws ApiError\n */\n public postCoachesAddAvailabilityToCoachVLatest(\n coachId: number,\n userLocationId: number,\n requestBody: AvailabilityIn,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/latest/coaches/coach/{coach_id}/add_availability/location/{user_location_id}',\n path: {\n 'coach_id': coachId,\n 'user_location_id': userLocationId,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Update Availability To Coach\n * @param coachId\n * @returns any Successful Response\n * @throws ApiError\n */\n public postCoachesUpdateAvailabilityToCoachVLatest(\n coachId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/latest/coaches/coach/{coach_id}/update_availability/maintain',\n path: {\n 'coach_id': coachId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Edit User Location\n * @param userLocationId\n * @param requestBody\n * @returns BaseUserLocation Successful Response\n * @throws ApiError\n */\n public patchCoachesEditUserLocationVLatest(\n userLocationId: number,\n requestBody: UserLocationIn,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/latest/coaches/coach/location/{user_location_id}/edit',\n path: {\n 'user_location_id': userLocationId,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Delete User Location\n * @param userLocationId\n * @returns GenericStatus Successful Response\n * @throws ApiError\n */\n public deleteCoachesDeleteUserLocationVLatest(\n userLocationId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'DELETE',\n url: '/latest/coaches/coach/location/{user_location_id}/delete',\n path: {\n 'user_location_id': userLocationId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Set Coach To Inactive\n * @param coachId\n * @returns RegularCoach Successful Response\n * @throws ApiError\n */\n public patchCoachesSetCoachToInactiveVLatest(\n coachId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/latest/coaches/coach/{coach_id}/set_inactive',\n path: {\n 'coach_id': coachId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Edit Availability\n * @param availabilityId\n * @param requestBody\n * @returns BaseAvailability Successful Response\n * @throws ApiError\n */\n public patchCoachesEditAvailabilityVLatest(\n availabilityId: number,\n requestBody: AvailabilityEdit,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/latest/coaches/coach/availability/{availability_id}/edit',\n path: {\n 'availability_id': availabilityId,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Change Availability Location\n * @param availabilityId\n * @param userLocationId\n * @returns BaseAvailability Successful Response\n * @throws ApiError\n */\n public patchCoachesChangeAvailabilityLocationVLatest(\n availabilityId: number,\n userLocationId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/latest/coaches/coach/availability/{availability_id}/change_location/{user_location_id}',\n path: {\n 'availability_id': availabilityId,\n 'user_location_id': userLocationId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Delete Availability\n * @param availabilityId\n * @returns GenericStatus Successful Response\n * @throws ApiError\n */\n public deleteCoachesDeleteAvailabilityVLatest(\n availabilityId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'DELETE',\n url: '/latest/coaches/coach/availability/{availability_id}/delete',\n path: {\n 'availability_id': availabilityId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Change Pipe For Coach\n * @param pipeId\n * @param coachId\n * @returns AdvancedCoach Successful Response\n * @throws ApiError\n */\n public patchCoachesChangePipeForCoachVLatest(\n pipeId: number,\n coachId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/latest/coaches/coach/{coach_id}/change_pipe/{pipe_id}',\n path: {\n 'pipe_id': pipeId,\n 'coach_id': coachId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Pin Coach\n * @param coachId\n * @returns GenericStatus Successful Response\n * @throws ApiError\n */\n public patchCoachesPinCoachVLatest(\n coachId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/latest/coaches/coach/{coach_id}/pin',\n path: {\n 'coach_id': coachId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Unpin Coach\n * @param coachId\n * @returns GenericStatus Successful Response\n * @throws ApiError\n */\n public patchCoachesUnpinCoachVLatest(\n coachId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/latest/coaches/coach/{coach_id}/unpin',\n path: {\n 'coach_id': coachId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Set Coach Unvisible\n * @param coachId\n * @returns GenericStatus Successful Response\n * @throws ApiError\n */\n public patchCoachesSetCoachUnvisibleVLatest(\n coachId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/latest/coaches/coach/{coach_id}/set_unvisible',\n path: {\n 'coach_id': coachId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Set Coach Visible\n * @param coachId\n * @returns GenericStatus Successful Response\n * @throws ApiError\n */\n public patchCoachesSetCoachVisibleVLatest(\n coachId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/latest/coaches/coach/{coach_id}/set_visible',\n path: {\n 'coach_id': coachId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Pipe Log\n * @param coachId\n * @param offset\n * @param limit\n * @returns any Successful Response\n * @throws ApiError\n */\n public getCoachesGetPipeLogVLatest(\n coachId: number,\n offset?: number,\n limit: number = 500,\n ): CancelablePromise<(Array | null)> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/coaches/coach/{coach_id}/pipe_log',\n path: {\n 'coach_id': coachId,\n },\n query: {\n 'offset': offset,\n 'limit': limit,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * View Coach Schedule\n * @param coachId\n * @param start\n * @param end\n * @returns any Successful Response\n * @throws ApiError\n */\n public getCoachesViewCoachScheduleVLatest(\n coachId: number,\n start?: (string | null),\n end?: (string | null),\n ): CancelablePromise<(Array | null)> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/coaches/coach/{coach_id}/schedule',\n path: {\n 'coach_id': coachId,\n },\n query: {\n 'start': start,\n 'end': end,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Tag Coach\n * @param coachId\n * @param tagId\n * @returns AdvancedCoach Successful Response\n * @throws ApiError\n */\n public postCoachesTagCoachVLatest(\n coachId: number,\n tagId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/latest/coaches/coach/{coach_id}/tag/{tag_id}',\n path: {\n 'coach_id': coachId,\n 'tag_id': tagId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Untag Coach\n * @param coachId\n * @param tagId\n * @returns AdvancedCoach Successful Response\n * @throws ApiError\n */\n public deleteCoachesUntagCoachVLatest(\n coachId: number,\n tagId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'DELETE',\n url: '/latest/coaches/coach/{coach_id}/tag/{tag_id}',\n path: {\n 'coach_id': coachId,\n 'tag_id': tagId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * View All Tags\n * @returns any Successful Response\n * @throws ApiError\n */\n public getCoachesViewAllTagsVLatest(): CancelablePromise<(Array | null)> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/coaches/coach/tags/all',\n errors: {\n 404: `Not found`,\n },\n });\n }\n /**\n * Add Profile Picture\n * @param coachId\n * @param formData\n * @returns RegularCoach Successful Response\n * @throws ApiError\n */\n public patchCoachesAddProfilePictureVLatest(\n coachId: number,\n formData: Body_add_profile_picture_latest_coaches_coach__coach_id__add_profile_picture_patch,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/latest/coaches/coach/{coach_id}/add_profile_picture',\n path: {\n 'coach_id': coachId,\n },\n formData: formData,\n mediaType: 'multipart/form-data',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Add Profile Picture Base64\n * `!!!` __This endpoint is not in working condition via SwaggerUI, but works via the generated react-native api in the apps.__ `!!!`\n * @param coachId\n * @param requestBody\n * @returns RegularCoach Successful Response\n * @throws ApiError\n */\n public postCoachesAddProfilePictureBase64VLatest(\n coachId: number,\n requestBody: FileUploadBase64,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/latest/coaches/coach/{coach_id}/add_profile_picture_base64',\n path: {\n 'coach_id': coachId,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Remove Profile Picture\n * @param coachId\n * @returns RegularCoach Successful Response\n * @throws ApiError\n */\n public deleteCoachesRemoveProfilePictureVLatest(\n coachId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'DELETE',\n url: '/latest/coaches/coach/{coach_id}/remove_profile_picture',\n path: {\n 'coach_id': coachId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * View Coach Students\n * @param coachId\n * @returns SimpleStudentWithGuardian Successful Response\n * @throws ApiError\n */\n public getCoachesViewCoachStudentsVLatest(\n coachId: number,\n ): CancelablePromise> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/coaches/coach/{coach_id}/students',\n path: {\n 'coach_id': coachId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * View Coach Lessons Count\n * @param coachId\n * @returns any Successful Response\n * @throws ApiError\n */\n public getCoachesViewCoachLessonsCountVLatest(\n coachId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/coaches/coach/{coach_id}/lessons/count',\n path: {\n 'coach_id': coachId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * View Coach Students Financial\n * @param coachId\n * @param year\n * @param month\n * @param showDisputed\n * @returns StudentCoachFinancialMontly Successful Response\n * @throws ApiError\n */\n public getCoachesViewCoachStudentsFinancialVLatest(\n coachId: number,\n year: number = 2024,\n month: number = 12,\n showDisputed: boolean = false,\n ): CancelablePromise> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/coaches/coach/{coach_id}/students/financial',\n path: {\n 'coach_id': coachId,\n },\n query: {\n 'year': year,\n 'month': month,\n 'show_disputed': showDisputed,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * View Coach Students Financial Unaccorded Months\n * @param coachId\n * @returns CoachUnaccordedMonths Successful Response\n * @throws ApiError\n */\n public getCoachesViewCoachStudentsFinancialUnaccordedMonthsVLatest(\n coachId: number,\n ): CancelablePromise> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/coaches/coach/{coach_id}/students/financial/unaccorded_months',\n path: {\n 'coach_id': coachId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * View Coach To Accord\n * @param coachId\n * @param year\n * @param month\n * @param showDisputed\n * @returns ToAccordLessonSchema Successful Response\n * @throws ApiError\n */\n public getCoachesViewCoachToAccordVLatest(\n coachId: number,\n year: number = 2024,\n month: number = 12,\n showDisputed: boolean = false,\n ): CancelablePromise> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/coaches/coach/{coach_id}/to_accord',\n path: {\n 'coach_id': coachId,\n },\n query: {\n 'year': year,\n 'month': month,\n 'show_disputed': showDisputed,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Coach Accordance\n * @param coachId\n * @param month\n * @param year\n * @param force\n * @param showDisputed\n * @returns GenericStatus Successful Response\n * @throws ApiError\n */\n public postCoachesCoachAccordanceVLatest(\n coachId: number,\n month: number,\n year: number,\n force: boolean = false,\n showDisputed: boolean = false,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/latest/coaches/coach/{coach_id}/accordance',\n path: {\n 'coach_id': coachId,\n },\n query: {\n 'month': month,\n 'year': year,\n 'force': force,\n 'show_disputed': showDisputed,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Coach Accordance Snapshots\n * @param coachId\n * @returns CoachAccordanceSnapshot Successful Response\n * @throws ApiError\n */\n public getCoachesCoachAccordanceSnapshotsVLatest(\n coachId: number,\n ): CancelablePromise> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/coaches/coach/{coach_id}/snapshots',\n path: {\n 'coach_id': coachId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Coach Unaccordance\n * @param coachId\n * @param month\n * @param year\n * @param force\n * @returns GenericStatus Successful Response\n * @throws ApiError\n */\n public patchCoachesCoachUnaccordanceVLatest(\n coachId: number,\n month: number,\n year: number,\n force: boolean = false,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/latest/coaches/coach/{coach_id}/unaccord',\n path: {\n 'coach_id': coachId,\n },\n query: {\n 'month': month,\n 'year': year,\n 'force': force,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * View Unaccorded Coaches\n * @param start\n * @param end\n * @returns any Successful Response\n * @throws ApiError\n */\n public getCoachesViewUnaccordedCoachesVLatest(\n start?: (string | null),\n end?: (string | null),\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/coaches/unaccorded_coaches',\n query: {\n 'start': start,\n 'end': end,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Update Coach Student\n * @param studentId\n * @param coachId\n * @param requestBody\n * @returns GenericStatus Successful Response\n * @throws ApiError\n */\n public patchCoachesUpdateCoachStudentVLatest(\n studentId: number,\n coachId: number,\n requestBody: BaseStudentCoachesEdit,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/latest/coaches/coach/{coach_id}/update_student/{student_id}',\n path: {\n 'student_id': studentId,\n 'coach_id': coachId,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * View Coach Student\n * @param studentId\n * @returns any Successful Response\n * @throws ApiError\n */\n public getCoachesViewCoachStudentVLatest(\n studentId: number,\n ): CancelablePromise<(SimpleStudentWithGuardian | null)> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/coaches/coach/student/{student_id}',\n path: {\n 'student_id': studentId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * View Student Coach\n * @param coachId\n * @returns BaseStudentCoach Successful Response\n * @throws ApiError\n */\n public getCoachesViewStudentCoachVLatest(\n coachId: number,\n ): CancelablePromise> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/coaches/coach/{coach_id}/student_coach',\n path: {\n 'coach_id': coachId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * View Salary\n * @param coachId\n * @param year\n * @param month\n * @returns CoachSalary Successful Response\n * @throws ApiError\n */\n public getCoachesViewSalaryVLatest(\n coachId: number,\n year: number = 2025,\n month: number = 1,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/coaches/coach/{coach_id}/salary',\n path: {\n 'coach_id': coachId,\n },\n query: {\n 'year': year,\n 'month': month,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * View Coach Notes\n * @param coachId\n * @returns any Successful Response\n * @throws ApiError\n */\n public getCoachesViewCoachNotesVLatest(\n coachId: number,\n ): CancelablePromise<(Array | null)> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/coaches/view/{coach_id}/notes',\n path: {\n 'coach_id': coachId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Add Coach Note\n * @param coachId\n * @param requestBody\n * @returns BaseNote Successful Response\n * @throws ApiError\n */\n public postCoachesAddCoachNoteVLatest(\n coachId: number,\n requestBody: NoteIn,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/latest/coaches/view/{coach_id}/notes',\n path: {\n 'coach_id': coachId,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * View Coach Ical\n * @param icalToken\n * @param start\n * @returns any Successful Response\n * @throws ApiError\n */\n public getCoachesViewCoachIcalVLatest(\n icalToken: string,\n start?: (string | null),\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/coaches/coach/ics/{ical_token}',\n path: {\n 'ical_token': icalToken,\n },\n query: {\n 'start': start,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * View All Coaches\n * @param offset\n * @param limit\n * @returns any Successful Response\n * @throws ApiError\n */\n public getCoachesViewAllCoachesVLatest(\n offset?: number,\n limit: number = 30,\n ): CancelablePromise<(Array | null)> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/coaches/coaches/view/all',\n query: {\n 'offset': offset,\n 'limit': limit,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Open Student Request\n * @param coachId\n * @param lessonRequestId\n * @param requestBody\n * @returns BaseStudentRequest Successful Response\n * @throws ApiError\n */\n public postCoachesOpenStudentRequestVLatest(\n coachId: number,\n lessonRequestId: number,\n requestBody: StudentRequestIn,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/latest/coaches/coach/{coach_id}/request/{lesson_request_id}',\n path: {\n 'coach_id': coachId,\n 'lesson_request_id': lessonRequestId,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Close Student Request\n * @param studentRequestId\n * @param approve\n * @returns BaseStudentRequest Successful Response\n * @throws ApiError\n */\n public postCoachesCloseStudentRequestVLatest(\n studentRequestId: number,\n approve: boolean = false,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/latest/coaches/coaches/request/{student_request_id}/close',\n path: {\n 'student_request_id': studentRequestId,\n },\n query: {\n 'approve': approve,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * View Coach Via Id Advanced Private\n * @param coachId\n * @returns CoachPrivateInformation Successful Response\n * @throws ApiError\n */\n public getCoachesViewCoachViaIdAdvancedPrivateVLatest(\n coachId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/coaches/coach/{coach_id}/private',\n path: {\n 'coach_id': coachId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * View Student Request\n * @param studentRequestId\n * @returns BaseStudentRequest Successful Response\n * @throws ApiError\n */\n public getCoachesViewStudentRequestVLatest(\n studentRequestId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/coaches/coaches/request/{student_request_id}/view',\n path: {\n 'student_request_id': studentRequestId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * View Open Student Requests\n * @returns BaseLessonRequestWithOpenStudentRequests Successful Response\n * @throws ApiError\n */\n public getCoachesViewOpenStudentRequestsVLatest(): CancelablePromise> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/coaches/coaches/requests/view/open',\n errors: {\n 404: `Not found`,\n },\n });\n }\n /**\n * View All Student Requests\n * @returns BaseLessonRequestWithStudentRequests Successful Response\n * @throws ApiError\n */\n public getCoachesViewAllStudentRequestsVLatest(): CancelablePromise> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/coaches/coaches/requests/view/all',\n errors: {\n 404: `Not found`,\n },\n });\n }\n /**\n * View Coach Hours\n * @param start\n * @param end\n * @returns any Successful Response\n * @throws ApiError\n */\n public getCoachesViewCoachHoursVLatest(\n start?: (string | null),\n end?: (string | null),\n ): CancelablePromise<(Array | null)> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/coaches/coaches/total_hours',\n query: {\n 'start': start,\n 'end': end,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * View Coach Hours Download\n * @param start\n * @param end\n * @param needCancelled\n * @param needAccorded\n * @returns any Successful Response\n * @throws ApiError\n */\n public getCoachesViewCoachHoursDownloadVLatest(\n start?: (string | null),\n end?: (string | null),\n needCancelled?: (boolean | null),\n needAccorded?: (boolean | null),\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/coaches/coaches/total_hours/download',\n query: {\n 'start': start,\n 'end': end,\n 'need_cancelled': needCancelled,\n 'need_accorded': needAccorded,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * View Coach Overview\n * ### generate a csv file containing the overview of all coaches who have had lessons within the given period\n *\n * #### Parameters:\n * - `start` (optional): the start date of the period you want to generate the overview for\n * - defaults to the first of the current month\n * - `end` (optional): the end date of the period you want to generate the overview for\n * - defaults to the current date\n *\n * #### Returns:\n * - a csv file containing the overview of all coaches who have had lessons within the given period, in the rabo-format\n * - ask administration for more information about the rabo-format if required\n * @param start\n * @param end\n * @returns any Successful Response\n * @throws ApiError\n */\n public getCoachesViewCoachOverviewVLatest(\n start?: (string | null),\n end?: (string | null),\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/coaches/coaches/overview/download',\n query: {\n 'start': start,\n 'end': end,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Generate Coach Contract\n * @param coachId\n * @param isLaborContract\n * @returns ContractGeneration Successful Response\n * @throws ApiError\n */\n public getCoachesGenerateCoachContractVLatest(\n coachId: number,\n isLaborContract: boolean = false,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/coaches/coach/{coach_id}/contract',\n path: {\n 'coach_id': coachId,\n },\n query: {\n 'is_labor_contract': isLaborContract,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Sign Coach Contract\n * @param coachId\n * @param formData\n * @param isLaborContract\n * @returns any Successful Response\n * @throws ApiError\n */\n public postCoachesSignCoachContractVLatest(\n coachId: number,\n formData: Body_sign_coach_contract_latest_coaches_coach__coach_id__signature_post,\n isLaborContract: boolean = false,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/latest/coaches/coach/{coach_id}/signature',\n path: {\n 'coach_id': coachId,\n },\n query: {\n 'is_labor_contract': isLaborContract,\n },\n formData: formData,\n mediaType: 'multipart/form-data',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * View Contracts\n * @param coachId\n * @returns BaseContract Successful Response\n * @throws ApiError\n */\n public getCoachesViewContractsVLatest(\n coachId: number,\n ): CancelablePromise> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/coaches/coach/view/contracts/{coach_id}',\n path: {\n 'coach_id': coachId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * View Complete Contracts\n * @param coachId\n * @returns BaseContract Successful Response\n * @throws ApiError\n */\n public getCoachesViewCompleteContractsVLatest(\n coachId: number,\n ): CancelablePromise> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/coaches/coach/view/complete/contracts/{coach_id}',\n path: {\n 'coach_id': coachId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Reject Contract\n * @param coachId\n * @returns any Successful Response\n * @throws ApiError\n */\n public postCoachesRejectContractVLatest(\n coachId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/latest/coaches/coach/{coach_id}/reject_contract',\n path: {\n 'coach_id': coachId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Verify Coach\n * @param coachId\n * @param verify\n * @returns GenericStatus Successful Response\n * @throws ApiError\n */\n public getCoachesVerifyCoachVLatest(\n coachId: number,\n verify: boolean = true,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/coaches/coach/{coach_id}/verify',\n path: {\n 'coach_id': coachId,\n },\n query: {\n 'verify': verify,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Reset Contract\n * @param coachId\n * @param isLaborContract\n * @returns GenericStatus Successful Response\n * @throws ApiError\n */\n public postCoachesResetContractVLatest(\n coachId: number,\n isLaborContract: boolean = false,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/latest/coaches/coach/{coach_id}/reset_contract',\n path: {\n 'coach_id': coachId,\n },\n query: {\n 'is_labor_contract': isLaborContract,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Add Id Card Attachment\n * @param coachId\n * @param formData\n * @param isFront\n * @returns CoachPrivateInformation Successful Response\n * @throws ApiError\n */\n public postCoachesAddIdCardAttachmentVLatest(\n coachId: number,\n formData: Body_add_id_card_attachment_latest_coaches_coach__coach_id__add_id_card_attachment_post,\n isFront: boolean = true,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/latest/coaches/coach/{coach_id}/add_id_card_attachment',\n path: {\n 'coach_id': coachId,\n },\n query: {\n 'is_front': isFront,\n },\n formData: formData,\n mediaType: 'multipart/form-data',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Remove Id\n * @param coachId\n * @returns GenericStatus Successful Response\n * @throws ApiError\n */\n public patchCoachesRemoveIdVLatest(\n coachId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/latest/coaches/coach/{coach_id}/remove/id',\n path: {\n 'coach_id': coachId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Add Grades Attachment\n * @param coachId\n * @param formData\n * @returns CoachPrivateInformation Successful Response\n * @throws ApiError\n */\n public patchCoachesAddGradesAttachmentVLatest(\n coachId: number,\n formData: Body_add_grades_attachment_latest_coaches_coach__coach_id__add_grades_attachment_patch,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/latest/coaches/coach/{coach_id}/add_grades_attachment',\n path: {\n 'coach_id': coachId,\n },\n formData: formData,\n mediaType: 'multipart/form-data',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * View Coach Accordance Logs\n * @param coachId\n * @param startDate\n * @param endDate\n * @param limit\n * @param offset\n * @param userId\n * @returns schemas__accordance_logs__BaseLog Successful Response\n * @throws ApiError\n */\n public getCoachesViewCoachAccordanceLogsVLatest(\n coachId: number,\n startDate?: (string | null),\n endDate?: (string | null),\n limit: number = 30,\n offset?: number,\n userId?: (number | null),\n ): CancelablePromise> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/coaches/coach/{coach_id}/accordance_logs',\n path: {\n 'coach_id': coachId,\n },\n query: {\n 'start_date': startDate,\n 'end_date': endDate,\n 'limit': limit,\n 'offset': offset,\n 'user_id': userId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Coach Kvk Number\n * @param coachId\n * @returns any Successful Response\n * @throws ApiError\n */\n public getCoachesGetCoachKvkNumberVLatest(\n coachId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/coaches/coach/{coach_id}/kvk_number',\n path: {\n 'coach_id': coachId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Edit Coach Kvk Number\n * @param coachId\n * @param kvkNumber\n * @returns any Successful Response\n * @throws ApiError\n */\n public patchCoachesEditCoachKvkNumberVLatest(\n coachId: number,\n kvkNumber: string,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/latest/coaches/coach/{coach_id}/kvk_number',\n path: {\n 'coach_id': coachId,\n },\n query: {\n 'kvk_number': kvkNumber,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Coach Vat Number\n * @param coachId\n * @returns any Successful Response\n * @throws ApiError\n */\n public getCoachesGetCoachVatNumberVLatest(\n coachId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/coaches/coach/{coach_id}/vat_number',\n path: {\n 'coach_id': coachId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Edit Coach Vat Number\n * @param coachId\n * @param vatNumber\n * @returns any Successful Response\n * @throws ApiError\n */\n public patchCoachesEditCoachVatNumberVLatest(\n coachId: number,\n vatNumber: string,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/latest/coaches/coach/{coach_id}/vat_number',\n path: {\n 'coach_id': coachId,\n },\n query: {\n 'vat_number': vatNumber,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Coach Favorite Locations\n * This endpoint returns the favorite locations of a coach\n *\n * Args:\n * - coach_id: int: the id of the coach\n *\n * Returns:\n *\n * - KdvFavoriteBranches: list of favorite branch-locations of the coach and the amount of the total favorite\n *\n * NOTE: This endpoint returns mocking data\n * @param coachId\n * @returns KdvFavoriteBranches Successful Response\n * @throws ApiError\n */\n public getCoachesGetCoachFavoriteLocationsVLatest(\n coachId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/coaches/coach/{coach_id}/favorite_branches',\n path: {\n 'coach_id': coachId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Edit Coach Active\n * @param isActive\n * @param coachId\n * @returns any Successful Response\n * @throws ApiError\n */\n public patchCoachesEditCoachActiveVLatest(\n isActive: boolean,\n coachId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/latest/coaches/coach/status/{coach_id}/{is_active}',\n path: {\n 'is_active': isActive,\n 'coach_id': coachId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n}\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\nimport type { Body_upload_declaration_file_latest_fsp_declarations_declaration__declaration_id__file_put } from '../models/Body_upload_declaration_file_latest_fsp_declarations_declaration__declaration_id__file_put';\nimport type { Body_upload_declaration_file_v1_fsp_declarations_declaration__declaration_id__file_put } from '../models/Body_upload_declaration_file_v1_fsp_declarations_declaration__declaration_id__file_put';\nimport type { DeclarationEditSchema } from '../models/DeclarationEditSchema';\nimport type { DeclarationInSchema } from '../models/DeclarationInSchema';\nimport type { DeclarationListOutSchema } from '../models/DeclarationListOutSchema';\nimport type { DeclarationOutSchema } from '../models/DeclarationOutSchema';\nimport type { EnumDeclarationReviewStatus } from '../models/EnumDeclarationReviewStatus';\nimport type { FileUploadBase64 } from '../models/FileUploadBase64';\nimport type { CancelablePromise } from '../core/CancelablePromise';\nimport type { BaseHttpRequest } from '../core/BaseHttpRequest';\nexport class DeclarationsService {\n constructor(public readonly httpRequest: BaseHttpRequest) {}\n /**\n * Get Declarations\n * ### Get Declarations\n *\n * Retrieve all declarations.\n *\n * **Permissions Required**:\n * `permission:can_manage_declarations`\n *\n * **Parameters**:\n * - Optional **declaration_status**: `EnumDeclarationReviewStatus` object to filter declarations by status, default: None.\n * - Optional **limit**: `int` object to limit the number of declarations returned, default: 100.\n * - Optional **offset**: `int` object to offset the number of declarations returned, default: 0.\n *\n * **Returns**:\n * - ListSchema: List of declarations with metadata.\n *\n * ** Future Improvements **:\n * - Add ordering to parameters\n * @param declarationStatus\n * @param limit\n * @param offset\n * @returns DeclarationListOutSchema Successful Response\n * @throws ApiError\n */\n public getFspGetDeclarations(\n declarationStatus?: (EnumDeclarationReviewStatus | null),\n limit?: (number | null),\n offset?: (number | null),\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/fsp/declarations/declarations',\n query: {\n 'declaration_status': declarationStatus,\n 'limit': limit,\n 'offset': offset,\n },\n errors: {\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Coach Declarations\n * ### Get Coach Declarations\n *\n * Retrieve all declarations associated with a specific coach.\n *\n * **Permissions Required**:\n * `view_coach_declarations`\n * ***found in:***\n * - `permission:can_manage_declarations`\n * - `User` == matching `Coach`\n *\n * **Parameters**:\n * - **coach**: `Coach` object, fetched by the path parameter.\n * - Optional **declaration_status**: `EnumDeclarationReviewStatus` object to filter declarations by status.\n * - Optional **limit**: `int` object to limit the number of declarations returned.\n * - Optional **offset**: `int` object to offset the number of declarations returned.\n *\n * **Returns**:\n * - `List[DeclarationOutSchema]`: List of declarations for the specified coach.\n * @param coachId\n * @param declarationStatus\n * @param limit\n * @param offset\n * @returns DeclarationListOutSchema Successful Response\n * @throws ApiError\n */\n public getFspGetCoachDeclarations(\n coachId: number,\n declarationStatus?: (EnumDeclarationReviewStatus | null),\n limit?: (number | null),\n offset?: (number | null),\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/fsp/declarations/{coach_id}/declarations',\n path: {\n 'coach_id': coachId,\n },\n query: {\n 'declaration_status': declarationStatus,\n 'limit': limit,\n 'offset': offset,\n },\n errors: {\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Create Coach Declaration\n * ### Create Coach Declaration\n *\n * Create a new declaration for a specific coach.\n *\n * **Permissions Required**:\n * `create_declaration`\n * ***found in:***\n * - `permission:can_manage_declarations`\n * - `User` == matching `Coach`\n *\n * **Parameters**:\n * - **declaration_in**: `DeclarationInSchema` object containing the declaration details.\n * - **coach**: `Coach` object, fetched by the path parameter.\n *\n * **Returns**:\n * - `DeclarationOutSchema`: The created declaration object.\n * @param coachId\n * @param requestBody\n * @returns DeclarationOutSchema Successful Response\n * @throws ApiError\n */\n public postFspCreateCoachDeclaration(\n coachId: number,\n requestBody: DeclarationInSchema,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/v1/fsp/declarations/{coach_id}/declaration',\n path: {\n 'coach_id': coachId,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Upload Declaration File\n * ### Upload Declaration File\n *\n * Upload a file for a specific declaration.\n *\n * **Permissions Required**:\n * `DeclarationPermission.EDIT`\n * ***found in:***\n * - `permission:can_manage_declarations`\n * - `User` == matching `Coach`\n *\n * **Parameters**:\n * - **declaration**: `Declaration` object, fetched by path parameter.\n * - **file**: `UploadFile` object containing the file to upload.\n *\n * **Returns**:\n * - `DeclarationOutSchema`: The updated declaration object.\n *\n * **Exceptions**:\n * - Raises a 400 error if the file size is too large. (default max size is 10MB)\n * - Raises a 400 error if the file type is not allowed. (only PDF, Word, and images are allowed)\n * - Raises a 400 error if the file upload fails.\n * @param declarationId\n * @param formData\n * @returns DeclarationOutSchema Successful Response\n * @throws ApiError\n */\n public putFspUploadDeclarationFile(\n declarationId: number,\n formData: Body_upload_declaration_file_v1_fsp_declarations_declaration__declaration_id__file_put,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PUT',\n url: '/v1/fsp/declarations/declaration/{declaration_id}/file',\n path: {\n 'declaration_id': declarationId,\n },\n formData: formData,\n mediaType: 'multipart/form-data',\n errors: {\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Upload Declaration File Base64\n * ### Upload Declaration File\n *\n * Upload a file for a specific declaration.\n *\n * **Permissions Required**:\n * `DeclarationPermission.EDIT`\n * ***found in:***\n * - `permission:can_manage_declarations`\n * __OR__\n * - `User` == matching `Coach`\n *\n * **Parameters**:\n * - **declaration**: `Declaration` object, fetched by path parameter.\n * - BODY element is the file encoded in base64.\n *\n * **Returns**:\n * - `DeclarationOutSchema`: The updated declaration object.\n *\n * **Exceptions**:\n * - Raises a 400 error if the file size is too large. (default max size is 10MB)\n * - Raises a 400 error if the file type is not allowed. (only PDF, Word, images are allowed)\n * - Raises a 400 error if the file upload fails.\n *\n * `!!!` The mime type extractions is still experimental, so if any expected allowed mime_type is rejected, report the issue`!!!`\n *\n * `!!!` __This endpoint is not in working condition via SwaggerUI, but works via the generated react-native api in the apps.__ `!!!`\n * @param declarationId\n * @param requestBody\n * @returns DeclarationOutSchema Successful Response\n * @throws ApiError\n */\n public putFspUploadDeclarationFileBase64(\n declarationId: number,\n requestBody: FileUploadBase64,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PUT',\n url: '/v1/fsp/declarations/declaration/{declaration_id}/file_base64',\n path: {\n 'declaration_id': declarationId,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Delete Declaration\n * ### Delete Declaration\n *\n * Delete a specific declaration.\n *\n * **Permissions Required**:\n * `DeclarationPermission.DELETE`\n * ***found in:***\n * - `permission:can_manage_declarations`\n * - `User` == matching `Coach`\n *\n * **Parameters**:\n * - **declaration**: `Declaration` object, fetched by path parameter.\n *\n * **Returns**:\n * - `dict`: Message confirming deletion of the declaration.\n * @param declarationId\n * @returns any Successful Response\n * @throws ApiError\n */\n public deleteFspDeleteDeclaration(\n declarationId: number,\n ): CancelablePromise> {\n return this.httpRequest.request({\n method: 'DELETE',\n url: '/v1/fsp/declarations/declaration/{declaration_id}',\n path: {\n 'declaration_id': declarationId,\n },\n errors: {\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Review Declaration\n * ### Review Declaration\n *\n * Update the review status of a specific declaration.\n *\n * **Permissions Required**:\n * `DeclarationPermission.REVIEW`\n * ***found in:***\n * - `permission:can_manage_declarations`\n *\n * **Parameters**:\n * - **updated_at**: `datetime` object to check if the declaration has been updated by another user.\n * - **review_status**: `EnumDeclarationReviewStatus` object for the new review status.\n * - **declaration**: `Declaration` object, fetched by path parameter.\n *\n * **Returns**:\n * - `DeclarationOutSchema`: The updated declaration with the new review status.\n * @param reviewStatus\n * @param declarationId\n * @param updatedAt\n * @returns DeclarationOutSchema Successful Response\n * @throws ApiError\n */\n public patchFspReviewDeclaration(\n reviewStatus: EnumDeclarationReviewStatus,\n declarationId: number,\n updatedAt: string,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/v1/fsp/declarations/declaration/{declaration_id}/review/{review_status}',\n path: {\n 'review_status': reviewStatus,\n 'declaration_id': declarationId,\n },\n query: {\n 'updated_at': updatedAt,\n },\n errors: {\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Edit Declaration\n * ### Edit Declaration\n *\n * Edit an existing declaration.\n *\n * **Permissions Required**:\n * - permission:can_manage_declarations\n * -- OR --\n * - user == matching coach\n *\n * **Parameters**:\n * - **declaration_edit**: `DeclarationEditSchema` object containing updated declaration details.\n * - **declaration**: `Declaration` object, fetched by path parameter.\n *\n * **Returns**:\n * - `DeclarationOutSchema`: The edited declaration object.\n * @param declarationId\n * @param requestBody\n * @returns DeclarationOutSchema Successful Response\n * @throws ApiError\n */\n public patchFspEditDeclaration(\n declarationId: number,\n requestBody: DeclarationEditSchema,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/v1/fsp/declarations/declaration/{declaration_id}/edit',\n path: {\n 'declaration_id': declarationId,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Declarations\n * ### Get Declarations\n *\n * Retrieve all declarations.\n *\n * **Permissions Required**:\n * `permission:can_manage_declarations`\n *\n * **Parameters**:\n * - Optional **declaration_status**: `EnumDeclarationReviewStatus` object to filter declarations by status, default: None.\n * - Optional **limit**: `int` object to limit the number of declarations returned, default: 100.\n * - Optional **offset**: `int` object to offset the number of declarations returned, default: 0.\n *\n * **Returns**:\n * - ListSchema: List of declarations with metadata.\n *\n * ** Future Improvements **:\n * - Add ordering to parameters\n * @param declarationStatus\n * @param limit\n * @param offset\n * @returns DeclarationListOutSchema Successful Response\n * @throws ApiError\n */\n public getFspGetDeclarationsVLatest(\n declarationStatus?: (EnumDeclarationReviewStatus | null),\n limit?: (number | null),\n offset?: (number | null),\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/fsp/declarations/declarations',\n query: {\n 'declaration_status': declarationStatus,\n 'limit': limit,\n 'offset': offset,\n },\n errors: {\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Coach Declarations\n * ### Get Coach Declarations\n *\n * Retrieve all declarations associated with a specific coach.\n *\n * **Permissions Required**:\n * `view_coach_declarations`\n * ***found in:***\n * - `permission:can_manage_declarations`\n * - `User` == matching `Coach`\n *\n * **Parameters**:\n * - **coach**: `Coach` object, fetched by the path parameter.\n * - Optional **declaration_status**: `EnumDeclarationReviewStatus` object to filter declarations by status.\n * - Optional **limit**: `int` object to limit the number of declarations returned.\n * - Optional **offset**: `int` object to offset the number of declarations returned.\n *\n * **Returns**:\n * - `List[DeclarationOutSchema]`: List of declarations for the specified coach.\n * @param coachId\n * @param declarationStatus\n * @param limit\n * @param offset\n * @returns DeclarationListOutSchema Successful Response\n * @throws ApiError\n */\n public getFspGetCoachDeclarationsVLatest(\n coachId: number,\n declarationStatus?: (EnumDeclarationReviewStatus | null),\n limit?: (number | null),\n offset?: (number | null),\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/fsp/declarations/{coach_id}/declarations',\n path: {\n 'coach_id': coachId,\n },\n query: {\n 'declaration_status': declarationStatus,\n 'limit': limit,\n 'offset': offset,\n },\n errors: {\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Create Coach Declaration\n * ### Create Coach Declaration\n *\n * Create a new declaration for a specific coach.\n *\n * **Permissions Required**:\n * `create_declaration`\n * ***found in:***\n * - `permission:can_manage_declarations`\n * - `User` == matching `Coach`\n *\n * **Parameters**:\n * - **declaration_in**: `DeclarationInSchema` object containing the declaration details.\n * - **coach**: `Coach` object, fetched by the path parameter.\n *\n * **Returns**:\n * - `DeclarationOutSchema`: The created declaration object.\n * @param coachId\n * @param requestBody\n * @returns DeclarationOutSchema Successful Response\n * @throws ApiError\n */\n public postFspCreateCoachDeclarationVLatest(\n coachId: number,\n requestBody: DeclarationInSchema,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/latest/fsp/declarations/{coach_id}/declaration',\n path: {\n 'coach_id': coachId,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Upload Declaration File\n * ### Upload Declaration File\n *\n * Upload a file for a specific declaration.\n *\n * **Permissions Required**:\n * `DeclarationPermission.EDIT`\n * ***found in:***\n * - `permission:can_manage_declarations`\n * - `User` == matching `Coach`\n *\n * **Parameters**:\n * - **declaration**: `Declaration` object, fetched by path parameter.\n * - **file**: `UploadFile` object containing the file to upload.\n *\n * **Returns**:\n * - `DeclarationOutSchema`: The updated declaration object.\n *\n * **Exceptions**:\n * - Raises a 400 error if the file size is too large. (default max size is 10MB)\n * - Raises a 400 error if the file type is not allowed. (only PDF, Word, and images are allowed)\n * - Raises a 400 error if the file upload fails.\n * @param declarationId\n * @param formData\n * @returns DeclarationOutSchema Successful Response\n * @throws ApiError\n */\n public putFspUploadDeclarationFileVLatest(\n declarationId: number,\n formData: Body_upload_declaration_file_latest_fsp_declarations_declaration__declaration_id__file_put,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PUT',\n url: '/latest/fsp/declarations/declaration/{declaration_id}/file',\n path: {\n 'declaration_id': declarationId,\n },\n formData: formData,\n mediaType: 'multipart/form-data',\n errors: {\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Upload Declaration File Base64\n * ### Upload Declaration File\n *\n * Upload a file for a specific declaration.\n *\n * **Permissions Required**:\n * `DeclarationPermission.EDIT`\n * ***found in:***\n * - `permission:can_manage_declarations`\n * __OR__\n * - `User` == matching `Coach`\n *\n * **Parameters**:\n * - **declaration**: `Declaration` object, fetched by path parameter.\n * - BODY element is the file encoded in base64.\n *\n * **Returns**:\n * - `DeclarationOutSchema`: The updated declaration object.\n *\n * **Exceptions**:\n * - Raises a 400 error if the file size is too large. (default max size is 10MB)\n * - Raises a 400 error if the file type is not allowed. (only PDF, Word, images are allowed)\n * - Raises a 400 error if the file upload fails.\n *\n * `!!!` The mime type extractions is still experimental, so if any expected allowed mime_type is rejected, report the issue`!!!`\n *\n * `!!!` __This endpoint is not in working condition via SwaggerUI, but works via the generated react-native api in the apps.__ `!!!`\n * @param declarationId\n * @param requestBody\n * @returns DeclarationOutSchema Successful Response\n * @throws ApiError\n */\n public putFspUploadDeclarationFileBase64VLatest(\n declarationId: number,\n requestBody: FileUploadBase64,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PUT',\n url: '/latest/fsp/declarations/declaration/{declaration_id}/file_base64',\n path: {\n 'declaration_id': declarationId,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Delete Declaration\n * ### Delete Declaration\n *\n * Delete a specific declaration.\n *\n * **Permissions Required**:\n * `DeclarationPermission.DELETE`\n * ***found in:***\n * - `permission:can_manage_declarations`\n * - `User` == matching `Coach`\n *\n * **Parameters**:\n * - **declaration**: `Declaration` object, fetched by path parameter.\n *\n * **Returns**:\n * - `dict`: Message confirming deletion of the declaration.\n * @param declarationId\n * @returns any Successful Response\n * @throws ApiError\n */\n public deleteFspDeleteDeclarationVLatest(\n declarationId: number,\n ): CancelablePromise> {\n return this.httpRequest.request({\n method: 'DELETE',\n url: '/latest/fsp/declarations/declaration/{declaration_id}',\n path: {\n 'declaration_id': declarationId,\n },\n errors: {\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Review Declaration\n * ### Review Declaration\n *\n * Update the review status of a specific declaration.\n *\n * **Permissions Required**:\n * `DeclarationPermission.REVIEW`\n * ***found in:***\n * - `permission:can_manage_declarations`\n *\n * **Parameters**:\n * - **updated_at**: `datetime` object to check if the declaration has been updated by another user.\n * - **review_status**: `EnumDeclarationReviewStatus` object for the new review status.\n * - **declaration**: `Declaration` object, fetched by path parameter.\n *\n * **Returns**:\n * - `DeclarationOutSchema`: The updated declaration with the new review status.\n * @param reviewStatus\n * @param declarationId\n * @param updatedAt\n * @returns DeclarationOutSchema Successful Response\n * @throws ApiError\n */\n public patchFspReviewDeclarationVLatest(\n reviewStatus: EnumDeclarationReviewStatus,\n declarationId: number,\n updatedAt: string,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/latest/fsp/declarations/declaration/{declaration_id}/review/{review_status}',\n path: {\n 'review_status': reviewStatus,\n 'declaration_id': declarationId,\n },\n query: {\n 'updated_at': updatedAt,\n },\n errors: {\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Edit Declaration\n * ### Edit Declaration\n *\n * Edit an existing declaration.\n *\n * **Permissions Required**:\n * - permission:can_manage_declarations\n * -- OR --\n * - user == matching coach\n *\n * **Parameters**:\n * - **declaration_edit**: `DeclarationEditSchema` object containing updated declaration details.\n * - **declaration**: `Declaration` object, fetched by path parameter.\n *\n * **Returns**:\n * - `DeclarationOutSchema`: The edited declaration object.\n * @param declarationId\n * @param requestBody\n * @returns DeclarationOutSchema Successful Response\n * @throws ApiError\n */\n public patchFspEditDeclarationVLatest(\n declarationId: number,\n requestBody: DeclarationEditSchema,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/latest/fsp/declarations/declaration/{declaration_id}/edit',\n path: {\n 'declaration_id': declarationId,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 422: `Validation Error`,\n },\n });\n }\n}\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\nimport type { Body_login_for_access_token_token_post } from '../models/Body_login_for_access_token_token_post';\nimport type { GenericStatus } from '../models/GenericStatus';\nimport type { Token } from '../models/Token';\nimport type { CancelablePromise } from '../core/CancelablePromise';\nimport type { BaseHttpRequest } from '../core/BaseHttpRequest';\nexport class DefaultService {\n constructor(public readonly httpRequest: BaseHttpRequest) {}\n /**\n * Root\n * @returns GenericStatus Successful Response\n * @throws ApiError\n */\n public getRoot(): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/',\n });\n }\n /**\n * Login For Access Token\n * @param formData\n * @returns Token Successful Response\n * @throws ApiError\n */\n public postLoginForAccessToken(\n formData: Body_login_for_access_token_token_post,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/token',\n formData: formData,\n mediaType: 'application/x-www-form-urlencoded',\n errors: {\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Status Code\n * @param statusCode\n * @returns any Successful Response\n * @throws ApiError\n */\n public getStatusCode(\n statusCode: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/status_code/{status_code}',\n path: {\n 'status_code': statusCode,\n },\n errors: {\n 422: `Validation Error`,\n },\n });\n }\n}\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\nimport type { AdvancedReturnDefaultTariff } from '../models/AdvancedReturnDefaultTariff';\nimport type { BaseReturnDefaultTariff } from '../models/BaseReturnDefaultTariff';\nimport type { EditDefaultTariff } from '../models/EditDefaultTariff';\nimport type { EnumTariffType } from '../models/EnumTariffType';\nimport type { CancelablePromise } from '../core/CancelablePromise';\nimport type { BaseHttpRequest } from '../core/BaseHttpRequest';\nexport class DefaultTariffService {\n constructor(public readonly httpRequest: BaseHttpRequest) {}\n /**\n * Get Current Default Tariff\n * Get the current default tariff for the given tariff type.\n *\n *
\n * Args:\n *\n * - `tariff_type`: `EnumTariffType`\n *\n *
\n * Permissions:\n *\n * - `Public` -> necessary for parent flow\n *\n *
\n * Returns:\n *\n * - `BaseReturnDefaultTariff`: The current default tariff for the given tariff type.\n *\n *
\n * HTTPExceptions:\n *\n * - `404`: If no current default tariff is found for the given tariff type.\n * @param tariffType\n * @returns BaseReturnDefaultTariff Successful Response\n * @throws ApiError\n */\n public getDefaultTariffGetCurrentDefaultTariff(\n tariffType: EnumTariffType,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/default_tariff/default_tariff',\n query: {\n 'tariff_type': tariffType,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get All Default Tariffs\n * Get all the default tariffs.\n *\n * When `current` is set to `True`, only the current default tariffs are returned. Vice versa.\n *\n *
\n * Args:\n *\n * - `current`: `bool`\n *\n *
\n * Permissions:\n *\n * - `can_manage_products`\n *
\n * Returns:\n *\n * - `List[BaseReturnDefaultTariff]`: A list of all the default tariffs.\n *\n *
\n * HTTPExceptions:\n *\n * - `403`: If the user does not have the permission to view the default tariffs.\n * @param current\n * @returns AdvancedReturnDefaultTariff Successful Response\n * @throws ApiError\n */\n public getDefaultTariffGetAllDefaultTariffs(\n current?: (boolean | null),\n ): CancelablePromise> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/default_tariff/default_tariff/all',\n query: {\n 'current': current,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Default Tariff By Id\n * Get the default tariff for the given default tariff id.\n *\n *
\n * Args:\n *\n * - `default_tariff_id`: `int`\n *\n *
\n * Permissions:\n *\n * - `can_manage_products`\n *
\n * Returns:\n *\n * - `BaseReturnDefaultTariff`: The default tariff for the given default tariff id.\n *\n *
\n * HTTPExceptions:\n *\n * - `404`: If no default tariff is found for the given default tariff id.\n *\n * - `403`: If the user does not have the permission to view the default tariff.\n * @param defaultTariffId\n * @returns AdvancedReturnDefaultTariff Successful Response\n * @throws ApiError\n */\n public getDefaultTariffGetDefaultTariffById(\n defaultTariffId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/default_tariff/default_tariff/{default_tariff_id}',\n path: {\n 'default_tariff_id': defaultTariffId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Edit Default Tariff\n * Edit the default tariff for the given default tariff id.\n *\n * If you want to disable the default tariff, you should pass a tariff value of 0.\n *\n *
\n * Args:\n *\n * - `default_tariff_id`: `int`\n *\n * - `updated_default_tariff`: `BaseReturnDefaultTariff`\n *\n *
\n * Permissions:\n *\n * - `can_manage_products`\n *
\n * Returns:\n *\n * - `BaseReturnDefaultTariff`: The updated default tariff for the given default tariff id.\n *\n *
\n * HTTPExceptions:\n *\n * - `404`: If no default tariff is found for the given default tariff id.\n *\n * - `403`: If the user does not have the permission to edit the default tariff.\n * @param defaultTariffId\n * @param requestBody\n * @returns AdvancedReturnDefaultTariff Successful Response\n * @throws ApiError\n */\n public patchDefaultTariffEditDefaultTariff(\n defaultTariffId: number,\n requestBody: EditDefaultTariff,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/v1/default_tariff/default_tariff/{default_tariff_id}',\n path: {\n 'default_tariff_id': defaultTariffId,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Current Default Tariff\n * Get the current default tariff for the given tariff type.\n *\n *
\n * Args:\n *\n * - `tariff_type`: `EnumTariffType`\n *\n *
\n * Permissions:\n *\n * - `Public` -> necessary for parent flow\n *\n *
\n * Returns:\n *\n * - `BaseReturnDefaultTariff`: The current default tariff for the given tariff type.\n *\n *
\n * HTTPExceptions:\n *\n * - `404`: If no current default tariff is found for the given tariff type.\n * @param tariffType\n * @returns BaseReturnDefaultTariff Successful Response\n * @throws ApiError\n */\n public getDefaultTariffGetCurrentDefaultTariffVLatest(\n tariffType: EnumTariffType,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/default_tariff/default_tariff',\n query: {\n 'tariff_type': tariffType,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get All Default Tariffs\n * Get all the default tariffs.\n *\n * When `current` is set to `True`, only the current default tariffs are returned. Vice versa.\n *\n *
\n * Args:\n *\n * - `current`: `bool`\n *\n *
\n * Permissions:\n *\n * - `can_manage_products`\n *
\n * Returns:\n *\n * - `List[BaseReturnDefaultTariff]`: A list of all the default tariffs.\n *\n *
\n * HTTPExceptions:\n *\n * - `403`: If the user does not have the permission to view the default tariffs.\n * @param current\n * @returns AdvancedReturnDefaultTariff Successful Response\n * @throws ApiError\n */\n public getDefaultTariffGetAllDefaultTariffsVLatest(\n current?: (boolean | null),\n ): CancelablePromise> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/default_tariff/default_tariff/all',\n query: {\n 'current': current,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Default Tariff By Id\n * Get the default tariff for the given default tariff id.\n *\n *
\n * Args:\n *\n * - `default_tariff_id`: `int`\n *\n *
\n * Permissions:\n *\n * - `can_manage_products`\n *
\n * Returns:\n *\n * - `BaseReturnDefaultTariff`: The default tariff for the given default tariff id.\n *\n *
\n * HTTPExceptions:\n *\n * - `404`: If no default tariff is found for the given default tariff id.\n *\n * - `403`: If the user does not have the permission to view the default tariff.\n * @param defaultTariffId\n * @returns AdvancedReturnDefaultTariff Successful Response\n * @throws ApiError\n */\n public getDefaultTariffGetDefaultTariffByIdVLatest(\n defaultTariffId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/default_tariff/default_tariff/{default_tariff_id}',\n path: {\n 'default_tariff_id': defaultTariffId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Edit Default Tariff\n * Edit the default tariff for the given default tariff id.\n *\n * If you want to disable the default tariff, you should pass a tariff value of 0.\n *\n *
\n * Args:\n *\n * - `default_tariff_id`: `int`\n *\n * - `updated_default_tariff`: `BaseReturnDefaultTariff`\n *\n *
\n * Permissions:\n *\n * - `can_manage_products`\n *
\n * Returns:\n *\n * - `BaseReturnDefaultTariff`: The updated default tariff for the given default tariff id.\n *\n *
\n * HTTPExceptions:\n *\n * - `404`: If no default tariff is found for the given default tariff id.\n *\n * - `403`: If the user does not have the permission to edit the default tariff.\n * @param defaultTariffId\n * @param requestBody\n * @returns AdvancedReturnDefaultTariff Successful Response\n * @throws ApiError\n */\n public patchDefaultTariffEditDefaultTariffVLatest(\n defaultTariffId: number,\n requestBody: EditDefaultTariff,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/latest/default_tariff/default_tariff/{default_tariff_id}',\n path: {\n 'default_tariff_id': defaultTariffId,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n}\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\nimport type { BaseUserWithType } from '../models/BaseUserWithType';\nimport type { CancelablePromise } from '../core/CancelablePromise';\nimport type { BaseHttpRequest } from '../core/BaseHttpRequest';\nexport class ExternalService {\n constructor(public readonly httpRequest: BaseHttpRequest) {}\n /**\n * Get User Data On Email\n * Get user data based on an email address.\n *\n * Required:\n *\n * - An api-key that is passed in the header of the request.\n *\n * Args:\n *\n * - `email`: The email address of the user that you want to retrieve data from.\n *\n * Returns:\n *\n * - The user data that is associated with the given email address.\n * @param emailAddress\n * @returns BaseUserWithType Successful Response\n * @throws ApiError\n */\n public getExternalGetUserDataOnEmail(\n emailAddress: string,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/external/user_data/email',\n query: {\n 'email_address': emailAddress,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get User Data On Phonenumber\n * Get user data based on a phone number.\n *\n * Required:\n *\n * - An api-key that is passed in the header of the request.\n *\n * Args:\n *\n * - `phone_number`: The phone number of the user that you want to retrieve data from.\n *\n * Returns:\n *\n * - The user data that is associated with the given phone number.\n * @param phoneNumber\n * @returns BaseUserWithType Successful Response\n * @throws ApiError\n */\n public getExternalGetUserDataOnPhonenumber(\n phoneNumber: string,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/external/user_data/phone_number',\n query: {\n 'phone_number': phoneNumber,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get User Data On Email\n * Get user data based on an email address.\n *\n * Required:\n *\n * - An api-key that is passed in the header of the request.\n *\n * Args:\n *\n * - `email`: The email address of the user that you want to retrieve data from.\n *\n * Returns:\n *\n * - The user data that is associated with the given email address.\n * @param emailAddress\n * @returns BaseUserWithType Successful Response\n * @throws ApiError\n */\n public getExternalGetUserDataOnEmailVLatest(\n emailAddress: string,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/external/user_data/email',\n query: {\n 'email_address': emailAddress,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get User Data On Phonenumber\n * Get user data based on a phone number.\n *\n * Required:\n *\n * - An api-key that is passed in the header of the request.\n *\n * Args:\n *\n * - `phone_number`: The phone number of the user that you want to retrieve data from.\n *\n * Returns:\n *\n * - The user data that is associated with the given phone number.\n * @param phoneNumber\n * @returns BaseUserWithType Successful Response\n * @throws ApiError\n */\n public getExternalGetUserDataOnPhonenumberVLatest(\n phoneNumber: string,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/external/user_data/phone_number',\n query: {\n 'phone_number': phoneNumber,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n}\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\nimport type { BaseTask } from '../models/BaseTask';\nimport type { CancelablePromise } from '../core/CancelablePromise';\nimport type { BaseHttpRequest } from '../core/BaseHttpRequest';\nexport class FacturationService {\n constructor(public readonly httpRequest: BaseHttpRequest) {}\n /**\n * Build Facturation Csv\n * ### Start constructing the facturation csv\n *\n * Get the facturation csv for the last week. This is all shifts that have been accorded in the previous week.\n *\n * Args:\n * - week (int): The week number of the week to get the facturation csv for, defaults to the previous week\n * - year (int): The year of the week to get the facturation csv for, defaults to the current year\n *\n * Important to note:\n * - The function is expected to be called only by people from the office, on monday around 9:00\n *\n * Returns:\n * - The csv with all shifts that have been accorded in the previous week, that have to be facturated from collaborations: \"'Te factureren: samenwerkingspartners'\"\n * @param week\n * @param year\n * @returns BaseTask Successful Response\n * @throws ApiError\n */\n public postFspBuildFacturationCsv(\n week: number = 1,\n year: number = 2025,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/v1/fsp/facturation/facturation/csv/collaborations/week',\n query: {\n 'week': week,\n 'year': year,\n },\n errors: {\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Build Facturation Csv Month\n * ### Start constructing the facturation csv\n *\n * Get the facturation csv for the last month. This is all shifts that have been accorded in the previous month.\n *\n * Args:\n * - month (int): The month number of the month to get the facturation csv for, defaults to the previous month\n * - year (int): The year of the month to get the facturation csv for, defaults to the current year\n *\n * Returns:\n * - The csv with all shifts that have been accorded in the previous month, that have to be facturated from coaches: \"'Uit te betalen: Studyworkers'\"\n * @param month\n * @param year\n * @returns BaseTask Successful Response\n * @throws ApiError\n */\n public postFspBuildFacturationCsvMonth(\n month?: number,\n year: number = 2025,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/v1/fsp/facturation/facturation/csv/coaches/month',\n query: {\n 'month': month,\n 'year': year,\n },\n errors: {\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Collaboration Facturation Csv String Task\n * ### Get facturation csv task\n *\n * This endpoint gets the task status of the facturation csv task. If the task is successful, it will return the csv as a response.\n *\n * This is used for both the weekly and monthly facturation csv tasks.\n * - Weekly: \"'Te factureren: samenwerkingspartners'\"\n * - Monthly: \"'Uit te betalen: Studyworkers'\"\n *\n * Args:\n * - task_id (str): The task id of the facturation csv task\n *\n * Returns:\n * - The task status of the facturation csv task\n * @param taskId\n * @returns any Successful Response\n * @throws ApiError\n */\n public getFspGetCollaborationFacturationCsvStringTask(\n taskId: string,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/fsp/facturation/facturation/csv/task/{task_id}',\n path: {\n 'task_id': taskId,\n },\n errors: {\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Build Facturation Csv\n * ### Start constructing the facturation csv\n *\n * Get the facturation csv for the last week. This is all shifts that have been accorded in the previous week.\n *\n * Args:\n * - week (int): The week number of the week to get the facturation csv for, defaults to the previous week\n * - year (int): The year of the week to get the facturation csv for, defaults to the current year\n *\n * Important to note:\n * - The function is expected to be called only by people from the office, on monday around 9:00\n *\n * Returns:\n * - The csv with all shifts that have been accorded in the previous week, that have to be facturated from collaborations: \"'Te factureren: samenwerkingspartners'\"\n * @param week\n * @param year\n * @returns BaseTask Successful Response\n * @throws ApiError\n */\n public postFspBuildFacturationCsvVLatest(\n week: number = 1,\n year: number = 2025,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/latest/fsp/facturation/facturation/csv/collaborations/week',\n query: {\n 'week': week,\n 'year': year,\n },\n errors: {\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Build Facturation Csv Month\n * ### Start constructing the facturation csv\n *\n * Get the facturation csv for the last month. This is all shifts that have been accorded in the previous month.\n *\n * Args:\n * - month (int): The month number of the month to get the facturation csv for, defaults to the previous month\n * - year (int): The year of the month to get the facturation csv for, defaults to the current year\n *\n * Returns:\n * - The csv with all shifts that have been accorded in the previous month, that have to be facturated from coaches: \"'Uit te betalen: Studyworkers'\"\n * @param month\n * @param year\n * @returns BaseTask Successful Response\n * @throws ApiError\n */\n public postFspBuildFacturationCsvMonthVLatest(\n month?: number,\n year: number = 2025,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/latest/fsp/facturation/facturation/csv/coaches/month',\n query: {\n 'month': month,\n 'year': year,\n },\n errors: {\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Collaboration Facturation Csv String Task\n * ### Get facturation csv task\n *\n * This endpoint gets the task status of the facturation csv task. If the task is successful, it will return the csv as a response.\n *\n * This is used for both the weekly and monthly facturation csv tasks.\n * - Weekly: \"'Te factureren: samenwerkingspartners'\"\n * - Monthly: \"'Uit te betalen: Studyworkers'\"\n *\n * Args:\n * - task_id (str): The task id of the facturation csv task\n *\n * Returns:\n * - The task status of the facturation csv task\n * @param taskId\n * @returns any Successful Response\n * @throws ApiError\n */\n public getFspGetCollaborationFacturationCsvStringTaskVLatest(\n taskId: string,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/fsp/facturation/facturation/csv/task/{task_id}',\n path: {\n 'task_id': taskId,\n },\n errors: {\n 422: `Validation Error`,\n },\n });\n }\n}\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\nimport type { BaseFlag } from '../models/BaseFlag';\nimport type { FlagIn } from '../models/FlagIn';\nimport type { GenericStatus } from '../models/GenericStatus';\nimport type { RegularUserWithFlags } from '../models/RegularUserWithFlags';\nimport type { UserHasFlag } from '../models/UserHasFlag';\nimport type { CancelablePromise } from '../core/CancelablePromise';\nimport type { BaseHttpRequest } from '../core/BaseHttpRequest';\nexport class FlagsService {\n constructor(public readonly httpRequest: BaseHttpRequest) {}\n /**\n * Get All Flags\n * @returns BaseFlag Successful Response\n * @throws ApiError\n */\n public getFlagsGetAllFlags(): CancelablePromise> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/flags/all',\n errors: {\n 404: `Not found`,\n },\n });\n }\n /**\n * View Flag\n * @param flagId\n * @returns BaseFlag Successful Response\n * @throws ApiError\n */\n public getFlagsViewFlag(\n flagId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/flags/{flag_id}',\n path: {\n 'flag_id': flagId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Delete Flag\n * @param flagId\n * @returns GenericStatus Successful Response\n * @throws ApiError\n */\n public deleteFlagsDeleteFlag(\n flagId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'DELETE',\n url: '/v1/flags/{flag_id}',\n path: {\n 'flag_id': flagId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Create Flag\n * @param requestBody\n * @returns BaseFlag Successful Response\n * @throws ApiError\n */\n public postFlagsCreateFlag(\n requestBody: FlagIn,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/v1/flags/create',\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Update Flag\n * @param userId\n * @param flagId\n * @param value\n * @returns RegularUserWithFlags Successful Response\n * @throws ApiError\n */\n public patchFlagsUpdateFlag(\n userId: number,\n flagId: number,\n value: boolean,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/v1/flags/user/{user_id}/flag/{flag_id}',\n path: {\n 'user_id': userId,\n 'flag_id': flagId,\n },\n query: {\n 'value': value,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Flag\n * @param userId\n * @param flagId\n * @returns UserHasFlag Successful Response\n * @throws ApiError\n */\n public getFlagsGetFlag(\n userId: number,\n flagId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/flags/user/{user_id}/flag/{flag_id}',\n path: {\n 'user_id': userId,\n 'flag_id': flagId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get All Flags\n * @returns BaseFlag Successful Response\n * @throws ApiError\n */\n public getFlagsGetAllFlagsVLatest(): CancelablePromise> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/flags/all',\n errors: {\n 404: `Not found`,\n },\n });\n }\n /**\n * View Flag\n * @param flagId\n * @returns BaseFlag Successful Response\n * @throws ApiError\n */\n public getFlagsViewFlagVLatest(\n flagId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/flags/{flag_id}',\n path: {\n 'flag_id': flagId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Delete Flag\n * @param flagId\n * @returns GenericStatus Successful Response\n * @throws ApiError\n */\n public deleteFlagsDeleteFlagVLatest(\n flagId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'DELETE',\n url: '/latest/flags/{flag_id}',\n path: {\n 'flag_id': flagId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Create Flag\n * @param requestBody\n * @returns BaseFlag Successful Response\n * @throws ApiError\n */\n public postFlagsCreateFlagVLatest(\n requestBody: FlagIn,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/latest/flags/create',\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Update Flag\n * @param userId\n * @param flagId\n * @param value\n * @returns RegularUserWithFlags Successful Response\n * @throws ApiError\n */\n public patchFlagsUpdateFlagVLatest(\n userId: number,\n flagId: number,\n value: boolean,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/latest/flags/user/{user_id}/flag/{flag_id}',\n path: {\n 'user_id': userId,\n 'flag_id': flagId,\n },\n query: {\n 'value': value,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Flag\n * @param userId\n * @param flagId\n * @returns UserHasFlag Successful Response\n * @throws ApiError\n */\n public getFlagsGetFlagVLatest(\n userId: number,\n flagId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/flags/user/{user_id}/flag/{flag_id}',\n path: {\n 'user_id': userId,\n 'flag_id': flagId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n}\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\nimport type { BaseTask } from '../models/BaseTask';\nimport type { Body_upload_declaration_file_latest_fsp_declarations_declaration__declaration_id__file_put } from '../models/Body_upload_declaration_file_latest_fsp_declarations_declaration__declaration_id__file_put';\nimport type { Body_upload_declaration_file_v1_fsp_declarations_declaration__declaration_id__file_put } from '../models/Body_upload_declaration_file_v1_fsp_declarations_declaration__declaration_id__file_put';\nimport type { DeclarationEditSchema } from '../models/DeclarationEditSchema';\nimport type { DeclarationInSchema } from '../models/DeclarationInSchema';\nimport type { DeclarationListOutSchema } from '../models/DeclarationListOutSchema';\nimport type { DeclarationOutSchema } from '../models/DeclarationOutSchema';\nimport type { EditShiftTimes } from '../models/EditShiftTimes';\nimport type { EnumDeclarationReviewStatus } from '../models/EnumDeclarationReviewStatus';\nimport type { FileUploadBase64 } from '../models/FileUploadBase64';\nimport type { SalaryTypeEnum } from '../models/SalaryTypeEnum';\nimport type { ShiftIn } from '../models/ShiftIn';\nimport type { SimpleShift } from '../models/SimpleShift';\nimport type { SimpleShiftWithAddedStatus } from '../models/SimpleShiftWithAddedStatus';\nimport type { SimpleShiftWithEditReason } from '../models/SimpleShiftWithEditReason';\nimport type { SimpleShiftWithRemovedStatus } from '../models/SimpleShiftWithRemovedStatus';\nimport type { CancelablePromise } from '../core/CancelablePromise';\nimport type { BaseHttpRequest } from '../core/BaseHttpRequest';\nexport class FspService {\n constructor(public readonly httpRequest: BaseHttpRequest) {}\n /**\n * Get Declarations\n * ### Get Declarations\n *\n * Retrieve all declarations.\n *\n * **Permissions Required**:\n * `permission:can_manage_declarations`\n *\n * **Parameters**:\n * - Optional **declaration_status**: `EnumDeclarationReviewStatus` object to filter declarations by status, default: None.\n * - Optional **limit**: `int` object to limit the number of declarations returned, default: 100.\n * - Optional **offset**: `int` object to offset the number of declarations returned, default: 0.\n *\n * **Returns**:\n * - ListSchema: List of declarations with metadata.\n *\n * ** Future Improvements **:\n * - Add ordering to parameters\n * @param declarationStatus\n * @param limit\n * @param offset\n * @returns DeclarationListOutSchema Successful Response\n * @throws ApiError\n */\n public getFspGetDeclarations(\n declarationStatus?: (EnumDeclarationReviewStatus | null),\n limit?: (number | null),\n offset?: (number | null),\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/fsp/declarations/declarations',\n query: {\n 'declaration_status': declarationStatus,\n 'limit': limit,\n 'offset': offset,\n },\n errors: {\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Coach Declarations\n * ### Get Coach Declarations\n *\n * Retrieve all declarations associated with a specific coach.\n *\n * **Permissions Required**:\n * `view_coach_declarations`\n * ***found in:***\n * - `permission:can_manage_declarations`\n * - `User` == matching `Coach`\n *\n * **Parameters**:\n * - **coach**: `Coach` object, fetched by the path parameter.\n * - Optional **declaration_status**: `EnumDeclarationReviewStatus` object to filter declarations by status.\n * - Optional **limit**: `int` object to limit the number of declarations returned.\n * - Optional **offset**: `int` object to offset the number of declarations returned.\n *\n * **Returns**:\n * - `List[DeclarationOutSchema]`: List of declarations for the specified coach.\n * @param coachId\n * @param declarationStatus\n * @param limit\n * @param offset\n * @returns DeclarationListOutSchema Successful Response\n * @throws ApiError\n */\n public getFspGetCoachDeclarations(\n coachId: number,\n declarationStatus?: (EnumDeclarationReviewStatus | null),\n limit?: (number | null),\n offset?: (number | null),\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/fsp/declarations/{coach_id}/declarations',\n path: {\n 'coach_id': coachId,\n },\n query: {\n 'declaration_status': declarationStatus,\n 'limit': limit,\n 'offset': offset,\n },\n errors: {\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Create Coach Declaration\n * ### Create Coach Declaration\n *\n * Create a new declaration for a specific coach.\n *\n * **Permissions Required**:\n * `create_declaration`\n * ***found in:***\n * - `permission:can_manage_declarations`\n * - `User` == matching `Coach`\n *\n * **Parameters**:\n * - **declaration_in**: `DeclarationInSchema` object containing the declaration details.\n * - **coach**: `Coach` object, fetched by the path parameter.\n *\n * **Returns**:\n * - `DeclarationOutSchema`: The created declaration object.\n * @param coachId\n * @param requestBody\n * @returns DeclarationOutSchema Successful Response\n * @throws ApiError\n */\n public postFspCreateCoachDeclaration(\n coachId: number,\n requestBody: DeclarationInSchema,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/v1/fsp/declarations/{coach_id}/declaration',\n path: {\n 'coach_id': coachId,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Upload Declaration File\n * ### Upload Declaration File\n *\n * Upload a file for a specific declaration.\n *\n * **Permissions Required**:\n * `DeclarationPermission.EDIT`\n * ***found in:***\n * - `permission:can_manage_declarations`\n * - `User` == matching `Coach`\n *\n * **Parameters**:\n * - **declaration**: `Declaration` object, fetched by path parameter.\n * - **file**: `UploadFile` object containing the file to upload.\n *\n * **Returns**:\n * - `DeclarationOutSchema`: The updated declaration object.\n *\n * **Exceptions**:\n * - Raises a 400 error if the file size is too large. (default max size is 10MB)\n * - Raises a 400 error if the file type is not allowed. (only PDF, Word, and images are allowed)\n * - Raises a 400 error if the file upload fails.\n * @param declarationId\n * @param formData\n * @returns DeclarationOutSchema Successful Response\n * @throws ApiError\n */\n public putFspUploadDeclarationFile(\n declarationId: number,\n formData: Body_upload_declaration_file_v1_fsp_declarations_declaration__declaration_id__file_put,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PUT',\n url: '/v1/fsp/declarations/declaration/{declaration_id}/file',\n path: {\n 'declaration_id': declarationId,\n },\n formData: formData,\n mediaType: 'multipart/form-data',\n errors: {\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Upload Declaration File Base64\n * ### Upload Declaration File\n *\n * Upload a file for a specific declaration.\n *\n * **Permissions Required**:\n * `DeclarationPermission.EDIT`\n * ***found in:***\n * - `permission:can_manage_declarations`\n * __OR__\n * - `User` == matching `Coach`\n *\n * **Parameters**:\n * - **declaration**: `Declaration` object, fetched by path parameter.\n * - BODY element is the file encoded in base64.\n *\n * **Returns**:\n * - `DeclarationOutSchema`: The updated declaration object.\n *\n * **Exceptions**:\n * - Raises a 400 error if the file size is too large. (default max size is 10MB)\n * - Raises a 400 error if the file type is not allowed. (only PDF, Word, images are allowed)\n * - Raises a 400 error if the file upload fails.\n *\n * `!!!` The mime type extractions is still experimental, so if any expected allowed mime_type is rejected, report the issue`!!!`\n *\n * `!!!` __This endpoint is not in working condition via SwaggerUI, but works via the generated react-native api in the apps.__ `!!!`\n * @param declarationId\n * @param requestBody\n * @returns DeclarationOutSchema Successful Response\n * @throws ApiError\n */\n public putFspUploadDeclarationFileBase64(\n declarationId: number,\n requestBody: FileUploadBase64,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PUT',\n url: '/v1/fsp/declarations/declaration/{declaration_id}/file_base64',\n path: {\n 'declaration_id': declarationId,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Delete Declaration\n * ### Delete Declaration\n *\n * Delete a specific declaration.\n *\n * **Permissions Required**:\n * `DeclarationPermission.DELETE`\n * ***found in:***\n * - `permission:can_manage_declarations`\n * - `User` == matching `Coach`\n *\n * **Parameters**:\n * - **declaration**: `Declaration` object, fetched by path parameter.\n *\n * **Returns**:\n * - `dict`: Message confirming deletion of the declaration.\n * @param declarationId\n * @returns any Successful Response\n * @throws ApiError\n */\n public deleteFspDeleteDeclaration(\n declarationId: number,\n ): CancelablePromise> {\n return this.httpRequest.request({\n method: 'DELETE',\n url: '/v1/fsp/declarations/declaration/{declaration_id}',\n path: {\n 'declaration_id': declarationId,\n },\n errors: {\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Review Declaration\n * ### Review Declaration\n *\n * Update the review status of a specific declaration.\n *\n * **Permissions Required**:\n * `DeclarationPermission.REVIEW`\n * ***found in:***\n * - `permission:can_manage_declarations`\n *\n * **Parameters**:\n * - **updated_at**: `datetime` object to check if the declaration has been updated by another user.\n * - **review_status**: `EnumDeclarationReviewStatus` object for the new review status.\n * - **declaration**: `Declaration` object, fetched by path parameter.\n *\n * **Returns**:\n * - `DeclarationOutSchema`: The updated declaration with the new review status.\n * @param reviewStatus\n * @param declarationId\n * @param updatedAt\n * @returns DeclarationOutSchema Successful Response\n * @throws ApiError\n */\n public patchFspReviewDeclaration(\n reviewStatus: EnumDeclarationReviewStatus,\n declarationId: number,\n updatedAt: string,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/v1/fsp/declarations/declaration/{declaration_id}/review/{review_status}',\n path: {\n 'review_status': reviewStatus,\n 'declaration_id': declarationId,\n },\n query: {\n 'updated_at': updatedAt,\n },\n errors: {\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Edit Declaration\n * ### Edit Declaration\n *\n * Edit an existing declaration.\n *\n * **Permissions Required**:\n * - permission:can_manage_declarations\n * -- OR --\n * - user == matching coach\n *\n * **Parameters**:\n * - **declaration_edit**: `DeclarationEditSchema` object containing updated declaration details.\n * - **declaration**: `Declaration` object, fetched by path parameter.\n *\n * **Returns**:\n * - `DeclarationOutSchema`: The edited declaration object.\n * @param declarationId\n * @param requestBody\n * @returns DeclarationOutSchema Successful Response\n * @throws ApiError\n */\n public patchFspEditDeclaration(\n declarationId: number,\n requestBody: DeclarationEditSchema,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/v1/fsp/declarations/declaration/{declaration_id}/edit',\n path: {\n 'declaration_id': declarationId,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Edit Shift Worked Hours And Break Time\n * ### Edit shift times\n *\n * Edit the start- end- and break time of a shift.\n *\n * **Permissions Required**:\n * `edit_hours`\n * ***found in:***\n * - `permission:can_manage_shifts`\n * - `User` == matching `Shift`\n *\n * **Parameters**:\n * - **shift_id**: `int` object, fetched by the path parameter.\n * - **start_time**: `time` object to set the new start time.\n * - **end_time**: `time` object to set the new end time.\n * - **break_time**: `time` object to set the new break time.\n * - **edit_reason**: `str` object to provide a reason for the edit.\n *\n * **Returns**:\n * - `Shift`: The corrected shift.\n *\n * **Raises**:\n * - `422`: If the end_time is before the start_time.\n * - `400`: If the shift does not have a coach.\n * - `400`: If a coach tries to edit a shift that has not passed yet.\n * - `400`: If Office tries to edit a shift that is not in the current week without providing a reason.\n * -\n * @param shiftId\n * @param requestBody\n * @param editReason\n * @returns SimpleShiftWithEditReason Successful Response\n * @throws ApiError\n */\n public patchFspEditShiftWorkedHoursAndBreakTime(\n shiftId: number,\n requestBody: EditShiftTimes,\n editReason?: (string | null),\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/v1/fsp/shifts/shift/{shift_id}/edit/worked_hours',\n path: {\n 'shift_id': shiftId,\n },\n query: {\n 'edit_reason': editReason,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Remove Coach From Shift\n * ### Remove coach from shift\n *\n * Remove a coach from a shift.\n *\n * **Permissions Required**:\n * `edit_hours`\n * ***found in:***\n * - `permission:can_manage_shifts`\n * - `User` == matching `Shift`\n *\n * **Parameters**:\n * - **shift_id**: `int` object, fetched by the path parameter.\n *\n * **Returns**:\n * - `Shift`: The corrected shift.\n *\n * **Raises**:\n * - `400`: If the shift does not have a coach.\n * - `400`: If a coach tries to edit a shift that has not passed yet.\n * @param shiftId\n * @returns SimpleShiftWithRemovedStatus Successful Response\n * @throws ApiError\n */\n public patchFspRemoveCoachFromShift(\n shiftId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/v1/fsp/shifts/shift/{shift_id}/edit/accord/remove',\n path: {\n 'shift_id': shiftId,\n },\n errors: {\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Add Shift To Accord\n * ### Add a shift to a coach,\n *\n * Add a coach to a shift.\n *\n * **Permissions Required**:\n * `edit_hours`\n * `view`\n * ***found in:***\n * - `permission:can_manage_jobs`\n * - `permission:can_manage_sectors`\n * - `User` == matching `Shift`\n *\n * **Parameters**:\n * - **shift_id**: `int` object, fetched by the path parameter.\n *\n * **Returns**:\n * - `Shift`: The corrected shift.\n *\n * **Raises**:\n * - `400`: If the coach has not yet worked at the selected branch, and the user is not from the office.\n * - `400`: If the shift-date is set on today/after today and the user is not from the office.\n * @param coachId\n * @param branchId\n * @param sectorId\n * @param requestBody\n * @returns SimpleShiftWithAddedStatus Successful Response\n * @throws ApiError\n */\n public postFspAddShiftToAccord(\n coachId: number,\n branchId: number,\n sectorId: number,\n requestBody: ShiftIn,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/v1/fsp/shifts/shift/edit/accord/add/branch/{branch_id}/sector/{sector_id}/coach/{coach_id}',\n path: {\n 'coach_id': coachId,\n 'branch_id': branchId,\n 'sector_id': sectorId,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Accord Shifts\n * ### Create Accordation\n *\n * Accords all unaccorded shifts of a coach in the current week (from monday to sunday).\n *\n *\n * **Permissions Required**:\n * `accord_shifts`\n * @param coachId\n * @returns SimpleShift Successful Response\n * @throws ApiError\n */\n public patchFspAccordShifts(\n coachId: number,\n ): CancelablePromise> {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/v1/fsp/accordation/{coach_id}/accordation',\n path: {\n 'coach_id': coachId,\n },\n errors: {\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Coach Salary\n * ### Get Coach Salary\n *\n * Retrieve the salary of a coach.\n *\n * **Permissions Required**:\n * `view_coach_salary`\n * ***found in:***\n * - `permission:can_manage_coaches`\n * - `User` == matching `Coach`\n *\n * **Parameters**:\n * - **salary_type**: `SalaryTypeEnum` object, default is `BIJLES`.\n * - **coach_id**: `int` object, fetched by the path parameter.\n *\n * **Returns**:\n * - `float`: The salary of the coach\n * @param coachId\n * @param salaryType\n * @returns number Successful Response\n * @throws ApiError\n */\n public getFspGetCoachSalary(\n coachId: number,\n salaryType: SalaryTypeEnum,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/fsp/fsp_coach/coach/{coach_id}/salary',\n path: {\n 'coach_id': coachId,\n },\n query: {\n 'salary_type': salaryType,\n },\n errors: {\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Edit Coach Salary\n * ### Edit Coach Salary\n *\n * Edit the salary of a coach.\n *\n * **Permissions Required**:\n * `edit_coach_salary`\n * ***found in:***\n * - `permission:can_manage_coaches`\n * - `User` == matching `Coach`\n *\n * **Parameters**:\n * - **coach_id**: `int` object, fetched by the path parameter.\n * - **salary**: `float` object, updated salary value.\n * - **salary_type**: `SalaryTypeEnum` object, default is `bijles`.\n *\n * **Returns**:\n * - `float`: The updated salary of the coach\n * @param coachId\n * @param salary\n * @param salaryType\n * @returns number Successful Response\n * @throws ApiError\n */\n public patchFspEditCoachSalary(\n coachId: number,\n salary: number,\n salaryType: SalaryTypeEnum,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/v1/fsp/fsp_coach/coach/{coach_id}/salary',\n path: {\n 'coach_id': coachId,\n },\n query: {\n 'salary': salary,\n 'salary_type': salaryType,\n },\n errors: {\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Build Facturation Csv\n * ### Start constructing the facturation csv\n *\n * Get the facturation csv for the last week. This is all shifts that have been accorded in the previous week.\n *\n * Args:\n * - week (int): The week number of the week to get the facturation csv for, defaults to the previous week\n * - year (int): The year of the week to get the facturation csv for, defaults to the current year\n *\n * Important to note:\n * - The function is expected to be called only by people from the office, on monday around 9:00\n *\n * Returns:\n * - The csv with all shifts that have been accorded in the previous week, that have to be facturated from collaborations: \"'Te factureren: samenwerkingspartners'\"\n * @param week\n * @param year\n * @returns BaseTask Successful Response\n * @throws ApiError\n */\n public postFspBuildFacturationCsv(\n week: number = 1,\n year: number = 2025,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/v1/fsp/facturation/facturation/csv/collaborations/week',\n query: {\n 'week': week,\n 'year': year,\n },\n errors: {\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Build Facturation Csv Month\n * ### Start constructing the facturation csv\n *\n * Get the facturation csv for the last month. This is all shifts that have been accorded in the previous month.\n *\n * Args:\n * - month (int): The month number of the month to get the facturation csv for, defaults to the previous month\n * - year (int): The year of the month to get the facturation csv for, defaults to the current year\n *\n * Returns:\n * - The csv with all shifts that have been accorded in the previous month, that have to be facturated from coaches: \"'Uit te betalen: Studyworkers'\"\n * @param month\n * @param year\n * @returns BaseTask Successful Response\n * @throws ApiError\n */\n public postFspBuildFacturationCsvMonth(\n month?: number,\n year: number = 2025,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/v1/fsp/facturation/facturation/csv/coaches/month',\n query: {\n 'month': month,\n 'year': year,\n },\n errors: {\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Collaboration Facturation Csv String Task\n * ### Get facturation csv task\n *\n * This endpoint gets the task status of the facturation csv task. If the task is successful, it will return the csv as a response.\n *\n * This is used for both the weekly and monthly facturation csv tasks.\n * - Weekly: \"'Te factureren: samenwerkingspartners'\"\n * - Monthly: \"'Uit te betalen: Studyworkers'\"\n *\n * Args:\n * - task_id (str): The task id of the facturation csv task\n *\n * Returns:\n * - The task status of the facturation csv task\n * @param taskId\n * @returns any Successful Response\n * @throws ApiError\n */\n public getFspGetCollaborationFacturationCsvStringTask(\n taskId: string,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/fsp/facturation/facturation/csv/task/{task_id}',\n path: {\n 'task_id': taskId,\n },\n errors: {\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Declarations\n * ### Get Declarations\n *\n * Retrieve all declarations.\n *\n * **Permissions Required**:\n * `permission:can_manage_declarations`\n *\n * **Parameters**:\n * - Optional **declaration_status**: `EnumDeclarationReviewStatus` object to filter declarations by status, default: None.\n * - Optional **limit**: `int` object to limit the number of declarations returned, default: 100.\n * - Optional **offset**: `int` object to offset the number of declarations returned, default: 0.\n *\n * **Returns**:\n * - ListSchema: List of declarations with metadata.\n *\n * ** Future Improvements **:\n * - Add ordering to parameters\n * @param declarationStatus\n * @param limit\n * @param offset\n * @returns DeclarationListOutSchema Successful Response\n * @throws ApiError\n */\n public getFspGetDeclarationsVLatest(\n declarationStatus?: (EnumDeclarationReviewStatus | null),\n limit?: (number | null),\n offset?: (number | null),\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/fsp/declarations/declarations',\n query: {\n 'declaration_status': declarationStatus,\n 'limit': limit,\n 'offset': offset,\n },\n errors: {\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Coach Declarations\n * ### Get Coach Declarations\n *\n * Retrieve all declarations associated with a specific coach.\n *\n * **Permissions Required**:\n * `view_coach_declarations`\n * ***found in:***\n * - `permission:can_manage_declarations`\n * - `User` == matching `Coach`\n *\n * **Parameters**:\n * - **coach**: `Coach` object, fetched by the path parameter.\n * - Optional **declaration_status**: `EnumDeclarationReviewStatus` object to filter declarations by status.\n * - Optional **limit**: `int` object to limit the number of declarations returned.\n * - Optional **offset**: `int` object to offset the number of declarations returned.\n *\n * **Returns**:\n * - `List[DeclarationOutSchema]`: List of declarations for the specified coach.\n * @param coachId\n * @param declarationStatus\n * @param limit\n * @param offset\n * @returns DeclarationListOutSchema Successful Response\n * @throws ApiError\n */\n public getFspGetCoachDeclarationsVLatest(\n coachId: number,\n declarationStatus?: (EnumDeclarationReviewStatus | null),\n limit?: (number | null),\n offset?: (number | null),\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/fsp/declarations/{coach_id}/declarations',\n path: {\n 'coach_id': coachId,\n },\n query: {\n 'declaration_status': declarationStatus,\n 'limit': limit,\n 'offset': offset,\n },\n errors: {\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Create Coach Declaration\n * ### Create Coach Declaration\n *\n * Create a new declaration for a specific coach.\n *\n * **Permissions Required**:\n * `create_declaration`\n * ***found in:***\n * - `permission:can_manage_declarations`\n * - `User` == matching `Coach`\n *\n * **Parameters**:\n * - **declaration_in**: `DeclarationInSchema` object containing the declaration details.\n * - **coach**: `Coach` object, fetched by the path parameter.\n *\n * **Returns**:\n * - `DeclarationOutSchema`: The created declaration object.\n * @param coachId\n * @param requestBody\n * @returns DeclarationOutSchema Successful Response\n * @throws ApiError\n */\n public postFspCreateCoachDeclarationVLatest(\n coachId: number,\n requestBody: DeclarationInSchema,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/latest/fsp/declarations/{coach_id}/declaration',\n path: {\n 'coach_id': coachId,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Upload Declaration File\n * ### Upload Declaration File\n *\n * Upload a file for a specific declaration.\n *\n * **Permissions Required**:\n * `DeclarationPermission.EDIT`\n * ***found in:***\n * - `permission:can_manage_declarations`\n * - `User` == matching `Coach`\n *\n * **Parameters**:\n * - **declaration**: `Declaration` object, fetched by path parameter.\n * - **file**: `UploadFile` object containing the file to upload.\n *\n * **Returns**:\n * - `DeclarationOutSchema`: The updated declaration object.\n *\n * **Exceptions**:\n * - Raises a 400 error if the file size is too large. (default max size is 10MB)\n * - Raises a 400 error if the file type is not allowed. (only PDF, Word, and images are allowed)\n * - Raises a 400 error if the file upload fails.\n * @param declarationId\n * @param formData\n * @returns DeclarationOutSchema Successful Response\n * @throws ApiError\n */\n public putFspUploadDeclarationFileVLatest(\n declarationId: number,\n formData: Body_upload_declaration_file_latest_fsp_declarations_declaration__declaration_id__file_put,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PUT',\n url: '/latest/fsp/declarations/declaration/{declaration_id}/file',\n path: {\n 'declaration_id': declarationId,\n },\n formData: formData,\n mediaType: 'multipart/form-data',\n errors: {\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Upload Declaration File Base64\n * ### Upload Declaration File\n *\n * Upload a file for a specific declaration.\n *\n * **Permissions Required**:\n * `DeclarationPermission.EDIT`\n * ***found in:***\n * - `permission:can_manage_declarations`\n * __OR__\n * - `User` == matching `Coach`\n *\n * **Parameters**:\n * - **declaration**: `Declaration` object, fetched by path parameter.\n * - BODY element is the file encoded in base64.\n *\n * **Returns**:\n * - `DeclarationOutSchema`: The updated declaration object.\n *\n * **Exceptions**:\n * - Raises a 400 error if the file size is too large. (default max size is 10MB)\n * - Raises a 400 error if the file type is not allowed. (only PDF, Word, images are allowed)\n * - Raises a 400 error if the file upload fails.\n *\n * `!!!` The mime type extractions is still experimental, so if any expected allowed mime_type is rejected, report the issue`!!!`\n *\n * `!!!` __This endpoint is not in working condition via SwaggerUI, but works via the generated react-native api in the apps.__ `!!!`\n * @param declarationId\n * @param requestBody\n * @returns DeclarationOutSchema Successful Response\n * @throws ApiError\n */\n public putFspUploadDeclarationFileBase64VLatest(\n declarationId: number,\n requestBody: FileUploadBase64,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PUT',\n url: '/latest/fsp/declarations/declaration/{declaration_id}/file_base64',\n path: {\n 'declaration_id': declarationId,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Delete Declaration\n * ### Delete Declaration\n *\n * Delete a specific declaration.\n *\n * **Permissions Required**:\n * `DeclarationPermission.DELETE`\n * ***found in:***\n * - `permission:can_manage_declarations`\n * - `User` == matching `Coach`\n *\n * **Parameters**:\n * - **declaration**: `Declaration` object, fetched by path parameter.\n *\n * **Returns**:\n * - `dict`: Message confirming deletion of the declaration.\n * @param declarationId\n * @returns any Successful Response\n * @throws ApiError\n */\n public deleteFspDeleteDeclarationVLatest(\n declarationId: number,\n ): CancelablePromise> {\n return this.httpRequest.request({\n method: 'DELETE',\n url: '/latest/fsp/declarations/declaration/{declaration_id}',\n path: {\n 'declaration_id': declarationId,\n },\n errors: {\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Review Declaration\n * ### Review Declaration\n *\n * Update the review status of a specific declaration.\n *\n * **Permissions Required**:\n * `DeclarationPermission.REVIEW`\n * ***found in:***\n * - `permission:can_manage_declarations`\n *\n * **Parameters**:\n * - **updated_at**: `datetime` object to check if the declaration has been updated by another user.\n * - **review_status**: `EnumDeclarationReviewStatus` object for the new review status.\n * - **declaration**: `Declaration` object, fetched by path parameter.\n *\n * **Returns**:\n * - `DeclarationOutSchema`: The updated declaration with the new review status.\n * @param reviewStatus\n * @param declarationId\n * @param updatedAt\n * @returns DeclarationOutSchema Successful Response\n * @throws ApiError\n */\n public patchFspReviewDeclarationVLatest(\n reviewStatus: EnumDeclarationReviewStatus,\n declarationId: number,\n updatedAt: string,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/latest/fsp/declarations/declaration/{declaration_id}/review/{review_status}',\n path: {\n 'review_status': reviewStatus,\n 'declaration_id': declarationId,\n },\n query: {\n 'updated_at': updatedAt,\n },\n errors: {\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Edit Declaration\n * ### Edit Declaration\n *\n * Edit an existing declaration.\n *\n * **Permissions Required**:\n * - permission:can_manage_declarations\n * -- OR --\n * - user == matching coach\n *\n * **Parameters**:\n * - **declaration_edit**: `DeclarationEditSchema` object containing updated declaration details.\n * - **declaration**: `Declaration` object, fetched by path parameter.\n *\n * **Returns**:\n * - `DeclarationOutSchema`: The edited declaration object.\n * @param declarationId\n * @param requestBody\n * @returns DeclarationOutSchema Successful Response\n * @throws ApiError\n */\n public patchFspEditDeclarationVLatest(\n declarationId: number,\n requestBody: DeclarationEditSchema,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/latest/fsp/declarations/declaration/{declaration_id}/edit',\n path: {\n 'declaration_id': declarationId,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Edit Shift Worked Hours And Break Time\n * ### Edit shift times\n *\n * Edit the start- end- and break time of a shift.\n *\n * **Permissions Required**:\n * `edit_hours`\n * ***found in:***\n * - `permission:can_manage_shifts`\n * - `User` == matching `Shift`\n *\n * **Parameters**:\n * - **shift_id**: `int` object, fetched by the path parameter.\n * - **start_time**: `time` object to set the new start time.\n * - **end_time**: `time` object to set the new end time.\n * - **break_time**: `time` object to set the new break time.\n * - **edit_reason**: `str` object to provide a reason for the edit.\n *\n * **Returns**:\n * - `Shift`: The corrected shift.\n *\n * **Raises**:\n * - `422`: If the end_time is before the start_time.\n * - `400`: If the shift does not have a coach.\n * - `400`: If a coach tries to edit a shift that has not passed yet.\n * - `400`: If Office tries to edit a shift that is not in the current week without providing a reason.\n * -\n * @param shiftId\n * @param requestBody\n * @param editReason\n * @returns SimpleShiftWithEditReason Successful Response\n * @throws ApiError\n */\n public patchFspEditShiftWorkedHoursAndBreakTimeVLatest(\n shiftId: number,\n requestBody: EditShiftTimes,\n editReason?: (string | null),\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/latest/fsp/shifts/shift/{shift_id}/edit/worked_hours',\n path: {\n 'shift_id': shiftId,\n },\n query: {\n 'edit_reason': editReason,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Remove Coach From Shift\n * ### Remove coach from shift\n *\n * Remove a coach from a shift.\n *\n * **Permissions Required**:\n * `edit_hours`\n * ***found in:***\n * - `permission:can_manage_shifts`\n * - `User` == matching `Shift`\n *\n * **Parameters**:\n * - **shift_id**: `int` object, fetched by the path parameter.\n *\n * **Returns**:\n * - `Shift`: The corrected shift.\n *\n * **Raises**:\n * - `400`: If the shift does not have a coach.\n * - `400`: If a coach tries to edit a shift that has not passed yet.\n * @param shiftId\n * @returns SimpleShiftWithRemovedStatus Successful Response\n * @throws ApiError\n */\n public patchFspRemoveCoachFromShiftVLatest(\n shiftId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/latest/fsp/shifts/shift/{shift_id}/edit/accord/remove',\n path: {\n 'shift_id': shiftId,\n },\n errors: {\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Add Shift To Accord\n * ### Add a shift to a coach,\n *\n * Add a coach to a shift.\n *\n * **Permissions Required**:\n * `edit_hours`\n * `view`\n * ***found in:***\n * - `permission:can_manage_jobs`\n * - `permission:can_manage_sectors`\n * - `User` == matching `Shift`\n *\n * **Parameters**:\n * - **shift_id**: `int` object, fetched by the path parameter.\n *\n * **Returns**:\n * - `Shift`: The corrected shift.\n *\n * **Raises**:\n * - `400`: If the coach has not yet worked at the selected branch, and the user is not from the office.\n * - `400`: If the shift-date is set on today/after today and the user is not from the office.\n * @param coachId\n * @param branchId\n * @param sectorId\n * @param requestBody\n * @returns SimpleShiftWithAddedStatus Successful Response\n * @throws ApiError\n */\n public postFspAddShiftToAccordVLatest(\n coachId: number,\n branchId: number,\n sectorId: number,\n requestBody: ShiftIn,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/latest/fsp/shifts/shift/edit/accord/add/branch/{branch_id}/sector/{sector_id}/coach/{coach_id}',\n path: {\n 'coach_id': coachId,\n 'branch_id': branchId,\n 'sector_id': sectorId,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Accord Shifts\n * ### Create Accordation\n *\n * Accords all unaccorded shifts of a coach in the current week (from monday to sunday).\n *\n *\n * **Permissions Required**:\n * `accord_shifts`\n * @param coachId\n * @returns SimpleShift Successful Response\n * @throws ApiError\n */\n public patchFspAccordShiftsVLatest(\n coachId: number,\n ): CancelablePromise> {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/latest/fsp/accordation/{coach_id}/accordation',\n path: {\n 'coach_id': coachId,\n },\n errors: {\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Coach Salary\n * ### Get Coach Salary\n *\n * Retrieve the salary of a coach.\n *\n * **Permissions Required**:\n * `view_coach_salary`\n * ***found in:***\n * - `permission:can_manage_coaches`\n * - `User` == matching `Coach`\n *\n * **Parameters**:\n * - **salary_type**: `SalaryTypeEnum` object, default is `BIJLES`.\n * - **coach_id**: `int` object, fetched by the path parameter.\n *\n * **Returns**:\n * - `float`: The salary of the coach\n * @param coachId\n * @param salaryType\n * @returns number Successful Response\n * @throws ApiError\n */\n public getFspGetCoachSalaryVLatest(\n coachId: number,\n salaryType: SalaryTypeEnum,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/fsp/fsp_coach/coach/{coach_id}/salary',\n path: {\n 'coach_id': coachId,\n },\n query: {\n 'salary_type': salaryType,\n },\n errors: {\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Edit Coach Salary\n * ### Edit Coach Salary\n *\n * Edit the salary of a coach.\n *\n * **Permissions Required**:\n * `edit_coach_salary`\n * ***found in:***\n * - `permission:can_manage_coaches`\n * - `User` == matching `Coach`\n *\n * **Parameters**:\n * - **coach_id**: `int` object, fetched by the path parameter.\n * - **salary**: `float` object, updated salary value.\n * - **salary_type**: `SalaryTypeEnum` object, default is `bijles`.\n *\n * **Returns**:\n * - `float`: The updated salary of the coach\n * @param coachId\n * @param salary\n * @param salaryType\n * @returns number Successful Response\n * @throws ApiError\n */\n public patchFspEditCoachSalaryVLatest(\n coachId: number,\n salary: number,\n salaryType: SalaryTypeEnum,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/latest/fsp/fsp_coach/coach/{coach_id}/salary',\n path: {\n 'coach_id': coachId,\n },\n query: {\n 'salary': salary,\n 'salary_type': salaryType,\n },\n errors: {\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Build Facturation Csv\n * ### Start constructing the facturation csv\n *\n * Get the facturation csv for the last week. This is all shifts that have been accorded in the previous week.\n *\n * Args:\n * - week (int): The week number of the week to get the facturation csv for, defaults to the previous week\n * - year (int): The year of the week to get the facturation csv for, defaults to the current year\n *\n * Important to note:\n * - The function is expected to be called only by people from the office, on monday around 9:00\n *\n * Returns:\n * - The csv with all shifts that have been accorded in the previous week, that have to be facturated from collaborations: \"'Te factureren: samenwerkingspartners'\"\n * @param week\n * @param year\n * @returns BaseTask Successful Response\n * @throws ApiError\n */\n public postFspBuildFacturationCsvVLatest(\n week: number = 1,\n year: number = 2025,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/latest/fsp/facturation/facturation/csv/collaborations/week',\n query: {\n 'week': week,\n 'year': year,\n },\n errors: {\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Build Facturation Csv Month\n * ### Start constructing the facturation csv\n *\n * Get the facturation csv for the last month. This is all shifts that have been accorded in the previous month.\n *\n * Args:\n * - month (int): The month number of the month to get the facturation csv for, defaults to the previous month\n * - year (int): The year of the month to get the facturation csv for, defaults to the current year\n *\n * Returns:\n * - The csv with all shifts that have been accorded in the previous month, that have to be facturated from coaches: \"'Uit te betalen: Studyworkers'\"\n * @param month\n * @param year\n * @returns BaseTask Successful Response\n * @throws ApiError\n */\n public postFspBuildFacturationCsvMonthVLatest(\n month?: number,\n year: number = 2025,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/latest/fsp/facturation/facturation/csv/coaches/month',\n query: {\n 'month': month,\n 'year': year,\n },\n errors: {\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Collaboration Facturation Csv String Task\n * ### Get facturation csv task\n *\n * This endpoint gets the task status of the facturation csv task. If the task is successful, it will return the csv as a response.\n *\n * This is used for both the weekly and monthly facturation csv tasks.\n * - Weekly: \"'Te factureren: samenwerkingspartners'\"\n * - Monthly: \"'Uit te betalen: Studyworkers'\"\n *\n * Args:\n * - task_id (str): The task id of the facturation csv task\n *\n * Returns:\n * - The task status of the facturation csv task\n * @param taskId\n * @returns any Successful Response\n * @throws ApiError\n */\n public getFspGetCollaborationFacturationCsvStringTaskVLatest(\n taskId: string,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/fsp/facturation/facturation/csv/task/{task_id}',\n path: {\n 'task_id': taskId,\n },\n errors: {\n 422: `Validation Error`,\n },\n });\n }\n}\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\nimport type { AdvancedGuardianWithChildren } from '../models/AdvancedGuardianWithChildren';\nimport type { AdvancedLesson } from '../models/AdvancedLesson';\nimport type { AdvancedStudent } from '../models/AdvancedStudent';\nimport type { AdvancedStudentWithGuardian } from '../models/AdvancedStudentWithGuardian';\nimport type { AvailabilityEdit } from '../models/AvailabilityEdit';\nimport type { AvailabilityIn } from '../models/AvailabilityIn';\nimport type { BaseAvailability } from '../models/BaseAvailability';\nimport type { BaseLabel } from '../models/BaseLabel';\nimport type { BaseLesson } from '../models/BaseLesson';\nimport type { BaseNote } from '../models/BaseNote';\nimport type { BasePipeLog } from '../models/BasePipeLog';\nimport type { BaseTag } from '../models/BaseTag';\nimport type { BaseUserLocation } from '../models/BaseUserLocation';\nimport type { Body_create_guardian_latest_guardians_new_label__label_id__post } from '../models/Body_create_guardian_latest_guardians_new_label__label_id__post';\nimport type { Body_create_guardian_v1_guardians_new_label__label_id__post } from '../models/Body_create_guardian_v1_guardians_new_label__label_id__post';\nimport type { BundleIn } from '../models/BundleIn';\nimport type { GenericStatus } from '../models/GenericStatus';\nimport type { GuardianAccordedMonths } from '../models/GuardianAccordedMonths';\nimport type { GuardianEdit } from '../models/GuardianEdit';\nimport type { NoteIn } from '../models/NoteIn';\nimport type { PrivateGuardianInformation } from '../models/PrivateGuardianInformation';\nimport type { RegularBundleDetail } from '../models/RegularBundleDetail';\nimport type { RegularGuardian } from '../models/RegularGuardian';\nimport type { RegularGuardianWithChildren } from '../models/RegularGuardianWithChildren';\nimport type { RegularStudent } from '../models/RegularStudent';\nimport type { RegularStudentWithGuardian } from '../models/RegularStudentWithGuardian';\nimport type { SimpleCoach } from '../models/SimpleCoach';\nimport type { SimpleLesson } from '../models/SimpleLesson';\nimport type { StudentEdit } from '../models/StudentEdit';\nimport type { StudentIn } from '../models/StudentIn';\nimport type { StudentProfileOpenLessonRequests } from '../models/StudentProfileOpenLessonRequests';\nimport type { UserLocationIn } from '../models/UserLocationIn';\nimport type { CancelablePromise } from '../core/CancelablePromise';\nimport type { BaseHttpRequest } from '../core/BaseHttpRequest';\nexport class GuardiansService {\n constructor(public readonly httpRequest: BaseHttpRequest) {}\n /**\n * Create Guardian\n * @param labelId\n * @param requestBody\n * @returns RegularGuardian Successful Response\n * @throws ApiError\n */\n public postGuardiansCreateGuardian(\n labelId: number,\n requestBody: Body_create_guardian_v1_guardians_new_label__label_id__post,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/v1/guardians/new/label/{label_id}',\n path: {\n 'label_id': labelId,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Edit Guardian\n * @param guardianId\n * @param requestBody\n * @returns RegularGuardian Successful Response\n * @throws ApiError\n */\n public postGuardiansEditGuardian(\n guardianId: number,\n requestBody: GuardianEdit,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/v1/guardians/edit/{guardian_id}',\n path: {\n 'guardian_id': guardianId,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Change Guardian Label\n * @param guardianId\n * @param labelId\n * @returns BaseLabel Successful Response\n * @throws ApiError\n */\n public postGuardiansChangeGuardianLabel(\n guardianId: number,\n labelId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/v1/guardians/change_label/{guardian_id}/{label_id}',\n path: {\n 'guardian_id': guardianId,\n 'label_id': labelId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * View Guardian\n * @param guardianId\n * @returns AdvancedGuardianWithChildren Successful Response\n * @throws ApiError\n */\n public getGuardiansViewGuardian(\n guardianId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/guardians/view/{guardian_id}',\n path: {\n 'guardian_id': guardianId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * View Guardian Simple\n * @param guardianId\n * @returns RegularGuardianWithChildren Successful Response\n * @throws ApiError\n */\n public getGuardiansViewGuardianSimple(\n guardianId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/guardians/view/{guardian_id}/simple',\n path: {\n 'guardian_id': guardianId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * View Guardian Notes\n * @param guardianId\n * @returns any Successful Response\n * @throws ApiError\n */\n public getGuardiansViewGuardianNotes(\n guardianId: number,\n ): CancelablePromise<(Array | null)> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/guardians/view/{guardian_id}/notes',\n path: {\n 'guardian_id': guardianId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Add Guardian Note\n * @param guardianId\n * @param requestBody\n * @returns BaseNote Successful Response\n * @throws ApiError\n */\n public postGuardiansAddGuardianNote(\n guardianId: number,\n requestBody: NoteIn,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/v1/guardians/view/{guardian_id}/notes',\n path: {\n 'guardian_id': guardianId,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Add Student Location\n * @param studentId\n * @param requestBody\n * @returns RegularStudent Successful Response\n * @throws ApiError\n */\n public postGuardiansAddStudentLocation(\n studentId: number,\n requestBody: UserLocationIn,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/v1/guardians/student/{student_id}/add_location',\n path: {\n 'student_id': studentId,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * View Student Notes\n * @param studentId\n * @returns any Successful Response\n * @throws ApiError\n */\n public getGuardiansViewStudentNotes(\n studentId: number,\n ): CancelablePromise<(Array | null)> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/guardians/view/student/{student_id}/notes',\n path: {\n 'student_id': studentId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Add Student Note\n * @param studentId\n * @param requestBody\n * @returns BaseNote Successful Response\n * @throws ApiError\n */\n public postGuardiansAddStudentNote(\n studentId: number,\n requestBody: NoteIn,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/v1/guardians/view/student/{student_id}/notes',\n path: {\n 'student_id': studentId,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Add Student To Guardian\n * @param guardianId\n * @param requestBody\n * @returns RegularStudent Successful Response\n * @throws ApiError\n */\n public postGuardiansAddStudentToGuardian(\n guardianId: number,\n requestBody: StudentIn,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/v1/guardians/{guardian_id}/add_student',\n path: {\n 'guardian_id': guardianId,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Bulk Add Disciplines To Student\n * @param studentId\n * @param requestBody\n * @returns RegularStudent Successful Response\n * @throws ApiError\n */\n public patchGuardiansBulkAddDisciplinesToStudent(\n studentId: number,\n requestBody: Array,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/v1/guardians/student/{student_id}/add_disciplines/bulk',\n path: {\n 'student_id': studentId,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Bulk Remove Disciplines From Student\n * @param studentId\n * @param requestBody\n * @returns RegularStudent Successful Response\n * @throws ApiError\n */\n public patchGuardiansBulkRemoveDisciplinesFromStudent(\n studentId: number,\n requestBody: Array,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/v1/guardians/student/{student_id}/remove_disciplines/bulk',\n path: {\n 'student_id': studentId,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Edit Student\n * @param studentId\n * @param requestBody\n * @returns RegularStudent Successful Response\n * @throws ApiError\n */\n public patchGuardiansEditStudent(\n studentId: number,\n requestBody: StudentEdit,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/v1/guardians/student/{student_id}',\n path: {\n 'student_id': studentId,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * View Student\n * @param studentId\n * @returns RegularStudentWithGuardian Successful Response\n * @throws ApiError\n */\n public getGuardiansViewStudent(\n studentId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/guardians/student/{student_id}',\n path: {\n 'student_id': studentId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Edit Availability\n * @param availabilityId\n * @param requestBody\n * @returns BaseAvailability Successful Response\n * @throws ApiError\n */\n public patchGuardiansEditAvailability(\n availabilityId: number,\n requestBody: AvailabilityEdit,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/v1/guardians/student/availability/{availability_id}/edit',\n path: {\n 'availability_id': availabilityId,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Change Availability Location\n * @param availabilityId\n * @param userLocationId\n * @returns BaseAvailability Successful Response\n * @throws ApiError\n */\n public patchGuardiansChangeAvailabilityLocation(\n availabilityId: number,\n userLocationId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/v1/guardians/student/availability/{availability_id}/change_location/{user_location_id}',\n path: {\n 'availability_id': availabilityId,\n 'user_location_id': userLocationId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Delete Availability\n * @param availabilityId\n * @returns GenericStatus Successful Response\n * @throws ApiError\n */\n public deleteGuardiansDeleteAvailability(\n availabilityId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'DELETE',\n url: '/v1/guardians/student/availability/{availability_id}/delete',\n path: {\n 'availability_id': availabilityId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * View Student Advanced\n * @param studentId\n * @returns AdvancedStudentWithGuardian Successful Response\n * @throws ApiError\n */\n public getGuardiansViewStudentAdvanced(\n studentId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/guardians/student/{student_id}/advanced',\n path: {\n 'student_id': studentId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Delete Coach From Student\n * @param studentId\n * @param coachId\n * @returns GenericStatus Successful Response\n * @throws ApiError\n */\n public deleteGuardiansDeleteCoachFromStudent(\n studentId: number,\n coachId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'DELETE',\n url: '/v1/guardians/student/{student_id}/coach/{coach_id}',\n path: {\n 'student_id': studentId,\n 'coach_id': coachId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * View Student Coaches\n * @param studentId\n * @returns any Successful Response\n * @throws ApiError\n */\n public getGuardiansViewStudentCoaches(\n studentId: number,\n ): CancelablePromise<(Array | null)> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/guardians/student/{student_id}/coaches',\n path: {\n 'student_id': studentId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * View Guardian Coaches\n * @param guardianId\n * @returns any Successful Response\n * @throws ApiError\n */\n public getGuardiansViewGuardianCoaches(\n guardianId: number,\n ): CancelablePromise<(Array | null)> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/guardians/{guardian_id}/coaches',\n path: {\n 'guardian_id': guardianId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * View Guardian Ical\n * @param icalToken\n * @returns any Successful Response\n * @throws ApiError\n */\n public getGuardiansViewGuardianIcal(\n icalToken: string,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/guardians/guardian/ics/{ical_token}',\n path: {\n 'ical_token': icalToken,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * View Student Schedule\n * @param studentId\n * @param start\n * @param end\n * @returns any Successful Response\n * @throws ApiError\n */\n public getGuardiansViewStudentSchedule(\n studentId: number,\n start?: (string | null),\n end?: (string | null),\n ): CancelablePromise<(Array | null)> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/guardians/student/{student_id}/schedule',\n path: {\n 'student_id': studentId,\n },\n query: {\n 'start': start,\n 'end': end,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Add Availability To Student\n * @param studentId\n * @param userLocationId\n * @param requestBody\n * @returns BaseAvailability Successful Response\n * @throws ApiError\n */\n public postGuardiansAddAvailabilityToStudent(\n studentId: number,\n userLocationId: number,\n requestBody: AvailabilityIn,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/v1/guardians/student/{student_id}/add_availability/location/{user_location_id}',\n path: {\n 'student_id': studentId,\n 'user_location_id': userLocationId,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Edit User Location\n * @param userLocationId\n * @param requestBody\n * @returns BaseUserLocation Successful Response\n * @throws ApiError\n */\n public patchGuardiansEditUserLocation(\n userLocationId: number,\n requestBody: UserLocationIn,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/v1/guardians/student/location/{user_location_id}/edit',\n path: {\n 'user_location_id': userLocationId,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Delete User Location\n * @param userLocationId\n * @returns GenericStatus Successful Response\n * @throws ApiError\n */\n public deleteGuardiansDeleteUserLocation(\n userLocationId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'DELETE',\n url: '/v1/guardians/student/location/{user_location_id}/delete',\n path: {\n 'user_location_id': userLocationId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Change Pipe For Student\n * @param pipeId\n * @param studentId\n * @returns GenericStatus Successful Response\n * @throws ApiError\n */\n public patchGuardiansChangePipeForStudent(\n pipeId: number,\n studentId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/v1/guardians/student/{student_id}/change_pipe/{pipe_id}',\n path: {\n 'pipe_id': pipeId,\n 'student_id': studentId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Pipe Log\n * @param studentId\n * @param offset\n * @param limit\n * @returns any Successful Response\n * @throws ApiError\n */\n public getGuardiansGetPipeLog(\n studentId: number,\n offset?: number,\n limit: number = 500,\n ): CancelablePromise<(Array | null)> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/guardians/student/{student_id}/pipe_log',\n path: {\n 'student_id': studentId,\n },\n query: {\n 'offset': offset,\n 'limit': limit,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Pin Student\n * @param studentId\n * @returns GenericStatus Successful Response\n * @throws ApiError\n */\n public patchGuardiansPinStudent(\n studentId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/v1/guardians/student/{student_id}/pin',\n path: {\n 'student_id': studentId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Unpin Student\n * @param studentId\n * @returns GenericStatus Successful Response\n * @throws ApiError\n */\n public patchGuardiansUnpinStudent(\n studentId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/v1/guardians/student/{student_id}/unpin',\n path: {\n 'student_id': studentId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Tag Student\n * @param studentId\n * @param tagId\n * @returns AdvancedStudentWithGuardian Successful Response\n * @throws ApiError\n */\n public postGuardiansTagStudent(\n studentId: number,\n tagId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/v1/guardians/student/{student_id}/tag/{tag_id}',\n path: {\n 'student_id': studentId,\n 'tag_id': tagId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Untag Student\n * @param studentId\n * @param tagId\n * @returns AdvancedStudent Successful Response\n * @throws ApiError\n */\n public deleteGuardiansUntagStudent(\n studentId: number,\n tagId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'DELETE',\n url: '/v1/guardians/student/{student_id}/tag/{tag_id}',\n path: {\n 'student_id': studentId,\n 'tag_id': tagId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * View All Tags\n * @returns any Successful Response\n * @throws ApiError\n */\n public getGuardiansViewAllTags(): CancelablePromise<(Array | null)> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/guardians/student/tags/all',\n errors: {\n 404: `Not found`,\n },\n });\n }\n /**\n * Hide Inactive\n * @param studentId\n * @returns GenericStatus Successful Response\n * @throws ApiError\n */\n public postGuardiansHideInactive(\n studentId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/v1/guardians/student/{student_id}/hide_inactive',\n path: {\n 'student_id': studentId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * View Private Guardian\n * @param guardianId\n * @returns any Successful Response\n * @throws ApiError\n */\n public getGuardiansViewPrivateGuardian(\n guardianId: number,\n ): CancelablePromise<(PrivateGuardianInformation | null)> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/guardians/guardian/{guardian_id}/private',\n path: {\n 'guardian_id': guardianId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * View Student Profile\n * @param studentId\n * @returns StudentProfileOpenLessonRequests Successful Response\n * @throws ApiError\n */\n public getGuardiansViewStudentProfile(\n studentId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/guardians/student/{student_id}/profile',\n path: {\n 'student_id': studentId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Delete Guardian\n * @param guardianId\n * @returns GenericStatus Successful Response\n * @throws ApiError\n */\n public deleteGuardiansDeleteGuardian(\n guardianId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'DELETE',\n url: '/v1/guardians/guardian/{guardian_id}/delete',\n path: {\n 'guardian_id': guardianId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Delete Student\n * @param studentId\n * @returns GenericStatus Successful Response\n * @throws ApiError\n */\n public deleteGuardiansDeleteStudent(\n studentId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'DELETE',\n url: '/v1/guardians/student/{student_id}/delete',\n path: {\n 'student_id': studentId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Select Bundle\n * @param icalToken\n * @param requestBody\n * @returns GenericStatus Successful Response\n * @throws ApiError\n */\n public postGuardiansSelectBundle(\n icalToken: string,\n requestBody: BundleIn,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/v1/guardians/guardian/{ical_token}/bundle',\n path: {\n 'ical_token': icalToken,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Bundles\n * @param guardianId\n * @returns RegularBundleDetail Successful Response\n * @throws ApiError\n */\n public getGuardiansGetBundles(\n guardianId: number,\n ): CancelablePromise> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/guardians/guardian/{guardian_id}/bundles',\n path: {\n 'guardian_id': guardianId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * View New Clients\n * @param start\n * @param end\n * @returns any Successful Response\n * @throws ApiError\n */\n public getGuardiansViewNewClients(\n start?: (string | null),\n end?: (string | null),\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/guardians/guardian/new_clients/download',\n query: {\n 'start': start,\n 'end': end,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Lessons Accorded\n * @param guardianId\n * @param month\n * @param year\n * @returns BaseLesson Successful Response\n * @throws ApiError\n */\n public getGuardiansGetLessonsAccorded(\n guardianId: number,\n month?: (number | null),\n year?: (number | null),\n ): CancelablePromise> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/guardians/guardian/{guardian_id}/lessons/accorded',\n path: {\n 'guardian_id': guardianId,\n },\n query: {\n 'month': month,\n 'year': year,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Lessons From Guardian\n * Get all the lessons from a guardian\n *\n * Args:\n * month (Optional[int], optional): Month of the lessons. Defaults to None.\n * year (Optional[int], optional): Year of the lessons. Defaults to None.\n * accorded (Optional[bool], optional): Accorded status of the lessons. Defaults to None.\n * is_legacy (Optional[bool], optional): Legacy status of the lessons. Defaults to None.\n *\n * Returns:\n * List[AdvancedLesson]: List of lessons\n *\n *\n * # FIXME MOVE THIS TO A SERVICE\n * @param guardianId\n * @param month\n * @param year\n * @param accorded\n * @param isLegacy\n * @returns AdvancedLesson Successful Response\n * @throws ApiError\n */\n public getGuardiansGetLessonsFromGuardian(\n guardianId: number,\n month?: number,\n year?: number,\n accorded?: boolean,\n isLegacy: boolean = false,\n ): CancelablePromise> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/guardians/guardian/{guardian_id}/lessons',\n path: {\n 'guardian_id': guardianId,\n },\n query: {\n 'month': month,\n 'year': year,\n 'accorded': accorded,\n 'is_legacy': isLegacy,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Lessons Accorded Months\n * @param guardianId\n * @returns GuardianAccordedMonths Successful Response\n * @throws ApiError\n */\n public getGuardiansGetLessonsAccordedMonths(\n guardianId: number,\n ): CancelablePromise> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/guardians/guardian/{guardian_id}/lessons/accorded/months',\n path: {\n 'guardian_id': guardianId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Create Guardian\n * @param labelId\n * @param requestBody\n * @returns RegularGuardian Successful Response\n * @throws ApiError\n */\n public postGuardiansCreateGuardianVLatest(\n labelId: number,\n requestBody: Body_create_guardian_latest_guardians_new_label__label_id__post,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/latest/guardians/new/label/{label_id}',\n path: {\n 'label_id': labelId,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Edit Guardian\n * @param guardianId\n * @param requestBody\n * @returns RegularGuardian Successful Response\n * @throws ApiError\n */\n public postGuardiansEditGuardianVLatest(\n guardianId: number,\n requestBody: GuardianEdit,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/latest/guardians/edit/{guardian_id}',\n path: {\n 'guardian_id': guardianId,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Change Guardian Label\n * @param guardianId\n * @param labelId\n * @returns BaseLabel Successful Response\n * @throws ApiError\n */\n public postGuardiansChangeGuardianLabelVLatest(\n guardianId: number,\n labelId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/latest/guardians/change_label/{guardian_id}/{label_id}',\n path: {\n 'guardian_id': guardianId,\n 'label_id': labelId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * View Guardian\n * @param guardianId\n * @returns AdvancedGuardianWithChildren Successful Response\n * @throws ApiError\n */\n public getGuardiansViewGuardianVLatest(\n guardianId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/guardians/view/{guardian_id}',\n path: {\n 'guardian_id': guardianId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * View Guardian Simple\n * @param guardianId\n * @returns RegularGuardianWithChildren Successful Response\n * @throws ApiError\n */\n public getGuardiansViewGuardianSimpleVLatest(\n guardianId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/guardians/view/{guardian_id}/simple',\n path: {\n 'guardian_id': guardianId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * View Guardian Notes\n * @param guardianId\n * @returns any Successful Response\n * @throws ApiError\n */\n public getGuardiansViewGuardianNotesVLatest(\n guardianId: number,\n ): CancelablePromise<(Array | null)> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/guardians/view/{guardian_id}/notes',\n path: {\n 'guardian_id': guardianId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Add Guardian Note\n * @param guardianId\n * @param requestBody\n * @returns BaseNote Successful Response\n * @throws ApiError\n */\n public postGuardiansAddGuardianNoteVLatest(\n guardianId: number,\n requestBody: NoteIn,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/latest/guardians/view/{guardian_id}/notes',\n path: {\n 'guardian_id': guardianId,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Add Student Location\n * @param studentId\n * @param requestBody\n * @returns RegularStudent Successful Response\n * @throws ApiError\n */\n public postGuardiansAddStudentLocationVLatest(\n studentId: number,\n requestBody: UserLocationIn,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/latest/guardians/student/{student_id}/add_location',\n path: {\n 'student_id': studentId,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * View Student Notes\n * @param studentId\n * @returns any Successful Response\n * @throws ApiError\n */\n public getGuardiansViewStudentNotesVLatest(\n studentId: number,\n ): CancelablePromise<(Array | null)> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/guardians/view/student/{student_id}/notes',\n path: {\n 'student_id': studentId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Add Student Note\n * @param studentId\n * @param requestBody\n * @returns BaseNote Successful Response\n * @throws ApiError\n */\n public postGuardiansAddStudentNoteVLatest(\n studentId: number,\n requestBody: NoteIn,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/latest/guardians/view/student/{student_id}/notes',\n path: {\n 'student_id': studentId,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Add Student To Guardian\n * @param guardianId\n * @param requestBody\n * @returns RegularStudent Successful Response\n * @throws ApiError\n */\n public postGuardiansAddStudentToGuardianVLatest(\n guardianId: number,\n requestBody: StudentIn,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/latest/guardians/{guardian_id}/add_student',\n path: {\n 'guardian_id': guardianId,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Bulk Add Disciplines To Student\n * @param studentId\n * @param requestBody\n * @returns RegularStudent Successful Response\n * @throws ApiError\n */\n public patchGuardiansBulkAddDisciplinesToStudentVLatest(\n studentId: number,\n requestBody: Array,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/latest/guardians/student/{student_id}/add_disciplines/bulk',\n path: {\n 'student_id': studentId,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Bulk Remove Disciplines From Student\n * @param studentId\n * @param requestBody\n * @returns RegularStudent Successful Response\n * @throws ApiError\n */\n public patchGuardiansBulkRemoveDisciplinesFromStudentVLatest(\n studentId: number,\n requestBody: Array,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/latest/guardians/student/{student_id}/remove_disciplines/bulk',\n path: {\n 'student_id': studentId,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Edit Student\n * @param studentId\n * @param requestBody\n * @returns RegularStudent Successful Response\n * @throws ApiError\n */\n public patchGuardiansEditStudentVLatest(\n studentId: number,\n requestBody: StudentEdit,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/latest/guardians/student/{student_id}',\n path: {\n 'student_id': studentId,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * View Student\n * @param studentId\n * @returns RegularStudentWithGuardian Successful Response\n * @throws ApiError\n */\n public getGuardiansViewStudentVLatest(\n studentId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/guardians/student/{student_id}',\n path: {\n 'student_id': studentId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Edit Availability\n * @param availabilityId\n * @param requestBody\n * @returns BaseAvailability Successful Response\n * @throws ApiError\n */\n public patchGuardiansEditAvailabilityVLatest(\n availabilityId: number,\n requestBody: AvailabilityEdit,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/latest/guardians/student/availability/{availability_id}/edit',\n path: {\n 'availability_id': availabilityId,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Change Availability Location\n * @param availabilityId\n * @param userLocationId\n * @returns BaseAvailability Successful Response\n * @throws ApiError\n */\n public patchGuardiansChangeAvailabilityLocationVLatest(\n availabilityId: number,\n userLocationId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/latest/guardians/student/availability/{availability_id}/change_location/{user_location_id}',\n path: {\n 'availability_id': availabilityId,\n 'user_location_id': userLocationId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Delete Availability\n * @param availabilityId\n * @returns GenericStatus Successful Response\n * @throws ApiError\n */\n public deleteGuardiansDeleteAvailabilityVLatest(\n availabilityId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'DELETE',\n url: '/latest/guardians/student/availability/{availability_id}/delete',\n path: {\n 'availability_id': availabilityId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * View Student Advanced\n * @param studentId\n * @returns AdvancedStudentWithGuardian Successful Response\n * @throws ApiError\n */\n public getGuardiansViewStudentAdvancedVLatest(\n studentId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/guardians/student/{student_id}/advanced',\n path: {\n 'student_id': studentId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Delete Coach From Student\n * @param studentId\n * @param coachId\n * @returns GenericStatus Successful Response\n * @throws ApiError\n */\n public deleteGuardiansDeleteCoachFromStudentVLatest(\n studentId: number,\n coachId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'DELETE',\n url: '/latest/guardians/student/{student_id}/coach/{coach_id}',\n path: {\n 'student_id': studentId,\n 'coach_id': coachId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * View Student Coaches\n * @param studentId\n * @returns any Successful Response\n * @throws ApiError\n */\n public getGuardiansViewStudentCoachesVLatest(\n studentId: number,\n ): CancelablePromise<(Array | null)> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/guardians/student/{student_id}/coaches',\n path: {\n 'student_id': studentId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * View Guardian Coaches\n * @param guardianId\n * @returns any Successful Response\n * @throws ApiError\n */\n public getGuardiansViewGuardianCoachesVLatest(\n guardianId: number,\n ): CancelablePromise<(Array | null)> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/guardians/{guardian_id}/coaches',\n path: {\n 'guardian_id': guardianId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * View Guardian Ical\n * @param icalToken\n * @returns any Successful Response\n * @throws ApiError\n */\n public getGuardiansViewGuardianIcalVLatest(\n icalToken: string,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/guardians/guardian/ics/{ical_token}',\n path: {\n 'ical_token': icalToken,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * View Student Schedule\n * @param studentId\n * @param start\n * @param end\n * @returns any Successful Response\n * @throws ApiError\n */\n public getGuardiansViewStudentScheduleVLatest(\n studentId: number,\n start?: (string | null),\n end?: (string | null),\n ): CancelablePromise<(Array | null)> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/guardians/student/{student_id}/schedule',\n path: {\n 'student_id': studentId,\n },\n query: {\n 'start': start,\n 'end': end,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Add Availability To Student\n * @param studentId\n * @param userLocationId\n * @param requestBody\n * @returns BaseAvailability Successful Response\n * @throws ApiError\n */\n public postGuardiansAddAvailabilityToStudentVLatest(\n studentId: number,\n userLocationId: number,\n requestBody: AvailabilityIn,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/latest/guardians/student/{student_id}/add_availability/location/{user_location_id}',\n path: {\n 'student_id': studentId,\n 'user_location_id': userLocationId,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Edit User Location\n * @param userLocationId\n * @param requestBody\n * @returns BaseUserLocation Successful Response\n * @throws ApiError\n */\n public patchGuardiansEditUserLocationVLatest(\n userLocationId: number,\n requestBody: UserLocationIn,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/latest/guardians/student/location/{user_location_id}/edit',\n path: {\n 'user_location_id': userLocationId,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Delete User Location\n * @param userLocationId\n * @returns GenericStatus Successful Response\n * @throws ApiError\n */\n public deleteGuardiansDeleteUserLocationVLatest(\n userLocationId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'DELETE',\n url: '/latest/guardians/student/location/{user_location_id}/delete',\n path: {\n 'user_location_id': userLocationId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Change Pipe For Student\n * @param pipeId\n * @param studentId\n * @returns GenericStatus Successful Response\n * @throws ApiError\n */\n public patchGuardiansChangePipeForStudentVLatest(\n pipeId: number,\n studentId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/latest/guardians/student/{student_id}/change_pipe/{pipe_id}',\n path: {\n 'pipe_id': pipeId,\n 'student_id': studentId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Pipe Log\n * @param studentId\n * @param offset\n * @param limit\n * @returns any Successful Response\n * @throws ApiError\n */\n public getGuardiansGetPipeLogVLatest(\n studentId: number,\n offset?: number,\n limit: number = 500,\n ): CancelablePromise<(Array | null)> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/guardians/student/{student_id}/pipe_log',\n path: {\n 'student_id': studentId,\n },\n query: {\n 'offset': offset,\n 'limit': limit,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Pin Student\n * @param studentId\n * @returns GenericStatus Successful Response\n * @throws ApiError\n */\n public patchGuardiansPinStudentVLatest(\n studentId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/latest/guardians/student/{student_id}/pin',\n path: {\n 'student_id': studentId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Unpin Student\n * @param studentId\n * @returns GenericStatus Successful Response\n * @throws ApiError\n */\n public patchGuardiansUnpinStudentVLatest(\n studentId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/latest/guardians/student/{student_id}/unpin',\n path: {\n 'student_id': studentId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Tag Student\n * @param studentId\n * @param tagId\n * @returns AdvancedStudentWithGuardian Successful Response\n * @throws ApiError\n */\n public postGuardiansTagStudentVLatest(\n studentId: number,\n tagId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/latest/guardians/student/{student_id}/tag/{tag_id}',\n path: {\n 'student_id': studentId,\n 'tag_id': tagId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Untag Student\n * @param studentId\n * @param tagId\n * @returns AdvancedStudent Successful Response\n * @throws ApiError\n */\n public deleteGuardiansUntagStudentVLatest(\n studentId: number,\n tagId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'DELETE',\n url: '/latest/guardians/student/{student_id}/tag/{tag_id}',\n path: {\n 'student_id': studentId,\n 'tag_id': tagId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * View All Tags\n * @returns any Successful Response\n * @throws ApiError\n */\n public getGuardiansViewAllTagsVLatest(): CancelablePromise<(Array | null)> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/guardians/student/tags/all',\n errors: {\n 404: `Not found`,\n },\n });\n }\n /**\n * Hide Inactive\n * @param studentId\n * @returns GenericStatus Successful Response\n * @throws ApiError\n */\n public postGuardiansHideInactiveVLatest(\n studentId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/latest/guardians/student/{student_id}/hide_inactive',\n path: {\n 'student_id': studentId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * View Private Guardian\n * @param guardianId\n * @returns any Successful Response\n * @throws ApiError\n */\n public getGuardiansViewPrivateGuardianVLatest(\n guardianId: number,\n ): CancelablePromise<(PrivateGuardianInformation | null)> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/guardians/guardian/{guardian_id}/private',\n path: {\n 'guardian_id': guardianId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * View Student Profile\n * @param studentId\n * @returns StudentProfileOpenLessonRequests Successful Response\n * @throws ApiError\n */\n public getGuardiansViewStudentProfileVLatest(\n studentId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/guardians/student/{student_id}/profile',\n path: {\n 'student_id': studentId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Delete Guardian\n * @param guardianId\n * @returns GenericStatus Successful Response\n * @throws ApiError\n */\n public deleteGuardiansDeleteGuardianVLatest(\n guardianId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'DELETE',\n url: '/latest/guardians/guardian/{guardian_id}/delete',\n path: {\n 'guardian_id': guardianId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Delete Student\n * @param studentId\n * @returns GenericStatus Successful Response\n * @throws ApiError\n */\n public deleteGuardiansDeleteStudentVLatest(\n studentId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'DELETE',\n url: '/latest/guardians/student/{student_id}/delete',\n path: {\n 'student_id': studentId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Select Bundle\n * @param icalToken\n * @param requestBody\n * @returns GenericStatus Successful Response\n * @throws ApiError\n */\n public postGuardiansSelectBundleVLatest(\n icalToken: string,\n requestBody: BundleIn,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/latest/guardians/guardian/{ical_token}/bundle',\n path: {\n 'ical_token': icalToken,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Bundles\n * @param guardianId\n * @returns RegularBundleDetail Successful Response\n * @throws ApiError\n */\n public getGuardiansGetBundlesVLatest(\n guardianId: number,\n ): CancelablePromise> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/guardians/guardian/{guardian_id}/bundles',\n path: {\n 'guardian_id': guardianId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * View New Clients\n * @param start\n * @param end\n * @returns any Successful Response\n * @throws ApiError\n */\n public getGuardiansViewNewClientsVLatest(\n start?: (string | null),\n end?: (string | null),\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/guardians/guardian/new_clients/download',\n query: {\n 'start': start,\n 'end': end,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Lessons Accorded\n * @param guardianId\n * @param month\n * @param year\n * @returns BaseLesson Successful Response\n * @throws ApiError\n */\n public getGuardiansGetLessonsAccordedVLatest(\n guardianId: number,\n month?: (number | null),\n year?: (number | null),\n ): CancelablePromise> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/guardians/guardian/{guardian_id}/lessons/accorded',\n path: {\n 'guardian_id': guardianId,\n },\n query: {\n 'month': month,\n 'year': year,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Lessons From Guardian\n * Get all the lessons from a guardian\n *\n * Args:\n * month (Optional[int], optional): Month of the lessons. Defaults to None.\n * year (Optional[int], optional): Year of the lessons. Defaults to None.\n * accorded (Optional[bool], optional): Accorded status of the lessons. Defaults to None.\n * is_legacy (Optional[bool], optional): Legacy status of the lessons. Defaults to None.\n *\n * Returns:\n * List[AdvancedLesson]: List of lessons\n *\n *\n * # FIXME MOVE THIS TO A SERVICE\n * @param guardianId\n * @param month\n * @param year\n * @param accorded\n * @param isLegacy\n * @returns AdvancedLesson Successful Response\n * @throws ApiError\n */\n public getGuardiansGetLessonsFromGuardianVLatest(\n guardianId: number,\n month?: number,\n year?: number,\n accorded?: boolean,\n isLegacy: boolean = false,\n ): CancelablePromise> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/guardians/guardian/{guardian_id}/lessons',\n path: {\n 'guardian_id': guardianId,\n },\n query: {\n 'month': month,\n 'year': year,\n 'accorded': accorded,\n 'is_legacy': isLegacy,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Lessons Accorded Months\n * @param guardianId\n * @returns GuardianAccordedMonths Successful Response\n * @throws ApiError\n */\n public getGuardiansGetLessonsAccordedMonthsVLatest(\n guardianId: number,\n ): CancelablePromise> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/guardians/guardian/{guardian_id}/lessons/accorded/months',\n path: {\n 'guardian_id': guardianId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n}\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\nimport type { BaseLabel } from '../models/BaseLabel';\nimport type { Body_attach_logo_latest_labels_label__label_id__attach_logo_patch } from '../models/Body_attach_logo_latest_labels_label__label_id__attach_logo_patch';\nimport type { Body_attach_logo_v1_labels_label__label_id__attach_logo_patch } from '../models/Body_attach_logo_v1_labels_label__label_id__attach_logo_patch';\nimport type { GenericStatus } from '../models/GenericStatus';\nimport type { LabelEdit } from '../models/LabelEdit';\nimport type { LabelIn } from '../models/LabelIn';\nimport type { CancelablePromise } from '../core/CancelablePromise';\nimport type { BaseHttpRequest } from '../core/BaseHttpRequest';\nexport class LabelsService {\n constructor(public readonly httpRequest: BaseHttpRequest) {}\n /**\n * View Label\n * @param labelId\n * @returns BaseLabel Successful Response\n * @throws ApiError\n */\n public getLabelsViewLabel(\n labelId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/labels/label/{label_id}',\n path: {\n 'label_id': labelId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Edit Label\n * @param labelId\n * @param requestBody\n * @returns BaseLabel Successful Response\n * @throws ApiError\n */\n public patchLabelsEditLabel(\n labelId: number,\n requestBody: LabelEdit,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/v1/labels/label/{label_id}',\n path: {\n 'label_id': labelId,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Delete Label\n * @param labelId\n * @returns GenericStatus Successful Response\n * @throws ApiError\n */\n public deleteLabelsDeleteLabel(\n labelId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'DELETE',\n url: '/v1/labels/label/{label_id}',\n path: {\n 'label_id': labelId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * View All Labels\n * @returns any Successful Response\n * @throws ApiError\n */\n public getLabelsViewAllLabels(): CancelablePromise<(Array | null)> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/labels/labels/all',\n errors: {\n 404: `Not found`,\n },\n });\n }\n /**\n * Create Label\n * @param requestBody\n * @returns BaseLabel Successful Response\n * @throws ApiError\n */\n public postLabelsCreateLabel(\n requestBody: LabelIn,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/v1/labels/create',\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Attach Logo\n * @param labelId\n * @param formData\n * @returns BaseLabel Successful Response\n * @throws ApiError\n */\n public patchLabelsAttachLogo(\n labelId: number,\n formData: Body_attach_logo_v1_labels_label__label_id__attach_logo_patch,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/v1/labels/label/{label_id}/attach_logo',\n path: {\n 'label_id': labelId,\n },\n formData: formData,\n mediaType: 'multipart/form-data',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * View Label\n * @param labelId\n * @returns BaseLabel Successful Response\n * @throws ApiError\n */\n public getLabelsViewLabelVLatest(\n labelId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/labels/label/{label_id}',\n path: {\n 'label_id': labelId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Edit Label\n * @param labelId\n * @param requestBody\n * @returns BaseLabel Successful Response\n * @throws ApiError\n */\n public patchLabelsEditLabelVLatest(\n labelId: number,\n requestBody: LabelEdit,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/latest/labels/label/{label_id}',\n path: {\n 'label_id': labelId,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Delete Label\n * @param labelId\n * @returns GenericStatus Successful Response\n * @throws ApiError\n */\n public deleteLabelsDeleteLabelVLatest(\n labelId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'DELETE',\n url: '/latest/labels/label/{label_id}',\n path: {\n 'label_id': labelId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * View All Labels\n * @returns any Successful Response\n * @throws ApiError\n */\n public getLabelsViewAllLabelsVLatest(): CancelablePromise<(Array | null)> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/labels/labels/all',\n errors: {\n 404: `Not found`,\n },\n });\n }\n /**\n * Create Label\n * @param requestBody\n * @returns BaseLabel Successful Response\n * @throws ApiError\n */\n public postLabelsCreateLabelVLatest(\n requestBody: LabelIn,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/latest/labels/create',\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Attach Logo\n * @param labelId\n * @param formData\n * @returns BaseLabel Successful Response\n * @throws ApiError\n */\n public patchLabelsAttachLogoVLatest(\n labelId: number,\n formData: Body_attach_logo_latest_labels_label__label_id__attach_logo_patch,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/latest/labels/label/{label_id}/attach_logo',\n path: {\n 'label_id': labelId,\n },\n formData: formData,\n mediaType: 'multipart/form-data',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n}\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\nimport type { AdvancedLesson } from '../models/AdvancedLesson';\nimport type { AdvancedLessonEdit } from '../models/AdvancedLessonEdit';\nimport type { AllCoachCancelCodes } from '../models/AllCoachCancelCodes';\nimport type { BaseDiscipline } from '../models/BaseDiscipline';\nimport type { BaseLesson } from '../models/BaseLesson';\nimport type { BaseLessonRequest } from '../models/BaseLessonRequest';\nimport type { GenericStatus } from '../models/GenericStatus';\nimport type { LessonEdit } from '../models/LessonEdit';\nimport type { LessonIn } from '../models/LessonIn';\nimport type { LessonInDispute } from '../models/LessonInDispute';\nimport type { LessonInSimple } from '../models/LessonInSimple';\nimport type { LessonRequestEdit } from '../models/LessonRequestEdit';\nimport type { LessonRequestIn } from '../models/LessonRequestIn';\nimport type { SimpleLesson } from '../models/SimpleLesson';\nimport type { CancelablePromise } from '../core/CancelablePromise';\nimport type { BaseHttpRequest } from '../core/BaseHttpRequest';\nexport class LessonsService {\n constructor(public readonly httpRequest: BaseHttpRequest) {}\n /**\n * New Lesson Request\n * @param studentId\n * @param requestBody\n * @returns BaseLessonRequest Successful Response\n * @throws ApiError\n */\n public postLessonsNewLessonRequest(\n studentId: number,\n requestBody: LessonRequestIn,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/v1/lessons/new/request/student/{student_id}',\n path: {\n 'student_id': studentId,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * View Last Lesson Request\n * @param studentId\n * @returns any Successful Response\n * @throws ApiError\n */\n public getLessonsViewLastLessonRequest(\n studentId: number,\n ): CancelablePromise<(BaseLessonRequest | null)> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/lessons/requests/last/{student_id}',\n path: {\n 'student_id': studentId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * View All Lesson Request\n * @param studentId\n * @returns any Successful Response\n * @throws ApiError\n */\n public getLessonsViewAllLessonRequest(\n studentId: number,\n ): CancelablePromise<(Array | null)> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/lessons/requests/open/{student_id}',\n path: {\n 'student_id': studentId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Schedule Lesson\n * Schedule a lesson for a student.\n *\n * Args:\n * lesson (LessonInSimple): The lesson details.\n * bundle_service (BundleService, optional): The bundle service. Defaults to Depends().\n * student (Student, optional): The student. Defaults to Permission(\"schedule_lessons\", find_student).\n * db (Session, optional): The database session. Defaults to Depends(get_db).\n * current_user (User, optional): The current user. Defaults to Depends(get_current_active_user).\n *\n * Raises:\n * HTTPException: If there is already a lesson planned for the student or coach.\n * HTTPException: If the lesson start datetime is in the past more than a month ago.\n * HTTPException: If there is a CoachAccordance for the coach and student in the same time period.\n *\n * Returns:\n * Lesson: The scheduled lesson.\n *\n *\n * # TODO set security for this endpoint, only for coaches\n * @param studentId\n * @param requestBody\n * @returns BaseLesson Successful Response\n * @throws ApiError\n */\n public postLessonsScheduleLesson(\n studentId: number,\n requestBody: LessonInSimple,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/v1/lessons/schedule/student/{student_id}',\n path: {\n 'student_id': studentId,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Schedule Lesson Advanced\n * @param studentId\n * @param coachId\n * @param requestBody\n * @param accordate\n * @param force\n * @returns SimpleLesson Successful Response\n * @throws ApiError\n */\n public postLessonsScheduleLessonAdvanced(\n studentId: number,\n coachId: number,\n requestBody: LessonIn,\n accordate: boolean = true,\n force: boolean = false,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/v1/lessons/schedule/student/{student_id}/{coach_id}',\n path: {\n 'student_id': studentId,\n 'coach_id': coachId,\n },\n query: {\n 'accordate': accordate,\n 'force': force,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Cancel Lesson\n * @param lessonId\n * @param cancelCode\n * @returns BaseLesson Successful Response\n * @throws ApiError\n */\n public patchLessonsCancelLesson(\n lessonId: number,\n cancelCode?: (AllCoachCancelCodes | null),\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/v1/lessons/lesson/{lesson_id}/cancel',\n path: {\n 'lesson_id': lessonId,\n },\n query: {\n 'cancel_code': cancelCode,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * View Lesson\n * @param lessonId\n * @returns BaseLesson Successful Response\n * @throws ApiError\n */\n public getLessonsViewLesson(\n lessonId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/lessons/lesson/{lesson_id}',\n path: {\n 'lesson_id': lessonId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * View Lesson Advanced\n * @param lessonId\n * @returns SimpleLesson Successful Response\n * @throws ApiError\n */\n public getLessonsViewLessonAdvanced(\n lessonId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/lessons/lesson/{lesson_id}/advanced',\n path: {\n 'lesson_id': lessonId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Edit Lesson\n * @param lessonId\n * @param requestBody\n * @returns BaseLesson Successful Response\n * @throws ApiError\n */\n public patchLessonsEditLesson(\n lessonId: number,\n requestBody: LessonEdit,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/v1/lessons/lesson/{lesson_id}/edit',\n path: {\n 'lesson_id': lessonId,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Advanced Edit Lesson\n * @param lessonId\n * @param requestBody\n * @returns BaseLesson Successful Response\n * @throws ApiError\n */\n public patchLessonsAdvancedEditLesson(\n lessonId: number,\n requestBody: AdvancedLessonEdit,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/v1/lessons/lesson/{lesson_id}/edit/advanced',\n path: {\n 'lesson_id': lessonId,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Dispute Lesson\n * @param lessonId\n * @param requestBody\n * @returns BaseLesson Successful Response\n * @throws ApiError\n */\n public patchLessonsDisputeLesson(\n lessonId: number,\n requestBody: LessonInDispute,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/v1/lessons/lesson/{lesson_id}/dispute',\n path: {\n 'lesson_id': lessonId,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Resolve Dispute Lesson\n * @param lessonId\n * @returns BaseLesson Successful Response\n * @throws ApiError\n */\n public patchLessonsResolveDisputeLesson(\n lessonId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/v1/lessons/lesson/{lesson_id}/resolve_dispute',\n path: {\n 'lesson_id': lessonId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * View Disputed Lessons\n * @param offset\n * @param limit\n * @returns any Successful Response\n * @throws ApiError\n */\n public getLessonsViewDisputedLessons(\n offset?: number,\n limit: number = 30,\n ): CancelablePromise<(Array | null)> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/lessons/disputed',\n query: {\n 'offset': offset,\n 'limit': limit,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Open Lesson Requests\n * @param limit\n * @param offset\n * @returns any Successful Response\n * @throws ApiError\n */\n public getLessonsOpenLessonRequests(\n limit: number = 30,\n offset?: number,\n ): CancelablePromise<(Array | null)> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/lessons/requests/open',\n query: {\n 'limit': limit,\n 'offset': offset,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Close Lesson Request\n * @param lessonRequestId\n * @returns GenericStatus Successful Response\n * @throws ApiError\n */\n public patchLessonsCloseLessonRequest(\n lessonRequestId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/v1/lessons/requests/{lesson_request_id}/close',\n path: {\n 'lesson_request_id': lessonRequestId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Edit Lesson Request\n * @param lessonRequestId\n * @param requestBody\n * @returns BaseLessonRequest Successful Response\n * @throws ApiError\n */\n public patchLessonsEditLessonRequest(\n lessonRequestId: number,\n requestBody: LessonRequestEdit,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/v1/lessons/requests/{lesson_request_id}/edit',\n path: {\n 'lesson_request_id': lessonRequestId,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * View Disciplines\n * @returns any Successful Response\n * @throws ApiError\n */\n public getLessonsViewDisciplines(): CancelablePromise<(Array | null)> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/lessons/disciplines',\n errors: {\n 404: `Not found`,\n },\n });\n }\n /**\n * Transfer Hours To Bundle\n * @param lessonId\n * @returns AdvancedLesson Successful Response\n * @throws ApiError\n */\n public patchLessonsTransferHoursToBundle(\n lessonId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/v1/lessons/lesson/{lesson_id}/transfer_hours_to_bundle',\n path: {\n 'lesson_id': lessonId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * New Lesson Request\n * @param studentId\n * @param requestBody\n * @returns BaseLessonRequest Successful Response\n * @throws ApiError\n */\n public postLessonsNewLessonRequestVLatest(\n studentId: number,\n requestBody: LessonRequestIn,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/latest/lessons/new/request/student/{student_id}',\n path: {\n 'student_id': studentId,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * View Last Lesson Request\n * @param studentId\n * @returns any Successful Response\n * @throws ApiError\n */\n public getLessonsViewLastLessonRequestVLatest(\n studentId: number,\n ): CancelablePromise<(BaseLessonRequest | null)> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/lessons/requests/last/{student_id}',\n path: {\n 'student_id': studentId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * View All Lesson Request\n * @param studentId\n * @returns any Successful Response\n * @throws ApiError\n */\n public getLessonsViewAllLessonRequestVLatest(\n studentId: number,\n ): CancelablePromise<(Array | null)> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/lessons/requests/open/{student_id}',\n path: {\n 'student_id': studentId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Schedule Lesson\n * Schedule a lesson for a student.\n *\n * Args:\n * lesson (LessonInSimple): The lesson details.\n * bundle_service (BundleService, optional): The bundle service. Defaults to Depends().\n * student (Student, optional): The student. Defaults to Permission(\"schedule_lessons\", find_student).\n * db (Session, optional): The database session. Defaults to Depends(get_db).\n * current_user (User, optional): The current user. Defaults to Depends(get_current_active_user).\n *\n * Raises:\n * HTTPException: If there is already a lesson planned for the student or coach.\n * HTTPException: If the lesson start datetime is in the past more than a month ago.\n * HTTPException: If there is a CoachAccordance for the coach and student in the same time period.\n *\n * Returns:\n * Lesson: The scheduled lesson.\n *\n *\n * # TODO set security for this endpoint, only for coaches\n * @param studentId\n * @param requestBody\n * @returns BaseLesson Successful Response\n * @throws ApiError\n */\n public postLessonsScheduleLessonVLatest(\n studentId: number,\n requestBody: LessonInSimple,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/latest/lessons/schedule/student/{student_id}',\n path: {\n 'student_id': studentId,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Schedule Lesson Advanced\n * @param studentId\n * @param coachId\n * @param requestBody\n * @param accordate\n * @param force\n * @returns SimpleLesson Successful Response\n * @throws ApiError\n */\n public postLessonsScheduleLessonAdvancedVLatest(\n studentId: number,\n coachId: number,\n requestBody: LessonIn,\n accordate: boolean = true,\n force: boolean = false,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/latest/lessons/schedule/student/{student_id}/{coach_id}',\n path: {\n 'student_id': studentId,\n 'coach_id': coachId,\n },\n query: {\n 'accordate': accordate,\n 'force': force,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Cancel Lesson\n * @param lessonId\n * @param cancelCode\n * @returns BaseLesson Successful Response\n * @throws ApiError\n */\n public patchLessonsCancelLessonVLatest(\n lessonId: number,\n cancelCode?: (AllCoachCancelCodes | null),\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/latest/lessons/lesson/{lesson_id}/cancel',\n path: {\n 'lesson_id': lessonId,\n },\n query: {\n 'cancel_code': cancelCode,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * View Lesson\n * @param lessonId\n * @returns BaseLesson Successful Response\n * @throws ApiError\n */\n public getLessonsViewLessonVLatest(\n lessonId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/lessons/lesson/{lesson_id}',\n path: {\n 'lesson_id': lessonId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * View Lesson Advanced\n * @param lessonId\n * @returns SimpleLesson Successful Response\n * @throws ApiError\n */\n public getLessonsViewLessonAdvancedVLatest(\n lessonId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/lessons/lesson/{lesson_id}/advanced',\n path: {\n 'lesson_id': lessonId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Edit Lesson\n * @param lessonId\n * @param requestBody\n * @returns BaseLesson Successful Response\n * @throws ApiError\n */\n public patchLessonsEditLessonVLatest(\n lessonId: number,\n requestBody: LessonEdit,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/latest/lessons/lesson/{lesson_id}/edit',\n path: {\n 'lesson_id': lessonId,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Advanced Edit Lesson\n * @param lessonId\n * @param requestBody\n * @returns BaseLesson Successful Response\n * @throws ApiError\n */\n public patchLessonsAdvancedEditLessonVLatest(\n lessonId: number,\n requestBody: AdvancedLessonEdit,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/latest/lessons/lesson/{lesson_id}/edit/advanced',\n path: {\n 'lesson_id': lessonId,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Dispute Lesson\n * @param lessonId\n * @param requestBody\n * @returns BaseLesson Successful Response\n * @throws ApiError\n */\n public patchLessonsDisputeLessonVLatest(\n lessonId: number,\n requestBody: LessonInDispute,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/latest/lessons/lesson/{lesson_id}/dispute',\n path: {\n 'lesson_id': lessonId,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Resolve Dispute Lesson\n * @param lessonId\n * @returns BaseLesson Successful Response\n * @throws ApiError\n */\n public patchLessonsResolveDisputeLessonVLatest(\n lessonId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/latest/lessons/lesson/{lesson_id}/resolve_dispute',\n path: {\n 'lesson_id': lessonId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * View Disputed Lessons\n * @param offset\n * @param limit\n * @returns any Successful Response\n * @throws ApiError\n */\n public getLessonsViewDisputedLessonsVLatest(\n offset?: number,\n limit: number = 30,\n ): CancelablePromise<(Array | null)> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/lessons/disputed',\n query: {\n 'offset': offset,\n 'limit': limit,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Open Lesson Requests\n * @param limit\n * @param offset\n * @returns any Successful Response\n * @throws ApiError\n */\n public getLessonsOpenLessonRequestsVLatest(\n limit: number = 30,\n offset?: number,\n ): CancelablePromise<(Array | null)> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/lessons/requests/open',\n query: {\n 'limit': limit,\n 'offset': offset,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Close Lesson Request\n * @param lessonRequestId\n * @returns GenericStatus Successful Response\n * @throws ApiError\n */\n public patchLessonsCloseLessonRequestVLatest(\n lessonRequestId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/latest/lessons/requests/{lesson_request_id}/close',\n path: {\n 'lesson_request_id': lessonRequestId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Edit Lesson Request\n * @param lessonRequestId\n * @param requestBody\n * @returns BaseLessonRequest Successful Response\n * @throws ApiError\n */\n public patchLessonsEditLessonRequestVLatest(\n lessonRequestId: number,\n requestBody: LessonRequestEdit,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/latest/lessons/requests/{lesson_request_id}/edit',\n path: {\n 'lesson_request_id': lessonRequestId,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * View Disciplines\n * @returns any Successful Response\n * @throws ApiError\n */\n public getLessonsViewDisciplinesVLatest(): CancelablePromise<(Array | null)> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/lessons/disciplines',\n errors: {\n 404: `Not found`,\n },\n });\n }\n /**\n * Transfer Hours To Bundle\n * @param lessonId\n * @returns AdvancedLesson Successful Response\n * @throws ApiError\n */\n public patchLessonsTransferHoursToBundleVLatest(\n lessonId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/latest/lessons/lesson/{lesson_id}/transfer_hours_to_bundle',\n path: {\n 'lesson_id': lessonId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n}\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\nimport type { schemas__logs__BaseLog } from '../models/schemas__logs__BaseLog';\nimport type { CancelablePromise } from '../core/CancelablePromise';\nimport type { BaseHttpRequest } from '../core/BaseHttpRequest';\nexport class LogsService {\n constructor(public readonly httpRequest: BaseHttpRequest) {}\n /**\n * Get Latest Logs\n * @param offset\n * @param limit\n * @returns schemas__logs__BaseLog Successful Response\n * @throws ApiError\n */\n public getLogsGetLatestLogs(\n offset?: number,\n limit: number = 100,\n ): CancelablePromise> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/logs/latest',\n query: {\n 'offset': offset,\n 'limit': limit,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Latest Logs Of User\n * @param userId\n * @param offset\n * @param limit\n * @returns schemas__logs__BaseLog Successful Response\n * @throws ApiError\n */\n public getLogsGetLatestLogsOfUser(\n userId: number,\n offset?: number,\n limit: number = 100,\n ): CancelablePromise> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/logs/user/{user_id}/latest',\n path: {\n 'user_id': userId,\n },\n query: {\n 'offset': offset,\n 'limit': limit,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Latest Logs Of Template\n * @param logTemplateId\n * @param offset\n * @param limit\n * @returns schemas__logs__BaseLog Successful Response\n * @throws ApiError\n */\n public getLogsGetLatestLogsOfTemplate(\n logTemplateId: number,\n offset?: number,\n limit: number = 100,\n ): CancelablePromise> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/logs/template/{log_template_id}/latest',\n path: {\n 'log_template_id': logTemplateId,\n },\n query: {\n 'offset': offset,\n 'limit': limit,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Latest Logs\n * @param offset\n * @param limit\n * @returns schemas__logs__BaseLog Successful Response\n * @throws ApiError\n */\n public getLogsGetLatestLogsVLatest(\n offset?: number,\n limit: number = 100,\n ): CancelablePromise> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/logs/latest',\n query: {\n 'offset': offset,\n 'limit': limit,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Latest Logs Of User\n * @param userId\n * @param offset\n * @param limit\n * @returns schemas__logs__BaseLog Successful Response\n * @throws ApiError\n */\n public getLogsGetLatestLogsOfUserVLatest(\n userId: number,\n offset?: number,\n limit: number = 100,\n ): CancelablePromise> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/logs/user/{user_id}/latest',\n path: {\n 'user_id': userId,\n },\n query: {\n 'offset': offset,\n 'limit': limit,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Latest Logs Of Template\n * @param logTemplateId\n * @param offset\n * @param limit\n * @returns schemas__logs__BaseLog Successful Response\n * @throws ApiError\n */\n public getLogsGetLatestLogsOfTemplateVLatest(\n logTemplateId: number,\n offset?: number,\n limit: number = 100,\n ): CancelablePromise> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/logs/template/{log_template_id}/latest',\n path: {\n 'log_template_id': logTemplateId,\n },\n query: {\n 'offset': offset,\n 'limit': limit,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n}\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\nimport type { CoachesNearStudentResult } from '../models/CoachesNearStudentResult';\nimport type { DisciplinesRadiusQuery } from '../models/DisciplinesRadiusQuery';\nimport type { GenericCount } from '../models/GenericCount';\nimport type { LessonRequestMapStudentResult } from '../models/LessonRequestMapStudentResult';\nimport type { Matchesresult } from '../models/Matchesresult';\nimport type { StudentsNearCoachResult } from '../models/StudentsNearCoachResult';\nimport type { CancelablePromise } from '../core/CancelablePromise';\nimport type { BaseHttpRequest } from '../core/BaseHttpRequest';\nexport class MatcherService {\n constructor(public readonly httpRequest: BaseHttpRequest) {}\n /**\n * Match Student\n * Returns a list of possible matches for a student.\n *\n * Args:\n * - `student_id`: The student to match.\n *\n * - `is_online`: Whether the lesson should be online or not.\n *\n * - `filter_coach_level`: Whether to filter the coaches by their level.\n *\n * > When filtering coaches on their level, the returned coaches will have the level of the student or higher.\n * @param studentId\n * @param isOnline\n * @param filterCoachLevel\n * @returns Matchesresult Successful Response\n * @throws ApiError\n */\n public getMatcherMatchStudent(\n studentId: number,\n isOnline: boolean = false,\n filterCoachLevel: boolean = false,\n ): CancelablePromise> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/matcher/match/{student_id}',\n path: {\n 'student_id': studentId,\n },\n query: {\n 'is_online': isOnline,\n 'filter_coach_level': filterCoachLevel,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Find Near For Student Old\n * @param studentId\n * @param limit\n * @param offset\n * @returns CoachesNearStudentResult Successful Response\n * @throws ApiError\n */\n public getMatcherFindNearForStudentOld(\n studentId: number,\n limit: number = 100,\n offset?: number,\n ): CancelablePromise> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/matcher/near/{student_id}/student',\n path: {\n 'student_id': studentId,\n },\n query: {\n 'limit': limit,\n 'offset': offset,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Find Near For Student New With Filters\n * @param studentId\n * @param requestBody\n * @param limit\n * @param offset\n * @returns CoachesNearStudentResult Successful Response\n * @throws ApiError\n */\n public postMatcherFindNearForStudentNewWithFilters(\n studentId: number,\n requestBody: DisciplinesRadiusQuery,\n limit: number = 100,\n offset?: number,\n ): CancelablePromise> {\n return this.httpRequest.request({\n method: 'POST',\n url: '/v1/matcher/near/{student_id}/student',\n path: {\n 'student_id': studentId,\n },\n query: {\n 'limit': limit,\n 'offset': offset,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Find Near For Coach Radius\n * @param coachId\n * @param requestBody\n * @param limit\n * @param offset\n * @returns StudentsNearCoachResult Successful Response\n * @throws ApiError\n */\n public postMatcherFindNearForCoachRadius(\n coachId: number,\n requestBody: DisciplinesRadiusQuery,\n limit: number = 100,\n offset?: number,\n ): CancelablePromise> {\n return this.httpRequest.request({\n method: 'POST',\n url: '/v1/matcher/near/{coach_id}/coach',\n path: {\n 'coach_id': coachId,\n },\n query: {\n 'limit': limit,\n 'offset': offset,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Find Near For Coach Count\n * @param coachId\n * @returns GenericCount Successful Response\n * @throws ApiError\n */\n public getMatcherFindNearForCoachCount(\n coachId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/matcher/near/coach/{coach_id}/count',\n path: {\n 'coach_id': coachId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Find Lesson Requests\n * @returns LessonRequestMapStudentResult Successful Response\n * @throws ApiError\n */\n public getMatcherFindLessonRequests(): CancelablePromise> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/matcher/students/locations',\n errors: {\n 404: `Not found`,\n },\n });\n }\n /**\n * Match Student\n * Returns a list of possible matches for a student.\n *\n * Args:\n * - `student_id`: The student to match.\n *\n * - `is_online`: Whether the lesson should be online or not.\n *\n * - `filter_coach_level`: Whether to filter the coaches by their level.\n *\n * > When filtering coaches on their level, the returned coaches will have the level of the student or higher.\n * @param studentId\n * @param isOnline\n * @param filterCoachLevel\n * @returns Matchesresult Successful Response\n * @throws ApiError\n */\n public getMatcherMatchStudentVLatest(\n studentId: number,\n isOnline: boolean = false,\n filterCoachLevel: boolean = false,\n ): CancelablePromise> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/matcher/match/{student_id}',\n path: {\n 'student_id': studentId,\n },\n query: {\n 'is_online': isOnline,\n 'filter_coach_level': filterCoachLevel,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Find Near For Student Old\n * @param studentId\n * @param limit\n * @param offset\n * @returns CoachesNearStudentResult Successful Response\n * @throws ApiError\n */\n public getMatcherFindNearForStudentOldVLatest(\n studentId: number,\n limit: number = 100,\n offset?: number,\n ): CancelablePromise> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/matcher/near/{student_id}/student',\n path: {\n 'student_id': studentId,\n },\n query: {\n 'limit': limit,\n 'offset': offset,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Find Near For Student New With Filters\n * @param studentId\n * @param requestBody\n * @param limit\n * @param offset\n * @returns CoachesNearStudentResult Successful Response\n * @throws ApiError\n */\n public postMatcherFindNearForStudentNewWithFiltersVLatest(\n studentId: number,\n requestBody: DisciplinesRadiusQuery,\n limit: number = 100,\n offset?: number,\n ): CancelablePromise> {\n return this.httpRequest.request({\n method: 'POST',\n url: '/latest/matcher/near/{student_id}/student',\n path: {\n 'student_id': studentId,\n },\n query: {\n 'limit': limit,\n 'offset': offset,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Find Near For Coach Radius\n * @param coachId\n * @param requestBody\n * @param limit\n * @param offset\n * @returns StudentsNearCoachResult Successful Response\n * @throws ApiError\n */\n public postMatcherFindNearForCoachRadiusVLatest(\n coachId: number,\n requestBody: DisciplinesRadiusQuery,\n limit: number = 100,\n offset?: number,\n ): CancelablePromise> {\n return this.httpRequest.request({\n method: 'POST',\n url: '/latest/matcher/near/{coach_id}/coach',\n path: {\n 'coach_id': coachId,\n },\n query: {\n 'limit': limit,\n 'offset': offset,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Find Near For Coach Count\n * @param coachId\n * @returns GenericCount Successful Response\n * @throws ApiError\n */\n public getMatcherFindNearForCoachCountVLatest(\n coachId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/matcher/near/coach/{coach_id}/count',\n path: {\n 'coach_id': coachId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Find Lesson Requests\n * @returns LessonRequestMapStudentResult Successful Response\n * @throws ApiError\n */\n public getMatcherFindLessonRequestsVLatest(): CancelablePromise> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/matcher/students/locations',\n errors: {\n 404: `Not found`,\n },\n });\n }\n}\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\nimport type { BaseNote } from '../models/BaseNote';\nimport type { Body_add_attachment_latest_notes__note_id__add_attachment_patch } from '../models/Body_add_attachment_latest_notes__note_id__add_attachment_patch';\nimport type { Body_add_attachment_v1_notes__note_id__add_attachment_patch } from '../models/Body_add_attachment_v1_notes__note_id__add_attachment_patch';\nimport type { GenericStatus } from '../models/GenericStatus';\nimport type { NoteEdit } from '../models/NoteEdit';\nimport type { CancelablePromise } from '../core/CancelablePromise';\nimport type { BaseHttpRequest } from '../core/BaseHttpRequest';\nexport class NotesService {\n constructor(public readonly httpRequest: BaseHttpRequest) {}\n /**\n * Edit Note\n * @param noteId\n * @param requestBody\n * @returns BaseNote Successful Response\n * @throws ApiError\n */\n public patchNotesEditNote(\n noteId: number,\n requestBody: NoteEdit,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/v1/notes/edit/{note_id}',\n path: {\n 'note_id': noteId,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Add Attachment\n * @param noteId\n * @param formData\n * @returns BaseNote Successful Response\n * @throws ApiError\n */\n public patchNotesAddAttachment(\n noteId: number,\n formData: Body_add_attachment_v1_notes__note_id__add_attachment_patch,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/v1/notes/{note_id}/add_attachment',\n path: {\n 'note_id': noteId,\n },\n formData: formData,\n mediaType: 'multipart/form-data',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Remove Attachment\n * @param noteId\n * @returns BaseNote Successful Response\n * @throws ApiError\n */\n public deleteNotesRemoveAttachment(\n noteId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'DELETE',\n url: '/v1/notes/{note_id}/remove_attachment',\n path: {\n 'note_id': noteId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Remove Note\n * @param noteId\n * @returns GenericStatus Successful Response\n * @throws ApiError\n */\n public deleteNotesRemoveNote(\n noteId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'DELETE',\n url: '/v1/notes/{note_id}',\n path: {\n 'note_id': noteId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Restore Note\n * @param noteId\n * @returns GenericStatus Successful Response\n * @throws ApiError\n */\n public patchNotesRestoreNote(\n noteId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/v1/notes/{note_id}/restore',\n path: {\n 'note_id': noteId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Pin Note\n * @param noteId\n * @returns GenericStatus Successful Response\n * @throws ApiError\n */\n public patchNotesPinNote(\n noteId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/v1/notes/{note_id}/pin',\n path: {\n 'note_id': noteId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Unpin Note\n * @param noteId\n * @returns GenericStatus Successful Response\n * @throws ApiError\n */\n public patchNotesUnpinNote(\n noteId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/v1/notes/{note_id}/unpin',\n path: {\n 'note_id': noteId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Edit Note\n * @param noteId\n * @param requestBody\n * @returns BaseNote Successful Response\n * @throws ApiError\n */\n public patchNotesEditNoteVLatest(\n noteId: number,\n requestBody: NoteEdit,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/latest/notes/edit/{note_id}',\n path: {\n 'note_id': noteId,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Add Attachment\n * @param noteId\n * @param formData\n * @returns BaseNote Successful Response\n * @throws ApiError\n */\n public patchNotesAddAttachmentVLatest(\n noteId: number,\n formData: Body_add_attachment_latest_notes__note_id__add_attachment_patch,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/latest/notes/{note_id}/add_attachment',\n path: {\n 'note_id': noteId,\n },\n formData: formData,\n mediaType: 'multipart/form-data',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Remove Attachment\n * @param noteId\n * @returns BaseNote Successful Response\n * @throws ApiError\n */\n public deleteNotesRemoveAttachmentVLatest(\n noteId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'DELETE',\n url: '/latest/notes/{note_id}/remove_attachment',\n path: {\n 'note_id': noteId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Remove Note\n * @param noteId\n * @returns GenericStatus Successful Response\n * @throws ApiError\n */\n public deleteNotesRemoveNoteVLatest(\n noteId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'DELETE',\n url: '/latest/notes/{note_id}',\n path: {\n 'note_id': noteId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Restore Note\n * @param noteId\n * @returns GenericStatus Successful Response\n * @throws ApiError\n */\n public patchNotesRestoreNoteVLatest(\n noteId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/latest/notes/{note_id}/restore',\n path: {\n 'note_id': noteId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Pin Note\n * @param noteId\n * @returns GenericStatus Successful Response\n * @throws ApiError\n */\n public patchNotesPinNoteVLatest(\n noteId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/latest/notes/{note_id}/pin',\n path: {\n 'note_id': noteId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Unpin Note\n * @param noteId\n * @returns GenericStatus Successful Response\n * @throws ApiError\n */\n public patchNotesUnpinNoteVLatest(\n noteId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/latest/notes/{note_id}/unpin',\n path: {\n 'note_id': noteId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n}\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\nimport type { BaseTask } from '../models/BaseTask';\nimport type { Body_import_legacy_bundles_latest_orders_finance_import_legacy_bundles_post } from '../models/Body_import_legacy_bundles_latest_orders_finance_import_legacy_bundles_post';\nimport type { Body_import_legacy_bundles_v1_orders_finance_import_legacy_bundles_post } from '../models/Body_import_legacy_bundles_v1_orders_finance_import_legacy_bundles_post';\nimport type { Body_mollie_webhook_latest_orders_webhook_mollie_post } from '../models/Body_mollie_webhook_latest_orders_webhook_mollie_post';\nimport type { Body_mollie_webhook_v1_orders_webhook_mollie_post } from '../models/Body_mollie_webhook_v1_orders_webhook_mollie_post';\nimport type { CustomOrderIn } from '../models/CustomOrderIn';\nimport type { FinanceOrder } from '../models/FinanceOrder';\nimport type { OrderIn } from '../models/OrderIn';\nimport type { OrderWithPaymentInformation } from '../models/OrderWithPaymentInformation';\nimport type { RegularGuardianWithChildren } from '../models/RegularGuardianWithChildren';\nimport type { RegularOrder } from '../models/RegularOrder';\nimport type { RegularOrderItem } from '../models/RegularOrderItem';\nimport type { CancelablePromise } from '../core/CancelablePromise';\nimport type { BaseHttpRequest } from '../core/BaseHttpRequest';\nexport class OrdersService {\n constructor(public readonly httpRequest: BaseHttpRequest) {}\n /**\n * Get Order\n * Get an order by id\n *\n *
\n * Args:\n *\n * - `order_id` (int): the id of the order to get\n *\n *
\n * Returns the __order__ with the corresponding id\n *\n *
\n * HTTPExceptions:\n *\n * - 404: Order not found\n * @param orderId\n * @returns RegularOrder Successful Response\n * @throws ApiError\n */\n public getOrdersGetOrder(\n orderId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/orders/order/{order_id}',\n path: {\n 'order_id': orderId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Order Items\n * Get the items of an order by id\n *\n *
\n * Args:\n *\n * - `order_id` (int): the id of the order to get the items for\n *\n *
\n * Returns the __items__ of the order with the corresponding id\n *\n *
\n * HTTPExceptions:\n *\n * - 404: Order not found\n * @param orderId\n * @returns RegularOrderItem Successful Response\n * @throws ApiError\n */\n public getOrdersGetOrderItems(\n orderId: number,\n ): CancelablePromise> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/orders/order/{order_id}/items',\n path: {\n 'order_id': orderId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Orders For User\n * Get all orders for a user with pagination\n *\n *
\n * Args:\n *\n * - `user_id` (int): the id of the user to get the orders for\n *\n * - `offset` (int): the offset of the orders, default = 0\n *\n * - `limit` (int): the number of orders per page, default = 100\n *\n *
\n * Returns the __orders__ on the corresponding page for the user\n *\n *
\n * ! This endpoint is deprecated and should not be used !\n * @param userId\n * @param offset\n * @param limit\n * @returns OrderWithPaymentInformation Successful Response\n * @throws ApiError\n */\n public getOrdersGetOrdersForUser(\n userId: number,\n offset?: number,\n limit: number = 100,\n ): CancelablePromise> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/orders/user/{user_id}',\n path: {\n 'user_id': userId,\n },\n query: {\n 'offset': offset,\n 'limit': limit,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Orders Count For User\n * Get the total count of orders for a user\n *\n *
\n * Args:\n *\n * - `user_id` (int): the id of the user to get the orders for\n *\n *
\n * Returns the total count of __orders__ for the user\n *
\n * ! This endpoint is deprecated and should not be used !\n * @param userId\n * @returns number Successful Response\n * @throws ApiError\n */\n public getOrdersGetOrdersCountForUser(\n userId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/orders/user/{user_id}/count',\n path: {\n 'user_id': userId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Create Order\n * Create an order\n *\n *
\n * Args:\n *\n * - `new_order` (`OrderIn`) as request body:\n *\n * - `items` (`List[OrderItemIn]`): the items of the order:\n *\n * - `product_id` (`int`): the id of the product\n *\n * - `order_type` (`EnumOrderType`): the type of the order\n *\n * See schemas for the possible values\n *\n * - `customer_user` (`Use`r`): the user to create the order for\n *\n *
\n * This creates an order for the customer_user\n *\n * The seller is the current_user, which is also saved in the order\n *\n *
\n * Limitations in this release:\n *\n * - Coaches are not allowed to sell products\n *\n * - Only guardians can buy\n *\n * - Only one product per order\n *\n * - No IDeal payments\n *\n *
\n * Returns the __created order__\n * @param customerUserId\n * @param requestBody\n * @returns OrderWithPaymentInformation Successful Response\n * @throws ApiError\n */\n public postOrdersCreateOrder(\n customerUserId: number,\n requestBody: OrderIn,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/v1/orders/order',\n query: {\n 'customer_user_id': customerUserId,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Cancel Order\n * Cancel an order\n *\n *
\n * Args:\n *\n * - `order_id` (int): the id of the order to cancel\n *\n *
\n * Returns the cancelled __order__\n * @param orderId\n * @returns RegularOrder Successful Response\n * @throws ApiError\n */\n public patchOrdersCancelOrder(\n orderId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/v1/orders/order/{order_id}/cancel',\n path: {\n 'order_id': orderId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Mollie Webhook\n * Mollie webhook for payment status updates\n *\n *
\n * Args:\n *\n * - `id` (str): the id of the payment reference\n *\n *
\n * Returns a status code 200 with {status: \"ok\"}\n * @param formData\n * @returns any Successful Response\n * @throws ApiError\n */\n public postOrdersMollieWebhook(\n formData: Body_mollie_webhook_v1_orders_webhook_mollie_post,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/v1/orders/webhook/mollie',\n formData: formData,\n mediaType: 'application/x-www-form-urlencoded',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Finance Orders\n * Get finance orders with pagination, used for the finance dashboard\n *\n *
\n * Args:\n *\n * - `limit` (`Optional[int]`): the number of orders per page, default = `100`\n *\n * - `offset` (`Optional[int]`): the offset of the orders, default = `0`\n *\n * - `is_cancelled` (`Optional[bool]`): whether the orders are cancelled or not, default = `False`\n *\n * - `processed_by_admin` (`Optional[bool]`): whether the orders are processed by admin or not, default = `False`\n *\n * - `lessons_only` (`Optional[bool]`): whether the orders are lessons only or not, default = `False`\n *\n *
\n * Returns the __orders__ on the corresponding page with `is_cancelled` and `processed_by_admin` as filters\n * @param limit\n * @param offset\n * @param isCancelled\n * @param processedByAdmin\n * @param lessonsOnly\n * @param searchName\n * @returns FinanceOrder Successful Response\n * @throws ApiError\n */\n public getOrdersGetFinanceOrders(\n limit: number = 100,\n offset?: number,\n isCancelled: boolean = false,\n processedByAdmin: boolean = false,\n lessonsOnly: boolean = false,\n searchName?: (string | null),\n ): CancelablePromise> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/orders/finance/orders',\n query: {\n 'limit': limit,\n 'offset': offset,\n 'is_cancelled': isCancelled,\n 'processed_by_admin': processedByAdmin,\n 'lessons_only': lessonsOnly,\n 'search_name': searchName,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Process Orders\n * (Un)Process orders, used for the finance dashboard\n *\n * Sets the `processed_by_admin` flag on the orders\n *\n *
\n * Args:\n *\n * - `order_id_list` (List[int]): the list of order ids to (un)process\n *\n * - `is_cancelled` (Optional[bool]): whether the orders are cancelled or not\n *\n * - `lessons_only` (Optional[bool]): whether the orders are lessons only or not\n *\n * - `processed_by_admin` (Optional[bool]): the boolean set for processed_by_admin\n *\n * - `offset` (Optional[int]): the offset of the orders, default = 0\n *\n * - `limit` (Optional[int]): the number of orders per page, default = 100\n *\n *
\n * Returns the __orders__ that are to be (un)processed, corresponding to the current page (offset, limit, is_cancelled, lessons_only, unprocess)\n *
\n * HTTPExceptions:\n *\n * - 403: Not enough permissions\n * @param requestBody\n * @param isCancelled\n * @param lessonsOnly\n * @param processedByAdmin\n * @param offset\n * @param limit\n * @param searchName\n * @returns FinanceOrder Successful Response\n * @throws ApiError\n */\n public postOrdersProcessOrders(\n requestBody: Array,\n isCancelled: boolean = false,\n lessonsOnly: boolean = false,\n processedByAdmin: boolean = true,\n offset?: number,\n limit: number = 100,\n searchName?: (string | null),\n ): CancelablePromise> {\n return this.httpRequest.request({\n method: 'POST',\n url: '/v1/orders/finance/process',\n query: {\n 'is_cancelled': isCancelled,\n 'lessons_only': lessonsOnly,\n 'processed_by_admin': processedByAdmin,\n 'offset': offset,\n 'limit': limit,\n 'search_name': searchName,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Create Custom Order\n * Create a custom order for a guardian\n *\n *
\n * Takes a `CustomBundleDetail` as request body:\n *\n * - `total_hours` (float): the total hours of the bundle\n *\n * - `start_date` (datetime): the start date of the bundle\n *\n * - `end_date` (datetime): the end date of the bundle\n *\n *
\n * Returns the created order\n *\n *
\n * HTTPExceptions:\n *\n * - 406: Only guardians can buy a bundle\n *\n * - 403: Not enough permissions to create order\n *\n * - 406: IDeal payments not supported in this release\n *\n *
\n * Limitations in this release:\n *\n * - Coaches are not allowed to sell products\n *\n * - Only guardians can buy\n *\n * - Only one product per order\n *\n * - No IDeal payments\n * @param customerUserId\n * @param requestBody\n * @returns RegularOrder Successful Response\n * @throws ApiError\n */\n public postOrdersCreateCustomOrder(\n customerUserId: number,\n requestBody: CustomOrderIn,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/v1/orders/order/custom',\n query: {\n 'customer_user_id': customerUserId,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Lessons To Order\n * Takes all the __accorded__ lessons from the previous month and puts them bundles in orders\n *\n * These orders are all created with the `invoice` order type\n *\n *
\n * Returns the __all orders__ created from the lessons with filter `is_cancelled` as `False` and `processed_by_admin` as `False`.\n *\n *
\n * !!! This is a __slow__ operation and should be used with caution. !!!\n * @returns BaseTask Successful Response\n * @throws ApiError\n */\n public postOrdersLessonsToOrder(): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/v1/orders/finance/lessons/to_order',\n errors: {\n 404: `Not found`,\n },\n });\n }\n /**\n * Get Lessons To Order\n * Get the orders created from the lessons to order task\n *\n *
\n * Args:\n *\n * - `task_id` (str): the id of the task\n *\n *
\n * Returns the __orders__ created from the lessons with the corresponding task_id\n * @param taskId\n * @returns BaseTask Successful Response\n * @throws ApiError\n */\n public getOrdersGetLessonsToOrder(\n taskId: string,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/orders/finance/lessons_to_order/task/{task_id}',\n path: {\n 'task_id': taskId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Import Legacy Bundles\n * Import all the legacy bundles from the previous system (excel)\n *\n * and create orders for them\n *\n *
\n * Args:\n *\n * - csv: `UploadFile` the csv file with the legacy orders\n *\n * - (Optional) `guardian_id_column_name` (str): the column name of the guardian id, default = \"guardian_id\"\n *\n * - (Optional) `remaining_hours_column_name` (str): the column name of the remaining hours, default = \"remaining_hours\"\n *\n * - (Optional) `end_date_column_name` (str): the column name of the end date, default = \"end_date\"\n *\n *
\n * Returns a tuple with the __created orders__ and the __failed orders__\n *\n * - The failed orders are a list of the values of the failed orders (or skipped)\n *\n *
\n * HTTPExceptions:\n *\n * - 403: Not enough permissions\n * - 400: File must be a CSV file\n * - 400: CSV must contain given columns:\n * @param formData\n * @param guardianIdColumnName\n * @param remainingHoursColumnName\n * @param endDateColumnName\n * @returns any Successful Response\n * @throws ApiError\n */\n public postOrdersImportLegacyBundles(\n formData: Body_import_legacy_bundles_v1_orders_finance_import_legacy_bundles_post,\n guardianIdColumnName?: (string | null),\n remainingHoursColumnName?: (string | null),\n endDateColumnName?: (string | null),\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/v1/orders/finance/import_legacy_bundles',\n query: {\n 'guardian_id_column_name': guardianIdColumnName,\n 'remaining_hours_column_name': remainingHoursColumnName,\n 'end_date_column_name': endDateColumnName,\n },\n formData: formData,\n mediaType: 'multipart/form-data',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Guardian From Order\n * Get the guardian from an order\n *\n *
\n * Args:\n *\n * - `order_id` (int): the id of the order to get the guardian for\n *\n *
\n * Returns the __guardian__ of the order with the corresponding id\n *\n *\n * If not guardian is found, returns `None`\n *\n *\n * HTTPExceptions:\n *\n * - 404: Order not found\n *
\n * @param orderId\n * @returns any Successful Response\n * @throws ApiError\n */\n public getOrdersGetGuardianFromOrder(\n orderId: number,\n ): CancelablePromise<(RegularGuardianWithChildren | null)> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/orders/finance/orders/{order_id}/guardian',\n path: {\n 'order_id': orderId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Payment Redirect From Uuid\n * Get the redirect link from a payment uuid\n *\n *
\n * Args:\n *\n * - `uuid` (str): the uuid of the payment to get the redirect link for\n *\n *
\n * Returns a __redirect__ to the payment link\n * @param uuid\n * @returns void\n * @throws ApiError\n */\n public getOrdersPaymentRedirectFromUuid(\n uuid: string,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/orders/{uuid}',\n path: {\n 'uuid': uuid,\n },\n errors: {\n 307: `Successful Response`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Order\n * Get an order by id\n *\n *
\n * Args:\n *\n * - `order_id` (int): the id of the order to get\n *\n *
\n * Returns the __order__ with the corresponding id\n *\n *
\n * HTTPExceptions:\n *\n * - 404: Order not found\n * @param orderId\n * @returns RegularOrder Successful Response\n * @throws ApiError\n */\n public getOrdersGetOrderVLatest(\n orderId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/orders/order/{order_id}',\n path: {\n 'order_id': orderId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Order Items\n * Get the items of an order by id\n *\n *
\n * Args:\n *\n * - `order_id` (int): the id of the order to get the items for\n *\n *
\n * Returns the __items__ of the order with the corresponding id\n *\n *
\n * HTTPExceptions:\n *\n * - 404: Order not found\n * @param orderId\n * @returns RegularOrderItem Successful Response\n * @throws ApiError\n */\n public getOrdersGetOrderItemsVLatest(\n orderId: number,\n ): CancelablePromise> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/orders/order/{order_id}/items',\n path: {\n 'order_id': orderId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Orders For User\n * Get all orders for a user with pagination\n *\n *
\n * Args:\n *\n * - `user_id` (int): the id of the user to get the orders for\n *\n * - `offset` (int): the offset of the orders, default = 0\n *\n * - `limit` (int): the number of orders per page, default = 100\n *\n *
\n * Returns the __orders__ on the corresponding page for the user\n *\n *
\n * ! This endpoint is deprecated and should not be used !\n * @param userId\n * @param offset\n * @param limit\n * @returns OrderWithPaymentInformation Successful Response\n * @throws ApiError\n */\n public getOrdersGetOrdersForUserVLatest(\n userId: number,\n offset?: number,\n limit: number = 100,\n ): CancelablePromise> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/orders/user/{user_id}',\n path: {\n 'user_id': userId,\n },\n query: {\n 'offset': offset,\n 'limit': limit,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Orders Count For User\n * Get the total count of orders for a user\n *\n *
\n * Args:\n *\n * - `user_id` (int): the id of the user to get the orders for\n *\n *
\n * Returns the total count of __orders__ for the user\n *
\n * ! This endpoint is deprecated and should not be used !\n * @param userId\n * @returns number Successful Response\n * @throws ApiError\n */\n public getOrdersGetOrdersCountForUserVLatest(\n userId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/orders/user/{user_id}/count',\n path: {\n 'user_id': userId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Create Order\n * Create an order\n *\n *
\n * Args:\n *\n * - `new_order` (`OrderIn`) as request body:\n *\n * - `items` (`List[OrderItemIn]`): the items of the order:\n *\n * - `product_id` (`int`): the id of the product\n *\n * - `order_type` (`EnumOrderType`): the type of the order\n *\n * See schemas for the possible values\n *\n * - `customer_user` (`Use`r`): the user to create the order for\n *\n *
\n * This creates an order for the customer_user\n *\n * The seller is the current_user, which is also saved in the order\n *\n *
\n * Limitations in this release:\n *\n * - Coaches are not allowed to sell products\n *\n * - Only guardians can buy\n *\n * - Only one product per order\n *\n * - No IDeal payments\n *\n *
\n * Returns the __created order__\n * @param customerUserId\n * @param requestBody\n * @returns OrderWithPaymentInformation Successful Response\n * @throws ApiError\n */\n public postOrdersCreateOrderVLatest(\n customerUserId: number,\n requestBody: OrderIn,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/latest/orders/order',\n query: {\n 'customer_user_id': customerUserId,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Cancel Order\n * Cancel an order\n *\n *
\n * Args:\n *\n * - `order_id` (int): the id of the order to cancel\n *\n *
\n * Returns the cancelled __order__\n * @param orderId\n * @returns RegularOrder Successful Response\n * @throws ApiError\n */\n public patchOrdersCancelOrderVLatest(\n orderId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/latest/orders/order/{order_id}/cancel',\n path: {\n 'order_id': orderId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Mollie Webhook\n * Mollie webhook for payment status updates\n *\n *
\n * Args:\n *\n * - `id` (str): the id of the payment reference\n *\n *
\n * Returns a status code 200 with {status: \"ok\"}\n * @param formData\n * @returns any Successful Response\n * @throws ApiError\n */\n public postOrdersMollieWebhookVLatest(\n formData: Body_mollie_webhook_latest_orders_webhook_mollie_post,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/latest/orders/webhook/mollie',\n formData: formData,\n mediaType: 'application/x-www-form-urlencoded',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Finance Orders\n * Get finance orders with pagination, used for the finance dashboard\n *\n *
\n * Args:\n *\n * - `limit` (`Optional[int]`): the number of orders per page, default = `100`\n *\n * - `offset` (`Optional[int]`): the offset of the orders, default = `0`\n *\n * - `is_cancelled` (`Optional[bool]`): whether the orders are cancelled or not, default = `False`\n *\n * - `processed_by_admin` (`Optional[bool]`): whether the orders are processed by admin or not, default = `False`\n *\n * - `lessons_only` (`Optional[bool]`): whether the orders are lessons only or not, default = `False`\n *\n *
\n * Returns the __orders__ on the corresponding page with `is_cancelled` and `processed_by_admin` as filters\n * @param limit\n * @param offset\n * @param isCancelled\n * @param processedByAdmin\n * @param lessonsOnly\n * @param searchName\n * @returns FinanceOrder Successful Response\n * @throws ApiError\n */\n public getOrdersGetFinanceOrdersVLatest(\n limit: number = 100,\n offset?: number,\n isCancelled: boolean = false,\n processedByAdmin: boolean = false,\n lessonsOnly: boolean = false,\n searchName?: (string | null),\n ): CancelablePromise> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/orders/finance/orders',\n query: {\n 'limit': limit,\n 'offset': offset,\n 'is_cancelled': isCancelled,\n 'processed_by_admin': processedByAdmin,\n 'lessons_only': lessonsOnly,\n 'search_name': searchName,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Process Orders\n * (Un)Process orders, used for the finance dashboard\n *\n * Sets the `processed_by_admin` flag on the orders\n *\n *
\n * Args:\n *\n * - `order_id_list` (List[int]): the list of order ids to (un)process\n *\n * - `is_cancelled` (Optional[bool]): whether the orders are cancelled or not\n *\n * - `lessons_only` (Optional[bool]): whether the orders are lessons only or not\n *\n * - `processed_by_admin` (Optional[bool]): the boolean set for processed_by_admin\n *\n * - `offset` (Optional[int]): the offset of the orders, default = 0\n *\n * - `limit` (Optional[int]): the number of orders per page, default = 100\n *\n *
\n * Returns the __orders__ that are to be (un)processed, corresponding to the current page (offset, limit, is_cancelled, lessons_only, unprocess)\n *
\n * HTTPExceptions:\n *\n * - 403: Not enough permissions\n * @param requestBody\n * @param isCancelled\n * @param lessonsOnly\n * @param processedByAdmin\n * @param offset\n * @param limit\n * @param searchName\n * @returns FinanceOrder Successful Response\n * @throws ApiError\n */\n public postOrdersProcessOrdersVLatest(\n requestBody: Array,\n isCancelled: boolean = false,\n lessonsOnly: boolean = false,\n processedByAdmin: boolean = true,\n offset?: number,\n limit: number = 100,\n searchName?: (string | null),\n ): CancelablePromise> {\n return this.httpRequest.request({\n method: 'POST',\n url: '/latest/orders/finance/process',\n query: {\n 'is_cancelled': isCancelled,\n 'lessons_only': lessonsOnly,\n 'processed_by_admin': processedByAdmin,\n 'offset': offset,\n 'limit': limit,\n 'search_name': searchName,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Create Custom Order\n * Create a custom order for a guardian\n *\n *
\n * Takes a `CustomBundleDetail` as request body:\n *\n * - `total_hours` (float): the total hours of the bundle\n *\n * - `start_date` (datetime): the start date of the bundle\n *\n * - `end_date` (datetime): the end date of the bundle\n *\n *
\n * Returns the created order\n *\n *
\n * HTTPExceptions:\n *\n * - 406: Only guardians can buy a bundle\n *\n * - 403: Not enough permissions to create order\n *\n * - 406: IDeal payments not supported in this release\n *\n *
\n * Limitations in this release:\n *\n * - Coaches are not allowed to sell products\n *\n * - Only guardians can buy\n *\n * - Only one product per order\n *\n * - No IDeal payments\n * @param customerUserId\n * @param requestBody\n * @returns RegularOrder Successful Response\n * @throws ApiError\n */\n public postOrdersCreateCustomOrderVLatest(\n customerUserId: number,\n requestBody: CustomOrderIn,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/latest/orders/order/custom',\n query: {\n 'customer_user_id': customerUserId,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Lessons To Order\n * Takes all the __accorded__ lessons from the previous month and puts them bundles in orders\n *\n * These orders are all created with the `invoice` order type\n *\n *
\n * Returns the __all orders__ created from the lessons with filter `is_cancelled` as `False` and `processed_by_admin` as `False`.\n *\n *
\n * !!! This is a __slow__ operation and should be used with caution. !!!\n * @returns BaseTask Successful Response\n * @throws ApiError\n */\n public postOrdersLessonsToOrderVLatest(): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/latest/orders/finance/lessons/to_order',\n errors: {\n 404: `Not found`,\n },\n });\n }\n /**\n * Get Lessons To Order\n * Get the orders created from the lessons to order task\n *\n *
\n * Args:\n *\n * - `task_id` (str): the id of the task\n *\n *
\n * Returns the __orders__ created from the lessons with the corresponding task_id\n * @param taskId\n * @returns BaseTask Successful Response\n * @throws ApiError\n */\n public getOrdersGetLessonsToOrderVLatest(\n taskId: string,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/orders/finance/lessons_to_order/task/{task_id}',\n path: {\n 'task_id': taskId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Import Legacy Bundles\n * Import all the legacy bundles from the previous system (excel)\n *\n * and create orders for them\n *\n *
\n * Args:\n *\n * - csv: `UploadFile` the csv file with the legacy orders\n *\n * - (Optional) `guardian_id_column_name` (str): the column name of the guardian id, default = \"guardian_id\"\n *\n * - (Optional) `remaining_hours_column_name` (str): the column name of the remaining hours, default = \"remaining_hours\"\n *\n * - (Optional) `end_date_column_name` (str): the column name of the end date, default = \"end_date\"\n *\n *
\n * Returns a tuple with the __created orders__ and the __failed orders__\n *\n * - The failed orders are a list of the values of the failed orders (or skipped)\n *\n *
\n * HTTPExceptions:\n *\n * - 403: Not enough permissions\n * - 400: File must be a CSV file\n * - 400: CSV must contain given columns:\n * @param formData\n * @param guardianIdColumnName\n * @param remainingHoursColumnName\n * @param endDateColumnName\n * @returns any Successful Response\n * @throws ApiError\n */\n public postOrdersImportLegacyBundlesVLatest(\n formData: Body_import_legacy_bundles_latest_orders_finance_import_legacy_bundles_post,\n guardianIdColumnName?: (string | null),\n remainingHoursColumnName?: (string | null),\n endDateColumnName?: (string | null),\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/latest/orders/finance/import_legacy_bundles',\n query: {\n 'guardian_id_column_name': guardianIdColumnName,\n 'remaining_hours_column_name': remainingHoursColumnName,\n 'end_date_column_name': endDateColumnName,\n },\n formData: formData,\n mediaType: 'multipart/form-data',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Guardian From Order\n * Get the guardian from an order\n *\n *
\n * Args:\n *\n * - `order_id` (int): the id of the order to get the guardian for\n *\n *
\n * Returns the __guardian__ of the order with the corresponding id\n *\n *\n * If not guardian is found, returns `None`\n *\n *\n * HTTPExceptions:\n *\n * - 404: Order not found\n *
\n * @param orderId\n * @returns any Successful Response\n * @throws ApiError\n */\n public getOrdersGetGuardianFromOrderVLatest(\n orderId: number,\n ): CancelablePromise<(RegularGuardianWithChildren | null)> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/orders/finance/orders/{order_id}/guardian',\n path: {\n 'order_id': orderId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Payment Redirect From Uuid\n * Get the redirect link from a payment uuid\n *\n *
\n * Args:\n *\n * - `uuid` (str): the uuid of the payment to get the redirect link for\n *\n *
\n * Returns a __redirect__ to the payment link\n * @param uuid\n * @returns void\n * @throws ApiError\n */\n public getOrdersPaymentRedirectFromUuidVLatest(\n uuid: string,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/orders/{uuid}',\n path: {\n 'uuid': uuid,\n },\n errors: {\n 307: `Successful Response`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n}\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\nimport type { BasePipe } from '../models/BasePipe';\nimport type { BaseStage } from '../models/BaseStage';\nimport type { CRMPipeCoaches } from '../models/CRMPipeCoaches';\nimport type { CRMPipeStubs } from '../models/CRMPipeStubs';\nimport type { CRMPipeStudents } from '../models/CRMPipeStudents';\nimport type { PipeEdit } from '../models/PipeEdit';\nimport type { PipeIn } from '../models/PipeIn';\nimport type { PipeQuery } from '../models/PipeQuery';\nimport type { RegularPipe } from '../models/RegularPipe';\nimport type { StageEdit } from '../models/StageEdit';\nimport type { StageIn } from '../models/StageIn';\nimport type { CancelablePromise } from '../core/CancelablePromise';\nimport type { BaseHttpRequest } from '../core/BaseHttpRequest';\nexport class PipesService {\n constructor(public readonly httpRequest: BaseHttpRequest) {}\n /**\n * View Coach Stages\n * @returns BaseStage Successful Response\n * @throws ApiError\n */\n public getPipesViewCoachStages(): CancelablePromise> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/pipes/stages/coach',\n errors: {\n 404: `Not found`,\n },\n });\n }\n /**\n * View Guardian Stages\n * @returns BaseStage Successful Response\n * @throws ApiError\n */\n public getPipesViewGuardianStages(): CancelablePromise> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/pipes/stages/guardian',\n errors: {\n 404: `Not found`,\n },\n });\n }\n /**\n * View Stub Stages\n * @returns BaseStage Successful Response\n * @throws ApiError\n */\n public getPipesViewStubStages(): CancelablePromise> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/pipes/stages/stub',\n errors: {\n 404: `Not found`,\n },\n });\n }\n /**\n * View Pipe\n * @param pipeId\n * @returns BasePipe Successful Response\n * @throws ApiError\n */\n public getPipesViewPipe(\n pipeId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/pipes/view/{pipe_id}',\n path: {\n 'pipe_id': pipeId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * View Coaches\n * @param pipeId\n * @param requestBody\n * @returns CRMPipeCoaches Successful Response\n * @throws ApiError\n */\n public postPipesViewCoaches(\n pipeId: number,\n requestBody: PipeQuery,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/v1/pipes/view/{pipe_id}/coaches',\n path: {\n 'pipe_id': pipeId,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * View Students\n * @param pipeId\n * @param requestBody\n * @returns CRMPipeStudents Successful Response\n * @throws ApiError\n */\n public postPipesViewStudents(\n pipeId: number,\n requestBody?: (PipeQuery | null),\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/v1/pipes/view/{pipe_id}/students',\n path: {\n 'pipe_id': pipeId,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * View Stubs\n * @param pipeId\n * @param requestBody\n * @returns CRMPipeStubs Successful Response\n * @throws ApiError\n */\n public postPipesViewStubs(\n pipeId: number,\n requestBody?: (PipeQuery | null),\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/v1/pipes/view/{pipe_id}/stubs',\n path: {\n 'pipe_id': pipeId,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Edit Pipe\n * @param pipeId\n * @param requestBody\n * @returns BasePipe Successful Response\n * @throws ApiError\n */\n public patchPipesEditPipe(\n pipeId: number,\n requestBody: PipeEdit,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/v1/pipes/edit/{pipe_id}',\n path: {\n 'pipe_id': pipeId,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Create Pipe\n * @param stageId\n * @param requestBody\n * @returns BasePipe Successful Response\n * @throws ApiError\n */\n public postPipesCreatePipe(\n stageId: number,\n requestBody: PipeIn,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/v1/pipes/create/stage/{stage_id}',\n path: {\n 'stage_id': stageId,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Create Stage\n * @param requestBody\n * @returns BaseStage Successful Response\n * @throws ApiError\n */\n public postPipesCreateStage(\n requestBody: StageIn,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/v1/pipes/create/stage',\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Edit Stage\n * @param stageId\n * @param requestBody\n * @returns BaseStage Successful Response\n * @throws ApiError\n */\n public patchPipesEditStage(\n stageId: number,\n requestBody: StageEdit,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/v1/pipes/edit/stage/{stage_id}',\n path: {\n 'stage_id': stageId,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Change Pipe\n * @param newPipeId\n * @param pipeId\n * @returns RegularPipe Successful Response\n * @throws ApiError\n */\n public patchPipesChangePipe(\n newPipeId: number,\n pipeId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/v1/pipes/edit/pipe/{pipe_id}/change_pipe/{new_pipe_id}',\n path: {\n 'new_pipe_id': newPipeId,\n 'pipe_id': pipeId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * View Coach Stages\n * @returns BaseStage Successful Response\n * @throws ApiError\n */\n public getPipesViewCoachStagesVLatest(): CancelablePromise> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/pipes/stages/coach',\n errors: {\n 404: `Not found`,\n },\n });\n }\n /**\n * View Guardian Stages\n * @returns BaseStage Successful Response\n * @throws ApiError\n */\n public getPipesViewGuardianStagesVLatest(): CancelablePromise> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/pipes/stages/guardian',\n errors: {\n 404: `Not found`,\n },\n });\n }\n /**\n * View Stub Stages\n * @returns BaseStage Successful Response\n * @throws ApiError\n */\n public getPipesViewStubStagesVLatest(): CancelablePromise> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/pipes/stages/stub',\n errors: {\n 404: `Not found`,\n },\n });\n }\n /**\n * View Pipe\n * @param pipeId\n * @returns BasePipe Successful Response\n * @throws ApiError\n */\n public getPipesViewPipeVLatest(\n pipeId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/pipes/view/{pipe_id}',\n path: {\n 'pipe_id': pipeId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * View Coaches\n * @param pipeId\n * @param requestBody\n * @returns CRMPipeCoaches Successful Response\n * @throws ApiError\n */\n public postPipesViewCoachesVLatest(\n pipeId: number,\n requestBody: PipeQuery,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/latest/pipes/view/{pipe_id}/coaches',\n path: {\n 'pipe_id': pipeId,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * View Students\n * @param pipeId\n * @param requestBody\n * @returns CRMPipeStudents Successful Response\n * @throws ApiError\n */\n public postPipesViewStudentsVLatest(\n pipeId: number,\n requestBody?: (PipeQuery | null),\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/latest/pipes/view/{pipe_id}/students',\n path: {\n 'pipe_id': pipeId,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * View Stubs\n * @param pipeId\n * @param requestBody\n * @returns CRMPipeStubs Successful Response\n * @throws ApiError\n */\n public postPipesViewStubsVLatest(\n pipeId: number,\n requestBody?: (PipeQuery | null),\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/latest/pipes/view/{pipe_id}/stubs',\n path: {\n 'pipe_id': pipeId,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Edit Pipe\n * @param pipeId\n * @param requestBody\n * @returns BasePipe Successful Response\n * @throws ApiError\n */\n public patchPipesEditPipeVLatest(\n pipeId: number,\n requestBody: PipeEdit,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/latest/pipes/edit/{pipe_id}',\n path: {\n 'pipe_id': pipeId,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Create Pipe\n * @param stageId\n * @param requestBody\n * @returns BasePipe Successful Response\n * @throws ApiError\n */\n public postPipesCreatePipeVLatest(\n stageId: number,\n requestBody: PipeIn,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/latest/pipes/create/stage/{stage_id}',\n path: {\n 'stage_id': stageId,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Create Stage\n * @param requestBody\n * @returns BaseStage Successful Response\n * @throws ApiError\n */\n public postPipesCreateStageVLatest(\n requestBody: StageIn,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/latest/pipes/create/stage',\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Edit Stage\n * @param stageId\n * @param requestBody\n * @returns BaseStage Successful Response\n * @throws ApiError\n */\n public patchPipesEditStageVLatest(\n stageId: number,\n requestBody: StageEdit,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/latest/pipes/edit/stage/{stage_id}',\n path: {\n 'stage_id': stageId,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Change Pipe\n * @param newPipeId\n * @param pipeId\n * @returns RegularPipe Successful Response\n * @throws ApiError\n */\n public patchPipesChangePipeVLatest(\n newPipeId: number,\n pipeId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/latest/pipes/edit/pipe/{pipe_id}/change_pipe/{new_pipe_id}',\n path: {\n 'new_pipe_id': newPipeId,\n 'pipe_id': pipeId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n}\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\nimport type { Body_add_image_to_product_latest_products_product__product_id__add_image_patch } from '../models/Body_add_image_to_product_latest_products_product__product_id__add_image_patch';\nimport type { Body_add_image_to_product_v1_products_product__product_id__add_image_patch } from '../models/Body_add_image_to_product_v1_products_product__product_id__add_image_patch';\nimport type { FullProduct } from '../models/FullProduct';\nimport type { ProductIn } from '../models/ProductIn';\nimport type { RegularProduct } from '../models/RegularProduct';\nimport type { CancelablePromise } from '../core/CancelablePromise';\nimport type { BaseHttpRequest } from '../core/BaseHttpRequest';\nexport class ProductsService {\n constructor(public readonly httpRequest: BaseHttpRequest) {}\n /**\n * Get Product\n * TODO refactor this to use the product_service and add the correct permissions\n *\n *
\n * Retrieve a product by its ID.\n *\n *
\n * Args:\n *\n * - product_id: int\n *\n * Returns:\n *\n * - `RegularProduct`\n *\n *
\n * HTTPExceptions:\n *\n * - 404: Product not found\n *\n * - 403: Not enough permissions to view products\n * @param productId\n * @returns RegularProduct Successful Response\n * @throws ApiError\n */\n public getProductsGetProduct(\n productId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/products/product/{product_id}',\n path: {\n 'product_id': productId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Update Product\n * @param productId\n * @param requestBody\n * @returns FullProduct Successful Response\n * @throws ApiError\n */\n public patchProductsUpdateProduct(\n productId: number,\n requestBody: ProductIn,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/v1/products/product/{product_id}',\n path: {\n 'product_id': productId,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Products\n * @param isActive\n * @param labelId\n * @returns RegularProduct Successful Response\n * @throws ApiError\n */\n public getProductsGetProducts(\n isActive?: (boolean | null),\n labelId?: (number | null),\n ): CancelablePromise> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/products/products',\n query: {\n 'is_active': isActive,\n 'label_id': labelId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Public Products\n * @param labelId\n * @returns RegularProduct Successful Response\n * @throws ApiError\n */\n public getProductsGetPublicProducts(\n labelId: number,\n ): CancelablePromise> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/products/products/public',\n query: {\n 'label_id': labelId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Products Advanced\n * @returns FullProduct Successful Response\n * @throws ApiError\n */\n public getProductsGetProductsAdvanced(): CancelablePromise> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/products/products/advanced',\n errors: {\n 404: `Not found`,\n },\n });\n }\n /**\n * Create Product\n * @param requestBody\n * @returns RegularProduct Successful Response\n * @throws ApiError\n */\n public postProductsCreateProduct(\n requestBody: ProductIn,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/v1/products/product',\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Add Image To Product\n * @param productId\n * @param formData\n * @returns RegularProduct Successful Response\n * @throws ApiError\n */\n public patchProductsAddImageToProduct(\n productId: number,\n formData: Body_add_image_to_product_v1_products_product__product_id__add_image_patch,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/v1/products/product/{product_id}/add_image',\n path: {\n 'product_id': productId,\n },\n formData: formData,\n mediaType: 'multipart/form-data',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Product\n * TODO refactor this to use the product_service and add the correct permissions\n *\n *
\n * Retrieve a product by its ID.\n *\n *
\n * Args:\n *\n * - product_id: int\n *\n * Returns:\n *\n * - `RegularProduct`\n *\n *
\n * HTTPExceptions:\n *\n * - 404: Product not found\n *\n * - 403: Not enough permissions to view products\n * @param productId\n * @returns RegularProduct Successful Response\n * @throws ApiError\n */\n public getProductsGetProductVLatest(\n productId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/products/product/{product_id}',\n path: {\n 'product_id': productId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Update Product\n * @param productId\n * @param requestBody\n * @returns FullProduct Successful Response\n * @throws ApiError\n */\n public patchProductsUpdateProductVLatest(\n productId: number,\n requestBody: ProductIn,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/latest/products/product/{product_id}',\n path: {\n 'product_id': productId,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Products\n * @param isActive\n * @param labelId\n * @returns RegularProduct Successful Response\n * @throws ApiError\n */\n public getProductsGetProductsVLatest(\n isActive?: (boolean | null),\n labelId?: (number | null),\n ): CancelablePromise> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/products/products',\n query: {\n 'is_active': isActive,\n 'label_id': labelId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Public Products\n * @param labelId\n * @returns RegularProduct Successful Response\n * @throws ApiError\n */\n public getProductsGetPublicProductsVLatest(\n labelId: number,\n ): CancelablePromise> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/products/products/public',\n query: {\n 'label_id': labelId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Products Advanced\n * @returns FullProduct Successful Response\n * @throws ApiError\n */\n public getProductsGetProductsAdvancedVLatest(): CancelablePromise> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/products/products/advanced',\n errors: {\n 404: `Not found`,\n },\n });\n }\n /**\n * Create Product\n * @param requestBody\n * @returns RegularProduct Successful Response\n * @throws ApiError\n */\n public postProductsCreateProductVLatest(\n requestBody: ProductIn,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/latest/products/product',\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Add Image To Product\n * @param productId\n * @param formData\n * @returns RegularProduct Successful Response\n * @throws ApiError\n */\n public patchProductsAddImageToProductVLatest(\n productId: number,\n formData: Body_add_image_to_product_latest_products_product__product_id__add_image_patch,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/latest/products/product/{product_id}/add_image',\n path: {\n 'product_id': productId,\n },\n formData: formData,\n mediaType: 'multipart/form-data',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n}\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\nimport type { BasePushNotificationToken } from '../models/BasePushNotificationToken';\nimport type { PushNotificationApps } from '../models/PushNotificationApps';\nimport type { CancelablePromise } from '../core/CancelablePromise';\nimport type { BaseHttpRequest } from '../core/BaseHttpRequest';\nexport class PushNotificationsService {\n constructor(public readonly httpRequest: BaseHttpRequest) {}\n /**\n * Register Push Notification Token\n * Registers an FCM token for push notifications\n * @param userId\n * @param token\n * @param app\n * @returns BasePushNotificationToken Successful Response\n * @throws ApiError\n */\n public postPushNotificationsRegisterPushNotificationToken(\n userId: number,\n token: string,\n app: PushNotificationApps,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/v1/push_notifications/tokens/{user_id}',\n path: {\n 'user_id': userId,\n },\n query: {\n 'token': token,\n 'app': app,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Push Notification Tokens\n * Returns all FCM tokens for a user\n * @param userId\n * @param app\n * @returns BasePushNotificationToken Successful Response\n * @throws ApiError\n */\n public getPushNotificationsGetPushNotificationTokens(\n userId: number,\n app?: PushNotificationApps,\n ): CancelablePromise> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/push_notifications/tokens/{user_id}',\n path: {\n 'user_id': userId,\n },\n query: {\n 'app': app,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Delete Push Notification Token By Id\n * Deletes an FCM token basewd on the provided ID\n * @param pushNotificationTokenId\n * @returns any Successful Response\n * @throws ApiError\n */\n public deletePushNotificationsDeletePushNotificationTokenById(\n pushNotificationTokenId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'DELETE',\n url: '/v1/push_notifications/tokens/delete_by_id/{push_notification_token_id}',\n path: {\n 'push_notification_token_id': pushNotificationTokenId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Delete Push Notification Token By Token\n * Deletes an FCM token based on the provided token string\n * @param pushNotificationTokenString\n * @returns any Successful Response\n * @throws ApiError\n */\n public deletePushNotificationsDeletePushNotificationTokenByToken(\n pushNotificationTokenString: string,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'DELETE',\n url: '/v1/push_notifications/tokens/delete_by_token/{push_notification_token_string}',\n path: {\n 'push_notification_token_string': pushNotificationTokenString,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Register Push Notification Token\n * Registers an FCM token for push notifications\n * @param userId\n * @param token\n * @param app\n * @returns BasePushNotificationToken Successful Response\n * @throws ApiError\n */\n public postPushNotificationsRegisterPushNotificationTokenVLatest(\n userId: number,\n token: string,\n app: PushNotificationApps,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/latest/push_notifications/tokens/{user_id}',\n path: {\n 'user_id': userId,\n },\n query: {\n 'token': token,\n 'app': app,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Push Notification Tokens\n * Returns all FCM tokens for a user\n * @param userId\n * @param app\n * @returns BasePushNotificationToken Successful Response\n * @throws ApiError\n */\n public getPushNotificationsGetPushNotificationTokensVLatest(\n userId: number,\n app?: PushNotificationApps,\n ): CancelablePromise> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/push_notifications/tokens/{user_id}',\n path: {\n 'user_id': userId,\n },\n query: {\n 'app': app,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Delete Push Notification Token By Id\n * Deletes an FCM token basewd on the provided ID\n * @param pushNotificationTokenId\n * @returns any Successful Response\n * @throws ApiError\n */\n public deletePushNotificationsDeletePushNotificationTokenByIdVLatest(\n pushNotificationTokenId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'DELETE',\n url: '/latest/push_notifications/tokens/delete_by_id/{push_notification_token_id}',\n path: {\n 'push_notification_token_id': pushNotificationTokenId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Delete Push Notification Token By Token\n * Deletes an FCM token based on the provided token string\n * @param pushNotificationTokenString\n * @returns any Successful Response\n * @throws ApiError\n */\n public deletePushNotificationsDeletePushNotificationTokenByTokenVLatest(\n pushNotificationTokenString: string,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'DELETE',\n url: '/latest/push_notifications/tokens/delete_by_token/{push_notification_token_string}',\n path: {\n 'push_notification_token_string': pushNotificationTokenString,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n}\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\nimport type { AdvancedStub } from '../models/AdvancedStub';\nimport type { CoachQuery } from '../models/CoachQuery';\nimport type { InactiveStudent } from '../models/InactiveStudent';\nimport type { RegularCoach } from '../models/RegularCoach';\nimport type { RegularGuardian } from '../models/RegularGuardian';\nimport type { RegularStudent } from '../models/RegularStudent';\nimport type { RegularUser } from '../models/RegularUser';\nimport type { SearchCoach } from '../models/SearchCoach';\nimport type { SearchForGoodJobMatchParams } from '../models/SearchForGoodJobMatchParams';\nimport type { StubType } from '../models/StubType';\nimport type { SuggestedCoach } from '../models/SuggestedCoach';\nimport type { CancelablePromise } from '../core/CancelablePromise';\nimport type { BaseHttpRequest } from '../core/BaseHttpRequest';\nexport class SearchService {\n constructor(public readonly httpRequest: BaseHttpRequest) {}\n /**\n * Search Inactive Students\n * @param offset\n * @param limit\n * @returns any Successful Response\n * @throws ApiError\n */\n public getSearchSearchInactiveStudents(\n offset?: number,\n limit: number = 50,\n ): CancelablePromise<(Array | null)> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/search/students/inactive',\n query: {\n 'offset': offset,\n 'limit': limit,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Search Inactive Students Count\n * @returns number Successful Response\n * @throws ApiError\n */\n public getSearchSearchInactiveStudentsCount(): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/search/students/inactive/count',\n errors: {\n 404: `Not found`,\n },\n });\n }\n /**\n * Search Coaches\n * @param fieldName\n * @param query\n * @param offset\n * @param limit\n * @returns any Successful Response\n * @throws ApiError\n */\n public getSearchSearchCoaches(\n fieldName: string,\n query: string,\n offset?: number,\n limit: number = 30,\n ): CancelablePromise<(Array | null)> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/search/coaches',\n query: {\n 'field_name': fieldName,\n 'query': query,\n 'offset': offset,\n 'limit': limit,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Search Guardians\n * @param fieldName\n * @param query\n * @param offset\n * @param limit\n * @returns any Successful Response\n * @throws ApiError\n */\n public getSearchSearchGuardians(\n fieldName: string,\n query: string,\n offset?: number,\n limit: number = 30,\n ): CancelablePromise<(Array | null)> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/search/guardians',\n query: {\n 'field_name': fieldName,\n 'query': query,\n 'offset': offset,\n 'limit': limit,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Search Guardians By Name\n * @param query\n * @param offset\n * @param limit\n * @returns any Successful Response\n * @throws ApiError\n */\n public getSearchSearchGuardiansByName(\n query: string,\n offset?: number,\n limit: number = 30,\n ): CancelablePromise<(Array | null)> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/search/guardians/by_name',\n query: {\n 'query': query,\n 'offset': offset,\n 'limit': limit,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Search Guardians By Email\n * @param query\n * @param offset\n * @param limit\n * @returns any Successful Response\n * @throws ApiError\n */\n public getSearchSearchGuardiansByEmail(\n query: string,\n offset?: number,\n limit: number = 30,\n ): CancelablePromise<(Array | null)> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/search/guardians/by_email',\n query: {\n 'query': query,\n 'offset': offset,\n 'limit': limit,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Search Coaches By Name\n * @param query\n * @param offset\n * @param limit\n * @returns any Successful Response\n * @throws ApiError\n */\n public getSearchSearchCoachesByName(\n query: string,\n offset?: number,\n limit: number = 30,\n ): CancelablePromise<(Array | null)> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/search/coaches/by_name',\n query: {\n 'query': query,\n 'offset': offset,\n 'limit': limit,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Search Coaches By Email\n * @param query\n * @param offset\n * @param limit\n * @returns any Successful Response\n * @throws ApiError\n */\n public getSearchSearchCoachesByEmail(\n query: string,\n offset?: number,\n limit: number = 30,\n ): CancelablePromise<(Array | null)> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/search/coaches/by_email',\n query: {\n 'query': query,\n 'offset': offset,\n 'limit': limit,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Student Search By Disciplines\n * @param requestBody\n * @param offset\n * @param limit\n * @returns any Successful Response\n * @throws ApiError\n */\n public postSearchStudentSearchByDisciplines(\n requestBody: Array,\n offset?: number,\n limit: number = 30,\n ): CancelablePromise<(Array | null)> {\n return this.httpRequest.request({\n method: 'POST',\n url: '/v1/search/students/by_disciplines',\n query: {\n 'offset': offset,\n 'limit': limit,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Student Search By Name\n * @param query\n * @param offset\n * @param limit\n * @returns any Successful Response\n * @throws ApiError\n */\n public postSearchStudentSearchByName(\n query: string,\n offset?: number,\n limit: number = 30,\n ): CancelablePromise<(Array | null)> {\n return this.httpRequest.request({\n method: 'POST',\n url: '/v1/search/students/by_name',\n query: {\n 'query': query,\n 'offset': offset,\n 'limit': limit,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Coach Search By Disciplines\n * @param requestBody\n * @param offset\n * @param limit\n * @returns any Successful Response\n * @throws ApiError\n */\n public postSearchCoachSearchByDisciplines(\n requestBody: Array,\n offset?: number,\n limit: number = 30,\n ): CancelablePromise<(Array | null)> {\n return this.httpRequest.request({\n method: 'POST',\n url: '/v1/search/coach/by_disciplines',\n query: {\n 'offset': offset,\n 'limit': limit,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * User Search By Name\n * @param query\n * @param offset\n * @param limit\n * @returns any Successful Response\n * @throws ApiError\n */\n public postSearchUserSearchByName(\n query: string = '',\n offset?: number,\n limit: number = 30,\n ): CancelablePromise<(Array | null)> {\n return this.httpRequest.request({\n method: 'POST',\n url: '/v1/search/user/by_name',\n query: {\n 'query': query,\n 'offset': offset,\n 'limit': limit,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * User Search By Email\n * @param query\n * @param offset\n * @param limit\n * @returns any Successful Response\n * @throws ApiError\n */\n public postSearchUserSearchByEmail(\n query: string = '',\n offset?: number,\n limit: number = 30,\n ): CancelablePromise<(Array | null)> {\n return this.httpRequest.request({\n method: 'POST',\n url: '/v1/search/user/by_email',\n query: {\n 'query': query,\n 'offset': offset,\n 'limit': limit,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Coach Search By Provinces And Tags\n * @param requestBody\n * @returns SearchCoach Successful Response\n * @throws ApiError\n */\n public postSearchCoachSearchByProvincesAndTags(\n requestBody?: (CoachQuery | null),\n ): CancelablePromise> {\n return this.httpRequest.request({\n method: 'POST',\n url: '/v1/search/coach/search_by_province_and_tags',\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Coach Search By Provinces And Tags Download\n * @param requestBody\n * @returns any Successful Response\n * @throws ApiError\n */\n public postSearchCoachSearchByProvincesAndTagsDownload(\n requestBody?: (CoachQuery | null),\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/v1/search/coach/search_by_province_and_tags/download',\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Search Stubs\n * @param query\n * @param type\n * @param offset\n * @param limit\n * @returns any Successful Response\n * @throws ApiError\n */\n public getSearchSearchStubs(\n query: string,\n type: StubType,\n offset?: number,\n limit: number = 30,\n ): CancelablePromise<(Array | null)> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/search/stubs',\n query: {\n 'query': query,\n 'type': type,\n 'offset': offset,\n 'limit': limit,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Search\n * @param objectType\n * @param query\n * @returns any Successful Response\n * @throws ApiError\n */\n public getSearchSearch(\n objectType: string,\n query: string,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/search/search/',\n query: {\n 'object_type': objectType,\n 'query': query,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Suggested Coaches For Job\n * @param jobId\n * @param requestBody\n * @param offset\n * @param limit\n * @returns SuggestedCoach Successful Response\n * @throws ApiError\n */\n public postSearchGetSuggestedCoachesForJob(\n jobId: number,\n requestBody: (SearchForGoodJobMatchParams | null),\n offset?: number,\n limit: number = 10,\n ): CancelablePromise> {\n return this.httpRequest.request({\n method: 'POST',\n url: '/v1/search/sp/{job_id}/suggested_matches',\n path: {\n 'job_id': jobId,\n },\n query: {\n 'offset': offset,\n 'limit': limit,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Suggested Coaches For Params\n * @param requestBody\n * @returns SuggestedCoach Successful Response\n * @throws ApiError\n */\n public postSearchGetSuggestedCoachesForParams(\n requestBody: SearchForGoodJobMatchParams,\n ): CancelablePromise> {\n return this.httpRequest.request({\n method: 'POST',\n url: '/v1/search/sp/search_coaches',\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Search Inactive Students\n * @param offset\n * @param limit\n * @returns any Successful Response\n * @throws ApiError\n */\n public getSearchSearchInactiveStudentsVLatest(\n offset?: number,\n limit: number = 50,\n ): CancelablePromise<(Array | null)> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/search/students/inactive',\n query: {\n 'offset': offset,\n 'limit': limit,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Search Inactive Students Count\n * @returns number Successful Response\n * @throws ApiError\n */\n public getSearchSearchInactiveStudentsCountVLatest(): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/search/students/inactive/count',\n errors: {\n 404: `Not found`,\n },\n });\n }\n /**\n * Search Coaches\n * @param fieldName\n * @param query\n * @param offset\n * @param limit\n * @returns any Successful Response\n * @throws ApiError\n */\n public getSearchSearchCoachesVLatest(\n fieldName: string,\n query: string,\n offset?: number,\n limit: number = 30,\n ): CancelablePromise<(Array | null)> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/search/coaches',\n query: {\n 'field_name': fieldName,\n 'query': query,\n 'offset': offset,\n 'limit': limit,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Search Guardians\n * @param fieldName\n * @param query\n * @param offset\n * @param limit\n * @returns any Successful Response\n * @throws ApiError\n */\n public getSearchSearchGuardiansVLatest(\n fieldName: string,\n query: string,\n offset?: number,\n limit: number = 30,\n ): CancelablePromise<(Array | null)> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/search/guardians',\n query: {\n 'field_name': fieldName,\n 'query': query,\n 'offset': offset,\n 'limit': limit,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Search Guardians By Name\n * @param query\n * @param offset\n * @param limit\n * @returns any Successful Response\n * @throws ApiError\n */\n public getSearchSearchGuardiansByNameVLatest(\n query: string,\n offset?: number,\n limit: number = 30,\n ): CancelablePromise<(Array | null)> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/search/guardians/by_name',\n query: {\n 'query': query,\n 'offset': offset,\n 'limit': limit,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Search Guardians By Email\n * @param query\n * @param offset\n * @param limit\n * @returns any Successful Response\n * @throws ApiError\n */\n public getSearchSearchGuardiansByEmailVLatest(\n query: string,\n offset?: number,\n limit: number = 30,\n ): CancelablePromise<(Array | null)> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/search/guardians/by_email',\n query: {\n 'query': query,\n 'offset': offset,\n 'limit': limit,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Search Coaches By Name\n * @param query\n * @param offset\n * @param limit\n * @returns any Successful Response\n * @throws ApiError\n */\n public getSearchSearchCoachesByNameVLatest(\n query: string,\n offset?: number,\n limit: number = 30,\n ): CancelablePromise<(Array | null)> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/search/coaches/by_name',\n query: {\n 'query': query,\n 'offset': offset,\n 'limit': limit,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Search Coaches By Email\n * @param query\n * @param offset\n * @param limit\n * @returns any Successful Response\n * @throws ApiError\n */\n public getSearchSearchCoachesByEmailVLatest(\n query: string,\n offset?: number,\n limit: number = 30,\n ): CancelablePromise<(Array | null)> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/search/coaches/by_email',\n query: {\n 'query': query,\n 'offset': offset,\n 'limit': limit,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Student Search By Disciplines\n * @param requestBody\n * @param offset\n * @param limit\n * @returns any Successful Response\n * @throws ApiError\n */\n public postSearchStudentSearchByDisciplinesVLatest(\n requestBody: Array,\n offset?: number,\n limit: number = 30,\n ): CancelablePromise<(Array | null)> {\n return this.httpRequest.request({\n method: 'POST',\n url: '/latest/search/students/by_disciplines',\n query: {\n 'offset': offset,\n 'limit': limit,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Student Search By Name\n * @param query\n * @param offset\n * @param limit\n * @returns any Successful Response\n * @throws ApiError\n */\n public postSearchStudentSearchByNameVLatest(\n query: string,\n offset?: number,\n limit: number = 30,\n ): CancelablePromise<(Array | null)> {\n return this.httpRequest.request({\n method: 'POST',\n url: '/latest/search/students/by_name',\n query: {\n 'query': query,\n 'offset': offset,\n 'limit': limit,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Coach Search By Disciplines\n * @param requestBody\n * @param offset\n * @param limit\n * @returns any Successful Response\n * @throws ApiError\n */\n public postSearchCoachSearchByDisciplinesVLatest(\n requestBody: Array,\n offset?: number,\n limit: number = 30,\n ): CancelablePromise<(Array | null)> {\n return this.httpRequest.request({\n method: 'POST',\n url: '/latest/search/coach/by_disciplines',\n query: {\n 'offset': offset,\n 'limit': limit,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * User Search By Name\n * @param query\n * @param offset\n * @param limit\n * @returns any Successful Response\n * @throws ApiError\n */\n public postSearchUserSearchByNameVLatest(\n query: string = '',\n offset?: number,\n limit: number = 30,\n ): CancelablePromise<(Array | null)> {\n return this.httpRequest.request({\n method: 'POST',\n url: '/latest/search/user/by_name',\n query: {\n 'query': query,\n 'offset': offset,\n 'limit': limit,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * User Search By Email\n * @param query\n * @param offset\n * @param limit\n * @returns any Successful Response\n * @throws ApiError\n */\n public postSearchUserSearchByEmailVLatest(\n query: string = '',\n offset?: number,\n limit: number = 30,\n ): CancelablePromise<(Array | null)> {\n return this.httpRequest.request({\n method: 'POST',\n url: '/latest/search/user/by_email',\n query: {\n 'query': query,\n 'offset': offset,\n 'limit': limit,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Coach Search By Provinces And Tags\n * @param requestBody\n * @returns SearchCoach Successful Response\n * @throws ApiError\n */\n public postSearchCoachSearchByProvincesAndTagsVLatest(\n requestBody?: (CoachQuery | null),\n ): CancelablePromise> {\n return this.httpRequest.request({\n method: 'POST',\n url: '/latest/search/coach/search_by_province_and_tags',\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Coach Search By Provinces And Tags Download\n * @param requestBody\n * @returns any Successful Response\n * @throws ApiError\n */\n public postSearchCoachSearchByProvincesAndTagsDownloadVLatest(\n requestBody?: (CoachQuery | null),\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/latest/search/coach/search_by_province_and_tags/download',\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Search Stubs\n * @param query\n * @param type\n * @param offset\n * @param limit\n * @returns any Successful Response\n * @throws ApiError\n */\n public getSearchSearchStubsVLatest(\n query: string,\n type: StubType,\n offset?: number,\n limit: number = 30,\n ): CancelablePromise<(Array | null)> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/search/stubs',\n query: {\n 'query': query,\n 'type': type,\n 'offset': offset,\n 'limit': limit,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Search\n * @param objectType\n * @param query\n * @returns any Successful Response\n * @throws ApiError\n */\n public getSearchSearchVLatest(\n objectType: string,\n query: string,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/search/search/',\n query: {\n 'object_type': objectType,\n 'query': query,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Suggested Coaches For Job\n * @param jobId\n * @param requestBody\n * @param offset\n * @param limit\n * @returns SuggestedCoach Successful Response\n * @throws ApiError\n */\n public postSearchGetSuggestedCoachesForJobVLatest(\n jobId: number,\n requestBody: (SearchForGoodJobMatchParams | null),\n offset?: number,\n limit: number = 10,\n ): CancelablePromise> {\n return this.httpRequest.request({\n method: 'POST',\n url: '/latest/search/sp/{job_id}/suggested_matches',\n path: {\n 'job_id': jobId,\n },\n query: {\n 'offset': offset,\n 'limit': limit,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Suggested Coaches For Params\n * @param requestBody\n * @returns SuggestedCoach Successful Response\n * @throws ApiError\n */\n public postSearchGetSuggestedCoachesForParamsVLatest(\n requestBody: SearchForGoodJobMatchParams,\n ): CancelablePromise> {\n return this.httpRequest.request({\n method: 'POST',\n url: '/latest/search/sp/search_coaches',\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n}\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\nimport type { BaseTask } from '../models/BaseTask';\nimport type { Body_import_jobs_open_latest_selenium_supervisor_import_jobs_csv_post } from '../models/Body_import_jobs_open_latest_selenium_supervisor_import_jobs_csv_post';\nimport type { Body_import_jobs_open_v1_selenium_supervisor_import_jobs_csv_post } from '../models/Body_import_jobs_open_v1_selenium_supervisor_import_jobs_csv_post';\nimport type { CostCodeResult } from '../models/CostCodeResult';\nimport type { GenericStatus } from '../models/GenericStatus';\nimport type { ScheduleResult } from '../models/ScheduleResult';\nimport type { CancelablePromise } from '../core/CancelablePromise';\nimport type { BaseHttpRequest } from '../core/BaseHttpRequest';\nexport class SeleniumService {\n constructor(public readonly httpRequest: BaseHttpRequest) {}\n /**\n * Import Jobs Open\n * This endpoint is comparable to `/sp/jobs/new/import/bulk`\n *\n * This is only for bulk-importing all open jobs. The csv is provided by the selenium-supervisor\n *\n * The logic is closely the same, but the lowest-level working of making the actual job and shifts are different as they use different CSV-files.\n *\n * Required:\n *\n * - An api-key that is passed in the header of the request.\n *\n * Args:\n *\n * - file: The CSV-file that contains the jobs that need to be imported.\n *\n * Returns:\n *\n * - The task that is created to do the import. This is a celery task.\n * @param formData\n * @returns BaseTask Successful Response\n * @throws ApiError\n */\n public postSeleniumImportJobsOpen(\n formData: Body_import_jobs_open_v1_selenium_supervisor_import_jobs_csv_post,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/v1/selenium/supervisor/import/jobs/csv',\n formData: formData,\n mediaType: 'multipart/form-data',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Schedule Shift Confirmation\n * This endpoint is used by the selenium supervisor to confirm that a shift has been scheduled or has been failed to schedule.\n * @param requestBody\n * @returns GenericStatus Successful Response\n * @throws ApiError\n */\n public postSeleniumScheduleShiftConfirmation(\n requestBody: ScheduleResult,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/v1/selenium/supervisor/schedule/shift',\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Import Cost Codes Json\n * This endpoint is used to import a json full of costcodes\n * @param requestBody\n * @returns any Successful Response\n * @throws ApiError\n */\n public postSeleniumImportCostCodesJson(\n requestBody: CostCodeResult,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/v1/selenium/supervisor/import/costcodes/json',\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Import Jobs Open\n * This endpoint is comparable to `/sp/jobs/new/import/bulk`\n *\n * This is only for bulk-importing all open jobs. The csv is provided by the selenium-supervisor\n *\n * The logic is closely the same, but the lowest-level working of making the actual job and shifts are different as they use different CSV-files.\n *\n * Required:\n *\n * - An api-key that is passed in the header of the request.\n *\n * Args:\n *\n * - file: The CSV-file that contains the jobs that need to be imported.\n *\n * Returns:\n *\n * - The task that is created to do the import. This is a celery task.\n * @param formData\n * @returns BaseTask Successful Response\n * @throws ApiError\n */\n public postSeleniumImportJobsOpenVLatest(\n formData: Body_import_jobs_open_latest_selenium_supervisor_import_jobs_csv_post,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/latest/selenium/supervisor/import/jobs/csv',\n formData: formData,\n mediaType: 'multipart/form-data',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Schedule Shift Confirmation\n * This endpoint is used by the selenium supervisor to confirm that a shift has been scheduled or has been failed to schedule.\n * @param requestBody\n * @returns GenericStatus Successful Response\n * @throws ApiError\n */\n public postSeleniumScheduleShiftConfirmationVLatest(\n requestBody: ScheduleResult,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/latest/selenium/supervisor/schedule/shift',\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Import Cost Codes Json\n * This endpoint is used to import a json full of costcodes\n * @param requestBody\n * @returns any Successful Response\n * @throws ApiError\n */\n public postSeleniumImportCostCodesJsonVLatest(\n requestBody: CostCodeResult,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/latest/selenium/supervisor/import/costcodes/json',\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n}\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\nimport type { EditShiftTimes } from '../models/EditShiftTimes';\nimport type { ShiftIn } from '../models/ShiftIn';\nimport type { SimpleShiftWithAddedStatus } from '../models/SimpleShiftWithAddedStatus';\nimport type { SimpleShiftWithEditReason } from '../models/SimpleShiftWithEditReason';\nimport type { SimpleShiftWithRemovedStatus } from '../models/SimpleShiftWithRemovedStatus';\nimport type { CancelablePromise } from '../core/CancelablePromise';\nimport type { BaseHttpRequest } from '../core/BaseHttpRequest';\nexport class ShiftsService {\n constructor(public readonly httpRequest: BaseHttpRequest) {}\n /**\n * Edit Shift Worked Hours And Break Time\n * ### Edit shift times\n *\n * Edit the start- end- and break time of a shift.\n *\n * **Permissions Required**:\n * `edit_hours`\n * ***found in:***\n * - `permission:can_manage_shifts`\n * - `User` == matching `Shift`\n *\n * **Parameters**:\n * - **shift_id**: `int` object, fetched by the path parameter.\n * - **start_time**: `time` object to set the new start time.\n * - **end_time**: `time` object to set the new end time.\n * - **break_time**: `time` object to set the new break time.\n * - **edit_reason**: `str` object to provide a reason for the edit.\n *\n * **Returns**:\n * - `Shift`: The corrected shift.\n *\n * **Raises**:\n * - `422`: If the end_time is before the start_time.\n * - `400`: If the shift does not have a coach.\n * - `400`: If a coach tries to edit a shift that has not passed yet.\n * - `400`: If Office tries to edit a shift that is not in the current week without providing a reason.\n * -\n * @param shiftId\n * @param requestBody\n * @param editReason\n * @returns SimpleShiftWithEditReason Successful Response\n * @throws ApiError\n */\n public patchFspEditShiftWorkedHoursAndBreakTime(\n shiftId: number,\n requestBody: EditShiftTimes,\n editReason?: (string | null),\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/v1/fsp/shifts/shift/{shift_id}/edit/worked_hours',\n path: {\n 'shift_id': shiftId,\n },\n query: {\n 'edit_reason': editReason,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Remove Coach From Shift\n * ### Remove coach from shift\n *\n * Remove a coach from a shift.\n *\n * **Permissions Required**:\n * `edit_hours`\n * ***found in:***\n * - `permission:can_manage_shifts`\n * - `User` == matching `Shift`\n *\n * **Parameters**:\n * - **shift_id**: `int` object, fetched by the path parameter.\n *\n * **Returns**:\n * - `Shift`: The corrected shift.\n *\n * **Raises**:\n * - `400`: If the shift does not have a coach.\n * - `400`: If a coach tries to edit a shift that has not passed yet.\n * @param shiftId\n * @returns SimpleShiftWithRemovedStatus Successful Response\n * @throws ApiError\n */\n public patchFspRemoveCoachFromShift(\n shiftId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/v1/fsp/shifts/shift/{shift_id}/edit/accord/remove',\n path: {\n 'shift_id': shiftId,\n },\n errors: {\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Add Shift To Accord\n * ### Add a shift to a coach,\n *\n * Add a coach to a shift.\n *\n * **Permissions Required**:\n * `edit_hours`\n * `view`\n * ***found in:***\n * - `permission:can_manage_jobs`\n * - `permission:can_manage_sectors`\n * - `User` == matching `Shift`\n *\n * **Parameters**:\n * - **shift_id**: `int` object, fetched by the path parameter.\n *\n * **Returns**:\n * - `Shift`: The corrected shift.\n *\n * **Raises**:\n * - `400`: If the coach has not yet worked at the selected branch, and the user is not from the office.\n * - `400`: If the shift-date is set on today/after today and the user is not from the office.\n * @param coachId\n * @param branchId\n * @param sectorId\n * @param requestBody\n * @returns SimpleShiftWithAddedStatus Successful Response\n * @throws ApiError\n */\n public postFspAddShiftToAccord(\n coachId: number,\n branchId: number,\n sectorId: number,\n requestBody: ShiftIn,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/v1/fsp/shifts/shift/edit/accord/add/branch/{branch_id}/sector/{sector_id}/coach/{coach_id}',\n path: {\n 'coach_id': coachId,\n 'branch_id': branchId,\n 'sector_id': sectorId,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Edit Shift Worked Hours And Break Time\n * ### Edit shift times\n *\n * Edit the start- end- and break time of a shift.\n *\n * **Permissions Required**:\n * `edit_hours`\n * ***found in:***\n * - `permission:can_manage_shifts`\n * - `User` == matching `Shift`\n *\n * **Parameters**:\n * - **shift_id**: `int` object, fetched by the path parameter.\n * - **start_time**: `time` object to set the new start time.\n * - **end_time**: `time` object to set the new end time.\n * - **break_time**: `time` object to set the new break time.\n * - **edit_reason**: `str` object to provide a reason for the edit.\n *\n * **Returns**:\n * - `Shift`: The corrected shift.\n *\n * **Raises**:\n * - `422`: If the end_time is before the start_time.\n * - `400`: If the shift does not have a coach.\n * - `400`: If a coach tries to edit a shift that has not passed yet.\n * - `400`: If Office tries to edit a shift that is not in the current week without providing a reason.\n * -\n * @param shiftId\n * @param requestBody\n * @param editReason\n * @returns SimpleShiftWithEditReason Successful Response\n * @throws ApiError\n */\n public patchFspEditShiftWorkedHoursAndBreakTimeVLatest(\n shiftId: number,\n requestBody: EditShiftTimes,\n editReason?: (string | null),\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/latest/fsp/shifts/shift/{shift_id}/edit/worked_hours',\n path: {\n 'shift_id': shiftId,\n },\n query: {\n 'edit_reason': editReason,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Remove Coach From Shift\n * ### Remove coach from shift\n *\n * Remove a coach from a shift.\n *\n * **Permissions Required**:\n * `edit_hours`\n * ***found in:***\n * - `permission:can_manage_shifts`\n * - `User` == matching `Shift`\n *\n * **Parameters**:\n * - **shift_id**: `int` object, fetched by the path parameter.\n *\n * **Returns**:\n * - `Shift`: The corrected shift.\n *\n * **Raises**:\n * - `400`: If the shift does not have a coach.\n * - `400`: If a coach tries to edit a shift that has not passed yet.\n * @param shiftId\n * @returns SimpleShiftWithRemovedStatus Successful Response\n * @throws ApiError\n */\n public patchFspRemoveCoachFromShiftVLatest(\n shiftId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/latest/fsp/shifts/shift/{shift_id}/edit/accord/remove',\n path: {\n 'shift_id': shiftId,\n },\n errors: {\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Add Shift To Accord\n * ### Add a shift to a coach,\n *\n * Add a coach to a shift.\n *\n * **Permissions Required**:\n * `edit_hours`\n * `view`\n * ***found in:***\n * - `permission:can_manage_jobs`\n * - `permission:can_manage_sectors`\n * - `User` == matching `Shift`\n *\n * **Parameters**:\n * - **shift_id**: `int` object, fetched by the path parameter.\n *\n * **Returns**:\n * - `Shift`: The corrected shift.\n *\n * **Raises**:\n * - `400`: If the coach has not yet worked at the selected branch, and the user is not from the office.\n * - `400`: If the shift-date is set on today/after today and the user is not from the office.\n * @param coachId\n * @param branchId\n * @param sectorId\n * @param requestBody\n * @returns SimpleShiftWithAddedStatus Successful Response\n * @throws ApiError\n */\n public postFspAddShiftToAccordVLatest(\n coachId: number,\n branchId: number,\n sectorId: number,\n requestBody: ShiftIn,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/latest/fsp/shifts/shift/edit/accord/add/branch/{branch_id}/sector/{sector_id}/coach/{coach_id}',\n path: {\n 'coach_id': coachId,\n 'branch_id': branchId,\n 'sector_id': sectorId,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 422: `Validation Error`,\n },\n });\n }\n}\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\nimport type { BaseCalendarEntry } from '../models/BaseCalendarEntry';\nimport type { BaseCoachSP } from '../models/BaseCoachSP';\nimport type { CalendarEntryEdit } from '../models/CalendarEntryEdit';\nimport type { CalendarEntryIn } from '../models/CalendarEntryIn';\nimport type { CalendarEntryWithDistance } from '../models/CalendarEntryWithDistance';\nimport type { CoachMapViewFilters } from '../models/CoachMapViewFilters';\nimport type { CoachWithLocationAndShiftsAvailabilityType } from '../models/CoachWithLocationAndShiftsAvailabilityType';\nimport type { GenericStatus } from '../models/GenericStatus';\nimport type { LatLongWithName } from '../models/LatLongWithName';\nimport type { SearchCalendarEntry } from '../models/SearchCalendarEntry';\nimport type { SimpleCalendarEntry } from '../models/SimpleCalendarEntry';\nimport type { SimpleShiftWithJobAndCountListSchemaOut } from '../models/SimpleShiftWithJobAndCountListSchemaOut';\nimport type { CancelablePromise } from '../core/CancelablePromise';\nimport type { BaseHttpRequest } from '../core/BaseHttpRequest';\nexport class SPCoachesService {\n constructor(public readonly httpRequest: BaseHttpRequest) {}\n /**\n * Add Calendar Entry To Coach\n * @param coachId\n * @param userLocationId\n * @param requestBody\n * @param force\n * @returns SimpleCalendarEntry Successful Response\n * @throws ApiError\n */\n public postSPCoachesAddCalendarEntryToCoach(\n coachId: number,\n userLocationId: number,\n requestBody: CalendarEntryIn,\n force: boolean = false,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/v1/sp/coaches/coach/{coach_id}/add_calendar_entry/location/{user_location_id}',\n path: {\n 'coach_id': coachId,\n 'user_location_id': userLocationId,\n },\n query: {\n 'force': force,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 300: `Popup notification`,\n 400: `Bad Request`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * View Calendar Entry Conflicts When Adding\n * @param coachId\n * @param requestBody\n * @returns BaseCalendarEntry Successful Response\n * @throws ApiError\n */\n public postSPCoachesViewCalendarEntryConflictsWhenAdding(\n coachId: number,\n requestBody: CalendarEntryIn,\n ): CancelablePromise> {\n return this.httpRequest.request({\n method: 'POST',\n url: '/v1/sp/coaches/coach/{coach_id}/add_calendar_entry/view/conflicts',\n path: {\n 'coach_id': coachId,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Calendar Entries From Coach\n * @param coachId\n * @param startDate\n * @param endDate\n * @returns BaseCalendarEntry Successful Response\n * @throws ApiError\n */\n public getSPCoachesGetCalendarEntriesFromCoach(\n coachId: number,\n startDate: string = '2025-01-03',\n endDate: string = '2025-01-17',\n ): CancelablePromise> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/sp/coaches/coach/{coach_id}/calendar_entries',\n path: {\n 'coach_id': coachId,\n },\n query: {\n 'start_date': startDate,\n 'end_date': endDate,\n },\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Search Calendar Entries\n * @param requestBody\n * @param coachId\n * @param offset\n * @param limit\n * @returns CalendarEntryWithDistance Successful Response\n * @throws ApiError\n */\n public postSPCoachesSearchCalendarEntries(\n requestBody: SearchCalendarEntry,\n coachId?: (number | null),\n offset?: number,\n limit: number = 100,\n ): CancelablePromise> {\n return this.httpRequest.request({\n method: 'POST',\n url: '/v1/sp/coaches/coach/calendar_entries/search',\n query: {\n 'coach_id': coachId,\n 'offset': offset,\n 'limit': limit,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Change Calendar Entry Location\n * @param calendarEntryId\n * @param userLocationId\n * @returns BaseCalendarEntry Successful Response\n * @throws ApiError\n */\n public patchSPCoachesChangeCalendarEntryLocation(\n calendarEntryId: number,\n userLocationId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/v1/sp/coaches/coach/calendar_entry/{calendar_entry_id}/change_location/{user_location_id}',\n path: {\n 'calendar_entry_id': calendarEntryId,\n 'user_location_id': userLocationId,\n },\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Change Calendar Entry\n * @param calendarEntryId\n * @param requestBody\n * @returns BaseCalendarEntry Successful Response\n * @throws ApiError\n */\n public patchSPCoachesChangeCalendarEntry(\n calendarEntryId: number,\n requestBody: CalendarEntryEdit,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/v1/sp/coaches/coach/calendar_entry/{calendar_entry_id}/edit',\n path: {\n 'calendar_entry_id': calendarEntryId,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Delete Calendar Entry\n * @param calendarEntryId\n * @returns GenericStatus Successful Response\n * @throws ApiError\n */\n public deleteSPCoachesDeleteCalendarEntry(\n calendarEntryId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'DELETE',\n url: '/v1/sp/coaches/coach/calendar_entry/{calendar_entry_id}/delete',\n path: {\n 'calendar_entry_id': calendarEntryId,\n },\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Add Competence To Coach\n * @param competenceId\n * @param coachId\n * @returns BaseCoachSP Successful Response\n * @throws ApiError\n */\n public postSPCoachesAddCompetenceToCoach(\n competenceId: number,\n coachId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/v1/sp/coaches/coach/{coach_id}/competence/{competence_id}',\n path: {\n 'competence_id': competenceId,\n 'coach_id': coachId,\n },\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Remove Competence From Coach\n * @param competenceId\n * @param coachId\n * @returns BaseCoachSP Successful Response\n * @throws ApiError\n */\n public deleteSPCoachesRemoveCompetenceFromCoach(\n competenceId: number,\n coachId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'DELETE',\n url: '/v1/sp/coaches/coach/{coach_id}/competence/{competence_id}',\n path: {\n 'competence_id': competenceId,\n 'coach_id': coachId,\n },\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Add Favourite Branch To Coach\n * Add a favourite branch to a coach.\n *\n * Args:\n * branch (Branch): The branch to be added as a favourite.\n * coach (Coach): The coach to add the favourite branch to.\n * db (Session): The database session.\n *\n * Returns:\n * BaseCoachSP: The updated coach object with the added favourite branch.\n * @param branchId\n * @param coachId\n * @returns BaseCoachSP Successful Response\n * @throws ApiError\n */\n public postSPCoachesAddFavouriteBranchToCoach(\n branchId: number,\n coachId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/v1/sp/coaches/coach/{coach_id}/branches/{branch_id}',\n path: {\n 'branch_id': branchId,\n 'coach_id': coachId,\n },\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Remove Favourite Branch From Coach\n * Removes a favourite branch from a coach.\n *\n * Args:\n * branch (Branch): The branch to be removed from the coach's favourite branches.\n * coach (Coach): The coach from which the branch will be removed.\n * db (Session): The database session.\n *\n * Returns:\n * BaseCoachSP: The updated coach object.\n * @param branchId\n * @param coachId\n * @returns BaseCoachSP Successful Response\n * @throws ApiError\n */\n public deleteSPCoachesRemoveFavouriteBranchFromCoach(\n branchId: number,\n coachId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'DELETE',\n url: '/v1/sp/coaches/coach/{coach_id}/branches/{branch_id}',\n path: {\n 'branch_id': branchId,\n 'coach_id': coachId,\n },\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Add Competence To Coach Bulk\n * @param coachId\n * @param requestBody\n * @returns BaseCoachSP Successful Response\n * @throws ApiError\n */\n public patchSPCoachesAddCompetenceToCoachBulk(\n coachId: number,\n requestBody: Array,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/v1/sp/coaches/coach/{coach_id}/competence/bulk',\n path: {\n 'coach_id': coachId,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Remove Competence From Coach Bulk\n * @param coachId\n * @param requestBody\n * @returns BaseCoachSP Successful Response\n * @throws ApiError\n */\n public deleteSPCoachesRemoveCompetenceFromCoachBulk(\n coachId: number,\n requestBody: Array,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'DELETE',\n url: '/v1/sp/coaches/coach/{coach_id}/competence/bulk',\n path: {\n 'coach_id': coachId,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Coach Sp\n * @param coachId\n * @returns BaseCoachSP Successful Response\n * @throws ApiError\n */\n public getSPCoachesGetCoachSp(\n coachId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/sp/coaches/coach/{coach_id}/sp_coach',\n path: {\n 'coach_id': coachId,\n },\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Shifts By Coach\n * ### Get all shifts worked by a coach within a certain time frame.\n *\n * Args:\n * - `coach` (Coach): The coach for which to get the shifts.\n * - `start_date` (date): The start date of the time frame.\n * - `end_date` (date): The end date of the time frame.\n * - `offset` (Optional[int], optional): The offset for pagination. Defaults to 0.\n * - `limit` (Optional[int], optional): The limit for pagination. Defaults to 30.\n *\n * Returns:\n * - SimpleShiftWithJobAndCountListSchemaOut: A list of shifts worked by the coach within the time frame.\n * - data: the shifts worked by the coach within the time frame.\n * - total_items: the total number of shifts worked by the coach within the time frame. (for pagination)\n * - total_pages: the total number of pages of shifts worked by the coach within the time frame. (for pagination)\n * @param coachId\n * @param startDate\n * @param endDate\n * @param offset\n * @param limit\n * @returns SimpleShiftWithJobAndCountListSchemaOut Successful Response\n * @throws ApiError\n */\n public getSPCoachesGetShiftsByCoach(\n coachId: number,\n startDate: string = '2024-12-11',\n endDate: string = '2025-02-09',\n offset?: (number | null),\n limit?: (number | null),\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/sp/coaches/coach/{coach_id}/worked_shifts',\n path: {\n 'coach_id': coachId,\n },\n query: {\n 'start_date': startDate,\n 'end_date': endDate,\n 'offset': offset,\n 'limit': limit,\n },\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Reserved Shifts By Coach\n * ### Get all shifts reserved by a coach within a certain time frame.\n *\n * Args:\n * - `coach` (Coach): The coach for which to get the shifts.\n * - `start_date` (date): The start date of the time frame.\n * - `end_date` (date): The end date of the time frame.\n * - `offset` (Optional[int], optional): The offset for pagination. Defaults to 0.\n * - `limit` (Optional[int], optional): The limit for pagination. Defaults to 30.\n *\n * Returns:\n * - SimpleShiftWithJobAndCountListSchemaOut: A list of shifts reserved by the coach within the time frame.\n * - data: the shifts reserved by the coach within the time frame.\n * - total_items: the total number of shifts reserved by the coach within the time frame. (for pagination)\n * - total_pages: the total number of pages of shifts reserved by the coach within the time frame. (for pagination)\n * @param coachId\n * @param startDate\n * @param endDate\n * @param offset\n * @param limit\n * @returns SimpleShiftWithJobAndCountListSchemaOut Successful Response\n * @throws ApiError\n */\n public getSPCoachesGetReservedShiftsByCoach(\n coachId: number,\n startDate: string = '2024-12-11',\n endDate: string = '2025-02-09',\n offset?: (number | null),\n limit?: (number | null),\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/sp/coaches/coach/{coach_id}/reserved_shifts',\n path: {\n 'coach_id': coachId,\n },\n query: {\n 'start_date': startDate,\n 'end_date': endDate,\n 'offset': offset,\n 'limit': limit,\n },\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Location Of Search Query In Map View\n * @param query\n * @returns LatLongWithName Successful Response\n * @throws ApiError\n */\n public postSPCoachesGetLocationOfSearchQueryInMapView(\n query: string,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/v1/sp/coaches/map_view/location_query',\n query: {\n 'query': query,\n },\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Coaches In Map View\n * @param requestBody\n * @returns CoachWithLocationAndShiftsAvailabilityType Successful Response\n * @throws ApiError\n */\n public postSPCoachesGetCoachesInMapView(\n requestBody: CoachMapViewFilters,\n ): CancelablePromise> {\n return this.httpRequest.request({\n method: 'POST',\n url: '/v1/sp/coaches/map_view',\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Add Calendar Entry To Coach\n * @param coachId\n * @param userLocationId\n * @param requestBody\n * @param force\n * @returns SimpleCalendarEntry Successful Response\n * @throws ApiError\n */\n public postSpAddCalendarEntryToCoachVLatest(\n coachId: number,\n userLocationId: number,\n requestBody: CalendarEntryIn,\n force: boolean = false,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/latest/sp/coaches/coach/{coach_id}/add_calendar_entry/location/{user_location_id}',\n path: {\n 'coach_id': coachId,\n 'user_location_id': userLocationId,\n },\n query: {\n 'force': force,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 300: `Popup notification`,\n 400: `Bad Request`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * View Calendar Entry Conflicts When Adding\n * @param coachId\n * @param requestBody\n * @returns BaseCalendarEntry Successful Response\n * @throws ApiError\n */\n public postSpViewCalendarEntryConflictsWhenAddingVLatest(\n coachId: number,\n requestBody: CalendarEntryIn,\n ): CancelablePromise> {\n return this.httpRequest.request({\n method: 'POST',\n url: '/latest/sp/coaches/coach/{coach_id}/add_calendar_entry/view/conflicts',\n path: {\n 'coach_id': coachId,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Calendar Entries From Coach\n * @param coachId\n * @param startDate\n * @param endDate\n * @returns BaseCalendarEntry Successful Response\n * @throws ApiError\n */\n public getSpGetCalendarEntriesFromCoachVLatest(\n coachId: number,\n startDate: string = '2025-01-03',\n endDate: string = '2025-01-17',\n ): CancelablePromise> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/sp/coaches/coach/{coach_id}/calendar_entries',\n path: {\n 'coach_id': coachId,\n },\n query: {\n 'start_date': startDate,\n 'end_date': endDate,\n },\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Search Calendar Entries\n * @param requestBody\n * @param coachId\n * @param offset\n * @param limit\n * @returns CalendarEntryWithDistance Successful Response\n * @throws ApiError\n */\n public postSpSearchCalendarEntriesVLatest(\n requestBody: SearchCalendarEntry,\n coachId?: (number | null),\n offset?: number,\n limit: number = 100,\n ): CancelablePromise> {\n return this.httpRequest.request({\n method: 'POST',\n url: '/latest/sp/coaches/coach/calendar_entries/search',\n query: {\n 'coach_id': coachId,\n 'offset': offset,\n 'limit': limit,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Change Calendar Entry Location\n * @param calendarEntryId\n * @param userLocationId\n * @returns BaseCalendarEntry Successful Response\n * @throws ApiError\n */\n public patchSpChangeCalendarEntryLocationVLatest(\n calendarEntryId: number,\n userLocationId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/latest/sp/coaches/coach/calendar_entry/{calendar_entry_id}/change_location/{user_location_id}',\n path: {\n 'calendar_entry_id': calendarEntryId,\n 'user_location_id': userLocationId,\n },\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Change Calendar Entry\n * @param calendarEntryId\n * @param requestBody\n * @returns BaseCalendarEntry Successful Response\n * @throws ApiError\n */\n public patchSpChangeCalendarEntryVLatest(\n calendarEntryId: number,\n requestBody: CalendarEntryEdit,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/latest/sp/coaches/coach/calendar_entry/{calendar_entry_id}/edit',\n path: {\n 'calendar_entry_id': calendarEntryId,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Delete Calendar Entry\n * @param calendarEntryId\n * @returns GenericStatus Successful Response\n * @throws ApiError\n */\n public deleteSpDeleteCalendarEntryVLatest(\n calendarEntryId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'DELETE',\n url: '/latest/sp/coaches/coach/calendar_entry/{calendar_entry_id}/delete',\n path: {\n 'calendar_entry_id': calendarEntryId,\n },\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Add Competence To Coach\n * @param competenceId\n * @param coachId\n * @returns BaseCoachSP Successful Response\n * @throws ApiError\n */\n public postSpAddCompetenceToCoachVLatest(\n competenceId: number,\n coachId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/latest/sp/coaches/coach/{coach_id}/competence/{competence_id}',\n path: {\n 'competence_id': competenceId,\n 'coach_id': coachId,\n },\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Remove Competence From Coach\n * @param competenceId\n * @param coachId\n * @returns BaseCoachSP Successful Response\n * @throws ApiError\n */\n public deleteSpRemoveCompetenceFromCoachVLatest(\n competenceId: number,\n coachId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'DELETE',\n url: '/latest/sp/coaches/coach/{coach_id}/competence/{competence_id}',\n path: {\n 'competence_id': competenceId,\n 'coach_id': coachId,\n },\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Add Favourite Branch To Coach\n * Add a favourite branch to a coach.\n *\n * Args:\n * branch (Branch): The branch to be added as a favourite.\n * coach (Coach): The coach to add the favourite branch to.\n * db (Session): The database session.\n *\n * Returns:\n * BaseCoachSP: The updated coach object with the added favourite branch.\n * @param branchId\n * @param coachId\n * @returns BaseCoachSP Successful Response\n * @throws ApiError\n */\n public postSpAddFavouriteBranchToCoachVLatest(\n branchId: number,\n coachId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/latest/sp/coaches/coach/{coach_id}/branches/{branch_id}',\n path: {\n 'branch_id': branchId,\n 'coach_id': coachId,\n },\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Remove Favourite Branch From Coach\n * Removes a favourite branch from a coach.\n *\n * Args:\n * branch (Branch): The branch to be removed from the coach's favourite branches.\n * coach (Coach): The coach from which the branch will be removed.\n * db (Session): The database session.\n *\n * Returns:\n * BaseCoachSP: The updated coach object.\n * @param branchId\n * @param coachId\n * @returns BaseCoachSP Successful Response\n * @throws ApiError\n */\n public deleteSpRemoveFavouriteBranchFromCoachVLatest(\n branchId: number,\n coachId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'DELETE',\n url: '/latest/sp/coaches/coach/{coach_id}/branches/{branch_id}',\n path: {\n 'branch_id': branchId,\n 'coach_id': coachId,\n },\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Add Competence To Coach Bulk\n * @param coachId\n * @param requestBody\n * @returns BaseCoachSP Successful Response\n * @throws ApiError\n */\n public patchSpAddCompetenceToCoachBulkVLatest(\n coachId: number,\n requestBody: Array,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/latest/sp/coaches/coach/{coach_id}/competence/bulk',\n path: {\n 'coach_id': coachId,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Remove Competence From Coach Bulk\n * @param coachId\n * @param requestBody\n * @returns BaseCoachSP Successful Response\n * @throws ApiError\n */\n public deleteSpRemoveCompetenceFromCoachBulkVLatest(\n coachId: number,\n requestBody: Array,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'DELETE',\n url: '/latest/sp/coaches/coach/{coach_id}/competence/bulk',\n path: {\n 'coach_id': coachId,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Coach Sp\n * @param coachId\n * @returns BaseCoachSP Successful Response\n * @throws ApiError\n */\n public getSpGetCoachSpVLatest(\n coachId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/sp/coaches/coach/{coach_id}/sp_coach',\n path: {\n 'coach_id': coachId,\n },\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Shifts By Coach\n * ### Get all shifts worked by a coach within a certain time frame.\n *\n * Args:\n * - `coach` (Coach): The coach for which to get the shifts.\n * - `start_date` (date): The start date of the time frame.\n * - `end_date` (date): The end date of the time frame.\n * - `offset` (Optional[int], optional): The offset for pagination. Defaults to 0.\n * - `limit` (Optional[int], optional): The limit for pagination. Defaults to 30.\n *\n * Returns:\n * - SimpleShiftWithJobAndCountListSchemaOut: A list of shifts worked by the coach within the time frame.\n * - data: the shifts worked by the coach within the time frame.\n * - total_items: the total number of shifts worked by the coach within the time frame. (for pagination)\n * - total_pages: the total number of pages of shifts worked by the coach within the time frame. (for pagination)\n * @param coachId\n * @param startDate\n * @param endDate\n * @param offset\n * @param limit\n * @returns SimpleShiftWithJobAndCountListSchemaOut Successful Response\n * @throws ApiError\n */\n public getSpGetShiftsByCoachVLatest(\n coachId: number,\n startDate: string = '2024-12-11',\n endDate: string = '2025-02-09',\n offset?: (number | null),\n limit?: (number | null),\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/sp/coaches/coach/{coach_id}/worked_shifts',\n path: {\n 'coach_id': coachId,\n },\n query: {\n 'start_date': startDate,\n 'end_date': endDate,\n 'offset': offset,\n 'limit': limit,\n },\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Reserved Shifts By Coach\n * ### Get all shifts reserved by a coach within a certain time frame.\n *\n * Args:\n * - `coach` (Coach): The coach for which to get the shifts.\n * - `start_date` (date): The start date of the time frame.\n * - `end_date` (date): The end date of the time frame.\n * - `offset` (Optional[int], optional): The offset for pagination. Defaults to 0.\n * - `limit` (Optional[int], optional): The limit for pagination. Defaults to 30.\n *\n * Returns:\n * - SimpleShiftWithJobAndCountListSchemaOut: A list of shifts reserved by the coach within the time frame.\n * - data: the shifts reserved by the coach within the time frame.\n * - total_items: the total number of shifts reserved by the coach within the time frame. (for pagination)\n * - total_pages: the total number of pages of shifts reserved by the coach within the time frame. (for pagination)\n * @param coachId\n * @param startDate\n * @param endDate\n * @param offset\n * @param limit\n * @returns SimpleShiftWithJobAndCountListSchemaOut Successful Response\n * @throws ApiError\n */\n public getSpGetReservedShiftsByCoachVLatest(\n coachId: number,\n startDate: string = '2024-12-11',\n endDate: string = '2025-02-09',\n offset?: (number | null),\n limit?: (number | null),\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/sp/coaches/coach/{coach_id}/reserved_shifts',\n path: {\n 'coach_id': coachId,\n },\n query: {\n 'start_date': startDate,\n 'end_date': endDate,\n 'offset': offset,\n 'limit': limit,\n },\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Location Of Search Query In Map View\n * @param query\n * @returns LatLongWithName Successful Response\n * @throws ApiError\n */\n public postSpGetLocationOfSearchQueryInMapViewVLatest(\n query: string,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/latest/sp/coaches/map_view/location_query',\n query: {\n 'query': query,\n },\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Coaches In Map View\n * @param requestBody\n * @returns CoachWithLocationAndShiftsAvailabilityType Successful Response\n * @throws ApiError\n */\n public postSpGetCoachesInMapViewVLatest(\n requestBody: CoachMapViewFilters,\n ): CancelablePromise> {\n return this.httpRequest.request({\n method: 'POST',\n url: '/latest/sp/coaches/map_view',\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n}\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\nimport type { CompetenceEdit } from '../models/CompetenceEdit';\nimport type { CompetenceIn } from '../models/CompetenceIn';\nimport type { GenericStatus } from '../models/GenericStatus';\nimport type { SimpleCompetence } from '../models/SimpleCompetence';\nimport type { CancelablePromise } from '../core/CancelablePromise';\nimport type { BaseHttpRequest } from '../core/BaseHttpRequest';\nexport class SPCompetencesService {\n constructor(public readonly httpRequest: BaseHttpRequest) {}\n /**\n * Get All Competences\n * @param limit\n * @param offset\n * @returns SimpleCompetence Successful Response\n * @throws ApiError\n */\n public getSPCompetencesGetAllCompetences(\n limit: number = 30,\n offset?: number,\n ): CancelablePromise> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/sp/competences/competences',\n query: {\n 'limit': limit,\n 'offset': offset,\n },\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get All General Competences\n * @returns SimpleCompetence Successful Response\n * @throws ApiError\n */\n public getSPCompetencesGetAllGeneralCompetences(): CancelablePromise> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/sp/competences/competences/general',\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n },\n });\n }\n /**\n * Get All Competences By Sector\n * @param sectorId\n * @returns SimpleCompetence Successful Response\n * @throws ApiError\n */\n public getSPCompetencesGetAllCompetencesBySector(\n sectorId: number,\n ): CancelablePromise> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/sp/competences/competences/sector/{sector_id}',\n path: {\n 'sector_id': sectorId,\n },\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get All Competences By Coach\n * @param coachId\n * @returns SimpleCompetence Successful Response\n * @throws ApiError\n */\n public getSPCompetencesGetAllCompetencesByCoach(\n coachId: number,\n ): CancelablePromise> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/sp/competences/competences/coach/{coach_id}',\n path: {\n 'coach_id': coachId,\n },\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Competences\n * @param competenceId\n * @returns SimpleCompetence Successful Response\n * @throws ApiError\n */\n public getSPCompetencesGetCompetences(\n competenceId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/sp/competences/competence/{competence_id}',\n path: {\n 'competence_id': competenceId,\n },\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Edit Competence\n * @param competenceId\n * @param requestBody\n * @returns SimpleCompetence Successful Response\n * @throws ApiError\n */\n public patchSPCompetencesEditCompetence(\n competenceId: number,\n requestBody: CompetenceEdit,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/v1/sp/competences/competence/{competence_id}',\n path: {\n 'competence_id': competenceId,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Delete Competence\n * @param competenceId\n * @returns GenericStatus Successful Response\n * @throws ApiError\n */\n public deleteSPCompetencesDeleteCompetence(\n competenceId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'DELETE',\n url: '/v1/sp/competences/competence/{competence_id}',\n path: {\n 'competence_id': competenceId,\n },\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Create Competence\n * @param requestBody\n * @param sectorId\n * @returns SimpleCompetence Successful Response\n * @throws ApiError\n */\n public postSPCompetencesCreateCompetence(\n requestBody: CompetenceIn,\n sectorId?: (number | null),\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/v1/sp/competences/new',\n query: {\n 'sector_id': sectorId,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Edit Competence Sector\n * @param competenceId\n * @param sectorId\n * @returns SimpleCompetence Successful Response\n * @throws ApiError\n */\n public patchSPCompetencesEditCompetenceSector(\n competenceId: number,\n sectorId?: (number | null),\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/v1/sp/competences/competence/{competence_id}/change_sector',\n path: {\n 'competence_id': competenceId,\n },\n query: {\n 'sector_id': sectorId,\n },\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get All Competences\n * @param limit\n * @param offset\n * @returns SimpleCompetence Successful Response\n * @throws ApiError\n */\n public getSpGetAllCompetencesVLatest(\n limit: number = 30,\n offset?: number,\n ): CancelablePromise> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/sp/competences/competences',\n query: {\n 'limit': limit,\n 'offset': offset,\n },\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get All General Competences\n * @returns SimpleCompetence Successful Response\n * @throws ApiError\n */\n public getSpGetAllGeneralCompetencesVLatest(): CancelablePromise> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/sp/competences/competences/general',\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n },\n });\n }\n /**\n * Get All Competences By Sector\n * @param sectorId\n * @returns SimpleCompetence Successful Response\n * @throws ApiError\n */\n public getSpGetAllCompetencesBySectorVLatest(\n sectorId: number,\n ): CancelablePromise> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/sp/competences/competences/sector/{sector_id}',\n path: {\n 'sector_id': sectorId,\n },\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get All Competences By Coach\n * @param coachId\n * @returns SimpleCompetence Successful Response\n * @throws ApiError\n */\n public getSpGetAllCompetencesByCoachVLatest(\n coachId: number,\n ): CancelablePromise> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/sp/competences/competences/coach/{coach_id}',\n path: {\n 'coach_id': coachId,\n },\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Competences\n * @param competenceId\n * @returns SimpleCompetence Successful Response\n * @throws ApiError\n */\n public getSpGetCompetencesVLatest(\n competenceId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/sp/competences/competence/{competence_id}',\n path: {\n 'competence_id': competenceId,\n },\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Edit Competence\n * @param competenceId\n * @param requestBody\n * @returns SimpleCompetence Successful Response\n * @throws ApiError\n */\n public patchSpEditCompetenceVLatest(\n competenceId: number,\n requestBody: CompetenceEdit,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/latest/sp/competences/competence/{competence_id}',\n path: {\n 'competence_id': competenceId,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Delete Competence\n * @param competenceId\n * @returns GenericStatus Successful Response\n * @throws ApiError\n */\n public deleteSpDeleteCompetenceVLatest(\n competenceId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'DELETE',\n url: '/latest/sp/competences/competence/{competence_id}',\n path: {\n 'competence_id': competenceId,\n },\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Create Competence\n * @param requestBody\n * @param sectorId\n * @returns SimpleCompetence Successful Response\n * @throws ApiError\n */\n public postSpCreateCompetenceVLatest(\n requestBody: CompetenceIn,\n sectorId?: (number | null),\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/latest/sp/competences/new',\n query: {\n 'sector_id': sectorId,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Edit Competence Sector\n * @param competenceId\n * @param sectorId\n * @returns SimpleCompetence Successful Response\n * @throws ApiError\n */\n public patchSpEditCompetenceSectorVLatest(\n competenceId: number,\n sectorId?: (number | null),\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/latest/sp/competences/competence/{competence_id}/change_sector',\n path: {\n 'competence_id': competenceId,\n },\n query: {\n 'sector_id': sectorId,\n },\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n}\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\nimport type { BaseJob } from '../models/BaseJob';\nimport type { BaseJobMatch } from '../models/BaseJobMatch';\nimport type { BaseShift } from '../models/BaseShift';\nimport type { BaseTask } from '../models/BaseTask';\nimport type { Body_import_jobs_latest_sp_jobs_new_import_bulk_post } from '../models/Body_import_jobs_latest_sp_jobs_new_import_bulk_post';\nimport type { Body_import_jobs_v1_sp_jobs_new_import_bulk_post } from '../models/Body_import_jobs_v1_sp_jobs_new_import_bulk_post';\nimport type { FirstUpcomingJobDate } from '../models/FirstUpcomingJobDate';\nimport type { GenericStatus } from '../models/GenericStatus';\nimport type { JobBranchReplyInformation } from '../models/JobBranchReplyInformation';\nimport type { JobEdit } from '../models/JobEdit';\nimport type { JobIn } from '../models/JobIn';\nimport type { JobMatchCoachReplyInformation } from '../models/JobMatchCoachReplyInformation';\nimport type { JobSearchQueryParams } from '../models/JobSearchQueryParams';\nimport type { JobWithBranchAndLocation } from '../models/JobWithBranchAndLocation';\nimport type { NotifyBranchParts } from '../models/NotifyBranchParts';\nimport type { OrderByJobsEnum } from '../models/OrderByJobsEnum';\nimport type { PrivateJob } from '../models/PrivateJob';\nimport type { SearchAvailableJobsResultOut } from '../models/SearchAvailableJobsResultOut';\nimport type { SeleniumProcessedShifts } from '../models/SeleniumProcessedShifts';\nimport type { ShiftEdit } from '../models/ShiftEdit';\nimport type { ShiftIdsIn } from '../models/ShiftIdsIn';\nimport type { ShiftIn } from '../models/ShiftIn';\nimport type { SimpleJob } from '../models/SimpleJob';\nimport type { SimpleJobMatch } from '../models/SimpleJobMatch';\nimport type { SimpleJobMatchWithCoach } from '../models/SimpleJobMatchWithCoach';\nimport type { SimpleJobMatchWithCoachAndJob } from '../models/SimpleJobMatchWithCoachAndJob';\nimport type { SimpleJobWithShifts } from '../models/SimpleJobWithShifts';\nimport type { SimpleShift } from '../models/SimpleShift';\nimport type { CancelablePromise } from '../core/CancelablePromise';\nimport type { BaseHttpRequest } from '../core/BaseHttpRequest';\nexport class SPJobsService {\n constructor(public readonly httpRequest: BaseHttpRequest) {}\n /**\n * Get Jobs\n * @param limit\n * @param offset\n * @returns SimpleJob Successful Response\n * @throws ApiError\n */\n public getSPJobsGetJobs(\n limit: number = 30,\n offset?: number,\n ): CancelablePromise> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/sp/jobs/jobs',\n query: {\n 'limit': limit,\n 'offset': offset,\n },\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Jobs By Provider\n * @param providerId\n * @param limit\n * @param offset\n * @returns SimpleJob Successful Response\n * @throws ApiError\n */\n public getSPJobsGetJobsByProvider(\n providerId: number,\n limit: number = 30,\n offset?: number,\n ): CancelablePromise> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/sp/jobs/jobs/provider/{provider_id}',\n path: {\n 'provider_id': providerId,\n },\n query: {\n 'limit': limit,\n 'offset': offset,\n },\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Jobs By Branch\n * @param branchId\n * @param limit\n * @param offset\n * @returns SimpleJob Successful Response\n * @throws ApiError\n */\n public getSPJobsGetJobsByBranch(\n branchId: number,\n limit: number = 30,\n offset?: number,\n ): CancelablePromise> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/sp/jobs/jobs/branch/{branch_id}',\n path: {\n 'branch_id': branchId,\n },\n query: {\n 'limit': limit,\n 'offset': offset,\n },\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Branch Available Jobs\n * @param branchId\n * @param limit\n * @param offset\n * @returns SimpleJobWithShifts Successful Response\n * @throws ApiError\n */\n public getSPJobsGetBranchAvailableJobs(\n branchId: number,\n limit: number = 30,\n offset?: number,\n ): CancelablePromise> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/sp/jobs/jobs/branch/{branch_id}/available',\n path: {\n 'branch_id': branchId,\n },\n query: {\n 'limit': limit,\n 'offset': offset,\n },\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Jobs Search\n * @param requestBody\n * @param orderBy\n * @param orderAscending\n * @param limit\n * @param offset\n * @param dateStart\n * @param dateEnd\n * @returns JobWithBranchAndLocation Successful Response\n * @throws ApiError\n */\n public postSPJobsGetJobsSearch(\n requestBody: JobSearchQueryParams,\n orderBy?: (OrderByJobsEnum | null),\n orderAscending: boolean = true,\n limit: number = 30,\n offset?: number,\n dateStart?: (string | null),\n dateEnd?: (string | null),\n ): CancelablePromise> {\n return this.httpRequest.request({\n method: 'POST',\n url: '/v1/sp/jobs/jobs/search',\n query: {\n 'order_by': orderBy,\n 'order_ascending': orderAscending,\n 'limit': limit,\n 'offset': offset,\n 'date_start': dateStart,\n 'date_end': dateEnd,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Jobs Search Count\n * @param requestBody\n * @param dateStart\n * @param dateEnd\n * @returns number Successful Response\n * @throws ApiError\n */\n public postSPJobsGetJobsSearchCount(\n requestBody: JobSearchQueryParams,\n dateStart?: (string | null),\n dateEnd?: (string | null),\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/v1/sp/jobs/jobs/search/count',\n query: {\n 'date_start': dateStart,\n 'date_end': dateEnd,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Jobs Search Download In Csv\n * @param requestBody\n * @param orderBy\n * @param orderAscending\n * @param limit\n * @param offset\n * @param dateStart\n * @param dateEnd\n * @returns any Successful Response\n * @throws ApiError\n */\n public postSPJobsGetJobsSearchDownloadInCsv(\n requestBody: JobSearchQueryParams,\n orderBy?: (OrderByJobsEnum | null),\n orderAscending: boolean = true,\n limit: number = 30,\n offset?: number,\n dateStart: string = '2024-12-11',\n dateEnd: string = '2025-01-10',\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/v1/sp/jobs/jobs/search/download/csv',\n query: {\n 'order_by': orderBy,\n 'order_ascending': orderAscending,\n 'limit': limit,\n 'offset': offset,\n 'date_start': dateStart,\n 'date_end': dateEnd,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Job By Id\n * @param jobId\n * @returns SimpleJob Successful Response\n * @throws ApiError\n */\n public getSPJobsGetJobById(\n jobId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/sp/jobs/job/{job_id}',\n path: {\n 'job_id': jobId,\n },\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Edit Job\n * @param jobId\n * @param requestBody\n * @returns SimpleJob Successful Response\n * @throws ApiError\n */\n public patchSPJobsEditJob(\n jobId: number,\n requestBody: JobEdit,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/v1/sp/jobs/job/{job_id}',\n path: {\n 'job_id': jobId,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Delete Job\n * @param jobId\n * @returns GenericStatus Successful Response\n * @throws ApiError\n */\n public deleteSPJobsDeleteJob(\n jobId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'DELETE',\n url: '/v1/sp/jobs/job/{job_id}',\n path: {\n 'job_id': jobId,\n },\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Job By Id Private\n * @param jobId\n * @returns PrivateJob Successful Response\n * @throws ApiError\n */\n public getSPJobsGetJobByIdPrivate(\n jobId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/sp/jobs/job/{job_id}/private',\n path: {\n 'job_id': jobId,\n },\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Job By Id Detailed\n * @param jobId\n * @returns BaseJob Successful Response\n * @throws ApiError\n */\n public getSPJobsGetJobByIdDetailed(\n jobId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/sp/jobs/job/{job_id}/detailed',\n path: {\n 'job_id': jobId,\n },\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Create New Job\n * @param branchId\n * @param sectorId\n * @param userLocationId\n * @param requestBody\n * @returns SimpleJob Successful Response\n * @throws ApiError\n */\n public postSPJobsCreateNewJob(\n branchId: number,\n sectorId: number,\n userLocationId: number,\n requestBody: JobIn,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/v1/sp/jobs/new/{branch_id}/{sector_id}/{user_location_id}',\n path: {\n 'branch_id': branchId,\n 'sector_id': sectorId,\n 'user_location_id': userLocationId,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Import Jobs\n * @param formData\n * @param commit\n * @returns BaseTask Successful Response\n * @throws ApiError\n */\n public postSPJobsImportJobs(\n formData: Body_import_jobs_v1_sp_jobs_new_import_bulk_post,\n commit: boolean = false,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/v1/sp/jobs/new/import/bulk',\n query: {\n 'commit': commit,\n },\n formData: formData,\n mediaType: 'multipart/form-data',\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Edit Job Branch\n * @param jobId\n * @param branchId\n * @returns SimpleJob Successful Response\n * @throws ApiError\n */\n public patchSPJobsEditJobBranch(\n jobId: number,\n branchId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/v1/sp/jobs/job/{job_id}/change_branch/{branch_id}',\n path: {\n 'job_id': jobId,\n 'branch_id': branchId,\n },\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Edit Job Coach\n * @param jobId\n * @param coachId\n * @returns SimpleJob Successful Response\n * @throws ApiError\n */\n public patchSPJobsEditJobCoach(\n jobId: number,\n coachId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/v1/sp/jobs/job/{job_id}/change_coach/{coach_id}',\n path: {\n 'job_id': jobId,\n 'coach_id': coachId,\n },\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Split Job\n * @param jobId\n * @param requestBody\n * @returns SimpleJob Successful Response\n * @throws ApiError\n */\n public patchSPJobsSplitJob(\n jobId: number,\n requestBody: ShiftIdsIn,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/v1/sp/jobs/job/{job_id}/split',\n path: {\n 'job_id': jobId,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Edit Job Location\n * @param jobId\n * @param userLocationId\n * @returns SimpleJob Successful Response\n * @throws ApiError\n */\n public patchSPJobsEditJobLocation(\n jobId: number,\n userLocationId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/v1/sp/jobs/job/{job_id}/change_location/{user_location_id}',\n path: {\n 'job_id': jobId,\n 'user_location_id': userLocationId,\n },\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Edit Job Sector\n * @param jobId\n * @param sectorId\n * @returns SimpleJob Successful Response\n * @throws ApiError\n */\n public patchSPJobsEditJobSector(\n jobId: number,\n sectorId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/v1/sp/jobs/job/{job_id}/change_sector/{sector_id}',\n path: {\n 'job_id': jobId,\n 'sector_id': sectorId,\n },\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Close Job\n * @param jobId\n * @param force\n * @param ignoreJobMatches\n * @returns GenericStatus Successful Response\n * @throws ApiError\n */\n public patchSPJobsCloseJob(\n jobId: number,\n force: boolean = false,\n ignoreJobMatches: boolean = false,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/v1/sp/jobs/job/{job_id}/close',\n path: {\n 'job_id': jobId,\n },\n query: {\n 'force': force,\n 'ignore_job_matches': ignoreJobMatches,\n },\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Job Shifts\n * @param jobId\n * @returns SimpleShift Successful Response\n * @throws ApiError\n */\n public getSPJobsGetJobShifts(\n jobId: number,\n ): CancelablePromise> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/sp/jobs/job/{job_id}/shifts',\n path: {\n 'job_id': jobId,\n },\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Shift\n * @param shiftId\n * @returns SimpleShift Successful Response\n * @throws ApiError\n */\n public getSPJobsGetShift(\n shiftId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/sp/jobs/shift/{shift_id}',\n path: {\n 'shift_id': shiftId,\n },\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Edit Shift\n * @param shiftId\n * @param requestBody\n * @param force\n * @returns SimpleShift Successful Response\n * @throws ApiError\n */\n public patchSPJobsEditShift(\n shiftId: number,\n requestBody: ShiftEdit,\n force: boolean = false,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/v1/sp/jobs/shift/{shift_id}',\n path: {\n 'shift_id': shiftId,\n },\n query: {\n 'force': force,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Delete Shift\n * @param shiftId\n * @param force\n * @returns GenericStatus Successful Response\n * @throws ApiError\n */\n public deleteSPJobsDeleteShift(\n shiftId: number,\n force: boolean = false,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'DELETE',\n url: '/v1/sp/jobs/shift/{shift_id}',\n path: {\n 'shift_id': shiftId,\n },\n query: {\n 'force': force,\n },\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Shift Detailed\n * @param shiftId\n * @returns BaseShift Successful Response\n * @throws ApiError\n */\n public getSPJobsGetShiftDetailed(\n shiftId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/sp/jobs/shift/{shift_id}/detailed',\n path: {\n 'shift_id': shiftId,\n },\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Create New Shift\n * @param jobId\n * @param requestBody\n * @param force\n * @returns SimpleShift Successful Response\n * @throws ApiError\n */\n public postSPJobsCreateNewShift(\n jobId: number,\n requestBody: ShiftIn,\n force: boolean = false,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/v1/sp/jobs/shift/new/{job_id}',\n path: {\n 'job_id': jobId,\n },\n query: {\n 'force': force,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Edit Shift Job\n * @param shiftId\n * @param jobId\n * @param force\n * @returns SimpleShift Successful Response\n * @throws ApiError\n */\n public patchSPJobsEditShiftJob(\n shiftId: number,\n jobId: number,\n force: boolean = false,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/v1/sp/jobs/shift/{shift_id}/change_job/{job_id}',\n path: {\n 'shift_id': shiftId,\n 'job_id': jobId,\n },\n query: {\n 'force': force,\n },\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Job Matches\n * @param jobId\n * @returns SimpleJobMatchWithCoach Successful Response\n * @throws ApiError\n */\n public getSPJobsGetJobMatches(\n jobId: number,\n ): CancelablePromise> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/sp/jobs/job/{job_id}/job_matches',\n path: {\n 'job_id': jobId,\n },\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Request Job For Job Match\n * Request a job as a coach in order to have it be processes by selenium/ internal employees. Please note that coaches can only try and claim jobs that are not yet claimed by other coaches (in other words: the job status has to be \"open\")\n *\n * Args:\n * - `job_id`, int; The id of the job to request\n * - `coach_id`, int; The id of the coach to request the job for\n *\n * Returns:\n * - `SimpleJobMatch`; The created job match, that has been reserved in the calendar of the coach.\n * @param jobId\n * @param coachId\n * @returns SimpleJobMatch Successful Response\n * @throws ApiError\n */\n public postSPJobsRequestJobForJobMatch(\n jobId: number,\n coachId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/v1/sp/jobs/job/{job_id}/request_job_as_coach/{coach_id}',\n path: {\n 'job_id': jobId,\n 'coach_id': coachId,\n },\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Job Match\n * @param jobMatchId\n * @returns SimpleJobMatch Successful Response\n * @throws ApiError\n */\n public getSPJobsGetJobMatch(\n jobMatchId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/sp/jobs/job_match/{job_match_id}',\n path: {\n 'job_match_id': jobMatchId,\n },\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Cancel Planned Job Match\n * @param jobMatchId\n * @param force\n * @returns SimpleJobMatch Successful Response\n * @throws ApiError\n */\n public patchSPJobsCancelPlannedJobMatch(\n jobMatchId: number,\n force: boolean = false,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/v1/sp/jobs/job_match/{job_match_id}/close',\n path: {\n 'job_match_id': jobMatchId,\n },\n query: {\n 'force': force,\n },\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Job Match Detailed\n * @param jobMatchId\n * @returns BaseJobMatch Successful Response\n * @throws ApiError\n */\n public getSPJobsGetJobMatchDetailed(\n jobMatchId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/sp/jobs/job_match/{job_match_id}/detailed',\n path: {\n 'job_match_id': jobMatchId,\n },\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Create New Job Match\n * @param jobId\n * @param coachId\n * @returns SimpleJobMatch Successful Response\n * @throws ApiError\n */\n public postSPJobsCreateNewJobMatch(\n jobId: number,\n coachId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/v1/sp/jobs/job_match/new/{job_id}/{coach_id}',\n path: {\n 'job_id': jobId,\n 'coach_id': coachId,\n },\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Notify Coach About Job Match\n * @param jobMatchId\n * @param sendNotification\n * @param anonymous\n * @returns SimpleJobMatch Successful Response\n * @throws ApiError\n */\n public postSPJobsNotifyCoachAboutJobMatch(\n jobMatchId: number,\n sendNotification: boolean = true,\n anonymous: boolean = false,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/v1/sp/jobs/job_match/{job_match_id}/notify/coach',\n path: {\n 'job_match_id': jobMatchId,\n },\n query: {\n 'send_notification': sendNotification,\n 'anonymous': anonymous,\n },\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Reply To Job Match Uuid Coach\n * @param jobMatchCoachToken\n * @param accept\n * @returns GenericStatus Successful Response\n * @throws ApiError\n */\n public patchSPJobsReplyToJobMatchUuidCoach(\n jobMatchCoachToken: string,\n accept: boolean,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/v1/sp/jobs/job_match/reply/coach/{job_match_coach_token}',\n path: {\n 'job_match_coach_token': jobMatchCoachToken,\n },\n query: {\n 'accept': accept,\n },\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Reply To Job Match Id Coach\n * @param jobMatchId\n * @param accept\n * @param force\n * @returns SimpleJobMatch Successful Response\n * @throws ApiError\n */\n public patchSPJobsReplyToJobMatchIdCoach(\n jobMatchId: number,\n accept: boolean,\n force: boolean = false,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/v1/sp/jobs/job_match/reply/coach/{job_match_id}/job_id',\n path: {\n 'job_match_id': jobMatchId,\n },\n query: {\n 'accept': accept,\n 'force': force,\n },\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Info By Uuid Coach\n * @param jobMatchCoachToken\n * @returns JobMatchCoachReplyInformation Successful Response\n * @throws ApiError\n */\n public getSPJobsGetInfoByUuidCoach(\n jobMatchCoachToken: string,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/sp/jobs/job_match/reply/coach/info/{job_match_coach_token}',\n path: {\n 'job_match_coach_token': jobMatchCoachToken,\n },\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Notify Branch About Job Matches\n * @param jobId\n * @param requestBody\n * @param anonymous\n * @param sendNotification\n * @returns SimpleJob Successful Response\n * @throws ApiError\n */\n public postSPJobsNotifyBranchAboutJobMatches(\n jobId: number,\n requestBody: NotifyBranchParts,\n anonymous: boolean = false,\n sendNotification: boolean = true,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/v1/sp/jobs/job/{job_id}/notify/branch',\n path: {\n 'job_id': jobId,\n },\n query: {\n 'anonymous': anonymous,\n 'send_notification': sendNotification,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Reply To Job Match Uuid Branch\n * @param jobBranchToken\n * @param jobMatchId\n * @param accept\n * @returns GenericStatus Successful Response\n * @throws ApiError\n */\n public patchSPJobsReplyToJobMatchUuidBranch(\n jobBranchToken: string,\n jobMatchId: number,\n accept: boolean,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/v1/sp/jobs/job_match/reply/branch/{job_branch_token}/{job_match_id}',\n path: {\n 'job_branch_token': jobBranchToken,\n 'job_match_id': jobMatchId,\n },\n query: {\n 'accept': accept,\n },\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Close Job By Uuid Branch\n * @param jobBranchToken\n * @returns GenericStatus Successful Response\n * @throws ApiError\n */\n public patchSPJobsCloseJobByUuidBranch(\n jobBranchToken: string,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/v1/sp/jobs/job_match/reply/branch/{job_branch_token}/close/all',\n path: {\n 'job_branch_token': jobBranchToken,\n },\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Info By Uuid Branch\n * @param jobBranchToken\n * @returns JobBranchReplyInformation Successful Response\n * @throws ApiError\n */\n public getSPJobsGetInfoByUuidBranch(\n jobBranchToken: string,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/sp/jobs/job_match/reply/branch/info/{job_branch_token}',\n path: {\n 'job_branch_token': jobBranchToken,\n },\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Schedule Job Match\n * @param jobMatchId\n * @param skipBranchAwaiting\n * @param autoCloseOverlapping\n * @param sendNotification\n * @returns SimpleJobMatch Successful Response\n * @throws ApiError\n */\n public patchSPJobsScheduleJobMatch(\n jobMatchId: number,\n skipBranchAwaiting: boolean = false,\n autoCloseOverlapping: boolean = false,\n sendNotification: boolean = true,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/v1/sp/jobs/job_match/{job_match_id}/schedule',\n path: {\n 'job_match_id': jobMatchId,\n },\n query: {\n 'skip_branch_awaiting': skipBranchAwaiting,\n 'auto_close_overlapping': autoCloseOverlapping,\n 'send_notification': sendNotification,\n },\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Job Matches\n * @param requestedByCoach\n * @param requestBody\n * @returns SimpleJobMatchWithCoachAndJob Successful Response\n * @throws ApiError\n */\n public postSPJobsGetJobMatches(\n requestedByCoach: boolean = false,\n requestBody?: (Array | null),\n ): CancelablePromise> {\n return this.httpRequest.request({\n method: 'POST',\n url: '/v1/sp/jobs/job_matches',\n query: {\n 'requested_by_coach': requestedByCoach,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Add Competence To Job\n * @param competenceId\n * @param jobId\n * @returns SimpleJob Successful Response\n * @throws ApiError\n */\n public postSPJobsAddCompetenceToJob(\n competenceId: number,\n jobId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/v1/sp/jobs/job/{job_id}/competence/{competence_id}',\n path: {\n 'competence_id': competenceId,\n 'job_id': jobId,\n },\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Remove Competence From Job\n * @param competenceId\n * @param jobId\n * @returns SimpleJob Successful Response\n * @throws ApiError\n */\n public deleteSPJobsRemoveCompetenceFromJob(\n competenceId: number,\n jobId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'DELETE',\n url: '/v1/sp/jobs/job/{job_id}/competence/{competence_id}',\n path: {\n 'competence_id': competenceId,\n 'job_id': jobId,\n },\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Add Competence To Job Bulk\n * @param jobId\n * @param requestBody\n * @returns SimpleJob Successful Response\n * @throws ApiError\n */\n public patchSPJobsAddCompetenceToJobBulk(\n jobId: number,\n requestBody: Array,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/v1/sp/jobs/job/{job_id}/competence/add/bulk',\n path: {\n 'job_id': jobId,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Remove Competence From Job Bulk\n * @param jobId\n * @param requestBody\n * @returns SimpleJob Successful Response\n * @throws ApiError\n */\n public deleteSPJobsRemoveCompetenceFromJobBulk(\n jobId: number,\n requestBody: Array,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'DELETE',\n url: '/v1/sp/jobs/job/{job_id}/competence/add/bulk',\n path: {\n 'job_id': jobId,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Available Jobs\n * Get available jobs for a coach\n *\n * Args:\n *\n * - `coach_id`, int; The id of the coach for which to get the available jobs\n *\n * - `limit`, int; The maximum amount of jobs to return, used for pagination\n *\n * - `offset`, int; The offset to start from, used for pagination\n *\n * - `filter_start_date`, date; The start date to filter jobs on\n *\n * - `filter_end_date`, date; The end date to filter jobs on\n *\n * - `radius`, int; The radius in meters to search for jobs around the coach's location\n *\n * Returns:\n *\n * - `amount`, int; The total amount of available jobs\n *\n * - `jobs`, List[SearchAvailableJobsResult]; The available jobs for the coach\n *\n * > The given distance to a job is in kilometers\n * @param coachId\n * @param limit\n * @param offset\n * @param filterStartDate\n * @param filterEndDate\n * @param radius\n * @returns SearchAvailableJobsResultOut Successful Response\n * @throws ApiError\n */\n public getSPJobsGetAvailableJobs(\n coachId: number,\n limit: number = 30,\n offset?: number,\n filterStartDate?: (string | null),\n filterEndDate?: (string | null),\n radius?: (number | null),\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/sp/jobs/available_jobs',\n query: {\n 'limit': limit,\n 'offset': offset,\n 'filter_start_date': filterStartDate,\n 'filter_end_date': filterEndDate,\n 'radius': radius,\n 'coach_id': coachId,\n },\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get First Upcoming Job\n * Get the date of the first eavailable job for a coach\n *\n * The data is sorted on date, and jobs on the same date are filtered on distance, **both in ascending order**\n *\n * Args:\n *\n * - `coach_id`, int; The id of the coach for which to get the first upcoming job\n *\n * - `filter_start_date`, date; The start date to filter jobs on\n *\n * - `filter_end_date`, date; The end date to filter jobs on\n *\n *\n * Returns:\n *\n * - `date`, date; The date of the first upcoming job\n * - `distance`, float: the amount of km to the\n * @param coachId\n * @param filterStartDate\n * @param filterEndDate\n * @returns FirstUpcomingJobDate Successful Response\n * @throws ApiError\n */\n public getSPJobsGetFirstUpcomingJob(\n coachId: number,\n filterStartDate?: (string | null),\n filterEndDate?: (string | null),\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/sp/jobs/available_jobs/upcoming/first',\n query: {\n 'filter_start_date': filterStartDate,\n 'filter_end_date': filterEndDate,\n 'coach_id': coachId,\n },\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Processed Jobs\n * Get all shifts that Selenium processes on the specified date.\n *\n * Args:\n *\n * - `limit`, int; The maximum amount of jobs to return, used for pagination\n *\n * - `offset`, int; The offset to start from, used for pagination\n *\n * Returns:\n *\n * - `SeleniumShift`, List[SeleniumProcessedShifts]; The shifts that selenium processed on the specified date\n * @param date\n * @param limit\n * @param offset\n * @returns SeleniumProcessedShifts Successful Response\n * @throws ApiError\n */\n public getSPJobsGetProcessedJobs(\n date: string = '2025-01-10',\n limit: number = 30,\n offset?: number,\n ): CancelablePromise> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/sp/jobs/processed_jobs',\n query: {\n 'date': date,\n 'limit': limit,\n 'offset': offset,\n },\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Processed Jobs Count\n * Get the amount of shifts that Selenium processes on the specified date.\n *\n * Args:\n *\n * - `limit`, int; The maximum amount of jobs to return, used for pagination\n *\n * - `offset`, int; The offset to start from, used for pagination\n *\n * Returns:\n *\n * - `int`; The amount of shifts that selenium processed on the specified date\n * @param date\n * @returns number Successful Response\n * @throws ApiError\n */\n public getSPJobsGetProcessedJobsCount(\n date: string = '2025-01-10',\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/sp/jobs/processed_jobs/count',\n query: {\n 'date': date,\n },\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Jobs\n * @param limit\n * @param offset\n * @returns SimpleJob Successful Response\n * @throws ApiError\n */\n public getSpGetJobsVLatest(\n limit: number = 30,\n offset?: number,\n ): CancelablePromise> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/sp/jobs/jobs',\n query: {\n 'limit': limit,\n 'offset': offset,\n },\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Jobs By Provider\n * @param providerId\n * @param limit\n * @param offset\n * @returns SimpleJob Successful Response\n * @throws ApiError\n */\n public getSpGetJobsByProviderVLatest(\n providerId: number,\n limit: number = 30,\n offset?: number,\n ): CancelablePromise> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/sp/jobs/jobs/provider/{provider_id}',\n path: {\n 'provider_id': providerId,\n },\n query: {\n 'limit': limit,\n 'offset': offset,\n },\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Jobs By Branch\n * @param branchId\n * @param limit\n * @param offset\n * @returns SimpleJob Successful Response\n * @throws ApiError\n */\n public getSpGetJobsByBranchVLatest(\n branchId: number,\n limit: number = 30,\n offset?: number,\n ): CancelablePromise> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/sp/jobs/jobs/branch/{branch_id}',\n path: {\n 'branch_id': branchId,\n },\n query: {\n 'limit': limit,\n 'offset': offset,\n },\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Branch Available Jobs\n * @param branchId\n * @param limit\n * @param offset\n * @returns SimpleJobWithShifts Successful Response\n * @throws ApiError\n */\n public getSpGetBranchAvailableJobsVLatest(\n branchId: number,\n limit: number = 30,\n offset?: number,\n ): CancelablePromise> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/sp/jobs/jobs/branch/{branch_id}/available',\n path: {\n 'branch_id': branchId,\n },\n query: {\n 'limit': limit,\n 'offset': offset,\n },\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Jobs Search\n * @param requestBody\n * @param orderBy\n * @param orderAscending\n * @param limit\n * @param offset\n * @param dateStart\n * @param dateEnd\n * @returns JobWithBranchAndLocation Successful Response\n * @throws ApiError\n */\n public postSpGetJobsSearchVLatest(\n requestBody: JobSearchQueryParams,\n orderBy?: (OrderByJobsEnum | null),\n orderAscending: boolean = true,\n limit: number = 30,\n offset?: number,\n dateStart?: (string | null),\n dateEnd?: (string | null),\n ): CancelablePromise> {\n return this.httpRequest.request({\n method: 'POST',\n url: '/latest/sp/jobs/jobs/search',\n query: {\n 'order_by': orderBy,\n 'order_ascending': orderAscending,\n 'limit': limit,\n 'offset': offset,\n 'date_start': dateStart,\n 'date_end': dateEnd,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Jobs Search Count\n * @param requestBody\n * @param dateStart\n * @param dateEnd\n * @returns number Successful Response\n * @throws ApiError\n */\n public postSpGetJobsSearchCountVLatest(\n requestBody: JobSearchQueryParams,\n dateStart?: (string | null),\n dateEnd?: (string | null),\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/latest/sp/jobs/jobs/search/count',\n query: {\n 'date_start': dateStart,\n 'date_end': dateEnd,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Jobs Search Download In Csv\n * @param requestBody\n * @param orderBy\n * @param orderAscending\n * @param limit\n * @param offset\n * @param dateStart\n * @param dateEnd\n * @returns any Successful Response\n * @throws ApiError\n */\n public postSpGetJobsSearchDownloadInCsvVLatest(\n requestBody: JobSearchQueryParams,\n orderBy?: (OrderByJobsEnum | null),\n orderAscending: boolean = true,\n limit: number = 30,\n offset?: number,\n dateStart: string = '2024-12-11',\n dateEnd: string = '2025-01-10',\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/latest/sp/jobs/jobs/search/download/csv',\n query: {\n 'order_by': orderBy,\n 'order_ascending': orderAscending,\n 'limit': limit,\n 'offset': offset,\n 'date_start': dateStart,\n 'date_end': dateEnd,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Job By Id\n * @param jobId\n * @returns SimpleJob Successful Response\n * @throws ApiError\n */\n public getSpGetJobByIdVLatest(\n jobId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/sp/jobs/job/{job_id}',\n path: {\n 'job_id': jobId,\n },\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Edit Job\n * @param jobId\n * @param requestBody\n * @returns SimpleJob Successful Response\n * @throws ApiError\n */\n public patchSpEditJobVLatest(\n jobId: number,\n requestBody: JobEdit,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/latest/sp/jobs/job/{job_id}',\n path: {\n 'job_id': jobId,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Delete Job\n * @param jobId\n * @returns GenericStatus Successful Response\n * @throws ApiError\n */\n public deleteSpDeleteJobVLatest(\n jobId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'DELETE',\n url: '/latest/sp/jobs/job/{job_id}',\n path: {\n 'job_id': jobId,\n },\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Job By Id Private\n * @param jobId\n * @returns PrivateJob Successful Response\n * @throws ApiError\n */\n public getSpGetJobByIdPrivateVLatest(\n jobId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/sp/jobs/job/{job_id}/private',\n path: {\n 'job_id': jobId,\n },\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Job By Id Detailed\n * @param jobId\n * @returns BaseJob Successful Response\n * @throws ApiError\n */\n public getSpGetJobByIdDetailedVLatest(\n jobId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/sp/jobs/job/{job_id}/detailed',\n path: {\n 'job_id': jobId,\n },\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Create New Job\n * @param branchId\n * @param sectorId\n * @param userLocationId\n * @param requestBody\n * @returns SimpleJob Successful Response\n * @throws ApiError\n */\n public postSpCreateNewJobVLatest(\n branchId: number,\n sectorId: number,\n userLocationId: number,\n requestBody: JobIn,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/latest/sp/jobs/new/{branch_id}/{sector_id}/{user_location_id}',\n path: {\n 'branch_id': branchId,\n 'sector_id': sectorId,\n 'user_location_id': userLocationId,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Import Jobs\n * @param formData\n * @param commit\n * @returns BaseTask Successful Response\n * @throws ApiError\n */\n public postSpImportJobsVLatest(\n formData: Body_import_jobs_latest_sp_jobs_new_import_bulk_post,\n commit: boolean = false,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/latest/sp/jobs/new/import/bulk',\n query: {\n 'commit': commit,\n },\n formData: formData,\n mediaType: 'multipart/form-data',\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Edit Job Branch\n * @param jobId\n * @param branchId\n * @returns SimpleJob Successful Response\n * @throws ApiError\n */\n public patchSpEditJobBranchVLatest(\n jobId: number,\n branchId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/latest/sp/jobs/job/{job_id}/change_branch/{branch_id}',\n path: {\n 'job_id': jobId,\n 'branch_id': branchId,\n },\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Edit Job Coach\n * @param jobId\n * @param coachId\n * @returns SimpleJob Successful Response\n * @throws ApiError\n */\n public patchSpEditJobCoachVLatest(\n jobId: number,\n coachId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/latest/sp/jobs/job/{job_id}/change_coach/{coach_id}',\n path: {\n 'job_id': jobId,\n 'coach_id': coachId,\n },\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Split Job\n * @param jobId\n * @param requestBody\n * @returns SimpleJob Successful Response\n * @throws ApiError\n */\n public patchSpSplitJobVLatest(\n jobId: number,\n requestBody: ShiftIdsIn,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/latest/sp/jobs/job/{job_id}/split',\n path: {\n 'job_id': jobId,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Edit Job Location\n * @param jobId\n * @param userLocationId\n * @returns SimpleJob Successful Response\n * @throws ApiError\n */\n public patchSpEditJobLocationVLatest(\n jobId: number,\n userLocationId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/latest/sp/jobs/job/{job_id}/change_location/{user_location_id}',\n path: {\n 'job_id': jobId,\n 'user_location_id': userLocationId,\n },\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Edit Job Sector\n * @param jobId\n * @param sectorId\n * @returns SimpleJob Successful Response\n * @throws ApiError\n */\n public patchSpEditJobSectorVLatest(\n jobId: number,\n sectorId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/latest/sp/jobs/job/{job_id}/change_sector/{sector_id}',\n path: {\n 'job_id': jobId,\n 'sector_id': sectorId,\n },\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Close Job\n * @param jobId\n * @param force\n * @param ignoreJobMatches\n * @returns GenericStatus Successful Response\n * @throws ApiError\n */\n public patchSpCloseJobVLatest(\n jobId: number,\n force: boolean = false,\n ignoreJobMatches: boolean = false,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/latest/sp/jobs/job/{job_id}/close',\n path: {\n 'job_id': jobId,\n },\n query: {\n 'force': force,\n 'ignore_job_matches': ignoreJobMatches,\n },\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Job Shifts\n * @param jobId\n * @returns SimpleShift Successful Response\n * @throws ApiError\n */\n public getSpGetJobShiftsVLatest(\n jobId: number,\n ): CancelablePromise> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/sp/jobs/job/{job_id}/shifts',\n path: {\n 'job_id': jobId,\n },\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Shift\n * @param shiftId\n * @returns SimpleShift Successful Response\n * @throws ApiError\n */\n public getSpGetShiftVLatest(\n shiftId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/sp/jobs/shift/{shift_id}',\n path: {\n 'shift_id': shiftId,\n },\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Edit Shift\n * @param shiftId\n * @param requestBody\n * @param force\n * @returns SimpleShift Successful Response\n * @throws ApiError\n */\n public patchSpEditShiftVLatest(\n shiftId: number,\n requestBody: ShiftEdit,\n force: boolean = false,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/latest/sp/jobs/shift/{shift_id}',\n path: {\n 'shift_id': shiftId,\n },\n query: {\n 'force': force,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Delete Shift\n * @param shiftId\n * @param force\n * @returns GenericStatus Successful Response\n * @throws ApiError\n */\n public deleteSpDeleteShiftVLatest(\n shiftId: number,\n force: boolean = false,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'DELETE',\n url: '/latest/sp/jobs/shift/{shift_id}',\n path: {\n 'shift_id': shiftId,\n },\n query: {\n 'force': force,\n },\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Shift Detailed\n * @param shiftId\n * @returns BaseShift Successful Response\n * @throws ApiError\n */\n public getSpGetShiftDetailedVLatest(\n shiftId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/sp/jobs/shift/{shift_id}/detailed',\n path: {\n 'shift_id': shiftId,\n },\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Create New Shift\n * @param jobId\n * @param requestBody\n * @param force\n * @returns SimpleShift Successful Response\n * @throws ApiError\n */\n public postSpCreateNewShiftVLatest(\n jobId: number,\n requestBody: ShiftIn,\n force: boolean = false,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/latest/sp/jobs/shift/new/{job_id}',\n path: {\n 'job_id': jobId,\n },\n query: {\n 'force': force,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Edit Shift Job\n * @param shiftId\n * @param jobId\n * @param force\n * @returns SimpleShift Successful Response\n * @throws ApiError\n */\n public patchSpEditShiftJobVLatest(\n shiftId: number,\n jobId: number,\n force: boolean = false,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/latest/sp/jobs/shift/{shift_id}/change_job/{job_id}',\n path: {\n 'shift_id': shiftId,\n 'job_id': jobId,\n },\n query: {\n 'force': force,\n },\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Job Matches\n * @param jobId\n * @returns SimpleJobMatchWithCoach Successful Response\n * @throws ApiError\n */\n public getSpGetJobMatchesVLatest(\n jobId: number,\n ): CancelablePromise> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/sp/jobs/job/{job_id}/job_matches',\n path: {\n 'job_id': jobId,\n },\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Request Job For Job Match\n * Request a job as a coach in order to have it be processes by selenium/ internal employees. Please note that coaches can only try and claim jobs that are not yet claimed by other coaches (in other words: the job status has to be \"open\")\n *\n * Args:\n * - `job_id`, int; The id of the job to request\n * - `coach_id`, int; The id of the coach to request the job for\n *\n * Returns:\n * - `SimpleJobMatch`; The created job match, that has been reserved in the calendar of the coach.\n * @param jobId\n * @param coachId\n * @returns SimpleJobMatch Successful Response\n * @throws ApiError\n */\n public postSpRequestJobForJobMatchVLatest(\n jobId: number,\n coachId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/latest/sp/jobs/job/{job_id}/request_job_as_coach/{coach_id}',\n path: {\n 'job_id': jobId,\n 'coach_id': coachId,\n },\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Job Match\n * @param jobMatchId\n * @returns SimpleJobMatch Successful Response\n * @throws ApiError\n */\n public getSpGetJobMatchVLatest(\n jobMatchId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/sp/jobs/job_match/{job_match_id}',\n path: {\n 'job_match_id': jobMatchId,\n },\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Cancel Planned Job Match\n * @param jobMatchId\n * @param force\n * @returns SimpleJobMatch Successful Response\n * @throws ApiError\n */\n public patchSpCancelPlannedJobMatchVLatest(\n jobMatchId: number,\n force: boolean = false,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/latest/sp/jobs/job_match/{job_match_id}/close',\n path: {\n 'job_match_id': jobMatchId,\n },\n query: {\n 'force': force,\n },\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Job Match Detailed\n * @param jobMatchId\n * @returns BaseJobMatch Successful Response\n * @throws ApiError\n */\n public getSpGetJobMatchDetailedVLatest(\n jobMatchId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/sp/jobs/job_match/{job_match_id}/detailed',\n path: {\n 'job_match_id': jobMatchId,\n },\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Create New Job Match\n * @param jobId\n * @param coachId\n * @returns SimpleJobMatch Successful Response\n * @throws ApiError\n */\n public postSpCreateNewJobMatchVLatest(\n jobId: number,\n coachId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/latest/sp/jobs/job_match/new/{job_id}/{coach_id}',\n path: {\n 'job_id': jobId,\n 'coach_id': coachId,\n },\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Notify Coach About Job Match\n * @param jobMatchId\n * @param sendNotification\n * @param anonymous\n * @returns SimpleJobMatch Successful Response\n * @throws ApiError\n */\n public postSpNotifyCoachAboutJobMatchVLatest(\n jobMatchId: number,\n sendNotification: boolean = true,\n anonymous: boolean = false,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/latest/sp/jobs/job_match/{job_match_id}/notify/coach',\n path: {\n 'job_match_id': jobMatchId,\n },\n query: {\n 'send_notification': sendNotification,\n 'anonymous': anonymous,\n },\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Reply To Job Match Uuid Coach\n * @param jobMatchCoachToken\n * @param accept\n * @returns GenericStatus Successful Response\n * @throws ApiError\n */\n public patchSpReplyToJobMatchUuidCoachVLatest(\n jobMatchCoachToken: string,\n accept: boolean,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/latest/sp/jobs/job_match/reply/coach/{job_match_coach_token}',\n path: {\n 'job_match_coach_token': jobMatchCoachToken,\n },\n query: {\n 'accept': accept,\n },\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Reply To Job Match Id Coach\n * @param jobMatchId\n * @param accept\n * @param force\n * @returns SimpleJobMatch Successful Response\n * @throws ApiError\n */\n public patchSpReplyToJobMatchIdCoachVLatest(\n jobMatchId: number,\n accept: boolean,\n force: boolean = false,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/latest/sp/jobs/job_match/reply/coach/{job_match_id}/job_id',\n path: {\n 'job_match_id': jobMatchId,\n },\n query: {\n 'accept': accept,\n 'force': force,\n },\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Info By Uuid Coach\n * @param jobMatchCoachToken\n * @returns JobMatchCoachReplyInformation Successful Response\n * @throws ApiError\n */\n public getSpGetInfoByUuidCoachVLatest(\n jobMatchCoachToken: string,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/sp/jobs/job_match/reply/coach/info/{job_match_coach_token}',\n path: {\n 'job_match_coach_token': jobMatchCoachToken,\n },\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Notify Branch About Job Matches\n * @param jobId\n * @param requestBody\n * @param anonymous\n * @param sendNotification\n * @returns SimpleJob Successful Response\n * @throws ApiError\n */\n public postSpNotifyBranchAboutJobMatchesVLatest(\n jobId: number,\n requestBody: NotifyBranchParts,\n anonymous: boolean = false,\n sendNotification: boolean = true,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/latest/sp/jobs/job/{job_id}/notify/branch',\n path: {\n 'job_id': jobId,\n },\n query: {\n 'anonymous': anonymous,\n 'send_notification': sendNotification,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Reply To Job Match Uuid Branch\n * @param jobBranchToken\n * @param jobMatchId\n * @param accept\n * @returns GenericStatus Successful Response\n * @throws ApiError\n */\n public patchSpReplyToJobMatchUuidBranchVLatest(\n jobBranchToken: string,\n jobMatchId: number,\n accept: boolean,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/latest/sp/jobs/job_match/reply/branch/{job_branch_token}/{job_match_id}',\n path: {\n 'job_branch_token': jobBranchToken,\n 'job_match_id': jobMatchId,\n },\n query: {\n 'accept': accept,\n },\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Close Job By Uuid Branch\n * @param jobBranchToken\n * @returns GenericStatus Successful Response\n * @throws ApiError\n */\n public patchSpCloseJobByUuidBranchVLatest(\n jobBranchToken: string,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/latest/sp/jobs/job_match/reply/branch/{job_branch_token}/close/all',\n path: {\n 'job_branch_token': jobBranchToken,\n },\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Info By Uuid Branch\n * @param jobBranchToken\n * @returns JobBranchReplyInformation Successful Response\n * @throws ApiError\n */\n public getSpGetInfoByUuidBranchVLatest(\n jobBranchToken: string,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/sp/jobs/job_match/reply/branch/info/{job_branch_token}',\n path: {\n 'job_branch_token': jobBranchToken,\n },\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Schedule Job Match\n * @param jobMatchId\n * @param skipBranchAwaiting\n * @param autoCloseOverlapping\n * @param sendNotification\n * @returns SimpleJobMatch Successful Response\n * @throws ApiError\n */\n public patchSpScheduleJobMatchVLatest(\n jobMatchId: number,\n skipBranchAwaiting: boolean = false,\n autoCloseOverlapping: boolean = false,\n sendNotification: boolean = true,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/latest/sp/jobs/job_match/{job_match_id}/schedule',\n path: {\n 'job_match_id': jobMatchId,\n },\n query: {\n 'skip_branch_awaiting': skipBranchAwaiting,\n 'auto_close_overlapping': autoCloseOverlapping,\n 'send_notification': sendNotification,\n },\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Job Matches\n * @param requestedByCoach\n * @param requestBody\n * @returns SimpleJobMatchWithCoachAndJob Successful Response\n * @throws ApiError\n */\n public postSpGetJobMatchesVLatest(\n requestedByCoach: boolean = false,\n requestBody?: (Array | null),\n ): CancelablePromise> {\n return this.httpRequest.request({\n method: 'POST',\n url: '/latest/sp/jobs/job_matches',\n query: {\n 'requested_by_coach': requestedByCoach,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Add Competence To Job\n * @param competenceId\n * @param jobId\n * @returns SimpleJob Successful Response\n * @throws ApiError\n */\n public postSpAddCompetenceToJobVLatest(\n competenceId: number,\n jobId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/latest/sp/jobs/job/{job_id}/competence/{competence_id}',\n path: {\n 'competence_id': competenceId,\n 'job_id': jobId,\n },\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Remove Competence From Job\n * @param competenceId\n * @param jobId\n * @returns SimpleJob Successful Response\n * @throws ApiError\n */\n public deleteSpRemoveCompetenceFromJobVLatest(\n competenceId: number,\n jobId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'DELETE',\n url: '/latest/sp/jobs/job/{job_id}/competence/{competence_id}',\n path: {\n 'competence_id': competenceId,\n 'job_id': jobId,\n },\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Add Competence To Job Bulk\n * @param jobId\n * @param requestBody\n * @returns SimpleJob Successful Response\n * @throws ApiError\n */\n public patchSpAddCompetenceToJobBulkVLatest(\n jobId: number,\n requestBody: Array,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/latest/sp/jobs/job/{job_id}/competence/add/bulk',\n path: {\n 'job_id': jobId,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Remove Competence From Job Bulk\n * @param jobId\n * @param requestBody\n * @returns SimpleJob Successful Response\n * @throws ApiError\n */\n public deleteSpRemoveCompetenceFromJobBulkVLatest(\n jobId: number,\n requestBody: Array,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'DELETE',\n url: '/latest/sp/jobs/job/{job_id}/competence/add/bulk',\n path: {\n 'job_id': jobId,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Available Jobs\n * Get available jobs for a coach\n *\n * Args:\n *\n * - `coach_id`, int; The id of the coach for which to get the available jobs\n *\n * - `limit`, int; The maximum amount of jobs to return, used for pagination\n *\n * - `offset`, int; The offset to start from, used for pagination\n *\n * - `filter_start_date`, date; The start date to filter jobs on\n *\n * - `filter_end_date`, date; The end date to filter jobs on\n *\n * - `radius`, int; The radius in meters to search for jobs around the coach's location\n *\n * Returns:\n *\n * - `amount`, int; The total amount of available jobs\n *\n * - `jobs`, List[SearchAvailableJobsResult]; The available jobs for the coach\n *\n * > The given distance to a job is in kilometers\n * @param coachId\n * @param limit\n * @param offset\n * @param filterStartDate\n * @param filterEndDate\n * @param radius\n * @returns SearchAvailableJobsResultOut Successful Response\n * @throws ApiError\n */\n public getSpGetAvailableJobsVLatest(\n coachId: number,\n limit: number = 30,\n offset?: number,\n filterStartDate?: (string | null),\n filterEndDate?: (string | null),\n radius?: (number | null),\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/sp/jobs/available_jobs',\n query: {\n 'limit': limit,\n 'offset': offset,\n 'filter_start_date': filterStartDate,\n 'filter_end_date': filterEndDate,\n 'radius': radius,\n 'coach_id': coachId,\n },\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get First Upcoming Job\n * Get the date of the first eavailable job for a coach\n *\n * The data is sorted on date, and jobs on the same date are filtered on distance, **both in ascending order**\n *\n * Args:\n *\n * - `coach_id`, int; The id of the coach for which to get the first upcoming job\n *\n * - `filter_start_date`, date; The start date to filter jobs on\n *\n * - `filter_end_date`, date; The end date to filter jobs on\n *\n *\n * Returns:\n *\n * - `date`, date; The date of the first upcoming job\n * - `distance`, float: the amount of km to the\n * @param coachId\n * @param filterStartDate\n * @param filterEndDate\n * @returns FirstUpcomingJobDate Successful Response\n * @throws ApiError\n */\n public getSpGetFirstUpcomingJobVLatest(\n coachId: number,\n filterStartDate?: (string | null),\n filterEndDate?: (string | null),\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/sp/jobs/available_jobs/upcoming/first',\n query: {\n 'filter_start_date': filterStartDate,\n 'filter_end_date': filterEndDate,\n 'coach_id': coachId,\n },\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Processed Jobs\n * Get all shifts that Selenium processes on the specified date.\n *\n * Args:\n *\n * - `limit`, int; The maximum amount of jobs to return, used for pagination\n *\n * - `offset`, int; The offset to start from, used for pagination\n *\n * Returns:\n *\n * - `SeleniumShift`, List[SeleniumProcessedShifts]; The shifts that selenium processed on the specified date\n * @param date\n * @param limit\n * @param offset\n * @returns SeleniumProcessedShifts Successful Response\n * @throws ApiError\n */\n public getSpGetProcessedJobsVLatest(\n date: string = '2025-01-10',\n limit: number = 30,\n offset?: number,\n ): CancelablePromise> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/sp/jobs/processed_jobs',\n query: {\n 'date': date,\n 'limit': limit,\n 'offset': offset,\n },\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Processed Jobs Count\n * Get the amount of shifts that Selenium processes on the specified date.\n *\n * Args:\n *\n * - `limit`, int; The maximum amount of jobs to return, used for pagination\n *\n * - `offset`, int; The offset to start from, used for pagination\n *\n * Returns:\n *\n * - `int`; The amount of shifts that selenium processed on the specified date\n * @param date\n * @returns number Successful Response\n * @throws ApiError\n */\n public getSpGetProcessedJobsCountVLatest(\n date: string = '2025-01-10',\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/sp/jobs/processed_jobs/count',\n query: {\n 'date': date,\n },\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n}\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\nimport type { BaseBranch } from '../models/BaseBranch';\nimport type { BaseProvider } from '../models/BaseProvider';\nimport type { Body_add_provider_picture_latest_sp_providers_provider__provider_id__add_picture_patch } from '../models/Body_add_provider_picture_latest_sp_providers_provider__provider_id__add_picture_patch';\nimport type { Body_add_provider_picture_v1_sp_providers_provider__provider_id__add_picture_patch } from '../models/Body_add_provider_picture_v1_sp_providers_provider__provider_id__add_picture_patch';\nimport type { BranchEdit } from '../models/BranchEdit';\nimport type { BranchIn } from '../models/BranchIn';\nimport type { BranchListOutSchema } from '../models/BranchListOutSchema';\nimport type { BranchWithDepartments } from '../models/BranchWithDepartments';\nimport type { GenericStatus } from '../models/GenericStatus';\nimport type { OrderByProvidersEnum } from '../models/OrderByProvidersEnum';\nimport type { ProviderEdit } from '../models/ProviderEdit';\nimport type { ProviderIn } from '../models/ProviderIn';\nimport type { SimpleBranch } from '../models/SimpleBranch';\nimport type { SimpleBranchWithCompletionStatus } from '../models/SimpleBranchWithCompletionStatus';\nimport type { SimpleProvider } from '../models/SimpleProvider';\nimport type { UserLocationIn } from '../models/UserLocationIn';\nimport type { CancelablePromise } from '../core/CancelablePromise';\nimport type { BaseHttpRequest } from '../core/BaseHttpRequest';\nexport class SPProvidersService {\n constructor(public readonly httpRequest: BaseHttpRequest) {}\n /**\n * Get Providers\n * @param nameSearch\n * @param orderBy\n * @param showInactive\n * @param orderAscending\n * @param limit\n * @param offset\n * @returns SimpleProvider Successful Response\n * @throws ApiError\n */\n public getSPProvidersGetProviders(\n nameSearch?: (string | null),\n orderBy?: (OrderByProvidersEnum | null),\n showInactive: boolean = true,\n orderAscending: boolean = true,\n limit: number = 30,\n offset?: number,\n ): CancelablePromise> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/sp/providers/providers',\n query: {\n 'name_search': nameSearch,\n 'order_by': orderBy,\n 'show_inactive': showInactive,\n 'order_ascending': orderAscending,\n 'limit': limit,\n 'offset': offset,\n },\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Provider\n * @param providerId\n * @returns SimpleProvider Successful Response\n * @throws ApiError\n */\n public getSPProvidersGetProvider(\n providerId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/sp/providers/provider/{provider_id}',\n path: {\n 'provider_id': providerId,\n },\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Edit Provider\n * @param providerId\n * @param requestBody\n * @returns SimpleProvider Successful Response\n * @throws ApiError\n */\n public patchSPProvidersEditProvider(\n providerId: number,\n requestBody: ProviderEdit,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/v1/sp/providers/provider/{provider_id}',\n path: {\n 'provider_id': providerId,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Delete Provider\n * @param providerId\n * @returns GenericStatus Successful Response\n * @throws ApiError\n */\n public deleteSPProvidersDeleteProvider(\n providerId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'DELETE',\n url: '/v1/sp/providers/provider/{provider_id}',\n path: {\n 'provider_id': providerId,\n },\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Provider Active Or Inactive\n * @param providerId\n * @returns SimpleProvider Successful Response\n * @throws ApiError\n */\n public getSPProvidersGetProviderActiveOrInactive(\n providerId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/sp/providers/provider/{provider_id}/active_or_inactive',\n path: {\n 'provider_id': providerId,\n },\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Provider Detailed\n * @param providerId\n * @returns BaseProvider Successful Response\n * @throws ApiError\n */\n public getSPProvidersGetProviderDetailed(\n providerId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/sp/providers/provider/{provider_id}/detailed',\n path: {\n 'provider_id': providerId,\n },\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Branches From Provider\n * ### Get the branches of a provider.\n *\n * This endpoint is used to get the branches of a provider. It is paginated and returns a list of branches.\n *\n * Args:\n * - `provider_id`: The id of the provider to get the branches from.\n * - `limit`: The number of branches to return.\n * - `offset`: The number of branches to skip.\n *\n * Returns:\n * - A list of branches in `BranchListOutSchema` model.\n * @param providerId\n * @param limit\n * @param offset\n * @param branchName\n * @returns BranchListOutSchema Successful Response\n * @throws ApiError\n */\n public getSPProvidersGetBranchesFromProvider(\n providerId: number,\n limit: number = 30,\n offset?: number,\n branchName?: (string | null),\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/sp/providers/provider/{provider_id}/branches/advanced',\n path: {\n 'provider_id': providerId,\n },\n query: {\n 'limit': limit,\n 'offset': offset,\n 'branch_name': branchName,\n },\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Create Provider\n * @param requestBody\n * @returns SimpleProvider Successful Response\n * @throws ApiError\n */\n public postSPProvidersCreateProvider(\n requestBody: ProviderIn,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/v1/sp/providers/new',\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Add Provider Picture\n * Add a picture to the provider.\n *\n * Parameters:\n * - provider: The provider object to update.\n * - db: The database session.\n * - attachment: The image file to upload.\n *\n * Returns:\n * The updated provider object with the new picture.\n *\n * Raises:\n * - HTTPException(400): If the attachment is not a JPEG or PNG image, or if it is not a square image.\n * @param providerId\n * @param formData\n * @returns SimpleProvider Successful Response\n * @throws ApiError\n */\n public patchSPProvidersAddProviderPicture(\n providerId: number,\n formData: Body_add_provider_picture_v1_sp_providers_provider__provider_id__add_picture_patch,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/v1/sp/providers/provider/{provider_id}/add_picture',\n path: {\n 'provider_id': providerId,\n },\n formData: formData,\n mediaType: 'multipart/form-data',\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Provider Branches\n * # THIS IS A DEPRECATING ENDPOINT\n *\n * Please refer to `/provider/{provider_id}/branches/advanced` instead.\n *\n * This endpoint is slow, the above referred enpoint has built in pagination, making it faster.\n * @param providerId\n * @returns SimpleBranch Successful Response\n * @throws ApiError\n */\n public getSPProvidersGetProviderBranches(\n providerId: number,\n ): CancelablePromise> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/sp/providers/provider/{provider_id}/branches',\n path: {\n 'provider_id': providerId,\n },\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Branches\n * @param nameSearch\n * @param lat\n * @param lon\n * @param distance\n * @param limit\n * @param offset\n * @param allowIncomplete\n * @returns SimpleBranch Successful Response\n * @throws ApiError\n */\n public getSPProvidersGetBranches(\n nameSearch?: (string | null),\n lat?: (number | null),\n lon?: (number | null),\n distance?: (number | null),\n limit: number = 30,\n offset?: number,\n allowIncomplete: boolean = false,\n ): CancelablePromise> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/sp/providers/branches',\n query: {\n 'name_search': nameSearch,\n 'lat': lat,\n 'lon': lon,\n 'distance': distance,\n 'limit': limit,\n 'offset': offset,\n 'allow_incomplete': allowIncomplete,\n },\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Branch\n * @param branchId\n * @returns SimpleBranch Successful Response\n * @throws ApiError\n */\n public getSPProvidersGetBranch(\n branchId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/sp/providers/branch/{branch_id}',\n path: {\n 'branch_id': branchId,\n },\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Edit Branch\n * @param branchId\n * @param requestBody\n * @returns SimpleBranch Successful Response\n * @throws ApiError\n */\n public patchSPProvidersEditBranch(\n branchId: number,\n requestBody: BranchEdit,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/v1/sp/providers/branch/{branch_id}',\n path: {\n 'branch_id': branchId,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Delete Branch\n * @param branchId\n * @returns GenericStatus Successful Response\n * @throws ApiError\n */\n public deleteSPProvidersDeleteBranch(\n branchId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'DELETE',\n url: '/v1/sp/providers/branch/{branch_id}',\n path: {\n 'branch_id': branchId,\n },\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Branch Detailed\n * @param branchId\n * @returns BaseBranch Successful Response\n * @throws ApiError\n */\n public getSPProvidersGetBranchDetailed(\n branchId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/sp/providers/branch/{branch_id}/detailed',\n path: {\n 'branch_id': branchId,\n },\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Create Branch\n * @param providerId\n * @param requestBody\n * @param delayLocation\n * @returns SimpleBranch Successful Response\n * @throws ApiError\n */\n public postSPProvidersCreateBranch(\n providerId: number,\n requestBody: BranchIn,\n delayLocation: boolean = false,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/v1/sp/providers/branch/new/{provider_id}',\n path: {\n 'provider_id': providerId,\n },\n query: {\n 'delay_location': delayLocation,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Change Branch Provider\n * @param branchId\n * @param providerId\n * @returns SimpleBranch Successful Response\n * @throws ApiError\n */\n public patchSPProvidersChangeBranchProvider(\n branchId: number,\n providerId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/v1/sp/providers/branch/{branch_id}/change_provider/{provider_id}',\n path: {\n 'branch_id': branchId,\n 'provider_id': providerId,\n },\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Change Branch Location\n * @param branchId\n * @param requestBody\n * @returns BaseBranch Successful Response\n * @throws ApiError\n */\n public patchSPProvidersChangeBranchLocation(\n branchId: number,\n requestBody: UserLocationIn,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/v1/sp/providers/branch/{branch_id}/change_location',\n path: {\n 'branch_id': branchId,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get All Incomplete Branches\n * @returns SimpleBranchWithCompletionStatus Successful Response\n * @throws ApiError\n */\n public getSPProvidersGetAllIncompleteBranches(): CancelablePromise> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/sp/providers/branches/incomplete/all',\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n },\n });\n }\n /**\n * Make Branch Complete\n * Make a branch complete, This means that the branch is ready to be used. Incomplete branches stem from importing them from the job-csv.\n *\n * This endpoint makes a new location based on the given UserLocationIn model.\n *\n * Args:\n *\n * - `new_branch_location`: The new location of the branch.\n *\n * - `description`: The new description of the branch.\n *\n * - `branch`: The branch to make complete.\n *\n * Returns:\n *\n * - The updated branch in `SimpleBranch` model\n *\n * Warning:\n *\n * - This is a slower endpoint, because it performs an external API call to get the coordinates of the location based on the zipcode.\n * @param branchId\n * @param description\n * @param requestBody\n * @returns SimpleBranchWithCompletionStatus Successful Response\n * @throws ApiError\n */\n public patchSPProvidersMakeBranchComplete(\n branchId: number,\n description: string,\n requestBody: UserLocationIn,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/v1/sp/providers/branch/{branch_id}/make_complete',\n path: {\n 'branch_id': branchId,\n },\n query: {\n 'description': description,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Add Department To Branch\n * @param branchId\n * @param newDepartmentName\n * @param newDepartmentCostCode\n * @returns BranchWithDepartments Successful Response\n * @throws ApiError\n */\n public patchSPProvidersAddDepartmentToBranch(\n branchId: number,\n newDepartmentName: string,\n newDepartmentCostCode: string,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/v1/sp/providers/branch/{branch_id}/add_department',\n path: {\n 'branch_id': branchId,\n },\n query: {\n 'new_department_name': newDepartmentName,\n 'new_department_cost_code': newDepartmentCostCode,\n },\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Worked Branches\n * ### Get Worked Branches\n *\n * Retrieve the branches a coach has worked at.\n *\n * **Permissions Required**:\n * `view_worked_branches`\n * ***found in:***\n * - `permission:can_manage_coaches`\n * - `User` == matching `Coach`\n *\n * **Parameters**:\n * - **coach_id**: `int` object, fetched by the path parameter.\n *\n * **Returns**:\n * - A list of branches in `SimpleBranch` model.\n * @param coachId\n * @returns SimpleBranch Successful Response\n * @throws ApiError\n */\n public getSPProvidersGetWorkedBranches(\n coachId: number,\n ): CancelablePromise> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/sp/providers/coach/{coach_id}/worked_branches',\n path: {\n 'coach_id': coachId,\n },\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Providers\n * @param nameSearch\n * @param orderBy\n * @param showInactive\n * @param orderAscending\n * @param limit\n * @param offset\n * @returns SimpleProvider Successful Response\n * @throws ApiError\n */\n public getSpGetProvidersVLatest(\n nameSearch?: (string | null),\n orderBy?: (OrderByProvidersEnum | null),\n showInactive: boolean = true,\n orderAscending: boolean = true,\n limit: number = 30,\n offset?: number,\n ): CancelablePromise> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/sp/providers/providers',\n query: {\n 'name_search': nameSearch,\n 'order_by': orderBy,\n 'show_inactive': showInactive,\n 'order_ascending': orderAscending,\n 'limit': limit,\n 'offset': offset,\n },\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Provider\n * @param providerId\n * @returns SimpleProvider Successful Response\n * @throws ApiError\n */\n public getSpGetProviderVLatest(\n providerId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/sp/providers/provider/{provider_id}',\n path: {\n 'provider_id': providerId,\n },\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Edit Provider\n * @param providerId\n * @param requestBody\n * @returns SimpleProvider Successful Response\n * @throws ApiError\n */\n public patchSpEditProviderVLatest(\n providerId: number,\n requestBody: ProviderEdit,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/latest/sp/providers/provider/{provider_id}',\n path: {\n 'provider_id': providerId,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Delete Provider\n * @param providerId\n * @returns GenericStatus Successful Response\n * @throws ApiError\n */\n public deleteSpDeleteProviderVLatest(\n providerId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'DELETE',\n url: '/latest/sp/providers/provider/{provider_id}',\n path: {\n 'provider_id': providerId,\n },\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Provider Active Or Inactive\n * @param providerId\n * @returns SimpleProvider Successful Response\n * @throws ApiError\n */\n public getSpGetProviderActiveOrInactiveVLatest(\n providerId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/sp/providers/provider/{provider_id}/active_or_inactive',\n path: {\n 'provider_id': providerId,\n },\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Provider Detailed\n * @param providerId\n * @returns BaseProvider Successful Response\n * @throws ApiError\n */\n public getSpGetProviderDetailedVLatest(\n providerId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/sp/providers/provider/{provider_id}/detailed',\n path: {\n 'provider_id': providerId,\n },\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Branches From Provider\n * ### Get the branches of a provider.\n *\n * This endpoint is used to get the branches of a provider. It is paginated and returns a list of branches.\n *\n * Args:\n * - `provider_id`: The id of the provider to get the branches from.\n * - `limit`: The number of branches to return.\n * - `offset`: The number of branches to skip.\n *\n * Returns:\n * - A list of branches in `BranchListOutSchema` model.\n * @param providerId\n * @param limit\n * @param offset\n * @param branchName\n * @returns BranchListOutSchema Successful Response\n * @throws ApiError\n */\n public getSpGetBranchesFromProviderVLatest(\n providerId: number,\n limit: number = 30,\n offset?: number,\n branchName?: (string | null),\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/sp/providers/provider/{provider_id}/branches/advanced',\n path: {\n 'provider_id': providerId,\n },\n query: {\n 'limit': limit,\n 'offset': offset,\n 'branch_name': branchName,\n },\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Create Provider\n * @param requestBody\n * @returns SimpleProvider Successful Response\n * @throws ApiError\n */\n public postSpCreateProviderVLatest(\n requestBody: ProviderIn,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/latest/sp/providers/new',\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Add Provider Picture\n * Add a picture to the provider.\n *\n * Parameters:\n * - provider: The provider object to update.\n * - db: The database session.\n * - attachment: The image file to upload.\n *\n * Returns:\n * The updated provider object with the new picture.\n *\n * Raises:\n * - HTTPException(400): If the attachment is not a JPEG or PNG image, or if it is not a square image.\n * @param providerId\n * @param formData\n * @returns SimpleProvider Successful Response\n * @throws ApiError\n */\n public patchSpAddProviderPictureVLatest(\n providerId: number,\n formData: Body_add_provider_picture_latest_sp_providers_provider__provider_id__add_picture_patch,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/latest/sp/providers/provider/{provider_id}/add_picture',\n path: {\n 'provider_id': providerId,\n },\n formData: formData,\n mediaType: 'multipart/form-data',\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Provider Branches\n * # THIS IS A DEPRECATING ENDPOINT\n *\n * Please refer to `/provider/{provider_id}/branches/advanced` instead.\n *\n * This endpoint is slow, the above referred enpoint has built in pagination, making it faster.\n * @param providerId\n * @returns SimpleBranch Successful Response\n * @throws ApiError\n */\n public getSpGetProviderBranchesVLatest(\n providerId: number,\n ): CancelablePromise> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/sp/providers/provider/{provider_id}/branches',\n path: {\n 'provider_id': providerId,\n },\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Branches\n * @param nameSearch\n * @param lat\n * @param lon\n * @param distance\n * @param limit\n * @param offset\n * @param allowIncomplete\n * @returns SimpleBranch Successful Response\n * @throws ApiError\n */\n public getSpGetBranchesVLatest(\n nameSearch?: (string | null),\n lat?: (number | null),\n lon?: (number | null),\n distance?: (number | null),\n limit: number = 30,\n offset?: number,\n allowIncomplete: boolean = false,\n ): CancelablePromise> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/sp/providers/branches',\n query: {\n 'name_search': nameSearch,\n 'lat': lat,\n 'lon': lon,\n 'distance': distance,\n 'limit': limit,\n 'offset': offset,\n 'allow_incomplete': allowIncomplete,\n },\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Branch\n * @param branchId\n * @returns SimpleBranch Successful Response\n * @throws ApiError\n */\n public getSpGetBranchVLatest(\n branchId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/sp/providers/branch/{branch_id}',\n path: {\n 'branch_id': branchId,\n },\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Edit Branch\n * @param branchId\n * @param requestBody\n * @returns SimpleBranch Successful Response\n * @throws ApiError\n */\n public patchSpEditBranchVLatest(\n branchId: number,\n requestBody: BranchEdit,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/latest/sp/providers/branch/{branch_id}',\n path: {\n 'branch_id': branchId,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Delete Branch\n * @param branchId\n * @returns GenericStatus Successful Response\n * @throws ApiError\n */\n public deleteSpDeleteBranchVLatest(\n branchId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'DELETE',\n url: '/latest/sp/providers/branch/{branch_id}',\n path: {\n 'branch_id': branchId,\n },\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Branch Detailed\n * @param branchId\n * @returns BaseBranch Successful Response\n * @throws ApiError\n */\n public getSpGetBranchDetailedVLatest(\n branchId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/sp/providers/branch/{branch_id}/detailed',\n path: {\n 'branch_id': branchId,\n },\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Create Branch\n * @param providerId\n * @param requestBody\n * @param delayLocation\n * @returns SimpleBranch Successful Response\n * @throws ApiError\n */\n public postSpCreateBranchVLatest(\n providerId: number,\n requestBody: BranchIn,\n delayLocation: boolean = false,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/latest/sp/providers/branch/new/{provider_id}',\n path: {\n 'provider_id': providerId,\n },\n query: {\n 'delay_location': delayLocation,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Change Branch Provider\n * @param branchId\n * @param providerId\n * @returns SimpleBranch Successful Response\n * @throws ApiError\n */\n public patchSpChangeBranchProviderVLatest(\n branchId: number,\n providerId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/latest/sp/providers/branch/{branch_id}/change_provider/{provider_id}',\n path: {\n 'branch_id': branchId,\n 'provider_id': providerId,\n },\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Change Branch Location\n * @param branchId\n * @param requestBody\n * @returns BaseBranch Successful Response\n * @throws ApiError\n */\n public patchSpChangeBranchLocationVLatest(\n branchId: number,\n requestBody: UserLocationIn,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/latest/sp/providers/branch/{branch_id}/change_location',\n path: {\n 'branch_id': branchId,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get All Incomplete Branches\n * @returns SimpleBranchWithCompletionStatus Successful Response\n * @throws ApiError\n */\n public getSpGetAllIncompleteBranchesVLatest(): CancelablePromise> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/sp/providers/branches/incomplete/all',\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n },\n });\n }\n /**\n * Make Branch Complete\n * Make a branch complete, This means that the branch is ready to be used. Incomplete branches stem from importing them from the job-csv.\n *\n * This endpoint makes a new location based on the given UserLocationIn model.\n *\n * Args:\n *\n * - `new_branch_location`: The new location of the branch.\n *\n * - `description`: The new description of the branch.\n *\n * - `branch`: The branch to make complete.\n *\n * Returns:\n *\n * - The updated branch in `SimpleBranch` model\n *\n * Warning:\n *\n * - This is a slower endpoint, because it performs an external API call to get the coordinates of the location based on the zipcode.\n * @param branchId\n * @param description\n * @param requestBody\n * @returns SimpleBranchWithCompletionStatus Successful Response\n * @throws ApiError\n */\n public patchSpMakeBranchCompleteVLatest(\n branchId: number,\n description: string,\n requestBody: UserLocationIn,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/latest/sp/providers/branch/{branch_id}/make_complete',\n path: {\n 'branch_id': branchId,\n },\n query: {\n 'description': description,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Add Department To Branch\n * @param branchId\n * @param newDepartmentName\n * @param newDepartmentCostCode\n * @returns BranchWithDepartments Successful Response\n * @throws ApiError\n */\n public patchSpAddDepartmentToBranchVLatest(\n branchId: number,\n newDepartmentName: string,\n newDepartmentCostCode: string,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/latest/sp/providers/branch/{branch_id}/add_department',\n path: {\n 'branch_id': branchId,\n },\n query: {\n 'new_department_name': newDepartmentName,\n 'new_department_cost_code': newDepartmentCostCode,\n },\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Worked Branches\n * ### Get Worked Branches\n *\n * Retrieve the branches a coach has worked at.\n *\n * **Permissions Required**:\n * `view_worked_branches`\n * ***found in:***\n * - `permission:can_manage_coaches`\n * - `User` == matching `Coach`\n *\n * **Parameters**:\n * - **coach_id**: `int` object, fetched by the path parameter.\n *\n * **Returns**:\n * - A list of branches in `SimpleBranch` model.\n * @param coachId\n * @returns SimpleBranch Successful Response\n * @throws ApiError\n */\n public getSpGetWorkedBranchesVLatest(\n coachId: number,\n ): CancelablePromise> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/sp/providers/coach/{coach_id}/worked_branches',\n path: {\n 'coach_id': coachId,\n },\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n}\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\nimport type { BaseSector } from '../models/BaseSector';\nimport type { GenericStatus } from '../models/GenericStatus';\nimport type { SectorEdit } from '../models/SectorEdit';\nimport type { SectorIn } from '../models/SectorIn';\nimport type { SimpleSector } from '../models/SimpleSector';\nimport type { CancelablePromise } from '../core/CancelablePromise';\nimport type { BaseHttpRequest } from '../core/BaseHttpRequest';\nexport class SPSectorsService {\n constructor(public readonly httpRequest: BaseHttpRequest) {}\n /**\n * Get All Sectors\n * @param limit\n * @param offset\n * @param includeInactive\n * @returns SimpleSector Successful Response\n * @throws ApiError\n */\n public getSPSectorsGetAllSectors(\n limit: number = 30,\n offset?: number,\n includeInactive: boolean = false,\n ): CancelablePromise> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/sp/sectors/sectors',\n query: {\n 'limit': limit,\n 'offset': offset,\n 'include_inactive': includeInactive,\n },\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Sector\n * @param sectorId\n * @returns SimpleSector Successful Response\n * @throws ApiError\n */\n public getSPSectorsGetSector(\n sectorId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/sp/sectors/sector/{sector_id}',\n path: {\n 'sector_id': sectorId,\n },\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Edit Sector\n * @param sectorId\n * @param requestBody\n * @returns SimpleSector Successful Response\n * @throws ApiError\n */\n public patchSPSectorsEditSector(\n sectorId: number,\n requestBody: SectorEdit,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/v1/sp/sectors/sector/{sector_id}',\n path: {\n 'sector_id': sectorId,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Delete Sector\n * @param sectorId\n * @returns GenericStatus Successful Response\n * @throws ApiError\n */\n public deleteSPSectorsDeleteSector(\n sectorId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'DELETE',\n url: '/v1/sp/sectors/sector/{sector_id}',\n path: {\n 'sector_id': sectorId,\n },\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Sector Detailed\n * @param sectorId\n * @returns BaseSector Successful Response\n * @throws ApiError\n */\n public getSPSectorsGetSectorDetailed(\n sectorId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/sp/sectors/sector/{sector_id}/detailed',\n path: {\n 'sector_id': sectorId,\n },\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Create Sector\n * @param requestBody\n * @param tagId\n * @returns SimpleSector Successful Response\n * @throws ApiError\n */\n public postSPSectorsCreateSector(\n requestBody: SectorIn,\n tagId?: (number | null),\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/v1/sp/sectors/new',\n query: {\n 'tag_id': tagId,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Edit Sector Sector\n * @param sectorId\n * @param tagId\n * @returns SimpleSector Successful Response\n * @throws ApiError\n */\n public patchSPSectorsEditSectorSector(\n sectorId: number,\n tagId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/v1/sp/sectors/sector/{sector_id}/change_tag',\n path: {\n 'sector_id': sectorId,\n },\n query: {\n 'tag_id': tagId,\n },\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get All Sectors\n * @param limit\n * @param offset\n * @param includeInactive\n * @returns SimpleSector Successful Response\n * @throws ApiError\n */\n public getSpGetAllSectorsVLatest(\n limit: number = 30,\n offset?: number,\n includeInactive: boolean = false,\n ): CancelablePromise> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/sp/sectors/sectors',\n query: {\n 'limit': limit,\n 'offset': offset,\n 'include_inactive': includeInactive,\n },\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Sector\n * @param sectorId\n * @returns SimpleSector Successful Response\n * @throws ApiError\n */\n public getSpGetSectorVLatest(\n sectorId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/sp/sectors/sector/{sector_id}',\n path: {\n 'sector_id': sectorId,\n },\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Edit Sector\n * @param sectorId\n * @param requestBody\n * @returns SimpleSector Successful Response\n * @throws ApiError\n */\n public patchSpEditSectorVLatest(\n sectorId: number,\n requestBody: SectorEdit,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/latest/sp/sectors/sector/{sector_id}',\n path: {\n 'sector_id': sectorId,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Delete Sector\n * @param sectorId\n * @returns GenericStatus Successful Response\n * @throws ApiError\n */\n public deleteSpDeleteSectorVLatest(\n sectorId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'DELETE',\n url: '/latest/sp/sectors/sector/{sector_id}',\n path: {\n 'sector_id': sectorId,\n },\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Sector Detailed\n * @param sectorId\n * @returns BaseSector Successful Response\n * @throws ApiError\n */\n public getSpGetSectorDetailedVLatest(\n sectorId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/sp/sectors/sector/{sector_id}/detailed',\n path: {\n 'sector_id': sectorId,\n },\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Create Sector\n * @param requestBody\n * @param tagId\n * @returns SimpleSector Successful Response\n * @throws ApiError\n */\n public postSpCreateSectorVLatest(\n requestBody: SectorIn,\n tagId?: (number | null),\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/latest/sp/sectors/new',\n query: {\n 'tag_id': tagId,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Edit Sector Sector\n * @param sectorId\n * @param tagId\n * @returns SimpleSector Successful Response\n * @throws ApiError\n */\n public patchSpEditSectorSectorVLatest(\n sectorId: number,\n tagId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/latest/sp/sectors/sector/{sector_id}/change_tag',\n path: {\n 'sector_id': sectorId,\n },\n query: {\n 'tag_id': tagId,\n },\n errors: {\n 300: `Popup notification`,\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n}\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\nimport type { AdvancedStub } from '../models/AdvancedStub';\nimport type { BaseNote } from '../models/BaseNote';\nimport type { BasePipeLog } from '../models/BasePipeLog';\nimport type { BaseStub } from '../models/BaseStub';\nimport type { BaseTag } from '../models/BaseTag';\nimport type { Body_add_attachement_latest_stubs_stub__stub_secret_key__add_attachement__dict_key__post } from '../models/Body_add_attachement_latest_stubs_stub__stub_secret_key__add_attachement__dict_key__post';\nimport type { Body_add_attachement_v1_stubs_stub__stub_secret_key__add_attachement__dict_key__post } from '../models/Body_add_attachement_v1_stubs_stub__stub_secret_key__add_attachement__dict_key__post';\nimport type { Body_add_signature_latest_stubs_stub__stub_secret_key__signature_post } from '../models/Body_add_signature_latest_stubs_stub__stub_secret_key__signature_post';\nimport type { Body_add_signature_v1_stubs_stub__stub_secret_key__signature_post } from '../models/Body_add_signature_v1_stubs_stub__stub_secret_key__signature_post';\nimport type { GenericStatus } from '../models/GenericStatus';\nimport type { NoteIn } from '../models/NoteIn';\nimport type { SecretKeyType } from '../models/SecretKeyType';\nimport type { StubCoachIn } from '../models/StubCoachIn';\nimport type { StubEdit } from '../models/StubEdit';\nimport type { StubIn } from '../models/StubIn';\nimport type { UserIn } from '../models/UserIn';\nimport type { CancelablePromise } from '../core/CancelablePromise';\nimport type { BaseHttpRequest } from '../core/BaseHttpRequest';\nexport class StubsService {\n constructor(public readonly httpRequest: BaseHttpRequest) {}\n /**\n * Create Stub\n * @param requestBody\n * @returns BaseStub Successful Response\n * @throws ApiError\n */\n public postStubsCreateStub(\n requestBody: StubIn,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/v1/stubs/stub/create',\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Create Coach Stub\n * @param email\n * @param requestBody\n * @returns BaseStub Successful Response\n * @throws ApiError\n */\n public postStubsCreateCoachStub(\n email: string,\n requestBody: StubCoachIn,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/v1/stubs/stub/create/coach',\n query: {\n 'email': email,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Create Guardian Stub\n * @param email\n * @param labelId\n * @returns BaseStub Successful Response\n * @throws ApiError\n */\n public postStubsCreateGuardianStub(\n email: string,\n labelId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/v1/stubs/stub/create/guardian',\n query: {\n 'email': email,\n 'label_id': labelId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Update Stub\n * @param stubSecretKey\n * @param requestBody\n * @returns BaseStub Successful Response\n * @throws ApiError\n */\n public postStubsUpdateStub(\n stubSecretKey: string,\n requestBody: StubEdit,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/v1/stubs/stub/{stub_secret_key}/update',\n path: {\n 'stub_secret_key': stubSecretKey,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Delete Stub\n * @param stubSecretKey\n * @returns GenericStatus Successful Response\n * @throws ApiError\n */\n public postStubsDeleteStub(\n stubSecretKey: string,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/v1/stubs/stub/{stub_secret_key}/delete',\n path: {\n 'stub_secret_key': stubSecretKey,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Change Pipe\n * @param stubSecretKey\n * @param pipeId\n * @returns AdvancedStub Successful Response\n * @throws ApiError\n */\n public postStubsChangePipe(\n stubSecretKey: string,\n pipeId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/v1/stubs/stub/{stub_secret_key}/change_pipe/{pipe_id}',\n path: {\n 'stub_secret_key': stubSecretKey,\n 'pipe_id': pipeId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Change Pipe Simple\n * @param stubSecretKey\n * @param pipeId\n * @returns BaseStub Successful Response\n * @throws ApiError\n */\n public postStubsChangePipeSimple(\n stubSecretKey: string,\n pipeId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/v1/stubs/stub/{stub_secret_key}/change_pipe/{pipe_id}/simple',\n path: {\n 'stub_secret_key': stubSecretKey,\n 'pipe_id': pipeId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Tag Stub\n * @param stubSecretKey\n * @param tagId\n * @returns AdvancedStub Successful Response\n * @throws ApiError\n */\n public postStubsTagStub(\n stubSecretKey: string,\n tagId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/v1/stubs/stub/{stub_secret_key}/tag/{tag_id}',\n path: {\n 'stub_secret_key': stubSecretKey,\n 'tag_id': tagId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Untag Stub\n * @param stubSecretKey\n * @param tagId\n * @returns AdvancedStub Successful Response\n * @throws ApiError\n */\n public deleteStubsUntagStub(\n stubSecretKey: string,\n tagId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'DELETE',\n url: '/v1/stubs/stub/{stub_secret_key}/tag/{tag_id}',\n path: {\n 'stub_secret_key': stubSecretKey,\n 'tag_id': tagId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Add Attachement\n * @param dictKey\n * @param stubSecretKey\n * @param formData\n * @returns BaseStub Successful Response\n * @throws ApiError\n */\n public postStubsAddAttachement(\n dictKey: string,\n stubSecretKey: string,\n formData: Body_add_attachement_v1_stubs_stub__stub_secret_key__add_attachement__dict_key__post,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/v1/stubs/stub/{stub_secret_key}/add_attachement/{dict_key}',\n path: {\n 'dict_key': dictKey,\n 'stub_secret_key': stubSecretKey,\n },\n formData: formData,\n mediaType: 'multipart/form-data',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Read Stub\n * @param stubSecretKey\n * @returns BaseStub Successful Response\n * @throws ApiError\n */\n public getStubsReadStub(\n stubSecretKey: string,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/stubs/stub/{stub_secret_key}/read',\n path: {\n 'stub_secret_key': stubSecretKey,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Read Stub Advanced\n * @param stubSecretKey\n * @returns AdvancedStub Successful Response\n * @throws ApiError\n */\n public getStubsReadStubAdvanced(\n stubSecretKey: string,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/stubs/stub/{stub_secret_key}/read/advanced',\n path: {\n 'stub_secret_key': stubSecretKey,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Read Stub By Id Advanced\n * @param stubId\n * @returns AdvancedStub Successful Response\n * @throws ApiError\n */\n public getStubsReadStubByIdAdvanced(\n stubId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/stubs/stub/by_id/{stub_id}/read/advanced',\n path: {\n 'stub_id': stubId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Stub Contract\n * @param stubSecretKey\n * @returns any Successful Response\n * @throws ApiError\n */\n public getStubsGetStubContract(\n stubSecretKey: string,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/stubs/stub/{stub_secret_key}/contract',\n path: {\n 'stub_secret_key': stubSecretKey,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Add Signature\n * @param stubSecretKey\n * @param formData\n * @returns any Successful Response\n * @throws ApiError\n */\n public postStubsAddSignature(\n stubSecretKey: string,\n formData: Body_add_signature_v1_stubs_stub__stub_secret_key__signature_post,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/v1/stubs/stub/{stub_secret_key}/signature',\n path: {\n 'stub_secret_key': stubSecretKey,\n },\n formData: formData,\n mediaType: 'multipart/form-data',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * View Contracts\n * @param stubSecretKey\n * @returns any Successful Response\n * @throws ApiError\n */\n public getStubsViewContracts(\n stubSecretKey: string,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/stubs/stub/view/contracts/{stub_secret_key}',\n path: {\n 'stub_secret_key': stubSecretKey,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * View Complete Contracts\n * @param stubSecretKey\n * @returns any Successful Response\n * @throws ApiError\n */\n public getStubsViewCompleteContracts(\n stubSecretKey: string,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/stubs/stub/view/complete/contracts/{stub_secret_key}',\n path: {\n 'stub_secret_key': stubSecretKey,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Transfer Stub\n * @param stubSecretKey\n * @param requestBody\n * @returns any Successful Response\n * @throws ApiError\n */\n public patchStubsTransferStub(\n stubSecretKey: string,\n requestBody: UserIn,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/v1/stubs/stub/{stub_secret_key}/transfer',\n path: {\n 'stub_secret_key': stubSecretKey,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * View All Tags\n * @returns any Successful Response\n * @throws ApiError\n */\n public getStubsViewAllTags(): CancelablePromise<(Array | null)> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/stubs/stub/tags/all',\n errors: {\n 404: `Not found`,\n },\n });\n }\n /**\n * View Stub Notes\n * @param stubSecretKey\n * @returns any Successful Response\n * @throws ApiError\n */\n public getStubsViewStubNotes(\n stubSecretKey: string,\n ): CancelablePromise<(Array | null)> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/stubs/view/{stub_secret_key}/notes',\n path: {\n 'stub_secret_key': stubSecretKey,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Add Stub Note\n * @param stubSecretKey\n * @param requestBody\n * @returns BaseNote Successful Response\n * @throws ApiError\n */\n public postStubsAddStubNote(\n stubSecretKey: string,\n requestBody: NoteIn,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/v1/stubs/view/{stub_secret_key}/notes',\n path: {\n 'stub_secret_key': stubSecretKey,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Pipe Log\n * @param stubSecretKey\n * @param offset\n * @param limit\n * @returns any Successful Response\n * @throws ApiError\n */\n public getStubsGetPipeLog(\n stubSecretKey: string,\n offset?: number,\n limit: number = 500,\n ): CancelablePromise<(Array | null)> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/stubs/stubs/{stub_secret_key}/pipe_log',\n path: {\n 'stub_secret_key': stubSecretKey,\n },\n query: {\n 'offset': offset,\n 'limit': limit,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Incomplete Transfer\n * @param stubSecretKey\n * @returns GenericStatus Successful Response\n * @throws ApiError\n */\n public postStubsIncompleteTransfer(\n stubSecretKey: string,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/v1/stubs/view/{stub_secret_key}/incomplete_transfer',\n path: {\n 'stub_secret_key': stubSecretKey,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Secret Key Type\n * @param secretKey\n * @returns SecretKeyType Successful Response\n * @throws ApiError\n */\n public getStubsGetSecretKeyType(\n secretKey: string,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/stubs/type/{secret_key}',\n path: {\n 'secret_key': secretKey,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Create Stub\n * @param requestBody\n * @returns BaseStub Successful Response\n * @throws ApiError\n */\n public postStubsCreateStubVLatest(\n requestBody: StubIn,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/latest/stubs/stub/create',\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Create Coach Stub\n * @param email\n * @param requestBody\n * @returns BaseStub Successful Response\n * @throws ApiError\n */\n public postStubsCreateCoachStubVLatest(\n email: string,\n requestBody: StubCoachIn,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/latest/stubs/stub/create/coach',\n query: {\n 'email': email,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Create Guardian Stub\n * @param email\n * @param labelId\n * @returns BaseStub Successful Response\n * @throws ApiError\n */\n public postStubsCreateGuardianStubVLatest(\n email: string,\n labelId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/latest/stubs/stub/create/guardian',\n query: {\n 'email': email,\n 'label_id': labelId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Update Stub\n * @param stubSecretKey\n * @param requestBody\n * @returns BaseStub Successful Response\n * @throws ApiError\n */\n public postStubsUpdateStubVLatest(\n stubSecretKey: string,\n requestBody: StubEdit,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/latest/stubs/stub/{stub_secret_key}/update',\n path: {\n 'stub_secret_key': stubSecretKey,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Delete Stub\n * @param stubSecretKey\n * @returns GenericStatus Successful Response\n * @throws ApiError\n */\n public postStubsDeleteStubVLatest(\n stubSecretKey: string,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/latest/stubs/stub/{stub_secret_key}/delete',\n path: {\n 'stub_secret_key': stubSecretKey,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Change Pipe\n * @param stubSecretKey\n * @param pipeId\n * @returns AdvancedStub Successful Response\n * @throws ApiError\n */\n public postStubsChangePipeVLatest(\n stubSecretKey: string,\n pipeId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/latest/stubs/stub/{stub_secret_key}/change_pipe/{pipe_id}',\n path: {\n 'stub_secret_key': stubSecretKey,\n 'pipe_id': pipeId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Change Pipe Simple\n * @param stubSecretKey\n * @param pipeId\n * @returns BaseStub Successful Response\n * @throws ApiError\n */\n public postStubsChangePipeSimpleVLatest(\n stubSecretKey: string,\n pipeId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/latest/stubs/stub/{stub_secret_key}/change_pipe/{pipe_id}/simple',\n path: {\n 'stub_secret_key': stubSecretKey,\n 'pipe_id': pipeId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Tag Stub\n * @param stubSecretKey\n * @param tagId\n * @returns AdvancedStub Successful Response\n * @throws ApiError\n */\n public postStubsTagStubVLatest(\n stubSecretKey: string,\n tagId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/latest/stubs/stub/{stub_secret_key}/tag/{tag_id}',\n path: {\n 'stub_secret_key': stubSecretKey,\n 'tag_id': tagId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Untag Stub\n * @param stubSecretKey\n * @param tagId\n * @returns AdvancedStub Successful Response\n * @throws ApiError\n */\n public deleteStubsUntagStubVLatest(\n stubSecretKey: string,\n tagId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'DELETE',\n url: '/latest/stubs/stub/{stub_secret_key}/tag/{tag_id}',\n path: {\n 'stub_secret_key': stubSecretKey,\n 'tag_id': tagId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Add Attachement\n * @param dictKey\n * @param stubSecretKey\n * @param formData\n * @returns BaseStub Successful Response\n * @throws ApiError\n */\n public postStubsAddAttachementVLatest(\n dictKey: string,\n stubSecretKey: string,\n formData: Body_add_attachement_latest_stubs_stub__stub_secret_key__add_attachement__dict_key__post,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/latest/stubs/stub/{stub_secret_key}/add_attachement/{dict_key}',\n path: {\n 'dict_key': dictKey,\n 'stub_secret_key': stubSecretKey,\n },\n formData: formData,\n mediaType: 'multipart/form-data',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Read Stub\n * @param stubSecretKey\n * @returns BaseStub Successful Response\n * @throws ApiError\n */\n public getStubsReadStubVLatest(\n stubSecretKey: string,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/stubs/stub/{stub_secret_key}/read',\n path: {\n 'stub_secret_key': stubSecretKey,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Read Stub Advanced\n * @param stubSecretKey\n * @returns AdvancedStub Successful Response\n * @throws ApiError\n */\n public getStubsReadStubAdvancedVLatest(\n stubSecretKey: string,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/stubs/stub/{stub_secret_key}/read/advanced',\n path: {\n 'stub_secret_key': stubSecretKey,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Read Stub By Id Advanced\n * @param stubId\n * @returns AdvancedStub Successful Response\n * @throws ApiError\n */\n public getStubsReadStubByIdAdvancedVLatest(\n stubId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/stubs/stub/by_id/{stub_id}/read/advanced',\n path: {\n 'stub_id': stubId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Stub Contract\n * @param stubSecretKey\n * @returns any Successful Response\n * @throws ApiError\n */\n public getStubsGetStubContractVLatest(\n stubSecretKey: string,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/stubs/stub/{stub_secret_key}/contract',\n path: {\n 'stub_secret_key': stubSecretKey,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Add Signature\n * @param stubSecretKey\n * @param formData\n * @returns any Successful Response\n * @throws ApiError\n */\n public postStubsAddSignatureVLatest(\n stubSecretKey: string,\n formData: Body_add_signature_latest_stubs_stub__stub_secret_key__signature_post,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/latest/stubs/stub/{stub_secret_key}/signature',\n path: {\n 'stub_secret_key': stubSecretKey,\n },\n formData: formData,\n mediaType: 'multipart/form-data',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * View Contracts\n * @param stubSecretKey\n * @returns any Successful Response\n * @throws ApiError\n */\n public getStubsViewContractsVLatest(\n stubSecretKey: string,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/stubs/stub/view/contracts/{stub_secret_key}',\n path: {\n 'stub_secret_key': stubSecretKey,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * View Complete Contracts\n * @param stubSecretKey\n * @returns any Successful Response\n * @throws ApiError\n */\n public getStubsViewCompleteContractsVLatest(\n stubSecretKey: string,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/stubs/stub/view/complete/contracts/{stub_secret_key}',\n path: {\n 'stub_secret_key': stubSecretKey,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Transfer Stub\n * @param stubSecretKey\n * @param requestBody\n * @returns any Successful Response\n * @throws ApiError\n */\n public patchStubsTransferStubVLatest(\n stubSecretKey: string,\n requestBody: UserIn,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/latest/stubs/stub/{stub_secret_key}/transfer',\n path: {\n 'stub_secret_key': stubSecretKey,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * View All Tags\n * @returns any Successful Response\n * @throws ApiError\n */\n public getStubsViewAllTagsVLatest(): CancelablePromise<(Array | null)> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/stubs/stub/tags/all',\n errors: {\n 404: `Not found`,\n },\n });\n }\n /**\n * View Stub Notes\n * @param stubSecretKey\n * @returns any Successful Response\n * @throws ApiError\n */\n public getStubsViewStubNotesVLatest(\n stubSecretKey: string,\n ): CancelablePromise<(Array | null)> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/stubs/view/{stub_secret_key}/notes',\n path: {\n 'stub_secret_key': stubSecretKey,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Add Stub Note\n * @param stubSecretKey\n * @param requestBody\n * @returns BaseNote Successful Response\n * @throws ApiError\n */\n public postStubsAddStubNoteVLatest(\n stubSecretKey: string,\n requestBody: NoteIn,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/latest/stubs/view/{stub_secret_key}/notes',\n path: {\n 'stub_secret_key': stubSecretKey,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Pipe Log\n * @param stubSecretKey\n * @param offset\n * @param limit\n * @returns any Successful Response\n * @throws ApiError\n */\n public getStubsGetPipeLogVLatest(\n stubSecretKey: string,\n offset?: number,\n limit: number = 500,\n ): CancelablePromise<(Array | null)> {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/stubs/stubs/{stub_secret_key}/pipe_log',\n path: {\n 'stub_secret_key': stubSecretKey,\n },\n query: {\n 'offset': offset,\n 'limit': limit,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Incomplete Transfer\n * @param stubSecretKey\n * @returns GenericStatus Successful Response\n * @throws ApiError\n */\n public postStubsIncompleteTransferVLatest(\n stubSecretKey: string,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/latest/stubs/view/{stub_secret_key}/incomplete_transfer',\n path: {\n 'stub_secret_key': stubSecretKey,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Secret Key Type\n * @param secretKey\n * @returns SecretKeyType Successful Response\n * @throws ApiError\n */\n public getStubsGetSecretKeyTypeVLatest(\n secretKey: string,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/stubs/type/{secret_key}',\n path: {\n 'secret_key': secretKey,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n}\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\nimport type { CancelablePromise } from '../core/CancelablePromise';\nimport type { BaseHttpRequest } from '../core/BaseHttpRequest';\nexport class SupportService {\n constructor(public readonly httpRequest: BaseHttpRequest) {}\n /**\n * Login Via Token\n * ### Get Support Token\n *\n * Gets an access token to log into the bug tracking platform\n *\n * **Permissions Required**:\n * `can_access_support`\n * @returns any Successful Response\n * @throws ApiError\n */\n public getSupportLoginViaToken(): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/support/get_magic_link',\n errors: {\n 404: `Not found`,\n },\n });\n }\n /**\n * Login Via Token\n * ### Get Support Token\n *\n * Gets an access token to log into the bug tracking platform\n *\n * **Permissions Required**:\n * `can_access_support`\n * @returns any Successful Response\n * @throws ApiError\n */\n public getSupportLoginViaTokenVLatest(): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/support/get_magic_link',\n errors: {\n 404: `Not found`,\n },\n });\n }\n}\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\nimport type { BaseTag } from '../models/BaseTag';\nimport type { GenericStatus } from '../models/GenericStatus';\nimport type { TagEdit } from '../models/TagEdit';\nimport type { TagIn } from '../models/TagIn';\nimport type { CancelablePromise } from '../core/CancelablePromise';\nimport type { BaseHttpRequest } from '../core/BaseHttpRequest';\nexport class TagsService {\n constructor(public readonly httpRequest: BaseHttpRequest) {}\n /**\n * View Tag\n * @param tagId\n * @returns BaseTag Successful Response\n * @throws ApiError\n */\n public getTagsViewTag(\n tagId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/tags/{tag_id}',\n path: {\n 'tag_id': tagId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Edit Tag\n * @param tagId\n * @param requestBody\n * @returns BaseTag Successful Response\n * @throws ApiError\n */\n public patchTagsEditTag(\n tagId: number,\n requestBody: TagEdit,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/v1/tags/{tag_id}',\n path: {\n 'tag_id': tagId,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Delete Tag\n * @param tagId\n * @returns GenericStatus Successful Response\n * @throws ApiError\n */\n public deleteTagsDeleteTag(\n tagId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'DELETE',\n url: '/v1/tags/{tag_id}',\n path: {\n 'tag_id': tagId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Create Tag\n * @param requestBody\n * @returns BaseTag Successful Response\n * @throws ApiError\n */\n public postTagsCreateTag(\n requestBody: TagIn,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/v1/tags/create',\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * View Tag\n * @param tagId\n * @returns BaseTag Successful Response\n * @throws ApiError\n */\n public getTagsViewTagVLatest(\n tagId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/tags/{tag_id}',\n path: {\n 'tag_id': tagId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Edit Tag\n * @param tagId\n * @param requestBody\n * @returns BaseTag Successful Response\n * @throws ApiError\n */\n public patchTagsEditTagVLatest(\n tagId: number,\n requestBody: TagEdit,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'PATCH',\n url: '/latest/tags/{tag_id}',\n path: {\n 'tag_id': tagId,\n },\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Delete Tag\n * @param tagId\n * @returns GenericStatus Successful Response\n * @throws ApiError\n */\n public deleteTagsDeleteTagVLatest(\n tagId: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'DELETE',\n url: '/latest/tags/{tag_id}',\n path: {\n 'tag_id': tagId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Create Tag\n * @param requestBody\n * @returns BaseTag Successful Response\n * @throws ApiError\n */\n public postTagsCreateTagVLatest(\n requestBody: TagIn,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/latest/tags/create',\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n}\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\nimport type { BaseTask } from '../models/BaseTask';\nimport type { CancelablePromise } from '../core/CancelablePromise';\nimport type { BaseHttpRequest } from '../core/BaseHttpRequest';\nexport class TasksService {\n constructor(public readonly httpRequest: BaseHttpRequest) {}\n /**\n * View Task\n * @param taskId\n * @returns BaseTask Successful Response\n * @throws ApiError\n */\n public getTasksViewTask(\n taskId: string,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/tasks/{task_id}',\n path: {\n 'task_id': taskId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * View Task\n * @param taskId\n * @returns BaseTask Successful Response\n * @throws ApiError\n */\n public getTasksViewTaskVLatest(\n taskId: string,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/tasks/{task_id}',\n path: {\n 'task_id': taskId,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n}\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\nimport type { CancelablePromise } from '../core/CancelablePromise';\nimport type { BaseHttpRequest } from '../core/BaseHttpRequest';\nexport class WebhooksService {\n constructor(public readonly httpRequest: BaseHttpRequest) {}\n /**\n * Return Challenge From Facebook\n * @param hubVerifyToken\n * @param hubChallenge\n * @returns any Successful Response\n * @throws ApiError\n */\n public getWebhooksReturnChallengeFromFacebook(\n hubVerifyToken: string,\n hubChallenge: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/webhooks/facebook/new_lead/',\n query: {\n 'hub.verify_token': hubVerifyToken,\n 'hub.challenge': hubChallenge,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Data From Facebook Leadgen Webhook\n * @param requestBody\n * @returns any Successful Response\n * @throws ApiError\n */\n public postWebhooksGetDataFromFacebookLeadgenWebhook(\n requestBody?: any,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/v1/webhooks/facebook/new_lead/',\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Long Lived User Token\n * @param shortLivedUserToken\n * @returns any Successful Response\n * @throws ApiError\n */\n public getWebhooksGetLongLivedUserToken(\n shortLivedUserToken: string,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/webhooks/facebook/long_lived_user_token/',\n query: {\n 'short_lived_user_token': shortLivedUserToken,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Long Lived Page Token\n * @param longLivedUserToken\n * @returns any Successful Response\n * @throws ApiError\n */\n public getWebhooksGetLongLivedPageToken(\n longLivedUserToken: string,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/webhooks/facebook/get_long_lived_page_token/',\n query: {\n 'long_lived_user_token': longLivedUserToken,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Register Facebook Webhook\n * @returns any Successful Response\n * @throws ApiError\n */\n public postWebhooksRegisterFacebookWebhook(): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/v1/webhooks/facebook/register/',\n errors: {\n 404: `Not found`,\n },\n });\n }\n /**\n * Get Subscribed Apps\n * @returns any Successful Response\n * @throws ApiError\n */\n public getWebhooksGetSubscribedApps(): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/v1/webhooks/facebook/subscribed_apps/',\n errors: {\n 404: `Not found`,\n },\n });\n }\n /**\n * Return Challenge From Facebook\n * @param hubVerifyToken\n * @param hubChallenge\n * @returns any Successful Response\n * @throws ApiError\n */\n public getWebhooksReturnChallengeFromFacebookVLatest(\n hubVerifyToken: string,\n hubChallenge: number,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/webhooks/facebook/new_lead/',\n query: {\n 'hub.verify_token': hubVerifyToken,\n 'hub.challenge': hubChallenge,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Data From Facebook Leadgen Webhook\n * @param requestBody\n * @returns any Successful Response\n * @throws ApiError\n */\n public postWebhooksGetDataFromFacebookLeadgenWebhookVLatest(\n requestBody?: any,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/latest/webhooks/facebook/new_lead/',\n body: requestBody,\n mediaType: 'application/json',\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Long Lived User Token\n * @param shortLivedUserToken\n * @returns any Successful Response\n * @throws ApiError\n */\n public getWebhooksGetLongLivedUserTokenVLatest(\n shortLivedUserToken: string,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/webhooks/facebook/long_lived_user_token/',\n query: {\n 'short_lived_user_token': shortLivedUserToken,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Get Long Lived Page Token\n * @param longLivedUserToken\n * @returns any Successful Response\n * @throws ApiError\n */\n public getWebhooksGetLongLivedPageTokenVLatest(\n longLivedUserToken: string,\n ): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/webhooks/facebook/get_long_lived_page_token/',\n query: {\n 'long_lived_user_token': longLivedUserToken,\n },\n errors: {\n 404: `Not found`,\n 422: `Validation Error`,\n },\n });\n }\n /**\n * Register Facebook Webhook\n * @returns any Successful Response\n * @throws ApiError\n */\n public postWebhooksRegisterFacebookWebhookVLatest(): CancelablePromise {\n return this.httpRequest.request({\n method: 'POST',\n url: '/latest/webhooks/facebook/register/',\n errors: {\n 404: `Not found`,\n },\n });\n }\n /**\n * Get Subscribed Apps\n * @returns any Successful Response\n * @throws ApiError\n */\n public getWebhooksGetSubscribedAppsVLatest(): CancelablePromise {\n return this.httpRequest.request({\n method: 'GET',\n url: '/latest/webhooks/facebook/subscribed_apps/',\n errors: {\n 404: `Not found`,\n },\n });\n }\n}\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\nimport type { BaseHttpRequest } from './core/BaseHttpRequest';\nimport type { OpenAPIConfig } from './core/OpenAPI';\nimport { AxiosHttpRequest } from './core/AxiosHttpRequest';\nimport { AccordationService } from './services/AccordationService';\nimport { AuthService } from './services/AuthService';\nimport { BundlesService } from './services/BundlesService';\nimport { CoachesService } from './services/CoachesService';\nimport { DeclarationsService } from './services/DeclarationsService';\nimport { DefaultService } from './services/DefaultService';\nimport { DefaultTariffService } from './services/DefaultTariffService';\nimport { ExternalService } from './services/ExternalService';\nimport { FacturationService } from './services/FacturationService';\nimport { FlagsService } from './services/FlagsService';\nimport { FspService } from './services/FspService';\nimport { GuardiansService } from './services/GuardiansService';\nimport { LabelsService } from './services/LabelsService';\nimport { LessonsService } from './services/LessonsService';\nimport { LogsService } from './services/LogsService';\nimport { MatcherService } from './services/MatcherService';\nimport { NotesService } from './services/NotesService';\nimport { OrdersService } from './services/OrdersService';\nimport { PipesService } from './services/PipesService';\nimport { ProductsService } from './services/ProductsService';\nimport { PushNotificationsService } from './services/PushNotificationsService';\nimport { SearchService } from './services/SearchService';\nimport { SeleniumService } from './services/SeleniumService';\nimport { ShiftsService } from './services/ShiftsService';\nimport { SPCoachesService } from './services/SPCoachesService';\nimport { SPCompetencesService } from './services/SPCompetencesService';\nimport { SPJobsService } from './services/SPJobsService';\nimport { SPProvidersService } from './services/SPProvidersService';\nimport { SPSectorsService } from './services/SPSectorsService';\nimport { StubsService } from './services/StubsService';\nimport { SupportService } from './services/SupportService';\nimport { TagsService } from './services/TagsService';\nimport { TasksService } from './services/TasksService';\nimport { WebhooksService } from './services/WebhooksService';\ntype HttpRequestConstructor = new (config: OpenAPIConfig) => BaseHttpRequest;\nexport class AppClient {\n public readonly accordation: AccordationService;\n public readonly auth: AuthService;\n public readonly bundles: BundlesService;\n public readonly coaches: CoachesService;\n public readonly declarations: DeclarationsService;\n public readonly default: DefaultService;\n public readonly defaultTariff: DefaultTariffService;\n public readonly external: ExternalService;\n public readonly facturation: FacturationService;\n public readonly flags: FlagsService;\n public readonly fsp: FspService;\n public readonly guardians: GuardiansService;\n public readonly labels: LabelsService;\n public readonly lessons: LessonsService;\n public readonly logs: LogsService;\n public readonly matcher: MatcherService;\n public readonly notes: NotesService;\n public readonly orders: OrdersService;\n public readonly pipes: PipesService;\n public readonly products: ProductsService;\n public readonly pushNotifications: PushNotificationsService;\n public readonly search: SearchService;\n public readonly selenium: SeleniumService;\n public readonly shifts: ShiftsService;\n public readonly spCoaches: SPCoachesService;\n public readonly spCompetences: SPCompetencesService;\n public readonly spJobs: SPJobsService;\n public readonly spProviders: SPProvidersService;\n public readonly spSectors: SPSectorsService;\n public readonly stubs: StubsService;\n public readonly support: SupportService;\n public readonly tags: TagsService;\n public readonly tasks: TasksService;\n public readonly webhooks: WebhooksService;\n public readonly request: BaseHttpRequest;\n constructor(config?: Partial, HttpRequest: HttpRequestConstructor = AxiosHttpRequest) {\n this.request = new HttpRequest({\n BASE: config?.BASE ?? '',\n VERSION: config?.VERSION ?? '1.0.19',\n WITH_CREDENTIALS: config?.WITH_CREDENTIALS ?? false,\n CREDENTIALS: config?.CREDENTIALS ?? 'include',\n TOKEN: config?.TOKEN,\n USERNAME: config?.USERNAME,\n PASSWORD: config?.PASSWORD,\n HEADERS: config?.HEADERS,\n ENCODE_PATH: config?.ENCODE_PATH,\n });\n this.accordation = new AccordationService(this.request);\n this.auth = new AuthService(this.request);\n this.bundles = new BundlesService(this.request);\n this.coaches = new CoachesService(this.request);\n this.declarations = new DeclarationsService(this.request);\n this.default = new DefaultService(this.request);\n this.defaultTariff = new DefaultTariffService(this.request);\n this.external = new ExternalService(this.request);\n this.facturation = new FacturationService(this.request);\n this.flags = new FlagsService(this.request);\n this.fsp = new FspService(this.request);\n this.guardians = new GuardiansService(this.request);\n this.labels = new LabelsService(this.request);\n this.lessons = new LessonsService(this.request);\n this.logs = new LogsService(this.request);\n this.matcher = new MatcherService(this.request);\n this.notes = new NotesService(this.request);\n this.orders = new OrdersService(this.request);\n this.pipes = new PipesService(this.request);\n this.products = new ProductsService(this.request);\n this.pushNotifications = new PushNotificationsService(this.request);\n this.search = new SearchService(this.request);\n this.selenium = new SeleniumService(this.request);\n this.shifts = new ShiftsService(this.request);\n this.spCoaches = new SPCoachesService(this.request);\n this.spCompetences = new SPCompetencesService(this.request);\n this.spJobs = new SPJobsService(this.request);\n this.spProviders = new SPProvidersService(this.request);\n this.spSectors = new SPSectorsService(this.request);\n this.stubs = new StubsService(this.request);\n this.support = new SupportService(this.request);\n this.tags = new TagsService(this.request);\n this.tasks = new TasksService(this.request);\n this.webhooks = new WebhooksService(this.request);\n }\n}\n\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\nexport enum ActivityStatus {\n IDLE = 'idle',\n UPCOMING = 'upcoming',\n LATE = 'late',\n}\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\nexport enum AllCoachCancelCodes {\n COACH_ZIEK = 'coach_ziek',\n STUDENT_ZIEK = 'student_ziek',\n LES_VERZET = 'les_verzet',\n STUDENT_NOSHOW = 'student_noshow',\n COACH_ONVERWACHT = 'coach_onverwacht',\n COACH_NOSHOW = 'coach_noshow',\n COACH_KAN_NIET = 'coach_kan_niet',\n COACH_NIET_GEINTERESSEERD = 'coach_niet_geinteresseerd',\n OUDER_ANNULERING = 'ouder_annulering',\n REDEN_ONBEKEND = 'reden_onbekend',\n}\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\nexport enum CalendarEntryStatusEnum {\n AVAILABLE = 'available',\n UNAVAILABLE = 'unavailable',\n RESERVED = 'reserved',\n SCHEDULED = 'scheduled',\n UNKNOWN = 'unknown',\n}\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\nexport enum CurrentStudyLevelCoachEnum {\n MBO = 'mbo',\n HBO = 'hbo',\n WO = 'wo',\n}\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\nexport enum DisputeCategory {\n COACH_VERKEERDE_DUUR = 'coach_verkeerde_duur',\n COACH_VERKEERDE_DAG = 'coach_verkeerde_dag',\n COACH_NOSHOW = 'coach_noshow',\n COACH_OTHER = 'coach_other',\n}\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\n/**\n * EnumBundleStatus is an Enum class for the status of a bundle.\n */\nexport enum EnumBundleStatus {\n AVAILABLE = 'available',\n EMPTY = 'empty',\n INACTIVE = 'inactive',\n EXPIRED = 'expired',\n}\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\n/**\n * This class is an enumeration of the possible review statuses of a declaration.\n */\nexport enum EnumDeclarationReviewStatus {\n PENDING = 'PENDING',\n APPROVED = 'APPROVED',\n REJECTED = 'REJECTED',\n}\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\nexport enum EnumOrderType {\n INVOICE = 'invoice',\n TRANSACTION = 'transaction',\n COLLECTION = 'collection',\n}\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\nexport enum EnumPaymentStatus {\n OPEN = 'open',\n PENDING = 'pending',\n EXPIRED_OR_FAILED = 'expired_or_failed',\n PAID = 'paid',\n AUTHORIZED = 'authorized',\n}\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\nexport enum GenderEnum {\n MANNELIJK = 'mannelijk',\n VROUWELIJK = 'vrouwelijk',\n OVERIG = 'overig',\n}\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\nexport enum JobImportType {\n ZORGWERK = 'zorgwerk',\n LISTING = 'listing',\n SHIFT = 'shift',\n}\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\nexport enum JobMatchStatusEnum {\n OPEN = 'open',\n CLOSED = 'closed',\n AWAITING_COACH = 'awaiting_coach',\n ACCEPTED_BY_COACH = 'accepted_by_coach',\n REJECTED_BY_COACH = 'rejected_by_coach',\n SCHEDULED = 'scheduled',\n SENT_TO_BRANCH = 'sent_to_branch',\n}\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\nexport enum JobStatusEnum {\n OPEN = 'open',\n AWAITING_COACHES = 'awaiting_coaches',\n ACCEPTED_BY_COACHES = 'accepted_by_coaches',\n AWAITING_BRANCH = 'awaiting_branch',\n SCHEDULED = 'scheduled',\n CLOSED = 'closed',\n}\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\nexport enum NoteTypeEnum {\n SIMPLE = 'simple',\n CALL = 'call',\n MAIL = 'mail',\n ACTIVITY = 'activity',\n}\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\nexport enum OrderByJobsEnum {\n ID = 'id',\n NAME = 'name',\n START_DATE = 'start_date',\n DESCRIPTION = 'description',\n STATUS = 'status',\n CREATED_AT = 'created_at',\n SHIFT_COUNT = 'shift_count',\n SECTOR = 'sector',\n BRANCH = 'branch',\n DISTANCE = 'distance',\n}\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\nexport enum OrderByProvidersEnum {\n ID = 'id',\n NAME = 'name',\n DESCRIPTION = 'description',\n IS_ACTIVE = 'is_active',\n}\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\nexport enum ProductType {\n BUNDLE = 'bundle',\n}\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\nexport enum Provinces {\n UTRECHT = 'Utrecht',\n GRONINGEN = 'Groningen',\n FLEVOLAND = 'Flevoland',\n DRENTHE = 'Drenthe',\n NOORD_HOLLAND = 'Noord-Holland',\n GELDERLAND = 'Gelderland',\n ZUID_HOLLAND = 'Zuid-Holland',\n FRYSL_N = 'Fryslân',\n ZEELAND = 'Zeeland',\n NOORD_BRABANT = 'Noord-Brabant',\n OVERIJSSEL = 'Overijssel',\n LIMBURG = 'Limburg',\n}\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\nexport enum SalaryTypeEnum {\n KDV = 'KDV',\n BIJLES = 'BIJLES',\n SCHOLEN = 'SCHOLEN',\n}\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\nexport enum schemas__disciplines__SchoolLevelEnum {\n VMBO_BASIS = 'vmbo-basis',\n VMBO_KADER = 'vmbo-kader',\n VMBO_TL = 'vmbo-tl',\n MBO = 'mbo',\n HAVO = 'havo',\n HBO = 'hbo',\n VWO = 'vwo',\n GYMNASIUM = 'gymnasium',\n WO = 'wo',\n}\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\nexport enum SchoolLevelCoachEnum {\n VMBO_BASIS = 'vmbo-basis',\n VMBO_KADER = 'vmbo-kader',\n VMBO_TL = 'vmbo-tl',\n HAVO = 'havo',\n VWO = 'vwo',\n GYMNASIUM = 'gymnasium',\n MBO = 'mbo',\n HBO = 'hbo',\n WO = 'wo',\n}\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\nexport enum SchoolLevelEnum_Output {\n BASISSCHOOL = 'basisschool',\n VMBO_BASIS = 'vmbo-basis',\n VMBO_KADER = 'vmbo-kader',\n VMBO_TL = 'vmbo-tl',\n HAVO = 'havo',\n VWO = 'vwo',\n GYMNASIUM = 'gymnasium',\n MBO = 'mbo',\n HBO = 'hbo',\n WO = 'wo',\n}\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\nexport enum StubType {\n GUARDIAN = 'guardian',\n COACH = 'coach',\n}\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\nexport enum TagTypeEnum {\n GUARDIAN = 'guardian',\n COACH = 'coach',\n STUB = 'stub',\n}\n","/* generated using openapi-typescript-codegen -- do not edit */\n/* istanbul ignore file */\n/* tslint:disable */\n/* eslint-disable */\nexport enum TaskStatus {\n PENDING = 'PENDING',\n STARTED = 'STARTED',\n SUCCESS = 'SUCCESS',\n FAILURE = 'FAILURE',\n RETRY = 'RETRY',\n REVOKED = 'REVOKED',\n}\n","import MuiCard from '@mui/material/Card';\nimport { styled } from '@mui/material/styles';\n\nconst Card = styled(MuiCard)(({ theme }) => ({\n borderRadius: '10px',\n [theme.breakpoints.down('sm')]: { background: '#f5f5f5' },\n}));\n\nexport default Card;\n","import LoadingButton, { LoadingButtonProps } from '@mui/lab/LoadingButton';\nimport {\n BaseTextFieldProps,\n FormControl,\n FormControlProps,\n FormHelperText,\n FormHelperTextProps,\n FormLabel,\n FormLabelProps,\n SelectProps,\n TextFieldProps,\n} from '@mui/material';\nimport MenuItem, { MenuItemProps } from '@mui/material/MenuItem';\nimport MuiSelect from '@mui/material/Select';\nimport { styled } from '@mui/material/styles';\nimport MuiTextField from '@mui/material/TextField';\nimport { DatePickerProps } from '@mui/x-date-pickers';\nimport { DatePicker as MuiDatePicker } from '@mui/x-date-pickers';\nimport moment from 'moment';\nimport theme from 'theme';\n\nexport interface ITextfieldWithLabelProps extends FormControlProps {\n textfieldProps?: BaseTextFieldProps;\n formLabelProps?: FormLabelProps;\n formHelperTextProps?: FormHelperTextProps;\n helperText?: string;\n label?: string;\n}\n\nexport type ITextFieldProps = {\n backgroundColor?: string;\n border?: string;\n dontShowBorder?: boolean;\n} & TextFieldProps;\n\nconst TextField = styled(({ ...textFieldProps }: ITextFieldProps) => (\n \n))(props => ({\n '& > label': { transform: 'translate(14px, 8px) scale(1)' },\n '& > .MuiInputLabel-shrink': { transform: 'translate(14px, -10px) scale(0.8)' },\n '& > .MuiOutlinedInput-root': {\n '& > .MuiOutlinedInput-input': {\n padding: props.select ? `10px 35px 10px 14px` : props.multiline ? '' : `10px 14px`,\n },\n '& > .MuiOutlinedInput-notchedOutline': {\n border: props.dontShowBorder && !props.error ? 'unset' : props.border,\n },\n borderRadius: '20px',\n background: props.backgroundColor || 'white',\n },\n}));\n\nconst TextfieldWithLabel = styled(\n ({\n label,\n formLabelProps,\n helperText,\n formHelperTextProps,\n textfieldProps,\n ...props\n }: ITextfieldWithLabelProps) => (\n \n {label && {label}}\n \n {helperText && {helperText}}\n \n )\n)({\n '& > label': { padding: '2px 20px' },\n '& > p': { marginLeft: '20px' },\n '& > .MuiFormControl-root > .MuiOutlinedInput-root': {\n '& > .MuiOutlinedInput-input': { padding: '10px 14px' },\n borderRadius: '20px',\n },\n});\n\nconst Button = styled(\n (\n props: LoadingButtonProps & {\n component?: string;\n }\n ) => (\n \n )\n)({\n borderRadius: 30,\n boxShadow: 'none',\n '&:hover': {\n boxShadow: 'none',\n },\n});\n\nconst Select = styled(\n (\n props: SelectProps & {\n currentWidth?: string;\n }\n ) => (\n \n )\n)({\n '& > label': { transform: 'translate(14px, 8px) scale(1)' },\n borderRadius: '20px',\n '& > .MuiSelect-select': { padding: '10px 14px' },\n});\n\nconst MenuItemSelect = styled(\n (\n props: MenuItemProps & {\n currentWidth?: string;\n }\n ) => (\n \n )\n)({\n //Necessary to prevent error\n});\n\nconst DatePicker = styled((props: DatePickerProps) => )(\n () => ({\n '& > label': { transform: 'translate(14px, 8px) scale(1)' },\n '& > .MuiInputLabel-shrink': { transform: 'translate(14px, -10px) scale(0.8)' },\n '& > .MuiOutlinedInput-root': {\n '& > .MuiOutlinedInput-input': `10px 35px 10px 14px`,\n height: '46px',\n background: '#F5F5F5',\n borderRadius: '20px',\n border: 0,\n },\n '& .MuiOutlinedInput-notchedOutline': {\n border: 'none', // Remove the border\n },\n })\n);\n\nconst SelectFormControl = styled((props: FormControlProps) => )({\n '& > label': { transform: 'translate(14px, 10px) scale(1) !important' },\n '& > .MuiInputLabel-shrink': { transform: 'translate(14px, -9px) scale(0.75) !important' },\n});\n\nexport {\n TextField,\n TextfieldWithLabel,\n Button,\n Select,\n SelectFormControl,\n MenuItemSelect,\n DatePicker,\n};\n","import * as React from 'react';\n\nimport Box from '@mui/material/Box';\nimport CircularProgress, { CircularProgressProps } from '@mui/material/CircularProgress';\nimport Typography from '@mui/material/Typography';\n\ninterface ProgressSpinnerProps {\n circularProgressProps?: CircularProgressProps;\n textColor?: string;\n value: number;\n max: number;\n variant:\n | 'h1'\n | 'h2'\n | 'h3'\n | 'h4'\n | 'h5'\n | 'h6'\n | 'subtitle1'\n | 'subtitle2'\n | 'body1'\n | 'body2'\n | 'caption'\n | 'button'\n | 'overline'\n | 'inherit';\n fontSize?: number;\n fontWeight?: 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | 'bold';\n}\n\nfunction ProgressSpinner(props: ProgressSpinnerProps) {\n return (\n \n \n \n {`${Math.round(props.value)} / ${\n props.max\n }`}\n \n \n );\n}\n\nexport default ProgressSpinner;\n","\"use client\";\n\nimport createSvgIcon from './utils/createSvgIcon';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport default createSvgIcon( /*#__PURE__*/_jsx(\"path\", {\n d: \"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2M9.29 16.29 5.7 12.7a.9959.9959 0 0 1 0-1.41c.39-.39 1.02-.39 1.41 0L10 14.17l6.88-6.88c.39-.39 1.02-.39 1.41 0 .39.39.39 1.02 0 1.41l-7.59 7.59c-.38.39-1.02.39-1.41 0\"\n}), 'CheckCircleRounded');","import * as React from 'react';\nimport { useEffect, useState } from 'react';\n\nimport { ArrowDropDown, CheckCircleRounded, Lens } from '@mui/icons-material';\nimport {\n Box,\n Checkbox,\n CheckboxProps,\n Grid,\n IconButton,\n LinearProgress,\n MenuItem,\n Popover,\n Typography,\n useTheme,\n} from '@mui/material';\nimport { styled } from '@mui/system';\n\nimport { BaseAvailability, GenericStatus } from 'assets/api';\nimport { Button } from 'components/Elements/Forms/Inputs';\nimport useLabel from 'functions/Hooks/useLabel';\nimport IAvailability, { DayNumber } from 'interfaces/Availability';\nimport { ILocation } from 'interfaces/Location';\n\nexport type asyncFunction = (\n availability: IAvailability\n) => Promise | void;\ninterface AvailabilityProps {\n availability?: IAvailability[];\n user_locations?: ILocation[] | null;\n onLocationChange?: (\n availability: IAvailability[],\n location: ILocation\n ) => Promise | void;\n onDelete?: asyncFunction;\n onAdd?: asyncFunction;\n disabled?: boolean;\n}\n\nconst Cell = styled(Grid)({ height: '70px' });\n\nconst BorderedCell = styled(Cell)({\n border: '1px solid rgb(245, 245, 245)',\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n maxHeight: '70px',\n});\n\ninterface DayAvailability {\n location?: ILocation;\n '07:00-10:00': boolean;\n '10:00-13:00': boolean;\n '13:00-16:00': boolean;\n '16:00-19:00': boolean;\n '19:00-22:00': boolean;\n '07:00-22:00': boolean;\n}\n\ntype DayPart =\n | '07:00-10:00'\n | '10:00-13:00'\n | '13:00-16:00'\n | '16:00-19:00'\n | '19:00-22:00'\n | '07:00-22:00';\n\nconst CheckBoxRound = styled((props: CheckboxProps) => (\n }\n checkedIcon={}\n {...props}\n />\n))({});\n\nconst AvailabilityGrid: React.FunctionComponent = props => {\n const [currentWidth, setCurrentWidth] = useState(1200);\n\n const theme = useTheme();\n const ref = React.useRef(null);\n const label = useLabel();\n const [availability, setAvailability] = useState([\n {\n location: props.user_locations?.[0],\n '07:00-10:00': false,\n '10:00-13:00': false,\n '13:00-16:00': false,\n '16:00-19:00': false,\n '19:00-22:00': false,\n '07:00-22:00': false,\n },\n {\n location: props.user_locations?.[0],\n '07:00-10:00': false,\n '10:00-13:00': false,\n '13:00-16:00': false,\n '16:00-19:00': false,\n '19:00-22:00': false,\n '07:00-22:00': false,\n },\n {\n location: props.user_locations?.[0],\n '07:00-10:00': false,\n '10:00-13:00': false,\n '13:00-16:00': false,\n '16:00-19:00': false,\n '19:00-22:00': false,\n '07:00-22:00': false,\n },\n {\n location: props.user_locations?.[0],\n '07:00-10:00': false,\n '10:00-13:00': false,\n '13:00-16:00': false,\n '16:00-19:00': false,\n '19:00-22:00': false,\n '07:00-22:00': false,\n },\n {\n location: props.user_locations?.[0],\n '07:00-10:00': false,\n '10:00-13:00': false,\n '13:00-16:00': false,\n '16:00-19:00': false,\n '19:00-22:00': false,\n '07:00-22:00': false,\n },\n {\n location: props.user_locations?.[0],\n '07:00-10:00': false,\n '10:00-13:00': false,\n '13:00-16:00': false,\n '16:00-19:00': false,\n '19:00-22:00': false,\n '07:00-22:00': false,\n },\n {\n location: props.user_locations?.[0],\n '07:00-10:00': false,\n '10:00-13:00': false,\n '13:00-16:00': false,\n '16:00-19:00': false,\n '19:00-22:00': false,\n '07:00-22:00': false,\n },\n ]);\n const [locations, setLocations] = useState(props.user_locations);\n const [anchorEl, setAnchorEl] = React.useState(null);\n const [isSaving, setIsSaving] = useState(false);\n\n const days = [\n {\n mobile: 'Ma',\n default: 'Maandag',\n },\n {\n mobile: 'Di',\n default: 'Dinsdag',\n },\n {\n mobile: 'Wo',\n default: 'Woensdag',\n },\n {\n mobile: 'Do',\n default: 'Donderdag',\n },\n {\n mobile: 'Vr',\n default: 'Vrijdag',\n },\n {\n mobile: 'Za',\n default: 'Zaterdag',\n },\n {\n mobile: 'Zo',\n default: 'Zondag',\n },\n ];\n\n const handleCheckboxChange = async (index: number, dayPart: DayPart, checked: boolean) => {\n const change = [...availability];\n let toDelete: IAvailability[] = [];\n setIsSaving(true);\n change[index] = {\n ...availability[index],\n [dayPart]: checked,\n location: change[index].location || locations?.[0],\n };\n if (checked && props.onAdd) {\n const [start_time, end_time] = dayPart.split('-');\n\n const avObject: IAvailability = {\n day_number: (index + 1) as DayNumber,\n start_time,\n end_time,\n user_location: availability[index].location || locations?.[0],\n };\n await props.onAdd(avObject);\n\n if (dayPart === '07:00-22:00') {\n toDelete = props.availability!.filter(item => {\n return (\n item.day_number === index + 1 &&\n (item.start_time !== start_time || item.end_time !== end_time)\n );\n });\n change[index]['07:00-10:00'] = false;\n change[index]['10:00-13:00'] = false;\n change[index]['13:00-16:00'] = false;\n change[index]['16:00-19:00'] = false;\n change[index]['19:00-22:00'] = false;\n } else if (change[index]['07:00-22:00']) {\n toDelete = props.availability!.filter(item => {\n return (\n item.day_number === index + 1 &&\n (item.start_time === '07:00' || item.end_time !== '22:00')\n );\n });\n change[index]['07:00-22:00'] = false;\n }\n } else if (!checked) {\n toDelete = props.availability!.filter(item => {\n const [start_time, end_time] = dayPart.split('-');\n\n return (\n item.day_number === index + 1 &&\n (item.start_time >= start_time || item.end_time >= end_time)\n );\n });\n }\n if (toDelete && props.onDelete) {\n for (let index = 0; index < toDelete.length; index++) {\n const element = toDelete[index];\n try {\n await props.onDelete(element);\n } catch (e) {\n // Empty\n }\n }\n }\n setIsSaving(false);\n setAvailability(change);\n };\n\n const handleLocationChange = (index: string, location: ILocation) => {\n const change = [...availability];\n change[Number(index)].location = location;\n setAvailability(change);\n handleClose();\n };\n\n const handleClick = (event: React.MouseEvent) => {\n setAnchorEl(event.currentTarget);\n };\n\n const handleClose = () => {\n setAnchorEl(null);\n };\n\n const open = Boolean(anchorEl);\n const id = open ? 'simple-popover' : undefined;\n\n useEffect(() => {\n setLocations(props.user_locations);\n }, [props.user_locations]);\n\n useEffect(() => {\n setCurrentWidth(ref.current ? ref.current.offsetWidth : 1200);\n }, [((ref.current as HTMLDivElement) ||
).offsetWidth]);\n\n /** function to prevent double entry if a full day is selected */\n const filterAvailabilties = (availabilities: IAvailability[]) => {\n if (availabilities) {\n const tempAvailabilties: Array = [...availabilities];\n const found: Array = [];\n tempAvailabilties.forEach((availability: IAvailability) => {\n if (availability.start_time === '07:00:00' && availability.end_time === '22:00:00') {\n found.push(availability);\n }\n });\n\n found.forEach((availability: IAvailability) => {\n availabilities.forEach((value: IAvailability) => {\n if (value.day_number === availability.day_number && availability.id != value.id) {\n const index = tempAvailabilties.indexOf(value);\n if (index > -1) {\n tempAvailabilties.splice(index, 1);\n }\n }\n });\n });\n\n return tempAvailabilties;\n }\n };\n\n useEffect(() => {\n if (locations && props.availability && props.availability.length > 0) {\n const change = [...availability];\n const av = filterAvailabilties(props.availability);\n if (av) {\n av.forEach(item => {\n item.start_time = item.start_time.slice(0, 5);\n item.end_time = item.end_time.slice(0, 5);\n let dayPart: DayPart = '07:00-22:00';\n if (item.end_time <= '10:00') dayPart = '07:00-10:00';\n if (item.start_time >= '10:00' && item.end_time <= '13:00') dayPart = '10:00-13:00';\n if (item.start_time >= '13:00' && item.end_time <= '16:00') dayPart = '13:00-16:00';\n if (item.start_time >= '16:00' && item.end_time <= '19:00') dayPart = '16:00-19:00';\n if (item.start_time >= '19:00' && item.end_time <= '22:00') dayPart = '19:00-22:00';\n change[item.day_number - 1][dayPart] = true;\n\n if (!change[item.day_number - 1].location)\n change[item.day_number - 1].location = item.user_location || locations?.[0];\n });\n change.forEach(item => {\n if (!item.location) item.location = locations?.[0];\n });\n setAvailability(change);\n }\n }\n }, [props.availability, locations]);\n\n return (\n
\n {props.user_locations!.length > 1 ? (\n \n {isSaving && (\n \n \n \n )}\n {currentWidth > 850 ? (\n <>\n \n \n \n 07:00 - 10:00\n \n \n 10:00 - 13:00\n \n \n 13:00 - 16:00\n \n \n 16:00 - 19:00\n \n \n 19:00 - 22:00\n \n \n Hele dag\n \n \n {days.map((day, index) => (\n \n \n \n {day.default}\n \n \n {props.user_locations!.length > 1 && (\n \n \n {availability[index].location\n ? `${availability[index].location?.street}`\n : 'Geen locatie'}\n \n \n )}\n \n {locations!.length > 1 && (\n \n \n \n \n \n )}\n \n \n \n handleCheckboxChange(index, '07:00-10:00', checked)\n }\n />\n \n \n \n handleCheckboxChange(index, '10:00-13:00', checked)\n }\n />\n \n \n \n handleCheckboxChange(index, '13:00-16:00', checked)\n }\n />\n \n \n \n handleCheckboxChange(index, '16:00-19:00', checked)\n }\n />\n \n \n \n handleCheckboxChange(index, '19:00-22:00', checked)\n }\n />\n \n \n \n handleCheckboxChange(index, '07:00-22:00', checked)\n }\n />\n \n \n ))}\n \n ) : (\n <>\n \n {days.map((day, index) => (\n \n \n \n {day.mobile}\n \n \n \n 1 ? 'block' : 'none',\n }}>\n {availability[index].location\n ? `${availability[index].location?.street}`\n : 'Geen locatie'}\n \n \n {locations!.length > 1 && (\n \n Verander\n \n )}\n \n ))}\n \n \n \n \n 07:00
tot
10:00\n \n \n {days.map((_e, index) => (\n \n \n handleCheckboxChange(index, '07:00-10:00', checked)\n }\n />\n \n ))}\n
\n \n \n \n 10:00
tot
13:00\n \n \n {days.map((_e, index) => (\n \n \n handleCheckboxChange(index, '10:00-13:00', checked)\n }\n />\n \n ))}\n
\n \n \n \n 13:00
tot
16:00\n \n \n {days.map((_e, index) => (\n \n \n handleCheckboxChange(index, '13:00-16:00', checked)\n }\n />\n \n ))}\n
\n \n \n \n 16:00
tot
19:00\n \n \n {days.map((_e, index) => (\n \n \n handleCheckboxChange(index, '16:00-19:00', checked)\n }\n />\n \n ))}\n
\n \n \n \n 19:00
tot
22:00\n \n \n {days.map((_e, index) => (\n \n \n handleCheckboxChange(index, '19:00-22:00', checked)\n }\n />\n \n ))}\n
\n \n \n \n Hele dag\n \n \n {days.map((_e, index) => (\n \n \n handleCheckboxChange(index, '07:00-22:00', checked)\n }\n />\n \n ))}\n \n \n )}\n \n {locations?.map((location, index) => (\n handleLocationChange(anchorEl!.id, location)}>\n {location.street}, {location.city}\n \n ))}\n \n \n ) : (\n // start jack availgrid\n \n \n \n \n {days.map((day, index) => (\n // the first and last boxes have rounded corners\n \n \n \n {day.mobile.toUpperCase()}\n \n \n \n ))}\n {days.map((day, index) => (\n \n \n \n \n {\n [\n '07:00-10:00',\n '10:00-13:00',\n '13:00-16:00 ',\n '16:00-19:00 ',\n '19:00-22:00 ',\n '',\n 'Hele dag ',\n ][index]\n }\n \n \n \n {days.map((dayPart, index_dayPart) => (\n \n {\n /* Do nothing */\n }\n : async () => {\n await handleCheckboxChange(\n index_dayPart,\n Object.keys(availability[index_dayPart])[\n index == 6 ? index : index + 1\n ] as DayPart,\n !Object.values(availability[index_dayPart])[\n index == 6 ? index : index + 1\n ]\n );\n }\n }>\n \n \n \n ))}\n \n ))}\n \n \n \n )}\n
\n );\n};\n\nexport default AvailabilityGrid;\n","import React from 'react';\n\nimport { Grid, Typography } from '@mui/material';\nimport theme from 'theme';\n\ninterface IAvailabilityGridHeaderProps {\n days: Record;\n}\n\nconst AvailabilityGridHeader: React.FunctionComponent = ({\n days,\n}) => {\n return (\n \n \n \n \n {days &&\n Object.values(days).map((day, i) => {\n return (\n \n \n {day as string}\n \n \n );\n })}\n \n \n \n );\n};\n\nexport default AvailabilityGridHeader;\n","import React from 'react';\n\nimport { Grid } from '@mui/material';\n\nimport { BaseAvailability } from 'assets/api';\n\nimport { IAvailabilityTimes } from '..';\n\ninterface IAvailabilityGridRasterProps {\n availabilities?: BaseAvailability[];\n days: Record;\n times: IAvailabilityTimes[];\n handleClickAvailability: (day: number, start_time: string, end_time: string) => void;\n disabled?: boolean;\n index?: number;\n}\n\nconst AvailabilityGridRaster: React.FunctionComponent = ({\n availabilities,\n days,\n times,\n handleClickAvailability,\n disabled,\n index,\n}) => {\n const checkAvailability = (day: number, start_time: string, end_time: string): string => {\n /**Check if the availability uses seconds this was not the case with old coach flow. This will add the second to make the grid work */\n availabilities?.forEach((availability: BaseAvailability, i) => {\n if (availability.start_time.length < 6 && availability.end_time.length < 6) {\n availability.start_time = availability.start_time + ':00';\n availability.end_time = availability.end_time + ':00';\n\n availabilities.splice(i, 1, availability);\n }\n });\n\n let state = 'unset';\n const found: BaseAvailability | undefined = availabilities?.find(\n (availability: BaseAvailability) =>\n availability.start_time === start_time &&\n availability.end_time === end_time &&\n availability.day_number == day\n );\n if (found) {\n if (index) {\n state = '#1fd165';\n } else {\n state = '#1fd165';\n }\n } else {\n state = 'unset';\n }\n\n return state;\n };\n\n const handleFakeClick = () => {\n /* Do nothing */\n };\n\n return (\n \n {times.map((time: IAvailabilityTimes, i: number) => {\n return (\n <>\n {Object.keys(days).map((day, y) => {\n return (\n handleFakeClick()\n : () =>\n handleClickAvailability(\n day as unknown as number,\n time.start_time + ':00',\n time.end_time + ':00'\n )\n }\n sx={{\n marginTop: i === 5 ? '10px' : 'unset',\n border: '1px solid gray',\n borderRadius: i === 5 ? (y === 6 ? '0px 0px 15px 0px' : 'unset') : 'unset',\n backgroundColor: checkAvailability(\n day as unknown as number,\n time.start_time + ':00',\n time.end_time + ':00'\n ),\n height: { xs: '40px', sm: '48px' },\n cursor: disabled ? 'unset' : 'pointer',\n }}\n />\n );\n })}\n \n );\n })}\n \n );\n};\n\nexport default AvailabilityGridRaster;\n","import React from 'react';\n\nimport { Grid, Typography } from '@mui/material';\n\nimport { AvailabilityIn, BaseAvailability } from 'assets/api';\nimport { useWidth } from 'functions/Hooks/useDeviceDetect';\n\nimport AvailabilityGridHeader from './Components/AvailabilityGridHeader';\nimport AvailabilityGridRaster from './Components/AvailabilityGridRaster';\n\nexport interface IAvailabilityTimes {\n start_time: string;\n end_time: string;\n}\n\ninterface IAvailabilityGridProps {\n availabilities?: BaseAvailability[];\n handleAdd?: (item: AvailabilityIn) => void;\n handleRemove?: (item: BaseAvailability) => void;\n disabled?: boolean;\n index?: number;\n}\nconst AvailabilityGrid_V2: React.FunctionComponent = ({\n availabilities,\n handleAdd,\n handleRemove,\n disabled,\n index,\n}) => {\n const currentWidth = useWidth();\n const days = {\n 1: 'MA',\n 2: 'DI',\n 3: 'WO',\n 4: 'DO',\n 5: 'VR',\n 6: 'ZA',\n 7: 'ZO',\n };\n const times: IAvailabilityTimes[] = [\n {\n start_time: '07:00',\n end_time: '10:00',\n },\n {\n start_time: '10:00',\n end_time: '13:00',\n },\n {\n start_time: '13:00',\n end_time: '16:00',\n },\n {\n start_time: '16:00',\n end_time: '19:00',\n },\n {\n start_time: '19:00',\n end_time: '22:00',\n },\n {\n start_time: '07:00',\n end_time: '22:00',\n },\n ];\n\n const handleClickAvailability = (day: number, start_time: string, end_time: string) => {\n const found: BaseAvailability | undefined = availabilities?.find(\n (availability: BaseAvailability) =>\n availability.start_time === start_time &&\n availability.end_time === end_time &&\n availability.day_number == day\n );\n if (found && handleRemove) {\n handleRemove(found);\n } else {\n const newAvailabilityData: AvailabilityIn = {\n day_number: day,\n start_time: start_time,\n end_time: end_time,\n };\n\n if (\n newAvailabilityData.start_time === '07:00:00' &&\n newAvailabilityData.end_time === '22:00:00'\n ) {\n /** Removes all availabilities in the day if select a full day */\n\n const found: BaseAvailability[] | undefined = availabilities?.filter(\n (availability: BaseAvailability) => availability.day_number == day\n );\n\n if (found && handleRemove) {\n found.forEach((f: BaseAvailability) => {\n handleRemove(f);\n });\n }\n } else {\n /** Removes full day if a specific time is selected the same day */\n const found: BaseAvailability | undefined = availabilities?.find(\n (availability: BaseAvailability) =>\n availability.start_time === '07:00:00' &&\n availability.end_time === '22:00:00' &&\n availability.day_number == day\n );\n\n if (found && handleRemove) {\n handleRemove(found);\n }\n }\n\n if (handleAdd) {\n handleAdd(newAvailabilityData);\n }\n }\n };\n\n return (\n \n \n \n \n \n \n {times.map((time: IAvailabilityTimes, i: number) => {\n return (\n \n {i !== 5 ? (\n \n {`${time.start_time} -${currentWidth === 'xs' ? '\\r\\n' : ' '}${time.end_time}${\n currentWidth === 'xs' ? ' ' : ''\n }`}\n \n ) : (\n \n Hele dag\n \n )}\n \n );\n })}\n \n \n\n \n \n \n \n );\n};\n\nexport default AvailabilityGrid_V2;\n","import React from 'react';\n\nimport { ButtonProps, InputLabel } from '@mui/material';\n\nimport { Button, TextField } from 'components/Elements/Forms/Inputs';\n\ntype UploadButtonProps = {\n buttonTranslation: JSX.Element;\n handleChange: (e: React.ChangeEvent) => void;\n inputType?: string;\n} & ButtonProps;\n\n// Button that let's a user pick a file from their computer, which is than used by the handleChange function.\n// Standard accepted inputType is .pdf\nconst UploadButton = ({\n buttonTranslation,\n handleChange,\n inputType,\n ...buttonProps\n}: UploadButtonProps) => {\n return (\n \n \n \n {buttonTranslation}\n \n \n handleChange(e)}\n inputProps={{ accept: inputType ? inputType : '.pdf' }}\n />\n \n );\n};\n\nexport default UploadButton;\n","function findMyLocation(onSucces) {\n // form.preventDefault();\n const keyMap = 'uXiGedjIEZQpS4UjwDoH';\n let cityName, country, state;\n if (navigator.geolocation) {\n navigator.geolocation.getCurrentPosition(successFunction, errorFunction, { timeout: 10000 });\n }\n function successFunction(position) {\n var lat = position.coords.latitude;\n var lng = position.coords.longitude;\n initialize(lat, lng);\n }\n function errorFunction() {\n //alert(\"Kunnen helaas geen connectie maken met de servers.\");\n }\n function initialize(lat, lng) {\n const settings = {\n async: true,\n crossDomain: true,\n url: `https://api.maptiler.com/geocoding/${lng},${lat}.json?key=${keyMap}`,\n method: 'GET',\n };\n const handleResponse = function (status, response) {\n const y = response;\n if (y) {\n cityName = filterByValue(y.features, 'city')[0].text;\n country = filterByValue(y.features, 'The Netherlands');\n state = filterByValue(y.features, 'state')[0].place_name;\n onSucces &&\n onSucces({\n cityName,\n country,\n state,\n });\n }\n };\n const xhr = new XMLHttpRequest();\n const handleStateChange = function () {\n switch (xhr.readyState) {\n case 0: // uninitialized\n case 1: // loading\n case 2: // loaded\n case 3: // waiting\n case 4:\n handleResponse(xhr.status, xhr.response);\n break;\n default:\n alert('error, could not make a connection with the servers');\n }\n };\n xhr.onreadystatechange = handleStateChange;\n xhr.responseType = 'json';\n xhr.open(settings.method, settings.url, settings.async);\n xhr.send(null);\n }\n function filterByValue(array, value) {\n return array.filter(\n data => JSON.stringify(data).toLowerCase().indexOf(value.toLowerCase()) !== -1\n );\n }\n}\n\nexport default findMyLocation;\n","import React, { useState } from 'react';\n\nimport { Edit, MyLocation, Place } from '@mui/icons-material';\nimport {\n CardActions,\n Grid,\n IconButton,\n InputAdornment,\n ListItem,\n ListItemButton,\n ListItemText,\n Radio,\n} from '@mui/material';\n\nimport { BaseUserLocation } from 'assets/api';\nimport { Button, TextField } from 'components/Elements/Forms/Inputs';\nimport findMyLocation from 'functions/location';\nimport { ILocation } from 'interfaces/Location';\n\ninterface LocationItemProps extends ILocation {\n index: number;\n readOnly?: boolean;\n onChange: (\n element:\n | React.ChangeEvent\n | { target: { name: string; value: string } },\n index: number\n ) => void;\n onSave: (index: number) => void;\n onEdit: (index: number, setOldData: React.Dispatch>) => void;\n onCancel: (index: number, oldData: ILocation) => void;\n onDelete: (index: number) => void;\n validAdressError?: boolean;\n selectedLocation?: BaseUserLocation;\n setSelectedLocation?: (location: BaseUserLocation) => void;\n isEditing?: boolean;\n}\n\nconst LocationItem: React.FunctionComponent = ({\n readOnly,\n index,\n onChange,\n onCancel,\n onEdit,\n onDelete,\n onSave,\n validAdressError,\n isEditing,\n isNew,\n selectedLocation,\n setSelectedLocation,\n ...location\n}) => {\n const [oldData, setOldData] = useState(location);\n\n return isEditing && isEditing === true ? (\n \n \n \n onChange(e, index)}\n value={location.street}\n name=\"street\"\n />\n \n \n onChange(e, index)}\n value={location.zipcode}\n name=\"zipcode\"\n error={validAdressError}\n helperText={validAdressError ? 'Postcode niet gevonden controleer nog een keer!' : ''}\n />\n \n \n onChange(e, index)}\n InputProps={{\n endAdornment: (\n \n \n findMyLocation((r: { cityName: string }) =>\n onChange(\n {\n target: {\n name: 'city',\n value: r.cityName,\n },\n },\n index\n )\n )\n }>\n \n \n \n ),\n }}\n />\n \n \n \n {\n if (location.zipcode && location.street && location.city) setOldData(location);\n onSave(index);\n }}>\n Opslaan\n \n {!isNew && (\n {\n onCancel(index, oldData);\n }}>\n Annuleren\n \n )}\n \n \n \n \n \n ) : !readOnly ? (\n \n {location && setSelectedLocation && (\n <>\n setSelectedLocation(location as unknown as BaseUserLocation)}\n />\n \n )}\n \n onEdit(index, setOldData)} />\n \n ) : (\n \n \n \n \n \n \n );\n};\n\nexport default LocationItem;\n","import React, { useEffect, useState } from 'react';\n\nimport { Add } from '@mui/icons-material';\nimport { List, ListItem, ListItemText } from '@mui/material';\nimport moment from 'moment';\nimport { useSnackbar } from 'notistack';\n\nimport { BaseUserLocation, GenericStatus } from 'assets/api';\nimport useUser from 'functions/Hooks/useUser';\nimport { ILocation } from 'interfaces/Location';\n\nimport LocationItem from './Componets/LocationItem';\n\ntype propType = 'city' | 'street' | 'zipcode';\nexport type asyncFunction = (location: ILocation, index?: number) => Promise | ILocation;\ninterface LocationListProps {\n user_locations: ILocation[];\n submitEvent?: string;\n readOnly?: boolean;\n onPost?: asyncFunction;\n onPatch?: asyncFunction;\n onDelete?: (\n location: ILocation,\n index?: number\n ) => Promise | ILocation;\n selectedLocation?: BaseUserLocation;\n setSelectedLocation?: (location: BaseUserLocation) => void;\n}\n\nconst LocationList: React.FunctionComponent = ({\n selectedLocation,\n setSelectedLocation,\n readOnly,\n user_locations,\n submitEvent,\n onPost,\n onPatch,\n onDelete,\n}) => {\n const [locations, setLocations] = useState(user_locations || []);\n const { jwt } = useUser();\n const { enqueueSnackbar } = useSnackbar();\n const [validAdressError, setValidAdressError] = useState(false);\n\n const handleAdd = async () => {\n const change = [...locations];\n const index = locations.findIndex(location => location.isEditing || location.isNew);\n\n if (index > -1 && onPost && onPatch) {\n if (\n change[index].city !== '' &&\n change[index].street !== '' &&\n change[index].zipcode !== ''\n ) {\n const response = change[index].isNew\n ? await onPost(change[index], index)\n : await onPatch(change[index], index);\n if (change[index].isNew) change[index].id = response.id;\n change[index].isEditing = false;\n change[index].isNew = false;\n } else return enqueueSnackbar('Vul eerst alle gegevens in.', { variant: 'warning' });\n }\n\n setLocations([\n ...change,\n {\n id: change.length,\n created_at: moment().toISOString(),\n isEditing: true,\n isNew: true,\n street: '',\n city: '',\n zipcode: '',\n country: '',\n updated_at: '',\n },\n ]);\n };\n\n const handleChange = (\n {\n target: { name, value },\n }:\n | React.ChangeEvent\n | { target: { name: string; value: string } },\n index: number\n ) => {\n const change = [...locations];\n change[index][name as propType] = value;\n\n if (name === 'zipcode') {\n if (value.length > 5) {\n checkZipcode(value);\n }\n }\n\n setLocations(change);\n };\n\n const handleSave = async (index: number) => {\n if (\n locations[index].city !== '' &&\n locations[index].street !== '' &&\n locations[index].zipcode !== '' &&\n onPost &&\n onPatch\n ) {\n const change = [...locations];\n const response = change[index].isNew\n ? await onPost(change[index], index)\n : await onPatch(change[index], index);\n if (change[index].isNew) change[index].id = response.id;\n change[index].isEditing = false;\n change[index].isNew = false;\n setLocations(change);\n }\n };\n\n const handleEdit = (index: number, reset: React.Dispatch>) => {\n const change = [...locations];\n const otherIndex = locations.findIndex(location => location.isEditing || location.isNew);\n\n if (otherIndex > -1) {\n if (\n change[otherIndex].city !== '' &&\n change[otherIndex].street !== '' &&\n change[otherIndex].zipcode !== ''\n ) {\n change[otherIndex].isEditing = false;\n reset(change[otherIndex]);\n } else return enqueueSnackbar('Vul eerst alle gegevens in.', { variant: 'warning' });\n }\n change[index].isEditing = true;\n\n setLocations(change);\n };\n\n const handleCancel = (index: number, oldData: ILocation) => {\n const change = [...locations];\n change[index] = oldData;\n change[index].isEditing = false;\n setLocations(change);\n };\n\n const handleDeletion = async (index: number) => {\n let response;\n if (!locations[index].isNew && onDelete) response = await onDelete(locations[index], index);\n\n if (!response || (response as GenericStatus).status === 'ok' || (response as ILocation).city) {\n setLocations(locations.filter((_e, otherIndex) => otherIndex !== index));\n }\n };\n\n const handleSubmit = () => {\n const change = [...locations];\n const index = locations.findIndex(location => location.isEditing || location.isNew);\n if (index > -1) {\n if (\n change[index].city !== '' &&\n change[index].street !== '' &&\n change[index].zipcode !== ''\n ) {\n handleSave(index);\n }\n }\n };\n\n const checkZipcode = (zipcode: string) => {\n const requestOptions = {\n method: 'GET',\n headers: {\n accept: 'application/json',\n 'Content-Type': 'application/json',\n Authorization: jwt(),\n },\n };\n fetch(\n `https://nominatim.openstreetmap.org/search?q=${zipcode}&format=json&addressdetails=1&limit=1`,\n requestOptions\n )\n .then(r => r.json())\n .then(r => {\n if (r.length > 0) {\n setValidAdressError(false);\n } else {\n setValidAdressError(true);\n }\n });\n };\n\n useEffect(() => {\n submitEvent && document.addEventListener(submitEvent, handleSubmit);\n\n return () => {\n submitEvent && document.removeEventListener(submitEvent, handleSubmit);\n };\n }, [locations]);\n\n useEffect(() => {\n setLocations(user_locations);\n }, [user_locations]);\n\n return (\n \n {locations.map((location, index) => (\n handleChange(e, index)}\n onSave={() => handleSave(index)}\n onDelete={() => handleDeletion(index)}\n onEdit={(_, r) => handleEdit(index, r)}\n onCancel={(_, old) => handleCancel(index, old)}\n validAdressError={validAdressError}\n {...location}\n setSelectedLocation={setSelectedLocation}\n selectedLocation={selectedLocation}\n isEditing={location.isEditing}\n />\n ))}\n {!readOnly && (\n \n \n \n \n )}\n \n );\n};\n\nexport default LocationList;\n","import React, { useEffect, useState } from 'react';\n\nimport { Grid } from '@mui/material';\n\nimport {\n CurrentStudyLevelCoachEnum,\n SchoolLevelCoachEnum,\n SchoolLevelEnum_Output,\n} from 'assets/api';\nimport { ITextFieldProps, MenuItemSelect, TextField } from 'components/Elements/Forms/Inputs';\n\n//Receive either a save function and a name, or a set function\ntype SchoolLevelSelectSaveProps = {\n saveSchoolLevelParent: (name: string, value: string) => void;\n saveKey: string;\n setSchoolLevelParent?: never;\n defaultSchoolLevel?: SchoolLevelCoachEnum;\n schoolLevelVariant: 'highschool' | 'higherEducation' | 'noPrimarySchool' | 'all';\n} & ITextFieldProps;\n\ntype SchoolLevelSelectSetProps = {\n setSchoolLevelParent: (s: SchoolLevelEnum_Output) => void;\n saveSchoolLevelParent?: never;\n saveKey?: never;\n defaultSchoolLevel?: SchoolLevelCoachEnum;\n schoolLevelVariant: 'highschool' | 'higherEducation' | 'noPrimarySchool' | 'all';\n} & ITextFieldProps;\n\ntype SchoolLevelSelectProps = SchoolLevelSelectSaveProps | SchoolLevelSelectSetProps;\n\n//Select element designed to return a school level\nconst SchoolLevelSelect = ({\n setSchoolLevelParent,\n saveSchoolLevelParent,\n saveKey,\n defaultSchoolLevel,\n schoolLevelVariant,\n ...selectProps\n}: SchoolLevelSelectProps) => {\n const schoolLevels = Object.keys(SchoolLevelEnum_Output);\n const [schoolLevelOptions, setSchoolLevelOptions] = useState(schoolLevels);\n const [schoolLevel, setSchoolLevel] = useState();\n\n //Change between different types of school levels. \"all\" needs no filter.\n useEffect(() => {\n let levels: string[] = schoolLevels;\n\n switch (schoolLevelVariant) {\n case 'highschool':\n levels = schoolLevels.filter(\n level => level != 'MBO' && level != 'HBO' && level != 'WO' && level != 'BASISSCHOOL'\n );\n break;\n case 'higherEducation':\n levels = schoolLevels.filter(level =>\n Object.keys(CurrentStudyLevelCoachEnum).includes(level)\n );\n break;\n case 'noPrimarySchool':\n levels = schoolLevels.filter(level => Object.keys(SchoolLevelCoachEnum).includes(level));\n break;\n default:\n break;\n }\n\n setSchoolLevelOptions(levels);\n }, [schoolLevelVariant]);\n\n return (\n \n {\n //Different save/set functions are possible\n const c = e.target.value;\n setSchoolLevel(c);\n\n if (setSchoolLevelParent) {\n setSchoolLevelParent(c as SchoolLevelEnum_Output);\n }\n\n if (saveSchoolLevelParent) {\n saveSchoolLevelParent(saveKey, c);\n }\n }}\n defaultValue={defaultSchoolLevel}\n value={schoolLevel}>\n {schoolLevelOptions.map(school_level => (\n \n {school_level.toLowerCase().replace('_', ' ')}\n \n ))}\n \n \n );\n};\n\nexport default SchoolLevelSelect;\n","import React, { FunctionComponent, ReactNode, useState } from 'react';\n\nimport { Backdrop, CardActions, CardContent, CardHeader, Paper } from '@mui/material';\n\nexport interface CustomModalProps {\n children: ReactNode;\n}\n\nexport interface ICustomModal {\n handleOpen: (options?: ICustomModalOptions) => void;\n handleClose: () => void;\n}\n\nexport interface ICustomModalOptions {\n title?: string;\n subHeader?: string;\n actions?: ReactNode;\n content?: ReactNode;\n}\n\nexport const CustomModalContext = React.createContext(undefined);\n\nconst CustomModal: FunctionComponent = ({ children }) => {\n const [isOpen, setIsOpen] = useState(false);\n const [title, setTitle] = useState('');\n const [subHeader, setSubHeader] = useState('');\n const [content, setContent] = useState(undefined);\n const [actions, setActions] = useState(undefined);\n\n const handleOpen = (options?: ICustomModalOptions) => {\n setIsOpen(true);\n options?.title && setTitle(options?.title);\n options?.subHeader && setSubHeader(options?.subHeader);\n options?.content && setContent(options?.content);\n options?.actions && setActions(options?.actions);\n };\n\n const handleClose = () => {\n setIsOpen(false);\n setTitle('');\n setSubHeader('');\n setContent(undefined);\n setActions(undefined);\n };\n\n return (\n \n {children}\n \n \n {title && subHeader && (\n \n )}\n {content && (\n \n {content}\n \n )}\n\n {actions && {actions}}\n \n \n \n );\n};\n\nexport const useCustomModal = () => React.useContext(CustomModalContext);\n\nexport default CustomModal;\n","// *************\n\n// Globale Regex\n\n// *************\n// export const validEmail = new RegExp(/^(([^<>()\\[\\]\\\\.,;:\\s@\"]+(\\.[^<>()\\[\\]\\\\.,;:\\s@\"]+)*)|(\".+\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$/);\n\nexport const validPassword = new RegExp('^(?=.*?[A-Za-z])(?=.*?[0-9]).{6,}$');\n\nexport const validTextField = new RegExp(/^[a-z][a-z\\s]*$/);\n\nexport const phoneNumber = new RegExp(\n /^((\\+|00(\\s|\\s?\\-\\s?)?)31(\\s|\\s?\\-\\s?)?(\\(0\\)[\\-\\s]?)?|0)[1-9]((\\s|\\s?\\-\\s?)?[0-9])((\\s|\\s?-\\s?)?[0-9])((\\s|\\s?-\\s?)?[0-9])\\s?[0-9]\\s?[0-9]\\s?[0-9]\\s?[0-9]\\s?[0-9]$/\n);\n\nexport const validNumber = new RegExp('^[0-9]+$');\n\nexport const validHuisnummer = new RegExp(/^[1-9][0-9]*.*$/);\n\nfunction mod97(string) {\n var checksum = string.slice(0, 2),\n fragment;\n for (var offset = 2; offset < string.length; offset += 7) {\n fragment = String(checksum) + string.substring(offset, offset + 7);\n checksum = parseInt(fragment, 10) % 97;\n }\n\n return checksum;\n}\n\nexport const vatNumber = new RegExp(/^[A-Z]{2}[0-9]{9}B[0-9]{2}$/);\n\nexport const kvkNumber = new RegExp(/^[0-9]{8}$/);\n\nexport function checkIBAN(input) {\n var CODE_LENGTHS = {\n AD: 24,\n AE: 23,\n AT: 20,\n AZ: 28,\n BA: 20,\n BE: 16,\n BG: 22,\n BH: 22,\n BR: 29,\n CH: 21,\n CR: 21,\n CY: 28,\n CZ: 24,\n DE: 22,\n DK: 18,\n DO: 28,\n EE: 20,\n ES: 24,\n FI: 18,\n FO: 18,\n FR: 27,\n GB: 22,\n GI: 23,\n GL: 18,\n GR: 27,\n GT: 28,\n HR: 21,\n HU: 28,\n IE: 22,\n IL: 23,\n IS: 26,\n IT: 27,\n JO: 30,\n KW: 30,\n KZ: 20,\n LB: 28,\n LI: 21,\n LT: 20,\n LU: 20,\n LV: 21,\n MC: 27,\n MD: 24,\n ME: 22,\n MK: 19,\n MR: 27,\n MT: 31,\n MU: 30,\n NL: 18,\n NO: 15,\n PK: 24,\n PL: 28,\n PS: 29,\n PT: 25,\n QA: 29,\n RO: 24,\n RS: 22,\n SA: 24,\n SE: 24,\n SI: 19,\n SK: 24,\n SM: 27,\n TN: 24,\n TR: 26,\n AL: 28,\n BY: 28,\n CR: 22,\n EG: 29,\n GE: 22,\n IQ: 23,\n LC: 32,\n SC: 31,\n ST: 25,\n SV: 28,\n TL: 23,\n UA: 29,\n VA: 22,\n VG: 24,\n XK: 20,\n };\n var iban = String(input)\n .toUpperCase()\n .replace(/[^A-Z0-9]/g, ''), // keep only alphanumeric characters\n code = iban.match(/^([A-Z]{2})(\\d{2})([A-Z\\d]+)$/), // match and capture (1) the country code, (2) the check digits, and (3) the rest\n digits;\n // check syntax and length\n if (!code || iban.length !== CODE_LENGTHS[code[1]]) {\n return false;\n }\n // rearrange country code and check digits, and convert chars to ints\n digits = (code[3] + code[1] + code[2]).replace(/[A-Z]/g, function (letter) {\n return letter.charCodeAt(0) - 55;\n });\n\n // final check\n return mod97(digits) == 1;\n}\n\nexport const checkBSN = bsn => {\n if (bsn != '') {\n let divisor = 1000000000;\n let total = 0;\n let result = bsn;\n for (let index = 9; index > 1; index--) {\n divisor /= 10;\n total += index * Math.floor(result / divisor);\n result = result % divisor;\n }\n let rest = total % 11;\n\n return result === rest;\n }\n\n return null;\n};\n\nexport const checkCity = city => {\n return String(city).match(/\\d/);\n};\n\nexport const checkPhone = phoneNumber => {\n return String(phoneNumber).match(\n /^(?:0|(?:\\+|00) ?31 ?)(?:(?:[1-9] ?(?:[0-9] ?){8})|(?:6 ?-? ?[1-9] ?(?:[0-9] ?){7})|(?:[1,2,3,4,5,7,8,9]\\d ?-? ?[1-9] ?(?:[0-9] ?){6})|(?:[1,2,3,4,5,7,8,9]\\d{2} ?-? ?[1-9] ?(?:[0-9] ?){5}))$/\n );\n};\n\nexport const checkMail = validEmail => {\n return String(validEmail).match(\n /^(([^<>()\\[\\]\\\\.,;:\\s@\"]+(\\.[^<>()\\[\\]\\\\.,;:\\s@\"]+)*)|(\".+\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$/\n );\n};\n\nexport const ValidateEmail = mail => {\n let regexp = new RegExp(\n /^(([^<>()\\[\\]\\\\.,;:\\s@\"]+(\\.[^<>()\\[\\]\\\\.,;:\\s@\"]+)*)|(\".+\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$/\n );\n\n let serchfind = regexp.test(mail);\n\n return serchfind;\n};\n\nexport const checkZip = zipcode => {\n return String(zipcode).match(/^[1-9][0-9]{3} ?(?!sa|sd|ss)[a-z]{2}$/i);\n};\n\nexport const checkDate = date => {\n return String(date).match(\n /^(?:(?:31(\\/|-|\\.)(?:0?[13578]|1[02]))\\1|(?:(?:29|30)(\\/|-|\\.)(?:0?[13-9]|1[0-2])\\2))(?:(?:1[6-9]|[2-9]\\d)?\\d{2})$|^(?:29(\\/|-|\\.)0?2\\3(?:(?:(?:1[6-9]|[2-9]\\d)?(?:0[48]|[2468][048]|[13579][26])|(?:(?:16|[2468][048]|[3579][26])00))))$|^(?:0?[1-9]|1\\d|2[0-8])(\\/|-|\\.)(?:(?:0?[1-9])|(?:1[0-2]))\\4(?:(?:1[6-9]|[2-9]\\d)?\\d{2})$/\n );\n};\n\n// Check whether a date is in the format YYYY-MM-DDInvalid date\nexport const checkDateYMD = date => {\n return String(date).match(/^\\d{4}-\\d{2}-\\d{2}$/);\n};\n\nexport const checkZipcode = async zipcode => {\n let requestOptions = {\n method: 'POST',\n headers: {\n accept: 'application/json',\n 'Content-Type': 'application/json',\n },\n };\n\n return fetch(\n `https://nominatim.openstreetmap.org/search?q=${zipcode}&format=json&addressdetails=1&limit=1`,\n requestOptions\n ).then(r => r.json());\n};\n","export const dataURItoBlob = (dataURI: string) => {\n // convert base64 to raw binary data held in a string\n // doesn't handle URLEncoded DataURIs - see SO answer #6850276 for code that does this\n const byteString = atob(dataURI.split(',')[1]);\n\n // separate out the mime component\n const mimeString = dataURI.split(',')[0].split(':')[1].split(';')[0];\n\n // write the bytes of the string to an ArrayBuffer\n const ab = new ArrayBuffer(byteString.length);\n\n // create a view into the buffer\n const ia = new Uint8Array(ab);\n\n // set the bytes of the buffer to the correct values\n for (let i = 0; i < byteString.length; i++) {\n ia[i] = byteString.charCodeAt(i);\n }\n\n // write the ArrayBuffer to a blob, and you're done\n const blob = new Blob([ab], { type: mimeString });\n\n return blob;\n};\n","export function capitalizeFirstLetter(string: string) {\n return string.charAt(0).toUpperCase() + string.slice(1);\n}\n\nexport function shortenString(string: string, length: number) {\n if (string.length > length) {\n return string.slice(0, length - 3) + '...';\n }\n\n return string;\n}\n\nexport function lowerCaseFirstLetter(string: string) {\n return string.charAt(0).toLowerCase() + string.slice(1);\n}\n","import React, { useContext } from 'react';\n\nimport { Breakpoint, Theme, useTheme } from '@mui/material/styles';\nimport useMediaQuery from '@mui/material/useMediaQuery';\n\ntype BreakpointOrNull = Breakpoint | null;\n\nfunction useWidth() {\n const theme: Theme = useTheme();\n const keys: readonly Breakpoint[] = [...theme.breakpoints.keys].reverse();\n\n return (\n keys.reduce((output: BreakpointOrNull, key: Breakpoint) => {\n const matches = useMediaQuery(theme.breakpoints.up(key));\n\n return !output && matches ? key : output;\n }, null) || 'xs'\n );\n}\n\nexport interface IDeviceDetect {\n isMobile: boolean;\n currentWidth: 'xs' | 'sm' | 'md' | 'lg' | 'xl';\n}\n\nconst DeviceDetectContext = React.createContext({\n isMobile: false,\n currentWidth: 'xl',\n});\n\nconst DeviceDetectSource = ({ children }: { children: JSX.Element[] | JSX.Element }) => {\n const currentWidth = useWidth();\n\n return (\n \n {children}\n \n );\n};\n\nconst useDeviceDetect = () => useContext(DeviceDetectContext);\n\nexport { DeviceDetectSource, useWidth };\nexport default useDeviceDetect;\n","import React, { useContext, useEffect, useState } from 'react';\n\nimport { appClient } from 'App';\nimport { BaseLabel } from 'assets/api';\n\nimport useUser from './useUser';\n\nconst tempLabel: ILabel = {\n id: 0,\n gtm_id: '',\n name: 'Studyworks',\n main_color: '',\n selected: true,\n light_color: '',\n dark_color: '',\n contrast_color: '',\n domain: '',\n is_active: false,\n logo: '',\n};\n\nexport interface ILabel extends BaseLabel {\n selected?: boolean;\n}\nconst LabelContext = React.createContext(tempLabel);\n\nconst LabelSource = ({ children }: { children: JSX.Element[] | JSX.Element }) => {\n const [labels, setLabels] = useState([]);\n const [currentLabel, setCurrentLabel] = useState();\n const { user } = useUser();\n\n useEffect(() => {\n appClient.labels.getLabelsViewAllLabels().then(result => {\n if (result !== null) {\n setLabels(result);\n }\n });\n }, []);\n\n useEffect(() => {\n if (user?.guardian?.id) {\n appClient.guardians.getGuardiansViewGuardianSimple(user.guardian.id).then(r => {\n setCurrentLabel(r.label);\n });\n }\n }, [user]);\n\n useEffect(() => {\n if (labels) {\n const label =\n labels.find(search => {\n return window.location.href.includes(\n search.name.toLowerCase().replace('.com', '').replace('.eu', '')\n );\n }) || labels[0];\n setCurrentLabel(label);\n }\n }, [window.location.href, labels]);\n\n return {children};\n};\n\nconst useLabel = () => useContext(LabelContext);\n\nexport { LabelSource };\nexport default useLabel;\n","import React, { useContext, useState } from 'react';\n\ninterface INavProviderProps {\n children: React.ReactNode;\n}\n\ninterface INavContexProps {\n show: boolean;\n setShow: React.Dispatch>;\n}\n\nexport const NavContex = React.createContext(null);\n\nexport const NavContextProvider: React.FC = ({ children }) => {\n const [show, setShow] = useState(true);\n\n return (\n \n {children}\n \n );\n};\n\nexport const useNavContext = () => {\n const context = useContext(NavContex);\n if (!context) {\n throw new Error('useNavContext must be used within a NavContextProvider');\n }\n\n return context;\n};\n\nexport default useNavContext;\n","import React, { useContext, useState } from 'react';\n\nimport { RegularProduct } from 'assets/api';\n\ninterface IProductStoreProviderProps {\n children: React.ReactNode;\n}\n\ninterface IProductStoreContexProps {\n products: RegularProduct[];\n setProducsts: React.Dispatch>;\n}\n\nexport const ProductStoreContex = React.createContext(null);\n\nexport const ProductStoreContextProvider: React.FC = ({ children }) => {\n const [products, setProducsts] = useState([]);\n\n return (\n \n {children}\n \n );\n};\n\nexport const useProductStoreContex = () => {\n const context = useContext(ProductStoreContex);\n if (!context) {\n throw new Error('useNavContext must be used within a ProductStoreContex');\n }\n\n return context;\n};\n\nexport default useProductStoreContex;\n","import React, { useContext, useState } from 'react';\n\nimport { appClient } from 'App';\nimport {\n Body_login_for_access_token_token_post,\n RegularUserWithGroupsAndTypes,\n Token,\n} from 'assets/api';\n\nconst UserContext = React.createContext({\n jwt: () => 'No jwt',\n setUser: () => {\n /* Do nothing */\n },\n});\n\nexport type UserProps = 'first_name' | 'last_name' | 'email_address';\n\nexport interface ILoginCredentials {\n username: string;\n password: string;\n}\n\nexport interface IUseUser {\n isValidUser?: boolean;\n isLoadingUser?: boolean;\n user?: IUser;\n getUser?: () => Promise;\n setUser: (user: IUser) => void;\n signIn?: (login: ILoginCredentials) => Promise;\n jwt: () => string;\n shiftsProvider?: boolean;\n setShiftsProvider?: (value: boolean) => void;\n}\n\nexport type IUser = RegularUserWithGroupsAndTypes;\n\nconst UserSource = ({ children }: { children: JSX.Element[] }) => {\n const [user, setUser] = useState();\n const [isLoadingUser, setIsLoadingUser] = useState(true);\n const [isValidUser] = useState(true);\n const [shiftsProvider, setShiftsProvider] = useState(false);\n\n const jwt = (): string => {\n const jwt = localStorage.getItem('jwt');\n if (jwt) return jwt;\n else {\n return 'not set';\n }\n };\n\n const signIn = async (login: Body_login_for_access_token_token_post) => {\n const response = await appClient.default.postLoginForAccessToken(login);\n // if (response.mfa === \"none\"){\n const { access_token } = response;\n const jwt = `Bearer ${access_token}`;\n // setToken(access_token);\n localStorage.setItem('jwt', jwt);\n\n // }\n return response;\n };\n\n const getUser = async (force?: boolean) => {\n setIsLoadingUser(true);\n if (!user || force) {\n const response = await appClient.auth.getAuthGetCurrentUser().catch(r => {\n setIsLoadingUser(false);\n throw new Error(r);\n });\n setIsLoadingUser(false);\n setUser(response);\n\n return response;\n } else {\n setIsLoadingUser(false);\n\n return await Promise.resolve(user);\n }\n };\n\n return (\n \n {children}\n \n );\n};\n\nconst useUser = () => useContext(UserContext);\n\nexport { UserSource };\nexport default useUser;\n","import { appClient } from 'App';\nimport { EmailValidationIn, EmailValidationOut } from 'assets/api';\n\n//Send email to check if sendgrid accepts it as a correct email-address and save it to the data_bundle if it is correct.\nexport const validateEmailSendGrid = async (emailValue: string): Promise => {\n let request: EmailValidationOut = {\n status: '',\n found: false,\n verdict: '',\n };\n\n await appClient.auth\n .postAuthValidateEmailAddress({ email: emailValue } as EmailValidationIn)\n .then((r: EmailValidationOut) => {\n request = r;\n })\n .catch((response: EmailValidationOut) => {\n request = response;\n });\n\n return request;\n};\n","function _typeof(o) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o; }, _typeof(o); }\nvar arr = [];\nvar each = arr.forEach;\nvar slice = arr.slice;\nexport function defaults(obj) {\n each.call(slice.call(arguments, 1), function (source) {\n if (source) {\n for (var prop in source) {\n if (obj[prop] === undefined) obj[prop] = source[prop];\n }\n }\n });\n return obj;\n}\nexport function hasXMLHttpRequest() {\n return typeof XMLHttpRequest === 'function' || (typeof XMLHttpRequest === \"undefined\" ? \"undefined\" : _typeof(XMLHttpRequest)) === 'object';\n}\nfunction isPromise(maybePromise) {\n return !!maybePromise && typeof maybePromise.then === 'function';\n}\nexport function makePromise(maybePromise) {\n if (isPromise(maybePromise)) {\n return maybePromise;\n }\n return Promise.resolve(maybePromise);\n}","function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\nfunction _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\nfunction _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == _typeof(i) ? i : i + \"\"; }\nfunction _toPrimitive(t, r) { if (\"object\" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != _typeof(i)) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\nfunction _typeof(o) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o; }, _typeof(o); }\nimport { hasXMLHttpRequest } from './utils.js';\nimport * as fetchNode from './getFetch.cjs';\nvar fetchApi;\nif (typeof fetch === 'function') {\n if (typeof global !== 'undefined' && global.fetch) {\n fetchApi = global.fetch;\n } else if (typeof window !== 'undefined' && window.fetch) {\n fetchApi = window.fetch;\n } else {\n fetchApi = fetch;\n }\n}\nvar XmlHttpRequestApi;\nif (hasXMLHttpRequest()) {\n if (typeof global !== 'undefined' && global.XMLHttpRequest) {\n XmlHttpRequestApi = global.XMLHttpRequest;\n } else if (typeof window !== 'undefined' && window.XMLHttpRequest) {\n XmlHttpRequestApi = window.XMLHttpRequest;\n }\n}\nvar ActiveXObjectApi;\nif (typeof ActiveXObject === 'function') {\n if (typeof global !== 'undefined' && global.ActiveXObject) {\n ActiveXObjectApi = global.ActiveXObject;\n } else if (typeof window !== 'undefined' && window.ActiveXObject) {\n ActiveXObjectApi = window.ActiveXObject;\n }\n}\nif (!fetchApi && fetchNode && !XmlHttpRequestApi && !ActiveXObjectApi) fetchApi = fetchNode.default || fetchNode;\nif (typeof fetchApi !== 'function') fetchApi = undefined;\nvar addQueryString = function addQueryString(url, params) {\n if (params && _typeof(params) === 'object') {\n var queryString = '';\n for (var paramName in params) {\n queryString += '&' + encodeURIComponent(paramName) + '=' + encodeURIComponent(params[paramName]);\n }\n if (!queryString) return url;\n url = url + (url.indexOf('?') !== -1 ? '&' : '?') + queryString.slice(1);\n }\n return url;\n};\nvar fetchIt = function fetchIt(url, fetchOptions, callback, altFetch) {\n var resolver = function resolver(response) {\n if (!response.ok) return callback(response.statusText || 'Error', {\n status: response.status\n });\n response.text().then(function (data) {\n callback(null, {\n status: response.status,\n data: data\n });\n }).catch(callback);\n };\n if (altFetch) {\n var altResponse = altFetch(url, fetchOptions);\n if (altResponse instanceof Promise) {\n altResponse.then(resolver).catch(callback);\n return;\n }\n }\n if (typeof fetch === 'function') {\n fetch(url, fetchOptions).then(resolver).catch(callback);\n } else {\n fetchApi(url, fetchOptions).then(resolver).catch(callback);\n }\n};\nvar omitFetchOptions = false;\nvar requestWithFetch = function requestWithFetch(options, url, payload, callback) {\n if (options.queryStringParams) {\n url = addQueryString(url, options.queryStringParams);\n }\n var headers = _objectSpread({}, typeof options.customHeaders === 'function' ? options.customHeaders() : options.customHeaders);\n if (typeof window === 'undefined' && typeof global !== 'undefined' && typeof global.process !== 'undefined' && global.process.versions && global.process.versions.node) {\n headers['User-Agent'] = \"i18next-http-backend (node/\".concat(global.process.version, \"; \").concat(global.process.platform, \" \").concat(global.process.arch, \")\");\n }\n if (payload) headers['Content-Type'] = 'application/json';\n var reqOptions = typeof options.requestOptions === 'function' ? options.requestOptions(payload) : options.requestOptions;\n var fetchOptions = _objectSpread({\n method: payload ? 'POST' : 'GET',\n body: payload ? options.stringify(payload) : undefined,\n headers: headers\n }, omitFetchOptions ? {} : reqOptions);\n var altFetch = typeof options.alternateFetch === 'function' && options.alternateFetch.length >= 1 ? options.alternateFetch : undefined;\n try {\n fetchIt(url, fetchOptions, callback, altFetch);\n } catch (e) {\n if (!reqOptions || Object.keys(reqOptions).length === 0 || !e.message || e.message.indexOf('not implemented') < 0) {\n return callback(e);\n }\n try {\n Object.keys(reqOptions).forEach(function (opt) {\n delete fetchOptions[opt];\n });\n fetchIt(url, fetchOptions, callback, altFetch);\n omitFetchOptions = true;\n } catch (err) {\n callback(err);\n }\n }\n};\nvar requestWithXmlHttpRequest = function requestWithXmlHttpRequest(options, url, payload, callback) {\n if (payload && _typeof(payload) === 'object') {\n payload = addQueryString('', payload).slice(1);\n }\n if (options.queryStringParams) {\n url = addQueryString(url, options.queryStringParams);\n }\n try {\n var x;\n if (XmlHttpRequestApi) {\n x = new XmlHttpRequestApi();\n } else {\n x = new ActiveXObjectApi('MSXML2.XMLHTTP.3.0');\n }\n x.open(payload ? 'POST' : 'GET', url, 1);\n if (!options.crossDomain) {\n x.setRequestHeader('X-Requested-With', 'XMLHttpRequest');\n }\n x.withCredentials = !!options.withCredentials;\n if (payload) {\n x.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');\n }\n if (x.overrideMimeType) {\n x.overrideMimeType('application/json');\n }\n var h = options.customHeaders;\n h = typeof h === 'function' ? h() : h;\n if (h) {\n for (var i in h) {\n x.setRequestHeader(i, h[i]);\n }\n }\n x.onreadystatechange = function () {\n x.readyState > 3 && callback(x.status >= 400 ? x.statusText : null, {\n status: x.status,\n data: x.responseText\n });\n };\n x.send(payload);\n } catch (e) {\n console && console.log(e);\n }\n};\nvar request = function request(options, url, payload, callback) {\n if (typeof payload === 'function') {\n callback = payload;\n payload = undefined;\n }\n callback = callback || function () {};\n if (fetchApi && url.indexOf('file:') !== 0) {\n return requestWithFetch(options, url, payload, callback);\n }\n if (hasXMLHttpRequest() || typeof ActiveXObject === 'function') {\n return requestWithXmlHttpRequest(options, url, payload, callback);\n }\n callback(new Error('No fetch and no xhr implementation found!'));\n};\nexport default request;","function _typeof(o) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o; }, _typeof(o); }\nfunction ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\nfunction _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError(\"Cannot call a class as a function\"); }\nfunction _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, \"value\" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }\nfunction _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, \"prototype\", { writable: !1 }), e; }\nfunction _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\nfunction _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == _typeof(i) ? i : i + \"\"; }\nfunction _toPrimitive(t, r) { if (\"object\" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != _typeof(i)) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\nimport { makePromise } from './utils.js';\nimport request from './request.js';\nvar getDefaults = function getDefaults() {\n return {\n loadPath: '/locales/{{lng}}/{{ns}}.json',\n addPath: '/locales/add/{{lng}}/{{ns}}',\n parse: function parse(data) {\n return JSON.parse(data);\n },\n stringify: JSON.stringify,\n parsePayload: function parsePayload(namespace, key, fallbackValue) {\n return _defineProperty({}, key, fallbackValue || '');\n },\n parseLoadPayload: function parseLoadPayload(languages, namespaces) {\n return undefined;\n },\n request: request,\n reloadInterval: typeof window !== 'undefined' ? false : 60 * 60 * 1000,\n customHeaders: {},\n queryStringParams: {},\n crossDomain: false,\n withCredentials: false,\n overrideMimeType: false,\n requestOptions: {\n mode: 'cors',\n credentials: 'same-origin',\n cache: 'default'\n }\n };\n};\nvar Backend = function () {\n function Backend(services) {\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n var allOptions = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n _classCallCheck(this, Backend);\n this.services = services;\n this.options = options;\n this.allOptions = allOptions;\n this.type = 'backend';\n this.init(services, options, allOptions);\n }\n return _createClass(Backend, [{\n key: \"init\",\n value: function init(services) {\n var _this = this;\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n var allOptions = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n this.services = services;\n this.options = _objectSpread(_objectSpread(_objectSpread({}, getDefaults()), this.options || {}), options);\n this.allOptions = allOptions;\n if (this.services && this.options.reloadInterval) {\n var timer = setInterval(function () {\n return _this.reload();\n }, this.options.reloadInterval);\n if (_typeof(timer) === 'object' && typeof timer.unref === 'function') timer.unref();\n }\n }\n }, {\n key: \"readMulti\",\n value: function readMulti(languages, namespaces, callback) {\n this._readAny(languages, languages, namespaces, namespaces, callback);\n }\n }, {\n key: \"read\",\n value: function read(language, namespace, callback) {\n this._readAny([language], language, [namespace], namespace, callback);\n }\n }, {\n key: \"_readAny\",\n value: function _readAny(languages, loadUrlLanguages, namespaces, loadUrlNamespaces, callback) {\n var _this2 = this;\n var loadPath = this.options.loadPath;\n if (typeof this.options.loadPath === 'function') {\n loadPath = this.options.loadPath(languages, namespaces);\n }\n loadPath = makePromise(loadPath);\n loadPath.then(function (resolvedLoadPath) {\n if (!resolvedLoadPath) return callback(null, {});\n var url = _this2.services.interpolator.interpolate(resolvedLoadPath, {\n lng: languages.join('+'),\n ns: namespaces.join('+')\n });\n _this2.loadUrl(url, callback, loadUrlLanguages, loadUrlNamespaces);\n });\n }\n }, {\n key: \"loadUrl\",\n value: function loadUrl(url, callback, languages, namespaces) {\n var _this3 = this;\n var lng = typeof languages === 'string' ? [languages] : languages;\n var ns = typeof namespaces === 'string' ? [namespaces] : namespaces;\n var payload = this.options.parseLoadPayload(lng, ns);\n this.options.request(this.options, url, payload, function (err, res) {\n if (res && (res.status >= 500 && res.status < 600 || !res.status)) return callback('failed loading ' + url + '; status code: ' + res.status, true);\n if (res && res.status >= 400 && res.status < 500) return callback('failed loading ' + url + '; status code: ' + res.status, false);\n if (!res && err && err.message) {\n var errorMessage = err.message.toLowerCase();\n var isNetworkError = ['failed', 'fetch', 'network', 'load'].find(function (term) {\n return errorMessage.indexOf(term) > -1;\n });\n if (isNetworkError) {\n return callback('failed loading ' + url + ': ' + err.message, true);\n }\n }\n if (err) return callback(err, false);\n var ret, parseErr;\n try {\n if (typeof res.data === 'string') {\n ret = _this3.options.parse(res.data, languages, namespaces);\n } else {\n ret = res.data;\n }\n } catch (e) {\n parseErr = 'failed parsing ' + url + ' to json';\n }\n if (parseErr) return callback(parseErr, false);\n callback(null, ret);\n });\n }\n }, {\n key: \"create\",\n value: function create(languages, namespace, key, fallbackValue, callback) {\n var _this4 = this;\n if (!this.options.addPath) return;\n if (typeof languages === 'string') languages = [languages];\n var payload = this.options.parsePayload(namespace, key, fallbackValue);\n var finished = 0;\n var dataArray = [];\n var resArray = [];\n languages.forEach(function (lng) {\n var addPath = _this4.options.addPath;\n if (typeof _this4.options.addPath === 'function') {\n addPath = _this4.options.addPath(lng, namespace);\n }\n var url = _this4.services.interpolator.interpolate(addPath, {\n lng: lng,\n ns: namespace\n });\n _this4.options.request(_this4.options, url, payload, function (data, res) {\n finished += 1;\n dataArray.push(data);\n resArray.push(res);\n if (finished === languages.length) {\n if (typeof callback === 'function') callback(dataArray, resArray);\n }\n });\n });\n }\n }, {\n key: \"reload\",\n value: function reload() {\n var _this5 = this;\n var _this$services = this.services,\n backendConnector = _this$services.backendConnector,\n languageUtils = _this$services.languageUtils,\n logger = _this$services.logger;\n var currentLanguage = backendConnector.language;\n if (currentLanguage && currentLanguage.toLowerCase() === 'cimode') return;\n var toLoad = [];\n var append = function append(lng) {\n var lngs = languageUtils.toResolveHierarchy(lng);\n lngs.forEach(function (l) {\n if (toLoad.indexOf(l) < 0) toLoad.push(l);\n });\n };\n append(currentLanguage);\n if (this.allOptions.preload) this.allOptions.preload.forEach(function (l) {\n return append(l);\n });\n toLoad.forEach(function (lng) {\n _this5.allOptions.ns.forEach(function (ns) {\n backendConnector.read(lng, ns, 'read', null, null, function (err, data) {\n if (err) logger.warn(\"loading namespace \".concat(ns, \" for language \").concat(lng, \" failed\"), err);\n if (!err && data) logger.log(\"loaded namespace \".concat(ns, \" for language \").concat(lng), data);\n backendConnector.loaded(\"\".concat(lng, \"|\").concat(ns), err, data);\n });\n });\n });\n }\n }]);\n}();\nBackend.type = 'backend';\nexport default Backend;","import lookup from 'void-elements'\nconst attrRE = /\\s([^'\"/\\s><]+?)[\\s/>]|([^\\s=]+)=\\s?(\".*?\"|'.*?')/g\n\nexport default function stringify(tag) {\n const res = {\n type: 'tag',\n name: '',\n voidElement: false,\n attrs: {},\n children: [],\n }\n\n const tagMatch = tag.match(/<\\/?([^\\s]+?)[/\\s>]/)\n if (tagMatch) {\n res.name = tagMatch[1]\n if (\n lookup[tagMatch[1]] ||\n tag.charAt(tag.length - 2) === '/'\n ) {\n res.voidElement = true\n }\n\n // handle comment tag\n if (res.name.startsWith('!--')) {\n const endIndex = tag.indexOf('-->')\n return {\n type: 'comment',\n comment: endIndex !== -1 ? tag.slice(4, endIndex) : '',\n }\n }\n }\n\n const reg = new RegExp(attrRE)\n let result = null\n for (;;) {\n result = reg.exec(tag)\n\n if (result === null) {\n break\n }\n\n if (!result[0].trim()) {\n continue\n }\n\n if (result[1]) {\n const attr = result[1].trim()\n let arr = [attr, '']\n\n if (attr.indexOf('=') > -1) {\n arr = attr.split('=')\n }\n\n res.attrs[arr[0]] = arr[1]\n reg.lastIndex--\n } else if (result[2]) {\n res.attrs[result[2]] = result[3].trim().substring(1, result[3].length - 1)\n }\n }\n\n return res\n}\n","import parseTag from './parse-tag'\n\nconst tagRE = /<[a-zA-Z0-9\\-\\!\\/](?:\"[^\"]*\"|'[^']*'|[^'\">])*>/g\nconst whitespaceRE = /^\\s*$/\n\n// re-used obj for quick lookups of components\nconst empty = Object.create(null)\n\nexport default function parse(html, options) {\n options || (options = {})\n options.components || (options.components = empty)\n const result = []\n const arr = []\n let current\n let level = -1\n let inComponent = false\n\n // handle text at top level\n if (html.indexOf('<') !== 0) {\n var end = html.indexOf('<')\n result.push({\n type: 'text',\n content: end === -1 ? html : html.substring(0, end),\n })\n }\n\n html.replace(tagRE, function (tag, index) {\n if (inComponent) {\n if (tag !== '') {\n return\n } else {\n inComponent = false\n }\n }\n const isOpen = tag.charAt(1) !== '/'\n const isComment = tag.startsWith(''\n return buff\n }\n}\n\nexport default function (doc) {\n return doc.reduce(function (token, rootEl) {\n return token + stringify('', rootEl)\n }, '')\n}\n","import parse from './parse'\nimport stringify from './stringify'\n\nexport default {\n parse,\n stringify,\n}\n","export function warn() {\n if (console && console.warn) {\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n if (typeof args[0] === 'string') args[0] = `react-i18next:: ${args[0]}`;\n console.warn(...args);\n }\n}\nconst alreadyWarned = {};\nexport function warnOnce() {\n for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n args[_key2] = arguments[_key2];\n }\n if (typeof args[0] === 'string' && alreadyWarned[args[0]]) return;\n if (typeof args[0] === 'string') alreadyWarned[args[0]] = new Date();\n warn(...args);\n}\nconst loadedClb = (i18n, cb) => () => {\n if (i18n.isInitialized) {\n cb();\n } else {\n const initialized = () => {\n setTimeout(() => {\n i18n.off('initialized', initialized);\n }, 0);\n cb();\n };\n i18n.on('initialized', initialized);\n }\n};\nexport function loadNamespaces(i18n, ns, cb) {\n i18n.loadNamespaces(ns, loadedClb(i18n, cb));\n}\nexport function loadLanguages(i18n, lng, ns, cb) {\n if (typeof ns === 'string') ns = [ns];\n ns.forEach(n => {\n if (i18n.options.ns.indexOf(n) < 0) i18n.options.ns.push(n);\n });\n i18n.loadLanguages(lng, loadedClb(i18n, cb));\n}\nfunction oldI18nextHasLoadedNamespace(ns, i18n) {\n let options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n const lng = i18n.languages[0];\n const fallbackLng = i18n.options ? i18n.options.fallbackLng : false;\n const lastLng = i18n.languages[i18n.languages.length - 1];\n if (lng.toLowerCase() === 'cimode') return true;\n const loadNotPending = (l, n) => {\n const loadState = i18n.services.backendConnector.state[`${l}|${n}`];\n return loadState === -1 || loadState === 2;\n };\n if (options.bindI18n && options.bindI18n.indexOf('languageChanging') > -1 && i18n.services.backendConnector.backend && i18n.isLanguageChangingTo && !loadNotPending(i18n.isLanguageChangingTo, ns)) return false;\n if (i18n.hasResourceBundle(lng, ns)) return true;\n if (!i18n.services.backendConnector.backend || i18n.options.resources && !i18n.options.partialBundledLanguages) return true;\n if (loadNotPending(lng, ns) && (!fallbackLng || loadNotPending(lastLng, ns))) return true;\n return false;\n}\nexport function hasLoadedNamespace(ns, i18n) {\n let options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n if (!i18n.languages || !i18n.languages.length) {\n warnOnce('i18n.languages were undefined or empty', i18n.languages);\n return true;\n }\n const isNewerI18next = i18n.options.ignoreJSONStructure !== undefined;\n if (!isNewerI18next) {\n return oldI18nextHasLoadedNamespace(ns, i18n, options);\n }\n return i18n.hasLoadedNamespace(ns, {\n lng: options.lng,\n precheck: (i18nInstance, loadNotPending) => {\n if (options.bindI18n && options.bindI18n.indexOf('languageChanging') > -1 && i18nInstance.services.backendConnector.backend && i18nInstance.isLanguageChangingTo && !loadNotPending(i18nInstance.isLanguageChangingTo, ns)) return false;\n }\n });\n}\nexport function getDisplayName(Component) {\n return Component.displayName || Component.name || (typeof Component === 'string' && Component.length > 0 ? Component : 'Unknown');\n}","const matchHtmlEntity = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g;\nconst htmlEntities = {\n '&': '&',\n '&': '&',\n '<': '<',\n '<': '<',\n '>': '>',\n '>': '>',\n ''': \"'\",\n ''': \"'\",\n '"': '\"',\n '"': '\"',\n ' ': ' ',\n ' ': ' ',\n '©': '©',\n '©': '©',\n '®': '®',\n '®': '®',\n '…': '…',\n '…': '…',\n '/': '/',\n '/': '/'\n};\nconst unescapeHtmlEntity = m => htmlEntities[m];\nexport const unescape = text => text.replace(matchHtmlEntity, unescapeHtmlEntity);","import { unescape } from './unescape.js';\nlet defaultOptions = {\n bindI18n: 'languageChanged',\n bindI18nStore: '',\n transEmptyNodeValue: '',\n transSupportBasicHtmlNodes: true,\n transWrapTextNodes: '',\n transKeepBasicHtmlNodesFor: ['br', 'strong', 'i', 'p'],\n useSuspense: true,\n unescape\n};\nexport function setDefaults() {\n let options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n defaultOptions = {\n ...defaultOptions,\n ...options\n };\n}\nexport function getDefaults() {\n return defaultOptions;\n}","let i18nInstance;\nexport function setI18n(instance) {\n i18nInstance = instance;\n}\nexport function getI18n() {\n return i18nInstance;\n}","import _extends from \"@babel/runtime/helpers/extends\";\nimport React, { isValidElement, cloneElement, createElement, Children } from 'react';\nimport HTML from 'html-parse-stringify';\nimport { warn, warnOnce } from './utils.js';\nimport { getDefaults } from './defaults.js';\nimport { getI18n } from './i18nInstance.js';\nfunction hasChildren(node, checkLength) {\n if (!node) return false;\n const base = node.props ? node.props.children : node.children;\n if (checkLength) return base.length > 0;\n return !!base;\n}\nfunction getChildren(node) {\n if (!node) return [];\n const children = node.props ? node.props.children : node.children;\n return node.props && node.props.i18nIsDynamicList ? getAsArray(children) : children;\n}\nfunction hasValidReactChildren(children) {\n if (Object.prototype.toString.call(children) !== '[object Array]') return false;\n return children.every(child => isValidElement(child));\n}\nfunction getAsArray(data) {\n return Array.isArray(data) ? data : [data];\n}\nfunction mergeProps(source, target) {\n const newTarget = {\n ...target\n };\n newTarget.props = Object.assign(source.props, target.props);\n return newTarget;\n}\nexport function nodesToString(children, i18nOptions) {\n if (!children) return '';\n let stringNode = '';\n const childrenArray = getAsArray(children);\n const keepArray = i18nOptions.transSupportBasicHtmlNodes && i18nOptions.transKeepBasicHtmlNodesFor ? i18nOptions.transKeepBasicHtmlNodesFor : [];\n childrenArray.forEach((child, childIndex) => {\n if (typeof child === 'string') {\n stringNode += `${child}`;\n } else if (isValidElement(child)) {\n const childPropsCount = Object.keys(child.props).length;\n const shouldKeepChild = keepArray.indexOf(child.type) > -1;\n const childChildren = child.props.children;\n if (!childChildren && shouldKeepChild && childPropsCount === 0) {\n stringNode += `<${child.type}/>`;\n } else if (!childChildren && (!shouldKeepChild || childPropsCount !== 0)) {\n stringNode += `<${childIndex}>`;\n } else if (child.props.i18nIsDynamicList) {\n stringNode += `<${childIndex}>`;\n } else if (shouldKeepChild && childPropsCount === 1 && typeof childChildren === 'string') {\n stringNode += `<${child.type}>${childChildren}`;\n } else {\n const content = nodesToString(childChildren, i18nOptions);\n stringNode += `<${childIndex}>${content}`;\n }\n } else if (child === null) {\n warn(`Trans: the passed in value is invalid - seems you passed in a null child.`);\n } else if (typeof child === 'object') {\n const {\n format,\n ...clone\n } = child;\n const keys = Object.keys(clone);\n if (keys.length === 1) {\n const value = format ? `${keys[0]}, ${format}` : keys[0];\n stringNode += `{{${value}}}`;\n } else {\n warn(`react-i18next: the passed in object contained more than one variable - the object should look like {{ value, format }} where format is optional.`, child);\n }\n } else {\n warn(`Trans: the passed in value is invalid - seems you passed in a variable like {number} - please pass in variables for interpolation as full objects like {{number}}.`, child);\n }\n });\n return stringNode;\n}\nfunction renderNodes(children, targetString, i18n, i18nOptions, combinedTOpts, shouldUnescape) {\n if (targetString === '') return [];\n const keepArray = i18nOptions.transKeepBasicHtmlNodesFor || [];\n const emptyChildrenButNeedsHandling = targetString && new RegExp(keepArray.map(keep => `<${keep}`).join('|')).test(targetString);\n if (!children && !emptyChildrenButNeedsHandling && !shouldUnescape) return [targetString];\n const data = {};\n function getData(childs) {\n const childrenArray = getAsArray(childs);\n childrenArray.forEach(child => {\n if (typeof child === 'string') return;\n if (hasChildren(child)) getData(getChildren(child));else if (typeof child === 'object' && !isValidElement(child)) Object.assign(data, child);\n });\n }\n getData(children);\n const ast = HTML.parse(`<0>${targetString}`);\n const opts = {\n ...data,\n ...combinedTOpts\n };\n function renderInner(child, node, rootReactNode) {\n const childs = getChildren(child);\n const mappedChildren = mapAST(childs, node.children, rootReactNode);\n return hasValidReactChildren(childs) && mappedChildren.length === 0 || child.props && child.props.i18nIsDynamicList ? childs : mappedChildren;\n }\n function pushTranslatedJSX(child, inner, mem, i, isVoid) {\n if (child.dummy) {\n child.children = inner;\n mem.push(cloneElement(child, {\n key: i\n }, isVoid ? undefined : inner));\n } else {\n mem.push(...Children.map([child], c => {\n const props = {\n ...c.props\n };\n delete props.i18nIsDynamicList;\n return React.createElement(c.type, _extends({}, props, {\n key: i,\n ref: c.ref\n }, isVoid ? {} : {\n children: inner\n }));\n }));\n }\n }\n function mapAST(reactNode, astNode, rootReactNode) {\n const reactNodes = getAsArray(reactNode);\n const astNodes = getAsArray(astNode);\n return astNodes.reduce((mem, node, i) => {\n const translationContent = node.children && node.children[0] && node.children[0].content && i18n.services.interpolator.interpolate(node.children[0].content, opts, i18n.language);\n if (node.type === 'tag') {\n let tmp = reactNodes[parseInt(node.name, 10)];\n if (rootReactNode.length === 1 && !tmp) tmp = rootReactNode[0][node.name];\n if (!tmp) tmp = {};\n const child = Object.keys(node.attrs).length !== 0 ? mergeProps({\n props: node.attrs\n }, tmp) : tmp;\n const isElement = isValidElement(child);\n const isValidTranslationWithChildren = isElement && hasChildren(node, true) && !node.voidElement;\n const isEmptyTransWithHTML = emptyChildrenButNeedsHandling && typeof child === 'object' && child.dummy && !isElement;\n const isKnownComponent = typeof children === 'object' && children !== null && Object.hasOwnProperty.call(children, node.name);\n if (typeof child === 'string') {\n const value = i18n.services.interpolator.interpolate(child, opts, i18n.language);\n mem.push(value);\n } else if (hasChildren(child) || isValidTranslationWithChildren) {\n const inner = renderInner(child, node, rootReactNode);\n pushTranslatedJSX(child, inner, mem, i);\n } else if (isEmptyTransWithHTML) {\n const inner = mapAST(reactNodes, node.children, rootReactNode);\n pushTranslatedJSX(child, inner, mem, i);\n } else if (Number.isNaN(parseFloat(node.name))) {\n if (isKnownComponent) {\n const inner = renderInner(child, node, rootReactNode);\n pushTranslatedJSX(child, inner, mem, i, node.voidElement);\n } else if (i18nOptions.transSupportBasicHtmlNodes && keepArray.indexOf(node.name) > -1) {\n if (node.voidElement) {\n mem.push(createElement(node.name, {\n key: `${node.name}-${i}`\n }));\n } else {\n const inner = mapAST(reactNodes, node.children, rootReactNode);\n mem.push(createElement(node.name, {\n key: `${node.name}-${i}`\n }, inner));\n }\n } else if (node.voidElement) {\n mem.push(`<${node.name} />`);\n } else {\n const inner = mapAST(reactNodes, node.children, rootReactNode);\n mem.push(`<${node.name}>${inner}`);\n }\n } else if (typeof child === 'object' && !isElement) {\n const content = node.children[0] ? translationContent : null;\n if (content) mem.push(content);\n } else {\n pushTranslatedJSX(child, translationContent, mem, i, node.children.length !== 1 || !translationContent);\n }\n } else if (node.type === 'text') {\n const wrapTextNodes = i18nOptions.transWrapTextNodes;\n const content = shouldUnescape ? i18nOptions.unescape(i18n.services.interpolator.interpolate(node.content, opts, i18n.language)) : i18n.services.interpolator.interpolate(node.content, opts, i18n.language);\n if (wrapTextNodes) {\n mem.push(createElement(wrapTextNodes, {\n key: `${node.name}-${i}`\n }, content));\n } else {\n mem.push(content);\n }\n }\n return mem;\n }, []);\n }\n const result = mapAST([{\n dummy: true,\n children: children || []\n }], ast, getAsArray(children || []));\n return getChildren(result[0]);\n}\nexport function Trans(_ref) {\n let {\n children,\n count,\n parent,\n i18nKey,\n context,\n tOptions = {},\n values,\n defaults,\n components,\n ns,\n i18n: i18nFromProps,\n t: tFromProps,\n shouldUnescape,\n ...additionalProps\n } = _ref;\n const i18n = i18nFromProps || getI18n();\n if (!i18n) {\n warnOnce('You will need to pass in an i18next instance by using i18nextReactModule');\n return children;\n }\n const t = tFromProps || i18n.t.bind(i18n) || (k => k);\n if (context) tOptions.context = context;\n const reactI18nextOptions = {\n ...getDefaults(),\n ...(i18n.options && i18n.options.react)\n };\n let namespaces = ns || t.ns || i18n.options && i18n.options.defaultNS;\n namespaces = typeof namespaces === 'string' ? [namespaces] : namespaces || ['translation'];\n const nodeAsString = nodesToString(children, reactI18nextOptions);\n const defaultValue = defaults || nodeAsString || reactI18nextOptions.transEmptyNodeValue || i18nKey;\n const {\n hashTransKey\n } = reactI18nextOptions;\n const key = i18nKey || (hashTransKey ? hashTransKey(nodeAsString || defaultValue) : nodeAsString || defaultValue);\n if (i18n.options && i18n.options.interpolation && i18n.options.interpolation.defaultVariables) {\n values = values && Object.keys(values).length > 0 ? {\n ...values,\n ...i18n.options.interpolation.defaultVariables\n } : {\n ...i18n.options.interpolation.defaultVariables\n };\n }\n const interpolationOverride = values ? tOptions.interpolation : {\n interpolation: {\n ...tOptions.interpolation,\n prefix: '#$?',\n suffix: '?$#'\n }\n };\n const combinedTOpts = {\n ...tOptions,\n count,\n ...values,\n ...interpolationOverride,\n defaultValue,\n ns: namespaces\n };\n const translation = key ? t(key, combinedTOpts) : defaultValue;\n if (components) {\n Object.keys(components).forEach(c => {\n const comp = components[c];\n if (typeof comp.type === 'function' || !comp.props || !comp.props.children || translation.indexOf(`${c}/>`) < 0 && translation.indexOf(`${c} />`) < 0) return;\n function Componentized() {\n return React.createElement(React.Fragment, null, comp);\n }\n components[c] = React.createElement(Componentized, null);\n });\n }\n const content = renderNodes(components || children, translation, i18n, reactI18nextOptions, combinedTOpts, shouldUnescape);\n const useAsParent = parent !== undefined ? parent : reactI18nextOptions.defaultTransParent;\n return useAsParent ? createElement(useAsParent, additionalProps, content) : content;\n}","import { setDefaults } from './defaults.js';\nimport { setI18n } from './i18nInstance.js';\nexport const initReactI18next = {\n type: '3rdParty',\n init(instance) {\n setDefaults(instance.options.react);\n setI18n(instance);\n }\n};","import { createContext } from 'react';\nimport { getDefaults, setDefaults } from './defaults.js';\nimport { getI18n, setI18n } from './i18nInstance.js';\nimport { initReactI18next } from './initReactI18next.js';\nexport { getDefaults, setDefaults, getI18n, setI18n, initReactI18next };\nexport const I18nContext = createContext();\nexport class ReportNamespaces {\n constructor() {\n this.usedNamespaces = {};\n }\n addUsedNamespaces(namespaces) {\n namespaces.forEach(ns => {\n if (!this.usedNamespaces[ns]) this.usedNamespaces[ns] = true;\n });\n }\n getUsedNamespaces() {\n return Object.keys(this.usedNamespaces);\n }\n}\nexport function composeInitialProps(ForComponent) {\n return ctx => new Promise(resolve => {\n const i18nInitialProps = getInitialProps();\n if (ForComponent.getInitialProps) {\n ForComponent.getInitialProps(ctx).then(componentsInitialProps => {\n resolve({\n ...componentsInitialProps,\n ...i18nInitialProps\n });\n });\n } else {\n resolve(i18nInitialProps);\n }\n });\n}\nexport function getInitialProps() {\n const i18n = getI18n();\n const namespaces = i18n.reportNamespaces ? i18n.reportNamespaces.getUsedNamespaces() : [];\n const ret = {};\n const initialI18nStore = {};\n i18n.languages.forEach(l => {\n initialI18nStore[l] = {};\n namespaces.forEach(ns => {\n initialI18nStore[l][ns] = i18n.getResourceBundle(l, ns) || {};\n });\n });\n ret.initialI18nStore = initialI18nStore;\n ret.initialLanguage = i18n.language;\n return ret;\n}","import { useContext } from 'react';\nimport { nodesToString, Trans as TransWithoutContext } from './TransWithoutContext.js';\nimport { getI18n, I18nContext } from './context.js';\nexport { nodesToString };\nexport function Trans(_ref) {\n let {\n children,\n count,\n parent,\n i18nKey,\n context,\n tOptions = {},\n values,\n defaults,\n components,\n ns,\n i18n: i18nFromProps,\n t: tFromProps,\n shouldUnescape,\n ...additionalProps\n } = _ref;\n const {\n i18n: i18nFromContext,\n defaultNS: defaultNSFromContext\n } = useContext(I18nContext) || {};\n const i18n = i18nFromProps || i18nFromContext || getI18n();\n const t = tFromProps || i18n && i18n.t.bind(i18n);\n return TransWithoutContext({\n children,\n count,\n parent,\n i18nKey,\n context,\n tOptions,\n values,\n defaults,\n components,\n ns: ns || t && t.ns || defaultNSFromContext || i18n && i18n.options && i18n.options.defaultNS,\n i18n,\n t: tFromProps,\n shouldUnescape,\n ...additionalProps\n });\n}","export { Trans } from './Trans.js';\nexport { Trans as TransWithoutContext } from './TransWithoutContext.js';\nexport { useTranslation } from './useTranslation.js';\nexport { withTranslation } from './withTranslation.js';\nexport { Translation } from './Translation.js';\nexport { I18nextProvider } from './I18nextProvider.js';\nexport { withSSR } from './withSSR.js';\nexport { useSSR } from './useSSR.js';\nexport { initReactI18next } from './initReactI18next.js';\nexport { setDefaults, getDefaults } from './defaults.js';\nexport { setI18n, getI18n } from './i18nInstance.js';\nexport { I18nContext, composeInitialProps, getInitialProps } from './context.js';\nexport const date = () => '';\nexport const time = () => '';\nexport const number = () => '';\nexport const select = () => '';\nexport const plural = () => '';\nexport const selectOrdinal = () => '';","import { FC } from 'react';\n\nimport i18n, { TOptionsBase } from 'i18next';\nimport { $Dictionary } from 'i18next/typescript/helpers';\nimport Backend from 'i18next-http-backend';\nimport { initReactI18next, Trans, TransProps } from 'react-i18next';\n\nimport en_UK from './translations/en_UK/translations.json';\nimport nl_NL from './translations/nl_NL/translations.json';\n// don't want to use this?\n// have a look at the Quick start guide\n// for passing in lng and translations on init\n\nconst resources = {\n nl_NL,\n en_UK,\n};\n\n// IMPORTANT: For more information on how we use i18next: https://stackoverflowteams.com/c/studyworks/questions/124\n// This includes an explanation on how we organise our translations and how to add new translations.\ni18n\n // load translation using http -> see /public/locales (i.e. https://github.com/i18next/react-i18next/tree/master/example/react/public/locales)\n // learn more: https://github.com/i18next/i18next-http-backend\n // want your translations to be loaded from a professional CDN? => https://github.com/locize/react-tutorial#step-2---use-the-locize-cdn\n .use(Backend)\n // detect user language\n // learn more: https://github.com/i18next/i18next-browser-languageDetector\n // .use(LanguageDetector)\n // pass the i18n instance to react-i18next.\n .use(initReactI18next)\n // init i18next\n // for all options read: https://www.i18next.com/overview/configuration-options\n .init({\n resources,\n fallbackLng: 'nl_NL',\n debug: false,\n keySeparator: '.',\n ns: ['translation'],\n defaultNS: 'translation',\n interpolation: { escapeValue: false },\n react: { useSuspense: false },\n compatibilityJSON: 'v3',\n });\n\n// T is the dictionary, S ist the next string part of the object property path\n// If S does not match dict shape, return its next expected properties\ntype DeepKeys = T extends object\n ? S extends `${infer I1}.${infer I2}`\n ? I1 extends keyof T\n ? // fix issue allowed last dot\n T[I1] extends object\n ? `${I1}.${DeepKeys}`\n : keyof T & string\n : keyof T & string\n : S extends keyof T\n ? `${S}`\n : keyof T & string\n : '';\n\n//Extend TransProps and make i18nKey required and type check on TranslationKeys\ntype TranslationProps = {\n i18nKey: string;\n variables?: string[];\n} & Omit, 'i18nKey'>;\n\n//Replaces Trans component with typecheck on i18nKey\nexport const Translation: FC = ({ i18nKey, ...props }) => {\n return ;\n};\n\nexport const t = (\n i18nKey: DeepKeys,\n options?: TOptionsBase & $Dictionary\n) => {\n return i18n.t(i18nKey.toString().slice(12), options);\n};\n\nexport const checkKey = (i18nKey: DeepKeys) => {\n return i18nKey;\n};\n\nexport default i18n;\n","export default {\n empty: require('../assets/lottie/empty.json'),\n vacation: require('../assets/lottie/vacation.json'),\n relaxing: require('../assets/lottie/relaxing.json'),\n getPaid: require('../assets/lottie/getPaid.json'),\n confirmCalendar: require('../assets/lottie/confirmCalendar.json'),\n maintenance: require('../assets/lottie/maintenance.json'),\n};\n","export default {\n primary: '#F27537',\n secondary: '#FDB937',\n white: '#FFFFFF',\n lightGrey: '#F2F2F2',\n darkGrey: '#6F6F6F',\n red: '#E23814',\n blue: '#0000EE',\n};\n","import { red } from '@mui/material/colors';\nimport { createTheme } from '@mui/material/styles';\nimport createPalette from '@mui/material/styles/createPalette';\nimport createTypography from '@mui/material/styles/createTypography';\n\nexport const font = \"'Source Sans Pro', sans-serif\";\n\nexport const palette = createPalette({\n text: {\n primary: '#3C3C3C',\n secondary: '#6F6F6F',\n },\n primary: {\n main: '#f17435',\n light: '#ffa563',\n dark: '#b84501',\n contrastText: '#fff',\n },\n secondary: {\n main: '#19857b',\n },\n error: { main: red.A400 },\n background: { default: '#fff', paper: '#F5F5F5' },\n});\n\nexport const typography = createTypography(palette, {\n fontFamily: font,\n h1: {\n font: 'normal normal bold 25px/32px Source Sans Pro',\n textTransform: 'none',\n },\n h2: {\n font: 'normal normal bold 21px/27px Source Sans Pro',\n textTransform: 'none',\n },\n h3: {\n font: 'normal normal bold 18px/26px Source Sans Pro',\n textTransform: 'none',\n },\n h4: {\n font: 'normal normal normal 18px/26px Source Sans Pro',\n textTransform: 'none',\n },\n h5: {\n font: 'normal normal bold 25px/32px Source Sans Pro',\n textTransform: 'none',\n },\n body1: {\n font: 'normal normal normal 18px/26px Source Sans Pro',\n },\n body2: {\n font: 'normal normal normal 18px/26px Source Sans Pro',\n color: palette.text.secondary,\n },\n button: {\n font: `normal normal bold 18px/23px Source Sans Pro`,\n textTransform: 'none',\n },\n subtitle2: {\n // font: \"normal normal bold 35px/30px Dancing Script\",\n fontFamily: \"'Dancing Script', cursive\",\n fontWeight: '600',\n fontSize: '35px',\n },\n});\n\n// A custom theme for this app\nconst theme = createTheme({\n palette,\n typography,\n});\n\nexport default theme;\n","import React, { useEffect, useState } from 'react';\n\nimport {\n Card,\n CardContent,\n CardHeader,\n CircularProgress,\n Grid,\n MenuItem,\n Select,\n Typography,\n} from '@mui/material';\nimport { Box } from '@mui/system';\nimport { t } from 'i18n';\nimport { useSnackbar } from 'notistack';\nimport { useHistory } from 'react-router-dom';\n\nimport { appClient } from 'App';\nimport {\n EnumOrderType,\n GuardianEdit,\n OrderIn,\n OrderItemIn,\n RegularGuardianWithChildren,\n RegularProduct,\n} from 'assets/api';\nimport { Button, TextField } from 'components/Elements/Forms/Inputs';\nimport { checkIBAN } from 'functions/HelperFunctions/Regex';\nimport useNavContext from 'functions/Hooks/useNav';\nimport useProductStoreContex from 'functions/Hooks/useProductsStore';\nimport useUser from 'functions/Hooks/useUser';\n\nconst CollectionPaymentCard = () => {\n const NavProvider = useNavContext();\n NavProvider.setShow(false);\n const history = useHistory();\n const { enqueueSnackbar } = useSnackbar();\n\n const { user } = useUser();\n const [name, setName] = useState();\n const [IBAN, setIBAN] = useState();\n const [nameOf, setNameOf] = useState();\n const [terms, setTerms] = useState(1);\n const productStore = useProductStoreContex();\n const [guardian, setGuardian] = useState();\n const [loading, setLoading] = useState(true);\n const [loadingIBAN, setLoadingIBAN] = useState(true);\n\n // Retrieve information from backend\n useEffect(() => {\n const fetchGuardianData = async () => {\n if (user && user.guardian) {\n // Name of user\n setName(`${user.first_name} ${user.last_name}`);\n setNameOf(`${user.first_name} ${user.last_name}`);\n\n try {\n // Get guardian information from backend\n const guardianData = await appClient.guardians.getGuardiansViewGuardianSimple(\n user.guardian.id\n );\n setGuardian(guardianData);\n setName(`${guardianData.user.first_name} ${guardianData.user.last_name}`);\n setNameOf(`${guardianData.user.first_name} ${guardianData.user.last_name}`);\n setLoading(false);\n\n // Get IBAN from backend\n const ibanData = await appClient.guardians.getGuardiansViewPrivateGuardian(\n user.guardian.id\n );\n if (ibanData?.iban) {\n setIBAN(ibanData.iban);\n }\n setLoadingIBAN(false);\n } catch (error) {\n setLoading(false);\n setLoadingIBAN(false);\n }\n }\n };\n\n fetchGuardianData();\n }, [user]);\n\n const handlePaymentEvent = () => {\n const OrderItem: OrderItemIn[] = [];\n productStore.products.forEach((product: RegularProduct) => {\n OrderItem.push({ product_id: product.id });\n });\n\n const orderData: OrderIn = {\n items: OrderItem,\n order_type: EnumOrderType.INVOICE,\n collection_terms: terms,\n };\n\n if (\n name === '' ||\n name === undefined ||\n IBAN === '' ||\n IBAN === undefined ||\n nameOf === '' ||\n nameOf === undefined ||\n terms === 0 ||\n terms === undefined\n ) {\n enqueueSnackbar(t('translation.portalShared.payment.emptyFields'), { variant: 'error' });\n } else if (!checkIBAN(IBAN)) {\n enqueueSnackbar(t('translation.portalShared.payment.invalidIBAN'), { variant: 'error' });\n } else if (guardian) {\n const guardianData: GuardianEdit = {\n iban: IBAN,\n };\n\n appClient.guardians.postGuardiansEditGuardian(guardian.id, guardianData);\n\n appClient.orders\n .postOrdersCreateOrder(guardian.user.id, orderData)\n .then(() => {\n enqueueSnackbar(t('translation.portalShared.payment.paymentSuccesful'), {\n variant: 'success',\n });\n NavProvider.setShow(true);\n history.push('/SuccesPayment');\n })\n .catch(() => {\n enqueueSnackbar(t('translation.portalShared.payment.paymentUnsuccessful'), {\n variant: 'error',\n });\n });\n }\n };\n\n /* Build the select items based on the terms in the product */\n const buildTerms = (selectedProducts: RegularProduct[]) => {\n let terms: number = 0;\n selectedProducts.forEach((prod: RegularProduct) => {\n terms = terms + prod.max_terms;\n });\n\n const rows = [];\n\n for (let i = 0; i < terms / selectedProducts.length; i++) {\n rows.push(\n \n {i + 1}\n \n );\n }\n\n return rows;\n };\n\n return (\n \n \n \n \n \n \n {loading && loadingIBAN ? (\n \n \n \n ) : (\n \n \n \n {t('translation.portalShared.invoucePayment.check')}\n \n \n\n \n \n {t('translation.common.words.name')}\n \n setName(e.target.value)} />\n \n\n \n \n {t('translation.common.words.iban')}\n \n setIBAN(e.target.value)} />\n \n\n \n \n {t('translation.common.words.inNameOf')}\n \n setNameOf(e.target.value)} />\n \n\n \n \n {t('translation.common.words.term')}\n \n setTerms(e.target.value as number)}\n sx={{ borderRadius: '45px' }}>\n {buildTerms(productStore.products)}\n \n \n \n \n {t('translation.portalShared.payment.CollectionPayment.collectionCost')}\n \n \n\n \n handlePaymentEvent()}\n sx={{ padding: '10px', fontSize: '18px' }}>\n {t('translation.common.words.agreesign')}\n \n \n \n )}\n \n \n \n \n \n );\n};\n\nexport default CollectionPaymentCard;\n","import React from 'react'\n\nimport { ChevronLeft } from '@mui/icons-material'\nimport { CardHeader, Grid } from '@mui/material'\nimport { useHistory } from 'react-router-dom'\n\nimport { Button } from 'components/Elements/Forms/Inputs'\nimport useNavContext from 'functions/Hooks/useNav'\n\nconst InvoicePaymentHeader = () => {\n const history = useHistory()\n const NavProvider = useNavContext()\n\n const handleBack = () => {\n NavProvider.setShow(true)\n history.push(\"/PakketAanschaffen\")\n // history.goBack()\n }\n\n return (\n \n \n \n \n \n \n \n \n \n \n \n )\n}\n\nexport default InvoicePaymentHeader","import { Grid } from '@mui/material';\nimport { Box, Container } from '@mui/system';\n\nimport { useWidth } from 'functions/Hooks/useDeviceDetect';\n\nimport CollectionPaymentCard from './Components/CollectionPaymentCard';\nimport CollectionPaymentHeader from './Components/CollectionPaymentHeader';\n\nconst CollectionPaymentPage = () => {\n const currentWidth = useWidth();\n const mobile = currentWidth === 'xs';\n\n return (\n \n \n \n \n \n\n \n {!mobile ? (\n \n \n \n ) : (\n \n )}\n \n \n \n );\n};\n\nexport default CollectionPaymentPage;\n","import React, { useEffect, useState } from 'react';\n\nimport { Card, CardContent, CardHeader, CircularProgress, Grid, Typography } from '@mui/material';\nimport { t } from 'i18n';\nimport { useSnackbar } from 'notistack';\nimport { useHistory } from 'react-router-dom';\n\nimport { appClient } from 'App';\nimport {\n EnumOrderType,\n OrderIn,\n OrderItemIn,\n RegularGuardianWithChildren,\n RegularProduct,\n} from 'assets/api';\nimport { Button, TextField } from 'components/Elements/Forms/Inputs';\nimport { checkZip } from 'functions/HelperFunctions/Regex';\nimport useNavContext from 'functions/Hooks/useNav';\nimport useProductStoreContex from 'functions/Hooks/useProductsStore';\nimport useUser from 'functions/Hooks/useUser';\n\nconst InvoicePaymentCard = () => {\n const NavProvider = useNavContext();\n NavProvider.setShow(false);\n const history = useHistory();\n const { enqueueSnackbar } = useSnackbar();\n\n const { user } = useUser();\n const [name, setName] = useState();\n const [mail, setMail] = useState();\n const [house, setHouse] = useState();\n const [zipCode, setZipcode] = useState();\n const [city, setCity] = useState();\n const productStore = useProductStoreContex();\n const [loading, setLoading] = useState(true);\n\n const [guardian, setGuardian] = useState();\n\n useEffect(() => {\n if (user && user?.guardian) {\n setName(user.first_name + ' ' + user.last_name);\n\n appClient.guardians\n .getGuardiansViewGuardianSimple(user.guardian.id)\n .then((r: RegularGuardianWithChildren) => {\n setGuardian(r);\n setLoading(false);\n });\n }\n }, []);\n\n useEffect(() => {\n setName(guardian?.user.first_name + ' ' + guardian?.user.last_name);\n setMail(guardian?.user.email_address);\n if (guardian?.street) {\n setHouse(guardian?.street);\n }\n if (guardian?.city) {\n setCity(guardian?.city);\n }\n if (guardian?.zipcode) {\n setZipcode(guardian.zipcode);\n }\n }, [guardian]);\n\n const handlePaymentEvent = () => {\n if (!checkZip(zipCode)) {\n enqueueSnackbar(t('translation.common.warnings.regexZipcode'), {\n variant: 'warning',\n });\n\n return;\n }\n const OrderItem: OrderItemIn[] = [];\n\n productStore.products.forEach((product: RegularProduct) => {\n OrderItem.push({ product_id: product.id });\n });\n\n const orderData: OrderIn = {\n items: OrderItem,\n order_type: EnumOrderType.INVOICE,\n collection_terms: 1,\n };\n\n if (\n name === '' ||\n name === undefined ||\n mail === '' ||\n mail === undefined ||\n house === '' ||\n house === undefined ||\n zipCode === '' ||\n zipCode === undefined ||\n zipCode === ''\n ) {\n enqueueSnackbar(t('translation.portalShared.payment.emptyFields'), { variant: 'error' });\n }\n if (guardian) {\n appClient.orders\n .postOrdersCreateOrder(guardian.user.id, orderData)\n .then(() => {\n enqueueSnackbar(t('translation.portalShared.payment.paymentSuccesful'), {\n variant: 'success',\n });\n NavProvider.setShow(true);\n history.push('/SuccesPayment');\n })\n .catch(() => {\n enqueueSnackbar(t('translation.portalShared.payment.paymentUnsuccessful'), {\n variant: 'error',\n });\n });\n }\n };\n\n return (\n \n \n \n {loading ? (\n \n \n \n ) : (\n \n \n \n {t('translation.portalShared.payment.CollectionPayment.Check')}\n \n \n\n \n \n {t('translation.common.words.name')}\n \n setName(e.target.value)} />\n \n\n \n \n {t('translation.common.words.mail')}\n \n setMail(e.target.value)} />\n \n\n \n \n {t('translation.common.words.streedAndNumber')}\n \n setHouse(e.target.value)} />\n \n\n \n \n \n \n {t('translation.common.words.zipcode')}\n \n setZipcode(e.target.value)} />\n \n\n \n \n {t('translation.common.words.city')}\n \n setCity(e.target.value)} />\n \n \n \n\n \n \n {t('translation.common.words.term')}\n \n \n \n \n {t('translation.portalShared.invoucePayment.invouceAtDate')}\n \n \n\n \n handlePaymentEvent()}\n sx={{ padding: '10px', fontSize: '18px' }}>\n {t('translation.common.buttons.pay')}\n \n \n \n )}\n \n \n );\n};\n\nexport default InvoicePaymentCard;\n","import React from 'react'\n\nimport { ChevronLeft } from '@mui/icons-material'\nimport { CardHeader, Grid } from '@mui/material'\nimport { useHistory } from 'react-router-dom'\n\nimport { Button } from 'components/Elements/Forms/Inputs'\nimport useNavContext from 'functions/Hooks/useNav'\n\nconst InvoicePaymentHeader = () => {\n const history = useHistory()\n const NavProvider = useNavContext()\n\n const handleBack = () => {\n NavProvider.setShow(true)\n history.push(\"/PakketAanschaffen\")\n }\n\n return (\n \n \n \n \n \n \n \n \n \n \n \n )\n}\n\nexport default InvoicePaymentHeader","import { Grid } from '@mui/material';\nimport { Box, Container } from '@mui/system';\n\nimport { useWidth } from 'functions/Hooks/useDeviceDetect';\n\nimport InvoicePaymentCard from './Components/InvoicePaymentCard';\nimport InvoicePaymentHeader from './Components/InvoicePaymentHeader';\n\nconst InvoicePaymentPage = () => {\n const currentWidth = useWidth();\n\n const mobile = currentWidth === 'xs';\n\n return (\n \n \n \n \n \n\n \n {!mobile ? (\n \n \n \n ) : (\n \n )}\n \n \n \n );\n};\n\nexport default InvoicePaymentPage;\n","import React, { FC } from 'react';\n\nimport { Card, CardContent, CardHeader, Grid, Typography } from '@mui/material';\nimport { t } from 'i18n';\nimport theme from 'theme';\n\nimport { OrderWithPaymentInformation } from 'assets/api';\nimport errorPayment from 'assets/img/brand/error-payment.png';\nimport { Button } from 'components/Elements/Forms/Inputs';\nimport { useWidth } from 'functions/Hooks/useDeviceDetect';\n\ninterface IPaymentFailedCardProps {\n order: OrderWithPaymentInformation;\n}\n\nconst PaymentFailedCard: FC = ({ order }) => {\n const currentWidth = useWidth();\n\n const mobile = currentWidth === 'xs';\n\n const retryIdealPayment = () => {\n if (order.payment_details) {\n const details: { links?: any } = order.payment_details;\n window.location.href = details.links.checkout.href;\n }\n };\n\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n {t('translation.portalShared.payment.paymentFailedCard.title')}\n \n \n \n \n \n \n \n \n {t('translation.portalShared.payment.paymentFailedCard.info')}\n \n \n\n \n \n \n \n \n \n \n \n \n \n \n );\n};\n\nexport default PaymentFailedCard;\n","import React from 'react';\n\nimport { Card, CardContent, CardHeader, Grid, Typography } from '@mui/material';\nimport { useHistory } from 'react-router-dom';\nimport theme from 'theme';\n\nimport check from 'assets/img/brand/check.png';\nimport { Button } from 'components/Elements/Forms/Inputs';\nimport { useWidth } from 'functions/Hooks/useDeviceDetect';\n\nconst PaymentSuccesCard = () => {\n const currentWidth = useWidth();\n const history = useHistory();\n const mobile = currentWidth === 'xs';\n\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n Betaling geslaagd!\n \n \n \n \n \n \n \n \n Uw nieuwe pakket(ten) zijn succesvol toegevoegd aan uw account. Veel plezier met\n de aankomende bijlessen!\n \n \n\n \n \n history.push('/MijnPakket')}>\n Bekijk mijn pakket\n \n \n \n \n \n \n \n \n \n );\n};\n\nexport default PaymentSuccesCard;\n","import React, { useEffect, useState } from 'react';\n\nimport { Box, Container } from '@mui/material';\nimport moment from 'moment';\n\nimport { appClient } from 'App';\nimport { EnumPaymentStatus, OrderWithPaymentInformation } from 'assets/api';\nimport { useWidth } from 'functions/Hooks/useDeviceDetect';\nimport useUser from 'functions/Hooks/useUser';\n\nimport PaymentFailedCard from './PaymentFailedCard';\nimport PaymentSuccesCard from './PaymentSuccesCard';\n\nconst PaymentStatusPage = () => {\n const currentWidth = useWidth();\n const { user } = useUser();\n const [latestOrder, setLatestOrder] = useState();\n\n const mobile = currentWidth === 'xs';\n\n /** fetch orders from user and search for the latest based on date */\n useEffect(() => {\n if (user?.guardian?.id)\n appClient.orders\n .getOrdersGetOrdersForUser(user?.id)\n .then((r: OrderWithPaymentInformation[]) => {\n r.sort(function (a, b) {\n return moment(b.created_at).diff(a.created_at);\n });\n\n setLatestOrder(r[0]);\n });\n }, []);\n\n return (\n \n {!mobile ? (\n \n {latestOrder?.payment_status === EnumPaymentStatus.EXPIRED_OR_FAILED && (\n \n )}\n {latestOrder?.payment_status === EnumPaymentStatus.OPEN && (\n \n )}\n {latestOrder?.payment_status === EnumPaymentStatus.PAID && }\n \n ) : (\n \n )}\n \n );\n};\n\nexport default PaymentStatusPage;\n","var isDevelopment = false;\n\n/*\n\nBased off glamor's StyleSheet, thanks Sunil ❤️\n\nhigh performance StyleSheet for css-in-js systems\n\n- uses multiple style tags behind the scenes for millions of rules\n- uses `insertRule` for appending in production for *much* faster performance\n\n// usage\n\nimport { StyleSheet } from '@emotion/sheet'\n\nlet styleSheet = new StyleSheet({ key: '', container: document.head })\n\nstyleSheet.insert('#box { border: 1px solid red; }')\n- appends a css rule into the stylesheet\n\nstyleSheet.flush()\n- empties the stylesheet of all its contents\n\n*/\n\nfunction sheetForTag(tag) {\n if (tag.sheet) {\n return tag.sheet;\n } // this weirdness brought to you by firefox\n\n /* istanbul ignore next */\n\n\n for (var i = 0; i < document.styleSheets.length; i++) {\n if (document.styleSheets[i].ownerNode === tag) {\n return document.styleSheets[i];\n }\n } // this function should always return with a value\n // TS can't understand it though so we make it stop complaining here\n\n\n return undefined;\n}\n\nfunction createStyleElement(options) {\n var tag = document.createElement('style');\n tag.setAttribute('data-emotion', options.key);\n\n if (options.nonce !== undefined) {\n tag.setAttribute('nonce', options.nonce);\n }\n\n tag.appendChild(document.createTextNode(''));\n tag.setAttribute('data-s', '');\n return tag;\n}\n\nvar StyleSheet = /*#__PURE__*/function () {\n // Using Node instead of HTMLElement since container may be a ShadowRoot\n function StyleSheet(options) {\n var _this = this;\n\n this._insertTag = function (tag) {\n var before;\n\n if (_this.tags.length === 0) {\n if (_this.insertionPoint) {\n before = _this.insertionPoint.nextSibling;\n } else if (_this.prepend) {\n before = _this.container.firstChild;\n } else {\n before = _this.before;\n }\n } else {\n before = _this.tags[_this.tags.length - 1].nextSibling;\n }\n\n _this.container.insertBefore(tag, before);\n\n _this.tags.push(tag);\n };\n\n this.isSpeedy = options.speedy === undefined ? !isDevelopment : options.speedy;\n this.tags = [];\n this.ctr = 0;\n this.nonce = options.nonce; // key is the value of the data-emotion attribute, it's used to identify different sheets\n\n this.key = options.key;\n this.container = options.container;\n this.prepend = options.prepend;\n this.insertionPoint = options.insertionPoint;\n this.before = null;\n }\n\n var _proto = StyleSheet.prototype;\n\n _proto.hydrate = function hydrate(nodes) {\n nodes.forEach(this._insertTag);\n };\n\n _proto.insert = function insert(rule) {\n // the max length is how many rules we have per style tag, it's 65000 in speedy mode\n // it's 1 in dev because we insert source maps that map a single rule to a location\n // and you can only have one source map per style tag\n if (this.ctr % (this.isSpeedy ? 65000 : 1) === 0) {\n this._insertTag(createStyleElement(this));\n }\n\n var tag = this.tags[this.tags.length - 1];\n\n if (this.isSpeedy) {\n var sheet = sheetForTag(tag);\n\n try {\n // this is the ultrafast version, works across browsers\n // the big drawback is that the css won't be editable in devtools\n sheet.insertRule(rule, sheet.cssRules.length);\n } catch (e) {\n }\n } else {\n tag.appendChild(document.createTextNode(rule));\n }\n\n this.ctr++;\n };\n\n _proto.flush = function flush() {\n this.tags.forEach(function (tag) {\n var _tag$parentNode;\n\n return (_tag$parentNode = tag.parentNode) == null ? void 0 : _tag$parentNode.removeChild(tag);\n });\n this.tags = [];\n this.ctr = 0;\n };\n\n return StyleSheet;\n}();\n\nexport { StyleSheet };\n","/**\n * @param {number}\n * @return {number}\n */\nexport var abs = Math.abs\n\n/**\n * @param {number}\n * @return {string}\n */\nexport var from = String.fromCharCode\n\n/**\n * @param {object}\n * @return {object}\n */\nexport var assign = Object.assign\n\n/**\n * @param {string} value\n * @param {number} length\n * @return {number}\n */\nexport function hash (value, length) {\n\treturn charat(value, 0) ^ 45 ? (((((((length << 2) ^ charat(value, 0)) << 2) ^ charat(value, 1)) << 2) ^ charat(value, 2)) << 2) ^ charat(value, 3) : 0\n}\n\n/**\n * @param {string} value\n * @return {string}\n */\nexport function trim (value) {\n\treturn value.trim()\n}\n\n/**\n * @param {string} value\n * @param {RegExp} pattern\n * @return {string?}\n */\nexport function match (value, pattern) {\n\treturn (value = pattern.exec(value)) ? value[0] : value\n}\n\n/**\n * @param {string} value\n * @param {(string|RegExp)} pattern\n * @param {string} replacement\n * @return {string}\n */\nexport function replace (value, pattern, replacement) {\n\treturn value.replace(pattern, replacement)\n}\n\n/**\n * @param {string} value\n * @param {string} search\n * @return {number}\n */\nexport function indexof (value, search) {\n\treturn value.indexOf(search)\n}\n\n/**\n * @param {string} value\n * @param {number} index\n * @return {number}\n */\nexport function charat (value, index) {\n\treturn value.charCodeAt(index) | 0\n}\n\n/**\n * @param {string} value\n * @param {number} begin\n * @param {number} end\n * @return {string}\n */\nexport function substr (value, begin, end) {\n\treturn value.slice(begin, end)\n}\n\n/**\n * @param {string} value\n * @return {number}\n */\nexport function strlen (value) {\n\treturn value.length\n}\n\n/**\n * @param {any[]} value\n * @return {number}\n */\nexport function sizeof (value) {\n\treturn value.length\n}\n\n/**\n * @param {any} value\n * @param {any[]} array\n * @return {any}\n */\nexport function append (value, array) {\n\treturn array.push(value), value\n}\n\n/**\n * @param {string[]} array\n * @param {function} callback\n * @return {string}\n */\nexport function combine (array, callback) {\n\treturn array.map(callback).join('')\n}\n","import {from, trim, charat, strlen, substr, append, assign} from './Utility.js'\n\nexport var line = 1\nexport var column = 1\nexport var length = 0\nexport var position = 0\nexport var character = 0\nexport var characters = ''\n\n/**\n * @param {string} value\n * @param {object | null} root\n * @param {object | null} parent\n * @param {string} type\n * @param {string[] | string} props\n * @param {object[] | string} children\n * @param {number} length\n */\nexport function node (value, root, parent, type, props, children, length) {\n\treturn {value: value, root: root, parent: parent, type: type, props: props, children: children, line: line, column: column, length: length, return: ''}\n}\n\n/**\n * @param {object} root\n * @param {object} props\n * @return {object}\n */\nexport function copy (root, props) {\n\treturn assign(node('', null, null, '', null, null, 0), root, {length: -root.length}, props)\n}\n\n/**\n * @return {number}\n */\nexport function char () {\n\treturn character\n}\n\n/**\n * @return {number}\n */\nexport function prev () {\n\tcharacter = position > 0 ? charat(characters, --position) : 0\n\n\tif (column--, character === 10)\n\t\tcolumn = 1, line--\n\n\treturn character\n}\n\n/**\n * @return {number}\n */\nexport function next () {\n\tcharacter = position < length ? charat(characters, position++) : 0\n\n\tif (column++, character === 10)\n\t\tcolumn = 1, line++\n\n\treturn character\n}\n\n/**\n * @return {number}\n */\nexport function peek () {\n\treturn charat(characters, position)\n}\n\n/**\n * @return {number}\n */\nexport function caret () {\n\treturn position\n}\n\n/**\n * @param {number} begin\n * @param {number} end\n * @return {string}\n */\nexport function slice (begin, end) {\n\treturn substr(characters, begin, end)\n}\n\n/**\n * @param {number} type\n * @return {number}\n */\nexport function token (type) {\n\tswitch (type) {\n\t\t// \\0 \\t \\n \\r \\s whitespace token\n\t\tcase 0: case 9: case 10: case 13: case 32:\n\t\t\treturn 5\n\t\t// ! + , / > @ ~ isolate token\n\t\tcase 33: case 43: case 44: case 47: case 62: case 64: case 126:\n\t\t// ; { } breakpoint token\n\t\tcase 59: case 123: case 125:\n\t\t\treturn 4\n\t\t// : accompanied token\n\t\tcase 58:\n\t\t\treturn 3\n\t\t// \" ' ( [ opening delimit token\n\t\tcase 34: case 39: case 40: case 91:\n\t\t\treturn 2\n\t\t// ) ] closing delimit token\n\t\tcase 41: case 93:\n\t\t\treturn 1\n\t}\n\n\treturn 0\n}\n\n/**\n * @param {string} value\n * @return {any[]}\n */\nexport function alloc (value) {\n\treturn line = column = 1, length = strlen(characters = value), position = 0, []\n}\n\n/**\n * @param {any} value\n * @return {any}\n */\nexport function dealloc (value) {\n\treturn characters = '', value\n}\n\n/**\n * @param {number} type\n * @return {string}\n */\nexport function delimit (type) {\n\treturn trim(slice(position - 1, delimiter(type === 91 ? type + 2 : type === 40 ? type + 1 : type)))\n}\n\n/**\n * @param {string} value\n * @return {string[]}\n */\nexport function tokenize (value) {\n\treturn dealloc(tokenizer(alloc(value)))\n}\n\n/**\n * @param {number} type\n * @return {string}\n */\nexport function whitespace (type) {\n\twhile (character = peek())\n\t\tif (character < 33)\n\t\t\tnext()\n\t\telse\n\t\t\tbreak\n\n\treturn token(type) > 2 || token(character) > 3 ? '' : ' '\n}\n\n/**\n * @param {string[]} children\n * @return {string[]}\n */\nexport function tokenizer (children) {\n\twhile (next())\n\t\tswitch (token(character)) {\n\t\t\tcase 0: append(identifier(position - 1), children)\n\t\t\t\tbreak\n\t\t\tcase 2: append(delimit(character), children)\n\t\t\t\tbreak\n\t\t\tdefault: append(from(character), children)\n\t\t}\n\n\treturn children\n}\n\n/**\n * @param {number} index\n * @param {number} count\n * @return {string}\n */\nexport function escaping (index, count) {\n\twhile (--count && next())\n\t\t// not 0-9 A-F a-f\n\t\tif (character < 48 || character > 102 || (character > 57 && character < 65) || (character > 70 && character < 97))\n\t\t\tbreak\n\n\treturn slice(index, caret() + (count < 6 && peek() == 32 && next() == 32))\n}\n\n/**\n * @param {number} type\n * @return {number}\n */\nexport function delimiter (type) {\n\twhile (next())\n\t\tswitch (character) {\n\t\t\t// ] ) \" '\n\t\t\tcase type:\n\t\t\t\treturn position\n\t\t\t// \" '\n\t\t\tcase 34: case 39:\n\t\t\t\tif (type !== 34 && type !== 39)\n\t\t\t\t\tdelimiter(character)\n\t\t\t\tbreak\n\t\t\t// (\n\t\t\tcase 40:\n\t\t\t\tif (type === 41)\n\t\t\t\t\tdelimiter(type)\n\t\t\t\tbreak\n\t\t\t// \\\n\t\t\tcase 92:\n\t\t\t\tnext()\n\t\t\t\tbreak\n\t\t}\n\n\treturn position\n}\n\n/**\n * @param {number} type\n * @param {number} index\n * @return {number}\n */\nexport function commenter (type, index) {\n\twhile (next())\n\t\t// //\n\t\tif (type + character === 47 + 10)\n\t\t\tbreak\n\t\t// /*\n\t\telse if (type + character === 42 + 42 && peek() === 47)\n\t\t\tbreak\n\n\treturn '/*' + slice(index, position - 1) + '*' + from(type === 47 ? type : next())\n}\n\n/**\n * @param {number} index\n * @return {string}\n */\nexport function identifier (index) {\n\twhile (!token(peek()))\n\t\tnext()\n\n\treturn slice(index, position)\n}\n","export var MS = '-ms-'\nexport var MOZ = '-moz-'\nexport var WEBKIT = '-webkit-'\n\nexport var COMMENT = 'comm'\nexport var RULESET = 'rule'\nexport var DECLARATION = 'decl'\n\nexport var PAGE = '@page'\nexport var MEDIA = '@media'\nexport var IMPORT = '@import'\nexport var CHARSET = '@charset'\nexport var VIEWPORT = '@viewport'\nexport var SUPPORTS = '@supports'\nexport var DOCUMENT = '@document'\nexport var NAMESPACE = '@namespace'\nexport var KEYFRAMES = '@keyframes'\nexport var FONT_FACE = '@font-face'\nexport var COUNTER_STYLE = '@counter-style'\nexport var FONT_FEATURE_VALUES = '@font-feature-values'\nexport var LAYER = '@layer'\n","import {IMPORT, LAYER, COMMENT, RULESET, DECLARATION, KEYFRAMES} from './Enum.js'\nimport {strlen, sizeof} from './Utility.js'\n\n/**\n * @param {object[]} children\n * @param {function} callback\n * @return {string}\n */\nexport function serialize (children, callback) {\n\tvar output = ''\n\tvar length = sizeof(children)\n\n\tfor (var i = 0; i < length; i++)\n\t\toutput += callback(children[i], i, children, callback) || ''\n\n\treturn output\n}\n\n/**\n * @param {object} element\n * @param {number} index\n * @param {object[]} children\n * @param {function} callback\n * @return {string}\n */\nexport function stringify (element, index, children, callback) {\n\tswitch (element.type) {\n\t\tcase LAYER: if (element.children.length) break\n\t\tcase IMPORT: case DECLARATION: return element.return = element.return || element.value\n\t\tcase COMMENT: return ''\n\t\tcase KEYFRAMES: return element.return = element.value + '{' + serialize(element.children, callback) + '}'\n\t\tcase RULESET: element.value = element.props.join(',')\n\t}\n\n\treturn strlen(children = serialize(element.children, callback)) ? element.return = element.value + '{' + children + '}' : ''\n}\n","import {COMMENT, RULESET, DECLARATION} from './Enum.js'\nimport {abs, charat, trim, from, sizeof, strlen, substr, append, replace, indexof} from './Utility.js'\nimport {node, char, prev, next, peek, caret, alloc, dealloc, delimit, whitespace, escaping, identifier, commenter} from './Tokenizer.js'\n\n/**\n * @param {string} value\n * @return {object[]}\n */\nexport function compile (value) {\n\treturn dealloc(parse('', null, null, null, [''], value = alloc(value), 0, [0], value))\n}\n\n/**\n * @param {string} value\n * @param {object} root\n * @param {object?} parent\n * @param {string[]} rule\n * @param {string[]} rules\n * @param {string[]} rulesets\n * @param {number[]} pseudo\n * @param {number[]} points\n * @param {string[]} declarations\n * @return {object}\n */\nexport function parse (value, root, parent, rule, rules, rulesets, pseudo, points, declarations) {\n\tvar index = 0\n\tvar offset = 0\n\tvar length = pseudo\n\tvar atrule = 0\n\tvar property = 0\n\tvar previous = 0\n\tvar variable = 1\n\tvar scanning = 1\n\tvar ampersand = 1\n\tvar character = 0\n\tvar type = ''\n\tvar props = rules\n\tvar children = rulesets\n\tvar reference = rule\n\tvar characters = type\n\n\twhile (scanning)\n\t\tswitch (previous = character, character = next()) {\n\t\t\t// (\n\t\t\tcase 40:\n\t\t\t\tif (previous != 108 && charat(characters, length - 1) == 58) {\n\t\t\t\t\tif (indexof(characters += replace(delimit(character), '&', '&\\f'), '&\\f') != -1)\n\t\t\t\t\t\tampersand = -1\n\t\t\t\t\tbreak\n\t\t\t\t}\n\t\t\t// \" ' [\n\t\t\tcase 34: case 39: case 91:\n\t\t\t\tcharacters += delimit(character)\n\t\t\t\tbreak\n\t\t\t// \\t \\n \\r \\s\n\t\t\tcase 9: case 10: case 13: case 32:\n\t\t\t\tcharacters += whitespace(previous)\n\t\t\t\tbreak\n\t\t\t// \\\n\t\t\tcase 92:\n\t\t\t\tcharacters += escaping(caret() - 1, 7)\n\t\t\t\tcontinue\n\t\t\t// /\n\t\t\tcase 47:\n\t\t\t\tswitch (peek()) {\n\t\t\t\t\tcase 42: case 47:\n\t\t\t\t\t\tappend(comment(commenter(next(), caret()), root, parent), declarations)\n\t\t\t\t\t\tbreak\n\t\t\t\t\tdefault:\n\t\t\t\t\t\tcharacters += '/'\n\t\t\t\t}\n\t\t\t\tbreak\n\t\t\t// {\n\t\t\tcase 123 * variable:\n\t\t\t\tpoints[index++] = strlen(characters) * ampersand\n\t\t\t// } ; \\0\n\t\t\tcase 125 * variable: case 59: case 0:\n\t\t\t\tswitch (character) {\n\t\t\t\t\t// \\0 }\n\t\t\t\t\tcase 0: case 125: scanning = 0\n\t\t\t\t\t// ;\n\t\t\t\t\tcase 59 + offset: if (ampersand == -1) characters = replace(characters, /\\f/g, '')\n\t\t\t\t\t\tif (property > 0 && (strlen(characters) - length))\n\t\t\t\t\t\t\tappend(property > 32 ? declaration(characters + ';', rule, parent, length - 1) : declaration(replace(characters, ' ', '') + ';', rule, parent, length - 2), declarations)\n\t\t\t\t\t\tbreak\n\t\t\t\t\t// @ ;\n\t\t\t\t\tcase 59: characters += ';'\n\t\t\t\t\t// { rule/at-rule\n\t\t\t\t\tdefault:\n\t\t\t\t\t\tappend(reference = ruleset(characters, root, parent, index, offset, rules, points, type, props = [], children = [], length), rulesets)\n\n\t\t\t\t\t\tif (character === 123)\n\t\t\t\t\t\t\tif (offset === 0)\n\t\t\t\t\t\t\t\tparse(characters, root, reference, reference, props, rulesets, length, points, children)\n\t\t\t\t\t\t\telse\n\t\t\t\t\t\t\t\tswitch (atrule === 99 && charat(characters, 3) === 110 ? 100 : atrule) {\n\t\t\t\t\t\t\t\t\t// d l m s\n\t\t\t\t\t\t\t\t\tcase 100: case 108: case 109: case 115:\n\t\t\t\t\t\t\t\t\t\tparse(value, reference, reference, rule && append(ruleset(value, reference, reference, 0, 0, rules, points, type, rules, props = [], length), children), rules, children, length, points, rule ? props : children)\n\t\t\t\t\t\t\t\t\t\tbreak\n\t\t\t\t\t\t\t\t\tdefault:\n\t\t\t\t\t\t\t\t\t\tparse(characters, reference, reference, reference, [''], children, 0, points, children)\n\t\t\t\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tindex = offset = property = 0, variable = ampersand = 1, type = characters = '', length = pseudo\n\t\t\t\tbreak\n\t\t\t// :\n\t\t\tcase 58:\n\t\t\t\tlength = 1 + strlen(characters), property = previous\n\t\t\tdefault:\n\t\t\t\tif (variable < 1)\n\t\t\t\t\tif (character == 123)\n\t\t\t\t\t\t--variable\n\t\t\t\t\telse if (character == 125 && variable++ == 0 && prev() == 125)\n\t\t\t\t\t\tcontinue\n\n\t\t\t\tswitch (characters += from(character), character * variable) {\n\t\t\t\t\t// &\n\t\t\t\t\tcase 38:\n\t\t\t\t\t\tampersand = offset > 0 ? 1 : (characters += '\\f', -1)\n\t\t\t\t\t\tbreak\n\t\t\t\t\t// ,\n\t\t\t\t\tcase 44:\n\t\t\t\t\t\tpoints[index++] = (strlen(characters) - 1) * ampersand, ampersand = 1\n\t\t\t\t\t\tbreak\n\t\t\t\t\t// @\n\t\t\t\t\tcase 64:\n\t\t\t\t\t\t// -\n\t\t\t\t\t\tif (peek() === 45)\n\t\t\t\t\t\t\tcharacters += delimit(next())\n\n\t\t\t\t\t\tatrule = peek(), offset = length = strlen(type = characters += identifier(caret())), character++\n\t\t\t\t\t\tbreak\n\t\t\t\t\t// -\n\t\t\t\t\tcase 45:\n\t\t\t\t\t\tif (previous === 45 && strlen(characters) == 2)\n\t\t\t\t\t\t\tvariable = 0\n\t\t\t\t}\n\t\t}\n\n\treturn rulesets\n}\n\n/**\n * @param {string} value\n * @param {object} root\n * @param {object?} parent\n * @param {number} index\n * @param {number} offset\n * @param {string[]} rules\n * @param {number[]} points\n * @param {string} type\n * @param {string[]} props\n * @param {string[]} children\n * @param {number} length\n * @return {object}\n */\nexport function ruleset (value, root, parent, index, offset, rules, points, type, props, children, length) {\n\tvar post = offset - 1\n\tvar rule = offset === 0 ? rules : ['']\n\tvar size = sizeof(rule)\n\n\tfor (var i = 0, j = 0, k = 0; i < index; ++i)\n\t\tfor (var x = 0, y = substr(value, post + 1, post = abs(j = points[i])), z = value; x < size; ++x)\n\t\t\tif (z = trim(j > 0 ? rule[x] + ' ' + y : replace(y, /&\\f/g, rule[x])))\n\t\t\t\tprops[k++] = z\n\n\treturn node(value, root, parent, offset === 0 ? RULESET : type, props, children, length)\n}\n\n/**\n * @param {number} value\n * @param {object} root\n * @param {object?} parent\n * @return {object}\n */\nexport function comment (value, root, parent) {\n\treturn node(value, root, parent, COMMENT, from(char()), substr(value, 2, -2), 0)\n}\n\n/**\n * @param {string} value\n * @param {object} root\n * @param {object?} parent\n * @param {number} length\n * @return {object}\n */\nexport function declaration (value, root, parent, length) {\n\treturn node(value, root, parent, DECLARATION, substr(value, 0, length), substr(value, length + 1, -1), length)\n}\n","import { StyleSheet } from '@emotion/sheet';\nimport { dealloc, alloc, next, token, from, peek, delimit, slice, position, RULESET, combine, match, serialize, copy, replace, WEBKIT, MOZ, MS, KEYFRAMES, DECLARATION, hash, charat, strlen, indexof, stringify, rulesheet, middleware, compile } from 'stylis';\nimport '@emotion/weak-memoize';\nimport '@emotion/memoize';\n\nvar identifierWithPointTracking = function identifierWithPointTracking(begin, points, index) {\n var previous = 0;\n var character = 0;\n\n while (true) {\n previous = character;\n character = peek(); // &\\f\n\n if (previous === 38 && character === 12) {\n points[index] = 1;\n }\n\n if (token(character)) {\n break;\n }\n\n next();\n }\n\n return slice(begin, position);\n};\n\nvar toRules = function toRules(parsed, points) {\n // pretend we've started with a comma\n var index = -1;\n var character = 44;\n\n do {\n switch (token(character)) {\n case 0:\n // &\\f\n if (character === 38 && peek() === 12) {\n // this is not 100% correct, we don't account for literal sequences here - like for example quoted strings\n // stylis inserts \\f after & to know when & where it should replace this sequence with the context selector\n // and when it should just concatenate the outer and inner selectors\n // it's very unlikely for this sequence to actually appear in a different context, so we just leverage this fact here\n points[index] = 1;\n }\n\n parsed[index] += identifierWithPointTracking(position - 1, points, index);\n break;\n\n case 2:\n parsed[index] += delimit(character);\n break;\n\n case 4:\n // comma\n if (character === 44) {\n // colon\n parsed[++index] = peek() === 58 ? '&\\f' : '';\n points[index] = parsed[index].length;\n break;\n }\n\n // fallthrough\n\n default:\n parsed[index] += from(character);\n }\n } while (character = next());\n\n return parsed;\n};\n\nvar getRules = function getRules(value, points) {\n return dealloc(toRules(alloc(value), points));\n}; // WeakSet would be more appropriate, but only WeakMap is supported in IE11\n\n\nvar fixedElements = /* #__PURE__ */new WeakMap();\nvar compat = function compat(element) {\n if (element.type !== 'rule' || !element.parent || // positive .length indicates that this rule contains pseudo\n // negative .length indicates that this rule has been already prefixed\n element.length < 1) {\n return;\n }\n\n var value = element.value,\n parent = element.parent;\n var isImplicitRule = element.column === parent.column && element.line === parent.line;\n\n while (parent.type !== 'rule') {\n parent = parent.parent;\n if (!parent) return;\n } // short-circuit for the simplest case\n\n\n if (element.props.length === 1 && value.charCodeAt(0) !== 58\n /* colon */\n && !fixedElements.get(parent)) {\n return;\n } // if this is an implicitly inserted rule (the one eagerly inserted at the each new nested level)\n // then the props has already been manipulated beforehand as they that array is shared between it and its \"rule parent\"\n\n\n if (isImplicitRule) {\n return;\n }\n\n fixedElements.set(element, true);\n var points = [];\n var rules = getRules(value, points);\n var parentRules = parent.props;\n\n for (var i = 0, k = 0; i < rules.length; i++) {\n for (var j = 0; j < parentRules.length; j++, k++) {\n element.props[k] = points[i] ? rules[i].replace(/&\\f/g, parentRules[j]) : parentRules[j] + \" \" + rules[i];\n }\n }\n};\nvar removeLabel = function removeLabel(element) {\n if (element.type === 'decl') {\n var value = element.value;\n\n if ( // charcode for l\n value.charCodeAt(0) === 108 && // charcode for b\n value.charCodeAt(2) === 98) {\n // this ignores label\n element[\"return\"] = '';\n element.value = '';\n }\n }\n};\n\n/* eslint-disable no-fallthrough */\n\nfunction prefix(value, length) {\n switch (hash(value, length)) {\n // color-adjust\n case 5103:\n return WEBKIT + 'print-' + value + value;\n // animation, animation-(delay|direction|duration|fill-mode|iteration-count|name|play-state|timing-function)\n\n case 5737:\n case 4201:\n case 3177:\n case 3433:\n case 1641:\n case 4457:\n case 2921: // text-decoration, filter, clip-path, backface-visibility, column, box-decoration-break\n\n case 5572:\n case 6356:\n case 5844:\n case 3191:\n case 6645:\n case 3005: // mask, mask-image, mask-(mode|clip|size), mask-(repeat|origin), mask-position, mask-composite,\n\n case 6391:\n case 5879:\n case 5623:\n case 6135:\n case 4599:\n case 4855: // background-clip, columns, column-(count|fill|gap|rule|rule-color|rule-style|rule-width|span|width)\n\n case 4215:\n case 6389:\n case 5109:\n case 5365:\n case 5621:\n case 3829:\n return WEBKIT + value + value;\n // appearance, user-select, transform, hyphens, text-size-adjust\n\n case 5349:\n case 4246:\n case 4810:\n case 6968:\n case 2756:\n return WEBKIT + value + MOZ + value + MS + value + value;\n // flex, flex-direction\n\n case 6828:\n case 4268:\n return WEBKIT + value + MS + value + value;\n // order\n\n case 6165:\n return WEBKIT + value + MS + 'flex-' + value + value;\n // align-items\n\n case 5187:\n return WEBKIT + value + replace(value, /(\\w+).+(:[^]+)/, WEBKIT + 'box-$1$2' + MS + 'flex-$1$2') + value;\n // align-self\n\n case 5443:\n return WEBKIT + value + MS + 'flex-item-' + replace(value, /flex-|-self/, '') + value;\n // align-content\n\n case 4675:\n return WEBKIT + value + MS + 'flex-line-pack' + replace(value, /align-content|flex-|-self/, '') + value;\n // flex-shrink\n\n case 5548:\n return WEBKIT + value + MS + replace(value, 'shrink', 'negative') + value;\n // flex-basis\n\n case 5292:\n return WEBKIT + value + MS + replace(value, 'basis', 'preferred-size') + value;\n // flex-grow\n\n case 6060:\n return WEBKIT + 'box-' + replace(value, '-grow', '') + WEBKIT + value + MS + replace(value, 'grow', 'positive') + value;\n // transition\n\n case 4554:\n return WEBKIT + replace(value, /([^-])(transform)/g, '$1' + WEBKIT + '$2') + value;\n // cursor\n\n case 6187:\n return replace(replace(replace(value, /(zoom-|grab)/, WEBKIT + '$1'), /(image-set)/, WEBKIT + '$1'), value, '') + value;\n // background, background-image\n\n case 5495:\n case 3959:\n return replace(value, /(image-set\\([^]*)/, WEBKIT + '$1' + '$`$1');\n // justify-content\n\n case 4968:\n return replace(replace(value, /(.+:)(flex-)?(.*)/, WEBKIT + 'box-pack:$3' + MS + 'flex-pack:$3'), /s.+-b[^;]+/, 'justify') + WEBKIT + value + value;\n // (margin|padding)-inline-(start|end)\n\n case 4095:\n case 3583:\n case 4068:\n case 2532:\n return replace(value, /(.+)-inline(.+)/, WEBKIT + '$1$2') + value;\n // (min|max)?(width|height|inline-size|block-size)\n\n case 8116:\n case 7059:\n case 5753:\n case 5535:\n case 5445:\n case 5701:\n case 4933:\n case 4677:\n case 5533:\n case 5789:\n case 5021:\n case 4765:\n // stretch, max-content, min-content, fill-available\n if (strlen(value) - 1 - length > 6) switch (charat(value, length + 1)) {\n // (m)ax-content, (m)in-content\n case 109:\n // -\n if (charat(value, length + 4) !== 45) break;\n // (f)ill-available, (f)it-content\n\n case 102:\n return replace(value, /(.+:)(.+)-([^]+)/, '$1' + WEBKIT + '$2-$3' + '$1' + MOZ + (charat(value, length + 3) == 108 ? '$3' : '$2-$3')) + value;\n // (s)tretch\n\n case 115:\n return ~indexof(value, 'stretch') ? prefix(replace(value, 'stretch', 'fill-available'), length) + value : value;\n }\n break;\n // position: sticky\n\n case 4949:\n // (s)ticky?\n if (charat(value, length + 1) !== 115) break;\n // display: (flex|inline-flex)\n\n case 6444:\n switch (charat(value, strlen(value) - 3 - (~indexof(value, '!important') && 10))) {\n // stic(k)y\n case 107:\n return replace(value, ':', ':' + WEBKIT) + value;\n // (inline-)?fl(e)x\n\n case 101:\n return replace(value, /(.+:)([^;!]+)(;|!.+)?/, '$1' + WEBKIT + (charat(value, 14) === 45 ? 'inline-' : '') + 'box$3' + '$1' + WEBKIT + '$2$3' + '$1' + MS + '$2box$3') + value;\n }\n\n break;\n // writing-mode\n\n case 5936:\n switch (charat(value, length + 11)) {\n // vertical-l(r)\n case 114:\n return WEBKIT + value + MS + replace(value, /[svh]\\w+-[tblr]{2}/, 'tb') + value;\n // vertical-r(l)\n\n case 108:\n return WEBKIT + value + MS + replace(value, /[svh]\\w+-[tblr]{2}/, 'tb-rl') + value;\n // horizontal(-)tb\n\n case 45:\n return WEBKIT + value + MS + replace(value, /[svh]\\w+-[tblr]{2}/, 'lr') + value;\n }\n\n return WEBKIT + value + MS + value + value;\n }\n\n return value;\n}\n\nvar prefixer = function prefixer(element, index, children, callback) {\n if (element.length > -1) if (!element[\"return\"]) switch (element.type) {\n case DECLARATION:\n element[\"return\"] = prefix(element.value, element.length);\n break;\n\n case KEYFRAMES:\n return serialize([copy(element, {\n value: replace(element.value, '@', '@' + WEBKIT)\n })], callback);\n\n case RULESET:\n if (element.length) return combine(element.props, function (value) {\n switch (match(value, /(::plac\\w+|:read-\\w+)/)) {\n // :read-(only|write)\n case ':read-only':\n case ':read-write':\n return serialize([copy(element, {\n props: [replace(value, /:(read-\\w+)/, ':' + MOZ + '$1')]\n })], callback);\n // :placeholder\n\n case '::placeholder':\n return serialize([copy(element, {\n props: [replace(value, /:(plac\\w+)/, ':' + WEBKIT + 'input-$1')]\n }), copy(element, {\n props: [replace(value, /:(plac\\w+)/, ':' + MOZ + '$1')]\n }), copy(element, {\n props: [replace(value, /:(plac\\w+)/, MS + 'input-$1')]\n })], callback);\n }\n\n return '';\n });\n }\n};\n\nvar defaultStylisPlugins = [prefixer];\n\nvar createCache = function\n /*: EmotionCache */\ncreateCache(options\n/*: Options */\n) {\n var key = options.key;\n\n if (key === 'css') {\n var ssrStyles = document.querySelectorAll(\"style[data-emotion]:not([data-s])\"); // get SSRed styles out of the way of React's hydration\n // document.head is a safe place to move them to(though note document.head is not necessarily the last place they will be)\n // note this very very intentionally targets all style elements regardless of the key to ensure\n // that creating a cache works inside of render of a React component\n\n Array.prototype.forEach.call(ssrStyles, function (node\n /*: HTMLStyleElement */\n ) {\n // we want to only move elements which have a space in the data-emotion attribute value\n // because that indicates that it is an Emotion 11 server-side rendered style elements\n // while we will already ignore Emotion 11 client-side inserted styles because of the :not([data-s]) part in the selector\n // Emotion 10 client-side inserted styles did not have data-s (but importantly did not have a space in their data-emotion attributes)\n // so checking for the space ensures that loading Emotion 11 after Emotion 10 has inserted some styles\n // will not result in the Emotion 10 styles being destroyed\n var dataEmotionAttribute = node.getAttribute('data-emotion');\n\n if (dataEmotionAttribute.indexOf(' ') === -1) {\n return;\n }\n\n document.head.appendChild(node);\n node.setAttribute('data-s', '');\n });\n }\n\n var stylisPlugins = options.stylisPlugins || defaultStylisPlugins;\n\n var inserted = {};\n var container;\n /* : Node */\n\n var nodesToHydrate = [];\n\n {\n container = options.container || document.head;\n Array.prototype.forEach.call( // this means we will ignore elements which don't have a space in them which\n // means that the style elements we're looking at are only Emotion 11 server-rendered style elements\n document.querySelectorAll(\"style[data-emotion^=\\\"\" + key + \" \\\"]\"), function (node\n /*: HTMLStyleElement */\n ) {\n var attrib = node.getAttribute(\"data-emotion\").split(' ');\n\n for (var i = 1; i < attrib.length; i++) {\n inserted[attrib[i]] = true;\n }\n\n nodesToHydrate.push(node);\n });\n }\n\n var _insert;\n /*: (\n selector: string,\n serialized: SerializedStyles,\n sheet: StyleSheet,\n shouldCache: boolean\n ) => string | void */\n\n\n var omnipresentPlugins = [compat, removeLabel];\n\n {\n var currentSheet;\n var finalizingPlugins = [stringify, rulesheet(function (rule) {\n currentSheet.insert(rule);\n })];\n var serializer = middleware(omnipresentPlugins.concat(stylisPlugins, finalizingPlugins));\n\n var stylis = function stylis(styles) {\n return serialize(compile(styles), serializer);\n };\n\n _insert = function\n /*: void */\n insert(selector\n /*: string */\n , serialized\n /*: SerializedStyles */\n , sheet\n /*: StyleSheet */\n , shouldCache\n /*: boolean */\n ) {\n currentSheet = sheet;\n\n stylis(selector ? selector + \"{\" + serialized.styles + \"}\" : serialized.styles);\n\n if (shouldCache) {\n cache.inserted[serialized.name] = true;\n }\n };\n }\n\n var cache\n /*: EmotionCache */\n = {\n key: key,\n sheet: new StyleSheet({\n key: key,\n container: container,\n nonce: options.nonce,\n speedy: options.speedy,\n prepend: options.prepend,\n insertionPoint: options.insertionPoint\n }),\n nonce: options.nonce,\n inserted: inserted,\n registered: {},\n insert: _insert\n };\n cache.sheet.hydrate(nodesToHydrate);\n return cache;\n};\n\nexport { createCache as default };\n","import {MS, MOZ, WEBKIT, RULESET, KEYFRAMES, DECLARATION} from './Enum.js'\nimport {match, charat, substr, strlen, sizeof, replace, combine} from './Utility.js'\nimport {copy, tokenize} from './Tokenizer.js'\nimport {serialize} from './Serializer.js'\nimport {prefix} from './Prefixer.js'\n\n/**\n * @param {function[]} collection\n * @return {function}\n */\nexport function middleware (collection) {\n\tvar length = sizeof(collection)\n\n\treturn function (element, index, children, callback) {\n\t\tvar output = ''\n\n\t\tfor (var i = 0; i < length; i++)\n\t\t\toutput += collection[i](element, index, children, callback) || ''\n\n\t\treturn output\n\t}\n}\n\n/**\n * @param {function} callback\n * @return {function}\n */\nexport function rulesheet (callback) {\n\treturn function (element) {\n\t\tif (!element.root)\n\t\t\tif (element = element.return)\n\t\t\t\tcallback(element)\n\t}\n}\n\n/**\n * @param {object} element\n * @param {number} index\n * @param {object[]} children\n * @param {function} callback\n */\nexport function prefixer (element, index, children, callback) {\n\tif (element.length > -1)\n\t\tif (!element.return)\n\t\t\tswitch (element.type) {\n\t\t\t\tcase DECLARATION: element.return = prefix(element.value, element.length, children)\n\t\t\t\t\treturn\n\t\t\t\tcase KEYFRAMES:\n\t\t\t\t\treturn serialize([copy(element, {value: replace(element.value, '@', '@' + WEBKIT)})], callback)\n\t\t\t\tcase RULESET:\n\t\t\t\t\tif (element.length)\n\t\t\t\t\t\treturn combine(element.props, function (value) {\n\t\t\t\t\t\t\tswitch (match(value, /(::plac\\w+|:read-\\w+)/)) {\n\t\t\t\t\t\t\t\t// :read-(only|write)\n\t\t\t\t\t\t\t\tcase ':read-only': case ':read-write':\n\t\t\t\t\t\t\t\t\treturn serialize([copy(element, {props: [replace(value, /:(read-\\w+)/, ':' + MOZ + '$1')]})], callback)\n\t\t\t\t\t\t\t\t// :placeholder\n\t\t\t\t\t\t\t\tcase '::placeholder':\n\t\t\t\t\t\t\t\t\treturn serialize([\n\t\t\t\t\t\t\t\t\t\tcopy(element, {props: [replace(value, /:(plac\\w+)/, ':' + WEBKIT + 'input-$1')]}),\n\t\t\t\t\t\t\t\t\t\tcopy(element, {props: [replace(value, /:(plac\\w+)/, ':' + MOZ + '$1')]}),\n\t\t\t\t\t\t\t\t\t\tcopy(element, {props: [replace(value, /:(plac\\w+)/, MS + 'input-$1')]})\n\t\t\t\t\t\t\t\t\t], callback)\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\treturn ''\n\t\t\t\t\t\t})\n\t\t\t}\n}\n\n/**\n * @param {object} element\n * @param {number} index\n * @param {object[]} children\n */\nexport function namespace (element) {\n\tswitch (element.type) {\n\t\tcase RULESET:\n\t\t\telement.props = element.props.map(function (value) {\n\t\t\t\treturn combine(tokenize(value), function (value, index, children) {\n\t\t\t\t\tswitch (charat(value, 0)) {\n\t\t\t\t\t\t// \\f\n\t\t\t\t\t\tcase 12:\n\t\t\t\t\t\t\treturn substr(value, 1, strlen(value))\n\t\t\t\t\t\t// \\0 ( + > ~\n\t\t\t\t\t\tcase 0: case 40: case 43: case 62: case 126:\n\t\t\t\t\t\t\treturn value\n\t\t\t\t\t\t// :\n\t\t\t\t\t\tcase 58:\n\t\t\t\t\t\t\tif (children[++index] === 'global')\n\t\t\t\t\t\t\t\tchildren[index] = '', children[++index] = '\\f' + substr(children[index], index = 1, -1)\n\t\t\t\t\t\t// \\s\n\t\t\t\t\t\tcase 32:\n\t\t\t\t\t\t\treturn index === 1 ? '' : value\n\t\t\t\t\t\tdefault:\n\t\t\t\t\t\t\tswitch (index) {\n\t\t\t\t\t\t\t\tcase 0: element = value\n\t\t\t\t\t\t\t\t\treturn sizeof(children) > 1 ? '' : value\n\t\t\t\t\t\t\t\tcase index = sizeof(children) - 1: case 2:\n\t\t\t\t\t\t\t\t\treturn index === 2 ? value + element + element : value + element\n\t\t\t\t\t\t\t\tdefault:\n\t\t\t\t\t\t\t\t\treturn value\n\t\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t})\n\t\t\t})\n\t}\n}\n","function memoize(fn) {\n var cache = Object.create(null);\n return function (arg) {\n if (cache[arg] === undefined) cache[arg] = fn(arg);\n return cache[arg];\n };\n}\n\nexport { memoize as default };\n","import * as React from 'react';\nimport { useContext, forwardRef } from 'react';\nimport createCache from '@emotion/cache';\nimport _extends from '@babel/runtime/helpers/esm/extends';\nimport weakMemoize from '@emotion/weak-memoize';\nimport hoistNonReactStatics from '../_isolated-hnrs/dist/emotion-react-_isolated-hnrs.browser.esm.js';\nimport { getRegisteredStyles, registerStyles, insertStyles } from '@emotion/utils';\nimport { serializeStyles } from '@emotion/serialize';\nimport { useInsertionEffectAlwaysWithSyncFallback } from '@emotion/use-insertion-effect-with-fallbacks';\n\nvar isDevelopment = false;\n\n/* import { type EmotionCache } from '@emotion/utils' */\nvar EmotionCacheContext\n/*: React.Context */\n= /* #__PURE__ */React.createContext( // we're doing this to avoid preconstruct's dead code elimination in this one case\n// because this module is primarily intended for the browser and node\n// but it's also required in react native and similar environments sometimes\n// and we could have a special build just for that\n// but this is much easier and the native packages\n// might use a different theme context in the future anyway\ntypeof HTMLElement !== 'undefined' ? /* #__PURE__ */createCache({\n key: 'css'\n}) : null);\n\nvar CacheProvider = EmotionCacheContext.Provider;\nvar __unsafe_useEmotionCache = function useEmotionCache()\n/*: EmotionCache | null*/\n{\n return useContext(EmotionCacheContext);\n};\n\nvar withEmotionCache = function withEmotionCache\n/* > */\n(func\n/*: (props: Props, cache: EmotionCache, ref: Ref) => React.Node */\n)\n/*: React.AbstractComponent */\n{\n return /*#__PURE__*/forwardRef(function (props\n /*: Props */\n , ref\n /*: Ref */\n ) {\n // the cache will never be null in the browser\n var cache = useContext(EmotionCacheContext);\n return func(props, cache, ref);\n });\n};\n\nvar ThemeContext = /* #__PURE__ */React.createContext({});\n\nvar useTheme = function useTheme() {\n return React.useContext(ThemeContext);\n};\n\nvar getTheme = function getTheme(outerTheme\n/*: Object */\n, theme\n/*: Object | (Object => Object) */\n) {\n if (typeof theme === 'function') {\n var mergedTheme = theme(outerTheme);\n\n return mergedTheme;\n }\n\n return _extends({}, outerTheme, theme);\n};\n\nvar createCacheWithTheme = /* #__PURE__ */weakMemoize(function (outerTheme) {\n return weakMemoize(function (theme) {\n return getTheme(outerTheme, theme);\n });\n});\n/*\ntype ThemeProviderProps = {\n theme: Object | (Object => Object),\n children: React.Node\n}\n*/\n\nvar ThemeProvider = function ThemeProvider(props\n/*: ThemeProviderProps */\n) {\n var theme = React.useContext(ThemeContext);\n\n if (props.theme !== theme) {\n theme = createCacheWithTheme(theme)(props.theme);\n }\n\n return /*#__PURE__*/React.createElement(ThemeContext.Provider, {\n value: theme\n }, props.children);\n};\nfunction withTheme\n/* */\n(Component\n/*: React.AbstractComponent */\n)\n/*: React.AbstractComponent<$Diff> */\n{\n var componentName = Component.displayName || Component.name || 'Component';\n\n var render = function render(props, ref) {\n var theme = React.useContext(ThemeContext);\n return /*#__PURE__*/React.createElement(Component, _extends({\n theme: theme,\n ref: ref\n }, props));\n };\n\n var WithTheme = /*#__PURE__*/React.forwardRef(render);\n WithTheme.displayName = \"WithTheme(\" + componentName + \")\";\n return hoistNonReactStatics(WithTheme, Component);\n}\n\nvar hasOwn = {}.hasOwnProperty;\n\nvar typePropName = '__EMOTION_TYPE_PLEASE_DO_NOT_USE__';\nvar createEmotionProps = function createEmotionProps(type\n/*: React.ElementType */\n, props\n/*: Object */\n) {\n\n var newProps\n /*: any */\n = {};\n\n for (var key in props) {\n if (hasOwn.call(props, key)) {\n newProps[key] = props[key];\n }\n }\n\n newProps[typePropName] = type; // Runtime labeling is an opt-in feature because:\n\n return newProps;\n};\n\nvar Insertion = function Insertion(_ref) {\n var cache = _ref.cache,\n serialized = _ref.serialized,\n isStringTag = _ref.isStringTag;\n registerStyles(cache, serialized, isStringTag);\n useInsertionEffectAlwaysWithSyncFallback(function () {\n return insertStyles(cache, serialized, isStringTag);\n });\n\n return null;\n};\n\nvar Emotion = /* #__PURE__ */withEmotionCache(\n/* */\nfunction (props, cache, ref) {\n var cssProp = props.css; // so that using `css` from `emotion` and passing the result to the css prop works\n // not passing the registered cache to serializeStyles because it would\n // make certain babel optimisations not possible\n\n if (typeof cssProp === 'string' && cache.registered[cssProp] !== undefined) {\n cssProp = cache.registered[cssProp];\n }\n\n var WrappedComponent = props[typePropName];\n var registeredStyles = [cssProp];\n var className = '';\n\n if (typeof props.className === 'string') {\n className = getRegisteredStyles(cache.registered, registeredStyles, props.className);\n } else if (props.className != null) {\n className = props.className + \" \";\n }\n\n var serialized = serializeStyles(registeredStyles, undefined, React.useContext(ThemeContext));\n\n className += cache.key + \"-\" + serialized.name;\n var newProps = {};\n\n for (var key in props) {\n if (hasOwn.call(props, key) && key !== 'css' && key !== typePropName && (!isDevelopment )) {\n newProps[key] = props[key];\n }\n }\n\n newProps.className = className;\n\n if (ref) {\n newProps.ref = ref;\n }\n\n return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Insertion, {\n cache: cache,\n serialized: serialized,\n isStringTag: typeof WrappedComponent === 'string'\n }), /*#__PURE__*/React.createElement(WrappedComponent, newProps));\n});\n\nvar Emotion$1 = Emotion;\n\nexport { CacheProvider as C, Emotion$1 as E, ThemeContext as T, __unsafe_useEmotionCache as _, ThemeProvider as a, withTheme as b, createEmotionProps as c, hasOwn as h, isDevelopment as i, useTheme as u, withEmotionCache as w };\n","import { h as hasOwn, E as Emotion, c as createEmotionProps, w as withEmotionCache, T as ThemeContext, i as isDevelopment } from './emotion-element-5486c51c.browser.esm.js';\nexport { C as CacheProvider, T as ThemeContext, a as ThemeProvider, _ as __unsafe_useEmotionCache, u as useTheme, w as withEmotionCache, b as withTheme } from './emotion-element-5486c51c.browser.esm.js';\nimport * as React from 'react';\nimport { insertStyles, registerStyles, getRegisteredStyles } from '@emotion/utils';\nimport { useInsertionEffectWithLayoutFallback, useInsertionEffectAlwaysWithSyncFallback } from '@emotion/use-insertion-effect-with-fallbacks';\nimport { serializeStyles } from '@emotion/serialize';\nimport '@emotion/cache';\nimport '@babel/runtime/helpers/extends';\nimport '@emotion/weak-memoize';\nimport '../_isolated-hnrs/dist/emotion-react-_isolated-hnrs.browser.esm.js';\nimport 'hoist-non-react-statics';\n\nvar jsx\n/*: typeof React.createElement */\n= function jsx\n/*: typeof React.createElement */\n(type\n/*: React.ElementType */\n, props\n/*: Object */\n) {\n var args = arguments;\n\n if (props == null || !hasOwn.call(props, 'css')) {\n return React.createElement.apply(undefined, args);\n }\n\n var argsLength = args.length;\n var createElementArgArray = new Array(argsLength);\n createElementArgArray[0] = Emotion;\n createElementArgArray[1] = createEmotionProps(type, props);\n\n for (var i = 2; i < argsLength; i++) {\n createElementArgArray[i] = args[i];\n }\n\n return React.createElement.apply(null, createElementArgArray);\n};\n\n// initial render from browser, insertBefore context.sheet.tags[0] or if a style hasn't been inserted there yet, appendChild\n// initial client-side render from SSR, use place of hydrating tag\n\nvar Global\n/*: React.AbstractComponent<\nGlobalProps\n> */\n= /* #__PURE__ */withEmotionCache(function (props\n/*: GlobalProps */\n, cache) {\n\n var styles = props.styles;\n var serialized = serializeStyles([styles], undefined, React.useContext(ThemeContext));\n // but it is based on a constant that will never change at runtime\n // it's effectively like having two implementations and switching them out\n // so it's not actually breaking anything\n\n\n var sheetRef = React.useRef();\n useInsertionEffectWithLayoutFallback(function () {\n var key = cache.key + \"-global\"; // use case of https://github.com/emotion-js/emotion/issues/2675\n\n var sheet = new cache.sheet.constructor({\n key: key,\n nonce: cache.sheet.nonce,\n container: cache.sheet.container,\n speedy: cache.sheet.isSpeedy\n });\n var rehydrating = false;\n var node\n /*: HTMLStyleElement | null*/\n = document.querySelector(\"style[data-emotion=\\\"\" + key + \" \" + serialized.name + \"\\\"]\");\n\n if (cache.sheet.tags.length) {\n sheet.before = cache.sheet.tags[0];\n }\n\n if (node !== null) {\n rehydrating = true; // clear the hash so this node won't be recognizable as rehydratable by other s\n\n node.setAttribute('data-emotion', key);\n sheet.hydrate([node]);\n }\n\n sheetRef.current = [sheet, rehydrating];\n return function () {\n sheet.flush();\n };\n }, [cache]);\n useInsertionEffectWithLayoutFallback(function () {\n var sheetRefCurrent = sheetRef.current;\n var sheet = sheetRefCurrent[0],\n rehydrating = sheetRefCurrent[1];\n\n if (rehydrating) {\n sheetRefCurrent[1] = false;\n return;\n }\n\n if (serialized.next !== undefined) {\n // insert keyframes\n insertStyles(cache, serialized.next, true);\n }\n\n if (sheet.tags.length) {\n // if this doesn't exist then it will be null so the style element will be appended\n var element = sheet.tags[sheet.tags.length - 1].nextElementSibling;\n sheet.before = element;\n sheet.flush();\n }\n\n cache.insert(\"\", serialized, sheet, false);\n }, [cache, serialized.name]);\n return null;\n});\n\n/* import type { Interpolation, SerializedStyles } from '@emotion/utils' */\n\nfunction css()\n/*: SerializedStyles */\n{\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n return serializeStyles(args);\n}\n\n/*\ntype Keyframes = {|\n name: string,\n styles: string,\n anim: 1,\n toString: () => string\n|} & string\n*/\n\nvar keyframes = function\n /*: Keyframes */\nkeyframes() {\n var insertable = css.apply(void 0, arguments);\n var name = \"animation-\" + insertable.name;\n return {\n name: name,\n styles: \"@keyframes \" + name + \"{\" + insertable.styles + \"}\",\n anim: 1,\n toString: function toString() {\n return \"_EMO_\" + this.name + \"_\" + this.styles + \"_EMO_\";\n }\n };\n};\n\n/*\ntype ClassNameArg =\n | string\n | boolean\n | { [key: string]: boolean }\n | Array\n | null\n | void\n*/\n\nvar classnames = function\n /*: string */\nclassnames(args\n/*: Array */\n) {\n var len = args.length;\n var i = 0;\n var cls = '';\n\n for (; i < len; i++) {\n var arg = args[i];\n if (arg == null) continue;\n var toAdd = void 0;\n\n switch (typeof arg) {\n case 'boolean':\n break;\n\n case 'object':\n {\n if (Array.isArray(arg)) {\n toAdd = classnames(arg);\n } else {\n\n toAdd = '';\n\n for (var k in arg) {\n if (arg[k] && k) {\n toAdd && (toAdd += ' ');\n toAdd += k;\n }\n }\n }\n\n break;\n }\n\n default:\n {\n toAdd = arg;\n }\n }\n\n if (toAdd) {\n cls && (cls += ' ');\n cls += toAdd;\n }\n }\n\n return cls;\n};\n\nfunction merge(registered\n/*: Object */\n, css\n/*: (...args: Array) => string */\n, className\n/*: string */\n) {\n var registeredStyles = [];\n var rawClassName = getRegisteredStyles(registered, registeredStyles, className);\n\n if (registeredStyles.length < 2) {\n return className;\n }\n\n return rawClassName + css(registeredStyles);\n}\n\nvar Insertion = function Insertion(_ref) {\n var cache = _ref.cache,\n serializedArr = _ref.serializedArr;\n useInsertionEffectAlwaysWithSyncFallback(function () {\n\n for (var i = 0; i < serializedArr.length; i++) {\n insertStyles(cache, serializedArr[i], false);\n }\n });\n\n return null;\n};\n/*\ntype Props = {\n children: ({\n css: (...args: any) => string,\n cx: (...args: Array) => string,\n theme: Object\n }) => React.Node\n} */\n\n\nvar ClassNames\n/*: React.AbstractComponent*/\n= /* #__PURE__ */withEmotionCache(function (props, cache) {\n var hasRendered = false;\n var serializedArr = [];\n\n var css = function css() {\n if (hasRendered && isDevelopment) {\n throw new Error('css can only be used during render');\n }\n\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n var serialized = serializeStyles(args, cache.registered);\n serializedArr.push(serialized); // registration has to happen here as the result of this might get consumed by `cx`\n\n registerStyles(cache, serialized, false);\n return cache.key + \"-\" + serialized.name;\n };\n\n var cx = function cx() {\n if (hasRendered && isDevelopment) {\n throw new Error('cx can only be used during render');\n }\n\n for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n args[_key2] = arguments[_key2];\n }\n\n return merge(cache.registered, css, classnames(args));\n };\n\n var content = {\n css: css,\n cx: cx,\n theme: React.useContext(ThemeContext)\n };\n var ele = props.children(content);\n hasRendered = true;\n return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Insertion, {\n cache: cache,\n serializedArr: serializedArr\n }), ele);\n});\n\nexport { ClassNames, Global, jsx as createElement, css, jsx, keyframes };\n","var unitlessKeys = {\n animationIterationCount: 1,\n aspectRatio: 1,\n borderImageOutset: 1,\n borderImageSlice: 1,\n borderImageWidth: 1,\n boxFlex: 1,\n boxFlexGroup: 1,\n boxOrdinalGroup: 1,\n columnCount: 1,\n columns: 1,\n flex: 1,\n flexGrow: 1,\n flexPositive: 1,\n flexShrink: 1,\n flexNegative: 1,\n flexOrder: 1,\n gridRow: 1,\n gridRowEnd: 1,\n gridRowSpan: 1,\n gridRowStart: 1,\n gridColumn: 1,\n gridColumnEnd: 1,\n gridColumnSpan: 1,\n gridColumnStart: 1,\n msGridRow: 1,\n msGridRowSpan: 1,\n msGridColumn: 1,\n msGridColumnSpan: 1,\n fontWeight: 1,\n lineHeight: 1,\n opacity: 1,\n order: 1,\n orphans: 1,\n scale: 1,\n tabSize: 1,\n widows: 1,\n zIndex: 1,\n zoom: 1,\n WebkitLineClamp: 1,\n // SVG-related properties\n fillOpacity: 1,\n floodOpacity: 1,\n stopOpacity: 1,\n strokeDasharray: 1,\n strokeDashoffset: 1,\n strokeMiterlimit: 1,\n strokeOpacity: 1,\n strokeWidth: 1\n};\n\nexport { unitlessKeys as default };\n","import hashString from '@emotion/hash';\nimport unitless from '@emotion/unitless';\nimport memoize from '@emotion/memoize';\n\nvar isDevelopment = false;\n\nvar hyphenateRegex = /[A-Z]|^ms/g;\nvar animationRegex = /_EMO_([^_]+?)_([^]*?)_EMO_/g;\n\nvar isCustomProperty = function isCustomProperty(property) {\n return property.charCodeAt(1) === 45;\n};\n\nvar isProcessableValue = function isProcessableValue(value) {\n return value != null && typeof value !== 'boolean';\n};\n\nvar processStyleName = /* #__PURE__ */memoize(function (styleName) {\n return isCustomProperty(styleName) ? styleName : styleName.replace(hyphenateRegex, '-$&').toLowerCase();\n});\n\nvar processStyleValue = function processStyleValue(key, value) {\n switch (key) {\n case 'animation':\n case 'animationName':\n {\n if (typeof value === 'string') {\n return value.replace(animationRegex, function (match, p1, p2) {\n cursor = {\n name: p1,\n styles: p2,\n next: cursor\n };\n return p1;\n });\n }\n }\n }\n\n if (unitless[key] !== 1 && !isCustomProperty(key) && typeof value === 'number' && value !== 0) {\n return value + 'px';\n }\n\n return value;\n};\n\nvar noComponentSelectorMessage = 'Component selectors can only be used in conjunction with ' + '@emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware ' + 'compiler transform.';\n\nfunction handleInterpolation(mergedProps, registered, interpolation) {\n if (interpolation == null) {\n return '';\n }\n\n var componentSelector = interpolation;\n\n if (componentSelector.__emotion_styles !== undefined) {\n\n return componentSelector;\n }\n\n switch (typeof interpolation) {\n case 'boolean':\n {\n return '';\n }\n\n case 'object':\n {\n var keyframes = interpolation;\n\n if (keyframes.anim === 1) {\n cursor = {\n name: keyframes.name,\n styles: keyframes.styles,\n next: cursor\n };\n return keyframes.name;\n }\n\n var serializedStyles = interpolation;\n\n if (serializedStyles.styles !== undefined) {\n var next = serializedStyles.next;\n\n if (next !== undefined) {\n // not the most efficient thing ever but this is a pretty rare case\n // and there will be very few iterations of this generally\n while (next !== undefined) {\n cursor = {\n name: next.name,\n styles: next.styles,\n next: cursor\n };\n next = next.next;\n }\n }\n\n var styles = serializedStyles.styles + \";\";\n\n return styles;\n }\n\n return createStringFromObject(mergedProps, registered, interpolation);\n }\n\n case 'function':\n {\n if (mergedProps !== undefined) {\n var previousCursor = cursor;\n var result = interpolation(mergedProps);\n cursor = previousCursor;\n return handleInterpolation(mergedProps, registered, result);\n }\n\n break;\n }\n } // finalize string values (regular strings and functions interpolated into css calls)\n\n\n var asString = interpolation;\n\n if (registered == null) {\n return asString;\n }\n\n var cached = registered[asString];\n return cached !== undefined ? cached : asString;\n}\n\nfunction createStringFromObject(mergedProps, registered, obj) {\n var string = '';\n\n if (Array.isArray(obj)) {\n for (var i = 0; i < obj.length; i++) {\n string += handleInterpolation(mergedProps, registered, obj[i]) + \";\";\n }\n } else {\n for (var key in obj) {\n var value = obj[key];\n\n if (typeof value !== 'object') {\n var asString = value;\n\n if (registered != null && registered[asString] !== undefined) {\n string += key + \"{\" + registered[asString] + \"}\";\n } else if (isProcessableValue(asString)) {\n string += processStyleName(key) + \":\" + processStyleValue(key, asString) + \";\";\n }\n } else {\n if (key === 'NO_COMPONENT_SELECTOR' && isDevelopment) {\n throw new Error(noComponentSelectorMessage);\n }\n\n if (Array.isArray(value) && typeof value[0] === 'string' && (registered == null || registered[value[0]] === undefined)) {\n for (var _i = 0; _i < value.length; _i++) {\n if (isProcessableValue(value[_i])) {\n string += processStyleName(key) + \":\" + processStyleValue(key, value[_i]) + \";\";\n }\n }\n } else {\n var interpolated = handleInterpolation(mergedProps, registered, value);\n\n switch (key) {\n case 'animation':\n case 'animationName':\n {\n string += processStyleName(key) + \":\" + interpolated + \";\";\n break;\n }\n\n default:\n {\n\n string += key + \"{\" + interpolated + \"}\";\n }\n }\n }\n }\n }\n }\n\n return string;\n}\n\nvar labelPattern = /label:\\s*([^\\s;{]+)\\s*(;|$)/g;\n// keyframes are stored on the SerializedStyles object as a linked list\n\n\nvar cursor;\nfunction serializeStyles(args, registered, mergedProps) {\n if (args.length === 1 && typeof args[0] === 'object' && args[0] !== null && args[0].styles !== undefined) {\n return args[0];\n }\n\n var stringMode = true;\n var styles = '';\n cursor = undefined;\n var strings = args[0];\n\n if (strings == null || strings.raw === undefined) {\n stringMode = false;\n styles += handleInterpolation(mergedProps, registered, strings);\n } else {\n var asTemplateStringsArr = strings;\n\n styles += asTemplateStringsArr[0];\n } // we start at 1 since we've already handled the first arg\n\n\n for (var i = 1; i < args.length; i++) {\n styles += handleInterpolation(mergedProps, registered, args[i]);\n\n if (stringMode) {\n var templateStringsArr = strings;\n\n styles += templateStringsArr[i];\n }\n }\n\n\n labelPattern.lastIndex = 0;\n var identifierName = '';\n var match; // https://esbench.com/bench/5b809c2cf2949800a0f61fb5\n\n while ((match = labelPattern.exec(styles)) !== null) {\n identifierName += '-' + match[1];\n }\n\n var name = hashString(styles) + identifierName;\n\n return {\n name: name,\n styles: styles,\n next: cursor\n };\n}\n\nexport { serializeStyles };\n","/* eslint-disable */\n// Inspired by https://github.com/garycourt/murmurhash-js\n// Ported from https://github.com/aappleby/smhasher/blob/61a0530f28277f2e850bfc39600ce61d02b518de/src/MurmurHash2.cpp#L37-L86\nfunction murmur2(str) {\n // 'm' and 'r' are mixing constants generated offline.\n // They're not really 'magic', they just happen to work well.\n // const m = 0x5bd1e995;\n // const r = 24;\n // Initialize the hash\n var h = 0; // Mix 4 bytes at a time into the hash\n\n var k,\n i = 0,\n len = str.length;\n\n for (; len >= 4; ++i, len -= 4) {\n k = str.charCodeAt(i) & 0xff | (str.charCodeAt(++i) & 0xff) << 8 | (str.charCodeAt(++i) & 0xff) << 16 | (str.charCodeAt(++i) & 0xff) << 24;\n k =\n /* Math.imul(k, m): */\n (k & 0xffff) * 0x5bd1e995 + ((k >>> 16) * 0xe995 << 16);\n k ^=\n /* k >>> r: */\n k >>> 24;\n h =\n /* Math.imul(k, m): */\n (k & 0xffff) * 0x5bd1e995 + ((k >>> 16) * 0xe995 << 16) ^\n /* Math.imul(h, m): */\n (h & 0xffff) * 0x5bd1e995 + ((h >>> 16) * 0xe995 << 16);\n } // Handle the last few bytes of the input array\n\n\n switch (len) {\n case 3:\n h ^= (str.charCodeAt(i + 2) & 0xff) << 16;\n\n case 2:\n h ^= (str.charCodeAt(i + 1) & 0xff) << 8;\n\n case 1:\n h ^= str.charCodeAt(i) & 0xff;\n h =\n /* Math.imul(h, m): */\n (h & 0xffff) * 0x5bd1e995 + ((h >>> 16) * 0xe995 << 16);\n } // Do a few final mixes of the hash to ensure the last few\n // bytes are well-incorporated.\n\n\n h ^= h >>> 13;\n h =\n /* Math.imul(h, m): */\n (h & 0xffff) * 0x5bd1e995 + ((h >>> 16) * 0xe995 << 16);\n return ((h ^ h >>> 15) >>> 0).toString(36);\n}\n\nexport { murmur2 as default };\n","import * as React from 'react';\n\nvar syncFallback = function syncFallback(create) {\n return create();\n};\n\nvar useInsertionEffect = React['useInsertion' + 'Effect'] ? React['useInsertion' + 'Effect'] : false;\nvar useInsertionEffectAlwaysWithSyncFallback = useInsertionEffect || syncFallback;\nvar useInsertionEffectWithLayoutFallback = useInsertionEffect || React.useLayoutEffect;\n\nexport { useInsertionEffectAlwaysWithSyncFallback, useInsertionEffectWithLayoutFallback };\n","var isBrowser = true;\n\nfunction getRegisteredStyles(registered, registeredStyles, classNames) {\n var rawClassName = '';\n classNames.split(' ').forEach(function (className) {\n if (registered[className] !== undefined) {\n registeredStyles.push(registered[className] + \";\");\n } else if (className) {\n rawClassName += className + \" \";\n }\n });\n return rawClassName;\n}\nvar registerStyles = function registerStyles(cache, serialized, isStringTag) {\n var className = cache.key + \"-\" + serialized.name;\n\n if ( // we only need to add the styles to the registered cache if the\n // class name could be used further down\n // the tree but if it's a string tag, we know it won't\n // so we don't have to add it to registered cache.\n // this improves memory usage since we can avoid storing the whole style string\n (isStringTag === false || // we need to always store it if we're in compat mode and\n // in node since emotion-server relies on whether a style is in\n // the registered cache to know whether a style is global or not\n // also, note that this check will be dead code eliminated in the browser\n isBrowser === false ) && cache.registered[className] === undefined) {\n cache.registered[className] = serialized.styles;\n }\n};\nvar insertStyles = function insertStyles(cache, serialized, isStringTag) {\n registerStyles(cache, serialized, isStringTag);\n var className = cache.key + \"-\" + serialized.name;\n\n if (cache.inserted[serialized.name] === undefined) {\n var current = serialized;\n\n do {\n cache.insert(serialized === current ? \".\" + className : '', current, cache.sheet, true);\n\n current = current.next;\n } while (current !== undefined);\n }\n};\n\nexport { getRegisteredStyles, insertStyles, registerStyles };\n","/**\n * Extracts event handlers from a given object.\n * A prop is considered an event handler if it is a function and its name starts with `on`.\n *\n * @param object An object to extract event handlers from.\n * @param excludeKeys An array of keys to exclude from the returned object.\n */\nfunction extractEventHandlers(object, excludeKeys = []) {\n if (object === undefined) {\n return {};\n }\n const result = {};\n Object.keys(object).filter(prop => prop.match(/^on[A-Z]/) && typeof object[prop] === 'function' && !excludeKeys.includes(prop)).forEach(prop => {\n result[prop] = object[prop];\n });\n return result;\n}\nexport default extractEventHandlers;","/**\n * TODO v5: consider making it private\n *\n * passes {value} to {ref}\n *\n * WARNING: Be sure to only call this inside a callback that is passed as a ref.\n * Otherwise, make sure to cleanup the previous {ref} if it changes. See\n * https://github.com/mui/material-ui/issues/13539\n *\n * Useful if you want to expose the ref of an inner component to the public API\n * while still using it inside the component.\n * @param ref A ref callback or ref object. If anything falsy, this is a no-op.\n */\nexport default function setRef(ref, value) {\n if (typeof ref === 'function') {\n ref(value);\n } else if (ref) {\n ref.current = value;\n }\n}","'use client';\n\nimport * as React from 'react';\nimport setRef from '../setRef';\nexport default function useForkRef(...refs) {\n /**\n * This will create a new function if the refs passed to this hook change and are all defined.\n * This means react will call the old forkRef with `null` and the new forkRef\n * with the ref. Cleanup naturally emerges from this behavior.\n */\n return React.useMemo(() => {\n if (refs.every(ref => ref == null)) {\n return null;\n }\n return instance => {\n refs.forEach(ref => {\n setRef(ref, instance);\n });\n };\n // TODO: uncomment once we enable eslint-plugin-react-compiler // eslint-disable-next-line react-compiler/react-compiler -- intentionally ignoring that the dependency array must be an array literal\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, refs);\n}","/**\n * Determines if a given element is a DOM element name (i.e. not a React component).\n */\nfunction isHostComponent(element) {\n return typeof element === 'string';\n}\nexport default isHostComponent;","import isHostComponent from '../isHostComponent';\n\n/**\n * Type of the ownerState based on the type of an element it applies to.\n * This resolves to the provided OwnerState for React components and `undefined` for host components.\n * Falls back to `OwnerState | undefined` when the exact type can't be determined in development time.\n */\n\n/**\n * Appends the ownerState object to the props, merging with the existing one if necessary.\n *\n * @param elementType Type of the element that owns the `existingProps`. If the element is a DOM node or undefined, `ownerState` is not applied.\n * @param otherProps Props of the element.\n * @param ownerState\n */\nfunction appendOwnerState(elementType, otherProps, ownerState) {\n if (elementType === undefined || isHostComponent(elementType)) {\n return otherProps;\n }\n return {\n ...otherProps,\n ownerState: {\n ...otherProps.ownerState,\n ...ownerState\n }\n };\n}\nexport default appendOwnerState;","/**\n * Removes event handlers from the given object.\n * A field is considered an event handler if it is a function with a name beginning with `on`.\n *\n * @param object Object to remove event handlers from.\n * @returns Object with event handlers removed.\n */\nfunction omitEventHandlers(object) {\n if (object === undefined) {\n return {};\n }\n const result = {};\n Object.keys(object).filter(prop => !(prop.match(/^on[A-Z]/) && typeof object[prop] === 'function')).forEach(prop => {\n result[prop] = object[prop];\n });\n return result;\n}\nexport default omitEventHandlers;","import clsx from 'clsx';\nimport extractEventHandlers from '../extractEventHandlers';\nimport omitEventHandlers from '../omitEventHandlers';\n/**\n * Merges the slot component internal props (usually coming from a hook)\n * with the externally provided ones.\n *\n * The merge order is (the latter overrides the former):\n * 1. The internal props (specified as a getter function to work with get*Props hook result)\n * 2. Additional props (specified internally on a Base UI component)\n * 3. External props specified on the owner component. These should only be used on a root slot.\n * 4. External props specified in the `slotProps.*` prop.\n * 5. The `className` prop - combined from all the above.\n * @param parameters\n * @returns\n */\nfunction mergeSlotProps(parameters) {\n const {\n getSlotProps,\n additionalProps,\n externalSlotProps,\n externalForwardedProps,\n className\n } = parameters;\n if (!getSlotProps) {\n // The simpler case - getSlotProps is not defined, so no internal event handlers are defined,\n // so we can simply merge all the props without having to worry about extracting event handlers.\n const joinedClasses = clsx(additionalProps?.className, className, externalForwardedProps?.className, externalSlotProps?.className);\n const mergedStyle = {\n ...additionalProps?.style,\n ...externalForwardedProps?.style,\n ...externalSlotProps?.style\n };\n const props = {\n ...additionalProps,\n ...externalForwardedProps,\n ...externalSlotProps\n };\n if (joinedClasses.length > 0) {\n props.className = joinedClasses;\n }\n if (Object.keys(mergedStyle).length > 0) {\n props.style = mergedStyle;\n }\n return {\n props,\n internalRef: undefined\n };\n }\n\n // In this case, getSlotProps is responsible for calling the external event handlers.\n // We don't need to include them in the merged props because of this.\n\n const eventHandlers = extractEventHandlers({\n ...externalForwardedProps,\n ...externalSlotProps\n });\n const componentsPropsWithoutEventHandlers = omitEventHandlers(externalSlotProps);\n const otherPropsWithoutEventHandlers = omitEventHandlers(externalForwardedProps);\n const internalSlotProps = getSlotProps(eventHandlers);\n\n // The order of classes is important here.\n // Emotion (that we use in libraries consuming Base UI) depends on this order\n // to properly override style. It requires the most important classes to be last\n // (see https://github.com/mui/material-ui/pull/33205) for the related discussion.\n const joinedClasses = clsx(internalSlotProps?.className, additionalProps?.className, className, externalForwardedProps?.className, externalSlotProps?.className);\n const mergedStyle = {\n ...internalSlotProps?.style,\n ...additionalProps?.style,\n ...externalForwardedProps?.style,\n ...externalSlotProps?.style\n };\n const props = {\n ...internalSlotProps,\n ...additionalProps,\n ...otherPropsWithoutEventHandlers,\n ...componentsPropsWithoutEventHandlers\n };\n if (joinedClasses.length > 0) {\n props.className = joinedClasses;\n }\n if (Object.keys(mergedStyle).length > 0) {\n props.style = mergedStyle;\n }\n return {\n props,\n internalRef: internalSlotProps.ref\n };\n}\nexport default mergeSlotProps;","/**\n * If `componentProps` is a function, calls it with the provided `ownerState`.\n * Otherwise, just returns `componentProps`.\n */\nfunction resolveComponentProps(componentProps, ownerState, slotState) {\n if (typeof componentProps === 'function') {\n return componentProps(ownerState, slotState);\n }\n return componentProps;\n}\nexport default resolveComponentProps;","'use client';\n\nimport useForkRef from '../useForkRef';\nimport appendOwnerState from '../appendOwnerState';\nimport mergeSlotProps from '../mergeSlotProps';\nimport resolveComponentProps from '../resolveComponentProps';\n/**\n * @ignore - do not document.\n * Builds the props to be passed into the slot of an unstyled component.\n * It merges the internal props of the component with the ones supplied by the user, allowing to customize the behavior.\n * If the slot component is not a host component, it also merges in the `ownerState`.\n *\n * @param parameters.getSlotProps - A function that returns the props to be passed to the slot component.\n */\nfunction useSlotProps(parameters) {\n const {\n elementType,\n externalSlotProps,\n ownerState,\n skipResolvingSlotProps = false,\n ...other\n } = parameters;\n const resolvedComponentsProps = skipResolvingSlotProps ? {} : resolveComponentProps(externalSlotProps, ownerState);\n const {\n props: mergedProps,\n internalRef\n } = mergeSlotProps({\n ...other,\n externalSlotProps: resolvedComponentsProps\n });\n const ref = useForkRef(internalRef, resolvedComponentsProps?.ref, parameters.additionalProps?.ref);\n const props = appendOwnerState(elementType, {\n ...mergedProps,\n ref\n }, ownerState);\n return props;\n}\nexport default useSlotProps;","/**\n * If `componentProps` is a function, calls it with the provided `ownerState`.\n * Otherwise, just returns `componentProps`.\n */\nexport function resolveComponentProps(componentProps, ownerState, slotState) {\n if (typeof componentProps === 'function') {\n return componentProps(ownerState, slotState);\n }\n return componentProps;\n}","\"use strict\";\n\"use client\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar _createSvgIcon = _interopRequireDefault(require(\"./utils/createSvgIcon\"));\nvar _jsxRuntime = require(\"react/jsx-runtime\");\nvar _default = exports.default = (0, _createSvgIcon.default)([/*#__PURE__*/(0, _jsxRuntime.jsx)(\"path\", {\n d: \"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2M12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8\"\n}, \"0\"), /*#__PURE__*/(0, _jsxRuntime.jsx)(\"path\", {\n d: \"M12.5 7H11v6l5.25 3.15.75-1.23-4.5-2.67z\"\n}, \"1\")], 'AccessTime');","\"use strict\";\n\"use client\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar _createSvgIcon = _interopRequireDefault(require(\"./utils/createSvgIcon\"));\nvar _jsxRuntime = require(\"react/jsx-runtime\");\nvar _default = exports.default = (0, _createSvgIcon.default)( /*#__PURE__*/(0, _jsxRuntime.jsx)(\"path\", {\n d: \"M12 6v3l4-4-4-4v3c-4.42 0-8 3.58-8 8 0 1.57.46 3.03 1.24 4.26L6.7 14.8c-.45-.83-.7-1.79-.7-2.8 0-3.31 2.69-6 6-6m6.76 1.74L17.3 9.2c.44.84.7 1.79.7 2.8 0 3.31-2.69 6-6 6v-3l-4 4 4 4v-3c4.42 0 8-3.58 8-8 0-1.57-.46-3.03-1.24-4.26\"\n}), 'Autorenew');","\"use strict\";\n\"use client\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar _createSvgIcon = _interopRequireDefault(require(\"./utils/createSvgIcon\"));\nvar _jsxRuntime = require(\"react/jsx-runtime\");\nvar _default = exports.default = (0, _createSvgIcon.default)( /*#__PURE__*/(0, _jsxRuntime.jsx)(\"path\", {\n d: \"M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z\"\n}), 'Check');","\"use strict\";\n\"use client\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar _createSvgIcon = _interopRequireDefault(require(\"./utils/createSvgIcon\"));\nvar _jsxRuntime = require(\"react/jsx-runtime\");\nvar _default = exports.default = (0, _createSvgIcon.default)( /*#__PURE__*/(0, _jsxRuntime.jsx)(\"path\", {\n d: \"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z\"\n}), 'Close');","\"use strict\";\n\"use client\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar _createSvgIcon = _interopRequireDefault(require(\"./utils/createSvgIcon\"));\nvar _jsxRuntime = require(\"react/jsx-runtime\");\nvar _default = exports.default = (0, _createSvgIcon.default)( /*#__PURE__*/(0, _jsxRuntime.jsx)(\"path\", {\n d: \"M21 8V7l-3 2-3-2v1l3 2zm1-5H2C.9 3 0 3.9 0 5v14c0 1.1.9 2 2 2h20c1.1 0 1.99-.9 1.99-2L24 5c0-1.1-.9-2-2-2M8 6c1.66 0 3 1.34 3 3s-1.34 3-3 3-3-1.34-3-3 1.34-3 3-3m6 12H2v-1c0-2 4-3.1 6-3.1s6 1.1 6 3.1zm8-6h-8V6h8z\"\n}), 'ContactMail');","\"use strict\";\n\"use client\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar _createSvgIcon = _interopRequireDefault(require(\"./utils/createSvgIcon\"));\nvar _jsxRuntime = require(\"react/jsx-runtime\");\nvar _default = exports.default = (0, _createSvgIcon.default)( /*#__PURE__*/(0, _jsxRuntime.jsx)(\"path\", {\n d: \"M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6zM19 4h-3.5l-1-1h-5l-1 1H5v2h14z\"\n}), 'Delete');","\"use strict\";\n\"use client\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar _createSvgIcon = _interopRequireDefault(require(\"./utils/createSvgIcon\"));\nvar _jsxRuntime = require(\"react/jsx-runtime\");\nvar _default = exports.default = (0, _createSvgIcon.default)( /*#__PURE__*/(0, _jsxRuntime.jsx)(\"path\", {\n d: \"M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z\"\n}), 'Done');","\"use strict\";\n\"use client\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar _createSvgIcon = _interopRequireDefault(require(\"./utils/createSvgIcon\"));\nvar _jsxRuntime = require(\"react/jsx-runtime\");\nvar _default = exports.default = (0, _createSvgIcon.default)( /*#__PURE__*/(0, _jsxRuntime.jsx)(\"path\", {\n d: \"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m1 15h-2v-6h2zm0-8h-2V7h2z\"\n}), 'Info');","\"use strict\";\n\"use client\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar _createSvgIcon = _interopRequireDefault(require(\"./utils/createSvgIcon\"));\nvar _jsxRuntime = require(\"react/jsx-runtime\");\nvar _default = exports.default = (0, _createSvgIcon.default)( /*#__PURE__*/(0, _jsxRuntime.jsx)(\"path\", {\n d: \"M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7m0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5\"\n}), 'LocationOn');","\"use strict\";\n\"use client\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar _createSvgIcon = _interopRequireDefault(require(\"./utils/createSvgIcon\"));\nvar _jsxRuntime = require(\"react/jsx-runtime\");\nvar _default = exports.default = (0, _createSvgIcon.default)( /*#__PURE__*/(0, _jsxRuntime.jsx)(\"path\", {\n d: \"M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2m0 4-8 5-8-5V6l8 5 8-5z\"\n}), 'Mail');","\"use strict\";\n\"use client\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar _createSvgIcon = _interopRequireDefault(require(\"./utils/createSvgIcon\"));\nvar _jsxRuntime = require(\"react/jsx-runtime\");\nvar _default = exports.default = (0, _createSvgIcon.default)( /*#__PURE__*/(0, _jsxRuntime.jsx)(\"path\", {\n d: \"M12 5.9c1.16 0 2.1.94 2.1 2.1s-.94 2.1-2.1 2.1S9.9 9.16 9.9 8s.94-2.1 2.1-2.1m0 9c2.97 0 6.1 1.46 6.1 2.1v1.1H5.9V17c0-.64 3.13-2.1 6.1-2.1M12 4C9.79 4 8 5.79 8 8s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4m0 9c-2.67 0-8 1.34-8 4v3h16v-3c0-2.66-5.33-4-8-4\"\n}), 'PermIdentity');","\"use strict\";\n\"use client\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar _createSvgIcon = _interopRequireDefault(require(\"./utils/createSvgIcon\"));\nvar _jsxRuntime = require(\"react/jsx-runtime\");\nvar _default = exports.default = (0, _createSvgIcon.default)( /*#__PURE__*/(0, _jsxRuntime.jsx)(\"path\", {\n d: \"M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1V20c0 .55-.45 1-1 1-9.39 0-17-7.61-17-17 0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1 0 1.25.2 2.45.57 3.57.11.35.03.74-.25 1.02z\"\n}), 'Phone');","\"use strict\";\n\"use client\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar _createSvgIcon = _interopRequireDefault(require(\"./utils/createSvgIcon\"));\nvar _jsxRuntime = require(\"react/jsx-runtime\");\nvar _default = exports.default = (0, _createSvgIcon.default)( /*#__PURE__*/(0, _jsxRuntime.jsx)(\"path\", {\n d: \"M12.5 8c-2.65 0-5.05.99-6.9 2.6L2 7v9h9l-3.62-3.62c1.39-1.16 3.16-1.88 5.12-1.88 3.54 0 6.55 2.31 7.6 5.5l2.37-.78C21.08 11.03 17.15 8 12.5 8\"\n}), 'Undo');","\"use strict\";\n\"use client\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar _createSvgIcon = _interopRequireDefault(require(\"./utils/createSvgIcon\"));\nvar _jsxRuntime = require(\"react/jsx-runtime\");\nvar _default = exports.default = (0, _createSvgIcon.default)( /*#__PURE__*/(0, _jsxRuntime.jsx)(\"path\", {\n d: \"M5 20h14v-2H5zm0-10h4v6h6v-6h4l-7-7z\"\n}), 'Upload');","\"use client\";\n\nimport createSvgIcon from './utils/createSvgIcon';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport default createSvgIcon( /*#__PURE__*/_jsx(\"path\", {\n d: \"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 4c1.93 0 3.5 1.57 3.5 3.5S13.93 13 12 13s-3.5-1.57-3.5-3.5S10.07 6 12 6m0 14c-2.03 0-4.43-.82-6.14-2.88C7.55 15.8 9.68 15 12 15s4.45.8 6.14 2.12C16.43 19.18 14.03 20 12 20\"\n}), 'AccountCircle');","\"use client\";\n\nimport createSvgIcon from './utils/createSvgIcon';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport default createSvgIcon( /*#__PURE__*/_jsx(\"path\", {\n d: \"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6z\"\n}), 'Add');","\"use client\";\n\nimport createSvgIcon from './utils/createSvgIcon';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport default createSvgIcon( /*#__PURE__*/_jsx(\"path\", {\n d: \"m7 10 5 5 5-5z\"\n}), 'ArrowDropDown');","\"use client\";\n\nimport createSvgIcon from './utils/createSvgIcon';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport default createSvgIcon( /*#__PURE__*/_jsx(\"path\", {\n d: \"M20 7h-5V4c0-1.1-.9-2-2-2h-2c-1.1 0-2 .9-2 2v3H4c-1.1 0-2 .9-2 2v11c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V9c0-1.1-.9-2-2-2M9 12c.83 0 1.5.67 1.5 1.5S9.83 15 9 15s-1.5-.67-1.5-1.5S8.17 12 9 12m3 6H6v-.75c0-1 2-1.5 3-1.5s3 .5 3 1.5zm1-9h-2V4h2zm5 7.5h-4V15h4zm0-3h-4V12h4z\"\n}), 'Badge');","\"use client\";\n\nimport createSvgIcon from './utils/createSvgIcon';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport default createSvgIcon( /*#__PURE__*/_jsx(\"path\", {\n d: \"M20.01 15.38c-1.23 0-2.42-.2-3.53-.56-.35-.12-.74-.03-1.01.24l-1.57 1.97c-2.83-1.35-5.48-3.9-6.89-6.83l1.95-1.66c.27-.28.35-.67.24-1.02-.37-1.11-.56-2.3-.56-3.53 0-.54-.45-.99-.99-.99H4.19C3.65 3 3 3.24 3 3.99 3 13.28 10.73 21 20.01 21c.71 0 .99-.63.99-1.18v-3.45c0-.54-.45-.99-.99-.99\"\n}), 'Call');","\"use client\";\n\nimport createSvgIcon from './utils/createSvgIcon';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport default createSvgIcon( /*#__PURE__*/_jsx(\"path\", {\n d: \"M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z\"\n}), 'Check');","\"use client\";\n\nimport createSvgIcon from './utils/createSvgIcon';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport default createSvgIcon( /*#__PURE__*/_jsx(\"path\", {\n d: \"M15.41 7.41 14 6l-6 6 6 6 1.41-1.41L10.83 12z\"\n}), 'ChevronLeft');","\"use client\";\n\nimport createSvgIcon from './utils/createSvgIcon';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport default createSvgIcon( /*#__PURE__*/_jsx(\"path\", {\n d: \"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z\"\n}), 'Close');","\"use client\";\n\nimport createSvgIcon from './utils/createSvgIcon';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport default createSvgIcon( /*#__PURE__*/_jsx(\"path\", {\n d: \"M3 13h8V3H3zm0 8h8v-6H3zm10 0h8V11h-8zm0-18v6h8V3z\"\n}), 'Dashboard');","\"use client\";\n\nimport createSvgIcon from './utils/createSvgIcon';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport default createSvgIcon( /*#__PURE__*/_jsx(\"path\", {\n d: \"M3 17.25V21h3.75L17.81 9.94l-3.75-3.75zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34a.9959.9959 0 0 0-1.41 0l-1.83 1.83 3.75 3.75z\"\n}), 'Edit');","\"use client\";\n\nimport createSvgIcon from './utils/createSvgIcon';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport default createSvgIcon( /*#__PURE__*/_jsx(\"path\", {\n d: \"M17 12h-5v5h5zM16 1v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2h-1V1zm3 18H5V8h14z\"\n}), 'Event');","\"use client\";\n\nimport createSvgIcon from './utils/createSvgIcon';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport default createSvgIcon( /*#__PURE__*/_jsx(\"path\", {\n d: \"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m1 17h-2v-2h2zm2.07-7.75-.9.92C13.45 12.9 13 13.5 13 15h-2v-.5c0-1.1.45-2.1 1.17-2.83l1.24-1.26c.37-.36.59-.86.59-1.41 0-1.1-.9-2-2-2s-2 .9-2 2H8c0-2.21 1.79-4 4-4s4 1.79 4 4c0 .88-.36 1.68-.93 2.25\"\n}), 'Help');","\"use client\";\n\nimport createSvgIcon from './utils/createSvgIcon';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport default createSvgIcon( /*#__PURE__*/_jsx(\"path\", {\n d: \"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2\"\n}), 'Lens');","\"use client\";\n\nimport createSvgIcon from './utils/createSvgIcon';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport default createSvgIcon( /*#__PURE__*/_jsx(\"path\", {\n d: \"M12 8c-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4m8.94 3c-.46-4.17-3.77-7.48-7.94-7.94V1h-2v2.06C6.83 3.52 3.52 6.83 3.06 11H1v2h2.06c.46 4.17 3.77 7.48 7.94 7.94V23h2v-2.06c4.17-.46 7.48-3.77 7.94-7.94H23v-2zM12 19c-3.87 0-7-3.13-7-7s3.13-7 7-7 7 3.13 7 7-3.13 7-7 7\"\n}), 'MyLocation');","\"use client\";\n\nimport createSvgIcon from './utils/createSvgIcon';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport default createSvgIcon( /*#__PURE__*/_jsx(\"path\", {\n d: \"M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4m0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4\"\n}), 'Person');","\"use client\";\n\nimport createSvgIcon from './utils/createSvgIcon';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport default createSvgIcon( /*#__PURE__*/_jsx(\"path\", {\n d: \"M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7m0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5\"\n}), 'Place');","\"use client\";\n\nimport createSvgIcon from './utils/createSvgIcon';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport default createSvgIcon([/*#__PURE__*/_jsx(\"path\", {\n d: \"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2M12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8\"\n}, \"0\"), /*#__PURE__*/_jsx(\"path\", {\n d: \"M12.5 7H11v6l5.25 3.15.75-1.23-4.5-2.67z\"\n}, \"1\")], 'Schedule');","\"use client\";\n\nimport createSvgIcon from './utils/createSvgIcon';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport default createSvgIcon( /*#__PURE__*/_jsx(\"path\", {\n d: \"M5 13.18v4L12 21l7-3.82v-4L12 17zM12 3 1 9l11 6 9-4.91V17h2V9z\"\n}), 'School');","\"use client\";\n\nimport createSvgIcon from './utils/createSvgIcon';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport default createSvgIcon( /*#__PURE__*/_jsx(\"path\", {\n d: \"M5 20h14v-2H5zm0-10h4v6h6v-6h4l-7-7z\"\n}), 'Upload');","\"use client\";\n\nimport createSvgIcon from './utils/createSvgIcon';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport default createSvgIcon( /*#__PURE__*/_jsx(\"path\", {\n d: \"M1 21h22L12 2zm12-3h-2v-2h2zm0-4h-2v-4h2z\"\n}), 'Warning');","\"use strict\";\n'use client';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"default\", {\n enumerable: true,\n get: function () {\n return _utils.createSvgIcon;\n }\n});\nvar _utils = require(\"@mui/material/utils\");","import generateUtilityClass from '@mui/utils/generateUtilityClass';\nimport generateUtilityClasses from '@mui/utils/generateUtilityClasses';\nexport function getLoadingButtonUtilityClass(slot) {\n return generateUtilityClass('MuiLoadingButton', slot);\n}\nconst loadingButtonClasses = generateUtilityClasses('MuiLoadingButton', ['root', 'loading', 'loadingIndicator', 'loadingIndicatorCenter', 'loadingIndicatorStart', 'loadingIndicatorEnd', 'endIconLoadingEnd', 'startIconLoadingStart']);\nexport default loadingButtonClasses;","'use client';\n\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nconst _excluded = [\"children\", \"disabled\", \"id\", \"loading\", \"loadingIndicator\", \"loadingPosition\", \"variant\"];\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport { chainPropTypes } from '@mui/utils';\nimport { capitalize, unstable_useId as useId } from '@mui/material/utils';\nimport { unstable_composeClasses as composeClasses } from '@mui/base';\nimport { styled } from '@mui/material/styles';\nimport { useDefaultProps } from '@mui/material/DefaultPropsProvider';\nimport Button from '@mui/material/Button';\nimport { ButtonGroupContext } from '@mui/material/ButtonGroup';\nimport CircularProgress from '@mui/material/CircularProgress';\nimport resolveProps from '@mui/utils/resolveProps';\nimport loadingButtonClasses, { getLoadingButtonUtilityClass } from './loadingButtonClasses';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nimport { jsxs as _jsxs } from \"react/jsx-runtime\";\nconst useUtilityClasses = ownerState => {\n const {\n loading,\n loadingPosition,\n classes\n } = ownerState;\n const slots = {\n root: ['root', loading && 'loading'],\n startIcon: [loading && `startIconLoading${capitalize(loadingPosition)}`],\n endIcon: [loading && `endIconLoading${capitalize(loadingPosition)}`],\n loadingIndicator: ['loadingIndicator', loading && `loadingIndicator${capitalize(loadingPosition)}`]\n };\n const composedClasses = composeClasses(slots, getLoadingButtonUtilityClass, classes);\n return _extends({}, classes, composedClasses);\n};\n\n// TODO use `import { rootShouldForwardProp } from '../styles/styled';` once move to core\nconst rootShouldForwardProp = prop => prop !== 'ownerState' && prop !== 'theme' && prop !== 'sx' && prop !== 'as' && prop !== 'classes';\nconst LoadingButtonRoot = styled(Button, {\n shouldForwardProp: prop => rootShouldForwardProp(prop) || prop === 'classes',\n name: 'MuiLoadingButton',\n slot: 'Root',\n overridesResolver: (props, styles) => {\n return [styles.root, styles.startIconLoadingStart && {\n [`& .${loadingButtonClasses.startIconLoadingStart}`]: styles.startIconLoadingStart\n }, styles.endIconLoadingEnd && {\n [`& .${loadingButtonClasses.endIconLoadingEnd}`]: styles.endIconLoadingEnd\n }];\n }\n})(({\n ownerState,\n theme\n}) => _extends({\n [`& .${loadingButtonClasses.startIconLoadingStart}, & .${loadingButtonClasses.endIconLoadingEnd}`]: {\n transition: theme.transitions.create(['opacity'], {\n duration: theme.transitions.duration.short\n }),\n opacity: 0\n }\n}, ownerState.loadingPosition === 'center' && {\n transition: theme.transitions.create(['background-color', 'box-shadow', 'border-color'], {\n duration: theme.transitions.duration.short\n }),\n [`&.${loadingButtonClasses.loading}`]: {\n color: 'transparent'\n }\n}, ownerState.loadingPosition === 'start' && ownerState.fullWidth && {\n [`& .${loadingButtonClasses.startIconLoadingStart}, & .${loadingButtonClasses.endIconLoadingEnd}`]: {\n transition: theme.transitions.create(['opacity'], {\n duration: theme.transitions.duration.short\n }),\n opacity: 0,\n marginRight: -8\n }\n}, ownerState.loadingPosition === 'end' && ownerState.fullWidth && {\n [`& .${loadingButtonClasses.startIconLoadingStart}, & .${loadingButtonClasses.endIconLoadingEnd}`]: {\n transition: theme.transitions.create(['opacity'], {\n duration: theme.transitions.duration.short\n }),\n opacity: 0,\n marginLeft: -8\n }\n}));\nconst LoadingButtonLoadingIndicator = styled('span', {\n name: 'MuiLoadingButton',\n slot: 'LoadingIndicator',\n overridesResolver: (props, styles) => {\n const {\n ownerState\n } = props;\n return [styles.loadingIndicator, styles[`loadingIndicator${capitalize(ownerState.loadingPosition)}`]];\n }\n})(({\n theme,\n ownerState\n}) => _extends({\n position: 'absolute',\n visibility: 'visible',\n display: 'flex'\n}, ownerState.loadingPosition === 'start' && (ownerState.variant === 'outlined' || ownerState.variant === 'contained') && {\n left: ownerState.size === 'small' ? 10 : 14\n}, ownerState.loadingPosition === 'start' && ownerState.variant === 'text' && {\n left: 6\n}, ownerState.loadingPosition === 'center' && {\n left: '50%',\n transform: 'translate(-50%)',\n color: (theme.vars || theme).palette.action.disabled\n}, ownerState.loadingPosition === 'end' && (ownerState.variant === 'outlined' || ownerState.variant === 'contained') && {\n right: ownerState.size === 'small' ? 10 : 14\n}, ownerState.loadingPosition === 'end' && ownerState.variant === 'text' && {\n right: 6\n}, ownerState.loadingPosition === 'start' && ownerState.fullWidth && {\n position: 'relative',\n left: -10\n}, ownerState.loadingPosition === 'end' && ownerState.fullWidth && {\n position: 'relative',\n right: -10\n}));\nconst LoadingButton = /*#__PURE__*/React.forwardRef(function LoadingButton(inProps, ref) {\n const contextProps = React.useContext(ButtonGroupContext);\n const resolvedProps = resolveProps(contextProps, inProps);\n const props = useDefaultProps({\n props: resolvedProps,\n name: 'MuiLoadingButton'\n });\n const {\n children,\n disabled = false,\n id: idProp,\n loading = false,\n loadingIndicator: loadingIndicatorProp,\n loadingPosition = 'center',\n variant = 'text'\n } = props,\n other = _objectWithoutPropertiesLoose(props, _excluded);\n const id = useId(idProp);\n const loadingIndicator = loadingIndicatorProp != null ? loadingIndicatorProp : /*#__PURE__*/_jsx(CircularProgress, {\n \"aria-labelledby\": id,\n color: \"inherit\",\n size: 16\n });\n const ownerState = _extends({}, props, {\n disabled,\n loading,\n loadingIndicator,\n loadingPosition,\n variant\n });\n const classes = useUtilityClasses(ownerState);\n const loadingButtonLoadingIndicator = loading ? /*#__PURE__*/_jsx(LoadingButtonLoadingIndicator, {\n className: classes.loadingIndicator,\n ownerState: ownerState,\n children: loadingIndicator\n }) : null;\n return /*#__PURE__*/_jsxs(LoadingButtonRoot, _extends({\n disabled: disabled || loading,\n id: id,\n ref: ref\n }, other, {\n variant: variant,\n classes: classes,\n ownerState: ownerState,\n children: [ownerState.loadingPosition === 'end' ? children : loadingButtonLoadingIndicator, ownerState.loadingPosition === 'end' ? loadingButtonLoadingIndicator : children]\n }));\n});\nprocess.env.NODE_ENV !== \"production\" ? LoadingButton.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the d.ts file and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * The content of the component.\n */\n children: PropTypes.node,\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * If `true`, the component is disabled.\n * @default false\n */\n disabled: PropTypes.bool,\n /**\n * @ignore\n */\n id: PropTypes.string,\n /**\n * If `true`, the loading indicator is shown and the button becomes disabled.\n * @default false\n */\n loading: PropTypes.bool,\n /**\n * Element placed before the children if the button is in loading state.\n * The node should contain an element with `role=\"progressbar\"` with an accessible name.\n * By default we render a `CircularProgress` that is labelled by the button itself.\n * @default \n */\n loadingIndicator: PropTypes.node,\n /**\n * The loading indicator can be positioned on the start, end, or the center of the button.\n * @default 'center'\n */\n loadingPosition: chainPropTypes(PropTypes.oneOf(['start', 'end', 'center']), props => {\n if (props.loadingPosition === 'start' && !props.startIcon) {\n return new Error(`MUI: The loadingPosition=\"start\" should be used in combination with startIcon.`);\n }\n if (props.loadingPosition === 'end' && !props.endIcon) {\n return new Error(`MUI: The loadingPosition=\"end\" should be used in combination with endIcon.`);\n }\n return null;\n }),\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),\n /**\n * The variant to use.\n * @default 'text'\n */\n variant: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['contained', 'outlined', 'text']), PropTypes.string])\n} : void 0;\nexport default LoadingButton;","import generateUtilityClass from '@mui/utils/generateUtilityClass';\nimport generateUtilityClasses from '@mui/utils/generateUtilityClasses';\nexport function getTimelineUtilityClass(slot) {\n return generateUtilityClass('MuiTimeline', slot);\n}\nconst timelineClasses = generateUtilityClasses('MuiTimeline', ['root', 'positionLeft', 'positionRight', 'positionAlternate', 'positionAlternateReverse']);\nexport default timelineClasses;","'use client';\n\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nconst _excluded = [\"position\", \"className\"];\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport { unstable_composeClasses as composeClasses } from '@mui/base';\nimport { styled, useThemeProps } from '@mui/material/styles';\nimport TimelineContext from './TimelineContext';\nimport { getTimelineUtilityClass } from './timelineClasses';\nimport convertTimelinePositionToClass from '../internal/convertTimelinePositionToClass';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst useUtilityClasses = ownerState => {\n const {\n position,\n classes\n } = ownerState;\n const slots = {\n root: ['root', position && convertTimelinePositionToClass(position)]\n };\n return composeClasses(slots, getTimelineUtilityClass, classes);\n};\nconst TimelineRoot = styled('ul', {\n name: 'MuiTimeline',\n slot: 'Root',\n overridesResolver: (props, styles) => {\n const {\n ownerState\n } = props;\n return [styles.root, ownerState.position && styles[convertTimelinePositionToClass(ownerState.position)]];\n }\n})({\n display: 'flex',\n flexDirection: 'column',\n padding: '6px 16px',\n flexGrow: 1\n});\n\n/**\n *\n * Demos:\n *\n * - [Timeline](https://mui.com/material-ui/react-timeline/)\n *\n * API:\n *\n * - [Timeline API](https://mui.com/material-ui/api/timeline/)\n */\nconst Timeline = /*#__PURE__*/React.forwardRef(function Timeline(inProps, ref) {\n const props = useThemeProps({\n props: inProps,\n name: 'MuiTimeline'\n });\n const {\n position = 'right',\n className\n } = props,\n other = _objectWithoutPropertiesLoose(props, _excluded);\n const ownerState = _extends({}, props, {\n position\n });\n const classes = useUtilityClasses(ownerState);\n const contextValue = React.useMemo(() => ({\n position\n }), [position]);\n return /*#__PURE__*/_jsx(TimelineContext.Provider, {\n value: contextValue,\n children: /*#__PURE__*/_jsx(TimelineRoot, _extends({\n className: clsx(classes.root, className),\n ownerState: ownerState\n // @ts-expect-error TypeScript bug, need to keep unknown for DX\n ,\n ref: ref\n }, other))\n });\n});\nprocess.env.NODE_ENV !== \"production\" ? Timeline.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * The content of the component.\n */\n children: PropTypes.node,\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * className applied to the root element.\n */\n className: PropTypes.string,\n /**\n * The position where the TimelineContent should appear relative to the time axis.\n * @default 'right'\n */\n position: PropTypes.oneOf(['alternate-reverse', 'alternate', 'left', 'right']),\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])\n} : void 0;\n\n/**\n *\n * Demos:\n *\n * - [Timeline](https://mui.com/components/timeline/)\n *\n * API:\n *\n * - [Timeline API](https://mui.com/api/timeline/)\n */\nexport default Timeline;","import * as React from 'react';\n\n/**\n * @ignore - internal component.\n */\nconst TimelineContext = /*#__PURE__*/React.createContext({});\nif (process.env.NODE_ENV !== 'production') {\n TimelineContext.displayName = 'TimelineContext';\n}\nexport default TimelineContext;","import generateUtilityClass from '@mui/utils/generateUtilityClass';\nimport generateUtilityClasses from '@mui/utils/generateUtilityClasses';\nexport function getTimelineConnectorUtilityClass(slot) {\n return generateUtilityClass('MuiTimelineConnector', slot);\n}\nconst timelineConnectorClasses = generateUtilityClasses('MuiTimelineConnector', ['root']);\nexport default timelineConnectorClasses;","'use client';\n\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nconst _excluded = [\"className\"];\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport { unstable_composeClasses as composeClasses } from '@mui/base';\nimport { styled, useThemeProps } from '@mui/material/styles';\nimport { getTimelineConnectorUtilityClass } from './timelineConnectorClasses';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst useUtilityClasses = ownerState => {\n const {\n classes\n } = ownerState;\n const slots = {\n root: ['root']\n };\n return composeClasses(slots, getTimelineConnectorUtilityClass, classes);\n};\nconst TimelineConnectorRoot = styled('span', {\n name: 'MuiTimelineConnector',\n slot: 'Root',\n overridesResolver: (props, styles) => styles.root\n})(({\n theme\n}) => {\n return {\n width: 2,\n backgroundColor: (theme.vars || theme).palette.grey[400],\n flexGrow: 1\n };\n});\nconst TimelineConnector = /*#__PURE__*/React.forwardRef(function TimelineConnector(inProps, ref) {\n const props = useThemeProps({\n props: inProps,\n name: 'MuiTimelineConnector'\n });\n const {\n className\n } = props,\n other = _objectWithoutPropertiesLoose(props, _excluded);\n const ownerState = props;\n const classes = useUtilityClasses(ownerState);\n return /*#__PURE__*/_jsx(TimelineConnectorRoot, _extends({\n className: clsx(classes.root, className),\n ownerState: ownerState,\n ref: ref\n }, other));\n});\nprocess.env.NODE_ENV !== \"production\" ? TimelineConnector.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the d.ts file and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * The content of the component.\n */\n children: PropTypes.node,\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * @ignore\n */\n className: PropTypes.string,\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])\n} : void 0;\nexport default TimelineConnector;","'use client';\n\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nconst _excluded = [\"className\"];\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport { styled, useThemeProps } from '@mui/material/styles';\nimport { unstable_composeClasses as composeClasses } from '@mui/base';\nimport Typography from '@mui/material/Typography';\nimport TimelineContext from '../Timeline/TimelineContext';\nimport { getTimelineContentUtilityClass } from './timelineContentClasses';\nimport convertTimelinePositionToClass from '../internal/convertTimelinePositionToClass';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst useUtilityClasses = ownerState => {\n const {\n position,\n classes\n } = ownerState;\n const slots = {\n root: ['root', convertTimelinePositionToClass(position)]\n };\n return composeClasses(slots, getTimelineContentUtilityClass, classes);\n};\nconst TimelineContentRoot = styled(Typography, {\n name: 'MuiTimelineContent',\n slot: 'Root',\n overridesResolver: (props, styles) => {\n const {\n ownerState\n } = props;\n return [styles.root, styles[convertTimelinePositionToClass(ownerState.position)]];\n }\n})(({\n ownerState\n}) => _extends({\n flex: 1,\n padding: '6px 16px',\n textAlign: 'left'\n}, ownerState.position === 'left' && {\n textAlign: 'right'\n}));\nconst TimelineContent = /*#__PURE__*/React.forwardRef(function TimelineContent(inProps, ref) {\n const props = useThemeProps({\n props: inProps,\n name: 'MuiTimelineContent'\n });\n const {\n className\n } = props,\n other = _objectWithoutPropertiesLoose(props, _excluded);\n const {\n position: positionContext\n } = React.useContext(TimelineContext);\n const ownerState = _extends({}, props, {\n position: positionContext || 'right'\n });\n const classes = useUtilityClasses(ownerState);\n return /*#__PURE__*/_jsx(TimelineContentRoot, _extends({\n component: \"div\",\n className: clsx(classes.root, className),\n ownerState: ownerState,\n ref: ref\n }, other));\n});\nprocess.env.NODE_ENV !== \"production\" ? TimelineContent.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the d.ts file and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * The content of the component.\n */\n children: PropTypes.node,\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * @ignore\n */\n className: PropTypes.string,\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])\n} : void 0;\nexport default TimelineContent;","import generateUtilityClass from '@mui/utils/generateUtilityClass';\nimport generateUtilityClasses from '@mui/utils/generateUtilityClasses';\nexport function getTimelineContentUtilityClass(slot) {\n return generateUtilityClass('MuiTimelineContent', slot);\n}\nconst timelineContentClasses = generateUtilityClasses('MuiTimelineContent', ['root', 'positionLeft', 'positionRight', 'positionAlternate', 'positionAlternateReverse']);\nexport default timelineContentClasses;","import generateUtilityClass from '@mui/utils/generateUtilityClass';\nimport generateUtilityClasses from '@mui/utils/generateUtilityClasses';\nexport function getTimelineDotUtilityClass(slot) {\n return generateUtilityClass('MuiTimelineDot', slot);\n}\nconst timelineDotClasses = generateUtilityClasses('MuiTimelineDot', ['root', 'filled', 'outlined', 'filledGrey', 'outlinedGrey', 'filledPrimary', 'outlinedPrimary', 'filledSecondary', 'outlinedSecondary']);\nexport default timelineDotClasses;","'use client';\n\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nconst _excluded = [\"className\", \"color\", \"variant\"];\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport { styled, useThemeProps } from '@mui/material/styles';\nimport { capitalize } from '@mui/material/utils';\nimport { unstable_composeClasses as composeClasses } from '@mui/base';\nimport { getTimelineDotUtilityClass } from './timelineDotClasses';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst useUtilityClasses = ownerState => {\n const {\n color,\n variant,\n classes\n } = ownerState;\n const slots = {\n root: ['root', variant, color !== 'inherit' && `${variant}${capitalize(color)}`]\n };\n return composeClasses(slots, getTimelineDotUtilityClass, classes);\n};\nconst TimelineDotRoot = styled('span', {\n name: 'MuiTimelineDot',\n slot: 'Root',\n overridesResolver: (props, styles) => {\n const {\n ownerState\n } = props;\n return [styles.root, styles[ownerState.color !== 'inherit' && `${ownerState.variant}${capitalize(ownerState.color)}`], styles[ownerState.variant]];\n }\n})(({\n ownerState,\n theme\n}) => _extends({\n display: 'flex',\n alignSelf: 'baseline',\n borderStyle: 'solid',\n borderWidth: 2,\n padding: 4,\n borderRadius: '50%',\n boxShadow: (theme.vars || theme).shadows[1],\n margin: '11.5px 0'\n}, ownerState.variant === 'filled' && _extends({\n borderColor: 'transparent'\n}, ownerState.color !== 'inherit' && _extends({}, ownerState.color === 'grey' ? {\n color: (theme.vars || theme).palette.grey[50],\n backgroundColor: (theme.vars || theme).palette.grey[400]\n} : {\n color: (theme.vars || theme).palette[ownerState.color].contrastText,\n backgroundColor: (theme.vars || theme).palette[ownerState.color].main\n})), ownerState.variant === 'outlined' && _extends({\n boxShadow: 'none',\n backgroundColor: 'transparent'\n}, ownerState.color !== 'inherit' && _extends({}, ownerState.color === 'grey' ? {\n borderColor: (theme.vars || theme).palette.grey[400]\n} : {\n borderColor: (theme.vars || theme).palette[ownerState.color].main\n}))));\nconst TimelineDot = /*#__PURE__*/React.forwardRef(function TimelineDot(inProps, ref) {\n const props = useThemeProps({\n props: inProps,\n name: 'MuiTimelineDot'\n });\n const {\n className,\n color = 'grey',\n variant = 'filled'\n } = props,\n other = _objectWithoutPropertiesLoose(props, _excluded);\n const ownerState = _extends({}, props, {\n color,\n variant\n });\n const classes = useUtilityClasses(ownerState);\n return /*#__PURE__*/_jsx(TimelineDotRoot, _extends({\n className: clsx(classes.root, className),\n ownerState: ownerState,\n ref: ref\n }, other));\n});\nprocess.env.NODE_ENV !== \"production\" ? TimelineDot.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the d.ts file and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * The content of the component.\n */\n children: PropTypes.node,\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * @ignore\n */\n className: PropTypes.string,\n /**\n * The dot can have a different colors.\n * @default 'grey'\n */\n color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['error', 'grey', 'info', 'inherit', 'primary', 'secondary', 'success', 'warning']), PropTypes.string]),\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),\n /**\n * The dot can appear filled or outlined.\n * @default 'filled'\n */\n variant: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['filled', 'outlined']), PropTypes.string])\n} : void 0;\nexport default TimelineDot;","import generateUtilityClass from '@mui/utils/generateUtilityClass';\nimport generateUtilityClasses from '@mui/utils/generateUtilityClasses';\nexport function getTimelineOppositeContentUtilityClass(slot) {\n return generateUtilityClass('MuiTimelineOppositeContent', slot);\n}\nconst timelineOppositeContentClasses = generateUtilityClasses('MuiTimelineOppositeContent', ['root', 'positionLeft', 'positionRight', 'positionAlternate', 'positionAlternateReverse']);\nexport default timelineOppositeContentClasses;","import generateUtilityClass from '@mui/utils/generateUtilityClass';\nimport generateUtilityClasses from '@mui/utils/generateUtilityClasses';\nexport function getTimelineItemUtilityClass(slot) {\n return generateUtilityClass('MuiTimelineItem', slot);\n}\nconst timelineItemClasses = generateUtilityClasses('MuiTimelineItem', ['root', 'positionLeft', 'positionRight', 'positionAlternate', 'positionAlternateReverse', 'missingOppositeContent']);\nexport default timelineItemClasses;","'use client';\n\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nconst _excluded = [\"position\", \"className\"];\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport { isMuiElement } from '@mui/material/utils';\nimport { styled, useThemeProps } from '@mui/material/styles';\nimport { unstable_composeClasses as composeClasses } from '@mui/base';\nimport { timelineContentClasses } from '../TimelineContent';\nimport { timelineOppositeContentClasses } from '../TimelineOppositeContent';\nimport TimelineContext from '../Timeline/TimelineContext';\nimport { getTimelineItemUtilityClass } from './timelineItemClasses';\nimport convertTimelinePositionToClass from '../internal/convertTimelinePositionToClass';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst useUtilityClasses = ownerState => {\n const {\n position,\n classes,\n hasOppositeContent\n } = ownerState;\n const slots = {\n root: ['root', convertTimelinePositionToClass(position), !hasOppositeContent && 'missingOppositeContent']\n };\n return composeClasses(slots, getTimelineItemUtilityClass, classes);\n};\nconst TimelineItemRoot = styled('li', {\n name: 'MuiTimelineItem',\n slot: 'Root',\n overridesResolver: (props, styles) => {\n const {\n ownerState\n } = props;\n return [styles.root, styles[convertTimelinePositionToClass(ownerState.position)]];\n }\n})(({\n ownerState\n}) => _extends({\n listStyle: 'none',\n display: 'flex',\n position: 'relative',\n minHeight: 70\n}, ownerState.position === 'left' && {\n flexDirection: 'row-reverse'\n}, (ownerState.position === 'alternate' || ownerState.position === 'alternate-reverse') && {\n [`&:nth-of-type(${ownerState.position === 'alternate' ? 'even' : 'odd'})`]: {\n flexDirection: 'row-reverse',\n [`& .${timelineContentClasses.root}`]: {\n textAlign: 'right'\n },\n [`& .${timelineOppositeContentClasses.root}`]: {\n textAlign: 'left'\n }\n }\n}, !ownerState.hasOppositeContent && {\n '&::before': {\n content: '\"\"',\n flex: 1,\n padding: '6px 16px'\n }\n}));\nconst TimelineItem = /*#__PURE__*/React.forwardRef(function TimelineItem(inProps, ref) {\n const props = useThemeProps({\n props: inProps,\n name: 'MuiTimelineItem'\n });\n const {\n position: positionProp,\n className\n } = props,\n other = _objectWithoutPropertiesLoose(props, _excluded);\n const {\n position: positionContext\n } = React.useContext(TimelineContext);\n let hasOppositeContent = false;\n React.Children.forEach(props.children, child => {\n if (isMuiElement(child, ['TimelineOppositeContent'])) {\n hasOppositeContent = true;\n }\n });\n const ownerState = _extends({}, props, {\n position: positionProp || positionContext || 'right',\n hasOppositeContent\n });\n const classes = useUtilityClasses(ownerState);\n const contextValue = React.useMemo(() => ({\n position: ownerState.position\n }), [ownerState.position]);\n return /*#__PURE__*/_jsx(TimelineContext.Provider, {\n value: contextValue,\n children: /*#__PURE__*/_jsx(TimelineItemRoot, _extends({\n className: clsx(classes.root, className),\n ownerState: ownerState,\n ref: ref\n }, other))\n });\n});\nprocess.env.NODE_ENV !== \"production\" ? TimelineItem.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the d.ts file and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * The content of the component.\n */\n children: PropTypes.node,\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * @ignore\n */\n className: PropTypes.string,\n /**\n * The position where the timeline's item should appear.\n */\n position: PropTypes.oneOf(['alternate-reverse', 'alternate', 'left', 'right']),\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])\n} : void 0;\nexport default TimelineItem;","import generateUtilityClass from '@mui/utils/generateUtilityClass';\nimport generateUtilityClasses from '@mui/utils/generateUtilityClasses';\nexport function getTimelineSeparatorUtilityClass(slot) {\n return generateUtilityClass('MuiTimelineSeparator', slot);\n}\nconst timelineSeparatorClasses = generateUtilityClasses('MuiTimelineSeparator', ['root']);\nexport default timelineSeparatorClasses;","'use client';\n\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nconst _excluded = [\"className\"];\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport { unstable_composeClasses as composeClasses } from '@mui/base';\nimport { styled, useThemeProps } from '@mui/material/styles';\nimport { getTimelineSeparatorUtilityClass } from './timelineSeparatorClasses';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst useUtilityClasses = ownerState => {\n const {\n classes\n } = ownerState;\n const slots = {\n root: ['root']\n };\n return composeClasses(slots, getTimelineSeparatorUtilityClass, classes);\n};\nconst TimelineSeparatorRoot = styled('div', {\n name: 'MuiTimelineSeparator',\n slot: 'Root',\n overridesResolver: (props, styles) => styles.root\n})({\n display: 'flex',\n flexDirection: 'column',\n flex: 0,\n alignItems: 'center'\n});\nconst TimelineSeparator = /*#__PURE__*/React.forwardRef(function TimelineSeparator(inProps, ref) {\n const props = useThemeProps({\n props: inProps,\n name: 'MuiTimelineSeparator'\n });\n const {\n className\n } = props,\n other = _objectWithoutPropertiesLoose(props, _excluded);\n const ownerState = props;\n const classes = useUtilityClasses(ownerState);\n return /*#__PURE__*/_jsx(TimelineSeparatorRoot, _extends({\n className: clsx(classes.root, className),\n ownerState: ownerState,\n ref: ref\n }, other));\n});\nprocess.env.NODE_ENV !== \"production\" ? TimelineSeparator.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the d.ts file and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * The content of the component.\n */\n children: PropTypes.node,\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * @ignore\n */\n className: PropTypes.string,\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])\n} : void 0;\nexport default TimelineSeparator;","import { capitalize } from '@mui/material/utils';\nexport default function convertTimelinePositionToClass(position) {\n return position === 'alternate-reverse' ? 'positionAlternateReverse' : `position${capitalize(position)}`;\n}","import generateUtilityClasses from '@mui/utils/generateUtilityClasses';\nimport generateUtilityClass from '@mui/utils/generateUtilityClass';\nexport function getAlertUtilityClass(slot) {\n return generateUtilityClass('MuiAlert', slot);\n}\nconst alertClasses = generateUtilityClasses('MuiAlert', ['root', 'action', 'icon', 'message', 'filled', 'colorSuccess', 'colorInfo', 'colorWarning', 'colorError', 'filledSuccess', 'filledInfo', 'filledWarning', 'filledError', 'outlined', 'outlinedSuccess', 'outlinedInfo', 'outlinedWarning', 'outlinedError', 'standard', 'standardSuccess', 'standardInfo', 'standardWarning', 'standardError']);\nexport default alertClasses;","'use client';\n\nimport * as React from 'react';\nimport createSvgIcon from '../../utils/createSvgIcon';\n\n/**\n * @ignore - internal component.\n */\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport default createSvgIcon( /*#__PURE__*/_jsx(\"path\", {\n d: \"M20,12A8,8 0 0,1 12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4C12.76,4 13.5,4.11 14.2, 4.31L15.77,2.74C14.61,2.26 13.34,2 12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0, 0 22,12M7.91,10.08L6.5,11.5L11,16L21,6L19.59,4.58L11,13.17L7.91,10.08Z\"\n}), 'SuccessOutlined');","'use client';\n\nimport * as React from 'react';\nimport createSvgIcon from '../../utils/createSvgIcon';\n\n/**\n * @ignore - internal component.\n */\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport default createSvgIcon( /*#__PURE__*/_jsx(\"path\", {\n d: \"M12 5.99L19.53 19H4.47L12 5.99M12 2L1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z\"\n}), 'ReportProblemOutlined');","'use client';\n\nimport * as React from 'react';\nimport createSvgIcon from '../../utils/createSvgIcon';\n\n/**\n * @ignore - internal component.\n */\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport default createSvgIcon( /*#__PURE__*/_jsx(\"path\", {\n d: \"M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z\"\n}), 'ErrorOutline');","'use client';\n\nimport * as React from 'react';\nimport createSvgIcon from '../../utils/createSvgIcon';\n\n/**\n * @ignore - internal component.\n */\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport default createSvgIcon( /*#__PURE__*/_jsx(\"path\", {\n d: \"M11,9H13V7H11M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20, 12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10, 10 0 0,0 12,2M11,17H13V11H11V17Z\"\n}), 'InfoOutlined');","'use client';\n\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nconst _excluded = [\"action\", \"children\", \"className\", \"closeText\", \"color\", \"components\", \"componentsProps\", \"icon\", \"iconMapping\", \"onClose\", \"role\", \"severity\", \"slotProps\", \"slots\", \"variant\"];\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport composeClasses from '@mui/utils/composeClasses';\nimport { darken, lighten } from '@mui/system/colorManipulator';\nimport { styled } from '../zero-styled';\nimport { useDefaultProps } from '../DefaultPropsProvider';\nimport useSlot from '../utils/useSlot';\nimport capitalize from '../utils/capitalize';\nimport Paper from '../Paper';\nimport alertClasses, { getAlertUtilityClass } from './alertClasses';\nimport IconButton from '../IconButton';\nimport SuccessOutlinedIcon from '../internal/svg-icons/SuccessOutlined';\nimport ReportProblemOutlinedIcon from '../internal/svg-icons/ReportProblemOutlined';\nimport ErrorOutlineIcon from '../internal/svg-icons/ErrorOutline';\nimport InfoOutlinedIcon from '../internal/svg-icons/InfoOutlined';\nimport CloseIcon from '../internal/svg-icons/Close';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nimport { jsxs as _jsxs } from \"react/jsx-runtime\";\nconst useUtilityClasses = ownerState => {\n const {\n variant,\n color,\n severity,\n classes\n } = ownerState;\n const slots = {\n root: ['root', `color${capitalize(color || severity)}`, `${variant}${capitalize(color || severity)}`, `${variant}`],\n icon: ['icon'],\n message: ['message'],\n action: ['action']\n };\n return composeClasses(slots, getAlertUtilityClass, classes);\n};\nconst AlertRoot = styled(Paper, {\n name: 'MuiAlert',\n slot: 'Root',\n overridesResolver: (props, styles) => {\n const {\n ownerState\n } = props;\n return [styles.root, styles[ownerState.variant], styles[`${ownerState.variant}${capitalize(ownerState.color || ownerState.severity)}`]];\n }\n})(({\n theme\n}) => {\n const getColor = theme.palette.mode === 'light' ? darken : lighten;\n const getBackgroundColor = theme.palette.mode === 'light' ? lighten : darken;\n return _extends({}, theme.typography.body2, {\n backgroundColor: 'transparent',\n display: 'flex',\n padding: '6px 16px',\n variants: [...Object.entries(theme.palette).filter(([, value]) => value.main && value.light).map(([color]) => ({\n props: {\n colorSeverity: color,\n variant: 'standard'\n },\n style: {\n color: theme.vars ? theme.vars.palette.Alert[`${color}Color`] : getColor(theme.palette[color].light, 0.6),\n backgroundColor: theme.vars ? theme.vars.palette.Alert[`${color}StandardBg`] : getBackgroundColor(theme.palette[color].light, 0.9),\n [`& .${alertClasses.icon}`]: theme.vars ? {\n color: theme.vars.palette.Alert[`${color}IconColor`]\n } : {\n color: theme.palette[color].main\n }\n }\n })), ...Object.entries(theme.palette).filter(([, value]) => value.main && value.light).map(([color]) => ({\n props: {\n colorSeverity: color,\n variant: 'outlined'\n },\n style: {\n color: theme.vars ? theme.vars.palette.Alert[`${color}Color`] : getColor(theme.palette[color].light, 0.6),\n border: `1px solid ${(theme.vars || theme).palette[color].light}`,\n [`& .${alertClasses.icon}`]: theme.vars ? {\n color: theme.vars.palette.Alert[`${color}IconColor`]\n } : {\n color: theme.palette[color].main\n }\n }\n })), ...Object.entries(theme.palette).filter(([, value]) => value.main && value.dark).map(([color]) => ({\n props: {\n colorSeverity: color,\n variant: 'filled'\n },\n style: _extends({\n fontWeight: theme.typography.fontWeightMedium\n }, theme.vars ? {\n color: theme.vars.palette.Alert[`${color}FilledColor`],\n backgroundColor: theme.vars.palette.Alert[`${color}FilledBg`]\n } : {\n backgroundColor: theme.palette.mode === 'dark' ? theme.palette[color].dark : theme.palette[color].main,\n color: theme.palette.getContrastText(theme.palette[color].main)\n })\n }))]\n });\n});\nconst AlertIcon = styled('div', {\n name: 'MuiAlert',\n slot: 'Icon',\n overridesResolver: (props, styles) => styles.icon\n})({\n marginRight: 12,\n padding: '7px 0',\n display: 'flex',\n fontSize: 22,\n opacity: 0.9\n});\nconst AlertMessage = styled('div', {\n name: 'MuiAlert',\n slot: 'Message',\n overridesResolver: (props, styles) => styles.message\n})({\n padding: '8px 0',\n minWidth: 0,\n overflow: 'auto'\n});\nconst AlertAction = styled('div', {\n name: 'MuiAlert',\n slot: 'Action',\n overridesResolver: (props, styles) => styles.action\n})({\n display: 'flex',\n alignItems: 'flex-start',\n padding: '4px 0 0 16px',\n marginLeft: 'auto',\n marginRight: -8\n});\nconst defaultIconMapping = {\n success: /*#__PURE__*/_jsx(SuccessOutlinedIcon, {\n fontSize: \"inherit\"\n }),\n warning: /*#__PURE__*/_jsx(ReportProblemOutlinedIcon, {\n fontSize: \"inherit\"\n }),\n error: /*#__PURE__*/_jsx(ErrorOutlineIcon, {\n fontSize: \"inherit\"\n }),\n info: /*#__PURE__*/_jsx(InfoOutlinedIcon, {\n fontSize: \"inherit\"\n })\n};\nconst Alert = /*#__PURE__*/React.forwardRef(function Alert(inProps, ref) {\n const props = useDefaultProps({\n props: inProps,\n name: 'MuiAlert'\n });\n const {\n action,\n children,\n className,\n closeText = 'Close',\n color,\n components = {},\n componentsProps = {},\n icon,\n iconMapping = defaultIconMapping,\n onClose,\n role = 'alert',\n severity = 'success',\n slotProps = {},\n slots = {},\n variant = 'standard'\n } = props,\n other = _objectWithoutPropertiesLoose(props, _excluded);\n const ownerState = _extends({}, props, {\n color,\n severity,\n variant,\n colorSeverity: color || severity\n });\n const classes = useUtilityClasses(ownerState);\n const externalForwardedProps = {\n slots: _extends({\n closeButton: components.CloseButton,\n closeIcon: components.CloseIcon\n }, slots),\n slotProps: _extends({}, componentsProps, slotProps)\n };\n const [CloseButtonSlot, closeButtonProps] = useSlot('closeButton', {\n elementType: IconButton,\n externalForwardedProps,\n ownerState\n });\n const [CloseIconSlot, closeIconProps] = useSlot('closeIcon', {\n elementType: CloseIcon,\n externalForwardedProps,\n ownerState\n });\n return /*#__PURE__*/_jsxs(AlertRoot, _extends({\n role: role,\n elevation: 0,\n ownerState: ownerState,\n className: clsx(classes.root, className),\n ref: ref\n }, other, {\n children: [icon !== false ? /*#__PURE__*/_jsx(AlertIcon, {\n ownerState: ownerState,\n className: classes.icon,\n children: icon || iconMapping[severity] || defaultIconMapping[severity]\n }) : null, /*#__PURE__*/_jsx(AlertMessage, {\n ownerState: ownerState,\n className: classes.message,\n children: children\n }), action != null ? /*#__PURE__*/_jsx(AlertAction, {\n ownerState: ownerState,\n className: classes.action,\n children: action\n }) : null, action == null && onClose ? /*#__PURE__*/_jsx(AlertAction, {\n ownerState: ownerState,\n className: classes.action,\n children: /*#__PURE__*/_jsx(CloseButtonSlot, _extends({\n size: \"small\",\n \"aria-label\": closeText,\n title: closeText,\n color: \"inherit\",\n onClick: onClose\n }, closeButtonProps, {\n children: /*#__PURE__*/_jsx(CloseIconSlot, _extends({\n fontSize: \"small\"\n }, closeIconProps))\n }))\n }) : null]\n }));\n});\nprocess.env.NODE_ENV !== \"production\" ? Alert.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the d.ts file and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * The action to display. It renders after the message, at the end of the alert.\n */\n action: PropTypes.node,\n /**\n * The content of the component.\n */\n children: PropTypes.node,\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * @ignore\n */\n className: PropTypes.string,\n /**\n * Override the default label for the *close popup* icon button.\n *\n * For localization purposes, you can use the provided [translations](/material-ui/guides/localization/).\n * @default 'Close'\n */\n closeText: PropTypes.string,\n /**\n * The color of the component. Unless provided, the value is taken from the `severity` prop.\n * It supports both default and custom theme colors, which can be added as shown in the\n * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).\n */\n color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['error', 'info', 'success', 'warning']), PropTypes.string]),\n /**\n * The components used for each slot inside.\n *\n * @deprecated use the `slots` prop instead. This prop will be removed in v7. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/).\n *\n * @default {}\n */\n components: PropTypes.shape({\n CloseButton: PropTypes.elementType,\n CloseIcon: PropTypes.elementType\n }),\n /**\n * The extra props for the slot components.\n * You can override the existing props or add new ones.\n *\n * @deprecated use the `slotProps` prop instead. This prop will be removed in v7. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/).\n *\n * @default {}\n */\n componentsProps: PropTypes.shape({\n closeButton: PropTypes.object,\n closeIcon: PropTypes.object\n }),\n /**\n * Override the icon displayed before the children.\n * Unless provided, the icon is mapped to the value of the `severity` prop.\n * Set to `false` to remove the `icon`.\n */\n icon: PropTypes.node,\n /**\n * The component maps the `severity` prop to a range of different icons,\n * for instance success to ``.\n * If you wish to change this mapping, you can provide your own.\n * Alternatively, you can use the `icon` prop to override the icon displayed.\n */\n iconMapping: PropTypes.shape({\n error: PropTypes.node,\n info: PropTypes.node,\n success: PropTypes.node,\n warning: PropTypes.node\n }),\n /**\n * Callback fired when the component requests to be closed.\n * When provided and no `action` prop is set, a close icon button is displayed that triggers the callback when clicked.\n * @param {React.SyntheticEvent} event The event source of the callback.\n */\n onClose: PropTypes.func,\n /**\n * The ARIA role attribute of the element.\n * @default 'alert'\n */\n role: PropTypes.string,\n /**\n * The severity of the alert. This defines the color and icon used.\n * @default 'success'\n */\n severity: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['error', 'info', 'success', 'warning']), PropTypes.string]),\n /**\n * The props used for each slot inside.\n * @default {}\n */\n slotProps: PropTypes.shape({\n closeButton: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),\n closeIcon: PropTypes.oneOfType([PropTypes.func, PropTypes.object])\n }),\n /**\n * The components used for each slot inside.\n * @default {}\n */\n slots: PropTypes.shape({\n closeButton: PropTypes.elementType,\n closeIcon: PropTypes.elementType\n }),\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),\n /**\n * The variant to use.\n * @default 'standard'\n */\n variant: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['filled', 'outlined', 'standard']), PropTypes.string])\n} : void 0;\nexport default Alert;","import generateUtilityClasses from '@mui/utils/generateUtilityClasses';\nimport generateUtilityClass from '@mui/utils/generateUtilityClass';\nexport function getAppBarUtilityClass(slot) {\n return generateUtilityClass('MuiAppBar', slot);\n}\nconst appBarClasses = generateUtilityClasses('MuiAppBar', ['root', 'positionFixed', 'positionAbsolute', 'positionSticky', 'positionStatic', 'positionRelative', 'colorDefault', 'colorPrimary', 'colorSecondary', 'colorInherit', 'colorTransparent', 'colorError', 'colorInfo', 'colorSuccess', 'colorWarning']);\nexport default appBarClasses;","'use client';\n\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nconst _excluded = [\"className\", \"color\", \"enableColorOnDark\", \"position\"];\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport composeClasses from '@mui/utils/composeClasses';\nimport styled from '../styles/styled';\nimport { useDefaultProps } from '../DefaultPropsProvider';\nimport capitalize from '../utils/capitalize';\nimport Paper from '../Paper';\nimport { getAppBarUtilityClass } from './appBarClasses';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst useUtilityClasses = ownerState => {\n const {\n color,\n position,\n classes\n } = ownerState;\n const slots = {\n root: ['root', `color${capitalize(color)}`, `position${capitalize(position)}`]\n };\n return composeClasses(slots, getAppBarUtilityClass, classes);\n};\n\n// var2 is the fallback.\n// Ex. var1: 'var(--a)', var2: 'var(--b)'; return: 'var(--a, var(--b))'\nconst joinVars = (var1, var2) => var1 ? `${var1 == null ? void 0 : var1.replace(')', '')}, ${var2})` : var2;\nconst AppBarRoot = styled(Paper, {\n name: 'MuiAppBar',\n slot: 'Root',\n overridesResolver: (props, styles) => {\n const {\n ownerState\n } = props;\n return [styles.root, styles[`position${capitalize(ownerState.position)}`], styles[`color${capitalize(ownerState.color)}`]];\n }\n})(({\n theme,\n ownerState\n}) => {\n const backgroundColorDefault = theme.palette.mode === 'light' ? theme.palette.grey[100] : theme.palette.grey[900];\n return _extends({\n display: 'flex',\n flexDirection: 'column',\n width: '100%',\n boxSizing: 'border-box',\n // Prevent padding issue with the Modal and fixed positioned AppBar.\n flexShrink: 0\n }, ownerState.position === 'fixed' && {\n position: 'fixed',\n zIndex: (theme.vars || theme).zIndex.appBar,\n top: 0,\n left: 'auto',\n right: 0,\n '@media print': {\n // Prevent the app bar to be visible on each printed page.\n position: 'absolute'\n }\n }, ownerState.position === 'absolute' && {\n position: 'absolute',\n zIndex: (theme.vars || theme).zIndex.appBar,\n top: 0,\n left: 'auto',\n right: 0\n }, ownerState.position === 'sticky' && {\n // ⚠️ sticky is not supported by IE11.\n position: 'sticky',\n zIndex: (theme.vars || theme).zIndex.appBar,\n top: 0,\n left: 'auto',\n right: 0\n }, ownerState.position === 'static' && {\n position: 'static'\n }, ownerState.position === 'relative' && {\n position: 'relative'\n }, !theme.vars && _extends({}, ownerState.color === 'default' && {\n backgroundColor: backgroundColorDefault,\n color: theme.palette.getContrastText(backgroundColorDefault)\n }, ownerState.color && ownerState.color !== 'default' && ownerState.color !== 'inherit' && ownerState.color !== 'transparent' && {\n backgroundColor: theme.palette[ownerState.color].main,\n color: theme.palette[ownerState.color].contrastText\n }, ownerState.color === 'inherit' && {\n color: 'inherit'\n }, theme.palette.mode === 'dark' && !ownerState.enableColorOnDark && {\n backgroundColor: null,\n color: null\n }, ownerState.color === 'transparent' && _extends({\n backgroundColor: 'transparent',\n color: 'inherit'\n }, theme.palette.mode === 'dark' && {\n backgroundImage: 'none'\n })), theme.vars && _extends({}, ownerState.color === 'default' && {\n '--AppBar-background': ownerState.enableColorOnDark ? theme.vars.palette.AppBar.defaultBg : joinVars(theme.vars.palette.AppBar.darkBg, theme.vars.palette.AppBar.defaultBg),\n '--AppBar-color': ownerState.enableColorOnDark ? theme.vars.palette.text.primary : joinVars(theme.vars.palette.AppBar.darkColor, theme.vars.palette.text.primary)\n }, ownerState.color && !ownerState.color.match(/^(default|inherit|transparent)$/) && {\n '--AppBar-background': ownerState.enableColorOnDark ? theme.vars.palette[ownerState.color].main : joinVars(theme.vars.palette.AppBar.darkBg, theme.vars.palette[ownerState.color].main),\n '--AppBar-color': ownerState.enableColorOnDark ? theme.vars.palette[ownerState.color].contrastText : joinVars(theme.vars.palette.AppBar.darkColor, theme.vars.palette[ownerState.color].contrastText)\n }, !['inherit', 'transparent'].includes(ownerState.color) && {\n backgroundColor: 'var(--AppBar-background)'\n }, {\n color: ownerState.color === 'inherit' ? 'inherit' : 'var(--AppBar-color)'\n }, ownerState.color === 'transparent' && {\n backgroundImage: 'none',\n backgroundColor: 'transparent',\n color: 'inherit'\n }));\n});\nconst AppBar = /*#__PURE__*/React.forwardRef(function AppBar(inProps, ref) {\n const props = useDefaultProps({\n props: inProps,\n name: 'MuiAppBar'\n });\n const {\n className,\n color = 'primary',\n enableColorOnDark = false,\n position = 'fixed'\n } = props,\n other = _objectWithoutPropertiesLoose(props, _excluded);\n const ownerState = _extends({}, props, {\n color,\n position,\n enableColorOnDark\n });\n const classes = useUtilityClasses(ownerState);\n return /*#__PURE__*/_jsx(AppBarRoot, _extends({\n square: true,\n component: \"header\",\n ownerState: ownerState,\n elevation: 4,\n className: clsx(classes.root, className, position === 'fixed' && 'mui-fixed'),\n ref: ref\n }, other));\n});\nprocess.env.NODE_ENV !== \"production\" ? AppBar.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the d.ts file and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * The content of the component.\n */\n children: PropTypes.node,\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * @ignore\n */\n className: PropTypes.string,\n /**\n * The color of the component.\n * It supports both default and custom theme colors, which can be added as shown in the\n * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).\n * @default 'primary'\n */\n color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['default', 'inherit', 'primary', 'secondary', 'transparent', 'error', 'info', 'success', 'warning']), PropTypes.string]),\n /**\n * If true, the `color` prop is applied in dark mode.\n * @default false\n */\n enableColorOnDark: PropTypes.bool,\n /**\n * The positioning type. The behavior of the different options is described\n * [in the MDN web docs](https://developer.mozilla.org/en-US/docs/Learn/CSS/CSS_layout/Positioning).\n * Note: `sticky` is not universally supported and will fall back to `static` when unavailable.\n * @default 'fixed'\n */\n position: PropTypes.oneOf(['absolute', 'fixed', 'relative', 'static', 'sticky']),\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])\n} : void 0;\nexport default AppBar;","'use client';\n\nimport * as React from 'react';\nimport createSvgIcon from '../../utils/createSvgIcon';\n\n/**\n * @ignore - internal component.\n */\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport default createSvgIcon( /*#__PURE__*/_jsx(\"path\", {\n d: \"M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z\"\n}), 'Person');","'use client';\n\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nconst _excluded = [\"alt\", \"children\", \"className\", \"component\", \"slots\", \"slotProps\", \"imgProps\", \"sizes\", \"src\", \"srcSet\", \"variant\"];\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport composeClasses from '@mui/utils/composeClasses';\nimport { styled } from '../zero-styled';\nimport { useDefaultProps } from '../DefaultPropsProvider';\nimport Person from '../internal/svg-icons/Person';\nimport { getAvatarUtilityClass } from './avatarClasses';\nimport useSlot from '../utils/useSlot';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst useUtilityClasses = ownerState => {\n const {\n classes,\n variant,\n colorDefault\n } = ownerState;\n const slots = {\n root: ['root', variant, colorDefault && 'colorDefault'],\n img: ['img'],\n fallback: ['fallback']\n };\n return composeClasses(slots, getAvatarUtilityClass, classes);\n};\nconst AvatarRoot = styled('div', {\n name: 'MuiAvatar',\n slot: 'Root',\n overridesResolver: (props, styles) => {\n const {\n ownerState\n } = props;\n return [styles.root, styles[ownerState.variant], ownerState.colorDefault && styles.colorDefault];\n }\n})(({\n theme\n}) => ({\n position: 'relative',\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n flexShrink: 0,\n width: 40,\n height: 40,\n fontFamily: theme.typography.fontFamily,\n fontSize: theme.typography.pxToRem(20),\n lineHeight: 1,\n borderRadius: '50%',\n overflow: 'hidden',\n userSelect: 'none',\n variants: [{\n props: {\n variant: 'rounded'\n },\n style: {\n borderRadius: (theme.vars || theme).shape.borderRadius\n }\n }, {\n props: {\n variant: 'square'\n },\n style: {\n borderRadius: 0\n }\n }, {\n props: {\n colorDefault: true\n },\n style: _extends({\n color: (theme.vars || theme).palette.background.default\n }, theme.vars ? {\n backgroundColor: theme.vars.palette.Avatar.defaultBg\n } : _extends({\n backgroundColor: theme.palette.grey[400]\n }, theme.applyStyles('dark', {\n backgroundColor: theme.palette.grey[600]\n })))\n }]\n}));\nconst AvatarImg = styled('img', {\n name: 'MuiAvatar',\n slot: 'Img',\n overridesResolver: (props, styles) => styles.img\n})({\n width: '100%',\n height: '100%',\n textAlign: 'center',\n // Handle non-square image. The property isn't supported by IE11.\n objectFit: 'cover',\n // Hide alt text.\n color: 'transparent',\n // Hide the image broken icon, only works on Chrome.\n textIndent: 10000\n});\nconst AvatarFallback = styled(Person, {\n name: 'MuiAvatar',\n slot: 'Fallback',\n overridesResolver: (props, styles) => styles.fallback\n})({\n width: '75%',\n height: '75%'\n});\nfunction useLoaded({\n crossOrigin,\n referrerPolicy,\n src,\n srcSet\n}) {\n const [loaded, setLoaded] = React.useState(false);\n React.useEffect(() => {\n if (!src && !srcSet) {\n return undefined;\n }\n setLoaded(false);\n let active = true;\n const image = new Image();\n image.onload = () => {\n if (!active) {\n return;\n }\n setLoaded('loaded');\n };\n image.onerror = () => {\n if (!active) {\n return;\n }\n setLoaded('error');\n };\n image.crossOrigin = crossOrigin;\n image.referrerPolicy = referrerPolicy;\n image.src = src;\n if (srcSet) {\n image.srcset = srcSet;\n }\n return () => {\n active = false;\n };\n }, [crossOrigin, referrerPolicy, src, srcSet]);\n return loaded;\n}\nconst Avatar = /*#__PURE__*/React.forwardRef(function Avatar(inProps, ref) {\n const props = useDefaultProps({\n props: inProps,\n name: 'MuiAvatar'\n });\n const {\n alt,\n children: childrenProp,\n className,\n component = 'div',\n slots = {},\n slotProps = {},\n imgProps,\n sizes,\n src,\n srcSet,\n variant = 'circular'\n } = props,\n other = _objectWithoutPropertiesLoose(props, _excluded);\n let children = null;\n\n // Use a hook instead of onError on the img element to support server-side rendering.\n const loaded = useLoaded(_extends({}, imgProps, {\n src,\n srcSet\n }));\n const hasImg = src || srcSet;\n const hasImgNotFailing = hasImg && loaded !== 'error';\n const ownerState = _extends({}, props, {\n colorDefault: !hasImgNotFailing,\n component,\n variant\n });\n const classes = useUtilityClasses(ownerState);\n const [ImgSlot, imgSlotProps] = useSlot('img', {\n className: classes.img,\n elementType: AvatarImg,\n externalForwardedProps: {\n slots,\n slotProps: {\n img: _extends({}, imgProps, slotProps.img)\n }\n },\n additionalProps: {\n alt,\n src,\n srcSet,\n sizes\n },\n ownerState\n });\n if (hasImgNotFailing) {\n children = /*#__PURE__*/_jsx(ImgSlot, _extends({}, imgSlotProps));\n // We only render valid children, non valid children are rendered with a fallback\n // We consider that invalid children are all falsy values, except 0, which is valid.\n } else if (!!childrenProp || childrenProp === 0) {\n children = childrenProp;\n } else if (hasImg && alt) {\n children = alt[0];\n } else {\n children = /*#__PURE__*/_jsx(AvatarFallback, {\n ownerState: ownerState,\n className: classes.fallback\n });\n }\n return /*#__PURE__*/_jsx(AvatarRoot, _extends({\n as: component,\n ownerState: ownerState,\n className: clsx(classes.root, className),\n ref: ref\n }, other, {\n children: children\n }));\n});\nprocess.env.NODE_ENV !== \"production\" ? Avatar.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the d.ts file and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * Used in combination with `src` or `srcSet` to\n * provide an alt attribute for the rendered `img` element.\n */\n alt: PropTypes.string,\n /**\n * Used to render icon or text elements inside the Avatar if `src` is not set.\n * This can be an element, or just a string.\n */\n children: PropTypes.node,\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * @ignore\n */\n className: PropTypes.string,\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: PropTypes.elementType,\n /**\n * [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img#attributes) applied to the `img` element if the component is used to display an image.\n * It can be used to listen for the loading error event.\n * @deprecated Use `slotProps.img` instead. This prop will be removed in v7. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/).\n */\n imgProps: PropTypes.object,\n /**\n * The `sizes` attribute for the `img` element.\n */\n sizes: PropTypes.string,\n /**\n * The props used for each slot inside.\n * @default {}\n */\n slotProps: PropTypes.shape({\n img: PropTypes.oneOfType([PropTypes.func, PropTypes.object])\n }),\n /**\n * The components used for each slot inside.\n * @default {}\n */\n slots: PropTypes.shape({\n img: PropTypes.elementType\n }),\n /**\n * The `src` attribute for the `img` element.\n */\n src: PropTypes.string,\n /**\n * The `srcSet` attribute for the `img` element.\n * Use this attribute for responsive image display.\n */\n srcSet: PropTypes.string,\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),\n /**\n * The shape of the avatar.\n * @default 'circular'\n */\n variant: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['circular', 'rounded', 'square']), PropTypes.string])\n} : void 0;\nexport default Avatar;","import generateUtilityClasses from '@mui/utils/generateUtilityClasses';\nimport generateUtilityClass from '@mui/utils/generateUtilityClass';\nexport function getAvatarUtilityClass(slot) {\n return generateUtilityClass('MuiAvatar', slot);\n}\nconst avatarClasses = generateUtilityClasses('MuiAvatar', ['root', 'colorDefault', 'circular', 'rounded', 'square', 'img', 'fallback']);\nexport default avatarClasses;","import generateUtilityClasses from '@mui/utils/generateUtilityClasses';\nimport generateUtilityClass from '@mui/utils/generateUtilityClass';\nexport function getBackdropUtilityClass(slot) {\n return generateUtilityClass('MuiBackdrop', slot);\n}\nconst backdropClasses = generateUtilityClasses('MuiBackdrop', ['root', 'invisible']);\nexport default backdropClasses;","'use client';\n\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nconst _excluded = [\"children\", \"className\", \"component\", \"components\", \"componentsProps\", \"invisible\", \"open\", \"slotProps\", \"slots\", \"TransitionComponent\", \"transitionDuration\"];\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport composeClasses from '@mui/utils/composeClasses';\nimport styled from '../styles/styled';\nimport { useDefaultProps } from '../DefaultPropsProvider';\nimport Fade from '../Fade';\nimport { getBackdropUtilityClass } from './backdropClasses';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst useUtilityClasses = ownerState => {\n const {\n classes,\n invisible\n } = ownerState;\n const slots = {\n root: ['root', invisible && 'invisible']\n };\n return composeClasses(slots, getBackdropUtilityClass, classes);\n};\nconst BackdropRoot = styled('div', {\n name: 'MuiBackdrop',\n slot: 'Root',\n overridesResolver: (props, styles) => {\n const {\n ownerState\n } = props;\n return [styles.root, ownerState.invisible && styles.invisible];\n }\n})(({\n ownerState\n}) => _extends({\n position: 'fixed',\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n right: 0,\n bottom: 0,\n top: 0,\n left: 0,\n backgroundColor: 'rgba(0, 0, 0, 0.5)',\n WebkitTapHighlightColor: 'transparent'\n}, ownerState.invisible && {\n backgroundColor: 'transparent'\n}));\nconst Backdrop = /*#__PURE__*/React.forwardRef(function Backdrop(inProps, ref) {\n var _slotProps$root, _ref, _slots$root;\n const props = useDefaultProps({\n props: inProps,\n name: 'MuiBackdrop'\n });\n const {\n children,\n className,\n component = 'div',\n components = {},\n componentsProps = {},\n invisible = false,\n open,\n slotProps = {},\n slots = {},\n TransitionComponent = Fade,\n transitionDuration\n } = props,\n other = _objectWithoutPropertiesLoose(props, _excluded);\n const ownerState = _extends({}, props, {\n component,\n invisible\n });\n const classes = useUtilityClasses(ownerState);\n const rootSlotProps = (_slotProps$root = slotProps.root) != null ? _slotProps$root : componentsProps.root;\n return /*#__PURE__*/_jsx(TransitionComponent, _extends({\n in: open,\n timeout: transitionDuration\n }, other, {\n children: /*#__PURE__*/_jsx(BackdropRoot, _extends({\n \"aria-hidden\": true\n }, rootSlotProps, {\n as: (_ref = (_slots$root = slots.root) != null ? _slots$root : components.Root) != null ? _ref : component,\n className: clsx(classes.root, className, rootSlotProps == null ? void 0 : rootSlotProps.className),\n ownerState: _extends({}, ownerState, rootSlotProps == null ? void 0 : rootSlotProps.ownerState),\n classes: classes,\n ref: ref,\n children: children\n }))\n }));\n});\nprocess.env.NODE_ENV !== \"production\" ? Backdrop.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the d.ts file and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * The content of the component.\n */\n children: PropTypes.node,\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * @ignore\n */\n className: PropTypes.string,\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: PropTypes.elementType,\n /**\n * The components used for each slot inside.\n *\n * This prop is an alias for the `slots` prop.\n * It's recommended to use the `slots` prop instead.\n *\n * @default {}\n */\n components: PropTypes.shape({\n Root: PropTypes.elementType\n }),\n /**\n * The extra props for the slot components.\n * You can override the existing props or add new ones.\n *\n * This prop is an alias for the `slotProps` prop.\n * It's recommended to use the `slotProps` prop instead, as `componentsProps` will be deprecated in the future.\n *\n * @default {}\n */\n componentsProps: PropTypes.shape({\n root: PropTypes.object\n }),\n /**\n * If `true`, the backdrop is invisible.\n * It can be used when rendering a popover or a custom select component.\n * @default false\n */\n invisible: PropTypes.bool,\n /**\n * If `true`, the component is shown.\n */\n open: PropTypes.bool.isRequired,\n /**\n * The extra props for the slot components.\n * You can override the existing props or add new ones.\n *\n * This prop is an alias for the `componentsProps` prop, which will be deprecated in the future.\n *\n * @default {}\n */\n slotProps: PropTypes.shape({\n root: PropTypes.object\n }),\n /**\n * The components used for each slot inside.\n *\n * This prop is an alias for the `components` prop, which will be deprecated in the future.\n *\n * @default {}\n */\n slots: PropTypes.shape({\n root: PropTypes.elementType\n }),\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),\n /**\n * The component used for the transition.\n * [Follow this guide](/material-ui/transitions/#transitioncomponent-prop) to learn more about the requirements for this component.\n * @default Fade\n */\n TransitionComponent: PropTypes.elementType,\n /**\n * The duration for the transition, in milliseconds.\n * You may specify a single timeout for all transitions, or individually with an object.\n */\n transitionDuration: PropTypes.oneOfType([PropTypes.number, PropTypes.shape({\n appear: PropTypes.number,\n enter: PropTypes.number,\n exit: PropTypes.number\n })])\n} : void 0;\nexport default Backdrop;","import generateUtilityClasses from '@mui/utils/generateUtilityClasses';\nconst boxClasses = generateUtilityClasses('MuiBox', ['root']);\nexport default boxClasses;","'use client';\n\nimport { createBox } from '@mui/system';\nimport PropTypes from 'prop-types';\nimport { unstable_ClassNameGenerator as ClassNameGenerator } from '../className';\nimport { createTheme } from '../styles';\nimport THEME_ID from '../styles/identifier';\nimport boxClasses from './boxClasses';\nconst defaultTheme = createTheme();\nconst Box = createBox({\n themeId: THEME_ID,\n defaultTheme,\n defaultClassName: boxClasses.root,\n generateClassName: ClassNameGenerator.generate\n});\nprocess.env.NODE_ENV !== \"production\" ? Box.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the d.ts file and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * @ignore\n */\n children: PropTypes.node,\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: PropTypes.elementType,\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])\n} : void 0;\nexport default Box;","import generateUtilityClasses from '@mui/utils/generateUtilityClasses';\nimport generateUtilityClass from '@mui/utils/generateUtilityClass';\nexport function getButtonUtilityClass(slot) {\n return generateUtilityClass('MuiButton', slot);\n}\nconst buttonClasses = generateUtilityClasses('MuiButton', ['root', 'text', 'textInherit', 'textPrimary', 'textSecondary', 'textSuccess', 'textError', 'textInfo', 'textWarning', 'outlined', 'outlinedInherit', 'outlinedPrimary', 'outlinedSecondary', 'outlinedSuccess', 'outlinedError', 'outlinedInfo', 'outlinedWarning', 'contained', 'containedInherit', 'containedPrimary', 'containedSecondary', 'containedSuccess', 'containedError', 'containedInfo', 'containedWarning', 'disableElevation', 'focusVisible', 'disabled', 'colorInherit', 'colorPrimary', 'colorSecondary', 'colorSuccess', 'colorError', 'colorInfo', 'colorWarning', 'textSizeSmall', 'textSizeMedium', 'textSizeLarge', 'outlinedSizeSmall', 'outlinedSizeMedium', 'outlinedSizeLarge', 'containedSizeSmall', 'containedSizeMedium', 'containedSizeLarge', 'sizeMedium', 'sizeSmall', 'sizeLarge', 'fullWidth', 'startIcon', 'endIcon', 'icon', 'iconSizeSmall', 'iconSizeMedium', 'iconSizeLarge']);\nexport default buttonClasses;","import * as React from 'react';\n/**\n * @ignore - internal component.\n */\nconst ButtonGroupButtonContext = /*#__PURE__*/React.createContext(undefined);\nif (process.env.NODE_ENV !== 'production') {\n ButtonGroupButtonContext.displayName = 'ButtonGroupButtonContext';\n}\nexport default ButtonGroupButtonContext;","'use client';\n\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nconst _excluded = [\"children\", \"color\", \"component\", \"className\", \"disabled\", \"disableElevation\", \"disableFocusRipple\", \"endIcon\", \"focusVisibleClassName\", \"fullWidth\", \"size\", \"startIcon\", \"type\", \"variant\"];\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport resolveProps from '@mui/utils/resolveProps';\nimport composeClasses from '@mui/utils/composeClasses';\nimport { alpha } from '@mui/system/colorManipulator';\nimport styled, { rootShouldForwardProp } from '../styles/styled';\nimport { useDefaultProps } from '../DefaultPropsProvider';\nimport ButtonBase from '../ButtonBase';\nimport capitalize from '../utils/capitalize';\nimport buttonClasses, { getButtonUtilityClass } from './buttonClasses';\nimport ButtonGroupContext from '../ButtonGroup/ButtonGroupContext';\nimport ButtonGroupButtonContext from '../ButtonGroup/ButtonGroupButtonContext';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nimport { jsxs as _jsxs } from \"react/jsx-runtime\";\nconst useUtilityClasses = ownerState => {\n const {\n color,\n disableElevation,\n fullWidth,\n size,\n variant,\n classes\n } = ownerState;\n const slots = {\n root: ['root', variant, `${variant}${capitalize(color)}`, `size${capitalize(size)}`, `${variant}Size${capitalize(size)}`, `color${capitalize(color)}`, disableElevation && 'disableElevation', fullWidth && 'fullWidth'],\n label: ['label'],\n startIcon: ['icon', 'startIcon', `iconSize${capitalize(size)}`],\n endIcon: ['icon', 'endIcon', `iconSize${capitalize(size)}`]\n };\n const composedClasses = composeClasses(slots, getButtonUtilityClass, classes);\n return _extends({}, classes, composedClasses);\n};\nconst commonIconStyles = ownerState => _extends({}, ownerState.size === 'small' && {\n '& > *:nth-of-type(1)': {\n fontSize: 18\n }\n}, ownerState.size === 'medium' && {\n '& > *:nth-of-type(1)': {\n fontSize: 20\n }\n}, ownerState.size === 'large' && {\n '& > *:nth-of-type(1)': {\n fontSize: 22\n }\n});\nconst ButtonRoot = styled(ButtonBase, {\n shouldForwardProp: prop => rootShouldForwardProp(prop) || prop === 'classes',\n name: 'MuiButton',\n slot: 'Root',\n overridesResolver: (props, styles) => {\n const {\n ownerState\n } = props;\n return [styles.root, styles[ownerState.variant], styles[`${ownerState.variant}${capitalize(ownerState.color)}`], styles[`size${capitalize(ownerState.size)}`], styles[`${ownerState.variant}Size${capitalize(ownerState.size)}`], ownerState.color === 'inherit' && styles.colorInherit, ownerState.disableElevation && styles.disableElevation, ownerState.fullWidth && styles.fullWidth];\n }\n})(({\n theme,\n ownerState\n}) => {\n var _theme$palette$getCon, _theme$palette;\n const inheritContainedBackgroundColor = theme.palette.mode === 'light' ? theme.palette.grey[300] : theme.palette.grey[800];\n const inheritContainedHoverBackgroundColor = theme.palette.mode === 'light' ? theme.palette.grey.A100 : theme.palette.grey[700];\n return _extends({}, theme.typography.button, {\n minWidth: 64,\n padding: '6px 16px',\n borderRadius: (theme.vars || theme).shape.borderRadius,\n transition: theme.transitions.create(['background-color', 'box-shadow', 'border-color', 'color'], {\n duration: theme.transitions.duration.short\n }),\n '&:hover': _extends({\n textDecoration: 'none',\n backgroundColor: theme.vars ? `rgba(${theme.vars.palette.text.primaryChannel} / ${theme.vars.palette.action.hoverOpacity})` : alpha(theme.palette.text.primary, theme.palette.action.hoverOpacity),\n // Reset on touch devices, it doesn't add specificity\n '@media (hover: none)': {\n backgroundColor: 'transparent'\n }\n }, ownerState.variant === 'text' && ownerState.color !== 'inherit' && {\n backgroundColor: theme.vars ? `rgba(${theme.vars.palette[ownerState.color].mainChannel} / ${theme.vars.palette.action.hoverOpacity})` : alpha(theme.palette[ownerState.color].main, theme.palette.action.hoverOpacity),\n // Reset on touch devices, it doesn't add specificity\n '@media (hover: none)': {\n backgroundColor: 'transparent'\n }\n }, ownerState.variant === 'outlined' && ownerState.color !== 'inherit' && {\n border: `1px solid ${(theme.vars || theme).palette[ownerState.color].main}`,\n backgroundColor: theme.vars ? `rgba(${theme.vars.palette[ownerState.color].mainChannel} / ${theme.vars.palette.action.hoverOpacity})` : alpha(theme.palette[ownerState.color].main, theme.palette.action.hoverOpacity),\n // Reset on touch devices, it doesn't add specificity\n '@media (hover: none)': {\n backgroundColor: 'transparent'\n }\n }, ownerState.variant === 'contained' && {\n backgroundColor: theme.vars ? theme.vars.palette.Button.inheritContainedHoverBg : inheritContainedHoverBackgroundColor,\n boxShadow: (theme.vars || theme).shadows[4],\n // Reset on touch devices, it doesn't add specificity\n '@media (hover: none)': {\n boxShadow: (theme.vars || theme).shadows[2],\n backgroundColor: (theme.vars || theme).palette.grey[300]\n }\n }, ownerState.variant === 'contained' && ownerState.color !== 'inherit' && {\n backgroundColor: (theme.vars || theme).palette[ownerState.color].dark,\n // Reset on touch devices, it doesn't add specificity\n '@media (hover: none)': {\n backgroundColor: (theme.vars || theme).palette[ownerState.color].main\n }\n }),\n '&:active': _extends({}, ownerState.variant === 'contained' && {\n boxShadow: (theme.vars || theme).shadows[8]\n }),\n [`&.${buttonClasses.focusVisible}`]: _extends({}, ownerState.variant === 'contained' && {\n boxShadow: (theme.vars || theme).shadows[6]\n }),\n [`&.${buttonClasses.disabled}`]: _extends({\n color: (theme.vars || theme).palette.action.disabled\n }, ownerState.variant === 'outlined' && {\n border: `1px solid ${(theme.vars || theme).palette.action.disabledBackground}`\n }, ownerState.variant === 'contained' && {\n color: (theme.vars || theme).palette.action.disabled,\n boxShadow: (theme.vars || theme).shadows[0],\n backgroundColor: (theme.vars || theme).palette.action.disabledBackground\n })\n }, ownerState.variant === 'text' && {\n padding: '6px 8px'\n }, ownerState.variant === 'text' && ownerState.color !== 'inherit' && {\n color: (theme.vars || theme).palette[ownerState.color].main\n }, ownerState.variant === 'outlined' && {\n padding: '5px 15px',\n border: '1px solid currentColor'\n }, ownerState.variant === 'outlined' && ownerState.color !== 'inherit' && {\n color: (theme.vars || theme).palette[ownerState.color].main,\n border: theme.vars ? `1px solid rgba(${theme.vars.palette[ownerState.color].mainChannel} / 0.5)` : `1px solid ${alpha(theme.palette[ownerState.color].main, 0.5)}`\n }, ownerState.variant === 'contained' && {\n color: theme.vars ?\n // this is safe because grey does not change between default light/dark mode\n theme.vars.palette.text.primary : (_theme$palette$getCon = (_theme$palette = theme.palette).getContrastText) == null ? void 0 : _theme$palette$getCon.call(_theme$palette, theme.palette.grey[300]),\n backgroundColor: theme.vars ? theme.vars.palette.Button.inheritContainedBg : inheritContainedBackgroundColor,\n boxShadow: (theme.vars || theme).shadows[2]\n }, ownerState.variant === 'contained' && ownerState.color !== 'inherit' && {\n color: (theme.vars || theme).palette[ownerState.color].contrastText,\n backgroundColor: (theme.vars || theme).palette[ownerState.color].main\n }, ownerState.color === 'inherit' && {\n color: 'inherit',\n borderColor: 'currentColor'\n }, ownerState.size === 'small' && ownerState.variant === 'text' && {\n padding: '4px 5px',\n fontSize: theme.typography.pxToRem(13)\n }, ownerState.size === 'large' && ownerState.variant === 'text' && {\n padding: '8px 11px',\n fontSize: theme.typography.pxToRem(15)\n }, ownerState.size === 'small' && ownerState.variant === 'outlined' && {\n padding: '3px 9px',\n fontSize: theme.typography.pxToRem(13)\n }, ownerState.size === 'large' && ownerState.variant === 'outlined' && {\n padding: '7px 21px',\n fontSize: theme.typography.pxToRem(15)\n }, ownerState.size === 'small' && ownerState.variant === 'contained' && {\n padding: '4px 10px',\n fontSize: theme.typography.pxToRem(13)\n }, ownerState.size === 'large' && ownerState.variant === 'contained' && {\n padding: '8px 22px',\n fontSize: theme.typography.pxToRem(15)\n }, ownerState.fullWidth && {\n width: '100%'\n });\n}, ({\n ownerState\n}) => ownerState.disableElevation && {\n boxShadow: 'none',\n '&:hover': {\n boxShadow: 'none'\n },\n [`&.${buttonClasses.focusVisible}`]: {\n boxShadow: 'none'\n },\n '&:active': {\n boxShadow: 'none'\n },\n [`&.${buttonClasses.disabled}`]: {\n boxShadow: 'none'\n }\n});\nconst ButtonStartIcon = styled('span', {\n name: 'MuiButton',\n slot: 'StartIcon',\n overridesResolver: (props, styles) => {\n const {\n ownerState\n } = props;\n return [styles.startIcon, styles[`iconSize${capitalize(ownerState.size)}`]];\n }\n})(({\n ownerState\n}) => _extends({\n display: 'inherit',\n marginRight: 8,\n marginLeft: -4\n}, ownerState.size === 'small' && {\n marginLeft: -2\n}, commonIconStyles(ownerState)));\nconst ButtonEndIcon = styled('span', {\n name: 'MuiButton',\n slot: 'EndIcon',\n overridesResolver: (props, styles) => {\n const {\n ownerState\n } = props;\n return [styles.endIcon, styles[`iconSize${capitalize(ownerState.size)}`]];\n }\n})(({\n ownerState\n}) => _extends({\n display: 'inherit',\n marginRight: -4,\n marginLeft: 8\n}, ownerState.size === 'small' && {\n marginRight: -2\n}, commonIconStyles(ownerState)));\nconst Button = /*#__PURE__*/React.forwardRef(function Button(inProps, ref) {\n // props priority: `inProps` > `contextProps` > `themeDefaultProps`\n const contextProps = React.useContext(ButtonGroupContext);\n const buttonGroupButtonContextPositionClassName = React.useContext(ButtonGroupButtonContext);\n const resolvedProps = resolveProps(contextProps, inProps);\n const props = useDefaultProps({\n props: resolvedProps,\n name: 'MuiButton'\n });\n const {\n children,\n color = 'primary',\n component = 'button',\n className,\n disabled = false,\n disableElevation = false,\n disableFocusRipple = false,\n endIcon: endIconProp,\n focusVisibleClassName,\n fullWidth = false,\n size = 'medium',\n startIcon: startIconProp,\n type,\n variant = 'text'\n } = props,\n other = _objectWithoutPropertiesLoose(props, _excluded);\n const ownerState = _extends({}, props, {\n color,\n component,\n disabled,\n disableElevation,\n disableFocusRipple,\n fullWidth,\n size,\n type,\n variant\n });\n const classes = useUtilityClasses(ownerState);\n const startIcon = startIconProp && /*#__PURE__*/_jsx(ButtonStartIcon, {\n className: classes.startIcon,\n ownerState: ownerState,\n children: startIconProp\n });\n const endIcon = endIconProp && /*#__PURE__*/_jsx(ButtonEndIcon, {\n className: classes.endIcon,\n ownerState: ownerState,\n children: endIconProp\n });\n const positionClassName = buttonGroupButtonContextPositionClassName || '';\n return /*#__PURE__*/_jsxs(ButtonRoot, _extends({\n ownerState: ownerState,\n className: clsx(contextProps.className, classes.root, className, positionClassName),\n component: component,\n disabled: disabled,\n focusRipple: !disableFocusRipple,\n focusVisibleClassName: clsx(classes.focusVisible, focusVisibleClassName),\n ref: ref,\n type: type\n }, other, {\n classes: classes,\n children: [startIcon, children, endIcon]\n }));\n});\nprocess.env.NODE_ENV !== \"production\" ? Button.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the d.ts file and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * The content of the component.\n */\n children: PropTypes.node,\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * @ignore\n */\n className: PropTypes.string,\n /**\n * The color of the component.\n * It supports both default and custom theme colors, which can be added as shown in the\n * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).\n * @default 'primary'\n */\n color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['inherit', 'primary', 'secondary', 'success', 'error', 'info', 'warning']), PropTypes.string]),\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: PropTypes.elementType,\n /**\n * If `true`, the component is disabled.\n * @default false\n */\n disabled: PropTypes.bool,\n /**\n * If `true`, no elevation is used.\n * @default false\n */\n disableElevation: PropTypes.bool,\n /**\n * If `true`, the keyboard focus ripple is disabled.\n * @default false\n */\n disableFocusRipple: PropTypes.bool,\n /**\n * If `true`, the ripple effect is disabled.\n *\n * ⚠️ Without a ripple there is no styling for :focus-visible by default. Be sure\n * to highlight the element by applying separate styles with the `.Mui-focusVisible` class.\n * @default false\n */\n disableRipple: PropTypes.bool,\n /**\n * Element placed after the children.\n */\n endIcon: PropTypes.node,\n /**\n * @ignore\n */\n focusVisibleClassName: PropTypes.string,\n /**\n * If `true`, the button will take up the full width of its container.\n * @default false\n */\n fullWidth: PropTypes.bool,\n /**\n * The URL to link to when the button is clicked.\n * If defined, an `a` element will be used as the root node.\n */\n href: PropTypes.string,\n /**\n * The size of the component.\n * `small` is equivalent to the dense button styling.\n * @default 'medium'\n */\n size: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['small', 'medium', 'large']), PropTypes.string]),\n /**\n * Element placed before the children.\n */\n startIcon: PropTypes.node,\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),\n /**\n * @ignore\n */\n type: PropTypes.oneOfType([PropTypes.oneOf(['button', 'reset', 'submit']), PropTypes.string]),\n /**\n * The variant to use.\n * @default 'text'\n */\n variant: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['contained', 'outlined', 'text']), PropTypes.string])\n} : void 0;\nexport default Button;","'use client';\n\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\n\n/**\n * @ignore - internal component.\n */\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nfunction Ripple(props) {\n const {\n className,\n classes,\n pulsate = false,\n rippleX,\n rippleY,\n rippleSize,\n in: inProp,\n onExited,\n timeout\n } = props;\n const [leaving, setLeaving] = React.useState(false);\n const rippleClassName = clsx(className, classes.ripple, classes.rippleVisible, pulsate && classes.ripplePulsate);\n const rippleStyles = {\n width: rippleSize,\n height: rippleSize,\n top: -(rippleSize / 2) + rippleY,\n left: -(rippleSize / 2) + rippleX\n };\n const childClassName = clsx(classes.child, leaving && classes.childLeaving, pulsate && classes.childPulsate);\n if (!inProp && !leaving) {\n setLeaving(true);\n }\n React.useEffect(() => {\n if (!inProp && onExited != null) {\n // react-transition-group#onExited\n const timeoutId = setTimeout(onExited, timeout);\n return () => {\n clearTimeout(timeoutId);\n };\n }\n return undefined;\n }, [onExited, inProp, timeout]);\n return /*#__PURE__*/_jsx(\"span\", {\n className: rippleClassName,\n style: rippleStyles,\n children: /*#__PURE__*/_jsx(\"span\", {\n className: childClassName\n })\n });\n}\nprocess.env.NODE_ENV !== \"production\" ? Ripple.propTypes = {\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object.isRequired,\n className: PropTypes.string,\n /**\n * @ignore - injected from TransitionGroup\n */\n in: PropTypes.bool,\n /**\n * @ignore - injected from TransitionGroup\n */\n onExited: PropTypes.func,\n /**\n * If `true`, the ripple pulsates, typically indicating the keyboard focus state of an element.\n */\n pulsate: PropTypes.bool,\n /**\n * Diameter of the ripple.\n */\n rippleSize: PropTypes.number,\n /**\n * Horizontal position of the ripple center.\n */\n rippleX: PropTypes.number,\n /**\n * Vertical position of the ripple center.\n */\n rippleY: PropTypes.number,\n /**\n * exit delay\n */\n timeout: PropTypes.number.isRequired\n} : void 0;\nexport default Ripple;","import generateUtilityClasses from '@mui/utils/generateUtilityClasses';\nimport generateUtilityClass from '@mui/utils/generateUtilityClass';\nexport function getTouchRippleUtilityClass(slot) {\n return generateUtilityClass('MuiTouchRipple', slot);\n}\nconst touchRippleClasses = generateUtilityClasses('MuiTouchRipple', ['root', 'ripple', 'rippleVisible', 'ripplePulsate', 'child', 'childLeaving', 'childPulsate']);\nexport default touchRippleClasses;","'use client';\n\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nconst _excluded = [\"center\", \"classes\", \"className\"];\nlet _ = t => t,\n _t,\n _t2,\n _t3,\n _t4;\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport { TransitionGroup } from 'react-transition-group';\nimport clsx from 'clsx';\nimport { keyframes } from '@mui/system';\nimport useTimeout from '@mui/utils/useTimeout';\nimport styled from '../styles/styled';\nimport { useDefaultProps } from '../DefaultPropsProvider';\nimport Ripple from './Ripple';\nimport touchRippleClasses from './touchRippleClasses';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst DURATION = 550;\nexport const DELAY_RIPPLE = 80;\nconst enterKeyframe = keyframes(_t || (_t = _`\n 0% {\n transform: scale(0);\n opacity: 0.1;\n }\n\n 100% {\n transform: scale(1);\n opacity: 0.3;\n }\n`));\nconst exitKeyframe = keyframes(_t2 || (_t2 = _`\n 0% {\n opacity: 1;\n }\n\n 100% {\n opacity: 0;\n }\n`));\nconst pulsateKeyframe = keyframes(_t3 || (_t3 = _`\n 0% {\n transform: scale(1);\n }\n\n 50% {\n transform: scale(0.92);\n }\n\n 100% {\n transform: scale(1);\n }\n`));\nexport const TouchRippleRoot = styled('span', {\n name: 'MuiTouchRipple',\n slot: 'Root'\n})({\n overflow: 'hidden',\n pointerEvents: 'none',\n position: 'absolute',\n zIndex: 0,\n top: 0,\n right: 0,\n bottom: 0,\n left: 0,\n borderRadius: 'inherit'\n});\n\n// This `styled()` function invokes keyframes. `styled-components` only supports keyframes\n// in string templates. Do not convert these styles in JS object as it will break.\nexport const TouchRippleRipple = styled(Ripple, {\n name: 'MuiTouchRipple',\n slot: 'Ripple'\n})(_t4 || (_t4 = _`\n opacity: 0;\n position: absolute;\n\n &.${0} {\n opacity: 0.3;\n transform: scale(1);\n animation-name: ${0};\n animation-duration: ${0}ms;\n animation-timing-function: ${0};\n }\n\n &.${0} {\n animation-duration: ${0}ms;\n }\n\n & .${0} {\n opacity: 1;\n display: block;\n width: 100%;\n height: 100%;\n border-radius: 50%;\n background-color: currentColor;\n }\n\n & .${0} {\n opacity: 0;\n animation-name: ${0};\n animation-duration: ${0}ms;\n animation-timing-function: ${0};\n }\n\n & .${0} {\n position: absolute;\n /* @noflip */\n left: 0px;\n top: 0;\n animation-name: ${0};\n animation-duration: 2500ms;\n animation-timing-function: ${0};\n animation-iteration-count: infinite;\n animation-delay: 200ms;\n }\n`), touchRippleClasses.rippleVisible, enterKeyframe, DURATION, ({\n theme\n}) => theme.transitions.easing.easeInOut, touchRippleClasses.ripplePulsate, ({\n theme\n}) => theme.transitions.duration.shorter, touchRippleClasses.child, touchRippleClasses.childLeaving, exitKeyframe, DURATION, ({\n theme\n}) => theme.transitions.easing.easeInOut, touchRippleClasses.childPulsate, pulsateKeyframe, ({\n theme\n}) => theme.transitions.easing.easeInOut);\n\n/**\n * @ignore - internal component.\n *\n * TODO v5: Make private\n */\nconst TouchRipple = /*#__PURE__*/React.forwardRef(function TouchRipple(inProps, ref) {\n const props = useDefaultProps({\n props: inProps,\n name: 'MuiTouchRipple'\n });\n const {\n center: centerProp = false,\n classes = {},\n className\n } = props,\n other = _objectWithoutPropertiesLoose(props, _excluded);\n const [ripples, setRipples] = React.useState([]);\n const nextKey = React.useRef(0);\n const rippleCallback = React.useRef(null);\n React.useEffect(() => {\n if (rippleCallback.current) {\n rippleCallback.current();\n rippleCallback.current = null;\n }\n }, [ripples]);\n\n // Used to filter out mouse emulated events on mobile.\n const ignoringMouseDown = React.useRef(false);\n // We use a timer in order to only show the ripples for touch \"click\" like events.\n // We don't want to display the ripple for touch scroll events.\n const startTimer = useTimeout();\n\n // This is the hook called once the previous timeout is ready.\n const startTimerCommit = React.useRef(null);\n const container = React.useRef(null);\n const startCommit = React.useCallback(params => {\n const {\n pulsate,\n rippleX,\n rippleY,\n rippleSize,\n cb\n } = params;\n setRipples(oldRipples => [...oldRipples, /*#__PURE__*/_jsx(TouchRippleRipple, {\n classes: {\n ripple: clsx(classes.ripple, touchRippleClasses.ripple),\n rippleVisible: clsx(classes.rippleVisible, touchRippleClasses.rippleVisible),\n ripplePulsate: clsx(classes.ripplePulsate, touchRippleClasses.ripplePulsate),\n child: clsx(classes.child, touchRippleClasses.child),\n childLeaving: clsx(classes.childLeaving, touchRippleClasses.childLeaving),\n childPulsate: clsx(classes.childPulsate, touchRippleClasses.childPulsate)\n },\n timeout: DURATION,\n pulsate: pulsate,\n rippleX: rippleX,\n rippleY: rippleY,\n rippleSize: rippleSize\n }, nextKey.current)]);\n nextKey.current += 1;\n rippleCallback.current = cb;\n }, [classes]);\n const start = React.useCallback((event = {}, options = {}, cb = () => {}) => {\n const {\n pulsate = false,\n center = centerProp || options.pulsate,\n fakeElement = false // For test purposes\n } = options;\n if ((event == null ? void 0 : event.type) === 'mousedown' && ignoringMouseDown.current) {\n ignoringMouseDown.current = false;\n return;\n }\n if ((event == null ? void 0 : event.type) === 'touchstart') {\n ignoringMouseDown.current = true;\n }\n const element = fakeElement ? null : container.current;\n const rect = element ? element.getBoundingClientRect() : {\n width: 0,\n height: 0,\n left: 0,\n top: 0\n };\n\n // Get the size of the ripple\n let rippleX;\n let rippleY;\n let rippleSize;\n if (center || event === undefined || event.clientX === 0 && event.clientY === 0 || !event.clientX && !event.touches) {\n rippleX = Math.round(rect.width / 2);\n rippleY = Math.round(rect.height / 2);\n } else {\n const {\n clientX,\n clientY\n } = event.touches && event.touches.length > 0 ? event.touches[0] : event;\n rippleX = Math.round(clientX - rect.left);\n rippleY = Math.round(clientY - rect.top);\n }\n if (center) {\n rippleSize = Math.sqrt((2 * rect.width ** 2 + rect.height ** 2) / 3);\n\n // For some reason the animation is broken on Mobile Chrome if the size is even.\n if (rippleSize % 2 === 0) {\n rippleSize += 1;\n }\n } else {\n const sizeX = Math.max(Math.abs((element ? element.clientWidth : 0) - rippleX), rippleX) * 2 + 2;\n const sizeY = Math.max(Math.abs((element ? element.clientHeight : 0) - rippleY), rippleY) * 2 + 2;\n rippleSize = Math.sqrt(sizeX ** 2 + sizeY ** 2);\n }\n\n // Touche devices\n if (event != null && event.touches) {\n // check that this isn't another touchstart due to multitouch\n // otherwise we will only clear a single timer when unmounting while two\n // are running\n if (startTimerCommit.current === null) {\n // Prepare the ripple effect.\n startTimerCommit.current = () => {\n startCommit({\n pulsate,\n rippleX,\n rippleY,\n rippleSize,\n cb\n });\n };\n // Delay the execution of the ripple effect.\n // We have to make a tradeoff with this delay value.\n startTimer.start(DELAY_RIPPLE, () => {\n if (startTimerCommit.current) {\n startTimerCommit.current();\n startTimerCommit.current = null;\n }\n });\n }\n } else {\n startCommit({\n pulsate,\n rippleX,\n rippleY,\n rippleSize,\n cb\n });\n }\n }, [centerProp, startCommit, startTimer]);\n const pulsate = React.useCallback(() => {\n start({}, {\n pulsate: true\n });\n }, [start]);\n const stop = React.useCallback((event, cb) => {\n startTimer.clear();\n\n // The touch interaction occurs too quickly.\n // We still want to show ripple effect.\n if ((event == null ? void 0 : event.type) === 'touchend' && startTimerCommit.current) {\n startTimerCommit.current();\n startTimerCommit.current = null;\n startTimer.start(0, () => {\n stop(event, cb);\n });\n return;\n }\n startTimerCommit.current = null;\n setRipples(oldRipples => {\n if (oldRipples.length > 0) {\n return oldRipples.slice(1);\n }\n return oldRipples;\n });\n rippleCallback.current = cb;\n }, [startTimer]);\n React.useImperativeHandle(ref, () => ({\n pulsate,\n start,\n stop\n }), [pulsate, start, stop]);\n return /*#__PURE__*/_jsx(TouchRippleRoot, _extends({\n className: clsx(touchRippleClasses.root, classes.root, className),\n ref: container\n }, other, {\n children: /*#__PURE__*/_jsx(TransitionGroup, {\n component: null,\n exit: true,\n children: ripples\n })\n }));\n});\nprocess.env.NODE_ENV !== \"production\" ? TouchRipple.propTypes = {\n /**\n * If `true`, the ripple starts at the center of the component\n * rather than at the point of interaction.\n */\n center: PropTypes.bool,\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * @ignore\n */\n className: PropTypes.string\n} : void 0;\nexport default TouchRipple;","import generateUtilityClasses from '@mui/utils/generateUtilityClasses';\nimport generateUtilityClass from '@mui/utils/generateUtilityClass';\nexport function getButtonBaseUtilityClass(slot) {\n return generateUtilityClass('MuiButtonBase', slot);\n}\nconst buttonBaseClasses = generateUtilityClasses('MuiButtonBase', ['root', 'disabled', 'focusVisible']);\nexport default buttonBaseClasses;","'use client';\n\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nconst _excluded = [\"action\", \"centerRipple\", \"children\", \"className\", \"component\", \"disabled\", \"disableRipple\", \"disableTouchRipple\", \"focusRipple\", \"focusVisibleClassName\", \"LinkComponent\", \"onBlur\", \"onClick\", \"onContextMenu\", \"onDragLeave\", \"onFocus\", \"onFocusVisible\", \"onKeyDown\", \"onKeyUp\", \"onMouseDown\", \"onMouseLeave\", \"onMouseUp\", \"onTouchEnd\", \"onTouchMove\", \"onTouchStart\", \"tabIndex\", \"TouchRippleProps\", \"touchRippleRef\", \"type\"];\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport refType from '@mui/utils/refType';\nimport elementTypeAcceptingRef from '@mui/utils/elementTypeAcceptingRef';\nimport composeClasses from '@mui/utils/composeClasses';\nimport styled from '../styles/styled';\nimport { useDefaultProps } from '../DefaultPropsProvider';\nimport useForkRef from '../utils/useForkRef';\nimport useEventCallback from '../utils/useEventCallback';\nimport useIsFocusVisible from '../utils/useIsFocusVisible';\nimport TouchRipple from './TouchRipple';\nimport buttonBaseClasses, { getButtonBaseUtilityClass } from './buttonBaseClasses';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nimport { jsxs as _jsxs } from \"react/jsx-runtime\";\nconst useUtilityClasses = ownerState => {\n const {\n disabled,\n focusVisible,\n focusVisibleClassName,\n classes\n } = ownerState;\n const slots = {\n root: ['root', disabled && 'disabled', focusVisible && 'focusVisible']\n };\n const composedClasses = composeClasses(slots, getButtonBaseUtilityClass, classes);\n if (focusVisible && focusVisibleClassName) {\n composedClasses.root += ` ${focusVisibleClassName}`;\n }\n return composedClasses;\n};\nexport const ButtonBaseRoot = styled('button', {\n name: 'MuiButtonBase',\n slot: 'Root',\n overridesResolver: (props, styles) => styles.root\n})({\n display: 'inline-flex',\n alignItems: 'center',\n justifyContent: 'center',\n position: 'relative',\n boxSizing: 'border-box',\n WebkitTapHighlightColor: 'transparent',\n backgroundColor: 'transparent',\n // Reset default value\n // We disable the focus ring for mouse, touch and keyboard users.\n outline: 0,\n border: 0,\n margin: 0,\n // Remove the margin in Safari\n borderRadius: 0,\n padding: 0,\n // Remove the padding in Firefox\n cursor: 'pointer',\n userSelect: 'none',\n verticalAlign: 'middle',\n MozAppearance: 'none',\n // Reset\n WebkitAppearance: 'none',\n // Reset\n textDecoration: 'none',\n // So we take precedent over the style of a native element.\n color: 'inherit',\n '&::-moz-focus-inner': {\n borderStyle: 'none' // Remove Firefox dotted outline.\n },\n [`&.${buttonBaseClasses.disabled}`]: {\n pointerEvents: 'none',\n // Disable link interactions\n cursor: 'default'\n },\n '@media print': {\n colorAdjust: 'exact'\n }\n});\n\n/**\n * `ButtonBase` contains as few styles as possible.\n * It aims to be a simple building block for creating a button.\n * It contains a load of style reset and some focus/ripple logic.\n */\nconst ButtonBase = /*#__PURE__*/React.forwardRef(function ButtonBase(inProps, ref) {\n const props = useDefaultProps({\n props: inProps,\n name: 'MuiButtonBase'\n });\n const {\n action,\n centerRipple = false,\n children,\n className,\n component = 'button',\n disabled = false,\n disableRipple = false,\n disableTouchRipple = false,\n focusRipple = false,\n LinkComponent = 'a',\n onBlur,\n onClick,\n onContextMenu,\n onDragLeave,\n onFocus,\n onFocusVisible,\n onKeyDown,\n onKeyUp,\n onMouseDown,\n onMouseLeave,\n onMouseUp,\n onTouchEnd,\n onTouchMove,\n onTouchStart,\n tabIndex = 0,\n TouchRippleProps,\n touchRippleRef,\n type\n } = props,\n other = _objectWithoutPropertiesLoose(props, _excluded);\n const buttonRef = React.useRef(null);\n const rippleRef = React.useRef(null);\n const handleRippleRef = useForkRef(rippleRef, touchRippleRef);\n const {\n isFocusVisibleRef,\n onFocus: handleFocusVisible,\n onBlur: handleBlurVisible,\n ref: focusVisibleRef\n } = useIsFocusVisible();\n const [focusVisible, setFocusVisible] = React.useState(false);\n if (disabled && focusVisible) {\n setFocusVisible(false);\n }\n React.useImperativeHandle(action, () => ({\n focusVisible: () => {\n setFocusVisible(true);\n buttonRef.current.focus();\n }\n }), []);\n const [mountedState, setMountedState] = React.useState(false);\n React.useEffect(() => {\n setMountedState(true);\n }, []);\n const enableTouchRipple = mountedState && !disableRipple && !disabled;\n React.useEffect(() => {\n if (focusVisible && focusRipple && !disableRipple && mountedState) {\n rippleRef.current.pulsate();\n }\n }, [disableRipple, focusRipple, focusVisible, mountedState]);\n function useRippleHandler(rippleAction, eventCallback, skipRippleAction = disableTouchRipple) {\n return useEventCallback(event => {\n if (eventCallback) {\n eventCallback(event);\n }\n const ignore = skipRippleAction;\n if (!ignore && rippleRef.current) {\n rippleRef.current[rippleAction](event);\n }\n return true;\n });\n }\n const handleMouseDown = useRippleHandler('start', onMouseDown);\n const handleContextMenu = useRippleHandler('stop', onContextMenu);\n const handleDragLeave = useRippleHandler('stop', onDragLeave);\n const handleMouseUp = useRippleHandler('stop', onMouseUp);\n const handleMouseLeave = useRippleHandler('stop', event => {\n if (focusVisible) {\n event.preventDefault();\n }\n if (onMouseLeave) {\n onMouseLeave(event);\n }\n });\n const handleTouchStart = useRippleHandler('start', onTouchStart);\n const handleTouchEnd = useRippleHandler('stop', onTouchEnd);\n const handleTouchMove = useRippleHandler('stop', onTouchMove);\n const handleBlur = useRippleHandler('stop', event => {\n handleBlurVisible(event);\n if (isFocusVisibleRef.current === false) {\n setFocusVisible(false);\n }\n if (onBlur) {\n onBlur(event);\n }\n }, false);\n const handleFocus = useEventCallback(event => {\n // Fix for https://github.com/facebook/react/issues/7769\n if (!buttonRef.current) {\n buttonRef.current = event.currentTarget;\n }\n handleFocusVisible(event);\n if (isFocusVisibleRef.current === true) {\n setFocusVisible(true);\n if (onFocusVisible) {\n onFocusVisible(event);\n }\n }\n if (onFocus) {\n onFocus(event);\n }\n });\n const isNonNativeButton = () => {\n const button = buttonRef.current;\n return component && component !== 'button' && !(button.tagName === 'A' && button.href);\n };\n\n /**\n * IE11 shim for https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/repeat\n */\n const keydownRef = React.useRef(false);\n const handleKeyDown = useEventCallback(event => {\n // Check if key is already down to avoid repeats being counted as multiple activations\n if (focusRipple && !keydownRef.current && focusVisible && rippleRef.current && event.key === ' ') {\n keydownRef.current = true;\n rippleRef.current.stop(event, () => {\n rippleRef.current.start(event);\n });\n }\n if (event.target === event.currentTarget && isNonNativeButton() && event.key === ' ') {\n event.preventDefault();\n }\n if (onKeyDown) {\n onKeyDown(event);\n }\n\n // Keyboard accessibility for non interactive elements\n if (event.target === event.currentTarget && isNonNativeButton() && event.key === 'Enter' && !disabled) {\n event.preventDefault();\n if (onClick) {\n onClick(event);\n }\n }\n });\n const handleKeyUp = useEventCallback(event => {\n // calling preventDefault in keyUp on a \n *
\n * );\n * }\n * ```\n *\n * When the `in` prop is set to `true`, the child component will first receive\n * the class `example-enter`, then the `example-enter-active` will be added in\n * the next tick. `CSSTransition` [forces a\n * reflow](https://github.com/reactjs/react-transition-group/blob/5007303e729a74be66a21c3e2205e4916821524b/src/CSSTransition.js#L208-L215)\n * between before adding the `example-enter-active`. This is an important trick\n * because it allows us to transition between `example-enter` and\n * `example-enter-active` even though they were added immediately one after\n * another. Most notably, this is what makes it possible for us to animate\n * _appearance_.\n *\n * ```css\n * .my-node-enter {\n * opacity: 0;\n * }\n * .my-node-enter-active {\n * opacity: 1;\n * transition: opacity 200ms;\n * }\n * .my-node-exit {\n * opacity: 1;\n * }\n * .my-node-exit-active {\n * opacity: 0;\n * transition: opacity 200ms;\n * }\n * ```\n *\n * `*-active` classes represent which styles you want to animate **to**, so it's\n * important to add `transition` declaration only to them, otherwise transitions\n * might not behave as intended! This might not be obvious when the transitions\n * are symmetrical, i.e. when `*-enter-active` is the same as `*-exit`, like in\n * the example above (minus `transition`), but it becomes apparent in more\n * complex transitions.\n *\n * **Note**: If you're using the\n * [`appear`](http://reactcommunity.org/react-transition-group/transition#Transition-prop-appear)\n * prop, make sure to define styles for `.appear-*` classes as well.\n */\n\n\nvar CSSTransition = /*#__PURE__*/function (_React$Component) {\n _inheritsLoose(CSSTransition, _React$Component);\n\n function CSSTransition() {\n var _this;\n\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n _this = _React$Component.call.apply(_React$Component, [this].concat(args)) || this;\n _this.appliedClasses = {\n appear: {},\n enter: {},\n exit: {}\n };\n\n _this.onEnter = function (maybeNode, maybeAppearing) {\n var _this$resolveArgument = _this.resolveArguments(maybeNode, maybeAppearing),\n node = _this$resolveArgument[0],\n appearing = _this$resolveArgument[1];\n\n _this.removeClasses(node, 'exit');\n\n _this.addClass(node, appearing ? 'appear' : 'enter', 'base');\n\n if (_this.props.onEnter) {\n _this.props.onEnter(maybeNode, maybeAppearing);\n }\n };\n\n _this.onEntering = function (maybeNode, maybeAppearing) {\n var _this$resolveArgument2 = _this.resolveArguments(maybeNode, maybeAppearing),\n node = _this$resolveArgument2[0],\n appearing = _this$resolveArgument2[1];\n\n var type = appearing ? 'appear' : 'enter';\n\n _this.addClass(node, type, 'active');\n\n if (_this.props.onEntering) {\n _this.props.onEntering(maybeNode, maybeAppearing);\n }\n };\n\n _this.onEntered = function (maybeNode, maybeAppearing) {\n var _this$resolveArgument3 = _this.resolveArguments(maybeNode, maybeAppearing),\n node = _this$resolveArgument3[0],\n appearing = _this$resolveArgument3[1];\n\n var type = appearing ? 'appear' : 'enter';\n\n _this.removeClasses(node, type);\n\n _this.addClass(node, type, 'done');\n\n if (_this.props.onEntered) {\n _this.props.onEntered(maybeNode, maybeAppearing);\n }\n };\n\n _this.onExit = function (maybeNode) {\n var _this$resolveArgument4 = _this.resolveArguments(maybeNode),\n node = _this$resolveArgument4[0];\n\n _this.removeClasses(node, 'appear');\n\n _this.removeClasses(node, 'enter');\n\n _this.addClass(node, 'exit', 'base');\n\n if (_this.props.onExit) {\n _this.props.onExit(maybeNode);\n }\n };\n\n _this.onExiting = function (maybeNode) {\n var _this$resolveArgument5 = _this.resolveArguments(maybeNode),\n node = _this$resolveArgument5[0];\n\n _this.addClass(node, 'exit', 'active');\n\n if (_this.props.onExiting) {\n _this.props.onExiting(maybeNode);\n }\n };\n\n _this.onExited = function (maybeNode) {\n var _this$resolveArgument6 = _this.resolveArguments(maybeNode),\n node = _this$resolveArgument6[0];\n\n _this.removeClasses(node, 'exit');\n\n _this.addClass(node, 'exit', 'done');\n\n if (_this.props.onExited) {\n _this.props.onExited(maybeNode);\n }\n };\n\n _this.resolveArguments = function (maybeNode, maybeAppearing) {\n return _this.props.nodeRef ? [_this.props.nodeRef.current, maybeNode] // here `maybeNode` is actually `appearing`\n : [maybeNode, maybeAppearing];\n };\n\n _this.getClassNames = function (type) {\n var classNames = _this.props.classNames;\n var isStringClassNames = typeof classNames === 'string';\n var prefix = isStringClassNames && classNames ? classNames + \"-\" : '';\n var baseClassName = isStringClassNames ? \"\" + prefix + type : classNames[type];\n var activeClassName = isStringClassNames ? baseClassName + \"-active\" : classNames[type + \"Active\"];\n var doneClassName = isStringClassNames ? baseClassName + \"-done\" : classNames[type + \"Done\"];\n return {\n baseClassName: baseClassName,\n activeClassName: activeClassName,\n doneClassName: doneClassName\n };\n };\n\n return _this;\n }\n\n var _proto = CSSTransition.prototype;\n\n _proto.addClass = function addClass(node, type, phase) {\n var className = this.getClassNames(type)[phase + \"ClassName\"];\n\n var _this$getClassNames = this.getClassNames('enter'),\n doneClassName = _this$getClassNames.doneClassName;\n\n if (type === 'appear' && phase === 'done' && doneClassName) {\n className += \" \" + doneClassName;\n } // This is to force a repaint,\n // which is necessary in order to transition styles when adding a class name.\n\n\n if (phase === 'active') {\n if (node) forceReflow(node);\n }\n\n if (className) {\n this.appliedClasses[type][phase] = className;\n\n _addClass(node, className);\n }\n };\n\n _proto.removeClasses = function removeClasses(node, type) {\n var _this$appliedClasses$ = this.appliedClasses[type],\n baseClassName = _this$appliedClasses$.base,\n activeClassName = _this$appliedClasses$.active,\n doneClassName = _this$appliedClasses$.done;\n this.appliedClasses[type] = {};\n\n if (baseClassName) {\n removeClass(node, baseClassName);\n }\n\n if (activeClassName) {\n removeClass(node, activeClassName);\n }\n\n if (doneClassName) {\n removeClass(node, doneClassName);\n }\n };\n\n _proto.render = function render() {\n var _this$props = this.props,\n _ = _this$props.classNames,\n props = _objectWithoutPropertiesLoose(_this$props, [\"classNames\"]);\n\n return /*#__PURE__*/React.createElement(Transition, _extends({}, props, {\n onEnter: this.onEnter,\n onEntered: this.onEntered,\n onEntering: this.onEntering,\n onExit: this.onExit,\n onExiting: this.onExiting,\n onExited: this.onExited\n }));\n };\n\n return CSSTransition;\n}(React.Component);\n\nCSSTransition.defaultProps = {\n classNames: ''\n};\nCSSTransition.propTypes = process.env.NODE_ENV !== \"production\" ? _extends({}, Transition.propTypes, {\n /**\n * The animation classNames applied to the component as it appears, enters,\n * exits or has finished the transition. A single name can be provided, which\n * will be suffixed for each stage, e.g. `classNames=\"fade\"` applies:\n *\n * - `fade-appear`, `fade-appear-active`, `fade-appear-done`\n * - `fade-enter`, `fade-enter-active`, `fade-enter-done`\n * - `fade-exit`, `fade-exit-active`, `fade-exit-done`\n *\n * A few details to note about how these classes are applied:\n *\n * 1. They are _joined_ with the ones that are already defined on the child\n * component, so if you want to add some base styles, you can use\n * `className` without worrying that it will be overridden.\n *\n * 2. If the transition component mounts with `in={false}`, no classes are\n * applied yet. You might be expecting `*-exit-done`, but if you think\n * about it, a component cannot finish exiting if it hasn't entered yet.\n *\n * 2. `fade-appear-done` and `fade-enter-done` will _both_ be applied. This\n * allows you to define different behavior for when appearing is done and\n * when regular entering is done, using selectors like\n * `.fade-enter-done:not(.fade-appear-done)`. For example, you could apply\n * an epic entrance animation when element first appears in the DOM using\n * [Animate.css](https://daneden.github.io/animate.css/). Otherwise you can\n * simply use `fade-enter-done` for defining both cases.\n *\n * Each individual classNames can also be specified independently like:\n *\n * ```js\n * classNames={{\n * appear: 'my-appear',\n * appearActive: 'my-active-appear',\n * appearDone: 'my-done-appear',\n * enter: 'my-enter',\n * enterActive: 'my-active-enter',\n * enterDone: 'my-done-enter',\n * exit: 'my-exit',\n * exitActive: 'my-active-exit',\n * exitDone: 'my-done-exit',\n * }}\n * ```\n *\n * If you want to set these classes using CSS Modules:\n *\n * ```js\n * import styles from './styles.css';\n * ```\n *\n * you might want to use camelCase in your CSS file, that way could simply\n * spread them instead of listing them one by one:\n *\n * ```js\n * classNames={{ ...styles }}\n * ```\n *\n * @type {string | {\n * appear?: string,\n * appearActive?: string,\n * appearDone?: string,\n * enter?: string,\n * enterActive?: string,\n * enterDone?: string,\n * exit?: string,\n * exitActive?: string,\n * exitDone?: string,\n * }}\n */\n classNames: classNamesShape,\n\n /**\n * A `` callback fired immediately after the 'enter' or 'appear' class is\n * applied.\n *\n * **Note**: when `nodeRef` prop is passed, `node` is not passed.\n *\n * @type Function(node: HtmlElement, isAppearing: bool)\n */\n onEnter: PropTypes.func,\n\n /**\n * A `` callback fired immediately after the 'enter-active' or\n * 'appear-active' class is applied.\n *\n * **Note**: when `nodeRef` prop is passed, `node` is not passed.\n *\n * @type Function(node: HtmlElement, isAppearing: bool)\n */\n onEntering: PropTypes.func,\n\n /**\n * A `` callback fired immediately after the 'enter' or\n * 'appear' classes are **removed** and the `done` class is added to the DOM node.\n *\n * **Note**: when `nodeRef` prop is passed, `node` is not passed.\n *\n * @type Function(node: HtmlElement, isAppearing: bool)\n */\n onEntered: PropTypes.func,\n\n /**\n * A `` callback fired immediately after the 'exit' class is\n * applied.\n *\n * **Note**: when `nodeRef` prop is passed, `node` is not passed\n *\n * @type Function(node: HtmlElement)\n */\n onExit: PropTypes.func,\n\n /**\n * A `` callback fired immediately after the 'exit-active' is applied.\n *\n * **Note**: when `nodeRef` prop is passed, `node` is not passed\n *\n * @type Function(node: HtmlElement)\n */\n onExiting: PropTypes.func,\n\n /**\n * A `` callback fired immediately after the 'exit' classes\n * are **removed** and the `exit-done` class is added to the DOM node.\n *\n * **Note**: when `nodeRef` prop is passed, `node` is not passed\n *\n * @type Function(node: HtmlElement)\n */\n onExited: PropTypes.func\n}) : {};\nexport default CSSTransition;","import hasClass from './hasClass';\n/**\n * Adds a CSS class to a given element.\n * \n * @param element the element\n * @param className the CSS class name\n */\n\nexport default function addClass(element, className) {\n if (element.classList) element.classList.add(className);else if (!hasClass(element, className)) if (typeof element.className === 'string') element.className = element.className + \" \" + className;else element.setAttribute('class', (element.className && element.className.baseVal || '') + \" \" + className);\n}","/**\n * Checks if a given element has a CSS class.\n * \n * @param element the element\n * @param className the CSS class name\n */\nexport default function hasClass(element, className) {\n if (element.classList) return !!className && element.classList.contains(className);\n return (\" \" + (element.className.baseVal || element.className) + \" \").indexOf(\" \" + className + \" \") !== -1;\n}","import { unstable_generateUtilityClass as generateUtilityClass, unstable_generateUtilityClasses as generateUtilityClasses } from '@mui/utils';\nexport const getPickersSlideTransitionUtilityClass = slot => generateUtilityClass('MuiPickersSlideTransition', slot);\nexport const pickersSlideTransitionClasses = generateUtilityClasses('MuiPickersSlideTransition', ['root', 'slideEnter-left', 'slideEnter-right', 'slideEnterActive', 'slideExit', 'slideExitActiveLeft-left', 'slideExitActiveLeft-right']);","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nconst _excluded = [\"children\", \"className\", \"reduceAnimations\", \"slideDirection\", \"transKey\", \"classes\"];\nimport * as React from 'react';\nimport clsx from 'clsx';\nimport { styled, useTheme, useThemeProps } from '@mui/material/styles';\nimport composeClasses from '@mui/utils/composeClasses';\nimport { CSSTransition, TransitionGroup } from 'react-transition-group';\nimport { getPickersSlideTransitionUtilityClass, pickersSlideTransitionClasses } from './pickersSlideTransitionClasses';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst useUtilityClasses = ownerState => {\n const {\n classes,\n slideDirection\n } = ownerState;\n const slots = {\n root: ['root'],\n exit: ['slideExit'],\n enterActive: ['slideEnterActive'],\n enter: [`slideEnter-${slideDirection}`],\n exitActive: [`slideExitActiveLeft-${slideDirection}`]\n };\n return composeClasses(slots, getPickersSlideTransitionUtilityClass, classes);\n};\nconst PickersSlideTransitionRoot = styled(TransitionGroup, {\n name: 'MuiPickersSlideTransition',\n slot: 'Root',\n overridesResolver: (_, styles) => [styles.root, {\n [`.${pickersSlideTransitionClasses['slideEnter-left']}`]: styles['slideEnter-left']\n }, {\n [`.${pickersSlideTransitionClasses['slideEnter-right']}`]: styles['slideEnter-right']\n }, {\n [`.${pickersSlideTransitionClasses.slideEnterActive}`]: styles.slideEnterActive\n }, {\n [`.${pickersSlideTransitionClasses.slideExit}`]: styles.slideExit\n }, {\n [`.${pickersSlideTransitionClasses['slideExitActiveLeft-left']}`]: styles['slideExitActiveLeft-left']\n }, {\n [`.${pickersSlideTransitionClasses['slideExitActiveLeft-right']}`]: styles['slideExitActiveLeft-right']\n }]\n})(({\n theme\n}) => {\n const slideTransition = theme.transitions.create('transform', {\n duration: theme.transitions.duration.complex,\n easing: 'cubic-bezier(0.35, 0.8, 0.4, 1)'\n });\n return {\n display: 'block',\n position: 'relative',\n overflowX: 'hidden',\n '& > *': {\n position: 'absolute',\n top: 0,\n right: 0,\n left: 0\n },\n [`& .${pickersSlideTransitionClasses['slideEnter-left']}`]: {\n willChange: 'transform',\n transform: 'translate(100%)',\n zIndex: 1\n },\n [`& .${pickersSlideTransitionClasses['slideEnter-right']}`]: {\n willChange: 'transform',\n transform: 'translate(-100%)',\n zIndex: 1\n },\n [`& .${pickersSlideTransitionClasses.slideEnterActive}`]: {\n transform: 'translate(0%)',\n transition: slideTransition\n },\n [`& .${pickersSlideTransitionClasses.slideExit}`]: {\n transform: 'translate(0%)'\n },\n [`& .${pickersSlideTransitionClasses['slideExitActiveLeft-left']}`]: {\n willChange: 'transform',\n transform: 'translate(-100%)',\n transition: slideTransition,\n zIndex: 0\n },\n [`& .${pickersSlideTransitionClasses['slideExitActiveLeft-right']}`]: {\n willChange: 'transform',\n transform: 'translate(100%)',\n transition: slideTransition,\n zIndex: 0\n }\n };\n});\n\n/**\n * @ignore - do not document.\n */\nexport function PickersSlideTransition(inProps) {\n const props = useThemeProps({\n props: inProps,\n name: 'MuiPickersSlideTransition'\n });\n const {\n children,\n className,\n reduceAnimations,\n transKey\n // extracting `classes` from `other`\n } = props,\n other = _objectWithoutPropertiesLoose(props, _excluded);\n const classes = useUtilityClasses(props);\n const theme = useTheme();\n if (reduceAnimations) {\n return /*#__PURE__*/_jsx(\"div\", {\n className: clsx(classes.root, className),\n children: children\n });\n }\n const transitionClasses = {\n exit: classes.exit,\n enterActive: classes.enterActive,\n enter: classes.enter,\n exitActive: classes.exitActive\n };\n return /*#__PURE__*/_jsx(PickersSlideTransitionRoot, {\n className: clsx(classes.root, className),\n childFactory: element => /*#__PURE__*/React.cloneElement(element, {\n classNames: transitionClasses\n }),\n role: \"presentation\",\n children: /*#__PURE__*/_jsx(CSSTransition, _extends({\n mountOnEnter: true,\n unmountOnExit: true,\n timeout: theme.transitions.duration.complex,\n classNames: transitionClasses\n }, other, {\n children: children\n }), transKey)\n });\n}","import { unstable_generateUtilityClass as generateUtilityClass, unstable_generateUtilityClasses as generateUtilityClasses } from '@mui/utils';\nexport const getDayCalendarUtilityClass = slot => generateUtilityClass('MuiDayCalendar', slot);\nexport const dayPickerClasses = generateUtilityClasses('MuiDayCalendar', ['root', 'header', 'weekDayLabel', 'loadingContainer', 'slideTransition', 'monthContainer', 'weekContainer', 'weekNumberLabel', 'weekNumber']);","import _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nconst _excluded = [\"parentProps\", \"day\", \"focusableDay\", \"selectedDays\", \"isDateDisabled\", \"currentMonthNumber\", \"isViewFocused\"],\n _excluded2 = [\"ownerState\"];\nimport * as React from 'react';\nimport useEventCallback from '@mui/utils/useEventCallback';\nimport Typography from '@mui/material/Typography';\nimport { useSlotProps } from '@mui/base/utils';\nimport { styled, useTheme, useThemeProps } from '@mui/material/styles';\nimport { unstable_composeClasses as composeClasses, unstable_useControlled as useControlled } from '@mui/utils';\nimport clsx from 'clsx';\nimport { PickersDay } from '../PickersDay/PickersDay';\nimport { useUtils, useNow, useLocaleText } from '../internals/hooks/useUtils';\nimport { DAY_SIZE, DAY_MARGIN } from '../internals/constants/dimensions';\nimport { PickersSlideTransition } from './PickersSlideTransition';\nimport { useIsDateDisabled } from './useIsDateDisabled';\nimport { findClosestEnabledDate, getWeekdays } from '../internals/utils/date-utils';\nimport { getDayCalendarUtilityClass } from './dayCalendarClasses';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nimport { jsxs as _jsxs } from \"react/jsx-runtime\";\nconst useUtilityClasses = ownerState => {\n const {\n classes\n } = ownerState;\n const slots = {\n root: ['root'],\n header: ['header'],\n weekDayLabel: ['weekDayLabel'],\n loadingContainer: ['loadingContainer'],\n slideTransition: ['slideTransition'],\n monthContainer: ['monthContainer'],\n weekContainer: ['weekContainer'],\n weekNumberLabel: ['weekNumberLabel'],\n weekNumber: ['weekNumber']\n };\n return composeClasses(slots, getDayCalendarUtilityClass, classes);\n};\nconst weeksContainerHeight = (DAY_SIZE + DAY_MARGIN * 2) * 6;\nconst PickersCalendarDayRoot = styled('div', {\n name: 'MuiDayCalendar',\n slot: 'Root',\n overridesResolver: (_, styles) => styles.root\n})({});\nconst PickersCalendarDayHeader = styled('div', {\n name: 'MuiDayCalendar',\n slot: 'Header',\n overridesResolver: (_, styles) => styles.header\n})({\n display: 'flex',\n justifyContent: 'center',\n alignItems: 'center'\n});\nconst PickersCalendarWeekDayLabel = styled(Typography, {\n name: 'MuiDayCalendar',\n slot: 'WeekDayLabel',\n overridesResolver: (_, styles) => styles.weekDayLabel\n})(({\n theme\n}) => ({\n width: 36,\n height: 40,\n margin: '0 2px',\n textAlign: 'center',\n display: 'flex',\n justifyContent: 'center',\n alignItems: 'center',\n color: (theme.vars || theme).palette.text.secondary\n}));\nconst PickersCalendarWeekNumberLabel = styled(Typography, {\n name: 'MuiDayCalendar',\n slot: 'WeekNumberLabel',\n overridesResolver: (_, styles) => styles.weekNumberLabel\n})(({\n theme\n}) => ({\n width: 36,\n height: 40,\n margin: '0 2px',\n textAlign: 'center',\n display: 'flex',\n justifyContent: 'center',\n alignItems: 'center',\n color: theme.palette.text.disabled\n}));\nconst PickersCalendarWeekNumber = styled(Typography, {\n name: 'MuiDayCalendar',\n slot: 'WeekNumber',\n overridesResolver: (_, styles) => styles.weekNumber\n})(({\n theme\n}) => _extends({}, theme.typography.caption, {\n width: DAY_SIZE,\n height: DAY_SIZE,\n padding: 0,\n margin: `0 ${DAY_MARGIN}px`,\n color: theme.palette.text.disabled,\n fontSize: '0.75rem',\n alignItems: 'center',\n justifyContent: 'center',\n display: 'inline-flex'\n}));\nconst PickersCalendarLoadingContainer = styled('div', {\n name: 'MuiDayCalendar',\n slot: 'LoadingContainer',\n overridesResolver: (_, styles) => styles.loadingContainer\n})({\n display: 'flex',\n justifyContent: 'center',\n alignItems: 'center',\n minHeight: weeksContainerHeight\n});\nconst PickersCalendarSlideTransition = styled(PickersSlideTransition, {\n name: 'MuiDayCalendar',\n slot: 'SlideTransition',\n overridesResolver: (_, styles) => styles.slideTransition\n})({\n minHeight: weeksContainerHeight\n});\nconst PickersCalendarWeekContainer = styled('div', {\n name: 'MuiDayCalendar',\n slot: 'MonthContainer',\n overridesResolver: (_, styles) => styles.monthContainer\n})({\n overflow: 'hidden'\n});\nconst PickersCalendarWeek = styled('div', {\n name: 'MuiDayCalendar',\n slot: 'WeekContainer',\n overridesResolver: (_, styles) => styles.weekContainer\n})({\n margin: `${DAY_MARGIN}px 0`,\n display: 'flex',\n justifyContent: 'center'\n});\nfunction WrappedDay(_ref) {\n var _ref2, _slots$day, _slotProps$day;\n let {\n parentProps,\n day,\n focusableDay,\n selectedDays,\n isDateDisabled,\n currentMonthNumber,\n isViewFocused\n } = _ref,\n other = _objectWithoutPropertiesLoose(_ref, _excluded);\n const {\n disabled,\n disableHighlightToday,\n isMonthSwitchingAnimating,\n showDaysOutsideCurrentMonth,\n components,\n componentsProps,\n slots,\n slotProps,\n timezone\n } = parentProps;\n const utils = useUtils();\n const now = useNow(timezone);\n const isFocusableDay = focusableDay !== null && utils.isSameDay(day, focusableDay);\n const isSelected = selectedDays.some(selectedDay => utils.isSameDay(selectedDay, day));\n const isToday = utils.isSameDay(day, now);\n const Day = (_ref2 = (_slots$day = slots == null ? void 0 : slots.day) != null ? _slots$day : components == null ? void 0 : components.Day) != null ? _ref2 : PickersDay;\n // We don't want to pass to ownerState down, to avoid re-rendering all the day whenever a prop changes.\n const _useSlotProps = useSlotProps({\n elementType: Day,\n externalSlotProps: (_slotProps$day = slotProps == null ? void 0 : slotProps.day) != null ? _slotProps$day : componentsProps == null ? void 0 : componentsProps.day,\n additionalProps: _extends({\n disableHighlightToday,\n showDaysOutsideCurrentMonth,\n role: 'gridcell',\n isAnimating: isMonthSwitchingAnimating,\n // it is used in date range dragging logic by accessing `dataset.timestamp`\n 'data-timestamp': utils.toJsDate(day).valueOf()\n }, other),\n ownerState: _extends({}, parentProps, {\n day,\n selected: isSelected\n })\n }),\n dayProps = _objectWithoutPropertiesLoose(_useSlotProps, _excluded2);\n const isDisabled = React.useMemo(() => disabled || isDateDisabled(day), [disabled, isDateDisabled, day]);\n const outsideCurrentMonth = React.useMemo(() => utils.getMonth(day) !== currentMonthNumber, [utils, day, currentMonthNumber]);\n const isFirstVisibleCell = React.useMemo(() => {\n const startOfMonth = utils.startOfMonth(utils.setMonth(day, currentMonthNumber));\n if (!showDaysOutsideCurrentMonth) {\n return utils.isSameDay(day, startOfMonth);\n }\n return utils.isSameDay(day, utils.startOfWeek(startOfMonth));\n }, [currentMonthNumber, day, showDaysOutsideCurrentMonth, utils]);\n const isLastVisibleCell = React.useMemo(() => {\n const endOfMonth = utils.endOfMonth(utils.setMonth(day, currentMonthNumber));\n if (!showDaysOutsideCurrentMonth) {\n return utils.isSameDay(day, endOfMonth);\n }\n return utils.isSameDay(day, utils.endOfWeek(endOfMonth));\n }, [currentMonthNumber, day, showDaysOutsideCurrentMonth, utils]);\n return /*#__PURE__*/_jsx(Day, _extends({}, dayProps, {\n day: day,\n disabled: isDisabled,\n autoFocus: isViewFocused && isFocusableDay,\n today: isToday,\n outsideCurrentMonth: outsideCurrentMonth,\n isFirstVisibleCell: isFirstVisibleCell,\n isLastVisibleCell: isLastVisibleCell,\n selected: isSelected,\n tabIndex: isFocusableDay ? 0 : -1,\n \"aria-selected\": isSelected,\n \"aria-current\": isToday ? 'date' : undefined\n }));\n}\n\n/**\n * @ignore - do not document.\n */\nexport function DayCalendar(inProps) {\n const props = useThemeProps({\n props: inProps,\n name: 'MuiDayCalendar'\n });\n const {\n onFocusedDayChange,\n className,\n currentMonth,\n selectedDays,\n focusedDay,\n loading,\n onSelectedDaysChange,\n onMonthSwitchingAnimationEnd,\n readOnly,\n reduceAnimations,\n renderLoading = () => /*#__PURE__*/_jsx(\"span\", {\n children: \"...\"\n }),\n slideDirection,\n TransitionProps,\n disablePast,\n disableFuture,\n minDate,\n maxDate,\n shouldDisableDate,\n shouldDisableMonth,\n shouldDisableYear,\n dayOfWeekFormatter: dayOfWeekFormatterFromProps,\n hasFocus,\n onFocusedViewChange,\n gridLabelId,\n displayWeekNumber,\n fixedWeekNumber,\n autoFocus,\n timezone\n } = props;\n const now = useNow(timezone);\n const utils = useUtils();\n const classes = useUtilityClasses(props);\n const theme = useTheme();\n const isRTL = theme.direction === 'rtl';\n\n // before we could define this outside of the component scope, but now we need utils, which is only defined here\n const dayOfWeekFormatter = dayOfWeekFormatterFromProps || ((_day, date) => utils.format(date, 'weekdayShort').charAt(0).toUpperCase());\n const isDateDisabled = useIsDateDisabled({\n shouldDisableDate,\n shouldDisableMonth,\n shouldDisableYear,\n minDate,\n maxDate,\n disablePast,\n disableFuture,\n timezone\n });\n const localeText = useLocaleText();\n const [internalHasFocus, setInternalHasFocus] = useControlled({\n name: 'DayCalendar',\n state: 'hasFocus',\n controlled: hasFocus,\n default: autoFocus != null ? autoFocus : false\n });\n const [internalFocusedDay, setInternalFocusedDay] = React.useState(() => focusedDay || now);\n const handleDaySelect = useEventCallback(day => {\n if (readOnly) {\n return;\n }\n onSelectedDaysChange(day);\n });\n const focusDay = day => {\n if (!isDateDisabled(day)) {\n onFocusedDayChange(day);\n setInternalFocusedDay(day);\n onFocusedViewChange == null || onFocusedViewChange(true);\n setInternalHasFocus(true);\n }\n };\n const handleKeyDown = useEventCallback((event, day) => {\n switch (event.key) {\n case 'ArrowUp':\n focusDay(utils.addDays(day, -7));\n event.preventDefault();\n break;\n case 'ArrowDown':\n focusDay(utils.addDays(day, 7));\n event.preventDefault();\n break;\n case 'ArrowLeft':\n {\n const newFocusedDayDefault = utils.addDays(day, isRTL ? 1 : -1);\n const nextAvailableMonth = utils.addMonths(day, isRTL ? 1 : -1);\n const closestDayToFocus = findClosestEnabledDate({\n utils,\n date: newFocusedDayDefault,\n minDate: isRTL ? newFocusedDayDefault : utils.startOfMonth(nextAvailableMonth),\n maxDate: isRTL ? utils.endOfMonth(nextAvailableMonth) : newFocusedDayDefault,\n isDateDisabled,\n timezone\n });\n focusDay(closestDayToFocus || newFocusedDayDefault);\n event.preventDefault();\n break;\n }\n case 'ArrowRight':\n {\n const newFocusedDayDefault = utils.addDays(day, isRTL ? -1 : 1);\n const nextAvailableMonth = utils.addMonths(day, isRTL ? -1 : 1);\n const closestDayToFocus = findClosestEnabledDate({\n utils,\n date: newFocusedDayDefault,\n minDate: isRTL ? utils.startOfMonth(nextAvailableMonth) : newFocusedDayDefault,\n maxDate: isRTL ? newFocusedDayDefault : utils.endOfMonth(nextAvailableMonth),\n isDateDisabled,\n timezone\n });\n focusDay(closestDayToFocus || newFocusedDayDefault);\n event.preventDefault();\n break;\n }\n case 'Home':\n focusDay(utils.startOfWeek(day));\n event.preventDefault();\n break;\n case 'End':\n focusDay(utils.endOfWeek(day));\n event.preventDefault();\n break;\n case 'PageUp':\n focusDay(utils.addMonths(day, 1));\n event.preventDefault();\n break;\n case 'PageDown':\n focusDay(utils.addMonths(day, -1));\n event.preventDefault();\n break;\n default:\n break;\n }\n });\n const handleFocus = useEventCallback((event, day) => focusDay(day));\n const handleBlur = useEventCallback((event, day) => {\n if (internalHasFocus && utils.isSameDay(internalFocusedDay, day)) {\n onFocusedViewChange == null || onFocusedViewChange(false);\n }\n });\n const currentMonthNumber = utils.getMonth(currentMonth);\n const validSelectedDays = React.useMemo(() => selectedDays.filter(day => !!day).map(day => utils.startOfDay(day)), [utils, selectedDays]);\n\n // need a new ref whenever the `key` of the transition changes: http://reactcommunity.org/react-transition-group/transition/#Transition-prop-nodeRef.\n const transitionKey = currentMonthNumber;\n // eslint-disable-next-line react-hooks/exhaustive-deps\n const slideNodeRef = React.useMemo(() => /*#__PURE__*/React.createRef(), [transitionKey]);\n const startOfCurrentWeek = utils.startOfWeek(now);\n const focusableDay = React.useMemo(() => {\n const startOfMonth = utils.startOfMonth(currentMonth);\n const endOfMonth = utils.endOfMonth(currentMonth);\n if (isDateDisabled(internalFocusedDay) || utils.isAfterDay(internalFocusedDay, endOfMonth) || utils.isBeforeDay(internalFocusedDay, startOfMonth)) {\n return findClosestEnabledDate({\n utils,\n date: internalFocusedDay,\n minDate: startOfMonth,\n maxDate: endOfMonth,\n disablePast,\n disableFuture,\n isDateDisabled,\n timezone\n });\n }\n return internalFocusedDay;\n }, [currentMonth, disableFuture, disablePast, internalFocusedDay, isDateDisabled, utils, timezone]);\n const weeksToDisplay = React.useMemo(() => {\n const currentMonthWithTimezone = utils.setTimezone(currentMonth, timezone);\n const toDisplay = utils.getWeekArray(currentMonthWithTimezone);\n let nextMonth = utils.addMonths(currentMonthWithTimezone, 1);\n while (fixedWeekNumber && toDisplay.length < fixedWeekNumber) {\n const additionalWeeks = utils.getWeekArray(nextMonth);\n const hasCommonWeek = utils.isSameDay(toDisplay[toDisplay.length - 1][0], additionalWeeks[0][0]);\n additionalWeeks.slice(hasCommonWeek ? 1 : 0).forEach(week => {\n if (toDisplay.length < fixedWeekNumber) {\n toDisplay.push(week);\n }\n });\n nextMonth = utils.addMonths(nextMonth, 1);\n }\n return toDisplay;\n }, [currentMonth, fixedWeekNumber, utils, timezone]);\n return /*#__PURE__*/_jsxs(PickersCalendarDayRoot, {\n role: \"grid\",\n \"aria-labelledby\": gridLabelId,\n className: classes.root,\n children: [/*#__PURE__*/_jsxs(PickersCalendarDayHeader, {\n role: \"row\",\n className: classes.header,\n children: [displayWeekNumber && /*#__PURE__*/_jsx(PickersCalendarWeekNumberLabel, {\n variant: \"caption\",\n role: \"columnheader\",\n \"aria-label\": localeText.calendarWeekNumberHeaderLabel,\n className: classes.weekNumberLabel,\n children: localeText.calendarWeekNumberHeaderText\n }), getWeekdays(utils, now).map((weekday, i) => {\n var _dayOfWeekFormatter;\n const day = utils.format(weekday, 'weekdayShort');\n return /*#__PURE__*/_jsx(PickersCalendarWeekDayLabel, {\n variant: \"caption\",\n role: \"columnheader\",\n \"aria-label\": utils.format(utils.addDays(startOfCurrentWeek, i), 'weekday'),\n className: classes.weekDayLabel,\n children: (_dayOfWeekFormatter = dayOfWeekFormatter == null ? void 0 : dayOfWeekFormatter(day, weekday)) != null ? _dayOfWeekFormatter : day\n }, day + i.toString());\n })]\n }), loading ? /*#__PURE__*/_jsx(PickersCalendarLoadingContainer, {\n className: classes.loadingContainer,\n children: renderLoading()\n }) : /*#__PURE__*/_jsx(PickersCalendarSlideTransition, _extends({\n transKey: transitionKey,\n onExited: onMonthSwitchingAnimationEnd,\n reduceAnimations: reduceAnimations,\n slideDirection: slideDirection,\n className: clsx(className, classes.slideTransition)\n }, TransitionProps, {\n nodeRef: slideNodeRef,\n children: /*#__PURE__*/_jsx(PickersCalendarWeekContainer, {\n ref: slideNodeRef,\n role: \"rowgroup\",\n className: classes.monthContainer,\n children: weeksToDisplay.map((week, index) => /*#__PURE__*/_jsxs(PickersCalendarWeek, {\n role: \"row\",\n className: classes.weekContainer\n // fix issue of announcing row 1 as row 2\n // caused by week day labels row\n ,\n \"aria-rowindex\": index + 1,\n children: [displayWeekNumber && /*#__PURE__*/_jsx(PickersCalendarWeekNumber, {\n className: classes.weekNumber,\n role: \"rowheader\",\n \"aria-label\": localeText.calendarWeekNumberAriaLabelText(utils.getWeekNumber(week[0])),\n children: localeText.calendarWeekNumberText(utils.getWeekNumber(week[0]))\n }), week.map((day, dayIndex) => /*#__PURE__*/_jsx(WrappedDay, {\n parentProps: props,\n day: day,\n selectedDays: validSelectedDays,\n focusableDay: focusableDay,\n onKeyDown: handleKeyDown,\n onFocus: handleFocus,\n onBlur: handleBlur,\n onDaySelect: handleDaySelect,\n isDateDisabled: isDateDisabled,\n currentMonthNumber: currentMonthNumber,\n isViewFocused: internalHasFocus\n // fix issue of announcing column 1 as column 2 when `displayWeekNumber` is enabled\n ,\n \"aria-colindex\": dayIndex + 1\n }, day.toString()))]\n }, `week-${week[0]}`))\n })\n }))]\n });\n}","import { unstable_generateUtilityClass as generateUtilityClass, unstable_generateUtilityClasses as generateUtilityClasses } from '@mui/utils';\nexport function getPickersMonthUtilityClass(slot) {\n return generateUtilityClass('MuiPickersMonth', slot);\n}\nexport const pickersMonthClasses = generateUtilityClasses('MuiPickersMonth', ['root', 'monthButton', 'disabled', 'selected']);","import _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nconst _excluded = [\"autoFocus\", \"children\", \"disabled\", \"selected\", \"value\", \"tabIndex\", \"onClick\", \"onKeyDown\", \"onFocus\", \"onBlur\", \"aria-current\", \"aria-label\", \"monthsPerRow\"];\nimport * as React from 'react';\nimport { styled, alpha, useThemeProps } from '@mui/material/styles';\nimport { unstable_composeClasses as composeClasses, unstable_useEnhancedEffect as useEnhancedEffect } from '@mui/utils';\nimport { getPickersMonthUtilityClass, pickersMonthClasses } from './pickersMonthClasses';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst useUtilityClasses = ownerState => {\n const {\n disabled,\n selected,\n classes\n } = ownerState;\n const slots = {\n root: ['root'],\n monthButton: ['monthButton', disabled && 'disabled', selected && 'selected']\n };\n return composeClasses(slots, getPickersMonthUtilityClass, classes);\n};\nconst PickersMonthRoot = styled('div', {\n name: 'MuiPickersMonth',\n slot: 'Root',\n overridesResolver: (_, styles) => [styles.root]\n})(({\n ownerState\n}) => ({\n flexBasis: ownerState.monthsPerRow === 3 ? '33.3%' : '25%',\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center'\n}));\nconst PickersMonthButton = styled('button', {\n name: 'MuiPickersMonth',\n slot: 'MonthButton',\n overridesResolver: (_, styles) => [styles.monthButton, {\n [`&.${pickersMonthClasses.disabled}`]: styles.disabled\n }, {\n [`&.${pickersMonthClasses.selected}`]: styles.selected\n }]\n})(({\n theme\n}) => _extends({\n color: 'unset',\n backgroundColor: 'transparent',\n border: 0,\n outline: 0\n}, theme.typography.subtitle1, {\n margin: '8px 0',\n height: 36,\n width: 72,\n borderRadius: 18,\n cursor: 'pointer',\n '&:focus': {\n backgroundColor: theme.vars ? `rgba(${theme.vars.palette.action.activeChannel} / ${theme.vars.palette.action.hoverOpacity})` : alpha(theme.palette.action.active, theme.palette.action.hoverOpacity)\n },\n '&:hover': {\n backgroundColor: theme.vars ? `rgba(${theme.vars.palette.action.activeChannel} / ${theme.vars.palette.action.hoverOpacity})` : alpha(theme.palette.action.active, theme.palette.action.hoverOpacity)\n },\n '&:disabled': {\n cursor: 'auto',\n pointerEvents: 'none'\n },\n [`&.${pickersMonthClasses.disabled}`]: {\n color: (theme.vars || theme).palette.text.secondary\n },\n [`&.${pickersMonthClasses.selected}`]: {\n color: (theme.vars || theme).palette.primary.contrastText,\n backgroundColor: (theme.vars || theme).palette.primary.main,\n '&:focus, &:hover': {\n backgroundColor: (theme.vars || theme).palette.primary.dark\n }\n }\n}));\n\n/**\n * @ignore - do not document.\n */\nexport const PickersMonth = /*#__PURE__*/React.memo(function PickersMonth(inProps) {\n const props = useThemeProps({\n props: inProps,\n name: 'MuiPickersMonth'\n });\n const {\n autoFocus,\n children,\n disabled,\n selected,\n value,\n tabIndex,\n onClick,\n onKeyDown,\n onFocus,\n onBlur,\n 'aria-current': ariaCurrent,\n 'aria-label': ariaLabel\n // We don't want to forward this prop to the root element\n } = props,\n other = _objectWithoutPropertiesLoose(props, _excluded);\n const ref = React.useRef(null);\n const classes = useUtilityClasses(props);\n useEnhancedEffect(() => {\n if (autoFocus) {\n var _ref$current;\n (_ref$current = ref.current) == null || _ref$current.focus();\n }\n }, [autoFocus]);\n return /*#__PURE__*/_jsx(PickersMonthRoot, _extends({\n className: classes.root,\n ownerState: props\n }, other, {\n children: /*#__PURE__*/_jsx(PickersMonthButton, {\n ref: ref,\n disabled: disabled,\n type: \"button\",\n role: \"radio\",\n tabIndex: disabled ? -1 : tabIndex,\n \"aria-current\": ariaCurrent,\n \"aria-checked\": selected,\n \"aria-label\": ariaLabel,\n onClick: event => onClick(event, value),\n onKeyDown: event => onKeyDown(event, value),\n onFocus: event => onFocus(event, value),\n onBlur: event => onBlur(event, value),\n className: classes.monthButton,\n ownerState: props,\n children: children\n })\n }));\n});","import { unstable_generateUtilityClass as generateUtilityClass, unstable_generateUtilityClasses as generateUtilityClasses } from '@mui/utils';\nexport function getMonthCalendarUtilityClass(slot) {\n return generateUtilityClass('MuiMonthCalendar', slot);\n}\nexport const monthCalendarClasses = generateUtilityClasses('MuiMonthCalendar', ['root']);","import _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nconst _excluded = [\"className\", \"value\", \"defaultValue\", \"referenceDate\", \"disabled\", \"disableFuture\", \"disablePast\", \"maxDate\", \"minDate\", \"onChange\", \"shouldDisableMonth\", \"readOnly\", \"disableHighlightToday\", \"autoFocus\", \"onMonthFocus\", \"hasFocus\", \"onFocusedViewChange\", \"monthsPerRow\", \"timezone\", \"gridLabelId\"];\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport { useTheme } from '@mui/system';\nimport { styled, useThemeProps } from '@mui/material/styles';\nimport { unstable_useControlled as useControlled, unstable_composeClasses as composeClasses, unstable_useEventCallback as useEventCallback } from '@mui/utils';\nimport { PickersMonth } from './PickersMonth';\nimport { useUtils, useNow, useDefaultDates } from '../internals/hooks/useUtils';\nimport { getMonthCalendarUtilityClass } from './monthCalendarClasses';\nimport { applyDefaultDate, getMonthsInYear } from '../internals/utils/date-utils';\nimport { singleItemValueManager } from '../internals/utils/valueManagers';\nimport { SECTION_TYPE_GRANULARITY } from '../internals/utils/getDefaultReferenceDate';\nimport { useControlledValueWithTimezone } from '../internals/hooks/useValueWithTimezone';\nimport { DIALOG_WIDTH } from '../internals/constants/dimensions';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst useUtilityClasses = ownerState => {\n const {\n classes\n } = ownerState;\n const slots = {\n root: ['root']\n };\n return composeClasses(slots, getMonthCalendarUtilityClass, classes);\n};\nexport function useMonthCalendarDefaultizedProps(props, name) {\n const utils = useUtils();\n const defaultDates = useDefaultDates();\n const themeProps = useThemeProps({\n props,\n name\n });\n return _extends({\n disableFuture: false,\n disablePast: false\n }, themeProps, {\n minDate: applyDefaultDate(utils, themeProps.minDate, defaultDates.minDate),\n maxDate: applyDefaultDate(utils, themeProps.maxDate, defaultDates.maxDate)\n });\n}\nconst MonthCalendarRoot = styled('div', {\n name: 'MuiMonthCalendar',\n slot: 'Root',\n overridesResolver: (props, styles) => styles.root\n})({\n display: 'flex',\n flexWrap: 'wrap',\n alignContent: 'stretch',\n padding: '0 4px',\n width: DIALOG_WIDTH,\n // avoid padding increasing width over defined\n boxSizing: 'border-box'\n});\n/**\n * Demos:\n *\n * - [DateCalendar](https://mui.com/x/react-date-pickers/date-calendar/)\n *\n * API:\n *\n * - [MonthCalendar API](https://mui.com/x/api/date-pickers/month-calendar/)\n */\nexport const MonthCalendar = /*#__PURE__*/React.forwardRef(function MonthCalendar(inProps, ref) {\n const props = useMonthCalendarDefaultizedProps(inProps, 'MuiMonthCalendar');\n const {\n className,\n value: valueProp,\n defaultValue,\n referenceDate: referenceDateProp,\n disabled,\n disableFuture,\n disablePast,\n maxDate,\n minDate,\n onChange,\n shouldDisableMonth,\n readOnly,\n disableHighlightToday,\n autoFocus = false,\n onMonthFocus,\n hasFocus,\n onFocusedViewChange,\n monthsPerRow = 3,\n timezone: timezoneProp,\n gridLabelId\n } = props,\n other = _objectWithoutPropertiesLoose(props, _excluded);\n const {\n value,\n handleValueChange,\n timezone\n } = useControlledValueWithTimezone({\n name: 'MonthCalendar',\n timezone: timezoneProp,\n value: valueProp,\n defaultValue,\n onChange: onChange,\n valueManager: singleItemValueManager\n });\n const now = useNow(timezone);\n const theme = useTheme();\n const utils = useUtils();\n const referenceDate = React.useMemo(() => singleItemValueManager.getInitialReferenceValue({\n value,\n utils,\n props,\n timezone,\n referenceDate: referenceDateProp,\n granularity: SECTION_TYPE_GRANULARITY.month\n }), [] // eslint-disable-line react-hooks/exhaustive-deps\n );\n const ownerState = props;\n const classes = useUtilityClasses(ownerState);\n const todayMonth = React.useMemo(() => utils.getMonth(now), [utils, now]);\n const selectedMonth = React.useMemo(() => {\n if (value != null) {\n return utils.getMonth(value);\n }\n if (disableHighlightToday) {\n return null;\n }\n return utils.getMonth(referenceDate);\n }, [value, utils, disableHighlightToday, referenceDate]);\n const [focusedMonth, setFocusedMonth] = React.useState(() => selectedMonth || todayMonth);\n const [internalHasFocus, setInternalHasFocus] = useControlled({\n name: 'MonthCalendar',\n state: 'hasFocus',\n controlled: hasFocus,\n default: autoFocus != null ? autoFocus : false\n });\n const changeHasFocus = useEventCallback(newHasFocus => {\n setInternalHasFocus(newHasFocus);\n if (onFocusedViewChange) {\n onFocusedViewChange(newHasFocus);\n }\n });\n const isMonthDisabled = React.useCallback(dateToValidate => {\n const firstEnabledMonth = utils.startOfMonth(disablePast && utils.isAfter(now, minDate) ? now : minDate);\n const lastEnabledMonth = utils.startOfMonth(disableFuture && utils.isBefore(now, maxDate) ? now : maxDate);\n const monthToValidate = utils.startOfMonth(dateToValidate);\n if (utils.isBefore(monthToValidate, firstEnabledMonth)) {\n return true;\n }\n if (utils.isAfter(monthToValidate, lastEnabledMonth)) {\n return true;\n }\n if (!shouldDisableMonth) {\n return false;\n }\n return shouldDisableMonth(monthToValidate);\n }, [disableFuture, disablePast, maxDate, minDate, now, shouldDisableMonth, utils]);\n const handleMonthSelection = useEventCallback((event, month) => {\n if (readOnly) {\n return;\n }\n const newDate = utils.setMonth(value != null ? value : referenceDate, month);\n handleValueChange(newDate);\n });\n const focusMonth = useEventCallback(month => {\n if (!isMonthDisabled(utils.setMonth(value != null ? value : referenceDate, month))) {\n setFocusedMonth(month);\n changeHasFocus(true);\n if (onMonthFocus) {\n onMonthFocus(month);\n }\n }\n });\n React.useEffect(() => {\n setFocusedMonth(prevFocusedMonth => selectedMonth !== null && prevFocusedMonth !== selectedMonth ? selectedMonth : prevFocusedMonth);\n }, [selectedMonth]);\n const handleKeyDown = useEventCallback((event, month) => {\n const monthsInYear = 12;\n const monthsInRow = 3;\n switch (event.key) {\n case 'ArrowUp':\n focusMonth((monthsInYear + month - monthsInRow) % monthsInYear);\n event.preventDefault();\n break;\n case 'ArrowDown':\n focusMonth((monthsInYear + month + monthsInRow) % monthsInYear);\n event.preventDefault();\n break;\n case 'ArrowLeft':\n focusMonth((monthsInYear + month + (theme.direction === 'ltr' ? -1 : 1)) % monthsInYear);\n event.preventDefault();\n break;\n case 'ArrowRight':\n focusMonth((monthsInYear + month + (theme.direction === 'ltr' ? 1 : -1)) % monthsInYear);\n event.preventDefault();\n break;\n default:\n break;\n }\n });\n const handleMonthFocus = useEventCallback((event, month) => {\n focusMonth(month);\n });\n const handleMonthBlur = useEventCallback((event, month) => {\n if (focusedMonth === month) {\n changeHasFocus(false);\n }\n });\n return /*#__PURE__*/_jsx(MonthCalendarRoot, _extends({\n ref: ref,\n className: clsx(classes.root, className),\n ownerState: ownerState,\n role: \"radiogroup\",\n \"aria-labelledby\": gridLabelId\n }, other, {\n children: getMonthsInYear(utils, value != null ? value : referenceDate).map(month => {\n const monthNumber = utils.getMonth(month);\n const monthText = utils.format(month, 'monthShort');\n const monthLabel = utils.format(month, 'month');\n const isSelected = monthNumber === selectedMonth;\n const isDisabled = disabled || isMonthDisabled(month);\n return /*#__PURE__*/_jsx(PickersMonth, {\n selected: isSelected,\n value: monthNumber,\n onClick: handleMonthSelection,\n onKeyDown: handleKeyDown,\n autoFocus: internalHasFocus && monthNumber === focusedMonth,\n disabled: isDisabled,\n tabIndex: monthNumber === focusedMonth ? 0 : -1,\n onFocus: handleMonthFocus,\n onBlur: handleMonthBlur,\n \"aria-current\": todayMonth === monthNumber ? 'date' : undefined,\n \"aria-label\": monthLabel,\n monthsPerRow: monthsPerRow,\n children: monthText\n }, monthText);\n })\n }));\n});\nprocess.env.NODE_ENV !== \"production\" ? MonthCalendar.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the TypeScript types and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n autoFocus: PropTypes.bool,\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * className applied to the root element.\n */\n className: PropTypes.string,\n /**\n * The default selected value.\n * Used when the component is not controlled.\n */\n defaultValue: PropTypes.any,\n /**\n * If `true` picker is disabled\n */\n disabled: PropTypes.bool,\n /**\n * If `true`, disable values after the current date for date components, time for time components and both for date time components.\n * @default false\n */\n disableFuture: PropTypes.bool,\n /**\n * If `true`, today's date is rendering without highlighting with circle.\n * @default false\n */\n disableHighlightToday: PropTypes.bool,\n /**\n * If `true`, disable values before the current date for date components, time for time components and both for date time components.\n * @default false\n */\n disablePast: PropTypes.bool,\n gridLabelId: PropTypes.string,\n hasFocus: PropTypes.bool,\n /**\n * Maximal selectable date.\n */\n maxDate: PropTypes.any,\n /**\n * Minimal selectable date.\n */\n minDate: PropTypes.any,\n /**\n * Months rendered per row.\n * @default 3\n */\n monthsPerRow: PropTypes.oneOf([3, 4]),\n /**\n * Callback fired when the value changes.\n * @template TDate\n * @param {TDate} value The new value.\n */\n onChange: PropTypes.func,\n onFocusedViewChange: PropTypes.func,\n onMonthFocus: PropTypes.func,\n /**\n * If `true` picker is readonly\n */\n readOnly: PropTypes.bool,\n /**\n * The date used to generate the new value when both `value` and `defaultValue` are empty.\n * @default The closest valid month using the validation props, except callbacks such as `shouldDisableMonth`.\n */\n referenceDate: PropTypes.any,\n /**\n * Disable specific month.\n * @template TDate\n * @param {TDate} month The month to test.\n * @returns {boolean} If `true`, the month will be disabled.\n */\n shouldDisableMonth: PropTypes.func,\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),\n /**\n * Choose which timezone to use for the value.\n * Example: \"default\", \"system\", \"UTC\", \"America/New_York\".\n * If you pass values from other timezones to some props, they will be converted to this timezone before being used.\n * @see See the {@link https://mui.com/x/react-date-pickers/timezone/ timezones documention} for more details.\n * @default The timezone of the `value` or `defaultValue` prop is defined, 'default' otherwise.\n */\n timezone: PropTypes.string,\n /**\n * The selected value.\n * Used when the component is controlled.\n */\n value: PropTypes.any\n} : void 0;","import { unstable_generateUtilityClass as generateUtilityClass, unstable_generateUtilityClasses as generateUtilityClasses } from '@mui/utils';\nexport function getPickersYearUtilityClass(slot) {\n return generateUtilityClass('MuiPickersYear', slot);\n}\nexport const pickersYearClasses = generateUtilityClasses('MuiPickersYear', ['root', 'yearButton', 'selected', 'disabled']);","import _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nconst _excluded = [\"autoFocus\", \"className\", \"children\", \"disabled\", \"selected\", \"value\", \"tabIndex\", \"onClick\", \"onKeyDown\", \"onFocus\", \"onBlur\", \"aria-current\", \"yearsPerRow\"];\nimport * as React from 'react';\nimport clsx from 'clsx';\nimport { unstable_composeClasses as composeClasses } from '@mui/utils';\nimport { alpha, styled, useThemeProps } from '@mui/material/styles';\nimport { getPickersYearUtilityClass, pickersYearClasses } from './pickersYearClasses';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst useUtilityClasses = ownerState => {\n const {\n disabled,\n selected,\n classes\n } = ownerState;\n const slots = {\n root: ['root'],\n yearButton: ['yearButton', disabled && 'disabled', selected && 'selected']\n };\n return composeClasses(slots, getPickersYearUtilityClass, classes);\n};\nconst PickersYearRoot = styled('div', {\n name: 'MuiPickersYear',\n slot: 'Root',\n overridesResolver: (_, styles) => [styles.root]\n})(({\n ownerState\n}) => ({\n flexBasis: ownerState.yearsPerRow === 3 ? '33.3%' : '25%',\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center'\n}));\nconst PickersYearButton = styled('button', {\n name: 'MuiPickersYear',\n slot: 'YearButton',\n overridesResolver: (_, styles) => [styles.yearButton, {\n [`&.${pickersYearClasses.disabled}`]: styles.disabled\n }, {\n [`&.${pickersYearClasses.selected}`]: styles.selected\n }]\n})(({\n theme\n}) => _extends({\n color: 'unset',\n backgroundColor: 'transparent',\n border: 0,\n outline: 0\n}, theme.typography.subtitle1, {\n margin: '6px 0',\n height: 36,\n width: 72,\n borderRadius: 18,\n cursor: 'pointer',\n '&:focus': {\n backgroundColor: theme.vars ? `rgba(${theme.vars.palette.action.activeChannel} / ${theme.vars.palette.action.focusOpacity})` : alpha(theme.palette.action.active, theme.palette.action.focusOpacity)\n },\n '&:hover': {\n backgroundColor: theme.vars ? `rgba(${theme.vars.palette.action.activeChannel} / ${theme.vars.palette.action.hoverOpacity})` : alpha(theme.palette.action.active, theme.palette.action.hoverOpacity)\n },\n '&:disabled': {\n cursor: 'auto',\n pointerEvents: 'none'\n },\n [`&.${pickersYearClasses.disabled}`]: {\n color: (theme.vars || theme).palette.text.secondary\n },\n [`&.${pickersYearClasses.selected}`]: {\n color: (theme.vars || theme).palette.primary.contrastText,\n backgroundColor: (theme.vars || theme).palette.primary.main,\n '&:focus, &:hover': {\n backgroundColor: (theme.vars || theme).palette.primary.dark\n }\n }\n}));\n\n/**\n * @ignore - internal component.\n */\nexport const PickersYear = /*#__PURE__*/React.memo(function PickersYear(inProps) {\n const props = useThemeProps({\n props: inProps,\n name: 'MuiPickersYear'\n });\n const {\n autoFocus,\n className,\n children,\n disabled,\n selected,\n value,\n tabIndex,\n onClick,\n onKeyDown,\n onFocus,\n onBlur,\n 'aria-current': ariaCurrent\n // We don't want to forward this prop to the root element\n } = props,\n other = _objectWithoutPropertiesLoose(props, _excluded);\n const ref = React.useRef(null);\n const classes = useUtilityClasses(props);\n\n // We can't forward the `autoFocus` to the button because it is a native button, not a MUI Button\n React.useEffect(() => {\n if (autoFocus) {\n // `ref.current` being `null` would be a bug in MUI.\n ref.current.focus();\n }\n }, [autoFocus]);\n return /*#__PURE__*/_jsx(PickersYearRoot, _extends({\n className: clsx(classes.root, className),\n ownerState: props\n }, other, {\n children: /*#__PURE__*/_jsx(PickersYearButton, {\n ref: ref,\n disabled: disabled,\n type: \"button\",\n role: \"radio\",\n tabIndex: disabled ? -1 : tabIndex,\n \"aria-current\": ariaCurrent,\n \"aria-checked\": selected,\n onClick: event => onClick(event, value),\n onKeyDown: event => onKeyDown(event, value),\n onFocus: event => onFocus(event, value),\n onBlur: event => onBlur(event, value),\n className: classes.yearButton,\n ownerState: props,\n children: children\n })\n }));\n});","import { unstable_generateUtilityClass as generateUtilityClass, unstable_generateUtilityClasses as generateUtilityClasses } from '@mui/utils';\nexport function getYearCalendarUtilityClass(slot) {\n return generateUtilityClass('MuiYearCalendar', slot);\n}\nexport const yearCalendarClasses = generateUtilityClasses('MuiYearCalendar', ['root']);","import _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nconst _excluded = [\"autoFocus\", \"className\", \"value\", \"defaultValue\", \"referenceDate\", \"disabled\", \"disableFuture\", \"disablePast\", \"maxDate\", \"minDate\", \"onChange\", \"readOnly\", \"shouldDisableYear\", \"disableHighlightToday\", \"onYearFocus\", \"hasFocus\", \"onFocusedViewChange\", \"yearsPerRow\", \"timezone\", \"gridLabelId\"];\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport { useTheme } from '@mui/system';\nimport { styled, useThemeProps } from '@mui/material/styles';\nimport { unstable_useForkRef as useForkRef, unstable_composeClasses as composeClasses, unstable_useControlled as useControlled, unstable_useEventCallback as useEventCallback } from '@mui/utils';\nimport { PickersYear } from './PickersYear';\nimport { useUtils, useNow, useDefaultDates } from '../internals/hooks/useUtils';\nimport { getYearCalendarUtilityClass } from './yearCalendarClasses';\nimport { applyDefaultDate } from '../internals/utils/date-utils';\nimport { singleItemValueManager } from '../internals/utils/valueManagers';\nimport { SECTION_TYPE_GRANULARITY } from '../internals/utils/getDefaultReferenceDate';\nimport { useControlledValueWithTimezone } from '../internals/hooks/useValueWithTimezone';\nimport { DIALOG_WIDTH, MAX_CALENDAR_HEIGHT } from '../internals/constants/dimensions';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst useUtilityClasses = ownerState => {\n const {\n classes\n } = ownerState;\n const slots = {\n root: ['root']\n };\n return composeClasses(slots, getYearCalendarUtilityClass, classes);\n};\nfunction useYearCalendarDefaultizedProps(props, name) {\n var _themeProps$yearsPerR;\n const utils = useUtils();\n const defaultDates = useDefaultDates();\n const themeProps = useThemeProps({\n props,\n name\n });\n return _extends({\n disablePast: false,\n disableFuture: false\n }, themeProps, {\n yearsPerRow: (_themeProps$yearsPerR = themeProps.yearsPerRow) != null ? _themeProps$yearsPerR : 3,\n minDate: applyDefaultDate(utils, themeProps.minDate, defaultDates.minDate),\n maxDate: applyDefaultDate(utils, themeProps.maxDate, defaultDates.maxDate)\n });\n}\nconst YearCalendarRoot = styled('div', {\n name: 'MuiYearCalendar',\n slot: 'Root',\n overridesResolver: (props, styles) => styles.root\n})({\n display: 'flex',\n flexDirection: 'row',\n flexWrap: 'wrap',\n overflowY: 'auto',\n height: '100%',\n padding: '0 4px',\n width: DIALOG_WIDTH,\n maxHeight: MAX_CALENDAR_HEIGHT,\n // avoid padding increasing width over defined\n boxSizing: 'border-box',\n position: 'relative'\n});\n/**\n * Demos:\n *\n * - [DateCalendar](https://mui.com/x/react-date-pickers/date-calendar/)\n *\n * API:\n *\n * - [YearCalendar API](https://mui.com/x/api/date-pickers/year-calendar/)\n */\nexport const YearCalendar = /*#__PURE__*/React.forwardRef(function YearCalendar(inProps, ref) {\n const props = useYearCalendarDefaultizedProps(inProps, 'MuiYearCalendar');\n const {\n autoFocus,\n className,\n value: valueProp,\n defaultValue,\n referenceDate: referenceDateProp,\n disabled,\n disableFuture,\n disablePast,\n maxDate,\n minDate,\n onChange,\n readOnly,\n shouldDisableYear,\n disableHighlightToday,\n onYearFocus,\n hasFocus,\n onFocusedViewChange,\n yearsPerRow,\n timezone: timezoneProp,\n gridLabelId\n } = props,\n other = _objectWithoutPropertiesLoose(props, _excluded);\n const {\n value,\n handleValueChange,\n timezone\n } = useControlledValueWithTimezone({\n name: 'YearCalendar',\n timezone: timezoneProp,\n value: valueProp,\n defaultValue,\n onChange: onChange,\n valueManager: singleItemValueManager\n });\n const now = useNow(timezone);\n const theme = useTheme();\n const utils = useUtils();\n const referenceDate = React.useMemo(() => singleItemValueManager.getInitialReferenceValue({\n value,\n utils,\n props,\n timezone,\n referenceDate: referenceDateProp,\n granularity: SECTION_TYPE_GRANULARITY.year\n }), [] // eslint-disable-line react-hooks/exhaustive-deps\n );\n const ownerState = props;\n const classes = useUtilityClasses(ownerState);\n const todayYear = React.useMemo(() => utils.getYear(now), [utils, now]);\n const selectedYear = React.useMemo(() => {\n if (value != null) {\n return utils.getYear(value);\n }\n if (disableHighlightToday) {\n return null;\n }\n return utils.getYear(referenceDate);\n }, [value, utils, disableHighlightToday, referenceDate]);\n const [focusedYear, setFocusedYear] = React.useState(() => selectedYear || todayYear);\n const [internalHasFocus, setInternalHasFocus] = useControlled({\n name: 'YearCalendar',\n state: 'hasFocus',\n controlled: hasFocus,\n default: autoFocus != null ? autoFocus : false\n });\n const changeHasFocus = useEventCallback(newHasFocus => {\n setInternalHasFocus(newHasFocus);\n if (onFocusedViewChange) {\n onFocusedViewChange(newHasFocus);\n }\n });\n const isYearDisabled = React.useCallback(dateToValidate => {\n if (disablePast && utils.isBeforeYear(dateToValidate, now)) {\n return true;\n }\n if (disableFuture && utils.isAfterYear(dateToValidate, now)) {\n return true;\n }\n if (minDate && utils.isBeforeYear(dateToValidate, minDate)) {\n return true;\n }\n if (maxDate && utils.isAfterYear(dateToValidate, maxDate)) {\n return true;\n }\n if (!shouldDisableYear) {\n return false;\n }\n const yearToValidate = utils.startOfYear(dateToValidate);\n return shouldDisableYear(yearToValidate);\n }, [disableFuture, disablePast, maxDate, minDate, now, shouldDisableYear, utils]);\n const handleYearSelection = useEventCallback((event, year) => {\n if (readOnly) {\n return;\n }\n const newDate = utils.setYear(value != null ? value : referenceDate, year);\n handleValueChange(newDate);\n });\n const focusYear = useEventCallback(year => {\n if (!isYearDisabled(utils.setYear(value != null ? value : referenceDate, year))) {\n setFocusedYear(year);\n changeHasFocus(true);\n onYearFocus == null || onYearFocus(year);\n }\n });\n React.useEffect(() => {\n setFocusedYear(prevFocusedYear => selectedYear !== null && prevFocusedYear !== selectedYear ? selectedYear : prevFocusedYear);\n }, [selectedYear]);\n const handleKeyDown = useEventCallback((event, year) => {\n switch (event.key) {\n case 'ArrowUp':\n focusYear(year - yearsPerRow);\n event.preventDefault();\n break;\n case 'ArrowDown':\n focusYear(year + yearsPerRow);\n event.preventDefault();\n break;\n case 'ArrowLeft':\n focusYear(year + (theme.direction === 'ltr' ? -1 : 1));\n event.preventDefault();\n break;\n case 'ArrowRight':\n focusYear(year + (theme.direction === 'ltr' ? 1 : -1));\n event.preventDefault();\n break;\n default:\n break;\n }\n });\n const handleYearFocus = useEventCallback((event, year) => {\n focusYear(year);\n });\n const handleYearBlur = useEventCallback((event, year) => {\n if (focusedYear === year) {\n changeHasFocus(false);\n }\n });\n const scrollerRef = React.useRef(null);\n const handleRef = useForkRef(ref, scrollerRef);\n React.useEffect(() => {\n if (autoFocus || scrollerRef.current === null) {\n return;\n }\n const tabbableButton = scrollerRef.current.querySelector('[tabindex=\"0\"]');\n if (!tabbableButton) {\n return;\n }\n\n // Taken from useScroll in x-data-grid, but vertically centered\n const offsetHeight = tabbableButton.offsetHeight;\n const offsetTop = tabbableButton.offsetTop;\n const clientHeight = scrollerRef.current.clientHeight;\n const scrollTop = scrollerRef.current.scrollTop;\n const elementBottom = offsetTop + offsetHeight;\n if (offsetHeight > clientHeight || offsetTop < scrollTop) {\n // Button already visible\n return;\n }\n scrollerRef.current.scrollTop = elementBottom - clientHeight / 2 - offsetHeight / 2;\n }, [autoFocus]);\n return /*#__PURE__*/_jsx(YearCalendarRoot, _extends({\n ref: handleRef,\n className: clsx(classes.root, className),\n ownerState: ownerState,\n role: \"radiogroup\",\n \"aria-labelledby\": gridLabelId\n }, other, {\n children: utils.getYearRange(minDate, maxDate).map(year => {\n const yearNumber = utils.getYear(year);\n const isSelected = yearNumber === selectedYear;\n const isDisabled = disabled || isYearDisabled(year);\n return /*#__PURE__*/_jsx(PickersYear, {\n selected: isSelected,\n value: yearNumber,\n onClick: handleYearSelection,\n onKeyDown: handleKeyDown,\n autoFocus: internalHasFocus && yearNumber === focusedYear,\n disabled: isDisabled,\n tabIndex: yearNumber === focusedYear ? 0 : -1,\n onFocus: handleYearFocus,\n onBlur: handleYearBlur,\n \"aria-current\": todayYear === yearNumber ? 'date' : undefined,\n yearsPerRow: yearsPerRow,\n children: utils.format(year, 'year')\n }, utils.format(year, 'year'));\n })\n }));\n});\nprocess.env.NODE_ENV !== \"production\" ? YearCalendar.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the TypeScript types and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n autoFocus: PropTypes.bool,\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * className applied to the root element.\n */\n className: PropTypes.string,\n /**\n * The default selected value.\n * Used when the component is not controlled.\n */\n defaultValue: PropTypes.any,\n /**\n * If `true` picker is disabled\n */\n disabled: PropTypes.bool,\n /**\n * If `true`, disable values after the current date for date components, time for time components and both for date time components.\n * @default false\n */\n disableFuture: PropTypes.bool,\n /**\n * If `true`, today's date is rendering without highlighting with circle.\n * @default false\n */\n disableHighlightToday: PropTypes.bool,\n /**\n * If `true`, disable values before the current date for date components, time for time components and both for date time components.\n * @default false\n */\n disablePast: PropTypes.bool,\n gridLabelId: PropTypes.string,\n hasFocus: PropTypes.bool,\n /**\n * Maximal selectable date.\n */\n maxDate: PropTypes.any,\n /**\n * Minimal selectable date.\n */\n minDate: PropTypes.any,\n /**\n * Callback fired when the value changes.\n * @template TDate\n * @param {TDate} value The new value.\n */\n onChange: PropTypes.func,\n onFocusedViewChange: PropTypes.func,\n onYearFocus: PropTypes.func,\n /**\n * If `true` picker is readonly\n */\n readOnly: PropTypes.bool,\n /**\n * The date used to generate the new value when both `value` and `defaultValue` are empty.\n * @default The closest valid year using the validation props, except callbacks such as `shouldDisableYear`.\n */\n referenceDate: PropTypes.any,\n /**\n * Disable specific year.\n * @template TDate\n * @param {TDate} year The year to test.\n * @returns {boolean} If `true`, the year will be disabled.\n */\n shouldDisableYear: PropTypes.func,\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),\n /**\n * Choose which timezone to use for the value.\n * Example: \"default\", \"system\", \"UTC\", \"America/New_York\".\n * If you pass values from other timezones to some props, they will be converted to this timezone before being used.\n * @see See the {@link https://mui.com/x/react-date-pickers/timezone/ timezones documention} for more details.\n * @default The timezone of the `value` or `defaultValue` prop is defined, 'default' otherwise.\n */\n timezone: PropTypes.string,\n /**\n * The selected value.\n * Used when the component is controlled.\n */\n value: PropTypes.any,\n /**\n * Years rendered per row.\n * @default 3\n */\n yearsPerRow: PropTypes.oneOf([3, 4])\n} : void 0;","import { unstable_generateUtilityClass as generateUtilityClass, unstable_generateUtilityClasses as generateUtilityClasses } from '@mui/utils';\nexport const getPickersCalendarHeaderUtilityClass = slot => generateUtilityClass('MuiPickersCalendarHeader', slot);\nexport const pickersCalendarHeaderClasses = generateUtilityClasses('MuiPickersCalendarHeader', ['root', 'labelContainer', 'label', 'switchViewButton', 'switchViewIcon']);","import _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nconst _excluded = [\"slots\", \"slotProps\", \"components\", \"componentsProps\", \"currentMonth\", \"disabled\", \"disableFuture\", \"disablePast\", \"maxDate\", \"minDate\", \"onMonthChange\", \"onViewChange\", \"view\", \"reduceAnimations\", \"views\", \"labelId\", \"className\", \"timezone\"],\n _excluded2 = [\"ownerState\"];\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport Fade from '@mui/material/Fade';\nimport { styled, useThemeProps } from '@mui/material/styles';\nimport { useSlotProps } from '@mui/base/utils';\nimport { unstable_composeClasses as composeClasses } from '@mui/utils';\nimport IconButton from '@mui/material/IconButton';\nimport { useLocaleText, useUtils } from '../internals/hooks/useUtils';\nimport { PickersFadeTransitionGroup } from '../DateCalendar/PickersFadeTransitionGroup';\nimport { ArrowDropDownIcon } from '../icons';\nimport { PickersArrowSwitcher } from '../internals/components/PickersArrowSwitcher';\nimport { usePreviousMonthDisabled, useNextMonthDisabled } from '../internals/hooks/date-helpers-hooks';\nimport { getPickersCalendarHeaderUtilityClass, pickersCalendarHeaderClasses } from './pickersCalendarHeaderClasses';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nimport { jsxs as _jsxs } from \"react/jsx-runtime\";\nconst useUtilityClasses = ownerState => {\n const {\n classes\n } = ownerState;\n const slots = {\n root: ['root'],\n labelContainer: ['labelContainer'],\n label: ['label'],\n switchViewButton: ['switchViewButton'],\n switchViewIcon: ['switchViewIcon']\n };\n return composeClasses(slots, getPickersCalendarHeaderUtilityClass, classes);\n};\nconst PickersCalendarHeaderRoot = styled('div', {\n name: 'MuiPickersCalendarHeader',\n slot: 'Root',\n overridesResolver: (_, styles) => styles.root\n})({\n display: 'flex',\n alignItems: 'center',\n marginTop: 16,\n marginBottom: 8,\n paddingLeft: 24,\n paddingRight: 12,\n // prevent jumping in safari\n maxHeight: 30,\n minHeight: 30\n});\nconst PickersCalendarHeaderLabelContainer = styled('div', {\n name: 'MuiPickersCalendarHeader',\n slot: 'LabelContainer',\n overridesResolver: (_, styles) => styles.labelContainer\n})(({\n theme\n}) => _extends({\n display: 'flex',\n overflow: 'hidden',\n alignItems: 'center',\n cursor: 'pointer',\n marginRight: 'auto'\n}, theme.typography.body1, {\n fontWeight: theme.typography.fontWeightMedium\n}));\nconst PickersCalendarHeaderLabel = styled('div', {\n name: 'MuiPickersCalendarHeader',\n slot: 'Label',\n overridesResolver: (_, styles) => styles.label\n})({\n marginRight: 6\n});\nconst PickersCalendarHeaderSwitchViewButton = styled(IconButton, {\n name: 'MuiPickersCalendarHeader',\n slot: 'SwitchViewButton',\n overridesResolver: (_, styles) => styles.switchViewButton\n})(({\n ownerState\n}) => _extends({\n marginRight: 'auto'\n}, ownerState.view === 'year' && {\n [`.${pickersCalendarHeaderClasses.switchViewIcon}`]: {\n transform: 'rotate(180deg)'\n }\n}));\nconst PickersCalendarHeaderSwitchViewIcon = styled(ArrowDropDownIcon, {\n name: 'MuiPickersCalendarHeader',\n slot: 'SwitchViewIcon',\n overridesResolver: (_, styles) => styles.switchViewIcon\n})(({\n theme\n}) => ({\n willChange: 'transform',\n transition: theme.transitions.create('transform'),\n transform: 'rotate(0deg)'\n}));\n/**\n * Demos:\n *\n * - [DateCalendar](https://mui.com/x/react-date-pickers/date-calendar/)\n * - [DateRangeCalendar](https://mui.com/x/react-date-pickers/date-range-calendar/)\n * - [Custom slots and subcomponents](https://mui.com/x/react-date-pickers/custom-components/)\n *\n * API:\n *\n * - [PickersCalendarHeader API](https://mui.com/x/api/date-pickers/pickers-calendar-header/)\n */\nconst PickersCalendarHeader = /*#__PURE__*/React.forwardRef(function PickersCalendarHeader(inProps, ref) {\n var _ref, _slots$switchViewButt, _ref2, _slots$switchViewIcon;\n const localeText = useLocaleText();\n const utils = useUtils();\n const props = useThemeProps({\n props: inProps,\n name: 'MuiPickersCalendarHeader'\n });\n const {\n slots,\n slotProps,\n components,\n currentMonth: month,\n disabled,\n disableFuture,\n disablePast,\n maxDate,\n minDate,\n onMonthChange,\n onViewChange,\n view,\n reduceAnimations,\n views,\n labelId,\n className,\n timezone\n } = props,\n other = _objectWithoutPropertiesLoose(props, _excluded);\n const ownerState = props;\n const classes = useUtilityClasses(props);\n const SwitchViewButton = (_ref = (_slots$switchViewButt = slots == null ? void 0 : slots.switchViewButton) != null ? _slots$switchViewButt : components == null ? void 0 : components.SwitchViewButton) != null ? _ref : PickersCalendarHeaderSwitchViewButton;\n const switchViewButtonProps = useSlotProps({\n elementType: SwitchViewButton,\n externalSlotProps: slotProps == null ? void 0 : slotProps.switchViewButton,\n additionalProps: {\n size: 'small',\n 'aria-label': localeText.calendarViewSwitchingButtonAriaLabel(view)\n },\n ownerState,\n className: classes.switchViewButton\n });\n const SwitchViewIcon = (_ref2 = (_slots$switchViewIcon = slots == null ? void 0 : slots.switchViewIcon) != null ? _slots$switchViewIcon : components == null ? void 0 : components.SwitchViewIcon) != null ? _ref2 : PickersCalendarHeaderSwitchViewIcon;\n // The spread is here to avoid this bug mui/material-ui#34056\n const _useSlotProps = useSlotProps({\n elementType: SwitchViewIcon,\n externalSlotProps: slotProps == null ? void 0 : slotProps.switchViewIcon,\n ownerState: undefined,\n className: classes.switchViewIcon\n }),\n switchViewIconProps = _objectWithoutPropertiesLoose(_useSlotProps, _excluded2);\n const selectNextMonth = () => onMonthChange(utils.addMonths(month, 1), 'left');\n const selectPreviousMonth = () => onMonthChange(utils.addMonths(month, -1), 'right');\n const isNextMonthDisabled = useNextMonthDisabled(month, {\n disableFuture,\n maxDate,\n timezone\n });\n const isPreviousMonthDisabled = usePreviousMonthDisabled(month, {\n disablePast,\n minDate,\n timezone\n });\n const handleToggleView = () => {\n if (views.length === 1 || !onViewChange || disabled) {\n return;\n }\n if (views.length === 2) {\n onViewChange(views.find(el => el !== view) || views[0]);\n } else {\n // switching only between first 2\n const nextIndexToOpen = views.indexOf(view) !== 0 ? 0 : 1;\n onViewChange(views[nextIndexToOpen]);\n }\n };\n\n // No need to display more information\n if (views.length === 1 && views[0] === 'year') {\n return null;\n }\n return /*#__PURE__*/_jsxs(PickersCalendarHeaderRoot, _extends({}, other, {\n ownerState: ownerState,\n className: clsx(className, classes.root),\n ref: ref,\n children: [/*#__PURE__*/_jsxs(PickersCalendarHeaderLabelContainer, {\n role: \"presentation\",\n onClick: handleToggleView,\n ownerState: ownerState\n // putting this on the label item element below breaks when using transition\n ,\n \"aria-live\": \"polite\",\n className: classes.labelContainer,\n children: [/*#__PURE__*/_jsx(PickersFadeTransitionGroup, {\n reduceAnimations: reduceAnimations,\n transKey: utils.format(month, 'monthAndYear'),\n children: /*#__PURE__*/_jsx(PickersCalendarHeaderLabel, {\n id: labelId,\n ownerState: ownerState,\n className: classes.label,\n children: utils.format(month, 'monthAndYear')\n })\n }), views.length > 1 && !disabled && /*#__PURE__*/_jsx(SwitchViewButton, _extends({}, switchViewButtonProps, {\n children: /*#__PURE__*/_jsx(SwitchViewIcon, _extends({}, switchViewIconProps))\n }))]\n }), /*#__PURE__*/_jsx(Fade, {\n in: view === 'day',\n children: /*#__PURE__*/_jsx(PickersArrowSwitcher, {\n slots: slots,\n slotProps: slotProps,\n onGoToPrevious: selectPreviousMonth,\n isPreviousDisabled: isPreviousMonthDisabled,\n previousLabel: localeText.previousMonth,\n onGoToNext: selectNextMonth,\n isNextDisabled: isNextMonthDisabled,\n nextLabel: localeText.nextMonth\n })\n })]\n }));\n});\nprocess.env.NODE_ENV !== \"production\" ? PickersCalendarHeader.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the TypeScript types and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * className applied to the root element.\n */\n className: PropTypes.string,\n /**\n * Overridable components.\n * @default {}\n * @deprecated Please use `slots`.\n */\n components: PropTypes.object,\n /**\n * The props used for each component slot.\n * @default {}\n * @deprecated Please use `slotProps`.\n */\n componentsProps: PropTypes.object,\n currentMonth: PropTypes.any.isRequired,\n disabled: PropTypes.bool,\n disableFuture: PropTypes.bool,\n disablePast: PropTypes.bool,\n labelId: PropTypes.string,\n maxDate: PropTypes.any.isRequired,\n minDate: PropTypes.any.isRequired,\n onMonthChange: PropTypes.func.isRequired,\n onViewChange: PropTypes.func,\n reduceAnimations: PropTypes.bool.isRequired,\n /**\n * The props used for each component slot.\n * @default {}\n */\n slotProps: PropTypes.object,\n /**\n * Overridable component slots.\n * @default {}\n */\n slots: PropTypes.object,\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),\n timezone: PropTypes.string.isRequired,\n view: PropTypes.oneOf(['day', 'month', 'year']).isRequired,\n views: PropTypes.arrayOf(PropTypes.oneOf(['day', 'month', 'year']).isRequired).isRequired\n} : void 0;\nexport { PickersCalendarHeader };","import { unstable_generateUtilityClass as generateUtilityClass, unstable_generateUtilityClasses as generateUtilityClasses } from '@mui/utils';\nexport const getDateCalendarUtilityClass = slot => generateUtilityClass('MuiDateCalendar', slot);\nexport const dateCalendarClasses = generateUtilityClasses('MuiDateCalendar', ['root', 'viewTransitionContainer']);","import _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nconst _excluded = [\"autoFocus\", \"onViewChange\", \"value\", \"defaultValue\", \"referenceDate\", \"disableFuture\", \"disablePast\", \"defaultCalendarMonth\", \"onChange\", \"onYearChange\", \"onMonthChange\", \"reduceAnimations\", \"shouldDisableDate\", \"shouldDisableMonth\", \"shouldDisableYear\", \"view\", \"views\", \"openTo\", \"className\", \"disabled\", \"readOnly\", \"minDate\", \"maxDate\", \"disableHighlightToday\", \"focusedView\", \"onFocusedViewChange\", \"showDaysOutsideCurrentMonth\", \"fixedWeekNumber\", \"dayOfWeekFormatter\", \"components\", \"componentsProps\", \"slots\", \"slotProps\", \"loading\", \"renderLoading\", \"displayWeekNumber\", \"yearsPerRow\", \"monthsPerRow\", \"timezone\"];\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport { useSlotProps } from '@mui/base/utils';\nimport { styled, useThemeProps } from '@mui/material/styles';\nimport { unstable_composeClasses as composeClasses, unstable_useId as useId, unstable_useEventCallback as useEventCallback } from '@mui/utils';\nimport { useCalendarState } from './useCalendarState';\nimport { useDefaultDates, useUtils } from '../internals/hooks/useUtils';\nimport { PickersFadeTransitionGroup } from './PickersFadeTransitionGroup';\nimport { DayCalendar } from './DayCalendar';\nimport { MonthCalendar } from '../MonthCalendar';\nimport { YearCalendar } from '../YearCalendar';\nimport { useViews } from '../internals/hooks/useViews';\nimport { PickersCalendarHeader } from '../PickersCalendarHeader';\nimport { findClosestEnabledDate, applyDefaultDate, mergeDateAndTime } from '../internals/utils/date-utils';\nimport { PickerViewRoot } from '../internals/components/PickerViewRoot';\nimport { useDefaultReduceAnimations } from '../internals/hooks/useDefaultReduceAnimations';\nimport { getDateCalendarUtilityClass } from './dateCalendarClasses';\nimport { useControlledValueWithTimezone } from '../internals/hooks/useValueWithTimezone';\nimport { singleItemValueManager } from '../internals/utils/valueManagers';\nimport { VIEW_HEIGHT } from '../internals/constants/dimensions';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nimport { jsxs as _jsxs } from \"react/jsx-runtime\";\nconst useUtilityClasses = ownerState => {\n const {\n classes\n } = ownerState;\n const slots = {\n root: ['root'],\n viewTransitionContainer: ['viewTransitionContainer']\n };\n return composeClasses(slots, getDateCalendarUtilityClass, classes);\n};\nfunction useDateCalendarDefaultizedProps(props, name) {\n var _themeProps$loading, _themeProps$disablePa, _themeProps$disableFu, _themeProps$openTo, _themeProps$views, _themeProps$reduceAni, _themeProps$renderLoa;\n const utils = useUtils();\n const defaultDates = useDefaultDates();\n const defaultReduceAnimations = useDefaultReduceAnimations();\n const themeProps = useThemeProps({\n props,\n name\n });\n return _extends({}, themeProps, {\n loading: (_themeProps$loading = themeProps.loading) != null ? _themeProps$loading : false,\n disablePast: (_themeProps$disablePa = themeProps.disablePast) != null ? _themeProps$disablePa : false,\n disableFuture: (_themeProps$disableFu = themeProps.disableFuture) != null ? _themeProps$disableFu : false,\n openTo: (_themeProps$openTo = themeProps.openTo) != null ? _themeProps$openTo : 'day',\n views: (_themeProps$views = themeProps.views) != null ? _themeProps$views : ['year', 'day'],\n reduceAnimations: (_themeProps$reduceAni = themeProps.reduceAnimations) != null ? _themeProps$reduceAni : defaultReduceAnimations,\n renderLoading: (_themeProps$renderLoa = themeProps.renderLoading) != null ? _themeProps$renderLoa : () => /*#__PURE__*/_jsx(\"span\", {\n children: \"...\"\n }),\n minDate: applyDefaultDate(utils, themeProps.minDate, defaultDates.minDate),\n maxDate: applyDefaultDate(utils, themeProps.maxDate, defaultDates.maxDate)\n });\n}\nconst DateCalendarRoot = styled(PickerViewRoot, {\n name: 'MuiDateCalendar',\n slot: 'Root',\n overridesResolver: (props, styles) => styles.root\n})({\n display: 'flex',\n flexDirection: 'column',\n height: VIEW_HEIGHT\n});\nconst DateCalendarViewTransitionContainer = styled(PickersFadeTransitionGroup, {\n name: 'MuiDateCalendar',\n slot: 'ViewTransitionContainer',\n overridesResolver: (props, styles) => styles.viewTransitionContainer\n})({});\n/**\n * Demos:\n *\n * - [DatePicker](https://mui.com/x/react-date-pickers/date-picker/)\n * - [DateCalendar](https://mui.com/x/react-date-pickers/date-calendar/)\n * - [Validation](https://mui.com/x/react-date-pickers/validation/)\n *\n * API:\n *\n * - [DateCalendar API](https://mui.com/x/api/date-pickers/date-calendar/)\n */\nexport const DateCalendar = /*#__PURE__*/React.forwardRef(function DateCalendar(inProps, ref) {\n var _ref, _slots$calendarHeader, _slotProps$calendarHe;\n const utils = useUtils();\n const id = useId();\n const props = useDateCalendarDefaultizedProps(inProps, 'MuiDateCalendar');\n const {\n autoFocus,\n onViewChange,\n value: valueProp,\n defaultValue,\n referenceDate: referenceDateProp,\n disableFuture,\n disablePast,\n defaultCalendarMonth,\n onChange,\n onYearChange,\n onMonthChange,\n reduceAnimations,\n shouldDisableDate,\n shouldDisableMonth,\n shouldDisableYear,\n view: inView,\n views,\n openTo,\n className,\n disabled,\n readOnly,\n minDate,\n maxDate,\n disableHighlightToday,\n focusedView: inFocusedView,\n onFocusedViewChange,\n showDaysOutsideCurrentMonth,\n fixedWeekNumber,\n dayOfWeekFormatter,\n components,\n componentsProps,\n slots,\n slotProps,\n loading,\n renderLoading,\n displayWeekNumber,\n yearsPerRow,\n monthsPerRow,\n timezone: timezoneProp\n } = props,\n other = _objectWithoutPropertiesLoose(props, _excluded);\n const {\n value,\n handleValueChange,\n timezone\n } = useControlledValueWithTimezone({\n name: 'DateCalendar',\n timezone: timezoneProp,\n value: valueProp,\n defaultValue,\n onChange,\n valueManager: singleItemValueManager\n });\n const {\n view,\n setView,\n focusedView,\n setFocusedView,\n goToNextView,\n setValueAndGoToNextView\n } = useViews({\n view: inView,\n views,\n openTo,\n onChange: handleValueChange,\n onViewChange,\n autoFocus,\n focusedView: inFocusedView,\n onFocusedViewChange\n });\n const {\n referenceDate,\n calendarState,\n changeFocusedDay,\n changeMonth,\n handleChangeMonth,\n isDateDisabled,\n onMonthSwitchingAnimationEnd\n } = useCalendarState({\n value,\n defaultCalendarMonth,\n referenceDate: referenceDateProp,\n reduceAnimations,\n onMonthChange,\n minDate,\n maxDate,\n shouldDisableDate,\n disablePast,\n disableFuture,\n timezone\n });\n\n // When disabled, limit the view to the selected date\n const minDateWithDisabled = disabled && value || minDate;\n const maxDateWithDisabled = disabled && value || maxDate;\n const gridLabelId = `${id}-grid-label`;\n const hasFocus = focusedView !== null;\n const CalendarHeader = (_ref = (_slots$calendarHeader = slots == null ? void 0 : slots.calendarHeader) != null ? _slots$calendarHeader : components == null ? void 0 : components.CalendarHeader) != null ? _ref : PickersCalendarHeader;\n const calendarHeaderProps = useSlotProps({\n elementType: CalendarHeader,\n externalSlotProps: (_slotProps$calendarHe = slotProps == null ? void 0 : slotProps.calendarHeader) != null ? _slotProps$calendarHe : componentsProps == null ? void 0 : componentsProps.calendarHeader,\n additionalProps: {\n views,\n view,\n currentMonth: calendarState.currentMonth,\n onViewChange: setView,\n onMonthChange: (newMonth, direction) => handleChangeMonth({\n newMonth,\n direction\n }),\n minDate: minDateWithDisabled,\n maxDate: maxDateWithDisabled,\n disabled,\n disablePast,\n disableFuture,\n reduceAnimations,\n timezone,\n labelId: gridLabelId,\n slots,\n slotProps\n },\n ownerState: props\n });\n const handleDateMonthChange = useEventCallback(newDate => {\n const startOfMonth = utils.startOfMonth(newDate);\n const endOfMonth = utils.endOfMonth(newDate);\n const closestEnabledDate = isDateDisabled(newDate) ? findClosestEnabledDate({\n utils,\n date: newDate,\n minDate: utils.isBefore(minDate, startOfMonth) ? startOfMonth : minDate,\n maxDate: utils.isAfter(maxDate, endOfMonth) ? endOfMonth : maxDate,\n disablePast,\n disableFuture,\n isDateDisabled,\n timezone\n }) : newDate;\n if (closestEnabledDate) {\n setValueAndGoToNextView(closestEnabledDate, 'finish');\n onMonthChange == null || onMonthChange(startOfMonth);\n } else {\n goToNextView();\n changeMonth(startOfMonth);\n }\n changeFocusedDay(closestEnabledDate, true);\n });\n const handleDateYearChange = useEventCallback(newDate => {\n const startOfYear = utils.startOfYear(newDate);\n const endOfYear = utils.endOfYear(newDate);\n const closestEnabledDate = isDateDisabled(newDate) ? findClosestEnabledDate({\n utils,\n date: newDate,\n minDate: utils.isBefore(minDate, startOfYear) ? startOfYear : minDate,\n maxDate: utils.isAfter(maxDate, endOfYear) ? endOfYear : maxDate,\n disablePast,\n disableFuture,\n isDateDisabled,\n timezone\n }) : newDate;\n if (closestEnabledDate) {\n setValueAndGoToNextView(closestEnabledDate, 'finish');\n onYearChange == null || onYearChange(closestEnabledDate);\n } else {\n goToNextView();\n changeMonth(startOfYear);\n }\n changeFocusedDay(closestEnabledDate, true);\n });\n const handleSelectedDayChange = useEventCallback(day => {\n if (day) {\n // If there is a date already selected, then we want to keep its time\n return handleValueChange(mergeDateAndTime(utils, day, value != null ? value : referenceDate), 'finish', view);\n }\n return handleValueChange(day, 'finish', view);\n });\n React.useEffect(() => {\n if (value != null && utils.isValid(value)) {\n changeMonth(value);\n }\n }, [value]); // eslint-disable-line\n\n const ownerState = props;\n const classes = useUtilityClasses(ownerState);\n const baseDateValidationProps = {\n disablePast,\n disableFuture,\n maxDate,\n minDate\n };\n const commonViewProps = {\n disableHighlightToday,\n readOnly,\n disabled,\n timezone,\n gridLabelId\n };\n const prevOpenViewRef = React.useRef(view);\n React.useEffect(() => {\n // If the view change and the focus was on the previous view\n // Then we update the focus.\n if (prevOpenViewRef.current === view) {\n return;\n }\n if (focusedView === prevOpenViewRef.current) {\n setFocusedView(view, true);\n }\n prevOpenViewRef.current = view;\n }, [focusedView, setFocusedView, view]);\n const selectedDays = React.useMemo(() => [value], [value]);\n return /*#__PURE__*/_jsxs(DateCalendarRoot, _extends({\n ref: ref,\n className: clsx(classes.root, className),\n ownerState: ownerState\n }, other, {\n children: [/*#__PURE__*/_jsx(CalendarHeader, _extends({}, calendarHeaderProps)), /*#__PURE__*/_jsx(DateCalendarViewTransitionContainer, {\n reduceAnimations: reduceAnimations,\n className: classes.viewTransitionContainer,\n transKey: view,\n ownerState: ownerState,\n children: /*#__PURE__*/_jsxs(\"div\", {\n children: [view === 'year' && /*#__PURE__*/_jsx(YearCalendar, _extends({}, baseDateValidationProps, commonViewProps, {\n value: value,\n onChange: handleDateYearChange,\n shouldDisableYear: shouldDisableYear,\n hasFocus: hasFocus,\n onFocusedViewChange: isViewFocused => setFocusedView('year', isViewFocused),\n yearsPerRow: yearsPerRow,\n referenceDate: referenceDate\n })), view === 'month' && /*#__PURE__*/_jsx(MonthCalendar, _extends({}, baseDateValidationProps, commonViewProps, {\n hasFocus: hasFocus,\n className: className,\n value: value,\n onChange: handleDateMonthChange,\n shouldDisableMonth: shouldDisableMonth,\n onFocusedViewChange: isViewFocused => setFocusedView('month', isViewFocused),\n monthsPerRow: monthsPerRow,\n referenceDate: referenceDate\n })), view === 'day' && /*#__PURE__*/_jsx(DayCalendar, _extends({}, calendarState, baseDateValidationProps, commonViewProps, {\n onMonthSwitchingAnimationEnd: onMonthSwitchingAnimationEnd,\n onFocusedDayChange: changeFocusedDay,\n reduceAnimations: reduceAnimations,\n selectedDays: selectedDays,\n onSelectedDaysChange: handleSelectedDayChange,\n shouldDisableDate: shouldDisableDate,\n shouldDisableMonth: shouldDisableMonth,\n shouldDisableYear: shouldDisableYear,\n hasFocus: hasFocus,\n onFocusedViewChange: isViewFocused => setFocusedView('day', isViewFocused),\n showDaysOutsideCurrentMonth: showDaysOutsideCurrentMonth,\n fixedWeekNumber: fixedWeekNumber,\n dayOfWeekFormatter: dayOfWeekFormatter,\n displayWeekNumber: displayWeekNumber,\n components: components,\n componentsProps: componentsProps,\n slots: slots,\n slotProps: slotProps,\n loading: loading,\n renderLoading: renderLoading\n }))]\n })\n })]\n }));\n});\nprocess.env.NODE_ENV !== \"production\" ? DateCalendar.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the TypeScript types and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n /**\n * If `true`, the main element is focused during the first mount.\n * This main element is:\n * - the element chosen by the visible view if any (i.e: the selected day on the `day` view).\n * - the `input` element if there is a field rendered.\n */\n autoFocus: PropTypes.bool,\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n className: PropTypes.string,\n /**\n * Overridable components.\n * @default {}\n * @deprecated Please use `slots`.\n */\n components: PropTypes.object,\n /**\n * The props used for each component slot.\n * @default {}\n * @deprecated Please use `slotProps`.\n */\n componentsProps: PropTypes.object,\n /**\n * Formats the day of week displayed in the calendar header.\n * @param {string} day The day of week provided by the adapter. Deprecated, will be removed in v7: Use `date` instead.\n * @param {TDate} date The date of the day of week provided by the adapter.\n * @returns {string} The name to display.\n * @default (_day: string, date: TDate) => adapter.format(date, 'weekdayShort').charAt(0).toUpperCase()\n */\n dayOfWeekFormatter: PropTypes.func,\n /**\n * Default calendar month displayed when `value` and `defaultValue` are empty.\n * @deprecated Consider using `referenceDate` instead.\n */\n defaultCalendarMonth: PropTypes.any,\n /**\n * The default selected value.\n * Used when the component is not controlled.\n */\n defaultValue: PropTypes.any,\n /**\n * If `true`, the picker and text field are disabled.\n * @default false\n */\n disabled: PropTypes.bool,\n /**\n * If `true`, disable values after the current date for date components, time for time components and both for date time components.\n * @default false\n */\n disableFuture: PropTypes.bool,\n /**\n * If `true`, today's date is rendering without highlighting with circle.\n * @default false\n */\n disableHighlightToday: PropTypes.bool,\n /**\n * If `true`, disable values before the current date for date components, time for time components and both for date time components.\n * @default false\n */\n disablePast: PropTypes.bool,\n /**\n * If `true`, the week number will be display in the calendar.\n */\n displayWeekNumber: PropTypes.bool,\n /**\n * Calendar will show more weeks in order to match this value.\n * Put it to 6 for having fix number of week in Gregorian calendars\n * @default undefined\n */\n fixedWeekNumber: PropTypes.number,\n /**\n * Controlled focused view.\n */\n focusedView: PropTypes.oneOf(['day', 'month', 'year']),\n /**\n * If `true`, calls `renderLoading` instead of rendering the day calendar.\n * Can be used to preload information and show it in calendar.\n * @default false\n */\n loading: PropTypes.bool,\n /**\n * Maximal selectable date.\n */\n maxDate: PropTypes.any,\n /**\n * Minimal selectable date.\n */\n minDate: PropTypes.any,\n /**\n * Months rendered per row.\n * @default 3\n */\n monthsPerRow: PropTypes.oneOf([3, 4]),\n /**\n * Callback fired when the value changes.\n * @template TValue The value type. Will be either the same type as `value` or `null`. Can be in `[start, end]` format in case of range value.\n * @template TView The view type. Will be one of date or time views.\n * @param {TValue} value The new value.\n * @param {PickerSelectionState | undefined} selectionState Indicates if the date selection is complete.\n * @param {TView | undefined} selectedView Indicates the view in which the selection has been made.\n */\n onChange: PropTypes.func,\n /**\n * Callback fired on focused view change.\n * @template TView\n * @param {TView} view The new view to focus or not.\n * @param {boolean} hasFocus `true` if the view should be focused.\n */\n onFocusedViewChange: PropTypes.func,\n /**\n * Callback fired on month change.\n * @template TDate\n * @param {TDate} month The new month.\n */\n onMonthChange: PropTypes.func,\n /**\n * Callback fired on view change.\n * @template TView\n * @param {TView} view The new view.\n */\n onViewChange: PropTypes.func,\n /**\n * Callback fired on year change.\n * @template TDate\n * @param {TDate} year The new year.\n */\n onYearChange: PropTypes.func,\n /**\n * The default visible view.\n * Used when the component view is not controlled.\n * Must be a valid option from `views` list.\n */\n openTo: PropTypes.oneOf(['day', 'month', 'year']),\n /**\n * Make picker read only.\n * @default false\n */\n readOnly: PropTypes.bool,\n /**\n * If `true`, disable heavy animations.\n * @default `@media(prefers-reduced-motion: reduce)` || `navigator.userAgent` matches Android <10 or iOS <13\n */\n reduceAnimations: PropTypes.bool,\n /**\n * The date used to generate the new value when both `value` and `defaultValue` are empty.\n * @default The closest valid date using the validation props, except callbacks such as `shouldDisableDate`.\n */\n referenceDate: PropTypes.any,\n /**\n * Component displaying when passed `loading` true.\n * @returns {React.ReactNode} The node to render when loading.\n * @default () => ...\n */\n renderLoading: PropTypes.func,\n /**\n * Disable specific date.\n *\n * Warning: This function can be called multiple times (e.g. when rendering date calendar, checking if focus can be moved to a certain date, etc.). Expensive computations can impact performance.\n *\n * @template TDate\n * @param {TDate} day The date to test.\n * @returns {boolean} If `true` the date will be disabled.\n */\n shouldDisableDate: PropTypes.func,\n /**\n * Disable specific month.\n * @template TDate\n * @param {TDate} month The month to test.\n * @returns {boolean} If `true`, the month will be disabled.\n */\n shouldDisableMonth: PropTypes.func,\n /**\n * Disable specific year.\n * @template TDate\n * @param {TDate} year The year to test.\n * @returns {boolean} If `true`, the year will be disabled.\n */\n shouldDisableYear: PropTypes.func,\n /**\n * If `true`, days outside the current month are rendered:\n *\n * - if `fixedWeekNumber` is defined, renders days to have the weeks requested.\n *\n * - if `fixedWeekNumber` is not defined, renders day to fill the first and last week of the current month.\n *\n * - ignored if `calendars` equals more than `1` on range pickers.\n * @default false\n */\n showDaysOutsideCurrentMonth: PropTypes.bool,\n /**\n * The props used for each component slot.\n * @default {}\n */\n slotProps: PropTypes.object,\n /**\n * Overridable component slots.\n * @default {}\n */\n slots: PropTypes.object,\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),\n /**\n * Choose which timezone to use for the value.\n * Example: \"default\", \"system\", \"UTC\", \"America/New_York\".\n * If you pass values from other timezones to some props, they will be converted to this timezone before being used.\n * @see See the {@link https://mui.com/x/react-date-pickers/timezone/ timezones documention} for more details.\n * @default The timezone of the `value` or `defaultValue` prop is defined, 'default' otherwise.\n */\n timezone: PropTypes.string,\n /**\n * The selected value.\n * Used when the component is controlled.\n */\n value: PropTypes.any,\n /**\n * The visible view.\n * Used when the component view is controlled.\n * Must be a valid option from `views` list.\n */\n view: PropTypes.oneOf(['day', 'month', 'year']),\n /**\n * Available views.\n */\n views: PropTypes.arrayOf(PropTypes.oneOf(['day', 'month', 'year']).isRequired),\n /**\n * Years rendered per row.\n * @default 3\n */\n yearsPerRow: PropTypes.oneOf([3, 4])\n} : void 0;","import * as React from 'react';\nimport { DateCalendar } from '../DateCalendar';\nimport { isDatePickerView } from '../internals/utils/date-utils';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport const renderDateViewCalendar = ({\n view,\n onViewChange,\n views,\n focusedView,\n onFocusedViewChange,\n value,\n defaultValue,\n referenceDate,\n onChange,\n className,\n classes,\n disableFuture,\n disablePast,\n minDate,\n maxDate,\n shouldDisableDate,\n shouldDisableMonth,\n shouldDisableYear,\n reduceAnimations,\n onMonthChange,\n monthsPerRow,\n onYearChange,\n yearsPerRow,\n defaultCalendarMonth,\n components,\n componentsProps,\n slots,\n slotProps,\n loading,\n renderLoading,\n disableHighlightToday,\n readOnly,\n disabled,\n showDaysOutsideCurrentMonth,\n dayOfWeekFormatter,\n sx,\n autoFocus,\n fixedWeekNumber,\n displayWeekNumber,\n timezone\n}) => /*#__PURE__*/_jsx(DateCalendar, {\n view: view,\n onViewChange: onViewChange,\n views: views.filter(isDatePickerView),\n focusedView: focusedView && isDatePickerView(focusedView) ? focusedView : null,\n onFocusedViewChange: onFocusedViewChange,\n value: value,\n defaultValue: defaultValue,\n referenceDate: referenceDate,\n onChange: onChange,\n className: className,\n classes: classes,\n disableFuture: disableFuture,\n disablePast: disablePast,\n minDate: minDate,\n maxDate: maxDate,\n shouldDisableDate: shouldDisableDate,\n shouldDisableMonth: shouldDisableMonth,\n shouldDisableYear: shouldDisableYear,\n reduceAnimations: reduceAnimations,\n onMonthChange: onMonthChange,\n monthsPerRow: monthsPerRow,\n onYearChange: onYearChange,\n yearsPerRow: yearsPerRow,\n defaultCalendarMonth: defaultCalendarMonth,\n components: components,\n componentsProps: componentsProps,\n slots: slots,\n slotProps: slotProps,\n loading: loading,\n renderLoading: renderLoading,\n disableHighlightToday: disableHighlightToday,\n readOnly: readOnly,\n disabled: disabled,\n showDaysOutsideCurrentMonth: showDaysOutsideCurrentMonth,\n dayOfWeekFormatter: dayOfWeekFormatter,\n sx: sx,\n autoFocus: autoFocus,\n fixedWeekNumber: fixedWeekNumber,\n displayWeekNumber: displayWeekNumber,\n timezone: timezone\n});","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport { resolveComponentProps } from '@mui/base/utils';\nimport { refType } from '@mui/utils';\nimport { singleItemValueManager } from '../internals/utils/valueManagers';\nimport { useDatePickerDefaultizedProps } from '../DatePicker/shared';\nimport { useLocaleText, useUtils, validateDate } from '../internals';\nimport { useDesktopPicker } from '../internals/hooks/useDesktopPicker';\nimport { CalendarIcon } from '../icons';\nimport { DateField } from '../DateField';\nimport { extractValidationProps } from '../internals/utils/validation/extractValidationProps';\nimport { renderDateViewCalendar } from '../dateViewRenderers';\nimport { resolveDateFormat } from '../internals/utils/date-utils';\n/**\n * Demos:\n *\n * - [DatePicker](https://mui.com/x/react-date-pickers/date-picker/)\n * - [Validation](https://mui.com/x/react-date-pickers/validation/)\n *\n * API:\n *\n * - [DesktopDatePicker API](https://mui.com/x/api/date-pickers/desktop-date-picker/)\n */\nconst DesktopDatePicker = /*#__PURE__*/React.forwardRef(function DesktopDatePicker(inProps, ref) {\n var _defaultizedProps$yea, _defaultizedProps$slo2, _props$localeText$ope, _props$localeText;\n const localeText = useLocaleText();\n const utils = useUtils();\n\n // Props with the default values common to all date pickers\n const defaultizedProps = useDatePickerDefaultizedProps(inProps, 'MuiDesktopDatePicker');\n const viewRenderers = _extends({\n day: renderDateViewCalendar,\n month: renderDateViewCalendar,\n year: renderDateViewCalendar\n }, defaultizedProps.viewRenderers);\n\n // Props with the default values specific to the desktop variant\n const props = _extends({}, defaultizedProps, {\n viewRenderers,\n format: resolveDateFormat(utils, defaultizedProps, false),\n yearsPerRow: (_defaultizedProps$yea = defaultizedProps.yearsPerRow) != null ? _defaultizedProps$yea : 4,\n slots: _extends({\n openPickerIcon: CalendarIcon,\n field: DateField\n }, defaultizedProps.slots),\n slotProps: _extends({}, defaultizedProps.slotProps, {\n field: ownerState => {\n var _defaultizedProps$slo;\n return _extends({}, resolveComponentProps((_defaultizedProps$slo = defaultizedProps.slotProps) == null ? void 0 : _defaultizedProps$slo.field, ownerState), extractValidationProps(defaultizedProps), {\n ref\n });\n },\n toolbar: _extends({\n hidden: true\n }, (_defaultizedProps$slo2 = defaultizedProps.slotProps) == null ? void 0 : _defaultizedProps$slo2.toolbar)\n })\n });\n const {\n renderPicker\n } = useDesktopPicker({\n props,\n valueManager: singleItemValueManager,\n valueType: 'date',\n getOpenDialogAriaText: (_props$localeText$ope = (_props$localeText = props.localeText) == null ? void 0 : _props$localeText.openDatePickerDialogue) != null ? _props$localeText$ope : localeText.openDatePickerDialogue,\n validator: validateDate\n });\n return renderPicker();\n});\nDesktopDatePicker.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the TypeScript types and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n /**\n * If `true`, the main element is focused during the first mount.\n * This main element is:\n * - the element chosen by the visible view if any (i.e: the selected day on the `day` view).\n * - the `input` element if there is a field rendered.\n */\n autoFocus: PropTypes.bool,\n /**\n * Class name applied to the root element.\n */\n className: PropTypes.string,\n /**\n * If `true`, the popover or modal will close after submitting the full date.\n * @default `true` for desktop, `false` for mobile (based on the chosen wrapper and `desktopModeMediaQuery` prop).\n */\n closeOnSelect: PropTypes.bool,\n /**\n * Overridable components.\n * @default {}\n * @deprecated Please use `slots`.\n */\n components: PropTypes.object,\n /**\n * The props used for each component slot.\n * @default {}\n * @deprecated Please use `slotProps`.\n */\n componentsProps: PropTypes.object,\n /**\n * Formats the day of week displayed in the calendar header.\n * @param {string} day The day of week provided by the adapter. Deprecated, will be removed in v7: Use `date` instead.\n * @param {TDate} date The date of the day of week provided by the adapter.\n * @returns {string} The name to display.\n * @default (_day: string, date: TDate) => adapter.format(date, 'weekdayShort').charAt(0).toUpperCase()\n */\n dayOfWeekFormatter: PropTypes.func,\n /**\n * Default calendar month displayed when `value` and `defaultValue` are empty.\n * @deprecated Consider using `referenceDate` instead.\n */\n defaultCalendarMonth: PropTypes.any,\n /**\n * The default value.\n * Used when the component is not controlled.\n */\n defaultValue: PropTypes.any,\n /**\n * If `true`, the picker and text field are disabled.\n * @default false\n */\n disabled: PropTypes.bool,\n /**\n * If `true`, disable values after the current date for date components, time for time components and both for date time components.\n * @default false\n */\n disableFuture: PropTypes.bool,\n /**\n * If `true`, today's date is rendering without highlighting with circle.\n * @default false\n */\n disableHighlightToday: PropTypes.bool,\n /**\n * If `true`, the open picker button will not be rendered (renders only the field).\n * @default false\n */\n disableOpenPicker: PropTypes.bool,\n /**\n * If `true`, disable values before the current date for date components, time for time components and both for date time components.\n * @default false\n */\n disablePast: PropTypes.bool,\n /**\n * If `true`, the week number will be display in the calendar.\n */\n displayWeekNumber: PropTypes.bool,\n /**\n * Calendar will show more weeks in order to match this value.\n * Put it to 6 for having fix number of week in Gregorian calendars\n * @default undefined\n */\n fixedWeekNumber: PropTypes.number,\n /**\n * Format of the date when rendered in the input(s).\n * Defaults to localized format based on the used `views`.\n */\n format: PropTypes.string,\n /**\n * Density of the format when rendered in the input.\n * Setting `formatDensity` to `\"spacious\"` will add a space before and after each `/`, `-` and `.` character.\n * @default \"dense\"\n */\n formatDensity: PropTypes.oneOf(['dense', 'spacious']),\n /**\n * Pass a ref to the `input` element.\n */\n inputRef: refType,\n /**\n * The label content.\n */\n label: PropTypes.node,\n /**\n * If `true`, calls `renderLoading` instead of rendering the day calendar.\n * Can be used to preload information and show it in calendar.\n * @default false\n */\n loading: PropTypes.bool,\n /**\n * Locale for components texts.\n * Allows overriding texts coming from `LocalizationProvider` and `theme`.\n */\n localeText: PropTypes.object,\n /**\n * Maximal selectable date.\n */\n maxDate: PropTypes.any,\n /**\n * Minimal selectable date.\n */\n minDate: PropTypes.any,\n /**\n * Months rendered per row.\n * @default 3\n */\n monthsPerRow: PropTypes.oneOf([3, 4]),\n /**\n * Name attribute used by the `input` element in the Field.\n */\n name: PropTypes.string,\n /**\n * Callback fired when the value is accepted.\n * @template TValue The value type. Will be either the same type as `value` or `null`. Can be in `[start, end]` format in case of range value.\n * @param {TValue} value The value that was just accepted.\n */\n onAccept: PropTypes.func,\n /**\n * Callback fired when the value changes.\n * @template TValue The value type. Will be either the same type as `value` or `null`. Can be in `[start, end]` format in case of range value.\n * @template TError The validation error type. Will be either `string` or a `null`. Can be in `[start, end]` format in case of range value.\n * @param {TValue} value The new value.\n * @param {FieldChangeHandlerContext} context The context containing the validation result of the current value.\n */\n onChange: PropTypes.func,\n /**\n * Callback fired when the popup requests to be closed.\n * Use in controlled mode (see `open`).\n */\n onClose: PropTypes.func,\n /**\n * Callback fired when the error associated to the current value changes.\n * If the error has a non-null value, then the `TextField` will be rendered in `error` state.\n *\n * @template TValue The value type. Will be either the same type as `value` or `null`. Can be in `[start, end]` format in case of range value.\n * @template TError The validation error type. Will be either `string` or a `null`. Can be in `[start, end]` format in case of range value.\n * @param {TError} error The new error describing why the current value is not valid.\n * @param {TValue} value The value associated to the error.\n */\n onError: PropTypes.func,\n /**\n * Callback fired on month change.\n * @template TDate\n * @param {TDate} month The new month.\n */\n onMonthChange: PropTypes.func,\n /**\n * Callback fired when the popup requests to be opened.\n * Use in controlled mode (see `open`).\n */\n onOpen: PropTypes.func,\n /**\n * Callback fired when the selected sections change.\n * @param {FieldSelectedSections} newValue The new selected sections.\n */\n onSelectedSectionsChange: PropTypes.func,\n /**\n * Callback fired on view change.\n * @template TView\n * @param {TView} view The new view.\n */\n onViewChange: PropTypes.func,\n /**\n * Callback fired on year change.\n * @template TDate\n * @param {TDate} year The new year.\n */\n onYearChange: PropTypes.func,\n /**\n * Control the popup or dialog open state.\n * @default false\n */\n open: PropTypes.bool,\n /**\n * The default visible view.\n * Used when the component view is not controlled.\n * Must be a valid option from `views` list.\n */\n openTo: PropTypes.oneOf(['day', 'month', 'year']),\n /**\n * Force rendering in particular orientation.\n */\n orientation: PropTypes.oneOf(['landscape', 'portrait']),\n readOnly: PropTypes.bool,\n /**\n * If `true`, disable heavy animations.\n * @default `@media(prefers-reduced-motion: reduce)` || `navigator.userAgent` matches Android <10 or iOS <13\n */\n reduceAnimations: PropTypes.bool,\n /**\n * The date used to generate the new value when both `value` and `defaultValue` are empty.\n * @default The closest valid date-time using the validation props, except callbacks like `shouldDisable<...>`.\n */\n referenceDate: PropTypes.any,\n /**\n * Component displaying when passed `loading` true.\n * @returns {React.ReactNode} The node to render when loading.\n * @default () => ...\n */\n renderLoading: PropTypes.func,\n /**\n * The currently selected sections.\n * This prop accept four formats:\n * 1. If a number is provided, the section at this index will be selected.\n * 2. If an object with a `startIndex` and `endIndex` properties are provided, the sections between those two indexes will be selected.\n * 3. If a string of type `FieldSectionType` is provided, the first section with that name will be selected.\n * 4. If `null` is provided, no section will be selected\n * If not provided, the selected sections will be handled internally.\n */\n selectedSections: PropTypes.oneOfType([PropTypes.oneOf(['all', 'day', 'hours', 'meridiem', 'minutes', 'month', 'seconds', 'weekDay', 'year']), PropTypes.number, PropTypes.shape({\n endIndex: PropTypes.number.isRequired,\n startIndex: PropTypes.number.isRequired\n })]),\n /**\n * Disable specific date.\n *\n * Warning: This function can be called multiple times (e.g. when rendering date calendar, checking if focus can be moved to a certain date, etc.). Expensive computations can impact performance.\n *\n * @template TDate\n * @param {TDate} day The date to test.\n * @returns {boolean} If `true` the date will be disabled.\n */\n shouldDisableDate: PropTypes.func,\n /**\n * Disable specific month.\n * @template TDate\n * @param {TDate} month The month to test.\n * @returns {boolean} If `true`, the month will be disabled.\n */\n shouldDisableMonth: PropTypes.func,\n /**\n * Disable specific year.\n * @template TDate\n * @param {TDate} year The year to test.\n * @returns {boolean} If `true`, the year will be disabled.\n */\n shouldDisableYear: PropTypes.func,\n /**\n * If `true`, days outside the current month are rendered:\n *\n * - if `fixedWeekNumber` is defined, renders days to have the weeks requested.\n *\n * - if `fixedWeekNumber` is not defined, renders day to fill the first and last week of the current month.\n *\n * - ignored if `calendars` equals more than `1` on range pickers.\n * @default false\n */\n showDaysOutsideCurrentMonth: PropTypes.bool,\n /**\n * The props used for each component slot.\n * @default {}\n */\n slotProps: PropTypes.object,\n /**\n * Overridable component slots.\n * @default {}\n */\n slots: PropTypes.object,\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),\n /**\n * Choose which timezone to use for the value.\n * Example: \"default\", \"system\", \"UTC\", \"America/New_York\".\n * If you pass values from other timezones to some props, they will be converted to this timezone before being used.\n * @see See the {@link https://mui.com/x/react-date-pickers/timezone/ timezones documention} for more details.\n * @default The timezone of the `value` or `defaultValue` prop is defined, 'default' otherwise.\n */\n timezone: PropTypes.string,\n /**\n * The selected value.\n * Used when the component is controlled.\n */\n value: PropTypes.any,\n /**\n * The visible view.\n * Used when the component view is controlled.\n * Must be a valid option from `views` list.\n */\n view: PropTypes.oneOf(['day', 'month', 'year']),\n /**\n * Define custom view renderers for each section.\n * If `null`, the section will only have field editing.\n * If `undefined`, internally defined view will be the used.\n */\n viewRenderers: PropTypes.shape({\n day: PropTypes.func,\n month: PropTypes.func,\n year: PropTypes.func\n }),\n /**\n * Available views.\n */\n views: PropTypes.arrayOf(PropTypes.oneOf(['day', 'month', 'year']).isRequired),\n /**\n * Years rendered per row.\n * @default 4\n */\n yearsPerRow: PropTypes.oneOf([3, 4])\n};\nexport { DesktopDatePicker };","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport { resolveComponentProps } from '@mui/base/utils';\nimport { refType } from '@mui/utils';\nimport { useMobilePicker } from '../internals/hooks/useMobilePicker';\nimport { useDatePickerDefaultizedProps } from '../DatePicker/shared';\nimport { useLocaleText, useUtils, validateDate } from '../internals';\nimport { DateField } from '../DateField';\nimport { extractValidationProps } from '../internals/utils/validation/extractValidationProps';\nimport { singleItemValueManager } from '../internals/utils/valueManagers';\nimport { renderDateViewCalendar } from '../dateViewRenderers';\nimport { resolveDateFormat } from '../internals/utils/date-utils';\n/**\n * Demos:\n *\n * - [DatePicker](https://mui.com/x/react-date-pickers/date-picker/)\n * - [Validation](https://mui.com/x/react-date-pickers/validation/)\n *\n * API:\n *\n * - [MobileDatePicker API](https://mui.com/x/api/date-pickers/mobile-date-picker/)\n */\nconst MobileDatePicker = /*#__PURE__*/React.forwardRef(function MobileDatePicker(inProps, ref) {\n var _defaultizedProps$slo2, _props$localeText$ope, _props$localeText;\n const localeText = useLocaleText();\n const utils = useUtils();\n\n // Props with the default values common to all date pickers\n const defaultizedProps = useDatePickerDefaultizedProps(inProps, 'MuiMobileDatePicker');\n const viewRenderers = _extends({\n day: renderDateViewCalendar,\n month: renderDateViewCalendar,\n year: renderDateViewCalendar\n }, defaultizedProps.viewRenderers);\n\n // Props with the default values specific to the mobile variant\n const props = _extends({}, defaultizedProps, {\n viewRenderers,\n format: resolveDateFormat(utils, defaultizedProps, false),\n slots: _extends({\n field: DateField\n }, defaultizedProps.slots),\n slotProps: _extends({}, defaultizedProps.slotProps, {\n field: ownerState => {\n var _defaultizedProps$slo;\n return _extends({}, resolveComponentProps((_defaultizedProps$slo = defaultizedProps.slotProps) == null ? void 0 : _defaultizedProps$slo.field, ownerState), extractValidationProps(defaultizedProps), {\n ref\n });\n },\n toolbar: _extends({\n hidden: false\n }, (_defaultizedProps$slo2 = defaultizedProps.slotProps) == null ? void 0 : _defaultizedProps$slo2.toolbar)\n })\n });\n const {\n renderPicker\n } = useMobilePicker({\n props,\n valueManager: singleItemValueManager,\n valueType: 'date',\n getOpenDialogAriaText: (_props$localeText$ope = (_props$localeText = props.localeText) == null ? void 0 : _props$localeText.openDatePickerDialogue) != null ? _props$localeText$ope : localeText.openDatePickerDialogue,\n validator: validateDate\n });\n return renderPicker();\n});\nMobileDatePicker.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the TypeScript types and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n /**\n * If `true`, the main element is focused during the first mount.\n * This main element is:\n * - the element chosen by the visible view if any (i.e: the selected day on the `day` view).\n * - the `input` element if there is a field rendered.\n */\n autoFocus: PropTypes.bool,\n /**\n * Class name applied to the root element.\n */\n className: PropTypes.string,\n /**\n * If `true`, the popover or modal will close after submitting the full date.\n * @default `true` for desktop, `false` for mobile (based on the chosen wrapper and `desktopModeMediaQuery` prop).\n */\n closeOnSelect: PropTypes.bool,\n /**\n * Overridable components.\n * @default {}\n * @deprecated Please use `slots`.\n */\n components: PropTypes.object,\n /**\n * The props used for each component slot.\n * @default {}\n * @deprecated Please use `slotProps`.\n */\n componentsProps: PropTypes.object,\n /**\n * Formats the day of week displayed in the calendar header.\n * @param {string} day The day of week provided by the adapter. Deprecated, will be removed in v7: Use `date` instead.\n * @param {TDate} date The date of the day of week provided by the adapter.\n * @returns {string} The name to display.\n * @default (_day: string, date: TDate) => adapter.format(date, 'weekdayShort').charAt(0).toUpperCase()\n */\n dayOfWeekFormatter: PropTypes.func,\n /**\n * Default calendar month displayed when `value` and `defaultValue` are empty.\n * @deprecated Consider using `referenceDate` instead.\n */\n defaultCalendarMonth: PropTypes.any,\n /**\n * The default value.\n * Used when the component is not controlled.\n */\n defaultValue: PropTypes.any,\n /**\n * If `true`, the picker and text field are disabled.\n * @default false\n */\n disabled: PropTypes.bool,\n /**\n * If `true`, disable values after the current date for date components, time for time components and both for date time components.\n * @default false\n */\n disableFuture: PropTypes.bool,\n /**\n * If `true`, today's date is rendering without highlighting with circle.\n * @default false\n */\n disableHighlightToday: PropTypes.bool,\n /**\n * If `true`, the open picker button will not be rendered (renders only the field).\n * @default false\n */\n disableOpenPicker: PropTypes.bool,\n /**\n * If `true`, disable values before the current date for date components, time for time components and both for date time components.\n * @default false\n */\n disablePast: PropTypes.bool,\n /**\n * If `true`, the week number will be display in the calendar.\n */\n displayWeekNumber: PropTypes.bool,\n /**\n * Calendar will show more weeks in order to match this value.\n * Put it to 6 for having fix number of week in Gregorian calendars\n * @default undefined\n */\n fixedWeekNumber: PropTypes.number,\n /**\n * Format of the date when rendered in the input(s).\n * Defaults to localized format based on the used `views`.\n */\n format: PropTypes.string,\n /**\n * Density of the format when rendered in the input.\n * Setting `formatDensity` to `\"spacious\"` will add a space before and after each `/`, `-` and `.` character.\n * @default \"dense\"\n */\n formatDensity: PropTypes.oneOf(['dense', 'spacious']),\n /**\n * Pass a ref to the `input` element.\n */\n inputRef: refType,\n /**\n * The label content.\n */\n label: PropTypes.node,\n /**\n * If `true`, calls `renderLoading` instead of rendering the day calendar.\n * Can be used to preload information and show it in calendar.\n * @default false\n */\n loading: PropTypes.bool,\n /**\n * Locale for components texts.\n * Allows overriding texts coming from `LocalizationProvider` and `theme`.\n */\n localeText: PropTypes.object,\n /**\n * Maximal selectable date.\n */\n maxDate: PropTypes.any,\n /**\n * Minimal selectable date.\n */\n minDate: PropTypes.any,\n /**\n * Months rendered per row.\n * @default 3\n */\n monthsPerRow: PropTypes.oneOf([3, 4]),\n /**\n * Name attribute used by the `input` element in the Field.\n */\n name: PropTypes.string,\n /**\n * Callback fired when the value is accepted.\n * @template TValue The value type. Will be either the same type as `value` or `null`. Can be in `[start, end]` format in case of range value.\n * @param {TValue} value The value that was just accepted.\n */\n onAccept: PropTypes.func,\n /**\n * Callback fired when the value changes.\n * @template TValue The value type. Will be either the same type as `value` or `null`. Can be in `[start, end]` format in case of range value.\n * @template TError The validation error type. Will be either `string` or a `null`. Can be in `[start, end]` format in case of range value.\n * @param {TValue} value The new value.\n * @param {FieldChangeHandlerContext} context The context containing the validation result of the current value.\n */\n onChange: PropTypes.func,\n /**\n * Callback fired when the popup requests to be closed.\n * Use in controlled mode (see `open`).\n */\n onClose: PropTypes.func,\n /**\n * Callback fired when the error associated to the current value changes.\n * If the error has a non-null value, then the `TextField` will be rendered in `error` state.\n *\n * @template TValue The value type. Will be either the same type as `value` or `null`. Can be in `[start, end]` format in case of range value.\n * @template TError The validation error type. Will be either `string` or a `null`. Can be in `[start, end]` format in case of range value.\n * @param {TError} error The new error describing why the current value is not valid.\n * @param {TValue} value The value associated to the error.\n */\n onError: PropTypes.func,\n /**\n * Callback fired on month change.\n * @template TDate\n * @param {TDate} month The new month.\n */\n onMonthChange: PropTypes.func,\n /**\n * Callback fired when the popup requests to be opened.\n * Use in controlled mode (see `open`).\n */\n onOpen: PropTypes.func,\n /**\n * Callback fired when the selected sections change.\n * @param {FieldSelectedSections} newValue The new selected sections.\n */\n onSelectedSectionsChange: PropTypes.func,\n /**\n * Callback fired on view change.\n * @template TView\n * @param {TView} view The new view.\n */\n onViewChange: PropTypes.func,\n /**\n * Callback fired on year change.\n * @template TDate\n * @param {TDate} year The new year.\n */\n onYearChange: PropTypes.func,\n /**\n * Control the popup or dialog open state.\n * @default false\n */\n open: PropTypes.bool,\n /**\n * The default visible view.\n * Used when the component view is not controlled.\n * Must be a valid option from `views` list.\n */\n openTo: PropTypes.oneOf(['day', 'month', 'year']),\n /**\n * Force rendering in particular orientation.\n */\n orientation: PropTypes.oneOf(['landscape', 'portrait']),\n readOnly: PropTypes.bool,\n /**\n * If `true`, disable heavy animations.\n * @default `@media(prefers-reduced-motion: reduce)` || `navigator.userAgent` matches Android <10 or iOS <13\n */\n reduceAnimations: PropTypes.bool,\n /**\n * The date used to generate the new value when both `value` and `defaultValue` are empty.\n * @default The closest valid date-time using the validation props, except callbacks like `shouldDisable<...>`.\n */\n referenceDate: PropTypes.any,\n /**\n * Component displaying when passed `loading` true.\n * @returns {React.ReactNode} The node to render when loading.\n * @default () => ...\n */\n renderLoading: PropTypes.func,\n /**\n * The currently selected sections.\n * This prop accept four formats:\n * 1. If a number is provided, the section at this index will be selected.\n * 2. If an object with a `startIndex` and `endIndex` properties are provided, the sections between those two indexes will be selected.\n * 3. If a string of type `FieldSectionType` is provided, the first section with that name will be selected.\n * 4. If `null` is provided, no section will be selected\n * If not provided, the selected sections will be handled internally.\n */\n selectedSections: PropTypes.oneOfType([PropTypes.oneOf(['all', 'day', 'hours', 'meridiem', 'minutes', 'month', 'seconds', 'weekDay', 'year']), PropTypes.number, PropTypes.shape({\n endIndex: PropTypes.number.isRequired,\n startIndex: PropTypes.number.isRequired\n })]),\n /**\n * Disable specific date.\n *\n * Warning: This function can be called multiple times (e.g. when rendering date calendar, checking if focus can be moved to a certain date, etc.). Expensive computations can impact performance.\n *\n * @template TDate\n * @param {TDate} day The date to test.\n * @returns {boolean} If `true` the date will be disabled.\n */\n shouldDisableDate: PropTypes.func,\n /**\n * Disable specific month.\n * @template TDate\n * @param {TDate} month The month to test.\n * @returns {boolean} If `true`, the month will be disabled.\n */\n shouldDisableMonth: PropTypes.func,\n /**\n * Disable specific year.\n * @template TDate\n * @param {TDate} year The year to test.\n * @returns {boolean} If `true`, the year will be disabled.\n */\n shouldDisableYear: PropTypes.func,\n /**\n * If `true`, days outside the current month are rendered:\n *\n * - if `fixedWeekNumber` is defined, renders days to have the weeks requested.\n *\n * - if `fixedWeekNumber` is not defined, renders day to fill the first and last week of the current month.\n *\n * - ignored if `calendars` equals more than `1` on range pickers.\n * @default false\n */\n showDaysOutsideCurrentMonth: PropTypes.bool,\n /**\n * The props used for each component slot.\n * @default {}\n */\n slotProps: PropTypes.object,\n /**\n * Overridable component slots.\n * @default {}\n */\n slots: PropTypes.object,\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),\n /**\n * Choose which timezone to use for the value.\n * Example: \"default\", \"system\", \"UTC\", \"America/New_York\".\n * If you pass values from other timezones to some props, they will be converted to this timezone before being used.\n * @see See the {@link https://mui.com/x/react-date-pickers/timezone/ timezones documention} for more details.\n * @default The timezone of the `value` or `defaultValue` prop is defined, 'default' otherwise.\n */\n timezone: PropTypes.string,\n /**\n * The selected value.\n * Used when the component is controlled.\n */\n value: PropTypes.any,\n /**\n * The visible view.\n * Used when the component view is controlled.\n * Must be a valid option from `views` list.\n */\n view: PropTypes.oneOf(['day', 'month', 'year']),\n /**\n * Define custom view renderers for each section.\n * If `null`, the section will only have field editing.\n * If `undefined`, internally defined view will be the used.\n */\n viewRenderers: PropTypes.shape({\n day: PropTypes.func,\n month: PropTypes.func,\n year: PropTypes.func\n }),\n /**\n * Available views.\n */\n views: PropTypes.arrayOf(PropTypes.oneOf(['day', 'month', 'year']).isRequired),\n /**\n * Years rendered per row.\n * @default 3\n */\n yearsPerRow: PropTypes.oneOf([3, 4])\n};\nexport { MobileDatePicker };","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nconst _excluded = [\"desktopModeMediaQuery\"];\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport useMediaQuery from '@mui/material/useMediaQuery';\nimport { useThemeProps } from '@mui/material/styles';\nimport { refType } from '@mui/utils';\nimport { DesktopDatePicker } from '../DesktopDatePicker';\nimport { MobileDatePicker } from '../MobileDatePicker';\nimport { DEFAULT_DESKTOP_MODE_MEDIA_QUERY } from '../internals/utils/utils';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\n/**\n * Demos:\n *\n * - [DatePicker](https://mui.com/x/react-date-pickers/date-picker/)\n * - [Validation](https://mui.com/x/react-date-pickers/validation/)\n *\n * API:\n *\n * - [DatePicker API](https://mui.com/x/api/date-pickers/date-picker/)\n */\nconst DatePicker = /*#__PURE__*/React.forwardRef(function DatePicker(inProps, ref) {\n const props = useThemeProps({\n props: inProps,\n name: 'MuiDatePicker'\n });\n const {\n desktopModeMediaQuery = DEFAULT_DESKTOP_MODE_MEDIA_QUERY\n } = props,\n other = _objectWithoutPropertiesLoose(props, _excluded);\n\n // defaults to `true` in environments where `window.matchMedia` would not be available (i.e. test/jsdom)\n const isDesktop = useMediaQuery(desktopModeMediaQuery, {\n defaultMatches: true\n });\n if (isDesktop) {\n return /*#__PURE__*/_jsx(DesktopDatePicker, _extends({\n ref: ref\n }, other));\n }\n return /*#__PURE__*/_jsx(MobileDatePicker, _extends({\n ref: ref\n }, other));\n});\nprocess.env.NODE_ENV !== \"production\" ? DatePicker.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the TypeScript types and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n /**\n * If `true`, the main element is focused during the first mount.\n * This main element is:\n * - the element chosen by the visible view if any (i.e: the selected day on the `day` view).\n * - the `input` element if there is a field rendered.\n */\n autoFocus: PropTypes.bool,\n /**\n * Class name applied to the root element.\n */\n className: PropTypes.string,\n /**\n * If `true`, the popover or modal will close after submitting the full date.\n * @default `true` for desktop, `false` for mobile (based on the chosen wrapper and `desktopModeMediaQuery` prop).\n */\n closeOnSelect: PropTypes.bool,\n /**\n * Overridable components.\n * @default {}\n * @deprecated Please use `slots`.\n */\n components: PropTypes.object,\n /**\n * The props used for each component slot.\n * @default {}\n * @deprecated Please use `slotProps`.\n */\n componentsProps: PropTypes.object,\n /**\n * Formats the day of week displayed in the calendar header.\n * @param {string} day The day of week provided by the adapter. Deprecated, will be removed in v7: Use `date` instead.\n * @param {TDate} date The date of the day of week provided by the adapter.\n * @returns {string} The name to display.\n * @default (_day: string, date: TDate) => adapter.format(date, 'weekdayShort').charAt(0).toUpperCase()\n */\n dayOfWeekFormatter: PropTypes.func,\n /**\n * Default calendar month displayed when `value` and `defaultValue` are empty.\n * @deprecated Consider using `referenceDate` instead.\n */\n defaultCalendarMonth: PropTypes.any,\n /**\n * The default value.\n * Used when the component is not controlled.\n */\n defaultValue: PropTypes.any,\n /**\n * CSS media query when `Mobile` mode will be changed to `Desktop`.\n * @default '@media (pointer: fine)'\n * @example '@media (min-width: 720px)' or theme.breakpoints.up(\"sm\")\n */\n desktopModeMediaQuery: PropTypes.string,\n /**\n * If `true`, the picker and text field are disabled.\n * @default false\n */\n disabled: PropTypes.bool,\n /**\n * If `true`, disable values after the current date for date components, time for time components and both for date time components.\n * @default false\n */\n disableFuture: PropTypes.bool,\n /**\n * If `true`, today's date is rendering without highlighting with circle.\n * @default false\n */\n disableHighlightToday: PropTypes.bool,\n /**\n * If `true`, the open picker button will not be rendered (renders only the field).\n * @default false\n */\n disableOpenPicker: PropTypes.bool,\n /**\n * If `true`, disable values before the current date for date components, time for time components and both for date time components.\n * @default false\n */\n disablePast: PropTypes.bool,\n /**\n * If `true`, the week number will be display in the calendar.\n */\n displayWeekNumber: PropTypes.bool,\n /**\n * Calendar will show more weeks in order to match this value.\n * Put it to 6 for having fix number of week in Gregorian calendars\n * @default undefined\n */\n fixedWeekNumber: PropTypes.number,\n /**\n * Format of the date when rendered in the input(s).\n * Defaults to localized format based on the used `views`.\n */\n format: PropTypes.string,\n /**\n * Density of the format when rendered in the input.\n * Setting `formatDensity` to `\"spacious\"` will add a space before and after each `/`, `-` and `.` character.\n * @default \"dense\"\n */\n formatDensity: PropTypes.oneOf(['dense', 'spacious']),\n /**\n * Pass a ref to the `input` element.\n */\n inputRef: refType,\n /**\n * The label content.\n */\n label: PropTypes.node,\n /**\n * If `true`, calls `renderLoading` instead of rendering the day calendar.\n * Can be used to preload information and show it in calendar.\n * @default false\n */\n loading: PropTypes.bool,\n /**\n * Locale for components texts.\n * Allows overriding texts coming from `LocalizationProvider` and `theme`.\n */\n localeText: PropTypes.object,\n /**\n * Maximal selectable date.\n */\n maxDate: PropTypes.any,\n /**\n * Minimal selectable date.\n */\n minDate: PropTypes.any,\n /**\n * Months rendered per row.\n * @default 3\n */\n monthsPerRow: PropTypes.oneOf([3, 4]),\n /**\n * Name attribute used by the `input` element in the Field.\n */\n name: PropTypes.string,\n /**\n * Callback fired when the value is accepted.\n * @template TValue The value type. Will be either the same type as `value` or `null`. Can be in `[start, end]` format in case of range value.\n * @param {TValue} value The value that was just accepted.\n */\n onAccept: PropTypes.func,\n /**\n * Callback fired when the value changes.\n * @template TValue The value type. Will be either the same type as `value` or `null`. Can be in `[start, end]` format in case of range value.\n * @template TError The validation error type. Will be either `string` or a `null`. Can be in `[start, end]` format in case of range value.\n * @param {TValue} value The new value.\n * @param {FieldChangeHandlerContext} context The context containing the validation result of the current value.\n */\n onChange: PropTypes.func,\n /**\n * Callback fired when the popup requests to be closed.\n * Use in controlled mode (see `open`).\n */\n onClose: PropTypes.func,\n /**\n * Callback fired when the error associated to the current value changes.\n * If the error has a non-null value, then the `TextField` will be rendered in `error` state.\n *\n * @template TValue The value type. Will be either the same type as `value` or `null`. Can be in `[start, end]` format in case of range value.\n * @template TError The validation error type. Will be either `string` or a `null`. Can be in `[start, end]` format in case of range value.\n * @param {TError} error The new error describing why the current value is not valid.\n * @param {TValue} value The value associated to the error.\n */\n onError: PropTypes.func,\n /**\n * Callback fired on month change.\n * @template TDate\n * @param {TDate} month The new month.\n */\n onMonthChange: PropTypes.func,\n /**\n * Callback fired when the popup requests to be opened.\n * Use in controlled mode (see `open`).\n */\n onOpen: PropTypes.func,\n /**\n * Callback fired when the selected sections change.\n * @param {FieldSelectedSections} newValue The new selected sections.\n */\n onSelectedSectionsChange: PropTypes.func,\n /**\n * Callback fired on view change.\n * @template TView\n * @param {TView} view The new view.\n */\n onViewChange: PropTypes.func,\n /**\n * Callback fired on year change.\n * @template TDate\n * @param {TDate} year The new year.\n */\n onYearChange: PropTypes.func,\n /**\n * Control the popup or dialog open state.\n * @default false\n */\n open: PropTypes.bool,\n /**\n * The default visible view.\n * Used when the component view is not controlled.\n * Must be a valid option from `views` list.\n */\n openTo: PropTypes.oneOf(['day', 'month', 'year']),\n /**\n * Force rendering in particular orientation.\n */\n orientation: PropTypes.oneOf(['landscape', 'portrait']),\n readOnly: PropTypes.bool,\n /**\n * If `true`, disable heavy animations.\n * @default `@media(prefers-reduced-motion: reduce)` || `navigator.userAgent` matches Android <10 or iOS <13\n */\n reduceAnimations: PropTypes.bool,\n /**\n * The date used to generate the new value when both `value` and `defaultValue` are empty.\n * @default The closest valid date-time using the validation props, except callbacks like `shouldDisable<...>`.\n */\n referenceDate: PropTypes.any,\n /**\n * Component displaying when passed `loading` true.\n * @returns {React.ReactNode} The node to render when loading.\n * @default () => ...\n */\n renderLoading: PropTypes.func,\n /**\n * The currently selected sections.\n * This prop accept four formats:\n * 1. If a number is provided, the section at this index will be selected.\n * 2. If an object with a `startIndex` and `endIndex` properties are provided, the sections between those two indexes will be selected.\n * 3. If a string of type `FieldSectionType` is provided, the first section with that name will be selected.\n * 4. If `null` is provided, no section will be selected\n * If not provided, the selected sections will be handled internally.\n */\n selectedSections: PropTypes.oneOfType([PropTypes.oneOf(['all', 'day', 'hours', 'meridiem', 'minutes', 'month', 'seconds', 'weekDay', 'year']), PropTypes.number, PropTypes.shape({\n endIndex: PropTypes.number.isRequired,\n startIndex: PropTypes.number.isRequired\n })]),\n /**\n * Disable specific date.\n *\n * Warning: This function can be called multiple times (e.g. when rendering date calendar, checking if focus can be moved to a certain date, etc.). Expensive computations can impact performance.\n *\n * @template TDate\n * @param {TDate} day The date to test.\n * @returns {boolean} If `true` the date will be disabled.\n */\n shouldDisableDate: PropTypes.func,\n /**\n * Disable specific month.\n * @template TDate\n * @param {TDate} month The month to test.\n * @returns {boolean} If `true`, the month will be disabled.\n */\n shouldDisableMonth: PropTypes.func,\n /**\n * Disable specific year.\n * @template TDate\n * @param {TDate} year The year to test.\n * @returns {boolean} If `true`, the year will be disabled.\n */\n shouldDisableYear: PropTypes.func,\n /**\n * If `true`, days outside the current month are rendered:\n *\n * - if `fixedWeekNumber` is defined, renders days to have the weeks requested.\n *\n * - if `fixedWeekNumber` is not defined, renders day to fill the first and last week of the current month.\n *\n * - ignored if `calendars` equals more than `1` on range pickers.\n * @default false\n */\n showDaysOutsideCurrentMonth: PropTypes.bool,\n /**\n * The props used for each component slot.\n * @default {}\n */\n slotProps: PropTypes.object,\n /**\n * Overridable component slots.\n * @default {}\n */\n slots: PropTypes.object,\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),\n /**\n * Choose which timezone to use for the value.\n * Example: \"default\", \"system\", \"UTC\", \"America/New_York\".\n * If you pass values from other timezones to some props, they will be converted to this timezone before being used.\n * @see See the {@link https://mui.com/x/react-date-pickers/timezone/ timezones documention} for more details.\n * @default The timezone of the `value` or `defaultValue` prop is defined, 'default' otherwise.\n */\n timezone: PropTypes.string,\n /**\n * The selected value.\n * Used when the component is controlled.\n */\n value: PropTypes.any,\n /**\n * The visible view.\n * Used when the component view is controlled.\n * Must be a valid option from `views` list.\n */\n view: PropTypes.oneOf(['day', 'month', 'year']),\n /**\n * Define custom view renderers for each section.\n * If `null`, the section will only have field editing.\n * If `undefined`, internally defined view will be the used.\n */\n viewRenderers: PropTypes.shape({\n day: PropTypes.func,\n month: PropTypes.func,\n year: PropTypes.func\n }),\n /**\n * Available views.\n */\n views: PropTypes.arrayOf(PropTypes.oneOf(['day', 'month', 'year']).isRequired),\n /**\n * Years rendered per row.\n * @default 4 on desktop, 3 on mobile\n */\n yearsPerRow: PropTypes.oneOf([3, 4])\n} : void 0;\nexport { DatePicker };","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nconst _excluded = [\"localeText\"];\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport { useThemeProps } from '@mui/material/styles';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport const MuiPickersAdapterContext = /*#__PURE__*/React.createContext(null);\nif (process.env.NODE_ENV !== 'production') {\n MuiPickersAdapterContext.displayName = 'MuiPickersAdapterContext';\n}\n/**\n * Demos:\n *\n * - [Date format and localization](https://mui.com/x/react-date-pickers/adapters-locale/)\n * - [Calendar systems](https://mui.com/x/react-date-pickers/calendar-systems/)\n * - [Translated components](https://mui.com/x/react-date-pickers/localization/)\n * - [UTC and timezones](https://mui.com/x/react-date-pickers/timezone/)\n *\n * API:\n *\n * - [LocalizationProvider API](https://mui.com/x/api/date-pickers/localization-provider/)\n */\nexport const LocalizationProvider = function LocalizationProvider(inProps) {\n var _React$useContext;\n const {\n localeText: inLocaleText\n } = inProps,\n otherInProps = _objectWithoutPropertiesLoose(inProps, _excluded);\n const {\n utils: parentUtils,\n localeText: parentLocaleText\n } = (_React$useContext = React.useContext(MuiPickersAdapterContext)) != null ? _React$useContext : {\n utils: undefined,\n localeText: undefined\n };\n const props = useThemeProps({\n // We don't want to pass the `localeText` prop to the theme, that way it will always return the theme value,\n // We will then merge this theme value with our value manually\n props: otherInProps,\n name: 'MuiLocalizationProvider'\n });\n const {\n children,\n dateAdapter: DateAdapter,\n dateFormats,\n dateLibInstance,\n adapterLocale,\n localeText: themeLocaleText\n } = props;\n const localeText = React.useMemo(() => _extends({}, themeLocaleText, parentLocaleText, inLocaleText), [themeLocaleText, parentLocaleText, inLocaleText]);\n const utils = React.useMemo(() => {\n if (!DateAdapter) {\n if (parentUtils) {\n return parentUtils;\n }\n return null;\n }\n const adapter = new DateAdapter({\n locale: adapterLocale,\n formats: dateFormats,\n instance: dateLibInstance\n });\n if (!adapter.isMUIAdapter) {\n throw new Error(['MUI: The date adapter should be imported from `@mui/x-date-pickers` or `@mui/x-date-pickers-pro`, not from `@date-io`', \"For example, `import { AdapterDayjs } from '@mui/x-date-pickers/AdapterDayjs'` instead of `import AdapterDayjs from '@date-io/dayjs'`\", 'More information on the installation documentation: https://mui.com/x/react-date-pickers/getting-started/#installation'].join(`\\n`));\n }\n return adapter;\n }, [DateAdapter, adapterLocale, dateFormats, dateLibInstance, parentUtils]);\n const defaultDates = React.useMemo(() => {\n if (!utils) {\n return null;\n }\n return {\n minDate: utils.date('1900-01-01T00:00:00.000'),\n maxDate: utils.date('2099-12-31T00:00:00.000')\n };\n }, [utils]);\n const contextValue = React.useMemo(() => {\n return {\n utils,\n defaultDates,\n localeText\n };\n }, [defaultDates, utils, localeText]);\n return /*#__PURE__*/_jsx(MuiPickersAdapterContext.Provider, {\n value: contextValue,\n children: children\n });\n};\nprocess.env.NODE_ENV !== \"production\" ? LocalizationProvider.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the TypeScript types and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n /**\n * Locale for the date library you are using\n */\n adapterLocale: PropTypes.any,\n children: PropTypes.node,\n /**\n * Date library adapter class function.\n * @see See the localization provider {@link https://mui.com/x/react-date-pickers/getting-started/#setup-your-date-library-adapter date adapter setup section} for more details.\n */\n dateAdapter: PropTypes.func,\n /**\n * Formats that are used for any child pickers\n */\n dateFormats: PropTypes.shape({\n dayOfMonth: PropTypes.string,\n fullDate: PropTypes.string,\n fullDateTime: PropTypes.string,\n fullDateTime12h: PropTypes.string,\n fullDateTime24h: PropTypes.string,\n fullDateWithWeekday: PropTypes.string,\n fullTime: PropTypes.string,\n fullTime12h: PropTypes.string,\n fullTime24h: PropTypes.string,\n hours12h: PropTypes.string,\n hours24h: PropTypes.string,\n keyboardDate: PropTypes.string,\n keyboardDateTime: PropTypes.string,\n keyboardDateTime12h: PropTypes.string,\n keyboardDateTime24h: PropTypes.string,\n meridiem: PropTypes.string,\n minutes: PropTypes.string,\n month: PropTypes.string,\n monthAndDate: PropTypes.string,\n monthAndYear: PropTypes.string,\n monthShort: PropTypes.string,\n normalDate: PropTypes.string,\n normalDateWithWeekday: PropTypes.string,\n seconds: PropTypes.string,\n shortDate: PropTypes.string,\n weekday: PropTypes.string,\n weekdayShort: PropTypes.string,\n year: PropTypes.string\n }),\n /**\n * Date library instance you are using, if it has some global overrides\n * ```jsx\n * dateLibInstance={momentTimeZone}\n * ```\n */\n dateLibInstance: PropTypes.any,\n /**\n * Locale for components texts\n */\n localeText: PropTypes.object\n} : void 0;","import generateUtilityClass from '@mui/utils/generateUtilityClass';\nimport generateUtilityClasses from '@mui/utils/generateUtilityClasses';\nexport function getPickersLayoutUtilityClass(slot) {\n return generateUtilityClass('MuiPickersLayout', slot);\n}\nexport const pickersLayoutClasses = generateUtilityClasses('MuiPickersLayout', ['root', 'landscape', 'contentWrapper', 'toolbar', 'actionBar', 'tabs', 'shortcuts']);","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nconst _excluded = [\"onAccept\", \"onClear\", \"onCancel\", \"onSetToday\", \"actions\"];\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport Button from '@mui/material/Button';\nimport DialogActions from '@mui/material/DialogActions';\nimport { useLocaleText } from '../internals/hooks/useUtils';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\n/**\n * Demos:\n *\n * - [Custom slots and subcomponents](https://mui.com/x/react-date-pickers/custom-components/)\n * - [Custom layout](https://mui.com/x/react-date-pickers/custom-layout/)\n *\n * API:\n *\n * - [PickersActionBar API](https://mui.com/x/api/date-pickers/pickers-action-bar/)\n */\nfunction PickersActionBar(props) {\n const {\n onAccept,\n onClear,\n onCancel,\n onSetToday,\n actions\n } = props,\n other = _objectWithoutPropertiesLoose(props, _excluded);\n const localeText = useLocaleText();\n if (actions == null || actions.length === 0) {\n return null;\n }\n const buttons = actions == null ? void 0 : actions.map(actionType => {\n switch (actionType) {\n case 'clear':\n return /*#__PURE__*/_jsx(Button, {\n onClick: onClear,\n children: localeText.clearButtonLabel\n }, actionType);\n case 'cancel':\n return /*#__PURE__*/_jsx(Button, {\n onClick: onCancel,\n children: localeText.cancelButtonLabel\n }, actionType);\n case 'accept':\n return /*#__PURE__*/_jsx(Button, {\n onClick: onAccept,\n children: localeText.okButtonLabel\n }, actionType);\n case 'today':\n return /*#__PURE__*/_jsx(Button, {\n onClick: onSetToday,\n children: localeText.todayButtonLabel\n }, actionType);\n default:\n return null;\n }\n });\n return /*#__PURE__*/_jsx(DialogActions, _extends({}, other, {\n children: buttons\n }));\n}\nprocess.env.NODE_ENV !== \"production\" ? PickersActionBar.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the TypeScript types and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n /**\n * Ordered array of actions to display.\n * If empty, does not display that action bar.\n * @default `['cancel', 'accept']` for mobile and `[]` for desktop\n */\n actions: PropTypes.arrayOf(PropTypes.oneOf(['accept', 'cancel', 'clear', 'today']).isRequired),\n /**\n * If `true`, the actions do not have additional margin.\n * @default false\n */\n disableSpacing: PropTypes.bool,\n onAccept: PropTypes.func.isRequired,\n onCancel: PropTypes.func.isRequired,\n onClear: PropTypes.func.isRequired,\n onSetToday: PropTypes.func.isRequired,\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])\n} : void 0;\nexport { PickersActionBar };","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nconst _excluded = [\"items\", \"changeImportance\", \"isLandscape\", \"onChange\", \"isValid\"],\n _excluded2 = [\"getValue\"];\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport List from '@mui/material/List';\nimport ListItem from '@mui/material/ListItem';\nimport Chip from '@mui/material/Chip';\nimport { VIEW_HEIGHT } from '../internals/constants/dimensions';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\n/**\n * Demos:\n *\n * - [Shortcuts](https://mui.com/x/react-date-pickers/shortcuts/)\n *\n * API:\n *\n * - [PickersShortcuts API](https://mui.com/x/api/date-pickers/pickers-shortcuts/)\n */\nfunction PickersShortcuts(props) {\n const {\n items,\n changeImportance,\n onChange,\n isValid\n } = props,\n other = _objectWithoutPropertiesLoose(props, _excluded);\n if (items == null || items.length === 0) {\n return null;\n }\n const resolvedItems = items.map(_ref => {\n let {\n getValue\n } = _ref,\n item = _objectWithoutPropertiesLoose(_ref, _excluded2);\n const newValue = getValue({\n isValid\n });\n return {\n label: item.label,\n onClick: () => {\n onChange(newValue, changeImportance, item);\n },\n disabled: !isValid(newValue)\n };\n });\n return /*#__PURE__*/_jsx(List, _extends({\n dense: true,\n sx: [{\n maxHeight: VIEW_HEIGHT,\n maxWidth: 200,\n overflow: 'auto'\n }, ...(Array.isArray(other.sx) ? other.sx : [other.sx])]\n }, other, {\n children: resolvedItems.map(item => {\n return /*#__PURE__*/_jsx(ListItem, {\n children: /*#__PURE__*/_jsx(Chip, _extends({}, item))\n }, item.label);\n })\n }));\n}\nprocess.env.NODE_ENV !== \"production\" ? PickersShortcuts.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the TypeScript types and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n /**\n * Importance of the change when picking a shortcut:\n * - \"accept\": fires `onChange`, fires `onAccept` and closes the picker.\n * - \"set\": fires `onChange` but do not fire `onAccept` and does not close the picker.\n * @default \"accept\"\n */\n changeImportance: PropTypes.oneOf(['accept', 'set']),\n className: PropTypes.string,\n component: PropTypes.elementType,\n /**\n * If `true`, compact vertical padding designed for keyboard and mouse input is used for\n * the list and list items.\n * The prop is available to descendant components as the `dense` context.\n * @default false\n */\n dense: PropTypes.bool,\n /**\n * If `true`, vertical padding is removed from the list.\n * @default false\n */\n disablePadding: PropTypes.bool,\n isLandscape: PropTypes.bool.isRequired,\n isValid: PropTypes.func.isRequired,\n /**\n * Ordered array of shortcuts to display.\n * If empty, does not display the shortcuts.\n * @default `[]`\n */\n items: PropTypes.arrayOf(PropTypes.shape({\n getValue: PropTypes.func.isRequired,\n label: PropTypes.string.isRequired\n })),\n onChange: PropTypes.func.isRequired,\n style: PropTypes.object,\n /**\n * The content of the subheader, normally `ListSubheader`.\n */\n subheader: PropTypes.node,\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])\n} : void 0;\nexport { PickersShortcuts };","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport * as React from 'react';\nimport { useSlotProps } from '@mui/base/utils';\nimport { unstable_composeClasses as composeClasses } from '@mui/utils';\nimport { PickersActionBar } from '../PickersActionBar';\nimport { getPickersLayoutUtilityClass } from './pickersLayoutClasses';\nimport { PickersShortcuts } from '../PickersShortcuts';\nimport { uncapitalizeObjectKeys } from '../internals/utils/slots-migration';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nfunction toolbarHasView(toolbarProps) {\n return toolbarProps.view !== null;\n}\nconst useUtilityClasses = ownerState => {\n const {\n classes,\n isLandscape\n } = ownerState;\n const slots = {\n root: ['root', isLandscape && 'landscape'],\n contentWrapper: ['contentWrapper'],\n toolbar: ['toolbar'],\n actionBar: ['actionBar'],\n tabs: ['tabs'],\n landscape: ['landscape'],\n shortcuts: ['shortcuts']\n };\n return composeClasses(slots, getPickersLayoutUtilityClass, classes);\n};\nconst usePickerLayout = props => {\n var _slots$actionBar, _slots$shortcuts;\n const {\n wrapperVariant,\n onAccept,\n onClear,\n onCancel,\n onSetToday,\n view,\n views,\n onViewChange,\n value,\n onChange,\n onSelectShortcut,\n isValid,\n isLandscape,\n disabled,\n readOnly,\n children,\n components,\n componentsProps,\n slots: innerSlots,\n slotProps: innerSlotProps\n // TODO: Remove this \"as\" hack. It get introduced to mark `value` prop in PickersLayoutProps as not required.\n // The true type should be\n // - For pickers value: TDate | null\n // - For range pickers value: [TDate | null, TDate | null]\n } = props;\n const slots = innerSlots != null ? innerSlots : uncapitalizeObjectKeys(components);\n const slotProps = innerSlotProps != null ? innerSlotProps : componentsProps;\n const classes = useUtilityClasses(props);\n\n // Action bar\n\n const ActionBar = (_slots$actionBar = slots == null ? void 0 : slots.actionBar) != null ? _slots$actionBar : PickersActionBar;\n const actionBarProps = useSlotProps({\n elementType: ActionBar,\n externalSlotProps: slotProps == null ? void 0 : slotProps.actionBar,\n additionalProps: {\n onAccept,\n onClear,\n onCancel,\n onSetToday,\n actions: wrapperVariant === 'desktop' ? [] : ['cancel', 'accept'],\n className: classes.actionBar\n },\n ownerState: _extends({}, props, {\n wrapperVariant\n })\n });\n const actionBar = /*#__PURE__*/_jsx(ActionBar, _extends({}, actionBarProps));\n\n // Toolbar\n\n const Toolbar = slots == null ? void 0 : slots.toolbar;\n const toolbarProps = useSlotProps({\n elementType: Toolbar,\n externalSlotProps: slotProps == null ? void 0 : slotProps.toolbar,\n additionalProps: {\n isLandscape,\n onChange,\n value,\n view,\n onViewChange,\n views,\n disabled,\n readOnly,\n className: classes.toolbar\n },\n ownerState: _extends({}, props, {\n wrapperVariant\n })\n });\n const toolbar = toolbarHasView(toolbarProps) && !!Toolbar ? /*#__PURE__*/_jsx(Toolbar, _extends({}, toolbarProps)) : null;\n\n // Content\n\n const content = children;\n\n // Tabs\n\n const Tabs = slots == null ? void 0 : slots.tabs;\n const tabs = view && Tabs ? /*#__PURE__*/_jsx(Tabs, _extends({\n view: view,\n onViewChange: onViewChange,\n className: classes.tabs\n }, slotProps == null ? void 0 : slotProps.tabs)) : null;\n\n // Shortcuts\n\n const Shortcuts = (_slots$shortcuts = slots == null ? void 0 : slots.shortcuts) != null ? _slots$shortcuts : PickersShortcuts;\n const shortcutsProps = useSlotProps({\n elementType: Shortcuts,\n externalSlotProps: slotProps == null ? void 0 : slotProps.shortcuts,\n additionalProps: {\n isValid,\n isLandscape,\n onChange: onSelectShortcut,\n className: classes.shortcuts\n },\n ownerState: {\n isValid,\n isLandscape,\n onChange: onSelectShortcut,\n className: classes.shortcuts,\n wrapperVariant\n }\n });\n const shortcuts = view && !!Shortcuts ? /*#__PURE__*/_jsx(Shortcuts, _extends({}, shortcutsProps)) : null;\n return {\n toolbar,\n content,\n tabs,\n actionBar,\n shortcuts\n };\n};\nexport default usePickerLayout;","import * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport { styled, useThemeProps } from '@mui/material/styles';\nimport { unstable_composeClasses as composeClasses } from '@mui/utils';\nimport { pickersLayoutClasses, getPickersLayoutUtilityClass } from './pickersLayoutClasses';\nimport usePickerLayout from './usePickerLayout';\nimport { jsxs as _jsxs } from \"react/jsx-runtime\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst useUtilityClasses = ownerState => {\n const {\n isLandscape,\n classes\n } = ownerState;\n const slots = {\n root: ['root', isLandscape && 'landscape'],\n contentWrapper: ['contentWrapper']\n };\n return composeClasses(slots, getPickersLayoutUtilityClass, classes);\n};\nconst PickersLayoutRoot = styled('div', {\n name: 'MuiPickersLayout',\n slot: 'Root',\n overridesResolver: (props, styles) => styles.root\n})(({\n theme,\n ownerState\n}) => ({\n display: 'grid',\n gridAutoColumns: 'max-content auto max-content',\n gridAutoRows: 'max-content auto max-content',\n [`& .${pickersLayoutClasses.toolbar}`]: ownerState.isLandscape ? {\n gridColumn: theme.direction === 'rtl' ? 3 : 1,\n gridRow: '2 / 3'\n } : {\n gridColumn: '2 / 4',\n gridRow: 1\n },\n [`.${pickersLayoutClasses.shortcuts}`]: ownerState.isLandscape ? {\n gridColumn: '2 / 4',\n gridRow: 1\n } : {\n gridColumn: theme.direction === 'rtl' ? 3 : 1,\n gridRow: '2 / 3'\n },\n [`& .${pickersLayoutClasses.actionBar}`]: {\n gridColumn: '1 / 4',\n gridRow: 3\n }\n}));\nPickersLayoutRoot.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the TypeScript types and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n as: PropTypes.elementType,\n ownerState: PropTypes.shape({\n isLandscape: PropTypes.bool.isRequired\n }).isRequired,\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])\n};\nexport { PickersLayoutRoot };\nexport const PickersLayoutContentWrapper = styled('div', {\n name: 'MuiPickersLayout',\n slot: 'ContentWrapper',\n overridesResolver: (props, styles) => styles.contentWrapper\n})({\n gridColumn: 2,\n gridRow: 2,\n display: 'flex',\n flexDirection: 'column'\n});\n\n/**\n * Demos:\n *\n * - [Custom layout](https://mui.com/x/react-date-pickers/custom-layout/)\n *\n * API:\n *\n * - [PickersLayout API](https://mui.com/x/api/date-pickers/pickers-layout/)\n */\nconst PickersLayout = function PickersLayout(inProps) {\n const props = useThemeProps({\n props: inProps,\n name: 'MuiPickersLayout'\n });\n const {\n toolbar,\n content,\n tabs,\n actionBar,\n shortcuts\n } = usePickerLayout(props);\n const {\n sx,\n className,\n isLandscape,\n ref,\n wrapperVariant\n } = props;\n const ownerState = props;\n const classes = useUtilityClasses(ownerState);\n return /*#__PURE__*/_jsxs(PickersLayoutRoot, {\n ref: ref,\n sx: sx,\n className: clsx(className, classes.root),\n ownerState: ownerState,\n children: [isLandscape ? shortcuts : toolbar, isLandscape ? toolbar : shortcuts, /*#__PURE__*/_jsx(PickersLayoutContentWrapper, {\n className: classes.contentWrapper,\n children: wrapperVariant === 'desktop' ? /*#__PURE__*/_jsxs(React.Fragment, {\n children: [content, tabs]\n }) : /*#__PURE__*/_jsxs(React.Fragment, {\n children: [tabs, content]\n })\n }), actionBar]\n });\n};\nprocess.env.NODE_ENV !== \"production\" ? PickersLayout.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the TypeScript types and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n children: PropTypes.node,\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n className: PropTypes.string,\n /**\n * Overridable components.\n * @default {}\n * @deprecated Please use `slots`.\n */\n components: PropTypes.object,\n /**\n * The props used for each component slot.\n * @default {}\n * @deprecated Please use `slotProps`.\n */\n componentsProps: PropTypes.object,\n disabled: PropTypes.bool,\n isLandscape: PropTypes.bool.isRequired,\n isValid: PropTypes.func.isRequired,\n onAccept: PropTypes.func.isRequired,\n onCancel: PropTypes.func.isRequired,\n onChange: PropTypes.func.isRequired,\n onClear: PropTypes.func.isRequired,\n onClose: PropTypes.func.isRequired,\n onDismiss: PropTypes.func.isRequired,\n onOpen: PropTypes.func.isRequired,\n onSelectShortcut: PropTypes.func.isRequired,\n onSetToday: PropTypes.func.isRequired,\n onViewChange: PropTypes.func.isRequired,\n /**\n * Force rendering in particular orientation.\n */\n orientation: PropTypes.oneOf(['landscape', 'portrait']),\n readOnly: PropTypes.bool,\n /**\n * The props used for each component slot.\n * @default {}\n */\n slotProps: PropTypes.object,\n /**\n * Overridable component slots.\n * @default {}\n */\n slots: PropTypes.object,\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),\n value: PropTypes.any,\n view: PropTypes.oneOf(['day', 'hours', 'meridiem', 'minutes', 'month', 'seconds', 'year']),\n views: PropTypes.arrayOf(PropTypes.oneOf(['day', 'hours', 'meridiem', 'minutes', 'month', 'seconds', 'year']).isRequired).isRequired,\n wrapperVariant: PropTypes.oneOf(['desktop', 'mobile'])\n} : void 0;\nexport { PickersLayout };","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nconst _excluded = [\"ownerState\"];\nimport * as React from 'react';\nimport { useSlotProps } from '@mui/base/utils';\nimport MuiIconButton from '@mui/material/IconButton';\nimport InputAdornment from '@mui/material/InputAdornment';\nimport { ClearIcon } from '../icons';\nimport { useLocaleText } from '../internals';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nimport { jsxs as _jsxs } from \"react/jsx-runtime\";\nexport const useClearableField = ({\n clearable,\n fieldProps: forwardedFieldProps,\n InputProps: ForwardedInputProps,\n onClear,\n slots,\n slotProps,\n components,\n componentsProps\n}) => {\n var _ref, _slots$clearButton, _slotProps$clearButto, _ref2, _slots$clearIcon, _slotProps$clearIcon;\n const localeText = useLocaleText();\n const IconButton = (_ref = (_slots$clearButton = slots == null ? void 0 : slots.clearButton) != null ? _slots$clearButton : components == null ? void 0 : components.ClearButton) != null ? _ref : MuiIconButton;\n // The spread is here to avoid this bug mui/material-ui#34056\n const _useSlotProps = useSlotProps({\n elementType: IconButton,\n externalSlotProps: (_slotProps$clearButto = slotProps == null ? void 0 : slotProps.clearButton) != null ? _slotProps$clearButto : componentsProps == null ? void 0 : componentsProps.clearButton,\n ownerState: {},\n className: 'clearButton',\n additionalProps: {\n title: localeText.fieldClearLabel\n }\n }),\n iconButtonProps = _objectWithoutPropertiesLoose(_useSlotProps, _excluded);\n const EndClearIcon = (_ref2 = (_slots$clearIcon = slots == null ? void 0 : slots.clearIcon) != null ? _slots$clearIcon : components == null ? void 0 : components.ClearIcon) != null ? _ref2 : ClearIcon;\n const endClearIconProps = useSlotProps({\n elementType: EndClearIcon,\n externalSlotProps: (_slotProps$clearIcon = slotProps == null ? void 0 : slotProps.clearIcon) != null ? _slotProps$clearIcon : componentsProps == null ? void 0 : componentsProps.clearIcon,\n ownerState: {}\n });\n const InputProps = _extends({}, ForwardedInputProps, {\n endAdornment: /*#__PURE__*/_jsxs(React.Fragment, {\n children: [clearable && /*#__PURE__*/_jsx(InputAdornment, {\n position: \"end\",\n sx: {\n marginRight: ForwardedInputProps != null && ForwardedInputProps.endAdornment ? -1 : -1.5\n },\n children: /*#__PURE__*/_jsx(IconButton, _extends({}, iconButtonProps, {\n onClick: onClear,\n children: /*#__PURE__*/_jsx(EndClearIcon, _extends({\n fontSize: \"small\"\n }, endClearIconProps))\n }))\n }), ForwardedInputProps == null ? void 0 : ForwardedInputProps.endAdornment]\n })\n });\n const fieldProps = _extends({}, forwardedFieldProps, {\n sx: [{\n '& .clearButton': {\n opacity: 1\n },\n '@media (pointer: fine)': {\n '& .clearButton': {\n opacity: 0\n },\n '&:hover, &:focus-within': {\n '.clearButton': {\n opacity: 1\n }\n }\n }\n }, ...(Array.isArray(forwardedFieldProps.sx) ? forwardedFieldProps.sx : [forwardedFieldProps.sx])]\n });\n return {\n InputProps,\n fieldProps\n };\n};","import { createSvgIcon } from '@mui/material/utils';\nimport * as React from 'react';\n\n/**\n * @ignore - internal component.\n */\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nimport { jsxs as _jsxs } from \"react/jsx-runtime\";\nexport const ArrowDropDownIcon = createSvgIcon( /*#__PURE__*/_jsx(\"path\", {\n d: \"M7 10l5 5 5-5z\"\n}), 'ArrowDropDown');\n\n/**\n * @ignore - internal component.\n */\nexport const ArrowLeftIcon = createSvgIcon( /*#__PURE__*/_jsx(\"path\", {\n d: \"M15.41 16.59L10.83 12l4.58-4.59L14 6l-6 6 6 6 1.41-1.41z\"\n}), 'ArrowLeft');\n\n/**\n * @ignore - internal component.\n */\nexport const ArrowRightIcon = createSvgIcon( /*#__PURE__*/_jsx(\"path\", {\n d: \"M8.59 16.59L13.17 12 8.59 7.41 10 6l6 6-6 6-1.41-1.41z\"\n}), 'ArrowRight');\n\n/**\n * @ignore - internal component.\n */\nexport const CalendarIcon = createSvgIcon( /*#__PURE__*/_jsx(\"path\", {\n d: \"M17 12h-5v5h5v-5zM16 1v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2h-1V1h-2zm3 18H5V8h14v11z\"\n}), 'Calendar');\n\n/**\n * @ignore - internal component.\n */\nexport const ClockIcon = createSvgIcon( /*#__PURE__*/_jsxs(React.Fragment, {\n children: [/*#__PURE__*/_jsx(\"path\", {\n d: \"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z\"\n }), /*#__PURE__*/_jsx(\"path\", {\n d: \"M12.5 7H11v6l5.25 3.15.75-1.23-4.5-2.67z\"\n })]\n}), 'Clock');\n\n/**\n * @ignore - internal component.\n */\nexport const DateRangeIcon = createSvgIcon( /*#__PURE__*/_jsx(\"path\", {\n d: \"M9 11H7v2h2v-2zm4 0h-2v2h2v-2zm4 0h-2v2h2v-2zm2-7h-1V2h-2v2H8V2H6v2H5c-1.11 0-1.99.9-1.99 2L3 20c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 16H5V9h14v11z\"\n}), 'DateRange');\n\n/**\n * @ignore - internal component.\n */\nexport const TimeIcon = createSvgIcon( /*#__PURE__*/_jsxs(React.Fragment, {\n children: [/*#__PURE__*/_jsx(\"path\", {\n d: \"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z\"\n }), /*#__PURE__*/_jsx(\"path\", {\n d: \"M12.5 7H11v6l5.25 3.15.75-1.23-4.5-2.67z\"\n })]\n}), 'Time');\n\n/**\n * @ignore - internal component.\n */\nexport const ClearIcon = createSvgIcon( /*#__PURE__*/_jsx(\"path\", {\n d: \"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z\"\n}), 'Clear');","import { styled } from '@mui/material/styles';\nimport { DIALOG_WIDTH, VIEW_HEIGHT } from '../../constants/dimensions';\nexport const PickerViewRoot = styled('div')({\n overflow: 'hidden',\n width: DIALOG_WIDTH,\n maxHeight: VIEW_HEIGHT,\n display: 'flex',\n flexDirection: 'column',\n margin: '0 auto'\n});","import { unstable_generateUtilityClass as generateUtilityClass, unstable_generateUtilityClasses as generateUtilityClasses } from '@mui/utils';\nexport function getPickersArrowSwitcherUtilityClass(slot) {\n return generateUtilityClass('MuiPickersArrowSwitcher', slot);\n}\nexport const pickersArrowSwitcherClasses = generateUtilityClasses('MuiPickersArrowSwitcher', ['root', 'spacer', 'button']);","import _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nconst _excluded = [\"children\", \"className\", \"slots\", \"slotProps\", \"isNextDisabled\", \"isNextHidden\", \"onGoToNext\", \"nextLabel\", \"isPreviousDisabled\", \"isPreviousHidden\", \"onGoToPrevious\", \"previousLabel\"],\n _excluded2 = [\"ownerState\"],\n _excluded3 = [\"ownerState\"];\nimport * as React from 'react';\nimport clsx from 'clsx';\nimport Typography from '@mui/material/Typography';\nimport { useTheme, styled, useThemeProps } from '@mui/material/styles';\nimport { unstable_composeClasses as composeClasses } from '@mui/utils';\nimport { useSlotProps } from '@mui/base/utils';\nimport IconButton from '@mui/material/IconButton';\nimport { ArrowLeftIcon, ArrowRightIcon } from '../../../icons';\nimport { getPickersArrowSwitcherUtilityClass } from './pickersArrowSwitcherClasses';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nimport { jsxs as _jsxs } from \"react/jsx-runtime\";\nconst PickersArrowSwitcherRoot = styled('div', {\n name: 'MuiPickersArrowSwitcher',\n slot: 'Root',\n overridesResolver: (props, styles) => styles.root\n})({\n display: 'flex'\n});\nconst PickersArrowSwitcherSpacer = styled('div', {\n name: 'MuiPickersArrowSwitcher',\n slot: 'Spacer',\n overridesResolver: (props, styles) => styles.spacer\n})(({\n theme\n}) => ({\n width: theme.spacing(3)\n}));\nconst PickersArrowSwitcherButton = styled(IconButton, {\n name: 'MuiPickersArrowSwitcher',\n slot: 'Button',\n overridesResolver: (props, styles) => styles.button\n})(({\n ownerState\n}) => _extends({}, ownerState.hidden && {\n visibility: 'hidden'\n}));\nconst useUtilityClasses = ownerState => {\n const {\n classes\n } = ownerState;\n const slots = {\n root: ['root'],\n spacer: ['spacer'],\n button: ['button']\n };\n return composeClasses(slots, getPickersArrowSwitcherUtilityClass, classes);\n};\nexport const PickersArrowSwitcher = /*#__PURE__*/React.forwardRef(function PickersArrowSwitcher(inProps, ref) {\n var _slots$previousIconBu, _slots$nextIconButton, _slots$leftArrowIcon, _slots$rightArrowIcon;\n const theme = useTheme();\n const isRTL = theme.direction === 'rtl';\n const props = useThemeProps({\n props: inProps,\n name: 'MuiPickersArrowSwitcher'\n });\n const {\n children,\n className,\n slots,\n slotProps,\n isNextDisabled,\n isNextHidden,\n onGoToNext,\n nextLabel,\n isPreviousDisabled,\n isPreviousHidden,\n onGoToPrevious,\n previousLabel\n } = props,\n other = _objectWithoutPropertiesLoose(props, _excluded);\n const ownerState = props;\n const classes = useUtilityClasses(ownerState);\n const nextProps = {\n isDisabled: isNextDisabled,\n isHidden: isNextHidden,\n goTo: onGoToNext,\n label: nextLabel\n };\n const previousProps = {\n isDisabled: isPreviousDisabled,\n isHidden: isPreviousHidden,\n goTo: onGoToPrevious,\n label: previousLabel\n };\n const PreviousIconButton = (_slots$previousIconBu = slots == null ? void 0 : slots.previousIconButton) != null ? _slots$previousIconBu : PickersArrowSwitcherButton;\n const previousIconButtonProps = useSlotProps({\n elementType: PreviousIconButton,\n externalSlotProps: slotProps == null ? void 0 : slotProps.previousIconButton,\n additionalProps: {\n size: 'medium',\n title: previousProps.label,\n 'aria-label': previousProps.label,\n disabled: previousProps.isDisabled,\n edge: 'end',\n onClick: previousProps.goTo\n },\n ownerState: _extends({}, ownerState, {\n hidden: previousProps.isHidden\n }),\n className: classes.button\n });\n const NextIconButton = (_slots$nextIconButton = slots == null ? void 0 : slots.nextIconButton) != null ? _slots$nextIconButton : PickersArrowSwitcherButton;\n const nextIconButtonProps = useSlotProps({\n elementType: NextIconButton,\n externalSlotProps: slotProps == null ? void 0 : slotProps.nextIconButton,\n additionalProps: {\n size: 'medium',\n title: nextProps.label,\n 'aria-label': nextProps.label,\n disabled: nextProps.isDisabled,\n edge: 'start',\n onClick: nextProps.goTo\n },\n ownerState: _extends({}, ownerState, {\n hidden: nextProps.isHidden\n }),\n className: classes.button\n });\n const LeftArrowIcon = (_slots$leftArrowIcon = slots == null ? void 0 : slots.leftArrowIcon) != null ? _slots$leftArrowIcon : ArrowLeftIcon;\n // The spread is here to avoid this bug mui/material-ui#34056\n const _useSlotProps = useSlotProps({\n elementType: LeftArrowIcon,\n externalSlotProps: slotProps == null ? void 0 : slotProps.leftArrowIcon,\n additionalProps: {\n fontSize: 'inherit'\n },\n ownerState: undefined\n }),\n leftArrowIconProps = _objectWithoutPropertiesLoose(_useSlotProps, _excluded2);\n const RightArrowIcon = (_slots$rightArrowIcon = slots == null ? void 0 : slots.rightArrowIcon) != null ? _slots$rightArrowIcon : ArrowRightIcon;\n // The spread is here to avoid this bug mui/material-ui#34056\n const _useSlotProps2 = useSlotProps({\n elementType: RightArrowIcon,\n externalSlotProps: slotProps == null ? void 0 : slotProps.rightArrowIcon,\n additionalProps: {\n fontSize: 'inherit'\n },\n ownerState: undefined\n }),\n rightArrowIconProps = _objectWithoutPropertiesLoose(_useSlotProps2, _excluded3);\n return /*#__PURE__*/_jsxs(PickersArrowSwitcherRoot, _extends({\n ref: ref,\n className: clsx(classes.root, className),\n ownerState: ownerState\n }, other, {\n children: [/*#__PURE__*/_jsx(PreviousIconButton, _extends({}, previousIconButtonProps, {\n children: isRTL ? /*#__PURE__*/_jsx(RightArrowIcon, _extends({}, rightArrowIconProps)) : /*#__PURE__*/_jsx(LeftArrowIcon, _extends({}, leftArrowIconProps))\n })), children ? /*#__PURE__*/_jsx(Typography, {\n variant: \"subtitle1\",\n component: \"span\",\n children: children\n }) : /*#__PURE__*/_jsx(PickersArrowSwitcherSpacer, {\n className: classes.spacer,\n ownerState: ownerState\n }), /*#__PURE__*/_jsx(NextIconButton, _extends({}, nextIconButtonProps, {\n children: isRTL ? /*#__PURE__*/_jsx(LeftArrowIcon, _extends({}, leftArrowIconProps)) : /*#__PURE__*/_jsx(RightArrowIcon, _extends({}, rightArrowIconProps))\n }))]\n }));\n});","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport * as React from 'react';\nimport clsx from 'clsx';\nimport Typography from '@mui/material/Typography';\nimport { styled, useThemeProps } from '@mui/material/styles';\nimport { unstable_composeClasses as composeClasses } from '@mui/utils';\nimport { getPickersToolbarUtilityClass } from './pickersToolbarClasses';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nimport { jsxs as _jsxs } from \"react/jsx-runtime\";\nconst useUtilityClasses = ownerState => {\n const {\n classes,\n isLandscape\n } = ownerState;\n const slots = {\n root: ['root'],\n content: ['content'],\n penIconButton: ['penIconButton', isLandscape && 'penIconButtonLandscape']\n };\n return composeClasses(slots, getPickersToolbarUtilityClass, classes);\n};\nconst PickersToolbarRoot = styled('div', {\n name: 'MuiPickersToolbar',\n slot: 'Root',\n overridesResolver: (props, styles) => styles.root\n})(({\n theme,\n ownerState\n}) => _extends({\n display: 'flex',\n flexDirection: 'column',\n alignItems: 'flex-start',\n justifyContent: 'space-between',\n padding: theme.spacing(2, 3)\n}, ownerState.isLandscape && {\n height: 'auto',\n maxWidth: 160,\n padding: 16,\n justifyContent: 'flex-start',\n flexWrap: 'wrap'\n}));\nconst PickersToolbarContent = styled('div', {\n name: 'MuiPickersToolbar',\n slot: 'Content',\n overridesResolver: (props, styles) => styles.content\n})(({\n ownerState\n}) => {\n var _ownerState$landscape;\n return {\n display: 'flex',\n flexWrap: 'wrap',\n width: '100%',\n justifyContent: ownerState.isLandscape ? 'flex-start' : 'space-between',\n flexDirection: ownerState.isLandscape ? (_ownerState$landscape = ownerState.landscapeDirection) != null ? _ownerState$landscape : 'column' : 'row',\n flex: 1,\n alignItems: ownerState.isLandscape ? 'flex-start' : 'center'\n };\n});\nexport const PickersToolbar = /*#__PURE__*/React.forwardRef(function PickersToolbar(inProps, ref) {\n const props = useThemeProps({\n props: inProps,\n name: 'MuiPickersToolbar'\n });\n const {\n children,\n className,\n toolbarTitle,\n hidden,\n titleId\n } = props;\n const ownerState = props;\n const classes = useUtilityClasses(ownerState);\n if (hidden) {\n return null;\n }\n return /*#__PURE__*/_jsxs(PickersToolbarRoot, {\n ref: ref,\n className: clsx(classes.root, className),\n ownerState: ownerState,\n children: [/*#__PURE__*/_jsx(Typography, {\n color: \"text.secondary\",\n variant: \"overline\",\n id: titleId,\n children: toolbarTitle\n }), /*#__PURE__*/_jsx(PickersToolbarContent, {\n className: classes.content,\n ownerState: ownerState,\n children: children\n })]\n });\n});","import { unstable_generateUtilityClass as generateUtilityClass, unstable_generateUtilityClasses as generateUtilityClasses } from '@mui/utils';\nexport function getPickersToolbarUtilityClass(slot) {\n return generateUtilityClass('MuiPickersToolbar', slot);\n}\nexport const pickersToolbarClasses = generateUtilityClasses('MuiPickersToolbar', ['root', 'content']);","export const DAY_SIZE = 36;\nexport const DAY_MARGIN = 2;\nexport const DIALOG_WIDTH = 320;\nexport const MAX_CALENDAR_HEIGHT = 280;\nexport const VIEW_HEIGHT = 334;\nexport const DIGITAL_CLOCK_VIEW_HEIGHT = 232;\nexport const MULTI_SECTION_CLOCK_SECTION_WIDTH = 48;","import * as React from 'react';\nimport { useUtils } from './useUtils';\nimport { getMeridiem, convertToMeridiem } from '../utils/time-utils';\nexport function useNextMonthDisabled(month, {\n disableFuture,\n maxDate,\n timezone\n}) {\n const utils = useUtils();\n return React.useMemo(() => {\n const now = utils.dateWithTimezone(undefined, timezone);\n const lastEnabledMonth = utils.startOfMonth(disableFuture && utils.isBefore(now, maxDate) ? now : maxDate);\n return !utils.isAfter(lastEnabledMonth, month);\n }, [disableFuture, maxDate, month, utils, timezone]);\n}\nexport function usePreviousMonthDisabled(month, {\n disablePast,\n minDate,\n timezone\n}) {\n const utils = useUtils();\n return React.useMemo(() => {\n const now = utils.dateWithTimezone(undefined, timezone);\n const firstEnabledMonth = utils.startOfMonth(disablePast && utils.isAfter(now, minDate) ? now : minDate);\n return !utils.isBefore(firstEnabledMonth, month);\n }, [disablePast, minDate, month, utils, timezone]);\n}\nexport function useMeridiemMode(date, ampm, onChange, selectionState) {\n const utils = useUtils();\n const meridiemMode = getMeridiem(date, utils);\n const handleMeridiemChange = React.useCallback(mode => {\n const timeWithMeridiem = date == null ? null : convertToMeridiem(date, mode, Boolean(ampm), utils);\n onChange(timeWithMeridiem, selectionState != null ? selectionState : 'partial');\n }, [ampm, date, onChange, selectionState, utils]);\n return {\n meridiemMode,\n handleMeridiemChange\n };\n}","import useMediaQuery from '@mui/material/useMediaQuery';\nconst PREFERS_REDUCED_MOTION = '@media (prefers-reduced-motion: reduce)';\n\n// detect if user agent has Android version < 10 or iOS version < 13\nconst mobileVersionMatches = typeof navigator !== 'undefined' && navigator.userAgent.match(/android\\s(\\d+)|OS\\s(\\d+)/i);\nconst androidVersion = mobileVersionMatches && mobileVersionMatches[1] ? parseInt(mobileVersionMatches[1], 10) : null;\nconst iOSVersion = mobileVersionMatches && mobileVersionMatches[2] ? parseInt(mobileVersionMatches[2], 10) : null;\nexport const slowAnimationDevices = androidVersion && androidVersion < 10 || iOSVersion && iOSVersion < 13 || false;\nexport const useDefaultReduceAnimations = () => {\n const prefersReduced = useMediaQuery(PREFERS_REDUCED_MOTION, {\n defaultMatches: false\n });\n return prefersReduced || slowAnimationDevices;\n};","import { unstable_generateUtilityClass as generateUtilityClass, unstable_generateUtilityClasses as generateUtilityClasses } from '@mui/utils';\nexport function getPickersPopperUtilityClass(slot) {\n return generateUtilityClass('MuiPickersPopper', slot);\n}\nexport const pickersPopperClasses = generateUtilityClasses('MuiPickersPopper', ['root', 'paper']);","import _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nconst _excluded = [\"PaperComponent\", \"popperPlacement\", \"ownerState\", \"children\", \"paperSlotProps\", \"paperClasses\", \"onPaperClick\", \"onPaperTouchStart\"];\nimport * as React from 'react';\nimport { useSlotProps } from '@mui/base/utils';\nimport Grow from '@mui/material/Grow';\nimport Fade from '@mui/material/Fade';\nimport MuiPaper from '@mui/material/Paper';\nimport MuiPopper from '@mui/material/Popper';\nimport BaseFocusTrap from '@mui/material/Unstable_TrapFocus';\nimport { unstable_useForkRef as useForkRef, unstable_useEventCallback as useEventCallback, unstable_ownerDocument as ownerDocument, unstable_composeClasses as composeClasses } from '@mui/utils';\nimport { styled, useThemeProps } from '@mui/material/styles';\nimport { getPickersPopperUtilityClass } from './pickersPopperClasses';\nimport { getActiveElement } from '../utils/utils';\nimport { useDefaultReduceAnimations } from '../hooks/useDefaultReduceAnimations';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst useUtilityClasses = ownerState => {\n const {\n classes\n } = ownerState;\n const slots = {\n root: ['root'],\n paper: ['paper']\n };\n return composeClasses(slots, getPickersPopperUtilityClass, classes);\n};\nconst PickersPopperRoot = styled(MuiPopper, {\n name: 'MuiPickersPopper',\n slot: 'Root',\n overridesResolver: (_, styles) => styles.root\n})(({\n theme\n}) => ({\n zIndex: theme.zIndex.modal\n}));\nconst PickersPopperPaper = styled(MuiPaper, {\n name: 'MuiPickersPopper',\n slot: 'Paper',\n overridesResolver: (_, styles) => styles.paper\n})(({\n ownerState\n}) => _extends({\n outline: 0,\n transformOrigin: 'top center'\n}, ownerState.placement.includes('top') && {\n transformOrigin: 'bottom center'\n}));\nfunction clickedRootScrollbar(event, doc) {\n return doc.documentElement.clientWidth < event.clientX || doc.documentElement.clientHeight < event.clientY;\n}\n/**\n * Based on @mui/material/ClickAwayListener without the customization.\n * We can probably strip away even more since children won't be portaled.\n * @param {boolean} active Only listen to clicks when the popper is opened.\n * @param {(event: MouseEvent | TouchEvent) => void} onClickAway The callback to call when clicking outside the popper.\n * @returns {Array} The ref and event handler to listen to the outside clicks.\n */\nfunction useClickAwayListener(active, onClickAway) {\n const movedRef = React.useRef(false);\n const syntheticEventRef = React.useRef(false);\n const nodeRef = React.useRef(null);\n const activatedRef = React.useRef(false);\n React.useEffect(() => {\n if (!active) {\n return undefined;\n }\n\n // Ensure that this hook is not \"activated\" synchronously.\n // https://github.com/facebook/react/issues/20074\n function armClickAwayListener() {\n activatedRef.current = true;\n }\n document.addEventListener('mousedown', armClickAwayListener, true);\n document.addEventListener('touchstart', armClickAwayListener, true);\n return () => {\n document.removeEventListener('mousedown', armClickAwayListener, true);\n document.removeEventListener('touchstart', armClickAwayListener, true);\n activatedRef.current = false;\n };\n }, [active]);\n\n // The handler doesn't take event.defaultPrevented into account:\n //\n // event.preventDefault() is meant to stop default behaviors like\n // clicking a checkbox to check it, hitting a button to submit a form,\n // and hitting left arrow to move the cursor in a text input etc.\n // Only special HTML elements have these default behaviors.\n const handleClickAway = useEventCallback(event => {\n if (!activatedRef.current) {\n return;\n }\n\n // Given developers can stop the propagation of the synthetic event,\n // we can only be confident with a positive value.\n const insideReactTree = syntheticEventRef.current;\n syntheticEventRef.current = false;\n const doc = ownerDocument(nodeRef.current);\n\n // 1. IE11 support, which trigger the handleClickAway even after the unbind\n // 2. The child might render null.\n // 3. Behave like a blur listener.\n if (!nodeRef.current ||\n // is a TouchEvent?\n 'clientX' in event && clickedRootScrollbar(event, doc)) {\n return;\n }\n\n // Do not act if user performed touchmove\n if (movedRef.current) {\n movedRef.current = false;\n return;\n }\n let insideDOM;\n\n // If not enough, can use https://github.com/DieterHolvoet/event-propagation-path/blob/master/propagationPath.js\n if (event.composedPath) {\n insideDOM = event.composedPath().indexOf(nodeRef.current) > -1;\n } else {\n insideDOM = !doc.documentElement.contains(event.target) || nodeRef.current.contains(event.target);\n }\n if (!insideDOM && !insideReactTree) {\n onClickAway(event);\n }\n });\n\n // Keep track of mouse/touch events that bubbled up through the portal.\n const handleSynthetic = () => {\n syntheticEventRef.current = true;\n };\n React.useEffect(() => {\n if (active) {\n const doc = ownerDocument(nodeRef.current);\n const handleTouchMove = () => {\n movedRef.current = true;\n };\n doc.addEventListener('touchstart', handleClickAway);\n doc.addEventListener('touchmove', handleTouchMove);\n return () => {\n doc.removeEventListener('touchstart', handleClickAway);\n doc.removeEventListener('touchmove', handleTouchMove);\n };\n }\n return undefined;\n }, [active, handleClickAway]);\n React.useEffect(() => {\n // TODO This behavior is not tested automatically\n // It's unclear whether this is due to different update semantics in test (batched in act() vs discrete on click).\n // Or if this is a timing related issues due to different Transition components\n // Once we get rid of all the manual scheduling (e.g. setTimeout(update, 0)) we can revisit this code+test.\n if (active) {\n const doc = ownerDocument(nodeRef.current);\n doc.addEventListener('click', handleClickAway);\n return () => {\n doc.removeEventListener('click', handleClickAway);\n // cleanup `handleClickAway`\n syntheticEventRef.current = false;\n };\n }\n return undefined;\n }, [active, handleClickAway]);\n return [nodeRef, handleSynthetic, handleSynthetic];\n}\nconst PickersPopperPaperWrapper = /*#__PURE__*/React.forwardRef((props, ref) => {\n const {\n PaperComponent,\n popperPlacement,\n ownerState: inOwnerState,\n children,\n paperSlotProps,\n paperClasses,\n onPaperClick,\n onPaperTouchStart\n // picks up the style props provided by `Transition`\n // https://mui.com/material-ui/transitions/#child-requirement\n } = props,\n other = _objectWithoutPropertiesLoose(props, _excluded);\n const ownerState = _extends({}, inOwnerState, {\n placement: popperPlacement\n });\n const paperProps = useSlotProps({\n elementType: PaperComponent,\n externalSlotProps: paperSlotProps,\n additionalProps: {\n tabIndex: -1,\n elevation: 8,\n ref\n },\n className: paperClasses,\n ownerState\n });\n return /*#__PURE__*/_jsx(PaperComponent, _extends({}, other, paperProps, {\n onClick: event => {\n var _paperProps$onClick;\n onPaperClick(event);\n (_paperProps$onClick = paperProps.onClick) == null || _paperProps$onClick.call(paperProps, event);\n },\n onTouchStart: event => {\n var _paperProps$onTouchSt;\n onPaperTouchStart(event);\n (_paperProps$onTouchSt = paperProps.onTouchStart) == null || _paperProps$onTouchSt.call(paperProps, event);\n },\n ownerState: ownerState,\n children: children\n }));\n});\nexport function PickersPopper(inProps) {\n var _slots$desktopTransit, _slots$desktopTrapFoc, _slots$desktopPaper, _slots$popper;\n const props = useThemeProps({\n props: inProps,\n name: 'MuiPickersPopper'\n });\n const {\n anchorEl,\n children,\n containerRef = null,\n shouldRestoreFocus,\n onBlur,\n onDismiss,\n open,\n role,\n placement,\n slots,\n slotProps,\n reduceAnimations: inReduceAnimations\n } = props;\n React.useEffect(() => {\n function handleKeyDown(nativeEvent) {\n // IE11, Edge (prior to using Blink?) use 'Esc'\n if (open && (nativeEvent.key === 'Escape' || nativeEvent.key === 'Esc')) {\n onDismiss();\n }\n }\n document.addEventListener('keydown', handleKeyDown);\n return () => {\n document.removeEventListener('keydown', handleKeyDown);\n };\n }, [onDismiss, open]);\n const lastFocusedElementRef = React.useRef(null);\n React.useEffect(() => {\n if (role === 'tooltip' || shouldRestoreFocus && !shouldRestoreFocus()) {\n return;\n }\n if (open) {\n lastFocusedElementRef.current = getActiveElement(document);\n } else if (lastFocusedElementRef.current && lastFocusedElementRef.current instanceof HTMLElement) {\n // make sure the button is flushed with updated label, before returning focus to it\n // avoids issue, where screen reader could fail to announce selected date after selection\n setTimeout(() => {\n if (lastFocusedElementRef.current instanceof HTMLElement) {\n lastFocusedElementRef.current.focus();\n }\n });\n }\n }, [open, role, shouldRestoreFocus]);\n const [clickAwayRef, onPaperClick, onPaperTouchStart] = useClickAwayListener(open, onBlur != null ? onBlur : onDismiss);\n const paperRef = React.useRef(null);\n const handleRef = useForkRef(paperRef, containerRef);\n const handlePaperRef = useForkRef(handleRef, clickAwayRef);\n const ownerState = props;\n const classes = useUtilityClasses(ownerState);\n const defaultReduceAnimations = useDefaultReduceAnimations();\n const reduceAnimations = inReduceAnimations != null ? inReduceAnimations : defaultReduceAnimations;\n const handleKeyDown = event => {\n if (event.key === 'Escape') {\n // stop the propagation to avoid closing parent modal\n event.stopPropagation();\n onDismiss();\n }\n };\n const Transition = ((_slots$desktopTransit = slots == null ? void 0 : slots.desktopTransition) != null ? _slots$desktopTransit : reduceAnimations) ? Fade : Grow;\n const FocusTrap = (_slots$desktopTrapFoc = slots == null ? void 0 : slots.desktopTrapFocus) != null ? _slots$desktopTrapFoc : BaseFocusTrap;\n const Paper = (_slots$desktopPaper = slots == null ? void 0 : slots.desktopPaper) != null ? _slots$desktopPaper : PickersPopperPaper;\n const Popper = (_slots$popper = slots == null ? void 0 : slots.popper) != null ? _slots$popper : PickersPopperRoot;\n const popperProps = useSlotProps({\n elementType: Popper,\n externalSlotProps: slotProps == null ? void 0 : slotProps.popper,\n additionalProps: {\n transition: true,\n role,\n open,\n anchorEl,\n placement,\n onKeyDown: handleKeyDown\n },\n className: classes.root,\n ownerState: props\n });\n return /*#__PURE__*/_jsx(Popper, _extends({}, popperProps, {\n children: ({\n TransitionProps,\n placement: popperPlacement\n }) => /*#__PURE__*/_jsx(FocusTrap, _extends({\n open: open,\n disableAutoFocus: true\n // pickers are managing focus position manually\n // without this prop the focus is returned to the button before `aria-label` is updated\n // which would force screen readers to read too old label\n ,\n disableRestoreFocus: true,\n disableEnforceFocus: role === 'tooltip',\n isEnabled: () => true\n }, slotProps == null ? void 0 : slotProps.desktopTrapFocus, {\n children: /*#__PURE__*/_jsx(Transition, _extends({}, TransitionProps, slotProps == null ? void 0 : slotProps.desktopTransition, {\n children: /*#__PURE__*/_jsx(PickersPopperPaperWrapper, {\n PaperComponent: Paper,\n ownerState: ownerState,\n popperPlacement: popperPlacement,\n ref: handlePaperRef,\n onPaperClick: onPaperClick,\n onPaperTouchStart: onPaperTouchStart,\n paperClasses: classes.paper,\n paperSlotProps: slotProps == null ? void 0 : slotProps.desktopPaper,\n children: children\n })\n }))\n }))\n }));\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nconst _excluded = [\"props\", \"getOpenDialogAriaText\"],\n _excluded2 = [\"ownerState\"],\n _excluded3 = [\"ownerState\"];\nimport * as React from 'react';\nimport { useSlotProps } from '@mui/base/utils';\nimport MuiInputAdornment from '@mui/material/InputAdornment';\nimport IconButton from '@mui/material/IconButton';\nimport useForkRef from '@mui/utils/useForkRef';\nimport useId from '@mui/utils/useId';\nimport { PickersPopper } from '../../components/PickersPopper';\nimport { useUtils } from '../useUtils';\nimport { usePicker } from '../usePicker';\nimport { LocalizationProvider } from '../../../LocalizationProvider';\nimport { PickersLayout } from '../../../PickersLayout';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nimport { jsxs as _jsxs } from \"react/jsx-runtime\";\n/**\n * Hook managing all the single-date desktop pickers:\n * - DesktopDatePicker\n * - DesktopDateTimePicker\n * - DesktopTimePicker\n */\nexport const useDesktopPicker = _ref => {\n var _innerSlotProps$toolb, _innerSlotProps$toolb2, _slots$inputAdornment, _slots$openPickerButt, _slots$layout;\n let {\n props,\n getOpenDialogAriaText\n } = _ref,\n pickerParams = _objectWithoutPropertiesLoose(_ref, _excluded);\n const {\n slots,\n slotProps: innerSlotProps,\n className,\n sx,\n format,\n formatDensity,\n timezone,\n name,\n label,\n inputRef,\n readOnly,\n disabled,\n autoFocus,\n localeText,\n reduceAnimations\n } = props;\n const utils = useUtils();\n const internalInputRef = React.useRef(null);\n const containerRef = React.useRef(null);\n const labelId = useId();\n const isToolbarHidden = (_innerSlotProps$toolb = innerSlotProps == null || (_innerSlotProps$toolb2 = innerSlotProps.toolbar) == null ? void 0 : _innerSlotProps$toolb2.hidden) != null ? _innerSlotProps$toolb : false;\n const {\n open,\n actions,\n hasUIView,\n layoutProps,\n renderCurrentView,\n shouldRestoreFocus,\n fieldProps: pickerFieldProps\n } = usePicker(_extends({}, pickerParams, {\n props,\n inputRef: internalInputRef,\n autoFocusView: true,\n additionalViewProps: {},\n wrapperVariant: 'desktop'\n }));\n const InputAdornment = (_slots$inputAdornment = slots.inputAdornment) != null ? _slots$inputAdornment : MuiInputAdornment;\n const _useSlotProps = useSlotProps({\n elementType: InputAdornment,\n externalSlotProps: innerSlotProps == null ? void 0 : innerSlotProps.inputAdornment,\n additionalProps: {\n position: 'end'\n },\n ownerState: props\n }),\n inputAdornmentProps = _objectWithoutPropertiesLoose(_useSlotProps, _excluded2);\n const OpenPickerButton = (_slots$openPickerButt = slots.openPickerButton) != null ? _slots$openPickerButt : IconButton;\n const _useSlotProps2 = useSlotProps({\n elementType: OpenPickerButton,\n externalSlotProps: innerSlotProps == null ? void 0 : innerSlotProps.openPickerButton,\n additionalProps: {\n disabled: disabled || readOnly,\n onClick: open ? actions.onClose : actions.onOpen,\n 'aria-label': getOpenDialogAriaText(pickerFieldProps.value, utils),\n edge: inputAdornmentProps.position\n },\n ownerState: props\n }),\n openPickerButtonProps = _objectWithoutPropertiesLoose(_useSlotProps2, _excluded3);\n const OpenPickerIcon = slots.openPickerIcon;\n const Field = slots.field;\n const fieldProps = useSlotProps({\n elementType: Field,\n externalSlotProps: innerSlotProps == null ? void 0 : innerSlotProps.field,\n additionalProps: _extends({}, pickerFieldProps, isToolbarHidden && {\n id: labelId\n }, {\n readOnly,\n disabled,\n className,\n sx,\n format,\n formatDensity,\n timezone,\n label,\n name,\n autoFocus: autoFocus && !props.open,\n focused: open ? true : undefined\n }),\n ownerState: props\n });\n\n // TODO: Move to `useSlotProps` when https://github.com/mui/material-ui/pull/35088 will be merged\n if (hasUIView) {\n fieldProps.InputProps = _extends({}, fieldProps.InputProps, {\n ref: containerRef\n }, !props.disableOpenPicker && {\n [`${inputAdornmentProps.position}Adornment`]: /*#__PURE__*/_jsx(InputAdornment, _extends({}, inputAdornmentProps, {\n children: /*#__PURE__*/_jsx(OpenPickerButton, _extends({}, openPickerButtonProps, {\n children: /*#__PURE__*/_jsx(OpenPickerIcon, _extends({}, innerSlotProps == null ? void 0 : innerSlotProps.openPickerIcon))\n }))\n }))\n });\n }\n const slotsForField = _extends({\n textField: slots.textField,\n clearIcon: slots.clearIcon,\n clearButton: slots.clearButton\n }, fieldProps.slots);\n const Layout = (_slots$layout = slots.layout) != null ? _slots$layout : PickersLayout;\n const handleInputRef = useForkRef(internalInputRef, fieldProps.inputRef, inputRef);\n let labelledById = labelId;\n if (isToolbarHidden) {\n if (label) {\n labelledById = `${labelId}-label`;\n } else {\n labelledById = undefined;\n }\n }\n const slotProps = _extends({}, innerSlotProps, {\n toolbar: _extends({}, innerSlotProps == null ? void 0 : innerSlotProps.toolbar, {\n titleId: labelId\n }),\n popper: _extends({\n 'aria-labelledby': labelledById\n }, innerSlotProps == null ? void 0 : innerSlotProps.popper)\n });\n const renderPicker = () => /*#__PURE__*/_jsxs(LocalizationProvider, {\n localeText: localeText,\n children: [/*#__PURE__*/_jsx(Field, _extends({}, fieldProps, {\n slots: slotsForField,\n slotProps: slotProps,\n inputRef: handleInputRef\n })), /*#__PURE__*/_jsx(PickersPopper, _extends({\n role: \"dialog\",\n placement: \"bottom-start\",\n anchorEl: containerRef.current\n }, actions, {\n open: open,\n slots: slots,\n slotProps: slotProps,\n shouldRestoreFocus: shouldRestoreFocus,\n reduceAnimations: reduceAnimations,\n children: /*#__PURE__*/_jsx(Layout, _extends({}, layoutProps, slotProps == null ? void 0 : slotProps.layout, {\n slots: slots,\n slotProps: slotProps,\n children: renderCurrentView()\n }))\n }))]\n });\n return {\n renderPicker\n };\n};","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport * as React from 'react';\nimport useControlled from '@mui/utils/useControlled';\nimport { useTheme } from '@mui/material/styles';\nimport { useUtils, useLocaleText, useLocalizationContext } from '../useUtils';\nimport { addPositionPropertiesToSections, splitFormatIntoSections, mergeDateIntoReferenceDate, getSectionsBoundaries, validateSections, getDateFromDateSections } from './useField.utils';\nimport { useValueWithTimezone } from '../useValueWithTimezone';\nimport { getSectionTypeGranularity } from '../../utils/getDefaultReferenceDate';\nexport const useFieldState = params => {\n const utils = useUtils();\n const localeText = useLocaleText();\n const adapter = useLocalizationContext();\n const theme = useTheme();\n const isRTL = theme.direction === 'rtl';\n const {\n valueManager,\n fieldValueManager,\n valueType,\n validator,\n internalProps,\n internalProps: {\n value: valueProp,\n defaultValue,\n referenceDate: referenceDateProp,\n onChange,\n format,\n formatDensity = 'dense',\n selectedSections: selectedSectionsProp,\n onSelectedSectionsChange,\n shouldRespectLeadingZeros = false,\n timezone: timezoneProp\n }\n } = params;\n const {\n timezone,\n value: valueFromTheOutside,\n handleValueChange\n } = useValueWithTimezone({\n timezone: timezoneProp,\n value: valueProp,\n defaultValue,\n onChange,\n valueManager\n });\n const sectionsValueBoundaries = React.useMemo(() => getSectionsBoundaries(utils, timezone), [utils, timezone]);\n const getSectionsFromValue = React.useCallback((value, fallbackSections = null) => fieldValueManager.getSectionsFromValue(utils, value, fallbackSections, isRTL, date => splitFormatIntoSections(utils, timezone, localeText, format, date, formatDensity, shouldRespectLeadingZeros, isRTL)), [fieldValueManager, format, localeText, isRTL, shouldRespectLeadingZeros, utils, formatDensity, timezone]);\n const placeholder = React.useMemo(() => fieldValueManager.getValueStrFromSections(getSectionsFromValue(valueManager.emptyValue), isRTL), [fieldValueManager, getSectionsFromValue, valueManager.emptyValue, isRTL]);\n const [state, setState] = React.useState(() => {\n const sections = getSectionsFromValue(valueFromTheOutside);\n validateSections(sections, valueType);\n const stateWithoutReferenceDate = {\n sections,\n value: valueFromTheOutside,\n referenceValue: valueManager.emptyValue,\n tempValueStrAndroid: null\n };\n const granularity = getSectionTypeGranularity(sections);\n const referenceValue = valueManager.getInitialReferenceValue({\n referenceDate: referenceDateProp,\n value: valueFromTheOutside,\n utils,\n props: internalProps,\n granularity,\n timezone\n });\n return _extends({}, stateWithoutReferenceDate, {\n referenceValue\n });\n });\n const [selectedSections, innerSetSelectedSections] = useControlled({\n controlled: selectedSectionsProp,\n default: null,\n name: 'useField',\n state: 'selectedSectionIndexes'\n });\n const setSelectedSections = newSelectedSections => {\n innerSetSelectedSections(newSelectedSections);\n onSelectedSectionsChange == null || onSelectedSectionsChange(newSelectedSections);\n setState(prevState => _extends({}, prevState, {\n selectedSectionQuery: null\n }));\n };\n const selectedSectionIndexes = React.useMemo(() => {\n if (selectedSections == null) {\n return null;\n }\n if (selectedSections === 'all') {\n return {\n startIndex: 0,\n endIndex: state.sections.length - 1,\n shouldSelectBoundarySelectors: true\n };\n }\n if (typeof selectedSections === 'number') {\n return {\n startIndex: selectedSections,\n endIndex: selectedSections\n };\n }\n if (typeof selectedSections === 'string') {\n const selectedSectionIndex = state.sections.findIndex(section => section.type === selectedSections);\n return {\n startIndex: selectedSectionIndex,\n endIndex: selectedSectionIndex\n };\n }\n return selectedSections;\n }, [selectedSections, state.sections]);\n const publishValue = ({\n value,\n referenceValue,\n sections\n }) => {\n setState(prevState => _extends({}, prevState, {\n sections,\n value,\n referenceValue,\n tempValueStrAndroid: null\n }));\n if (valueManager.areValuesEqual(utils, state.value, value)) {\n return;\n }\n const context = {\n validationError: validator({\n adapter,\n value,\n props: _extends({}, internalProps, {\n value,\n timezone\n })\n })\n };\n handleValueChange(value, context);\n };\n const setSectionValue = (sectionIndex, newSectionValue) => {\n const newSections = [...state.sections];\n newSections[sectionIndex] = _extends({}, newSections[sectionIndex], {\n value: newSectionValue,\n modified: true\n });\n return addPositionPropertiesToSections(newSections, isRTL);\n };\n const clearValue = () => {\n publishValue({\n value: valueManager.emptyValue,\n referenceValue: state.referenceValue,\n sections: getSectionsFromValue(valueManager.emptyValue)\n });\n };\n const clearActiveSection = () => {\n if (selectedSectionIndexes == null) {\n return;\n }\n const activeSection = state.sections[selectedSectionIndexes.startIndex];\n const activeDateManager = fieldValueManager.getActiveDateManager(utils, state, activeSection);\n const nonEmptySectionCountBefore = activeDateManager.getSections(state.sections).filter(section => section.value !== '').length;\n const hasNoOtherNonEmptySections = nonEmptySectionCountBefore === (activeSection.value === '' ? 0 : 1);\n const newSections = setSectionValue(selectedSectionIndexes.startIndex, '');\n const newActiveDate = hasNoOtherNonEmptySections ? null : utils.date(new Date(''));\n const newValues = activeDateManager.getNewValuesFromNewActiveDate(newActiveDate);\n if ((newActiveDate != null && !utils.isValid(newActiveDate)) !== (activeDateManager.date != null && !utils.isValid(activeDateManager.date))) {\n publishValue(_extends({}, newValues, {\n sections: newSections\n }));\n } else {\n setState(prevState => _extends({}, prevState, newValues, {\n sections: newSections,\n tempValueStrAndroid: null\n }));\n }\n };\n const updateValueFromValueStr = valueStr => {\n const parseDateStr = (dateStr, referenceDate) => {\n const date = utils.parse(dateStr, format);\n if (date == null || !utils.isValid(date)) {\n return null;\n }\n const sections = splitFormatIntoSections(utils, timezone, localeText, format, date, formatDensity, shouldRespectLeadingZeros, isRTL);\n return mergeDateIntoReferenceDate(utils, timezone, date, sections, referenceDate, false);\n };\n const newValue = fieldValueManager.parseValueStr(valueStr, state.referenceValue, parseDateStr);\n const newReferenceValue = fieldValueManager.updateReferenceValue(utils, newValue, state.referenceValue);\n publishValue({\n value: newValue,\n referenceValue: newReferenceValue,\n sections: getSectionsFromValue(newValue, state.sections)\n });\n };\n const updateSectionValue = ({\n activeSection,\n newSectionValue,\n shouldGoToNextSection\n }) => {\n /**\n * 1. Decide which section should be focused\n */\n if (shouldGoToNextSection && selectedSectionIndexes && selectedSectionIndexes.startIndex < state.sections.length - 1) {\n setSelectedSections(selectedSectionIndexes.startIndex + 1);\n } else if (selectedSectionIndexes && selectedSectionIndexes.startIndex !== selectedSectionIndexes.endIndex) {\n setSelectedSections(selectedSectionIndexes.startIndex);\n }\n\n /**\n * 2. Try to build a valid date from the new section value\n */\n const activeDateManager = fieldValueManager.getActiveDateManager(utils, state, activeSection);\n const newSections = setSectionValue(selectedSectionIndexes.startIndex, newSectionValue);\n const newActiveDateSections = activeDateManager.getSections(newSections);\n const newActiveDate = getDateFromDateSections(utils, newActiveDateSections);\n let values;\n let shouldPublish;\n\n /**\n * If the new date is valid,\n * Then we merge the value of the modified sections into the reference date.\n * This makes sure that we don't lose some information of the initial date (like the time on a date field).\n */\n if (newActiveDate != null && utils.isValid(newActiveDate)) {\n const mergedDate = mergeDateIntoReferenceDate(utils, timezone, newActiveDate, newActiveDateSections, activeDateManager.referenceDate, true);\n values = activeDateManager.getNewValuesFromNewActiveDate(mergedDate);\n shouldPublish = true;\n } else {\n values = activeDateManager.getNewValuesFromNewActiveDate(newActiveDate);\n shouldPublish = (newActiveDate != null && !utils.isValid(newActiveDate)) !== (activeDateManager.date != null && !utils.isValid(activeDateManager.date));\n }\n\n /**\n * Publish or update the internal state with the new value and sections.\n */\n if (shouldPublish) {\n return publishValue(_extends({}, values, {\n sections: newSections\n }));\n }\n return setState(prevState => _extends({}, prevState, values, {\n sections: newSections,\n tempValueStrAndroid: null\n }));\n };\n const setTempAndroidValueStr = tempValueStrAndroid => setState(prev => _extends({}, prev, {\n tempValueStrAndroid\n }));\n React.useEffect(() => {\n const sections = getSectionsFromValue(state.value);\n validateSections(sections, valueType);\n setState(prevState => _extends({}, prevState, {\n sections\n }));\n }, [format, utils.locale]); // eslint-disable-line react-hooks/exhaustive-deps\n\n React.useEffect(() => {\n let shouldUpdate = false;\n if (!valueManager.areValuesEqual(utils, state.value, valueFromTheOutside)) {\n shouldUpdate = true;\n } else {\n shouldUpdate = valueManager.getTimezone(utils, state.value) !== valueManager.getTimezone(utils, valueFromTheOutside);\n }\n if (shouldUpdate) {\n setState(prevState => _extends({}, prevState, {\n value: valueFromTheOutside,\n referenceValue: fieldValueManager.updateReferenceValue(utils, valueFromTheOutside, prevState.referenceValue),\n sections: getSectionsFromValue(valueFromTheOutside)\n }));\n }\n }, [valueFromTheOutside]); // eslint-disable-line react-hooks/exhaustive-deps\n\n return {\n state,\n selectedSectionIndexes,\n setSelectedSections,\n clearValue,\n clearActiveSection,\n updateSectionValue,\n updateValueFromValueStr,\n setTempAndroidValueStr,\n sectionsValueBoundaries,\n placeholder,\n timezone\n };\n};","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport * as React from 'react';\nimport useEventCallback from '@mui/utils/useEventCallback';\nimport { useUtils } from '../useUtils';\nimport { changeSectionValueFormat, cleanDigitSectionValue, doesSectionFormatHaveLeadingZeros, getDateSectionConfigFromFormatToken, getDaysInWeekStr, getLetterEditingOptions } from './useField.utils';\n\n/**\n * The letter editing and the numeric editing each define a `CharacterEditingApplier`.\n * This function decides what the new section value should be and if the focus should switch to the next section.\n *\n * If it returns `null`, then the section value is not updated and the focus does not move.\n */\n\n/**\n * Function called by `applyQuery` which decides:\n * - what is the new section value ?\n * - should the query used to get this value be stored for the next key press ?\n *\n * If it returns `{ sectionValue: string; shouldGoToNextSection: boolean }`,\n * Then we store the query and update the section with the new value.\n *\n * If it returns `{ saveQuery: true` },\n * Then we store the query and don't update the section.\n *\n * If it returns `{ saveQuery: false },\n * Then we do nothing.\n */\n\nconst QUERY_LIFE_DURATION_MS = 5000;\nconst isQueryResponseWithoutValue = response => response.saveQuery != null;\n\n/**\n * Update the active section value when the user pressed a key that is not a navigation key (arrow key for example).\n * This hook has two main editing behaviors\n *\n * 1. The numeric editing when the user presses a digit\n * 2. The letter editing when the user presses another key\n */\nexport const useFieldCharacterEditing = ({\n sections,\n updateSectionValue,\n sectionsValueBoundaries,\n setTempAndroidValueStr,\n timezone\n}) => {\n const utils = useUtils();\n const [query, setQuery] = React.useState(null);\n const resetQuery = useEventCallback(() => setQuery(null));\n React.useEffect(() => {\n var _sections$query$secti;\n if (query != null && ((_sections$query$secti = sections[query.sectionIndex]) == null ? void 0 : _sections$query$secti.type) !== query.sectionType) {\n resetQuery();\n }\n }, [sections, query, resetQuery]);\n React.useEffect(() => {\n if (query != null) {\n const timeout = setTimeout(() => resetQuery(), QUERY_LIFE_DURATION_MS);\n return () => {\n window.clearTimeout(timeout);\n };\n }\n return () => {};\n }, [query, resetQuery]);\n const applyQuery = ({\n keyPressed,\n sectionIndex\n }, getFirstSectionValueMatchingWithQuery, isValidQueryValue) => {\n const cleanKeyPressed = keyPressed.toLowerCase();\n const activeSection = sections[sectionIndex];\n\n // The current query targets the section being editing\n // We can try to concatenated value\n if (query != null && (!isValidQueryValue || isValidQueryValue(query.value)) && query.sectionIndex === sectionIndex) {\n const concatenatedQueryValue = `${query.value}${cleanKeyPressed}`;\n const queryResponse = getFirstSectionValueMatchingWithQuery(concatenatedQueryValue, activeSection);\n if (!isQueryResponseWithoutValue(queryResponse)) {\n setQuery({\n sectionIndex,\n value: concatenatedQueryValue,\n sectionType: activeSection.type\n });\n return queryResponse;\n }\n }\n const queryResponse = getFirstSectionValueMatchingWithQuery(cleanKeyPressed, activeSection);\n if (isQueryResponseWithoutValue(queryResponse) && !queryResponse.saveQuery) {\n resetQuery();\n return null;\n }\n setQuery({\n sectionIndex,\n value: cleanKeyPressed,\n sectionType: activeSection.type\n });\n if (isQueryResponseWithoutValue(queryResponse)) {\n return null;\n }\n return queryResponse;\n };\n const applyLetterEditing = params => {\n const findMatchingOptions = (format, options, queryValue) => {\n const matchingValues = options.filter(option => option.toLowerCase().startsWith(queryValue));\n if (matchingValues.length === 0) {\n return {\n saveQuery: false\n };\n }\n return {\n sectionValue: matchingValues[0],\n shouldGoToNextSection: matchingValues.length === 1\n };\n };\n const testQueryOnFormatAndFallbackFormat = (queryValue, activeSection, fallbackFormat, formatFallbackValue) => {\n const getOptions = format => getLetterEditingOptions(utils, timezone, activeSection.type, format);\n if (activeSection.contentType === 'letter') {\n return findMatchingOptions(activeSection.format, getOptions(activeSection.format), queryValue);\n }\n\n // When editing a digit-format month / weekDay and the user presses a letter,\n // We can support the letter editing by using the letter-format month / weekDay and re-formatting the result.\n // We just have to make sure that the default month / weekDay format is a letter format,\n if (fallbackFormat && formatFallbackValue != null && getDateSectionConfigFromFormatToken(utils, fallbackFormat).contentType === 'letter') {\n const fallbackOptions = getOptions(fallbackFormat);\n const response = findMatchingOptions(fallbackFormat, fallbackOptions, queryValue);\n if (isQueryResponseWithoutValue(response)) {\n return {\n saveQuery: false\n };\n }\n return _extends({}, response, {\n sectionValue: formatFallbackValue(response.sectionValue, fallbackOptions)\n });\n }\n return {\n saveQuery: false\n };\n };\n const getFirstSectionValueMatchingWithQuery = (queryValue, activeSection) => {\n switch (activeSection.type) {\n case 'month':\n {\n const formatFallbackValue = fallbackValue => changeSectionValueFormat(utils, fallbackValue, utils.formats.month, activeSection.format);\n return testQueryOnFormatAndFallbackFormat(queryValue, activeSection, utils.formats.month, formatFallbackValue);\n }\n case 'weekDay':\n {\n const formatFallbackValue = (fallbackValue, fallbackOptions) => fallbackOptions.indexOf(fallbackValue).toString();\n return testQueryOnFormatAndFallbackFormat(queryValue, activeSection, utils.formats.weekday, formatFallbackValue);\n }\n case 'meridiem':\n {\n return testQueryOnFormatAndFallbackFormat(queryValue, activeSection);\n }\n default:\n {\n return {\n saveQuery: false\n };\n }\n }\n };\n return applyQuery(params, getFirstSectionValueMatchingWithQuery);\n };\n const applyNumericEditing = params => {\n const getNewSectionValue = (queryValue, section) => {\n const queryValueNumber = Number(`${queryValue}`);\n const sectionBoundaries = sectionsValueBoundaries[section.type]({\n currentDate: null,\n format: section.format,\n contentType: section.contentType\n });\n if (queryValueNumber > sectionBoundaries.maximum) {\n return {\n saveQuery: false\n };\n }\n\n // If the user types `0` on a month section,\n // It is below the minimum, but we want to store the `0` in the query,\n // So that when he pressed `1`, it will store `01` and move to the next section.\n if (queryValueNumber < sectionBoundaries.minimum) {\n return {\n saveQuery: true\n };\n }\n const shouldGoToNextSection = Number(`${queryValue}0`) > sectionBoundaries.maximum || queryValue.length === sectionBoundaries.maximum.toString().length;\n const newSectionValue = cleanDigitSectionValue(utils, timezone, queryValueNumber, sectionBoundaries, section);\n return {\n sectionValue: newSectionValue,\n shouldGoToNextSection\n };\n };\n const getFirstSectionValueMatchingWithQuery = (queryValue, activeSection) => {\n if (activeSection.contentType === 'digit' || activeSection.contentType === 'digit-with-letter') {\n return getNewSectionValue(queryValue, activeSection);\n }\n\n // When editing a letter-format month and the user presses a digit,\n // We can support the numeric editing by using the digit-format month and re-formatting the result.\n if (activeSection.type === 'month') {\n const hasLeadingZerosInFormat = doesSectionFormatHaveLeadingZeros(utils, timezone, 'digit', 'month', 'MM');\n const response = getNewSectionValue(queryValue, {\n type: activeSection.type,\n format: 'MM',\n hasLeadingZerosInFormat,\n hasLeadingZerosInInput: true,\n contentType: 'digit',\n maxLength: 2\n });\n if (isQueryResponseWithoutValue(response)) {\n return response;\n }\n const formattedValue = changeSectionValueFormat(utils, response.sectionValue, 'MM', activeSection.format);\n return _extends({}, response, {\n sectionValue: formattedValue\n });\n }\n\n // When editing a letter-format weekDay and the user presses a digit,\n // We can support the numeric editing by returning the nth day in the week day array.\n if (activeSection.type === 'weekDay') {\n const response = getNewSectionValue(queryValue, activeSection);\n if (isQueryResponseWithoutValue(response)) {\n return response;\n }\n const formattedValue = getDaysInWeekStr(utils, timezone, activeSection.format)[Number(response.sectionValue) - 1];\n return _extends({}, response, {\n sectionValue: formattedValue\n });\n }\n return {\n saveQuery: false\n };\n };\n return applyQuery(params, getFirstSectionValueMatchingWithQuery, queryValue => !Number.isNaN(Number(queryValue)));\n };\n const applyCharacterEditing = useEventCallback(params => {\n const activeSection = sections[params.sectionIndex];\n const isNumericEditing = params.keyPressed !== ' ' && !Number.isNaN(Number(params.keyPressed));\n const response = isNumericEditing ? applyNumericEditing(params) : applyLetterEditing(params);\n if (response == null) {\n setTempAndroidValueStr(null);\n } else {\n updateSectionValue({\n activeSection,\n newSectionValue: response.sectionValue,\n shouldGoToNextSection: response.shouldGoToNextSection\n });\n }\n });\n return {\n applyCharacterEditing,\n resetCharacterQuery: resetQuery\n };\n};","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nconst _excluded = [\"onClick\", \"onKeyDown\", \"onFocus\", \"onBlur\", \"onMouseUp\", \"onPaste\", \"error\", \"clearable\", \"onClear\", \"disabled\"];\nimport * as React from 'react';\nimport useEnhancedEffect from '@mui/utils/useEnhancedEffect';\nimport useEventCallback from '@mui/utils/useEventCallback';\nimport useForkRef from '@mui/utils/useForkRef';\nimport { useTheme } from '@mui/material/styles';\nimport { useValidation } from '../useValidation';\nimport { useUtils } from '../useUtils';\nimport { adjustSectionValue, isAndroid, cleanString, getSectionOrder } from './useField.utils';\nimport { useFieldState } from './useFieldState';\nimport { useFieldCharacterEditing } from './useFieldCharacterEditing';\nimport { getActiveElement } from '../../utils/utils';\nexport const useField = params => {\n const utils = useUtils();\n const {\n state,\n selectedSectionIndexes,\n setSelectedSections,\n clearValue,\n clearActiveSection,\n updateSectionValue,\n updateValueFromValueStr,\n setTempAndroidValueStr,\n sectionsValueBoundaries,\n placeholder,\n timezone\n } = useFieldState(params);\n const {\n inputRef: inputRefProp,\n internalProps,\n internalProps: {\n readOnly = false,\n unstableFieldRef,\n minutesStep\n },\n forwardedProps: {\n onClick,\n onKeyDown,\n onFocus,\n onBlur,\n onMouseUp,\n onPaste,\n error,\n clearable,\n onClear,\n disabled\n },\n fieldValueManager,\n valueManager,\n validator\n } = params,\n otherForwardedProps = _objectWithoutPropertiesLoose(params.forwardedProps, _excluded);\n const {\n applyCharacterEditing,\n resetCharacterQuery\n } = useFieldCharacterEditing({\n sections: state.sections,\n updateSectionValue,\n sectionsValueBoundaries,\n setTempAndroidValueStr,\n timezone\n });\n const inputRef = React.useRef(null);\n const handleRef = useForkRef(inputRefProp, inputRef);\n const focusTimeoutRef = React.useRef(undefined);\n const theme = useTheme();\n const isRTL = theme.direction === 'rtl';\n const sectionOrder = React.useMemo(() => getSectionOrder(state.sections, isRTL), [state.sections, isRTL]);\n const syncSelectionFromDOM = () => {\n var _selectionStart;\n if (readOnly) {\n setSelectedSections(null);\n return;\n }\n const browserStartIndex = (_selectionStart = inputRef.current.selectionStart) != null ? _selectionStart : 0;\n let nextSectionIndex;\n if (browserStartIndex <= state.sections[0].startInInput) {\n // Special case if browser index is in invisible characters at the beginning\n nextSectionIndex = 1;\n } else if (browserStartIndex >= state.sections[state.sections.length - 1].endInInput) {\n // If the click is after the last character of the input, then we want to select the 1st section.\n nextSectionIndex = 1;\n } else {\n nextSectionIndex = state.sections.findIndex(section => section.startInInput - section.startSeparator.length > browserStartIndex);\n }\n const sectionIndex = nextSectionIndex === -1 ? state.sections.length - 1 : nextSectionIndex - 1;\n setSelectedSections(sectionIndex);\n };\n const handleInputClick = useEventCallback((event, ...args) => {\n // The click event on the clear button would propagate to the input, trigger this handler and result in a wrong section selection.\n // We avoid this by checking if the call of `handleInputClick` is actually intended, or a side effect.\n if (event.isDefaultPrevented()) {\n return;\n }\n onClick == null || onClick(event, ...args);\n syncSelectionFromDOM();\n });\n const handleInputMouseUp = useEventCallback(event => {\n onMouseUp == null || onMouseUp(event);\n\n // Without this, the browser will remove the selected when clicking inside an already-selected section.\n event.preventDefault();\n });\n const handleInputFocus = useEventCallback((...args) => {\n onFocus == null || onFocus(...args);\n // The ref is guaranteed to be resolved at this point.\n const input = inputRef.current;\n window.clearTimeout(focusTimeoutRef.current);\n focusTimeoutRef.current = setTimeout(() => {\n // The ref changed, the component got remounted, the focus event is no longer relevant.\n if (!input || input !== inputRef.current) {\n return;\n }\n if (selectedSectionIndexes != null || readOnly) {\n return;\n }\n if (\n // avoid selecting all sections when focusing empty field without value\n input.value.length && Number(input.selectionEnd) - Number(input.selectionStart) === input.value.length) {\n setSelectedSections('all');\n } else {\n syncSelectionFromDOM();\n }\n });\n });\n const handleInputBlur = useEventCallback((...args) => {\n onBlur == null || onBlur(...args);\n setSelectedSections(null);\n });\n const handleInputPaste = useEventCallback(event => {\n onPaste == null || onPaste(event);\n if (readOnly) {\n event.preventDefault();\n return;\n }\n const pastedValue = event.clipboardData.getData('text');\n if (selectedSectionIndexes && selectedSectionIndexes.startIndex === selectedSectionIndexes.endIndex) {\n const activeSection = state.sections[selectedSectionIndexes.startIndex];\n const lettersOnly = /^[a-zA-Z]+$/.test(pastedValue);\n const digitsOnly = /^[0-9]+$/.test(pastedValue);\n const digitsAndLetterOnly = /^(([a-zA-Z]+)|)([0-9]+)(([a-zA-Z]+)|)$/.test(pastedValue);\n const isValidPastedValue = activeSection.contentType === 'letter' && lettersOnly || activeSection.contentType === 'digit' && digitsOnly || activeSection.contentType === 'digit-with-letter' && digitsAndLetterOnly;\n if (isValidPastedValue) {\n resetCharacterQuery();\n updateSectionValue({\n activeSection,\n newSectionValue: pastedValue,\n shouldGoToNextSection: true\n });\n // prevent default to avoid the input change handler being called\n event.preventDefault();\n return;\n }\n if (lettersOnly || digitsOnly) {\n // The pasted value correspond to a single section but not the expected type\n // skip the modification\n event.preventDefault();\n return;\n }\n }\n event.preventDefault();\n resetCharacterQuery();\n updateValueFromValueStr(pastedValue);\n });\n const handleInputChange = useEventCallback(event => {\n if (readOnly) {\n return;\n }\n const targetValue = event.target.value;\n if (targetValue === '') {\n resetCharacterQuery();\n clearValue();\n return;\n }\n const eventData = event.nativeEvent.data;\n // Calling `.fill(04/11/2022)` in playwright will trigger a change event with the requested content to insert in `event.nativeEvent.data`\n // usual changes have only the currently typed character in the `event.nativeEvent.data`\n const shouldUseEventData = eventData && eventData.length > 1;\n const valueStr = shouldUseEventData ? eventData : targetValue;\n const cleanValueStr = cleanString(valueStr);\n\n // If no section is selected or eventData should be used, we just try to parse the new value\n // This line is mostly triggered by imperative code / application tests.\n if (selectedSectionIndexes == null || shouldUseEventData) {\n updateValueFromValueStr(shouldUseEventData ? eventData : cleanValueStr);\n return;\n }\n let keyPressed;\n if (selectedSectionIndexes.startIndex === 0 && selectedSectionIndexes.endIndex === state.sections.length - 1 && cleanValueStr.length === 1) {\n keyPressed = cleanValueStr;\n } else {\n const prevValueStr = cleanString(fieldValueManager.getValueStrFromSections(state.sections, isRTL));\n let startOfDiffIndex = -1;\n let endOfDiffIndex = -1;\n for (let i = 0; i < prevValueStr.length; i += 1) {\n if (startOfDiffIndex === -1 && prevValueStr[i] !== cleanValueStr[i]) {\n startOfDiffIndex = i;\n }\n if (endOfDiffIndex === -1 && prevValueStr[prevValueStr.length - i - 1] !== cleanValueStr[cleanValueStr.length - i - 1]) {\n endOfDiffIndex = i;\n }\n }\n const activeSection = state.sections[selectedSectionIndexes.startIndex];\n const hasDiffOutsideOfActiveSection = startOfDiffIndex < activeSection.start || prevValueStr.length - endOfDiffIndex - 1 > activeSection.end;\n if (hasDiffOutsideOfActiveSection) {\n // TODO: Support if the new date is valid\n return;\n }\n\n // The active section being selected, the browser has replaced its value with the key pressed by the user.\n const activeSectionEndRelativeToNewValue = cleanValueStr.length - prevValueStr.length + activeSection.end - cleanString(activeSection.endSeparator || '').length;\n keyPressed = cleanValueStr.slice(activeSection.start + cleanString(activeSection.startSeparator || '').length, activeSectionEndRelativeToNewValue);\n }\n if (keyPressed.length === 0) {\n if (isAndroid()) {\n setTempAndroidValueStr(valueStr);\n } else {\n resetCharacterQuery();\n clearActiveSection();\n }\n return;\n }\n applyCharacterEditing({\n keyPressed,\n sectionIndex: selectedSectionIndexes.startIndex\n });\n });\n const handleInputKeyDown = useEventCallback(event => {\n onKeyDown == null || onKeyDown(event);\n\n // eslint-disable-next-line default-case\n switch (true) {\n // Select all\n case event.key === 'a' && (event.ctrlKey || event.metaKey):\n {\n // prevent default to make sure that the next line \"select all\" while updating\n // the internal state at the same time.\n event.preventDefault();\n setSelectedSections('all');\n break;\n }\n\n // Move selection to next section\n case event.key === 'ArrowRight':\n {\n event.preventDefault();\n if (selectedSectionIndexes == null) {\n setSelectedSections(sectionOrder.startIndex);\n } else if (selectedSectionIndexes.startIndex !== selectedSectionIndexes.endIndex) {\n setSelectedSections(selectedSectionIndexes.endIndex);\n } else {\n const nextSectionIndex = sectionOrder.neighbors[selectedSectionIndexes.startIndex].rightIndex;\n if (nextSectionIndex !== null) {\n setSelectedSections(nextSectionIndex);\n }\n }\n break;\n }\n\n // Move selection to previous section\n case event.key === 'ArrowLeft':\n {\n event.preventDefault();\n if (selectedSectionIndexes == null) {\n setSelectedSections(sectionOrder.endIndex);\n } else if (selectedSectionIndexes.startIndex !== selectedSectionIndexes.endIndex) {\n setSelectedSections(selectedSectionIndexes.startIndex);\n } else {\n const nextSectionIndex = sectionOrder.neighbors[selectedSectionIndexes.startIndex].leftIndex;\n if (nextSectionIndex !== null) {\n setSelectedSections(nextSectionIndex);\n }\n }\n break;\n }\n\n // Reset the value of the selected section\n case event.key === 'Delete':\n {\n event.preventDefault();\n if (readOnly) {\n break;\n }\n if (selectedSectionIndexes == null || selectedSectionIndexes.startIndex === 0 && selectedSectionIndexes.endIndex === state.sections.length - 1) {\n clearValue();\n } else {\n clearActiveSection();\n }\n resetCharacterQuery();\n break;\n }\n\n // Increment / decrement the selected section value\n case ['ArrowUp', 'ArrowDown', 'Home', 'End', 'PageUp', 'PageDown'].includes(event.key):\n {\n event.preventDefault();\n if (readOnly || selectedSectionIndexes == null) {\n break;\n }\n const activeSection = state.sections[selectedSectionIndexes.startIndex];\n const activeDateManager = fieldValueManager.getActiveDateManager(utils, state, activeSection);\n const newSectionValue = adjustSectionValue(utils, timezone, activeSection, event.key, sectionsValueBoundaries, activeDateManager.date, {\n minutesStep\n });\n updateSectionValue({\n activeSection,\n newSectionValue,\n shouldGoToNextSection: false\n });\n break;\n }\n }\n });\n useEnhancedEffect(() => {\n if (!inputRef.current) {\n return;\n }\n if (selectedSectionIndexes == null) {\n if (inputRef.current.scrollLeft) {\n // Ensure that input content is not marked as selected.\n // setting selection range to 0 causes issues in Safari.\n // https://bugs.webkit.org/show_bug.cgi?id=224425\n inputRef.current.scrollLeft = 0;\n }\n return;\n }\n const firstSelectedSection = state.sections[selectedSectionIndexes.startIndex];\n const lastSelectedSection = state.sections[selectedSectionIndexes.endIndex];\n let selectionStart = firstSelectedSection.startInInput;\n let selectionEnd = lastSelectedSection.endInInput;\n if (selectedSectionIndexes.shouldSelectBoundarySelectors) {\n selectionStart -= firstSelectedSection.startSeparator.length;\n selectionEnd += lastSelectedSection.endSeparator.length;\n }\n if (selectionStart !== inputRef.current.selectionStart || selectionEnd !== inputRef.current.selectionEnd) {\n // Fix scroll jumping on iOS browser: https://github.com/mui/mui-x/issues/8321\n const currentScrollTop = inputRef.current.scrollTop;\n // On multi input range pickers we want to update selection range only for the active input\n // This helps to avoid the focus jumping on Safari https://github.com/mui/mui-x/issues/9003\n // because WebKit implements the `setSelectionRange` based on the spec: https://bugs.webkit.org/show_bug.cgi?id=224425\n if (inputRef.current === getActiveElement(document)) {\n inputRef.current.setSelectionRange(selectionStart, selectionEnd);\n }\n // Even reading this variable seems to do the trick, but also setting it just to make use of it\n inputRef.current.scrollTop = currentScrollTop;\n }\n });\n const validationError = useValidation(_extends({}, internalProps, {\n value: state.value,\n timezone\n }), validator, valueManager.isSameError, valueManager.defaultErrorState);\n const inputError = React.useMemo(() => {\n // only override when `error` is undefined.\n // in case of multi input fields, the `error` value is provided externally and will always be defined.\n if (error !== undefined) {\n return error;\n }\n return valueManager.hasError(validationError);\n }, [valueManager, validationError, error]);\n React.useEffect(() => {\n if (!inputError && !selectedSectionIndexes) {\n resetCharacterQuery();\n }\n }, [state.referenceValue, selectedSectionIndexes, inputError]); // eslint-disable-line react-hooks/exhaustive-deps\n\n React.useEffect(() => {\n // Select the right section when focused on mount (`autoFocus = true` on the input)\n if (inputRef.current && inputRef.current === document.activeElement) {\n setSelectedSections('all');\n }\n return () => window.clearTimeout(focusTimeoutRef.current);\n }, []); // eslint-disable-line react-hooks/exhaustive-deps\n\n // If `state.tempValueStrAndroid` is still defined when running `useEffect`,\n // Then `onChange` has only been called once, which means the user pressed `Backspace` to reset the section.\n // This causes a small flickering on Android,\n // But we can't use `useEnhancedEffect` which is always called before the second `onChange` call and then would cause false positives.\n React.useEffect(() => {\n if (state.tempValueStrAndroid != null && selectedSectionIndexes != null) {\n resetCharacterQuery();\n clearActiveSection();\n }\n }, [state.tempValueStrAndroid]); // eslint-disable-line react-hooks/exhaustive-deps\n\n const valueStr = React.useMemo(() => {\n var _state$tempValueStrAn;\n return (_state$tempValueStrAn = state.tempValueStrAndroid) != null ? _state$tempValueStrAn : fieldValueManager.getValueStrFromSections(state.sections, isRTL);\n }, [state.sections, fieldValueManager, state.tempValueStrAndroid, isRTL]);\n const inputMode = React.useMemo(() => {\n if (selectedSectionIndexes == null) {\n return 'text';\n }\n if (state.sections[selectedSectionIndexes.startIndex].contentType === 'letter') {\n return 'text';\n }\n return 'numeric';\n }, [selectedSectionIndexes, state.sections]);\n const inputHasFocus = inputRef.current && inputRef.current === getActiveElement(document);\n const areAllSectionsEmpty = valueManager.areValuesEqual(utils, state.value, valueManager.emptyValue);\n const shouldShowPlaceholder = !inputHasFocus && areAllSectionsEmpty;\n React.useImperativeHandle(unstableFieldRef, () => ({\n getSections: () => state.sections,\n getActiveSectionIndex: () => {\n var _selectionStart2, _selectionEnd, _inputRef$current;\n const browserStartIndex = (_selectionStart2 = inputRef.current.selectionStart) != null ? _selectionStart2 : 0;\n const browserEndIndex = (_selectionEnd = inputRef.current.selectionEnd) != null ? _selectionEnd : 0;\n const isInputReadOnly = !!((_inputRef$current = inputRef.current) != null && _inputRef$current.readOnly);\n if (browserStartIndex === 0 && browserEndIndex === 0 || isInputReadOnly) {\n return null;\n }\n const nextSectionIndex = browserStartIndex <= state.sections[0].startInInput ? 1 // Special case if browser index is in invisible characters at the beginning.\n : state.sections.findIndex(section => section.startInInput - section.startSeparator.length > browserStartIndex);\n return nextSectionIndex === -1 ? state.sections.length - 1 : nextSectionIndex - 1;\n },\n setSelectedSections: activeSectionIndex => setSelectedSections(activeSectionIndex)\n }));\n const handleClearValue = useEventCallback((event, ...args) => {\n var _inputRef$current2;\n event.preventDefault();\n onClear == null || onClear(event, ...args);\n clearValue();\n inputRef == null || (_inputRef$current2 = inputRef.current) == null || _inputRef$current2.focus();\n setSelectedSections(0);\n });\n return _extends({\n placeholder,\n autoComplete: 'off',\n disabled: Boolean(disabled)\n }, otherForwardedProps, {\n value: shouldShowPlaceholder ? '' : valueStr,\n inputMode,\n readOnly,\n onClick: handleInputClick,\n onFocus: handleInputFocus,\n onBlur: handleInputBlur,\n onPaste: handleInputPaste,\n onChange: handleInputChange,\n onKeyDown: handleInputKeyDown,\n onMouseUp: handleInputMouseUp,\n onClear: handleClearValue,\n error: inputError,\n ref: handleRef,\n clearable: Boolean(clearable && !areAllSectionsEmpty && !readOnly && !disabled)\n });\n};","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport { getMonthsInYear } from '../../utils/date-utils';\nexport const getDateSectionConfigFromFormatToken = (utils, formatToken) => {\n const config = utils.formatTokenMap[formatToken];\n if (config == null) {\n throw new Error([`MUI: The token \"${formatToken}\" is not supported by the Date and Time Pickers.`, 'Please try using another token or open an issue on https://github.com/mui/mui-x/issues/new/choose if you think it should be supported.'].join('\\n'));\n }\n if (typeof config === 'string') {\n return {\n type: config,\n contentType: config === 'meridiem' ? 'letter' : 'digit',\n maxLength: undefined\n };\n }\n return {\n type: config.sectionType,\n contentType: config.contentType,\n maxLength: config.maxLength\n };\n};\nconst getDeltaFromKeyCode = keyCode => {\n switch (keyCode) {\n case 'ArrowUp':\n return 1;\n case 'ArrowDown':\n return -1;\n case 'PageUp':\n return 5;\n case 'PageDown':\n return -5;\n default:\n return 0;\n }\n};\nexport const getDaysInWeekStr = (utils, timezone, format) => {\n const elements = [];\n const now = utils.dateWithTimezone(undefined, timezone);\n const startDate = utils.startOfWeek(now);\n const endDate = utils.endOfWeek(now);\n let current = startDate;\n while (utils.isBefore(current, endDate)) {\n elements.push(current);\n current = utils.addDays(current, 1);\n }\n return elements.map(weekDay => utils.formatByString(weekDay, format));\n};\nexport const getLetterEditingOptions = (utils, timezone, sectionType, format) => {\n switch (sectionType) {\n case 'month':\n {\n return getMonthsInYear(utils, utils.dateWithTimezone(undefined, timezone)).map(month => utils.formatByString(month, format));\n }\n case 'weekDay':\n {\n return getDaysInWeekStr(utils, timezone, format);\n }\n case 'meridiem':\n {\n const now = utils.dateWithTimezone(undefined, timezone);\n return [utils.startOfDay(now), utils.endOfDay(now)].map(date => utils.formatByString(date, format));\n }\n default:\n {\n return [];\n }\n }\n};\nexport const cleanLeadingZeros = (utils, valueStr, size) => {\n let cleanValueStr = valueStr;\n\n // Remove the leading zeros\n cleanValueStr = Number(cleanValueStr).toString();\n\n // Add enough leading zeros to fill the section\n while (cleanValueStr.length < size) {\n cleanValueStr = `0${cleanValueStr}`;\n }\n return cleanValueStr;\n};\nexport const cleanDigitSectionValue = (utils, timezone, value, sectionBoundaries, section) => {\n if (process.env.NODE_ENV !== 'production') {\n if (section.type !== 'day' && section.contentType === 'digit-with-letter') {\n throw new Error([`MUI: The token \"${section.format}\" is a digit format with letter in it.'\n This type of format is only supported for 'day' sections`].join('\\n'));\n }\n }\n if (section.type === 'day' && section.contentType === 'digit-with-letter') {\n const date = utils.setDate(sectionBoundaries.longestMonth, value);\n return utils.formatByString(date, section.format);\n }\n\n // queryValue without leading `0` (`01` => `1`)\n const valueStr = value.toString();\n if (section.hasLeadingZerosInInput) {\n return cleanLeadingZeros(utils, valueStr, section.maxLength);\n }\n return valueStr;\n};\nexport const adjustSectionValue = (utils, timezone, section, keyCode, sectionsValueBoundaries, activeDate, stepsAttributes) => {\n const delta = getDeltaFromKeyCode(keyCode);\n const isStart = keyCode === 'Home';\n const isEnd = keyCode === 'End';\n const shouldSetAbsolute = section.value === '' || isStart || isEnd;\n const adjustDigitSection = () => {\n const sectionBoundaries = sectionsValueBoundaries[section.type]({\n currentDate: activeDate,\n format: section.format,\n contentType: section.contentType\n });\n const getCleanValue = value => cleanDigitSectionValue(utils, timezone, value, sectionBoundaries, section);\n const step = section.type === 'minutes' && stepsAttributes != null && stepsAttributes.minutesStep ? stepsAttributes.minutesStep : 1;\n const currentSectionValue = parseInt(section.value, 10);\n let newSectionValueNumber = currentSectionValue + delta * step;\n if (shouldSetAbsolute) {\n if (section.type === 'year' && !isEnd && !isStart) {\n return utils.formatByString(utils.dateWithTimezone(undefined, timezone), section.format);\n }\n if (delta > 0 || isStart) {\n newSectionValueNumber = sectionBoundaries.minimum;\n } else {\n newSectionValueNumber = sectionBoundaries.maximum;\n }\n }\n if (newSectionValueNumber % step !== 0) {\n if (delta < 0 || isStart) {\n newSectionValueNumber += step - (step + newSectionValueNumber) % step; // for JS -3 % 5 = -3 (should be 2)\n }\n if (delta > 0 || isEnd) {\n newSectionValueNumber -= newSectionValueNumber % step;\n }\n }\n if (newSectionValueNumber > sectionBoundaries.maximum) {\n return getCleanValue(sectionBoundaries.minimum + (newSectionValueNumber - sectionBoundaries.maximum - 1) % (sectionBoundaries.maximum - sectionBoundaries.minimum + 1));\n }\n if (newSectionValueNumber < sectionBoundaries.minimum) {\n return getCleanValue(sectionBoundaries.maximum - (sectionBoundaries.minimum - newSectionValueNumber - 1) % (sectionBoundaries.maximum - sectionBoundaries.minimum + 1));\n }\n return getCleanValue(newSectionValueNumber);\n };\n const adjustLetterSection = () => {\n const options = getLetterEditingOptions(utils, timezone, section.type, section.format);\n if (options.length === 0) {\n return section.value;\n }\n if (shouldSetAbsolute) {\n if (delta > 0 || isStart) {\n return options[0];\n }\n return options[options.length - 1];\n }\n const currentOptionIndex = options.indexOf(section.value);\n const newOptionIndex = (currentOptionIndex + options.length + delta) % options.length;\n return options[newOptionIndex];\n };\n if (section.contentType === 'digit' || section.contentType === 'digit-with-letter') {\n return adjustDigitSection();\n }\n return adjustLetterSection();\n};\nexport const getSectionVisibleValue = (section, target) => {\n let value = section.value || section.placeholder;\n const hasLeadingZeros = target === 'non-input' ? section.hasLeadingZerosInFormat : section.hasLeadingZerosInInput;\n if (target === 'non-input' && section.hasLeadingZerosInInput && !section.hasLeadingZerosInFormat) {\n value = Number(value).toString();\n }\n\n // In the input, we add an empty character at the end of each section without leading zeros.\n // This makes sure that `onChange` will always be fired.\n // Otherwise, when your input value equals `1/dd/yyyy` (format `M/DD/YYYY` on DayJs),\n // If you press `1`, on the first section, the new value is also `1/dd/yyyy`,\n // So the browser will not fire the input `onChange`.\n const shouldAddInvisibleSpace = ['input-rtl', 'input-ltr'].includes(target) && section.contentType === 'digit' && !hasLeadingZeros && value.length === 1;\n if (shouldAddInvisibleSpace) {\n value = `${value}\\u200e`;\n }\n if (target === 'input-rtl') {\n value = `\\u2068${value}\\u2069`;\n }\n return value;\n};\nexport const cleanString = dirtyString => dirtyString.replace(/[\\u2066\\u2067\\u2068\\u2069]/g, '');\nexport const addPositionPropertiesToSections = (sections, isRTL) => {\n let position = 0;\n let positionInInput = isRTL ? 1 : 0;\n const newSections = [];\n for (let i = 0; i < sections.length; i += 1) {\n const section = sections[i];\n const renderedValue = getSectionVisibleValue(section, isRTL ? 'input-rtl' : 'input-ltr');\n const sectionStr = `${section.startSeparator}${renderedValue}${section.endSeparator}`;\n const sectionLength = cleanString(sectionStr).length;\n const sectionLengthInInput = sectionStr.length;\n\n // The ...InInput values consider the unicode characters but do include them in their indexes\n const cleanedValue = cleanString(renderedValue);\n const startInInput = positionInInput + renderedValue.indexOf(cleanedValue[0]) + section.startSeparator.length;\n const endInInput = startInInput + cleanedValue.length;\n newSections.push(_extends({}, section, {\n start: position,\n end: position + sectionLength,\n startInInput,\n endInInput\n }));\n position += sectionLength;\n // Move position to the end of string associated to the current section\n positionInInput += sectionLengthInInput;\n }\n return newSections;\n};\nconst getSectionPlaceholder = (utils, timezone, localeText, sectionConfig, sectionFormat) => {\n switch (sectionConfig.type) {\n case 'year':\n {\n return localeText.fieldYearPlaceholder({\n digitAmount: utils.formatByString(utils.dateWithTimezone(undefined, timezone), sectionFormat).length,\n format: sectionFormat\n });\n }\n case 'month':\n {\n return localeText.fieldMonthPlaceholder({\n contentType: sectionConfig.contentType,\n format: sectionFormat\n });\n }\n case 'day':\n {\n return localeText.fieldDayPlaceholder({\n format: sectionFormat\n });\n }\n case 'weekDay':\n {\n return localeText.fieldWeekDayPlaceholder({\n contentType: sectionConfig.contentType,\n format: sectionFormat\n });\n }\n case 'hours':\n {\n return localeText.fieldHoursPlaceholder({\n format: sectionFormat\n });\n }\n case 'minutes':\n {\n return localeText.fieldMinutesPlaceholder({\n format: sectionFormat\n });\n }\n case 'seconds':\n {\n return localeText.fieldSecondsPlaceholder({\n format: sectionFormat\n });\n }\n case 'meridiem':\n {\n return localeText.fieldMeridiemPlaceholder({\n format: sectionFormat\n });\n }\n default:\n {\n return sectionFormat;\n }\n }\n};\nexport const changeSectionValueFormat = (utils, valueStr, currentFormat, newFormat) => {\n if (process.env.NODE_ENV !== 'production') {\n if (getDateSectionConfigFromFormatToken(utils, currentFormat).type === 'weekDay') {\n throw new Error(\"changeSectionValueFormat doesn't support week day formats\");\n }\n }\n return utils.formatByString(utils.parse(valueStr, currentFormat), newFormat);\n};\nconst isFourDigitYearFormat = (utils, timezone, format) => utils.formatByString(utils.dateWithTimezone(undefined, timezone), format).length === 4;\nexport const doesSectionFormatHaveLeadingZeros = (utils, timezone, contentType, sectionType, format) => {\n if (contentType !== 'digit') {\n return false;\n }\n const now = utils.dateWithTimezone(undefined, timezone);\n switch (sectionType) {\n // We can't use `changeSectionValueFormat`, because `utils.parse('1', 'YYYY')` returns `1971` instead of `1`.\n case 'year':\n {\n if (isFourDigitYearFormat(utils, timezone, format)) {\n const formatted0001 = utils.formatByString(utils.setYear(now, 1), format);\n return formatted0001 === '0001';\n }\n const formatted2001 = utils.formatByString(utils.setYear(now, 2001), format);\n return formatted2001 === '01';\n }\n case 'month':\n {\n return utils.formatByString(utils.startOfYear(now), format).length > 1;\n }\n case 'day':\n {\n return utils.formatByString(utils.startOfMonth(now), format).length > 1;\n }\n case 'weekDay':\n {\n return utils.formatByString(utils.startOfWeek(now), format).length > 1;\n }\n case 'hours':\n {\n return utils.formatByString(utils.setHours(now, 1), format).length > 1;\n }\n case 'minutes':\n {\n return utils.formatByString(utils.setMinutes(now, 1), format).length > 1;\n }\n case 'seconds':\n {\n return utils.formatByString(utils.setSeconds(now, 1), format).length > 1;\n }\n default:\n {\n throw new Error('Invalid section type');\n }\n }\n};\nconst getEscapedPartsFromFormat = (utils, format) => {\n const escapedParts = [];\n const {\n start: startChar,\n end: endChar\n } = utils.escapedCharacters;\n const regExp = new RegExp(`(\\\\${startChar}[^\\\\${endChar}]*\\\\${endChar})+`, 'g');\n let match = null;\n // eslint-disable-next-line no-cond-assign\n while (match = regExp.exec(format)) {\n escapedParts.push({\n start: match.index,\n end: regExp.lastIndex - 1\n });\n }\n return escapedParts;\n};\nexport const splitFormatIntoSections = (utils, timezone, localeText, format, date, formatDensity, shouldRespectLeadingZeros, isRTL) => {\n let startSeparator = '';\n const sections = [];\n const now = utils.date();\n const commitToken = token => {\n if (token === '') {\n return null;\n }\n const sectionConfig = getDateSectionConfigFromFormatToken(utils, token);\n const hasLeadingZerosInFormat = doesSectionFormatHaveLeadingZeros(utils, timezone, sectionConfig.contentType, sectionConfig.type, token);\n const hasLeadingZerosInInput = shouldRespectLeadingZeros ? hasLeadingZerosInFormat : sectionConfig.contentType === 'digit';\n const isValidDate = date != null && utils.isValid(date);\n let sectionValue = isValidDate ? utils.formatByString(date, token) : '';\n let maxLength = null;\n if (hasLeadingZerosInInput) {\n if (hasLeadingZerosInFormat) {\n maxLength = sectionValue === '' ? utils.formatByString(now, token).length : sectionValue.length;\n } else {\n if (sectionConfig.maxLength == null) {\n throw new Error(`MUI: The token ${token} should have a 'maxDigitNumber' property on it's adapter`);\n }\n maxLength = sectionConfig.maxLength;\n if (isValidDate) {\n sectionValue = cleanLeadingZeros(utils, sectionValue, maxLength);\n }\n }\n }\n sections.push(_extends({}, sectionConfig, {\n format: token,\n maxLength,\n value: sectionValue,\n placeholder: getSectionPlaceholder(utils, timezone, localeText, sectionConfig, token),\n hasLeadingZeros: hasLeadingZerosInFormat,\n hasLeadingZerosInFormat,\n hasLeadingZerosInInput,\n startSeparator: sections.length === 0 ? startSeparator : '',\n endSeparator: '',\n modified: false\n }));\n return null;\n };\n\n // Expand the provided format\n let formatExpansionOverflow = 10;\n let prevFormat = format;\n let nextFormat = utils.expandFormat(format);\n while (nextFormat !== prevFormat) {\n prevFormat = nextFormat;\n nextFormat = utils.expandFormat(prevFormat);\n formatExpansionOverflow -= 1;\n if (formatExpansionOverflow < 0) {\n throw new Error('MUI: The format expansion seems to be enter in an infinite loop. Please open an issue with the format passed to the picker component');\n }\n }\n const expandedFormat = nextFormat;\n\n // Get start/end indexes of escaped sections\n const escapedParts = getEscapedPartsFromFormat(utils, expandedFormat);\n\n // This RegExp test if the beginning of a string correspond to a supported token\n const isTokenStartRegExp = new RegExp(`^(${Object.keys(utils.formatTokenMap).sort((a, b) => b.length - a.length) // Sort to put longest word first\n .join('|')})`, 'g') // used to get access to lastIndex state\n ;\n let currentTokenValue = '';\n for (let i = 0; i < expandedFormat.length; i += 1) {\n const escapedPartOfCurrentChar = escapedParts.find(escapeIndex => escapeIndex.start <= i && escapeIndex.end >= i);\n const char = expandedFormat[i];\n const isEscapedChar = escapedPartOfCurrentChar != null;\n const potentialToken = `${currentTokenValue}${expandedFormat.slice(i)}`;\n const regExpMatch = isTokenStartRegExp.test(potentialToken);\n if (!isEscapedChar && char.match(/([A-Za-z]+)/) && regExpMatch) {\n currentTokenValue = potentialToken.slice(0, isTokenStartRegExp.lastIndex);\n i += isTokenStartRegExp.lastIndex - 1;\n } else {\n // If we are on the opening or closing character of an escaped part of the format,\n // Then we ignore this character.\n const isEscapeBoundary = isEscapedChar && (escapedPartOfCurrentChar == null ? void 0 : escapedPartOfCurrentChar.start) === i || (escapedPartOfCurrentChar == null ? void 0 : escapedPartOfCurrentChar.end) === i;\n if (!isEscapeBoundary) {\n commitToken(currentTokenValue);\n currentTokenValue = '';\n if (sections.length === 0) {\n startSeparator += char;\n } else {\n sections[sections.length - 1].endSeparator += char;\n }\n }\n }\n }\n commitToken(currentTokenValue);\n return sections.map(section => {\n const cleanSeparator = separator => {\n let cleanedSeparator = separator;\n if (isRTL && cleanedSeparator !== null && cleanedSeparator.includes(' ')) {\n cleanedSeparator = `\\u2069${cleanedSeparator}\\u2066`;\n }\n if (formatDensity === 'spacious' && ['/', '.', '-'].includes(cleanedSeparator)) {\n cleanedSeparator = ` ${cleanedSeparator} `;\n }\n return cleanedSeparator;\n };\n section.startSeparator = cleanSeparator(section.startSeparator);\n section.endSeparator = cleanSeparator(section.endSeparator);\n return section;\n });\n};\n\n/**\n * Some date libraries like `dayjs` don't support parsing from date with escaped characters.\n * To make sure that the parsing works, we are building a format and a date without any separator.\n */\nexport const getDateFromDateSections = (utils, sections) => {\n // If we have both a day and a weekDay section,\n // Then we skip the weekDay in the parsing because libraries like dayjs can't parse complicated formats containing a weekDay.\n // dayjs(dayjs().format('dddd MMMM D YYYY'), 'dddd MMMM D YYYY')) // returns `Invalid Date` even if the format is valid.\n const shouldSkipWeekDays = sections.some(section => section.type === 'day');\n const sectionFormats = [];\n const sectionValues = [];\n for (let i = 0; i < sections.length; i += 1) {\n const section = sections[i];\n const shouldSkip = shouldSkipWeekDays && section.type === 'weekDay';\n if (!shouldSkip) {\n sectionFormats.push(section.format);\n sectionValues.push(getSectionVisibleValue(section, 'non-input'));\n }\n }\n const formatWithoutSeparator = sectionFormats.join(' ');\n const dateWithoutSeparatorStr = sectionValues.join(' ');\n return utils.parse(dateWithoutSeparatorStr, formatWithoutSeparator);\n};\nexport const createDateStrForInputFromSections = (sections, isRTL) => {\n const formattedSections = sections.map(section => {\n const dateValue = getSectionVisibleValue(section, isRTL ? 'input-rtl' : 'input-ltr');\n return `${section.startSeparator}${dateValue}${section.endSeparator}`;\n });\n const dateStr = formattedSections.join('');\n if (!isRTL) {\n return dateStr;\n }\n\n // \\u2066: start left-to-right isolation\n // \\u2067: start right-to-left isolation\n // \\u2068: start first strong character isolation\n // \\u2069: pop isolation\n // wrap into an isolated group such that separators can split the string in smaller ones by adding \\u2069\\u2068\n return `\\u2066${dateStr}\\u2069`;\n};\nexport const getSectionsBoundaries = (utils, timezone) => {\n const today = utils.dateWithTimezone(undefined, timezone);\n const endOfYear = utils.endOfYear(today);\n const endOfDay = utils.endOfDay(today);\n const {\n maxDaysInMonth,\n longestMonth\n } = getMonthsInYear(utils, today).reduce((acc, month) => {\n const daysInMonth = utils.getDaysInMonth(month);\n if (daysInMonth > acc.maxDaysInMonth) {\n return {\n maxDaysInMonth: daysInMonth,\n longestMonth: month\n };\n }\n return acc;\n }, {\n maxDaysInMonth: 0,\n longestMonth: null\n });\n return {\n year: ({\n format\n }) => ({\n minimum: 0,\n maximum: isFourDigitYearFormat(utils, timezone, format) ? 9999 : 99\n }),\n month: () => ({\n minimum: 1,\n // Assumption: All years have the same amount of months\n maximum: utils.getMonth(endOfYear) + 1\n }),\n day: ({\n currentDate\n }) => ({\n minimum: 1,\n maximum: currentDate != null && utils.isValid(currentDate) ? utils.getDaysInMonth(currentDate) : maxDaysInMonth,\n longestMonth: longestMonth\n }),\n weekDay: ({\n format,\n contentType\n }) => {\n if (contentType === 'digit') {\n const daysInWeek = getDaysInWeekStr(utils, timezone, format).map(Number);\n return {\n minimum: Math.min(...daysInWeek),\n maximum: Math.max(...daysInWeek)\n };\n }\n return {\n minimum: 1,\n maximum: 7\n };\n },\n hours: ({\n format\n }) => {\n const lastHourInDay = utils.getHours(endOfDay);\n const hasMeridiem = utils.formatByString(utils.endOfDay(today), format) !== lastHourInDay.toString();\n if (hasMeridiem) {\n return {\n minimum: 1,\n maximum: Number(utils.formatByString(utils.startOfDay(today), format))\n };\n }\n return {\n minimum: 0,\n maximum: lastHourInDay\n };\n },\n minutes: () => ({\n minimum: 0,\n // Assumption: All years have the same amount of minutes\n maximum: utils.getMinutes(endOfDay)\n }),\n seconds: () => ({\n minimum: 0,\n // Assumption: All years have the same amount of seconds\n maximum: utils.getSeconds(endOfDay)\n }),\n meridiem: () => ({\n minimum: 0,\n maximum: 0\n })\n };\n};\nlet warnedOnceInvalidSection = false;\nexport const validateSections = (sections, valueType) => {\n if (process.env.NODE_ENV !== 'production') {\n if (!warnedOnceInvalidSection) {\n const supportedSections = [];\n if (['date', 'date-time'].includes(valueType)) {\n supportedSections.push('weekDay', 'day', 'month', 'year');\n }\n if (['time', 'date-time'].includes(valueType)) {\n supportedSections.push('hours', 'minutes', 'seconds', 'meridiem');\n }\n const invalidSection = sections.find(section => !supportedSections.includes(section.type));\n if (invalidSection) {\n console.warn(`MUI: The field component you are using is not compatible with the \"${invalidSection.type} date section.`, `The supported date sections are [\"${supportedSections.join('\", \"')}\"]\\`.`);\n warnedOnceInvalidSection = true;\n }\n }\n }\n};\nconst transferDateSectionValue = (utils, timezone, section, dateToTransferFrom, dateToTransferTo) => {\n switch (section.type) {\n case 'year':\n {\n return utils.setYear(dateToTransferTo, utils.getYear(dateToTransferFrom));\n }\n case 'month':\n {\n return utils.setMonth(dateToTransferTo, utils.getMonth(dateToTransferFrom));\n }\n case 'weekDay':\n {\n const formattedDaysInWeek = getDaysInWeekStr(utils, timezone, section.format);\n const dayInWeekStrOfActiveDate = utils.formatByString(dateToTransferFrom, section.format);\n const dayInWeekOfActiveDate = formattedDaysInWeek.indexOf(dayInWeekStrOfActiveDate);\n const dayInWeekOfNewSectionValue = formattedDaysInWeek.indexOf(section.value);\n const diff = dayInWeekOfNewSectionValue - dayInWeekOfActiveDate;\n return utils.addDays(dateToTransferFrom, diff);\n }\n case 'day':\n {\n return utils.setDate(dateToTransferTo, utils.getDate(dateToTransferFrom));\n }\n case 'meridiem':\n {\n const isAM = utils.getHours(dateToTransferFrom) < 12;\n const mergedDateHours = utils.getHours(dateToTransferTo);\n if (isAM && mergedDateHours >= 12) {\n return utils.addHours(dateToTransferTo, -12);\n }\n if (!isAM && mergedDateHours < 12) {\n return utils.addHours(dateToTransferTo, 12);\n }\n return dateToTransferTo;\n }\n case 'hours':\n {\n return utils.setHours(dateToTransferTo, utils.getHours(dateToTransferFrom));\n }\n case 'minutes':\n {\n return utils.setMinutes(dateToTransferTo, utils.getMinutes(dateToTransferFrom));\n }\n case 'seconds':\n {\n return utils.setSeconds(dateToTransferTo, utils.getSeconds(dateToTransferFrom));\n }\n default:\n {\n return dateToTransferTo;\n }\n }\n};\nconst reliableSectionModificationOrder = {\n year: 1,\n month: 2,\n day: 3,\n weekDay: 4,\n hours: 5,\n minutes: 6,\n seconds: 7,\n meridiem: 8\n};\nexport const mergeDateIntoReferenceDate = (utils, timezone, dateToTransferFrom, sections, referenceDate, shouldLimitToEditedSections) =>\n// cloning sections before sort to avoid mutating it\n[...sections].sort((a, b) => reliableSectionModificationOrder[a.type] - reliableSectionModificationOrder[b.type]).reduce((mergedDate, section) => {\n if (!shouldLimitToEditedSections || section.modified) {\n return transferDateSectionValue(utils, timezone, section, dateToTransferFrom, mergedDate);\n }\n return mergedDate;\n}, referenceDate);\nexport const isAndroid = () => navigator.userAgent.toLowerCase().indexOf('android') > -1;\nexport const getSectionOrder = (sections, isRTL) => {\n const neighbors = {};\n if (!isRTL) {\n sections.forEach((_, index) => {\n const leftIndex = index === 0 ? null : index - 1;\n const rightIndex = index === sections.length - 1 ? null : index + 1;\n neighbors[index] = {\n leftIndex,\n rightIndex\n };\n });\n return {\n neighbors,\n startIndex: 0,\n endIndex: sections.length - 1\n };\n }\n const rtl2ltr = {};\n const ltr2rtl = {};\n let groupedSectionsStart = 0;\n let groupedSectionsEnd = 0;\n let RTLIndex = sections.length - 1;\n while (RTLIndex >= 0) {\n groupedSectionsEnd = sections.findIndex(\n // eslint-disable-next-line @typescript-eslint/no-loop-func\n (section, index) => {\n var _section$endSeparator;\n return index >= groupedSectionsStart && ((_section$endSeparator = section.endSeparator) == null ? void 0 : _section$endSeparator.includes(' ')) &&\n // Special case where the spaces were not there in the initial input\n section.endSeparator !== ' / ';\n });\n if (groupedSectionsEnd === -1) {\n groupedSectionsEnd = sections.length - 1;\n }\n for (let i = groupedSectionsEnd; i >= groupedSectionsStart; i -= 1) {\n ltr2rtl[i] = RTLIndex;\n rtl2ltr[RTLIndex] = i;\n RTLIndex -= 1;\n }\n groupedSectionsStart = groupedSectionsEnd + 1;\n }\n sections.forEach((_, index) => {\n const rtlIndex = ltr2rtl[index];\n const leftIndex = rtlIndex === 0 ? null : rtl2ltr[rtlIndex - 1];\n const rightIndex = rtlIndex === sections.length - 1 ? null : rtl2ltr[rtlIndex + 1];\n neighbors[index] = {\n leftIndex,\n rightIndex\n };\n });\n return {\n neighbors,\n startIndex: rtl2ltr[0],\n endIndex: rtl2ltr[sections.length - 1]\n };\n};","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport * as React from 'react';\nimport DialogContent from '@mui/material/DialogContent';\nimport Fade from '@mui/material/Fade';\nimport MuiDialog, { dialogClasses } from '@mui/material/Dialog';\nimport { styled } from '@mui/material/styles';\nimport { DIALOG_WIDTH } from '../constants/dimensions';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst PickersModalDialogRoot = styled(MuiDialog)({\n [`& .${dialogClasses.container}`]: {\n outline: 0\n },\n [`& .${dialogClasses.paper}`]: {\n outline: 0,\n minWidth: DIALOG_WIDTH\n }\n});\nconst PickersModalDialogContent = styled(DialogContent)({\n '&:first-of-type': {\n padding: 0\n }\n});\nexport function PickersModalDialog(props) {\n var _slots$dialog, _slots$mobileTransiti;\n const {\n children,\n onDismiss,\n open,\n slots,\n slotProps\n } = props;\n const Dialog = (_slots$dialog = slots == null ? void 0 : slots.dialog) != null ? _slots$dialog : PickersModalDialogRoot;\n const Transition = (_slots$mobileTransiti = slots == null ? void 0 : slots.mobileTransition) != null ? _slots$mobileTransiti : Fade;\n return /*#__PURE__*/_jsx(Dialog, _extends({\n open: open,\n onClose: onDismiss\n }, slotProps == null ? void 0 : slotProps.dialog, {\n TransitionComponent: Transition,\n TransitionProps: slotProps == null ? void 0 : slotProps.mobileTransition,\n PaperComponent: slots == null ? void 0 : slots.mobilePaper,\n PaperProps: slotProps == null ? void 0 : slotProps.mobilePaper,\n children: /*#__PURE__*/_jsx(PickersModalDialogContent, {\n children: children\n })\n }));\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nconst _excluded = [\"props\", \"getOpenDialogAriaText\"];\nimport * as React from 'react';\nimport { useSlotProps } from '@mui/base/utils';\nimport useForkRef from '@mui/utils/useForkRef';\nimport useId from '@mui/utils/useId';\nimport { PickersModalDialog } from '../../components/PickersModalDialog';\nimport { usePicker } from '../usePicker';\nimport { onSpaceOrEnter } from '../../utils/utils';\nimport { useUtils } from '../useUtils';\nimport { LocalizationProvider } from '../../../LocalizationProvider';\nimport { PickersLayout } from '../../../PickersLayout';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nimport { jsxs as _jsxs } from \"react/jsx-runtime\";\n/**\n * Hook managing all the single-date mobile pickers:\n * - MobileDatePicker\n * - MobileDateTimePicker\n * - MobileTimePicker\n */\nexport const useMobilePicker = _ref => {\n var _innerSlotProps$toolb, _innerSlotProps$toolb2, _slots$layout;\n let {\n props,\n getOpenDialogAriaText\n } = _ref,\n pickerParams = _objectWithoutPropertiesLoose(_ref, _excluded);\n const {\n slots,\n slotProps: innerSlotProps,\n className,\n sx,\n format,\n formatDensity,\n timezone,\n name,\n label,\n inputRef,\n readOnly,\n disabled,\n localeText\n } = props;\n const utils = useUtils();\n const internalInputRef = React.useRef(null);\n const labelId = useId();\n const isToolbarHidden = (_innerSlotProps$toolb = innerSlotProps == null || (_innerSlotProps$toolb2 = innerSlotProps.toolbar) == null ? void 0 : _innerSlotProps$toolb2.hidden) != null ? _innerSlotProps$toolb : false;\n const {\n open,\n actions,\n layoutProps,\n renderCurrentView,\n fieldProps: pickerFieldProps\n } = usePicker(_extends({}, pickerParams, {\n props,\n inputRef: internalInputRef,\n autoFocusView: true,\n additionalViewProps: {},\n wrapperVariant: 'mobile'\n }));\n const Field = slots.field;\n const fieldProps = useSlotProps({\n elementType: Field,\n externalSlotProps: innerSlotProps == null ? void 0 : innerSlotProps.field,\n additionalProps: _extends({}, pickerFieldProps, isToolbarHidden && {\n id: labelId\n }, !(disabled || readOnly) && {\n onClick: actions.onOpen,\n onKeyDown: onSpaceOrEnter(actions.onOpen)\n }, {\n readOnly: readOnly != null ? readOnly : true,\n disabled,\n className,\n sx,\n format,\n formatDensity,\n timezone,\n label,\n name\n }),\n ownerState: props\n });\n\n // TODO: Move to `useSlotProps` when https://github.com/mui/material-ui/pull/35088 will be merged\n fieldProps.inputProps = _extends({}, fieldProps.inputProps, {\n 'aria-label': getOpenDialogAriaText(pickerFieldProps.value, utils)\n });\n const slotsForField = _extends({\n textField: slots.textField\n }, fieldProps.slots);\n const Layout = (_slots$layout = slots.layout) != null ? _slots$layout : PickersLayout;\n const handleInputRef = useForkRef(internalInputRef, fieldProps.inputRef, inputRef);\n let labelledById = labelId;\n if (isToolbarHidden) {\n if (label) {\n labelledById = `${labelId}-label`;\n } else {\n labelledById = undefined;\n }\n }\n const slotProps = _extends({}, innerSlotProps, {\n toolbar: _extends({}, innerSlotProps == null ? void 0 : innerSlotProps.toolbar, {\n titleId: labelId\n }),\n mobilePaper: _extends({\n 'aria-labelledby': labelledById\n }, innerSlotProps == null ? void 0 : innerSlotProps.mobilePaper)\n });\n const renderPicker = () => /*#__PURE__*/_jsxs(LocalizationProvider, {\n localeText: localeText,\n children: [/*#__PURE__*/_jsx(Field, _extends({}, fieldProps, {\n slots: slotsForField,\n slotProps: slotProps,\n inputRef: handleInputRef\n })), /*#__PURE__*/_jsx(PickersModalDialog, _extends({}, actions, {\n open: open,\n slots: slots,\n slotProps: slotProps,\n children: /*#__PURE__*/_jsx(Layout, _extends({}, layoutProps, slotProps == null ? void 0 : slotProps.layout, {\n slots: slots,\n slotProps: slotProps,\n children: renderCurrentView()\n }))\n }))]\n });\n return {\n renderPicker\n };\n};","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport * as React from 'react';\nimport { unstable_useControlled as useControlled } from '@mui/utils';\nimport useEventCallback from '@mui/utils/useEventCallback';\nimport { useOpenState } from '../useOpenState';\nimport { useLocalizationContext, useUtils } from '../useUtils';\nimport { useValidation } from '../useValidation';\nimport { useValueWithTimezone } from '../useValueWithTimezone';\n\n/**\n * Decide if the new value should be published\n * The published value will be passed to `onChange` if defined.\n */\nconst shouldPublishValue = params => {\n const {\n action,\n hasChanged,\n dateState,\n isControlled\n } = params;\n const isCurrentValueTheDefaultValue = !isControlled && !dateState.hasBeenModifiedSinceMount;\n\n // The field is responsible for only calling `onChange` when needed.\n if (action.name === 'setValueFromField') {\n return true;\n }\n if (action.name === 'setValueFromAction') {\n // If the component is not controlled, and the value has not been modified since the mount,\n // Then we want to publish the default value whenever the user pressed the \"Accept\", \"Today\" or \"Clear\" button.\n if (isCurrentValueTheDefaultValue && ['accept', 'today', 'clear'].includes(action.pickerAction)) {\n return true;\n }\n return hasChanged(dateState.lastPublishedValue);\n }\n if (action.name === 'setValueFromView' && action.selectionState !== 'shallow') {\n // On the first view,\n // If the value is not controlled, then clicking on any value (including the one equal to `defaultValue`) should call `onChange`\n if (isCurrentValueTheDefaultValue) {\n return true;\n }\n return hasChanged(dateState.lastPublishedValue);\n }\n if (action.name === 'setValueFromShortcut') {\n // On the first view,\n // If the value is not controlled, then clicking on any value (including the one equal to `defaultValue`) should call `onChange`\n if (isCurrentValueTheDefaultValue) {\n return true;\n }\n return hasChanged(dateState.lastPublishedValue);\n }\n return false;\n};\n\n/**\n * Decide if the new value should be committed.\n * The committed value will be passed to `onAccept` if defined.\n * It will also be used as a reset target when calling the `cancel` picker action (when clicking on the \"Cancel\" button).\n */\nconst shouldCommitValue = params => {\n const {\n action,\n hasChanged,\n dateState,\n isControlled,\n closeOnSelect\n } = params;\n const isCurrentValueTheDefaultValue = !isControlled && !dateState.hasBeenModifiedSinceMount;\n if (action.name === 'setValueFromAction') {\n // If the component is not controlled, and the value has not been modified since the mount,\n // Then we want to commit the default value whenever the user pressed the \"Accept\", \"Today\" or \"Clear\" button.\n if (isCurrentValueTheDefaultValue && ['accept', 'today', 'clear'].includes(action.pickerAction)) {\n return true;\n }\n return hasChanged(dateState.lastCommittedValue);\n }\n if (action.name === 'setValueFromView' && action.selectionState === 'finish' && closeOnSelect) {\n // On picker where the 1st view is also the last view,\n // If the value is not controlled, then clicking on any value (including the one equal to `defaultValue`) should call `onAccept`\n if (isCurrentValueTheDefaultValue) {\n return true;\n }\n return hasChanged(dateState.lastCommittedValue);\n }\n if (action.name === 'setValueFromShortcut') {\n return action.changeImportance === 'accept' && hasChanged(dateState.lastCommittedValue);\n }\n return false;\n};\n\n/**\n * Decide if the picker should be closed after the value is updated.\n */\nconst shouldClosePicker = params => {\n const {\n action,\n closeOnSelect\n } = params;\n if (action.name === 'setValueFromAction') {\n return true;\n }\n if (action.name === 'setValueFromView') {\n return action.selectionState === 'finish' && closeOnSelect;\n }\n if (action.name === 'setValueFromShortcut') {\n return action.changeImportance === 'accept';\n }\n return false;\n};\n\n/**\n * Manage the value lifecycle of all the pickers.\n */\nexport const usePickerValue = ({\n props,\n valueManager,\n valueType,\n wrapperVariant,\n validator\n}) => {\n const {\n onAccept,\n onChange,\n value: inValue,\n defaultValue: inDefaultValue,\n closeOnSelect = wrapperVariant === 'desktop',\n selectedSections: selectedSectionsProp,\n onSelectedSectionsChange,\n timezone: timezoneProp\n } = props;\n const {\n current: defaultValue\n } = React.useRef(inDefaultValue);\n const {\n current: isControlled\n } = React.useRef(inValue !== undefined);\n\n /* eslint-disable react-hooks/rules-of-hooks, react-hooks/exhaustive-deps */\n if (process.env.NODE_ENV !== 'production') {\n React.useEffect(() => {\n if (isControlled !== (inValue !== undefined)) {\n console.error([`MUI: A component is changing the ${isControlled ? '' : 'un'}controlled value of a picker to be ${isControlled ? 'un' : ''}controlled.`, 'Elements should not switch from uncontrolled to controlled (or vice versa).', `Decide between using a controlled or uncontrolled value` + 'for the lifetime of the component.', \"The nature of the state is determined during the first render. It's considered controlled if the value is not `undefined`.\", 'More info: https://fb.me/react-controlled-components'].join('\\n'));\n }\n }, [inValue]);\n React.useEffect(() => {\n if (!isControlled && defaultValue !== inDefaultValue) {\n console.error([`MUI: A component is changing the defaultValue of an uncontrolled picker after being initialized. ` + `To suppress this warning opt to use a controlled value.`].join('\\n'));\n }\n }, [JSON.stringify(defaultValue)]);\n }\n /* eslint-enable react-hooks/rules-of-hooks, react-hooks/exhaustive-deps */\n\n const utils = useUtils();\n const adapter = useLocalizationContext();\n const [selectedSections, setSelectedSections] = useControlled({\n controlled: selectedSectionsProp,\n default: null,\n name: 'usePickerValue',\n state: 'selectedSections'\n });\n const {\n isOpen,\n setIsOpen\n } = useOpenState(props);\n const [dateState, setDateState] = React.useState(() => {\n let initialValue;\n if (inValue !== undefined) {\n initialValue = inValue;\n } else if (defaultValue !== undefined) {\n initialValue = defaultValue;\n } else {\n initialValue = valueManager.emptyValue;\n }\n return {\n draft: initialValue,\n lastPublishedValue: initialValue,\n lastCommittedValue: initialValue,\n lastControlledValue: inValue,\n hasBeenModifiedSinceMount: false\n };\n });\n const {\n timezone,\n handleValueChange\n } = useValueWithTimezone({\n timezone: timezoneProp,\n value: inValue,\n defaultValue,\n onChange,\n valueManager\n });\n useValidation(_extends({}, props, {\n value: dateState.draft,\n timezone\n }), validator, valueManager.isSameError, valueManager.defaultErrorState);\n const updateDate = useEventCallback(action => {\n const updaterParams = {\n action,\n dateState,\n hasChanged: comparison => !valueManager.areValuesEqual(utils, action.value, comparison),\n isControlled,\n closeOnSelect\n };\n const shouldPublish = shouldPublishValue(updaterParams);\n const shouldCommit = shouldCommitValue(updaterParams);\n const shouldClose = shouldClosePicker(updaterParams);\n setDateState(prev => _extends({}, prev, {\n draft: action.value,\n lastPublishedValue: shouldPublish ? action.value : prev.lastPublishedValue,\n lastCommittedValue: shouldCommit ? action.value : prev.lastCommittedValue,\n hasBeenModifiedSinceMount: true\n }));\n if (shouldPublish) {\n const validationError = action.name === 'setValueFromField' ? action.context.validationError : validator({\n adapter,\n value: action.value,\n props: _extends({}, props, {\n value: action.value,\n timezone\n })\n });\n const context = {\n validationError\n };\n\n // TODO v7: Remove 2nd condition\n if (action.name === 'setValueFromShortcut' && action.shortcut != null) {\n context.shortcut = action.shortcut;\n }\n handleValueChange(action.value, context);\n }\n if (shouldCommit && onAccept) {\n onAccept(action.value);\n }\n if (shouldClose) {\n setIsOpen(false);\n }\n });\n if (inValue !== undefined && (dateState.lastControlledValue === undefined || !valueManager.areValuesEqual(utils, dateState.lastControlledValue, inValue))) {\n const isUpdateComingFromPicker = valueManager.areValuesEqual(utils, dateState.draft, inValue);\n setDateState(prev => _extends({}, prev, {\n lastControlledValue: inValue\n }, isUpdateComingFromPicker ? {} : {\n lastCommittedValue: inValue,\n lastPublishedValue: inValue,\n draft: inValue,\n hasBeenModifiedSinceMount: true\n }));\n }\n const handleClear = useEventCallback(() => {\n updateDate({\n value: valueManager.emptyValue,\n name: 'setValueFromAction',\n pickerAction: 'clear'\n });\n });\n const handleAccept = useEventCallback(() => {\n updateDate({\n value: dateState.lastPublishedValue,\n name: 'setValueFromAction',\n pickerAction: 'accept'\n });\n });\n const handleDismiss = useEventCallback(() => {\n updateDate({\n value: dateState.lastPublishedValue,\n name: 'setValueFromAction',\n pickerAction: 'dismiss'\n });\n });\n const handleCancel = useEventCallback(() => {\n updateDate({\n value: dateState.lastCommittedValue,\n name: 'setValueFromAction',\n pickerAction: 'cancel'\n });\n });\n const handleSetToday = useEventCallback(() => {\n updateDate({\n value: valueManager.getTodayValue(utils, timezone, valueType),\n name: 'setValueFromAction',\n pickerAction: 'today'\n });\n });\n const handleOpen = useEventCallback(() => setIsOpen(true));\n const handleClose = useEventCallback(() => setIsOpen(false));\n const handleChange = useEventCallback((newValue, selectionState = 'partial') => updateDate({\n name: 'setValueFromView',\n value: newValue,\n selectionState\n }));\n\n // TODO v7: Make changeImportance and label mandatory.\n const handleSelectShortcut = useEventCallback((newValue, changeImportance, shortcut) => updateDate({\n name: 'setValueFromShortcut',\n value: newValue,\n changeImportance: changeImportance != null ? changeImportance : 'accept',\n shortcut\n }));\n const handleChangeFromField = useEventCallback((newValue, context) => updateDate({\n name: 'setValueFromField',\n value: newValue,\n context\n }));\n const handleFieldSelectedSectionsChange = useEventCallback(newSelectedSections => {\n setSelectedSections(newSelectedSections);\n onSelectedSectionsChange == null || onSelectedSectionsChange(newSelectedSections);\n });\n const actions = {\n onClear: handleClear,\n onAccept: handleAccept,\n onDismiss: handleDismiss,\n onCancel: handleCancel,\n onSetToday: handleSetToday,\n onOpen: handleOpen,\n onClose: handleClose\n };\n const fieldResponse = {\n value: dateState.draft,\n onChange: handleChangeFromField,\n selectedSections,\n onSelectedSectionsChange: handleFieldSelectedSectionsChange\n };\n const viewValue = React.useMemo(() => valueManager.cleanValue(utils, dateState.draft), [utils, valueManager, dateState.draft]);\n const viewResponse = {\n value: viewValue,\n onChange: handleChange,\n onClose: handleClose,\n open: isOpen,\n onSelectedSectionsChange: handleFieldSelectedSectionsChange\n };\n const isValid = testedValue => {\n const error = validator({\n adapter,\n value: testedValue,\n props: _extends({}, props, {\n value: testedValue,\n timezone\n })\n });\n return !valueManager.hasError(error);\n };\n const layoutResponse = _extends({}, actions, {\n value: viewValue,\n onChange: handleChange,\n onSelectShortcut: handleSelectShortcut,\n isValid\n });\n return {\n open: isOpen,\n fieldProps: fieldResponse,\n viewProps: viewResponse,\n layoutProps: layoutResponse,\n actions\n };\n};","import * as React from 'react';\nexport const useOpenState = ({\n open,\n onOpen,\n onClose\n}) => {\n const isControllingOpenProp = React.useRef(typeof open === 'boolean').current;\n const [openState, setIsOpenState] = React.useState(false);\n\n // It is required to update inner state in useEffect in order to avoid situation when\n // Our component is not mounted yet, but `open` state is set to `true` (e.g. initially opened)\n React.useEffect(() => {\n if (isControllingOpenProp) {\n if (typeof open !== 'boolean') {\n throw new Error('You must not mix controlling and uncontrolled mode for `open` prop');\n }\n setIsOpenState(open);\n }\n }, [isControllingOpenProp, open]);\n const setIsOpen = React.useCallback(newIsOpen => {\n if (!isControllingOpenProp) {\n setIsOpenState(newIsOpen);\n }\n if (newIsOpen && onOpen) {\n onOpen();\n }\n if (!newIsOpen && onClose) {\n onClose();\n }\n }, [isControllingOpenProp, onOpen, onClose]);\n return {\n isOpen: openState,\n setIsOpen\n };\n};","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nconst _excluded = [\"className\", \"sx\"];\nimport * as React from 'react';\nimport useEnhancedEffect from '@mui/utils/useEnhancedEffect';\nimport useEventCallback from '@mui/utils/useEventCallback';\nimport { useViews } from '../useViews';\nimport { isTimeView } from '../../utils/time-utils';\n\n/**\n * Props used to handle the views that are common to all pickers.\n */\n\n/**\n * Props used to handle the views of the pickers.\n */\n\n/**\n * Props used to handle the value of the pickers.\n */\n\n/**\n * Manage the views of all the pickers:\n * - Handles the view switch\n * - Handles the switch between UI views and field views\n * - Handles the focus management when switching views\n */\nexport const usePickerViews = ({\n props,\n propsFromPickerValue,\n additionalViewProps,\n inputRef,\n autoFocusView\n}) => {\n const {\n onChange,\n open,\n onSelectedSectionsChange,\n onClose\n } = propsFromPickerValue;\n const {\n view: inView,\n views,\n openTo,\n onViewChange,\n viewRenderers,\n timezone\n } = props;\n const propsToForwardToView = _objectWithoutPropertiesLoose(props, _excluded);\n const {\n view,\n setView,\n defaultView,\n focusedView,\n setFocusedView,\n setValueAndGoToNextView\n } = useViews({\n view: inView,\n views,\n openTo,\n onChange,\n onViewChange,\n autoFocus: autoFocusView\n });\n const {\n hasUIView,\n viewModeLookup\n } = React.useMemo(() => views.reduce((acc, viewForReduce) => {\n let viewMode;\n if (viewRenderers[viewForReduce] != null) {\n viewMode = 'UI';\n } else {\n viewMode = 'field';\n }\n acc.viewModeLookup[viewForReduce] = viewMode;\n if (viewMode === 'UI') {\n acc.hasUIView = true;\n }\n return acc;\n }, {\n hasUIView: false,\n viewModeLookup: {}\n }), [viewRenderers, views]);\n const timeViewsCount = React.useMemo(() => views.reduce((acc, viewForReduce) => {\n if (viewRenderers[viewForReduce] != null && isTimeView(viewForReduce)) {\n return acc + 1;\n }\n return acc;\n }, 0), [viewRenderers, views]);\n const currentViewMode = viewModeLookup[view];\n const shouldRestoreFocus = useEventCallback(() => currentViewMode === 'UI');\n const [popperView, setPopperView] = React.useState(currentViewMode === 'UI' ? view : null);\n if (popperView !== view && viewModeLookup[view] === 'UI') {\n setPopperView(view);\n }\n useEnhancedEffect(() => {\n // Handle case of `DateTimePicker` without time renderers\n if (currentViewMode === 'field' && open) {\n onClose();\n setTimeout(() => {\n // focusing the input before the range selection is done\n // calling `onSelectedSectionsChange` outside of timeout results in an inconsistent behavior between Safari And Chrome\n inputRef == null || inputRef.current.focus();\n onSelectedSectionsChange(view);\n });\n }\n }, [view]); // eslint-disable-line react-hooks/exhaustive-deps\n\n useEnhancedEffect(() => {\n if (!open) {\n return;\n }\n let newView = view;\n\n // If the current view is a field view, go to the last popper view\n if (currentViewMode === 'field' && popperView != null) {\n newView = popperView;\n }\n\n // If the current view is not the default view and both are UI views\n if (newView !== defaultView && viewModeLookup[newView] === 'UI' && viewModeLookup[defaultView] === 'UI') {\n newView = defaultView;\n }\n if (newView !== view) {\n setView(newView);\n }\n setFocusedView(newView, true);\n }, [open]); // eslint-disable-line react-hooks/exhaustive-deps\n\n const layoutProps = {\n views,\n view: popperView,\n onViewChange: setView\n };\n return {\n hasUIView,\n shouldRestoreFocus,\n layoutProps,\n renderCurrentView: () => {\n if (popperView == null) {\n return null;\n }\n const renderer = viewRenderers[popperView];\n if (renderer == null) {\n return null;\n }\n return renderer(_extends({}, propsToForwardToView, additionalViewProps, propsFromPickerValue, {\n views,\n timezone,\n onChange: setValueAndGoToNextView,\n view: popperView,\n onViewChange: setView,\n focusedView,\n onFocusedViewChange: setFocusedView,\n showViewSwitcher: timeViewsCount > 1,\n timeViewsCount\n }));\n }\n };\n};","import * as React from 'react';\nimport { unstable_useEnhancedEffect as useEnhancedEffect } from '@mui/utils';\nimport { arrayIncludes } from '../utils/utils';\nfunction getOrientation() {\n if (typeof window === 'undefined') {\n return 'portrait';\n }\n if (window.screen && window.screen.orientation && window.screen.orientation.angle) {\n return Math.abs(window.screen.orientation.angle) === 90 ? 'landscape' : 'portrait';\n }\n\n // Support IOS safari\n if (window.orientation) {\n return Math.abs(Number(window.orientation)) === 90 ? 'landscape' : 'portrait';\n }\n return 'portrait';\n}\nexport const useIsLandscape = (views, customOrientation) => {\n const [orientation, setOrientation] = React.useState(getOrientation);\n useEnhancedEffect(() => {\n const eventHandler = () => {\n setOrientation(getOrientation());\n };\n window.addEventListener('orientationchange', eventHandler);\n return () => {\n window.removeEventListener('orientationchange', eventHandler);\n };\n }, []);\n if (arrayIncludes(views, ['hours', 'minutes', 'seconds'])) {\n // could not display 13:34:44 in landscape mode\n return false;\n }\n const orientationToUse = customOrientation || orientation;\n return orientationToUse === 'landscape';\n};","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport { useIsLandscape } from '../useIsLandscape';\n\n/**\n * Props used to create the layout of the views.\n * Those props are exposed on all the pickers.\n */\n\n/**\n * Prepare the props for the view layout (managed by `PickersLayout`)\n */\nexport const usePickerLayoutProps = ({\n props,\n propsFromPickerValue,\n propsFromPickerViews,\n wrapperVariant\n}) => {\n const {\n orientation\n } = props;\n const isLandscape = useIsLandscape(propsFromPickerViews.views, orientation);\n const layoutProps = _extends({}, propsFromPickerViews, propsFromPickerValue, {\n isLandscape,\n wrapperVariant,\n disabled: props.disabled,\n readOnly: props.readOnly\n });\n return {\n layoutProps\n };\n};","import { usePickerValue } from './usePickerValue';\nimport { usePickerViews } from './usePickerViews';\nimport { usePickerLayoutProps } from './usePickerLayoutProps';\nimport { buildWarning } from '../../utils/warning';\nconst warnRenderInputIsDefined = buildWarning(['The `renderInput` prop has been removed in version 6.0 of the Date and Time Pickers.', 'You can replace it with the `textField` component slot in most cases.', 'For more information, please have a look at the migration guide (https://mui.com/x/migration/migration-pickers-v5/#input-renderer-required-in-v5).']);\nexport const usePicker = ({\n props,\n valueManager,\n valueType,\n wrapperVariant,\n inputRef,\n additionalViewProps,\n validator,\n autoFocusView\n}) => {\n if (process.env.NODE_ENV !== 'production') {\n if (props.renderInput != null) {\n warnRenderInputIsDefined();\n }\n }\n const pickerValueResponse = usePickerValue({\n props,\n valueManager,\n valueType,\n wrapperVariant,\n validator\n });\n const pickerViewsResponse = usePickerViews({\n props,\n inputRef,\n additionalViewProps,\n autoFocusView,\n propsFromPickerValue: pickerValueResponse.viewProps\n });\n const pickerLayoutResponse = usePickerLayoutProps({\n props,\n wrapperVariant,\n propsFromPickerValue: pickerValueResponse.layoutProps,\n propsFromPickerViews: pickerViewsResponse.layoutProps\n });\n return {\n // Picker value\n open: pickerValueResponse.open,\n actions: pickerValueResponse.actions,\n fieldProps: pickerValueResponse.fieldProps,\n // Picker views\n renderCurrentView: pickerViewsResponse.renderCurrentView,\n hasUIView: pickerViewsResponse.hasUIView,\n shouldRestoreFocus: pickerViewsResponse.shouldRestoreFocus,\n // Picker layout\n layoutProps: pickerLayoutResponse.layoutProps\n };\n};","export const buildDeprecatedPropsWarning = message => {\n let alreadyWarned = false;\n if (process.env.NODE_ENV === 'production') {\n return () => {};\n }\n const cleanMessage = Array.isArray(message) ? message.join('\\n') : message;\n return deprecatedProps => {\n const deprecatedKeys = Object.entries(deprecatedProps).filter(([, value]) => value !== undefined).map(([key]) => `- ${key}`);\n if (!alreadyWarned && deprecatedKeys.length > 0) {\n alreadyWarned = true;\n console.warn([cleanMessage, 'deprecated props observed:', ...deprecatedKeys].join('\\n'));\n }\n };\n};\nexport const buildWarning = (message, gravity = 'warning') => {\n let alreadyWarned = false;\n const cleanMessage = Array.isArray(message) ? message.join('\\n') : message;\n return () => {\n if (!alreadyWarned) {\n alreadyWarned = true;\n if (gravity === 'error') {\n console.error(cleanMessage);\n } else {\n console.warn(cleanMessage);\n }\n }\n };\n};","import _extends from \"@babel/runtime/helpers/esm/extends\";\nexport const getPickersLocalization = pickersTranslations => {\n return {\n components: {\n MuiLocalizationProvider: {\n defaultProps: {\n localeText: _extends({}, pickersTranslations)\n }\n }\n }\n };\n};","import { getPickersLocalization } from './utils/getPickersLocalization';\n\n// This object is not Partial because it is the default values\n\nconst enUSPickers = {\n // Calendar navigation\n previousMonth: 'Previous month',\n nextMonth: 'Next month',\n // View navigation\n openPreviousView: 'open previous view',\n openNextView: 'open next view',\n calendarViewSwitchingButtonAriaLabel: view => view === 'year' ? 'year view is open, switch to calendar view' : 'calendar view is open, switch to year view',\n // DateRange placeholders\n start: 'Start',\n end: 'End',\n // Action bar\n cancelButtonLabel: 'Cancel',\n clearButtonLabel: 'Clear',\n okButtonLabel: 'OK',\n todayButtonLabel: 'Today',\n // Toolbar titles\n datePickerToolbarTitle: 'Select date',\n dateTimePickerToolbarTitle: 'Select date & time',\n timePickerToolbarTitle: 'Select time',\n dateRangePickerToolbarTitle: 'Select date range',\n // Clock labels\n clockLabelText: (view, time, adapter) => `Select ${view}. ${time === null ? 'No time selected' : `Selected time is ${adapter.format(time, 'fullTime')}`}`,\n hoursClockNumberText: hours => `${hours} hours`,\n minutesClockNumberText: minutes => `${minutes} minutes`,\n secondsClockNumberText: seconds => `${seconds} seconds`,\n // Digital clock labels\n selectViewText: view => `Select ${view}`,\n // Calendar labels\n calendarWeekNumberHeaderLabel: 'Week number',\n calendarWeekNumberHeaderText: '#',\n calendarWeekNumberAriaLabelText: weekNumber => `Week ${weekNumber}`,\n calendarWeekNumberText: weekNumber => `${weekNumber}`,\n // Open picker labels\n openDatePickerDialogue: (value, utils) => value !== null && utils.isValid(value) ? `Choose date, selected date is ${utils.format(value, 'fullDate')}` : 'Choose date',\n openTimePickerDialogue: (value, utils) => value !== null && utils.isValid(value) ? `Choose time, selected time is ${utils.format(value, 'fullTime')}` : 'Choose time',\n fieldClearLabel: 'Clear value',\n // Table labels\n timeTableLabel: 'pick time',\n dateTableLabel: 'pick date',\n // Field section placeholders\n fieldYearPlaceholder: params => 'Y'.repeat(params.digitAmount),\n fieldMonthPlaceholder: params => params.contentType === 'letter' ? 'MMMM' : 'MM',\n fieldDayPlaceholder: () => 'DD',\n fieldWeekDayPlaceholder: params => params.contentType === 'letter' ? 'EEEE' : 'EE',\n fieldHoursPlaceholder: () => 'hh',\n fieldMinutesPlaceholder: () => 'mm',\n fieldSecondsPlaceholder: () => 'ss',\n fieldMeridiemPlaceholder: () => 'aa'\n};\nexport const DEFAULT_LOCALE = enUSPickers;\nexport const enUS = getPickersLocalization(enUSPickers);","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport * as React from 'react';\nimport { MuiPickersAdapterContext } from '../../LocalizationProvider/LocalizationProvider';\nimport { DEFAULT_LOCALE } from '../../locales/enUS';\nexport const useLocalizationContext = () => {\n const localization = React.useContext(MuiPickersAdapterContext);\n if (localization === null) {\n throw new Error(['MUI: Can not find the date and time pickers localization context.', 'It looks like you forgot to wrap your component in LocalizationProvider.', 'This can also happen if you are bundling multiple versions of the `@mui/x-date-pickers` package'].join('\\n'));\n }\n if (localization.utils === null) {\n throw new Error(['MUI: Can not find the date and time pickers adapter from its localization context.', 'It looks like you forgot to pass a `dateAdapter` to your LocalizationProvider.'].join('\\n'));\n }\n const localeText = React.useMemo(() => _extends({}, DEFAULT_LOCALE, localization.localeText), [localization.localeText]);\n return React.useMemo(() => _extends({}, localization, {\n localeText\n }), [localization, localeText]);\n};\nexport const useUtils = () => useLocalizationContext().utils;\nexport const useDefaultDates = () => useLocalizationContext().defaultDates;\nexport const useLocaleText = () => useLocalizationContext().localeText;\nexport const useNow = timezone => {\n const utils = useUtils();\n const now = React.useRef();\n if (now.current === undefined) {\n now.current = utils.dateWithTimezone(undefined, timezone);\n }\n return now.current;\n};","import * as React from 'react';\nimport { useLocalizationContext } from './useUtils';\nexport function useValidation(props, validate, isSameError, defaultErrorState) {\n const {\n value,\n onError\n } = props;\n const adapter = useLocalizationContext();\n const previousValidationErrorRef = React.useRef(defaultErrorState);\n const validationError = validate({\n adapter,\n value,\n props\n });\n React.useEffect(() => {\n if (onError && !isSameError(validationError, previousValidationErrorRef.current)) {\n onError(validationError, value);\n }\n previousValidationErrorRef.current = validationError;\n }, [isSameError, onError, previousValidationErrorRef, validationError, value]);\n return validationError;\n}","import * as React from 'react';\nimport useEventCallback from '@mui/utils/useEventCallback';\nimport useControlled from '@mui/utils/useControlled';\nimport { useUtils } from './useUtils';\n/**\n * Hooks making sure that:\n * - The value returned by `onChange` always have the timezone of `props.value` or `props.defaultValue` if defined\n * - The value rendered is always the one from `props.timezone` if defined\n */\nexport const useValueWithTimezone = ({\n timezone: timezoneProp,\n value: valueProp,\n defaultValue,\n onChange,\n valueManager\n}) => {\n var _ref, _ref2;\n const utils = useUtils();\n const firstDefaultValue = React.useRef(defaultValue);\n const inputValue = (_ref = valueProp != null ? valueProp : firstDefaultValue.current) != null ? _ref : valueManager.emptyValue;\n const inputTimezone = React.useMemo(() => valueManager.getTimezone(utils, inputValue), [utils, valueManager, inputValue]);\n const setInputTimezone = useEventCallback(newValue => {\n if (inputTimezone == null) {\n return newValue;\n }\n return valueManager.setTimezone(utils, inputTimezone, newValue);\n });\n const timezoneToRender = (_ref2 = timezoneProp != null ? timezoneProp : inputTimezone) != null ? _ref2 : 'default';\n const valueWithTimezoneToRender = React.useMemo(() => valueManager.setTimezone(utils, timezoneToRender, inputValue), [valueManager, utils, timezoneToRender, inputValue]);\n const handleValueChange = useEventCallback((newValue, ...otherParams) => {\n const newValueWithInputTimezone = setInputTimezone(newValue);\n onChange == null || onChange(newValueWithInputTimezone, ...otherParams);\n });\n return {\n value: valueWithTimezoneToRender,\n handleValueChange,\n timezone: timezoneToRender\n };\n};\n\n/**\n * Wrapper around `useControlled` and `useValueWithTimezone`\n */\nexport const useControlledValueWithTimezone = ({\n name,\n timezone: timezoneProp,\n value: valueProp,\n defaultValue,\n onChange: onChangeProp,\n valueManager\n}) => {\n const [valueWithInputTimezone, setValue] = useControlled({\n name,\n state: 'value',\n controlled: valueProp,\n default: defaultValue != null ? defaultValue : valueManager.emptyValue\n });\n const onChange = useEventCallback((newValue, ...otherParams) => {\n setValue(newValue);\n onChangeProp == null || onChangeProp(newValue, ...otherParams);\n });\n return useValueWithTimezone({\n timezone: timezoneProp,\n value: valueWithInputTimezone,\n defaultValue: undefined,\n onChange,\n valueManager\n });\n};","import * as React from 'react';\nimport useEventCallback from '@mui/utils/useEventCallback';\nimport { unstable_useControlled as useControlled } from '@mui/utils';\nlet warnedOnceNotValidView = false;\nexport function useViews({\n onChange,\n onViewChange,\n openTo,\n view: inView,\n views,\n autoFocus,\n focusedView: inFocusedView,\n onFocusedViewChange\n}) {\n var _views, _views2;\n if (process.env.NODE_ENV !== 'production') {\n if (!warnedOnceNotValidView) {\n if (inView != null && !views.includes(inView)) {\n console.warn(`MUI: \\`view=\"${inView}\"\\` is not a valid prop.`, `It must be an element of \\`views=[\"${views.join('\", \"')}\"]\\`.`);\n warnedOnceNotValidView = true;\n }\n if (inView == null && openTo != null && !views.includes(openTo)) {\n console.warn(`MUI: \\`openTo=\"${openTo}\"\\` is not a valid prop.`, `It must be an element of \\`views=[\"${views.join('\", \"')}\"]\\`.`);\n warnedOnceNotValidView = true;\n }\n }\n }\n const previousOpenTo = React.useRef(openTo);\n const previousViews = React.useRef(views);\n const defaultView = React.useRef(views.includes(openTo) ? openTo : views[0]);\n const [view, setView] = useControlled({\n name: 'useViews',\n state: 'view',\n controlled: inView,\n default: defaultView.current\n });\n const defaultFocusedView = React.useRef(autoFocus ? view : null);\n const [focusedView, setFocusedView] = useControlled({\n name: 'useViews',\n state: 'focusedView',\n controlled: inFocusedView,\n default: defaultFocusedView.current\n });\n React.useEffect(() => {\n // Update the current view when `openTo` or `views` props change\n if (previousOpenTo.current && previousOpenTo.current !== openTo || previousViews.current && previousViews.current.some(previousView => !views.includes(previousView))) {\n setView(views.includes(openTo) ? openTo : views[0]);\n previousViews.current = views;\n previousOpenTo.current = openTo;\n }\n }, [openTo, setView, view, views]);\n const viewIndex = views.indexOf(view);\n const previousView = (_views = views[viewIndex - 1]) != null ? _views : null;\n const nextView = (_views2 = views[viewIndex + 1]) != null ? _views2 : null;\n const handleFocusedViewChange = useEventCallback((viewToFocus, hasFocus) => {\n if (hasFocus) {\n // Focus event\n setFocusedView(viewToFocus);\n } else {\n // Blur event\n setFocusedView(prevFocusedView => viewToFocus === prevFocusedView ? null : prevFocusedView // If false the blur is due to view switching\n );\n }\n onFocusedViewChange == null || onFocusedViewChange(viewToFocus, hasFocus);\n });\n const handleChangeView = useEventCallback(newView => {\n // always keep the focused view in sync\n handleFocusedViewChange(newView, true);\n if (newView === view) {\n return;\n }\n setView(newView);\n if (onViewChange) {\n onViewChange(newView);\n }\n });\n const goToNextView = useEventCallback(() => {\n if (nextView) {\n handleChangeView(nextView);\n }\n });\n const setValueAndGoToNextView = useEventCallback((value, currentViewSelectionState, selectedView) => {\n const isSelectionFinishedOnCurrentView = currentViewSelectionState === 'finish';\n const hasMoreViews = selectedView ?\n // handles case like `DateTimePicker`, where a view might return a `finish` selection state\n // but we it's not the final view given all `views` -> overall selection state should be `partial`.\n views.indexOf(selectedView) < views.length - 1 : Boolean(nextView);\n const globalSelectionState = isSelectionFinishedOnCurrentView && hasMoreViews ? 'partial' : currentViewSelectionState;\n onChange(value, globalSelectionState, selectedView);\n // Detects if the selected view is not the active one.\n // Can happen if multiple views are displayed, like in `DesktopDateTimePicker` or `MultiSectionDigitalClock`.\n if (selectedView && selectedView !== view) {\n const nextViewAfterSelected = views[views.indexOf(selectedView) + 1];\n if (nextViewAfterSelected) {\n // move to next view after the selected one\n handleChangeView(nextViewAfterSelected);\n }\n } else if (isSelectionFinishedOnCurrentView) {\n goToNextView();\n }\n });\n return {\n view,\n setView: handleChangeView,\n focusedView,\n setFocusedView: handleFocusedViewChange,\n nextView,\n previousView,\n // Always return up to date default view instead of the initial one (i.e. defaultView.current)\n defaultView: views.includes(openTo) ? openTo : views[0],\n goToNextView,\n setValueAndGoToNextView\n };\n}","import { areViewsEqual } from './views';\nexport const mergeDateAndTime = (utils, dateParam, timeParam) => {\n let mergedDate = dateParam;\n mergedDate = utils.setHours(mergedDate, utils.getHours(timeParam));\n mergedDate = utils.setMinutes(mergedDate, utils.getMinutes(timeParam));\n mergedDate = utils.setSeconds(mergedDate, utils.getSeconds(timeParam));\n return mergedDate;\n};\nexport const findClosestEnabledDate = ({\n date,\n disableFuture,\n disablePast,\n maxDate,\n minDate,\n isDateDisabled,\n utils,\n timezone\n}) => {\n const today = mergeDateAndTime(utils, utils.dateWithTimezone(undefined, timezone), date);\n if (disablePast && utils.isBefore(minDate, today)) {\n minDate = today;\n }\n if (disableFuture && utils.isAfter(maxDate, today)) {\n maxDate = today;\n }\n let forward = date;\n let backward = date;\n if (utils.isBefore(date, minDate)) {\n forward = minDate;\n backward = null;\n }\n if (utils.isAfter(date, maxDate)) {\n if (backward) {\n backward = maxDate;\n }\n forward = null;\n }\n while (forward || backward) {\n if (forward && utils.isAfter(forward, maxDate)) {\n forward = null;\n }\n if (backward && utils.isBefore(backward, minDate)) {\n backward = null;\n }\n if (forward) {\n if (!isDateDisabled(forward)) {\n return forward;\n }\n forward = utils.addDays(forward, 1);\n }\n if (backward) {\n if (!isDateDisabled(backward)) {\n return backward;\n }\n backward = utils.addDays(backward, -1);\n }\n }\n return null;\n};\nexport const replaceInvalidDateByNull = (utils, value) => value == null || !utils.isValid(value) ? null : value;\nexport const applyDefaultDate = (utils, value, defaultValue) => {\n if (value == null || !utils.isValid(value)) {\n return defaultValue;\n }\n return value;\n};\nexport const areDatesEqual = (utils, a, b) => {\n if (!utils.isValid(a) && a != null && !utils.isValid(b) && b != null) {\n return true;\n }\n return utils.isEqual(a, b);\n};\nexport const getMonthsInYear = (utils, year) => {\n const firstMonth = utils.startOfYear(year);\n const months = [firstMonth];\n while (months.length < 12) {\n const prevMonth = months[months.length - 1];\n months.push(utils.addMonths(prevMonth, 1));\n }\n return months;\n};\nexport const getTodayDate = (utils, timezone, valueType) => valueType === 'date' ? utils.startOfDay(utils.dateWithTimezone(undefined, timezone)) : utils.dateWithTimezone(undefined, timezone);\nexport const formatMeridiem = (utils, meridiem) => {\n const date = utils.setHours(utils.date(), meridiem === 'am' ? 2 : 14);\n return utils.format(date, 'meridiem');\n};\nconst dateViews = ['year', 'month', 'day'];\nexport const isDatePickerView = view => dateViews.includes(view);\nexport const resolveDateFormat = (utils, {\n format,\n views\n}, isInToolbar) => {\n if (format != null) {\n return format;\n }\n const formats = utils.formats;\n if (areViewsEqual(views, ['year'])) {\n return formats.year;\n }\n if (areViewsEqual(views, ['month'])) {\n return formats.month;\n }\n if (areViewsEqual(views, ['day'])) {\n return formats.dayOfMonth;\n }\n if (areViewsEqual(views, ['month', 'year'])) {\n return `${formats.month} ${formats.year}`;\n }\n if (areViewsEqual(views, ['day', 'month'])) {\n return `${formats.month} ${formats.dayOfMonth}`;\n }\n if (isInToolbar) {\n // Little localization hack (Google is doing the same for android native pickers):\n // For english localization it is convenient to include weekday into the date \"Mon, Jun 1\".\n // For other locales using strings like \"June 1\", without weekday.\n return /en/.test(utils.getCurrentLocaleCode()) ? formats.normalDateWithWeekday : formats.normalDate;\n }\n return formats.keyboardDate;\n};\nexport const getWeekdays = (utils, date) => {\n const start = utils.startOfWeek(date);\n return [0, 1, 2, 3, 4, 5, 6].map(diff => utils.addDays(start, diff));\n};","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport { DATE_TIME_VALIDATION_PROP_NAMES, DATE_VALIDATION_PROP_NAMES, TIME_VALIDATION_PROP_NAMES } from './validation/extractValidationProps';\nconst SHARED_FIELD_INTERNAL_PROP_NAMES = ['value', 'defaultValue', 'referenceDate', 'format', 'formatDensity', 'onChange', 'timezone', 'readOnly', 'onError', 'shouldRespectLeadingZeros', 'selectedSections', 'onSelectedSectionsChange', 'unstableFieldRef'];\nexport const splitFieldInternalAndForwardedProps = (props, valueType) => {\n const forwardedProps = _extends({}, props);\n const internalProps = {};\n const extractProp = propName => {\n if (forwardedProps.hasOwnProperty(propName)) {\n // @ts-ignore\n internalProps[propName] = forwardedProps[propName];\n delete forwardedProps[propName];\n }\n };\n SHARED_FIELD_INTERNAL_PROP_NAMES.forEach(extractProp);\n if (valueType === 'date') {\n DATE_VALIDATION_PROP_NAMES.forEach(extractProp);\n } else if (valueType === 'time') {\n TIME_VALIDATION_PROP_NAMES.forEach(extractProp);\n } else if (valueType === 'date-time') {\n DATE_VALIDATION_PROP_NAMES.forEach(extractProp);\n TIME_VALIDATION_PROP_NAMES.forEach(extractProp);\n DATE_TIME_VALIDATION_PROP_NAMES.forEach(extractProp);\n }\n return {\n forwardedProps,\n internalProps\n };\n};","import { createIsAfterIgnoreDatePart } from './time-utils';\nimport { mergeDateAndTime, getTodayDate } from './date-utils';\nexport const SECTION_TYPE_GRANULARITY = {\n year: 1,\n month: 2,\n day: 3,\n hours: 4,\n minutes: 5,\n seconds: 6,\n milliseconds: 7\n};\nexport const getSectionTypeGranularity = sections => Math.max(...sections.map(section => {\n var _SECTION_TYPE_GRANULA;\n return (_SECTION_TYPE_GRANULA = SECTION_TYPE_GRANULARITY[section.type]) != null ? _SECTION_TYPE_GRANULA : 1;\n}));\nexport const getViewsGranularity = views => Math.max(...views.map(view => {\n var _SECTION_TYPE_GRANULA2;\n return (_SECTION_TYPE_GRANULA2 = SECTION_TYPE_GRANULARITY[view]) != null ? _SECTION_TYPE_GRANULA2 : 1;\n}));\nconst roundDate = (utils, granularity, date) => {\n if (granularity === SECTION_TYPE_GRANULARITY.year) {\n return utils.startOfYear(date);\n }\n if (granularity === SECTION_TYPE_GRANULARITY.month) {\n return utils.startOfMonth(date);\n }\n if (granularity === SECTION_TYPE_GRANULARITY.day) {\n return utils.startOfDay(date);\n }\n\n // We don't have startOfHour / startOfMinute / startOfSecond\n let roundedDate = date;\n if (granularity < SECTION_TYPE_GRANULARITY.minutes) {\n roundedDate = utils.setMinutes(roundedDate, 0);\n }\n if (granularity < SECTION_TYPE_GRANULARITY.seconds) {\n roundedDate = utils.setSeconds(roundedDate, 0);\n }\n if (granularity < SECTION_TYPE_GRANULARITY.milliseconds) {\n roundedDate = utils.setMilliseconds(roundedDate, 0);\n }\n return roundedDate;\n};\nexport const getDefaultReferenceDate = ({\n props,\n utils,\n granularity,\n timezone,\n getTodayDate: inGetTodayDate\n}) => {\n var _props$disableIgnorin;\n let referenceDate = inGetTodayDate ? inGetTodayDate() : roundDate(utils, granularity, getTodayDate(utils, timezone));\n if (props.minDate != null && utils.isAfterDay(props.minDate, referenceDate)) {\n referenceDate = roundDate(utils, granularity, props.minDate);\n }\n if (props.maxDate != null && utils.isBeforeDay(props.maxDate, referenceDate)) {\n referenceDate = roundDate(utils, granularity, props.maxDate);\n }\n const isAfter = createIsAfterIgnoreDatePart((_props$disableIgnorin = props.disableIgnoringDatePartForTimeValidation) != null ? _props$disableIgnorin : false, utils);\n if (props.minTime != null && isAfter(props.minTime, referenceDate)) {\n referenceDate = roundDate(utils, granularity, props.disableIgnoringDatePartForTimeValidation ? props.minTime : mergeDateAndTime(utils, referenceDate, props.minTime));\n }\n if (props.maxTime != null && isAfter(referenceDate, props.maxTime)) {\n referenceDate = roundDate(utils, granularity, props.disableIgnoringDatePartForTimeValidation ? props.maxTime : mergeDateAndTime(utils, referenceDate, props.maxTime));\n }\n return referenceDate;\n};","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// TODO v7: This file exist only to simplify typing between\n// components/componentsProps and slots/slotProps\n// Should be deleted when components/componentsProps are removed\n\nexport const uncapitalizeObjectKeys = capitalizedObject => {\n if (capitalizedObject === undefined) {\n return undefined;\n }\n return Object.keys(capitalizedObject).reduce((acc, key) => _extends({}, acc, {\n [`${key.slice(0, 1).toLowerCase()}${key.slice(1)}`]: capitalizedObject[key]\n }), {});\n};","import { areViewsEqual } from './views';\nconst timeViews = ['hours', 'minutes', 'seconds'];\nexport const isTimeView = view => timeViews.includes(view);\nexport const isInternalTimeView = view => timeViews.includes(view) || view === 'meridiem';\nexport const getMeridiem = (date, utils) => {\n if (!date) {\n return null;\n }\n return utils.getHours(date) >= 12 ? 'pm' : 'am';\n};\nexport const convertValueToMeridiem = (value, meridiem, ampm) => {\n if (ampm) {\n const currentMeridiem = value >= 12 ? 'pm' : 'am';\n if (currentMeridiem !== meridiem) {\n return meridiem === 'am' ? value - 12 : value + 12;\n }\n }\n return value;\n};\nexport const convertToMeridiem = (time, meridiem, ampm, utils) => {\n const newHoursAmount = convertValueToMeridiem(utils.getHours(time), meridiem, ampm);\n return utils.setHours(time, newHoursAmount);\n};\nexport const getSecondsInDay = (date, utils) => {\n return utils.getHours(date) * 3600 + utils.getMinutes(date) * 60 + utils.getSeconds(date);\n};\nexport const createIsAfterIgnoreDatePart = (disableIgnoringDatePartForTimeValidation, utils) => (dateLeft, dateRight) => {\n if (disableIgnoringDatePartForTimeValidation) {\n return utils.isAfter(dateLeft, dateRight);\n }\n return getSecondsInDay(dateLeft, utils) > getSecondsInDay(dateRight, utils);\n};\nexport const resolveTimeFormat = (utils, {\n format,\n views,\n ampm\n}) => {\n if (format != null) {\n return format;\n }\n const formats = utils.formats;\n if (areViewsEqual(views, ['hours'])) {\n return ampm ? `${formats.hours12h} ${formats.meridiem}` : formats.hours24h;\n }\n if (areViewsEqual(views, ['minutes'])) {\n return formats.minutes;\n }\n if (areViewsEqual(views, ['seconds'])) {\n return formats.seconds;\n }\n if (areViewsEqual(views, ['minutes', 'seconds'])) {\n return `${formats.minutes}:${formats.seconds}`;\n }\n if (areViewsEqual(views, ['hours', 'minutes', 'seconds'])) {\n return ampm ? `${formats.hours12h}:${formats.minutes}:${formats.seconds} ${formats.meridiem}` : `${formats.hours24h}:${formats.minutes}:${formats.seconds}`;\n }\n return ampm ? `${formats.hours12h}:${formats.minutes} ${formats.meridiem}` : `${formats.hours24h}:${formats.minutes}`;\n};","/* Use it instead of .includes method for IE support */\nexport function arrayIncludes(array, itemOrItems) {\n if (Array.isArray(itemOrItems)) {\n return itemOrItems.every(item => array.indexOf(item) !== -1);\n }\n return array.indexOf(itemOrItems) !== -1;\n}\nexport const onSpaceOrEnter = (innerFn, externalEvent) => event => {\n if (event.key === 'Enter' || event.key === ' ') {\n innerFn(event);\n\n // prevent any side effects\n event.preventDefault();\n event.stopPropagation();\n }\n if (externalEvent) {\n externalEvent(event);\n }\n};\nexport const executeInTheNextEventLoopTick = fn => {\n setTimeout(fn, 0);\n};\n\n// https://www.abeautifulsite.net/posts/finding-the-active-element-in-a-shadow-root/\nexport const getActiveElement = (root = document) => {\n const activeEl = root.activeElement;\n if (!activeEl) {\n return null;\n }\n if (activeEl.shadowRoot) {\n return getActiveElement(activeEl.shadowRoot);\n }\n return activeEl;\n};\nexport const DEFAULT_DESKTOP_MODE_MEDIA_QUERY = '@media (pointer: fine)';","export const DATE_VALIDATION_PROP_NAMES = ['disablePast', 'disableFuture', 'minDate', 'maxDate', 'shouldDisableDate', 'shouldDisableMonth', 'shouldDisableYear'];\nexport const TIME_VALIDATION_PROP_NAMES = ['disablePast', 'disableFuture', 'minTime', 'maxTime', 'shouldDisableClock', 'shouldDisableTime', 'minutesStep', 'ampm', 'disableIgnoringDatePartForTimeValidation'];\nexport const DATE_TIME_VALIDATION_PROP_NAMES = ['minDateTime', 'maxDateTime'];\nconst VALIDATION_PROP_NAMES = [...DATE_VALIDATION_PROP_NAMES, ...TIME_VALIDATION_PROP_NAMES, ...DATE_TIME_VALIDATION_PROP_NAMES];\n/**\n * Extract the validation props for the props received by a component.\n * Limit the risk of forgetting some of them and reduce the bundle size.\n */\nexport const extractValidationProps = props => VALIDATION_PROP_NAMES.reduce((extractedProps, propName) => {\n if (props.hasOwnProperty(propName)) {\n extractedProps[propName] = props[propName];\n }\n return extractedProps;\n}, {});","import _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nconst _excluded = [\"value\", \"referenceDate\"];\nimport { areDatesEqual, getTodayDate, replaceInvalidDateByNull } from './date-utils';\nimport { getDefaultReferenceDate } from './getDefaultReferenceDate';\nimport { addPositionPropertiesToSections, createDateStrForInputFromSections } from '../hooks/useField/useField.utils';\nexport const singleItemValueManager = {\n emptyValue: null,\n getTodayValue: getTodayDate,\n getInitialReferenceValue: _ref => {\n let {\n value,\n referenceDate\n } = _ref,\n params = _objectWithoutPropertiesLoose(_ref, _excluded);\n if (value != null && params.utils.isValid(value)) {\n return value;\n }\n if (referenceDate != null) {\n return referenceDate;\n }\n return getDefaultReferenceDate(params);\n },\n cleanValue: replaceInvalidDateByNull,\n areValuesEqual: areDatesEqual,\n isSameError: (a, b) => a === b,\n hasError: error => error != null,\n defaultErrorState: null,\n getTimezone: (utils, value) => value == null || !utils.isValid(value) ? null : utils.getTimezone(value),\n setTimezone: (utils, timezone, value) => value == null ? null : utils.setTimezone(value, timezone)\n};\nexport const singleItemFieldValueManager = {\n updateReferenceValue: (utils, value, prevReferenceValue) => value == null || !utils.isValid(value) ? prevReferenceValue : value,\n getSectionsFromValue: (utils, date, prevSections, isRTL, getSectionsFromDate) => {\n const shouldReUsePrevDateSections = !utils.isValid(date) && !!prevSections;\n if (shouldReUsePrevDateSections) {\n return prevSections;\n }\n return addPositionPropertiesToSections(getSectionsFromDate(date), isRTL);\n },\n getValueStrFromSections: createDateStrForInputFromSections,\n getActiveDateManager: (utils, state) => ({\n date: state.value,\n referenceDate: state.referenceValue,\n getSections: sections => sections,\n getNewValuesFromNewActiveDate: newActiveDate => ({\n value: newActiveDate,\n referenceValue: newActiveDate == null || !utils.isValid(newActiveDate) ? state.referenceValue : newActiveDate\n })\n }),\n parseValueStr: (valueStr, referenceValue, parseDate) => parseDate(valueStr.trim(), referenceValue)\n};","export const areViewsEqual = (views, expectedViews) => {\n if (views.length !== expectedViews.length) {\n return false;\n }\n return expectedViews.every(expectedView => views.includes(expectedView));\n};\nexport const applyDefaultViewProps = ({\n openTo,\n defaultOpenTo,\n views,\n defaultViews\n}) => {\n const viewsWithDefault = views != null ? views : defaultViews;\n let openToWithDefault;\n if (openTo != null) {\n openToWithDefault = openTo;\n } else if (viewsWithDefault.includes(defaultOpenTo)) {\n openToWithDefault = defaultOpenTo;\n } else if (viewsWithDefault.length > 0) {\n openToWithDefault = viewsWithDefault[0];\n } else {\n throw new Error('MUI: The `views` prop must contain at least one view');\n }\n return {\n views: viewsWithDefault,\n openTo: openToWithDefault\n };\n};","module.exports = require('./lib/axios');","'use strict';\n\nvar utils = require('./../utils');\nvar settle = require('./../core/settle');\nvar cookies = require('./../helpers/cookies');\nvar buildURL = require('./../helpers/buildURL');\nvar buildFullPath = require('../core/buildFullPath');\nvar parseHeaders = require('./../helpers/parseHeaders');\nvar isURLSameOrigin = require('./../helpers/isURLSameOrigin');\nvar createError = require('../core/createError');\nvar defaults = require('../defaults');\nvar Cancel = require('../cancel/Cancel');\n\nmodule.exports = function xhrAdapter(config) {\n return new Promise(function dispatchXhrRequest(resolve, reject) {\n var requestData = config.data;\n var requestHeaders = config.headers;\n var responseType = config.responseType;\n var onCanceled;\n function done() {\n if (config.cancelToken) {\n config.cancelToken.unsubscribe(onCanceled);\n }\n\n if (config.signal) {\n config.signal.removeEventListener('abort', onCanceled);\n }\n }\n\n if (utils.isFormData(requestData)) {\n delete requestHeaders['Content-Type']; // Let the browser set it\n }\n\n var request = new XMLHttpRequest();\n\n // HTTP basic authentication\n if (config.auth) {\n var username = config.auth.username || '';\n var password = config.auth.password ? unescape(encodeURIComponent(config.auth.password)) : '';\n requestHeaders.Authorization = 'Basic ' + btoa(username + ':' + password);\n }\n\n var fullPath = buildFullPath(config.baseURL, config.url);\n request.open(config.method.toUpperCase(), buildURL(fullPath, config.params, config.paramsSerializer), true);\n\n // Set the request timeout in MS\n request.timeout = config.timeout;\n\n function onloadend() {\n if (!request) {\n return;\n }\n // Prepare the response\n var responseHeaders = 'getAllResponseHeaders' in request ? parseHeaders(request.getAllResponseHeaders()) : null;\n var responseData = !responseType || responseType === 'text' || responseType === 'json' ?\n request.responseText : request.response;\n var response = {\n data: responseData,\n status: request.status,\n statusText: request.statusText,\n headers: responseHeaders,\n config: config,\n request: request\n };\n\n settle(function _resolve(value) {\n resolve(value);\n done();\n }, function _reject(err) {\n reject(err);\n done();\n }, response);\n\n // Clean up request\n request = null;\n }\n\n if ('onloadend' in request) {\n // Use onloadend if available\n request.onloadend = onloadend;\n } else {\n // Listen for ready state to emulate onloadend\n request.onreadystatechange = function handleLoad() {\n if (!request || request.readyState !== 4) {\n return;\n }\n\n // The request errored out and we didn't get a response, this will be\n // handled by onerror instead\n // With one exception: request that using file: protocol, most browsers\n // will return status as 0 even though it's a successful request\n if (request.status === 0 && !(request.responseURL && request.responseURL.indexOf('file:') === 0)) {\n return;\n }\n // readystate handler is calling before onerror or ontimeout handlers,\n // so we should call onloadend on the next 'tick'\n setTimeout(onloadend);\n };\n }\n\n // Handle browser request cancellation (as opposed to a manual cancellation)\n request.onabort = function handleAbort() {\n if (!request) {\n return;\n }\n\n reject(createError('Request aborted', config, 'ECONNABORTED', request));\n\n // Clean up request\n request = null;\n };\n\n // Handle low level network errors\n request.onerror = function handleError() {\n // Real errors are hidden from us by the browser\n // onerror should only fire if it's a network error\n reject(createError('Network Error', config, null, request));\n\n // Clean up request\n request = null;\n };\n\n // Handle timeout\n request.ontimeout = function handleTimeout() {\n var timeoutErrorMessage = config.timeout ? 'timeout of ' + config.timeout + 'ms exceeded' : 'timeout exceeded';\n var transitional = config.transitional || defaults.transitional;\n if (config.timeoutErrorMessage) {\n timeoutErrorMessage = config.timeoutErrorMessage;\n }\n reject(createError(\n timeoutErrorMessage,\n config,\n transitional.clarifyTimeoutError ? 'ETIMEDOUT' : 'ECONNABORTED',\n request));\n\n // Clean up request\n request = null;\n };\n\n // Add xsrf header\n // This is only done if running in a standard browser environment.\n // Specifically not if we're in a web worker, or react-native.\n if (utils.isStandardBrowserEnv()) {\n // Add xsrf header\n var xsrfValue = (config.withCredentials || isURLSameOrigin(fullPath)) && config.xsrfCookieName ?\n cookies.read(config.xsrfCookieName) :\n undefined;\n\n if (xsrfValue) {\n requestHeaders[config.xsrfHeaderName] = xsrfValue;\n }\n }\n\n // Add headers to the request\n if ('setRequestHeader' in request) {\n utils.forEach(requestHeaders, function setRequestHeader(val, key) {\n if (typeof requestData === 'undefined' && key.toLowerCase() === 'content-type') {\n // Remove Content-Type if data is undefined\n delete requestHeaders[key];\n } else {\n // Otherwise add header to the request\n request.setRequestHeader(key, val);\n }\n });\n }\n\n // Add withCredentials to request if needed\n if (!utils.isUndefined(config.withCredentials)) {\n request.withCredentials = !!config.withCredentials;\n }\n\n // Add responseType to request if needed\n if (responseType && responseType !== 'json') {\n request.responseType = config.responseType;\n }\n\n // Handle progress if needed\n if (typeof config.onDownloadProgress === 'function') {\n request.addEventListener('progress', config.onDownloadProgress);\n }\n\n // Not all browsers support upload events\n if (typeof config.onUploadProgress === 'function' && request.upload) {\n request.upload.addEventListener('progress', config.onUploadProgress);\n }\n\n if (config.cancelToken || config.signal) {\n // Handle cancellation\n // eslint-disable-next-line func-names\n onCanceled = function(cancel) {\n if (!request) {\n return;\n }\n reject(!cancel || (cancel && cancel.type) ? new Cancel('canceled') : cancel);\n request.abort();\n request = null;\n };\n\n config.cancelToken && config.cancelToken.subscribe(onCanceled);\n if (config.signal) {\n config.signal.aborted ? onCanceled() : config.signal.addEventListener('abort', onCanceled);\n }\n }\n\n if (!requestData) {\n requestData = null;\n }\n\n // Send the request\n request.send(requestData);\n });\n};\n","'use strict';\n\nvar utils = require('./utils');\nvar bind = require('./helpers/bind');\nvar Axios = require('./core/Axios');\nvar mergeConfig = require('./core/mergeConfig');\nvar defaults = require('./defaults');\n\n/**\n * Create an instance of Axios\n *\n * @param {Object} defaultConfig The default config for the instance\n * @return {Axios} A new instance of Axios\n */\nfunction createInstance(defaultConfig) {\n var context = new Axios(defaultConfig);\n var instance = bind(Axios.prototype.request, context);\n\n // Copy axios.prototype to instance\n utils.extend(instance, Axios.prototype, context);\n\n // Copy context to instance\n utils.extend(instance, context);\n\n // Factory for creating new instances\n instance.create = function create(instanceConfig) {\n return createInstance(mergeConfig(defaultConfig, instanceConfig));\n };\n\n return instance;\n}\n\n// Create the default instance to be exported\nvar axios = createInstance(defaults);\n\n// Expose Axios class to allow class inheritance\naxios.Axios = Axios;\n\n// Expose Cancel & CancelToken\naxios.Cancel = require('./cancel/Cancel');\naxios.CancelToken = require('./cancel/CancelToken');\naxios.isCancel = require('./cancel/isCancel');\naxios.VERSION = require('./env/data').version;\n\n// Expose all/spread\naxios.all = function all(promises) {\n return Promise.all(promises);\n};\naxios.spread = require('./helpers/spread');\n\n// Expose isAxiosError\naxios.isAxiosError = require('./helpers/isAxiosError');\n\nmodule.exports = axios;\n\n// Allow use of default import syntax in TypeScript\nmodule.exports.default = axios;\n","'use strict';\n\n/**\n * A `Cancel` is an object that is thrown when an operation is canceled.\n *\n * @class\n * @param {string=} message The message.\n */\nfunction Cancel(message) {\n this.message = message;\n}\n\nCancel.prototype.toString = function toString() {\n return 'Cancel' + (this.message ? ': ' + this.message : '');\n};\n\nCancel.prototype.__CANCEL__ = true;\n\nmodule.exports = Cancel;\n","'use strict';\n\nvar Cancel = require('./Cancel');\n\n/**\n * A `CancelToken` is an object that can be used to request cancellation of an operation.\n *\n * @class\n * @param {Function} executor The executor function.\n */\nfunction CancelToken(executor) {\n if (typeof executor !== 'function') {\n throw new TypeError('executor must be a function.');\n }\n\n var resolvePromise;\n\n this.promise = new Promise(function promiseExecutor(resolve) {\n resolvePromise = resolve;\n });\n\n var token = this;\n\n // eslint-disable-next-line func-names\n this.promise.then(function(cancel) {\n if (!token._listeners) return;\n\n var i;\n var l = token._listeners.length;\n\n for (i = 0; i < l; i++) {\n token._listeners[i](cancel);\n }\n token._listeners = null;\n });\n\n // eslint-disable-next-line func-names\n this.promise.then = function(onfulfilled) {\n var _resolve;\n // eslint-disable-next-line func-names\n var promise = new Promise(function(resolve) {\n token.subscribe(resolve);\n _resolve = resolve;\n }).then(onfulfilled);\n\n promise.cancel = function reject() {\n token.unsubscribe(_resolve);\n };\n\n return promise;\n };\n\n executor(function cancel(message) {\n if (token.reason) {\n // Cancellation has already been requested\n return;\n }\n\n token.reason = new Cancel(message);\n resolvePromise(token.reason);\n });\n}\n\n/**\n * Throws a `Cancel` if cancellation has been requested.\n */\nCancelToken.prototype.throwIfRequested = function throwIfRequested() {\n if (this.reason) {\n throw this.reason;\n }\n};\n\n/**\n * Subscribe to the cancel signal\n */\n\nCancelToken.prototype.subscribe = function subscribe(listener) {\n if (this.reason) {\n listener(this.reason);\n return;\n }\n\n if (this._listeners) {\n this._listeners.push(listener);\n } else {\n this._listeners = [listener];\n }\n};\n\n/**\n * Unsubscribe from the cancel signal\n */\n\nCancelToken.prototype.unsubscribe = function unsubscribe(listener) {\n if (!this._listeners) {\n return;\n }\n var index = this._listeners.indexOf(listener);\n if (index !== -1) {\n this._listeners.splice(index, 1);\n }\n};\n\n/**\n * Returns an object that contains a new `CancelToken` and a function that, when called,\n * cancels the `CancelToken`.\n */\nCancelToken.source = function source() {\n var cancel;\n var token = new CancelToken(function executor(c) {\n cancel = c;\n });\n return {\n token: token,\n cancel: cancel\n };\n};\n\nmodule.exports = CancelToken;\n","'use strict';\n\nmodule.exports = function isCancel(value) {\n return !!(value && value.__CANCEL__);\n};\n","'use strict';\n\nvar utils = require('./../utils');\nvar buildURL = require('../helpers/buildURL');\nvar InterceptorManager = require('./InterceptorManager');\nvar dispatchRequest = require('./dispatchRequest');\nvar mergeConfig = require('./mergeConfig');\nvar validator = require('../helpers/validator');\n\nvar validators = validator.validators;\n/**\n * Create a new instance of Axios\n *\n * @param {Object} instanceConfig The default config for the instance\n */\nfunction Axios(instanceConfig) {\n this.defaults = instanceConfig;\n this.interceptors = {\n request: new InterceptorManager(),\n response: new InterceptorManager()\n };\n}\n\n/**\n * Dispatch a request\n *\n * @param {Object} config The config specific for this request (merged with this.defaults)\n */\nAxios.prototype.request = function request(config) {\n /*eslint no-param-reassign:0*/\n // Allow for axios('example/url'[, config]) a la fetch API\n if (typeof config === 'string') {\n config = arguments[1] || {};\n config.url = arguments[0];\n } else {\n config = config || {};\n }\n\n config = mergeConfig(this.defaults, config);\n\n // Set config.method\n if (config.method) {\n config.method = config.method.toLowerCase();\n } else if (this.defaults.method) {\n config.method = this.defaults.method.toLowerCase();\n } else {\n config.method = 'get';\n }\n\n var transitional = config.transitional;\n\n if (transitional !== undefined) {\n validator.assertOptions(transitional, {\n silentJSONParsing: validators.transitional(validators.boolean),\n forcedJSONParsing: validators.transitional(validators.boolean),\n clarifyTimeoutError: validators.transitional(validators.boolean)\n }, false);\n }\n\n // filter out skipped interceptors\n var requestInterceptorChain = [];\n var synchronousRequestInterceptors = true;\n this.interceptors.request.forEach(function unshiftRequestInterceptors(interceptor) {\n if (typeof interceptor.runWhen === 'function' && interceptor.runWhen(config) === false) {\n return;\n }\n\n synchronousRequestInterceptors = synchronousRequestInterceptors && interceptor.synchronous;\n\n requestInterceptorChain.unshift(interceptor.fulfilled, interceptor.rejected);\n });\n\n var responseInterceptorChain = [];\n this.interceptors.response.forEach(function pushResponseInterceptors(interceptor) {\n responseInterceptorChain.push(interceptor.fulfilled, interceptor.rejected);\n });\n\n var promise;\n\n if (!synchronousRequestInterceptors) {\n var chain = [dispatchRequest, undefined];\n\n Array.prototype.unshift.apply(chain, requestInterceptorChain);\n chain = chain.concat(responseInterceptorChain);\n\n promise = Promise.resolve(config);\n while (chain.length) {\n promise = promise.then(chain.shift(), chain.shift());\n }\n\n return promise;\n }\n\n\n var newConfig = config;\n while (requestInterceptorChain.length) {\n var onFulfilled = requestInterceptorChain.shift();\n var onRejected = requestInterceptorChain.shift();\n try {\n newConfig = onFulfilled(newConfig);\n } catch (error) {\n onRejected(error);\n break;\n }\n }\n\n try {\n promise = dispatchRequest(newConfig);\n } catch (error) {\n return Promise.reject(error);\n }\n\n while (responseInterceptorChain.length) {\n promise = promise.then(responseInterceptorChain.shift(), responseInterceptorChain.shift());\n }\n\n return promise;\n};\n\nAxios.prototype.getUri = function getUri(config) {\n config = mergeConfig(this.defaults, config);\n return buildURL(config.url, config.params, config.paramsSerializer).replace(/^\\?/, '');\n};\n\n// Provide aliases for supported request methods\nutils.forEach(['delete', 'get', 'head', 'options'], function forEachMethodNoData(method) {\n /*eslint func-names:0*/\n Axios.prototype[method] = function(url, config) {\n return this.request(mergeConfig(config || {}, {\n method: method,\n url: url,\n data: (config || {}).data\n }));\n };\n});\n\nutils.forEach(['post', 'put', 'patch'], function forEachMethodWithData(method) {\n /*eslint func-names:0*/\n Axios.prototype[method] = function(url, data, config) {\n return this.request(mergeConfig(config || {}, {\n method: method,\n url: url,\n data: data\n }));\n };\n});\n\nmodule.exports = Axios;\n","'use strict';\n\nvar utils = require('./../utils');\n\nfunction InterceptorManager() {\n this.handlers = [];\n}\n\n/**\n * Add a new interceptor to the stack\n *\n * @param {Function} fulfilled The function to handle `then` for a `Promise`\n * @param {Function} rejected The function to handle `reject` for a `Promise`\n *\n * @return {Number} An ID used to remove interceptor later\n */\nInterceptorManager.prototype.use = function use(fulfilled, rejected, options) {\n this.handlers.push({\n fulfilled: fulfilled,\n rejected: rejected,\n synchronous: options ? options.synchronous : false,\n runWhen: options ? options.runWhen : null\n });\n return this.handlers.length - 1;\n};\n\n/**\n * Remove an interceptor from the stack\n *\n * @param {Number} id The ID that was returned by `use`\n */\nInterceptorManager.prototype.eject = function eject(id) {\n if (this.handlers[id]) {\n this.handlers[id] = null;\n }\n};\n\n/**\n * Iterate over all the registered interceptors\n *\n * This method is particularly useful for skipping over any\n * interceptors that may have become `null` calling `eject`.\n *\n * @param {Function} fn The function to call for each interceptor\n */\nInterceptorManager.prototype.forEach = function forEach(fn) {\n utils.forEach(this.handlers, function forEachHandler(h) {\n if (h !== null) {\n fn(h);\n }\n });\n};\n\nmodule.exports = InterceptorManager;\n","'use strict';\n\nvar isAbsoluteURL = require('../helpers/isAbsoluteURL');\nvar combineURLs = require('../helpers/combineURLs');\n\n/**\n * Creates a new URL by combining the baseURL with the requestedURL,\n * only when the requestedURL is not already an absolute URL.\n * If the requestURL is absolute, this function returns the requestedURL untouched.\n *\n * @param {string} baseURL The base URL\n * @param {string} requestedURL Absolute or relative URL to combine\n * @returns {string} The combined full path\n */\nmodule.exports = function buildFullPath(baseURL, requestedURL) {\n if (baseURL && !isAbsoluteURL(requestedURL)) {\n return combineURLs(baseURL, requestedURL);\n }\n return requestedURL;\n};\n","'use strict';\n\nvar enhanceError = require('./enhanceError');\n\n/**\n * Create an Error with the specified message, config, error code, request and response.\n *\n * @param {string} message The error message.\n * @param {Object} config The config.\n * @param {string} [code] The error code (for example, 'ECONNABORTED').\n * @param {Object} [request] The request.\n * @param {Object} [response] The response.\n * @returns {Error} The created error.\n */\nmodule.exports = function createError(message, config, code, request, response) {\n var error = new Error(message);\n return enhanceError(error, config, code, request, response);\n};\n","'use strict';\n\nvar utils = require('./../utils');\nvar transformData = require('./transformData');\nvar isCancel = require('../cancel/isCancel');\nvar defaults = require('../defaults');\nvar Cancel = require('../cancel/Cancel');\n\n/**\n * Throws a `Cancel` if cancellation has been requested.\n */\nfunction throwIfCancellationRequested(config) {\n if (config.cancelToken) {\n config.cancelToken.throwIfRequested();\n }\n\n if (config.signal && config.signal.aborted) {\n throw new Cancel('canceled');\n }\n}\n\n/**\n * Dispatch a request to the server using the configured adapter.\n *\n * @param {object} config The config that is to be used for the request\n * @returns {Promise} The Promise to be fulfilled\n */\nmodule.exports = function dispatchRequest(config) {\n throwIfCancellationRequested(config);\n\n // Ensure headers exist\n config.headers = config.headers || {};\n\n // Transform request data\n config.data = transformData.call(\n config,\n config.data,\n config.headers,\n config.transformRequest\n );\n\n // Flatten headers\n config.headers = utils.merge(\n config.headers.common || {},\n config.headers[config.method] || {},\n config.headers\n );\n\n utils.forEach(\n ['delete', 'get', 'head', 'post', 'put', 'patch', 'common'],\n function cleanHeaderConfig(method) {\n delete config.headers[method];\n }\n );\n\n var adapter = config.adapter || defaults.adapter;\n\n return adapter(config).then(function onAdapterResolution(response) {\n throwIfCancellationRequested(config);\n\n // Transform response data\n response.data = transformData.call(\n config,\n response.data,\n response.headers,\n config.transformResponse\n );\n\n return response;\n }, function onAdapterRejection(reason) {\n if (!isCancel(reason)) {\n throwIfCancellationRequested(config);\n\n // Transform response data\n if (reason && reason.response) {\n reason.response.data = transformData.call(\n config,\n reason.response.data,\n reason.response.headers,\n config.transformResponse\n );\n }\n }\n\n return Promise.reject(reason);\n });\n};\n","'use strict';\n\n/**\n * Update an Error with the specified config, error code, and response.\n *\n * @param {Error} error The error to update.\n * @param {Object} config The config.\n * @param {string} [code] The error code (for example, 'ECONNABORTED').\n * @param {Object} [request] The request.\n * @param {Object} [response] The response.\n * @returns {Error} The error.\n */\nmodule.exports = function enhanceError(error, config, code, request, response) {\n error.config = config;\n if (code) {\n error.code = code;\n }\n\n error.request = request;\n error.response = response;\n error.isAxiosError = true;\n\n error.toJSON = function toJSON() {\n return {\n // Standard\n message: this.message,\n name: this.name,\n // Microsoft\n description: this.description,\n number: this.number,\n // Mozilla\n fileName: this.fileName,\n lineNumber: this.lineNumber,\n columnNumber: this.columnNumber,\n stack: this.stack,\n // Axios\n config: this.config,\n code: this.code,\n status: this.response && this.response.status ? this.response.status : null\n };\n };\n return error;\n};\n","'use strict';\n\nvar utils = require('../utils');\n\n/**\n * Config-specific merge-function which creates a new config-object\n * by merging two configuration objects together.\n *\n * @param {Object} config1\n * @param {Object} config2\n * @returns {Object} New object resulting from merging config2 to config1\n */\nmodule.exports = function mergeConfig(config1, config2) {\n // eslint-disable-next-line no-param-reassign\n config2 = config2 || {};\n var config = {};\n\n function getMergedValue(target, source) {\n if (utils.isPlainObject(target) && utils.isPlainObject(source)) {\n return utils.merge(target, source);\n } else if (utils.isPlainObject(source)) {\n return utils.merge({}, source);\n } else if (utils.isArray(source)) {\n return source.slice();\n }\n return source;\n }\n\n // eslint-disable-next-line consistent-return\n function mergeDeepProperties(prop) {\n if (!utils.isUndefined(config2[prop])) {\n return getMergedValue(config1[prop], config2[prop]);\n } else if (!utils.isUndefined(config1[prop])) {\n return getMergedValue(undefined, config1[prop]);\n }\n }\n\n // eslint-disable-next-line consistent-return\n function valueFromConfig2(prop) {\n if (!utils.isUndefined(config2[prop])) {\n return getMergedValue(undefined, config2[prop]);\n }\n }\n\n // eslint-disable-next-line consistent-return\n function defaultToConfig2(prop) {\n if (!utils.isUndefined(config2[prop])) {\n return getMergedValue(undefined, config2[prop]);\n } else if (!utils.isUndefined(config1[prop])) {\n return getMergedValue(undefined, config1[prop]);\n }\n }\n\n // eslint-disable-next-line consistent-return\n function mergeDirectKeys(prop) {\n if (prop in config2) {\n return getMergedValue(config1[prop], config2[prop]);\n } else if (prop in config1) {\n return getMergedValue(undefined, config1[prop]);\n }\n }\n\n var mergeMap = {\n 'url': valueFromConfig2,\n 'method': valueFromConfig2,\n 'data': valueFromConfig2,\n 'baseURL': defaultToConfig2,\n 'transformRequest': defaultToConfig2,\n 'transformResponse': defaultToConfig2,\n 'paramsSerializer': defaultToConfig2,\n 'timeout': defaultToConfig2,\n 'timeoutMessage': defaultToConfig2,\n 'withCredentials': defaultToConfig2,\n 'adapter': defaultToConfig2,\n 'responseType': defaultToConfig2,\n 'xsrfCookieName': defaultToConfig2,\n 'xsrfHeaderName': defaultToConfig2,\n 'onUploadProgress': defaultToConfig2,\n 'onDownloadProgress': defaultToConfig2,\n 'decompress': defaultToConfig2,\n 'maxContentLength': defaultToConfig2,\n 'maxBodyLength': defaultToConfig2,\n 'transport': defaultToConfig2,\n 'httpAgent': defaultToConfig2,\n 'httpsAgent': defaultToConfig2,\n 'cancelToken': defaultToConfig2,\n 'socketPath': defaultToConfig2,\n 'responseEncoding': defaultToConfig2,\n 'validateStatus': mergeDirectKeys\n };\n\n utils.forEach(Object.keys(config1).concat(Object.keys(config2)), function computeConfigValue(prop) {\n var merge = mergeMap[prop] || mergeDeepProperties;\n var configValue = merge(prop);\n (utils.isUndefined(configValue) && merge !== mergeDirectKeys) || (config[prop] = configValue);\n });\n\n return config;\n};\n","'use strict';\n\nvar createError = require('./createError');\n\n/**\n * Resolve or reject a Promise based on response status.\n *\n * @param {Function} resolve A function that resolves the promise.\n * @param {Function} reject A function that rejects the promise.\n * @param {object} response The response.\n */\nmodule.exports = function settle(resolve, reject, response) {\n var validateStatus = response.config.validateStatus;\n if (!response.status || !validateStatus || validateStatus(response.status)) {\n resolve(response);\n } else {\n reject(createError(\n 'Request failed with status code ' + response.status,\n response.config,\n null,\n response.request,\n response\n ));\n }\n};\n","'use strict';\n\nvar utils = require('./../utils');\nvar defaults = require('./../defaults');\n\n/**\n * Transform the data for a request or a response\n *\n * @param {Object|String} data The data to be transformed\n * @param {Array} headers The headers for the request or response\n * @param {Array|Function} fns A single function or Array of functions\n * @returns {*} The resulting transformed data\n */\nmodule.exports = function transformData(data, headers, fns) {\n var context = this || defaults;\n /*eslint no-param-reassign:0*/\n utils.forEach(fns, function transform(fn) {\n data = fn.call(context, data, headers);\n });\n\n return data;\n};\n","'use strict';\n\nvar utils = require('./utils');\nvar normalizeHeaderName = require('./helpers/normalizeHeaderName');\nvar enhanceError = require('./core/enhanceError');\n\nvar DEFAULT_CONTENT_TYPE = {\n 'Content-Type': 'application/x-www-form-urlencoded'\n};\n\nfunction setContentTypeIfUnset(headers, value) {\n if (!utils.isUndefined(headers) && utils.isUndefined(headers['Content-Type'])) {\n headers['Content-Type'] = value;\n }\n}\n\nfunction getDefaultAdapter() {\n var adapter;\n if (typeof XMLHttpRequest !== 'undefined') {\n // For browsers use XHR adapter\n adapter = require('./adapters/xhr');\n } else if (typeof process !== 'undefined' && Object.prototype.toString.call(process) === '[object process]') {\n // For node use HTTP adapter\n adapter = require('./adapters/http');\n }\n return adapter;\n}\n\nfunction stringifySafely(rawValue, parser, encoder) {\n if (utils.isString(rawValue)) {\n try {\n (parser || JSON.parse)(rawValue);\n return utils.trim(rawValue);\n } catch (e) {\n if (e.name !== 'SyntaxError') {\n throw e;\n }\n }\n }\n\n return (encoder || JSON.stringify)(rawValue);\n}\n\nvar defaults = {\n\n transitional: {\n silentJSONParsing: true,\n forcedJSONParsing: true,\n clarifyTimeoutError: false\n },\n\n adapter: getDefaultAdapter(),\n\n transformRequest: [function transformRequest(data, headers) {\n normalizeHeaderName(headers, 'Accept');\n normalizeHeaderName(headers, 'Content-Type');\n\n if (utils.isFormData(data) ||\n utils.isArrayBuffer(data) ||\n utils.isBuffer(data) ||\n utils.isStream(data) ||\n utils.isFile(data) ||\n utils.isBlob(data)\n ) {\n return data;\n }\n if (utils.isArrayBufferView(data)) {\n return data.buffer;\n }\n if (utils.isURLSearchParams(data)) {\n setContentTypeIfUnset(headers, 'application/x-www-form-urlencoded;charset=utf-8');\n return data.toString();\n }\n if (utils.isObject(data) || (headers && headers['Content-Type'] === 'application/json')) {\n setContentTypeIfUnset(headers, 'application/json');\n return stringifySafely(data);\n }\n return data;\n }],\n\n transformResponse: [function transformResponse(data) {\n var transitional = this.transitional || defaults.transitional;\n var silentJSONParsing = transitional && transitional.silentJSONParsing;\n var forcedJSONParsing = transitional && transitional.forcedJSONParsing;\n var strictJSONParsing = !silentJSONParsing && this.responseType === 'json';\n\n if (strictJSONParsing || (forcedJSONParsing && utils.isString(data) && data.length)) {\n try {\n return JSON.parse(data);\n } catch (e) {\n if (strictJSONParsing) {\n if (e.name === 'SyntaxError') {\n throw enhanceError(e, this, 'E_JSON_PARSE');\n }\n throw e;\n }\n }\n }\n\n return data;\n }],\n\n /**\n * A timeout in milliseconds to abort a request. If set to 0 (default) a\n * timeout is not created.\n */\n timeout: 0,\n\n xsrfCookieName: 'XSRF-TOKEN',\n xsrfHeaderName: 'X-XSRF-TOKEN',\n\n maxContentLength: -1,\n maxBodyLength: -1,\n\n validateStatus: function validateStatus(status) {\n return status >= 200 && status < 300;\n },\n\n headers: {\n common: {\n 'Accept': 'application/json, text/plain, */*'\n }\n }\n};\n\nutils.forEach(['delete', 'get', 'head'], function forEachMethodNoData(method) {\n defaults.headers[method] = {};\n});\n\nutils.forEach(['post', 'put', 'patch'], function forEachMethodWithData(method) {\n defaults.headers[method] = utils.merge(DEFAULT_CONTENT_TYPE);\n});\n\nmodule.exports = defaults;\n","module.exports = {\n \"version\": \"0.24.0\"\n};","'use strict';\n\nmodule.exports = function bind(fn, thisArg) {\n return function wrap() {\n var args = new Array(arguments.length);\n for (var i = 0; i < args.length; i++) {\n args[i] = arguments[i];\n }\n return fn.apply(thisArg, args);\n };\n};\n","'use strict';\n\nvar utils = require('./../utils');\n\nfunction encode(val) {\n return encodeURIComponent(val).\n replace(/%3A/gi, ':').\n replace(/%24/g, '$').\n replace(/%2C/gi, ',').\n replace(/%20/g, '+').\n replace(/%5B/gi, '[').\n replace(/%5D/gi, ']');\n}\n\n/**\n * Build a URL by appending params to the end\n *\n * @param {string} url The base of the url (e.g., http://www.google.com)\n * @param {object} [params] The params to be appended\n * @returns {string} The formatted url\n */\nmodule.exports = function buildURL(url, params, paramsSerializer) {\n /*eslint no-param-reassign:0*/\n if (!params) {\n return url;\n }\n\n var serializedParams;\n if (paramsSerializer) {\n serializedParams = paramsSerializer(params);\n } else if (utils.isURLSearchParams(params)) {\n serializedParams = params.toString();\n } else {\n var parts = [];\n\n utils.forEach(params, function serialize(val, key) {\n if (val === null || typeof val === 'undefined') {\n return;\n }\n\n if (utils.isArray(val)) {\n key = key + '[]';\n } else {\n val = [val];\n }\n\n utils.forEach(val, function parseValue(v) {\n if (utils.isDate(v)) {\n v = v.toISOString();\n } else if (utils.isObject(v)) {\n v = JSON.stringify(v);\n }\n parts.push(encode(key) + '=' + encode(v));\n });\n });\n\n serializedParams = parts.join('&');\n }\n\n if (serializedParams) {\n var hashmarkIndex = url.indexOf('#');\n if (hashmarkIndex !== -1) {\n url = url.slice(0, hashmarkIndex);\n }\n\n url += (url.indexOf('?') === -1 ? '?' : '&') + serializedParams;\n }\n\n return url;\n};\n","'use strict';\n\n/**\n * Creates a new URL by combining the specified URLs\n *\n * @param {string} baseURL The base URL\n * @param {string} relativeURL The relative URL\n * @returns {string} The combined URL\n */\nmodule.exports = function combineURLs(baseURL, relativeURL) {\n return relativeURL\n ? baseURL.replace(/\\/+$/, '') + '/' + relativeURL.replace(/^\\/+/, '')\n : baseURL;\n};\n","'use strict';\n\nvar utils = require('./../utils');\n\nmodule.exports = (\n utils.isStandardBrowserEnv() ?\n\n // Standard browser envs support document.cookie\n (function standardBrowserEnv() {\n return {\n write: function write(name, value, expires, path, domain, secure) {\n var cookie = [];\n cookie.push(name + '=' + encodeURIComponent(value));\n\n if (utils.isNumber(expires)) {\n cookie.push('expires=' + new Date(expires).toGMTString());\n }\n\n if (utils.isString(path)) {\n cookie.push('path=' + path);\n }\n\n if (utils.isString(domain)) {\n cookie.push('domain=' + domain);\n }\n\n if (secure === true) {\n cookie.push('secure');\n }\n\n document.cookie = cookie.join('; ');\n },\n\n read: function read(name) {\n var match = document.cookie.match(new RegExp('(^|;\\\\s*)(' + name + ')=([^;]*)'));\n return (match ? decodeURIComponent(match[3]) : null);\n },\n\n remove: function remove(name) {\n this.write(name, '', Date.now() - 86400000);\n }\n };\n })() :\n\n // Non standard browser env (web workers, react-native) lack needed support.\n (function nonStandardBrowserEnv() {\n return {\n write: function write() {},\n read: function read() { return null; },\n remove: function remove() {}\n };\n })()\n);\n","'use strict';\n\n/**\n * Determines whether the specified URL is absolute\n *\n * @param {string} url The URL to test\n * @returns {boolean} True if the specified URL is absolute, otherwise false\n */\nmodule.exports = function isAbsoluteURL(url) {\n // A URL is considered absolute if it begins with \"://\" or \"//\" (protocol-relative URL).\n // RFC 3986 defines scheme name as a sequence of characters beginning with a letter and followed\n // by any combination of letters, digits, plus, period, or hyphen.\n return /^([a-z][a-z\\d\\+\\-\\.]*:)?\\/\\//i.test(url);\n};\n","'use strict';\n\n/**\n * Determines whether the payload is an error thrown by Axios\n *\n * @param {*} payload The value to test\n * @returns {boolean} True if the payload is an error thrown by Axios, otherwise false\n */\nmodule.exports = function isAxiosError(payload) {\n return (typeof payload === 'object') && (payload.isAxiosError === true);\n};\n","'use strict';\n\nvar utils = require('./../utils');\n\nmodule.exports = (\n utils.isStandardBrowserEnv() ?\n\n // Standard browser envs have full support of the APIs needed to test\n // whether the request URL is of the same origin as current location.\n (function standardBrowserEnv() {\n var msie = /(msie|trident)/i.test(navigator.userAgent);\n var urlParsingNode = document.createElement('a');\n var originURL;\n\n /**\n * Parse a URL to discover it's components\n *\n * @param {String} url The URL to be parsed\n * @returns {Object}\n */\n function resolveURL(url) {\n var href = url;\n\n if (msie) {\n // IE needs attribute set twice to normalize properties\n urlParsingNode.setAttribute('href', href);\n href = urlParsingNode.href;\n }\n\n urlParsingNode.setAttribute('href', href);\n\n // urlParsingNode provides the UrlUtils interface - http://url.spec.whatwg.org/#urlutils\n return {\n href: urlParsingNode.href,\n protocol: urlParsingNode.protocol ? urlParsingNode.protocol.replace(/:$/, '') : '',\n host: urlParsingNode.host,\n search: urlParsingNode.search ? urlParsingNode.search.replace(/^\\?/, '') : '',\n hash: urlParsingNode.hash ? urlParsingNode.hash.replace(/^#/, '') : '',\n hostname: urlParsingNode.hostname,\n port: urlParsingNode.port,\n pathname: (urlParsingNode.pathname.charAt(0) === '/') ?\n urlParsingNode.pathname :\n '/' + urlParsingNode.pathname\n };\n }\n\n originURL = resolveURL(window.location.href);\n\n /**\n * Determine if a URL shares the same origin as the current location\n *\n * @param {String} requestURL The URL to test\n * @returns {boolean} True if URL shares the same origin, otherwise false\n */\n return function isURLSameOrigin(requestURL) {\n var parsed = (utils.isString(requestURL)) ? resolveURL(requestURL) : requestURL;\n return (parsed.protocol === originURL.protocol &&\n parsed.host === originURL.host);\n };\n })() :\n\n // Non standard browser envs (web workers, react-native) lack needed support.\n (function nonStandardBrowserEnv() {\n return function isURLSameOrigin() {\n return true;\n };\n })()\n);\n","'use strict';\n\nvar utils = require('../utils');\n\nmodule.exports = function normalizeHeaderName(headers, normalizedName) {\n utils.forEach(headers, function processHeader(value, name) {\n if (name !== normalizedName && name.toUpperCase() === normalizedName.toUpperCase()) {\n headers[normalizedName] = value;\n delete headers[name];\n }\n });\n};\n","'use strict';\n\nvar utils = require('./../utils');\n\n// Headers whose duplicates are ignored by node\n// c.f. https://nodejs.org/api/http.html#http_message_headers\nvar ignoreDuplicateOf = [\n 'age', 'authorization', 'content-length', 'content-type', 'etag',\n 'expires', 'from', 'host', 'if-modified-since', 'if-unmodified-since',\n 'last-modified', 'location', 'max-forwards', 'proxy-authorization',\n 'referer', 'retry-after', 'user-agent'\n];\n\n/**\n * Parse headers into an object\n *\n * ```\n * Date: Wed, 27 Aug 2014 08:58:49 GMT\n * Content-Type: application/json\n * Connection: keep-alive\n * Transfer-Encoding: chunked\n * ```\n *\n * @param {String} headers Headers needing to be parsed\n * @returns {Object} Headers parsed into an object\n */\nmodule.exports = function parseHeaders(headers) {\n var parsed = {};\n var key;\n var val;\n var i;\n\n if (!headers) { return parsed; }\n\n utils.forEach(headers.split('\\n'), function parser(line) {\n i = line.indexOf(':');\n key = utils.trim(line.substr(0, i)).toLowerCase();\n val = utils.trim(line.substr(i + 1));\n\n if (key) {\n if (parsed[key] && ignoreDuplicateOf.indexOf(key) >= 0) {\n return;\n }\n if (key === 'set-cookie') {\n parsed[key] = (parsed[key] ? parsed[key] : []).concat([val]);\n } else {\n parsed[key] = parsed[key] ? parsed[key] + ', ' + val : val;\n }\n }\n });\n\n return parsed;\n};\n","'use strict';\n\n/**\n * Syntactic sugar for invoking a function and expanding an array for arguments.\n *\n * Common use case would be to use `Function.prototype.apply`.\n *\n * ```js\n * function f(x, y, z) {}\n * var args = [1, 2, 3];\n * f.apply(null, args);\n * ```\n *\n * With `spread` this example can be re-written.\n *\n * ```js\n * spread(function(x, y, z) {})([1, 2, 3]);\n * ```\n *\n * @param {Function} callback\n * @returns {Function}\n */\nmodule.exports = function spread(callback) {\n return function wrap(arr) {\n return callback.apply(null, arr);\n };\n};\n","'use strict';\n\nvar VERSION = require('../env/data').version;\n\nvar validators = {};\n\n// eslint-disable-next-line func-names\n['object', 'boolean', 'number', 'function', 'string', 'symbol'].forEach(function(type, i) {\n validators[type] = function validator(thing) {\n return typeof thing === type || 'a' + (i < 1 ? 'n ' : ' ') + type;\n };\n});\n\nvar deprecatedWarnings = {};\n\n/**\n * Transitional option validator\n * @param {function|boolean?} validator - set to false if the transitional option has been removed\n * @param {string?} version - deprecated version / removed since version\n * @param {string?} message - some message with additional info\n * @returns {function}\n */\nvalidators.transitional = function transitional(validator, version, message) {\n function formatMessage(opt, desc) {\n return '[Axios v' + VERSION + '] Transitional option \\'' + opt + '\\'' + desc + (message ? '. ' + message : '');\n }\n\n // eslint-disable-next-line func-names\n return function(value, opt, opts) {\n if (validator === false) {\n throw new Error(formatMessage(opt, ' has been removed' + (version ? ' in ' + version : '')));\n }\n\n if (version && !deprecatedWarnings[opt]) {\n deprecatedWarnings[opt] = true;\n // eslint-disable-next-line no-console\n console.warn(\n formatMessage(\n opt,\n ' has been deprecated since v' + version + ' and will be removed in the near future'\n )\n );\n }\n\n return validator ? validator(value, opt, opts) : true;\n };\n};\n\n/**\n * Assert object's properties type\n * @param {object} options\n * @param {object} schema\n * @param {boolean?} allowUnknown\n */\n\nfunction assertOptions(options, schema, allowUnknown) {\n if (typeof options !== 'object') {\n throw new TypeError('options must be an object');\n }\n var keys = Object.keys(options);\n var i = keys.length;\n while (i-- > 0) {\n var opt = keys[i];\n var validator = schema[opt];\n if (validator) {\n var value = options[opt];\n var result = value === undefined || validator(value, opt, options);\n if (result !== true) {\n throw new TypeError('option ' + opt + ' must be ' + result);\n }\n continue;\n }\n if (allowUnknown !== true) {\n throw Error('Unknown option ' + opt);\n }\n }\n}\n\nmodule.exports = {\n assertOptions: assertOptions,\n validators: validators\n};\n","'use strict';\n\nvar bind = require('./helpers/bind');\n\n// utils is a library of generic helper functions non-specific to axios\n\nvar toString = Object.prototype.toString;\n\n/**\n * Determine if a value is an Array\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is an Array, otherwise false\n */\nfunction isArray(val) {\n return toString.call(val) === '[object Array]';\n}\n\n/**\n * Determine if a value is undefined\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if the value is undefined, otherwise false\n */\nfunction isUndefined(val) {\n return typeof val === 'undefined';\n}\n\n/**\n * Determine if a value is a Buffer\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Buffer, otherwise false\n */\nfunction isBuffer(val) {\n return val !== null && !isUndefined(val) && val.constructor !== null && !isUndefined(val.constructor)\n && typeof val.constructor.isBuffer === 'function' && val.constructor.isBuffer(val);\n}\n\n/**\n * Determine if a value is an ArrayBuffer\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is an ArrayBuffer, otherwise false\n */\nfunction isArrayBuffer(val) {\n return toString.call(val) === '[object ArrayBuffer]';\n}\n\n/**\n * Determine if a value is a FormData\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is an FormData, otherwise false\n */\nfunction isFormData(val) {\n return (typeof FormData !== 'undefined') && (val instanceof FormData);\n}\n\n/**\n * Determine if a value is a view on an ArrayBuffer\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a view on an ArrayBuffer, otherwise false\n */\nfunction isArrayBufferView(val) {\n var result;\n if ((typeof ArrayBuffer !== 'undefined') && (ArrayBuffer.isView)) {\n result = ArrayBuffer.isView(val);\n } else {\n result = (val) && (val.buffer) && (val.buffer instanceof ArrayBuffer);\n }\n return result;\n}\n\n/**\n * Determine if a value is a String\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a String, otherwise false\n */\nfunction isString(val) {\n return typeof val === 'string';\n}\n\n/**\n * Determine if a value is a Number\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Number, otherwise false\n */\nfunction isNumber(val) {\n return typeof val === 'number';\n}\n\n/**\n * Determine if a value is an Object\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is an Object, otherwise false\n */\nfunction isObject(val) {\n return val !== null && typeof val === 'object';\n}\n\n/**\n * Determine if a value is a plain Object\n *\n * @param {Object} val The value to test\n * @return {boolean} True if value is a plain Object, otherwise false\n */\nfunction isPlainObject(val) {\n if (toString.call(val) !== '[object Object]') {\n return false;\n }\n\n var prototype = Object.getPrototypeOf(val);\n return prototype === null || prototype === Object.prototype;\n}\n\n/**\n * Determine if a value is a Date\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Date, otherwise false\n */\nfunction isDate(val) {\n return toString.call(val) === '[object Date]';\n}\n\n/**\n * Determine if a value is a File\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a File, otherwise false\n */\nfunction isFile(val) {\n return toString.call(val) === '[object File]';\n}\n\n/**\n * Determine if a value is a Blob\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Blob, otherwise false\n */\nfunction isBlob(val) {\n return toString.call(val) === '[object Blob]';\n}\n\n/**\n * Determine if a value is a Function\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Function, otherwise false\n */\nfunction isFunction(val) {\n return toString.call(val) === '[object Function]';\n}\n\n/**\n * Determine if a value is a Stream\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Stream, otherwise false\n */\nfunction isStream(val) {\n return isObject(val) && isFunction(val.pipe);\n}\n\n/**\n * Determine if a value is a URLSearchParams object\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a URLSearchParams object, otherwise false\n */\nfunction isURLSearchParams(val) {\n return typeof URLSearchParams !== 'undefined' && val instanceof URLSearchParams;\n}\n\n/**\n * Trim excess whitespace off the beginning and end of a string\n *\n * @param {String} str The String to trim\n * @returns {String} The String freed of excess whitespace\n */\nfunction trim(str) {\n return str.trim ? str.trim() : str.replace(/^\\s+|\\s+$/g, '');\n}\n\n/**\n * Determine if we're running in a standard browser environment\n *\n * This allows axios to run in a web worker, and react-native.\n * Both environments support XMLHttpRequest, but not fully standard globals.\n *\n * web workers:\n * typeof window -> undefined\n * typeof document -> undefined\n *\n * react-native:\n * navigator.product -> 'ReactNative'\n * nativescript\n * navigator.product -> 'NativeScript' or 'NS'\n */\nfunction isStandardBrowserEnv() {\n if (typeof navigator !== 'undefined' && (navigator.product === 'ReactNative' ||\n navigator.product === 'NativeScript' ||\n navigator.product === 'NS')) {\n return false;\n }\n return (\n typeof window !== 'undefined' &&\n typeof document !== 'undefined'\n );\n}\n\n/**\n * Iterate over an Array or an Object invoking a function for each item.\n *\n * If `obj` is an Array callback will be called passing\n * the value, index, and complete array for each item.\n *\n * If 'obj' is an Object callback will be called passing\n * the value, key, and complete object for each property.\n *\n * @param {Object|Array} obj The object to iterate\n * @param {Function} fn The callback to invoke for each item\n */\nfunction forEach(obj, fn) {\n // Don't bother if no value provided\n if (obj === null || typeof obj === 'undefined') {\n return;\n }\n\n // Force an array if not already something iterable\n if (typeof obj !== 'object') {\n /*eslint no-param-reassign:0*/\n obj = [obj];\n }\n\n if (isArray(obj)) {\n // Iterate over array values\n for (var i = 0, l = obj.length; i < l; i++) {\n fn.call(null, obj[i], i, obj);\n }\n } else {\n // Iterate over object keys\n for (var key in obj) {\n if (Object.prototype.hasOwnProperty.call(obj, key)) {\n fn.call(null, obj[key], key, obj);\n }\n }\n }\n}\n\n/**\n * Accepts varargs expecting each argument to be an object, then\n * immutably merges the properties of each object and returns result.\n *\n * When multiple objects contain the same key the later object in\n * the arguments list will take precedence.\n *\n * Example:\n *\n * ```js\n * var result = merge({foo: 123}, {foo: 456});\n * console.log(result.foo); // outputs 456\n * ```\n *\n * @param {Object} obj1 Object to merge\n * @returns {Object} Result of all merge properties\n */\nfunction merge(/* obj1, obj2, obj3, ... */) {\n var result = {};\n function assignValue(val, key) {\n if (isPlainObject(result[key]) && isPlainObject(val)) {\n result[key] = merge(result[key], val);\n } else if (isPlainObject(val)) {\n result[key] = merge({}, val);\n } else if (isArray(val)) {\n result[key] = val.slice();\n } else {\n result[key] = val;\n }\n }\n\n for (var i = 0, l = arguments.length; i < l; i++) {\n forEach(arguments[i], assignValue);\n }\n return result;\n}\n\n/**\n * Extends object a by mutably adding to it the properties of object b.\n *\n * @param {Object} a The object to be extended\n * @param {Object} b The object to copy properties from\n * @param {Object} thisArg The object to bind function to\n * @return {Object} The resulting value of object a\n */\nfunction extend(a, b, thisArg) {\n forEach(b, function assignValue(val, key) {\n if (thisArg && typeof val === 'function') {\n a[key] = bind(val, thisArg);\n } else {\n a[key] = val;\n }\n });\n return a;\n}\n\n/**\n * Remove byte order marker. This catches EF BB BF (the UTF-8 BOM)\n *\n * @param {string} content with BOM\n * @return {string} content value without BOM\n */\nfunction stripBOM(content) {\n if (content.charCodeAt(0) === 0xFEFF) {\n content = content.slice(1);\n }\n return content;\n}\n\nmodule.exports = {\n isArray: isArray,\n isArrayBuffer: isArrayBuffer,\n isBuffer: isBuffer,\n isFormData: isFormData,\n isArrayBufferView: isArrayBufferView,\n isString: isString,\n isNumber: isNumber,\n isObject: isObject,\n isPlainObject: isPlainObject,\n isUndefined: isUndefined,\n isDate: isDate,\n isFile: isFile,\n isBlob: isBlob,\n isFunction: isFunction,\n isStream: isStream,\n isURLSearchParams: isURLSearchParams,\n isStandardBrowserEnv: isStandardBrowserEnv,\n forEach: forEach,\n merge: merge,\n extend: extend,\n trim: trim,\n stripBOM: stripBOM\n};\n","'use strict'\n\nexports.byteLength = byteLength\nexports.toByteArray = toByteArray\nexports.fromByteArray = fromByteArray\n\nvar lookup = []\nvar revLookup = []\nvar Arr = typeof Uint8Array !== 'undefined' ? Uint8Array : Array\n\nvar code = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'\nfor (var i = 0, len = code.length; i < len; ++i) {\n lookup[i] = code[i]\n revLookup[code.charCodeAt(i)] = i\n}\n\n// Support decoding URL-safe base64 strings, as Node.js does.\n// See: https://en.wikipedia.org/wiki/Base64#URL_applications\nrevLookup['-'.charCodeAt(0)] = 62\nrevLookup['_'.charCodeAt(0)] = 63\n\nfunction getLens (b64) {\n var len = b64.length\n\n if (len % 4 > 0) {\n throw new Error('Invalid string. Length must be a multiple of 4')\n }\n\n // Trim off extra bytes after placeholder bytes are found\n // See: https://github.com/beatgammit/base64-js/issues/42\n var validLen = b64.indexOf('=')\n if (validLen === -1) validLen = len\n\n var placeHoldersLen = validLen === len\n ? 0\n : 4 - (validLen % 4)\n\n return [validLen, placeHoldersLen]\n}\n\n// base64 is 4/3 + up to two characters of the original data\nfunction byteLength (b64) {\n var lens = getLens(b64)\n var validLen = lens[0]\n var placeHoldersLen = lens[1]\n return ((validLen + placeHoldersLen) * 3 / 4) - placeHoldersLen\n}\n\nfunction _byteLength (b64, validLen, placeHoldersLen) {\n return ((validLen + placeHoldersLen) * 3 / 4) - placeHoldersLen\n}\n\nfunction toByteArray (b64) {\n var tmp\n var lens = getLens(b64)\n var validLen = lens[0]\n var placeHoldersLen = lens[1]\n\n var arr = new Arr(_byteLength(b64, validLen, placeHoldersLen))\n\n var curByte = 0\n\n // if there are placeholders, only get up to the last complete 4 chars\n var len = placeHoldersLen > 0\n ? validLen - 4\n : validLen\n\n var i\n for (i = 0; i < len; i += 4) {\n tmp =\n (revLookup[b64.charCodeAt(i)] << 18) |\n (revLookup[b64.charCodeAt(i + 1)] << 12) |\n (revLookup[b64.charCodeAt(i + 2)] << 6) |\n revLookup[b64.charCodeAt(i + 3)]\n arr[curByte++] = (tmp >> 16) & 0xFF\n arr[curByte++] = (tmp >> 8) & 0xFF\n arr[curByte++] = tmp & 0xFF\n }\n\n if (placeHoldersLen === 2) {\n tmp =\n (revLookup[b64.charCodeAt(i)] << 2) |\n (revLookup[b64.charCodeAt(i + 1)] >> 4)\n arr[curByte++] = tmp & 0xFF\n }\n\n if (placeHoldersLen === 1) {\n tmp =\n (revLookup[b64.charCodeAt(i)] << 10) |\n (revLookup[b64.charCodeAt(i + 1)] << 4) |\n (revLookup[b64.charCodeAt(i + 2)] >> 2)\n arr[curByte++] = (tmp >> 8) & 0xFF\n arr[curByte++] = tmp & 0xFF\n }\n\n return arr\n}\n\nfunction tripletToBase64 (num) {\n return lookup[num >> 18 & 0x3F] +\n lookup[num >> 12 & 0x3F] +\n lookup[num >> 6 & 0x3F] +\n lookup[num & 0x3F]\n}\n\nfunction encodeChunk (uint8, start, end) {\n var tmp\n var output = []\n for (var i = start; i < end; i += 3) {\n tmp =\n ((uint8[i] << 16) & 0xFF0000) +\n ((uint8[i + 1] << 8) & 0xFF00) +\n (uint8[i + 2] & 0xFF)\n output.push(tripletToBase64(tmp))\n }\n return output.join('')\n}\n\nfunction fromByteArray (uint8) {\n var tmp\n var len = uint8.length\n var extraBytes = len % 3 // if we have 1 byte left, pad 2 bytes\n var parts = []\n var maxChunkLength = 16383 // must be multiple of 3\n\n // go through the array every three bytes, we'll deal with trailing stuff later\n for (var i = 0, len2 = len - extraBytes; i < len2; i += maxChunkLength) {\n parts.push(encodeChunk(uint8, i, (i + maxChunkLength) > len2 ? len2 : (i + maxChunkLength)))\n }\n\n // pad the end with zeros, but make sure to not forget the extra bytes\n if (extraBytes === 1) {\n tmp = uint8[len - 1]\n parts.push(\n lookup[tmp >> 2] +\n lookup[(tmp << 4) & 0x3F] +\n '=='\n )\n } else if (extraBytes === 2) {\n tmp = (uint8[len - 2] << 8) + uint8[len - 1]\n parts.push(\n lookup[tmp >> 10] +\n lookup[(tmp >> 4) & 0x3F] +\n lookup[(tmp << 2) & 0x3F] +\n '='\n )\n }\n\n return parts.join('')\n}\n","/*!\n * The buffer module from node.js, for the browser.\n *\n * @author Feross Aboukhadijeh \n * @license MIT\n */\n/* eslint-disable no-proto */\n\n'use strict'\n\nconst base64 = require('base64-js')\nconst ieee754 = require('ieee754')\nconst customInspectSymbol =\n (typeof Symbol === 'function' && typeof Symbol['for'] === 'function') // eslint-disable-line dot-notation\n ? Symbol['for']('nodejs.util.inspect.custom') // eslint-disable-line dot-notation\n : null\n\nexports.Buffer = Buffer\nexports.SlowBuffer = SlowBuffer\nexports.INSPECT_MAX_BYTES = 50\n\nconst K_MAX_LENGTH = 0x7fffffff\nexports.kMaxLength = K_MAX_LENGTH\n\n/**\n * If `Buffer.TYPED_ARRAY_SUPPORT`:\n * === true Use Uint8Array implementation (fastest)\n * === false Print warning and recommend using `buffer` v4.x which has an Object\n * implementation (most compatible, even IE6)\n *\n * Browsers that support typed arrays are IE 10+, Firefox 4+, Chrome 7+, Safari 5.1+,\n * Opera 11.6+, iOS 4.2+.\n *\n * We report that the browser does not support typed arrays if the are not subclassable\n * using __proto__. Firefox 4-29 lacks support for adding new properties to `Uint8Array`\n * (See: https://bugzilla.mozilla.org/show_bug.cgi?id=695438). IE 10 lacks support\n * for __proto__ and has a buggy typed array implementation.\n */\nBuffer.TYPED_ARRAY_SUPPORT = typedArraySupport()\n\nif (!Buffer.TYPED_ARRAY_SUPPORT && typeof console !== 'undefined' &&\n typeof console.error === 'function') {\n console.error(\n 'This browser lacks typed array (Uint8Array) support which is required by ' +\n '`buffer` v5.x. Use `buffer` v4.x if you require old browser support.'\n )\n}\n\nfunction typedArraySupport () {\n // Can typed array instances can be augmented?\n try {\n const arr = new Uint8Array(1)\n const proto = { foo: function () { return 42 } }\n Object.setPrototypeOf(proto, Uint8Array.prototype)\n Object.setPrototypeOf(arr, proto)\n return arr.foo() === 42\n } catch (e) {\n return false\n }\n}\n\nObject.defineProperty(Buffer.prototype, 'parent', {\n enumerable: true,\n get: function () {\n if (!Buffer.isBuffer(this)) return undefined\n return this.buffer\n }\n})\n\nObject.defineProperty(Buffer.prototype, 'offset', {\n enumerable: true,\n get: function () {\n if (!Buffer.isBuffer(this)) return undefined\n return this.byteOffset\n }\n})\n\nfunction createBuffer (length) {\n if (length > K_MAX_LENGTH) {\n throw new RangeError('The value \"' + length + '\" is invalid for option \"size\"')\n }\n // Return an augmented `Uint8Array` instance\n const buf = new Uint8Array(length)\n Object.setPrototypeOf(buf, Buffer.prototype)\n return buf\n}\n\n/**\n * The Buffer constructor returns instances of `Uint8Array` that have their\n * prototype changed to `Buffer.prototype`. Furthermore, `Buffer` is a subclass of\n * `Uint8Array`, so the returned instances will have all the node `Buffer` methods\n * and the `Uint8Array` methods. Square bracket notation works as expected -- it\n * returns a single octet.\n *\n * The `Uint8Array` prototype remains unmodified.\n */\n\nfunction Buffer (arg, encodingOrOffset, length) {\n // Common case.\n if (typeof arg === 'number') {\n if (typeof encodingOrOffset === 'string') {\n throw new TypeError(\n 'The \"string\" argument must be of type string. Received type number'\n )\n }\n return allocUnsafe(arg)\n }\n return from(arg, encodingOrOffset, length)\n}\n\nBuffer.poolSize = 8192 // not used by this implementation\n\nfunction from (value, encodingOrOffset, length) {\n if (typeof value === 'string') {\n return fromString(value, encodingOrOffset)\n }\n\n if (ArrayBuffer.isView(value)) {\n return fromArrayView(value)\n }\n\n if (value == null) {\n throw new TypeError(\n 'The first argument must be one of type string, Buffer, ArrayBuffer, Array, ' +\n 'or Array-like Object. Received type ' + (typeof value)\n )\n }\n\n if (isInstance(value, ArrayBuffer) ||\n (value && isInstance(value.buffer, ArrayBuffer))) {\n return fromArrayBuffer(value, encodingOrOffset, length)\n }\n\n if (typeof SharedArrayBuffer !== 'undefined' &&\n (isInstance(value, SharedArrayBuffer) ||\n (value && isInstance(value.buffer, SharedArrayBuffer)))) {\n return fromArrayBuffer(value, encodingOrOffset, length)\n }\n\n if (typeof value === 'number') {\n throw new TypeError(\n 'The \"value\" argument must not be of type number. Received type number'\n )\n }\n\n const valueOf = value.valueOf && value.valueOf()\n if (valueOf != null && valueOf !== value) {\n return Buffer.from(valueOf, encodingOrOffset, length)\n }\n\n const b = fromObject(value)\n if (b) return b\n\n if (typeof Symbol !== 'undefined' && Symbol.toPrimitive != null &&\n typeof value[Symbol.toPrimitive] === 'function') {\n return Buffer.from(value[Symbol.toPrimitive]('string'), encodingOrOffset, length)\n }\n\n throw new TypeError(\n 'The first argument must be one of type string, Buffer, ArrayBuffer, Array, ' +\n 'or Array-like Object. Received type ' + (typeof value)\n )\n}\n\n/**\n * Functionally equivalent to Buffer(arg, encoding) but throws a TypeError\n * if value is a number.\n * Buffer.from(str[, encoding])\n * Buffer.from(array)\n * Buffer.from(buffer)\n * Buffer.from(arrayBuffer[, byteOffset[, length]])\n **/\nBuffer.from = function (value, encodingOrOffset, length) {\n return from(value, encodingOrOffset, length)\n}\n\n// Note: Change prototype *after* Buffer.from is defined to workaround Chrome bug:\n// https://github.com/feross/buffer/pull/148\nObject.setPrototypeOf(Buffer.prototype, Uint8Array.prototype)\nObject.setPrototypeOf(Buffer, Uint8Array)\n\nfunction assertSize (size) {\n if (typeof size !== 'number') {\n throw new TypeError('\"size\" argument must be of type number')\n } else if (size < 0) {\n throw new RangeError('The value \"' + size + '\" is invalid for option \"size\"')\n }\n}\n\nfunction alloc (size, fill, encoding) {\n assertSize(size)\n if (size <= 0) {\n return createBuffer(size)\n }\n if (fill !== undefined) {\n // Only pay attention to encoding if it's a string. This\n // prevents accidentally sending in a number that would\n // be interpreted as a start offset.\n return typeof encoding === 'string'\n ? createBuffer(size).fill(fill, encoding)\n : createBuffer(size).fill(fill)\n }\n return createBuffer(size)\n}\n\n/**\n * Creates a new filled Buffer instance.\n * alloc(size[, fill[, encoding]])\n **/\nBuffer.alloc = function (size, fill, encoding) {\n return alloc(size, fill, encoding)\n}\n\nfunction allocUnsafe (size) {\n assertSize(size)\n return createBuffer(size < 0 ? 0 : checked(size) | 0)\n}\n\n/**\n * Equivalent to Buffer(num), by default creates a non-zero-filled Buffer instance.\n * */\nBuffer.allocUnsafe = function (size) {\n return allocUnsafe(size)\n}\n/**\n * Equivalent to SlowBuffer(num), by default creates a non-zero-filled Buffer instance.\n */\nBuffer.allocUnsafeSlow = function (size) {\n return allocUnsafe(size)\n}\n\nfunction fromString (string, encoding) {\n if (typeof encoding !== 'string' || encoding === '') {\n encoding = 'utf8'\n }\n\n if (!Buffer.isEncoding(encoding)) {\n throw new TypeError('Unknown encoding: ' + encoding)\n }\n\n const length = byteLength(string, encoding) | 0\n let buf = createBuffer(length)\n\n const actual = buf.write(string, encoding)\n\n if (actual !== length) {\n // Writing a hex string, for example, that contains invalid characters will\n // cause everything after the first invalid character to be ignored. (e.g.\n // 'abxxcd' will be treated as 'ab')\n buf = buf.slice(0, actual)\n }\n\n return buf\n}\n\nfunction fromArrayLike (array) {\n const length = array.length < 0 ? 0 : checked(array.length) | 0\n const buf = createBuffer(length)\n for (let i = 0; i < length; i += 1) {\n buf[i] = array[i] & 255\n }\n return buf\n}\n\nfunction fromArrayView (arrayView) {\n if (isInstance(arrayView, Uint8Array)) {\n const copy = new Uint8Array(arrayView)\n return fromArrayBuffer(copy.buffer, copy.byteOffset, copy.byteLength)\n }\n return fromArrayLike(arrayView)\n}\n\nfunction fromArrayBuffer (array, byteOffset, length) {\n if (byteOffset < 0 || array.byteLength < byteOffset) {\n throw new RangeError('\"offset\" is outside of buffer bounds')\n }\n\n if (array.byteLength < byteOffset + (length || 0)) {\n throw new RangeError('\"length\" is outside of buffer bounds')\n }\n\n let buf\n if (byteOffset === undefined && length === undefined) {\n buf = new Uint8Array(array)\n } else if (length === undefined) {\n buf = new Uint8Array(array, byteOffset)\n } else {\n buf = new Uint8Array(array, byteOffset, length)\n }\n\n // Return an augmented `Uint8Array` instance\n Object.setPrototypeOf(buf, Buffer.prototype)\n\n return buf\n}\n\nfunction fromObject (obj) {\n if (Buffer.isBuffer(obj)) {\n const len = checked(obj.length) | 0\n const buf = createBuffer(len)\n\n if (buf.length === 0) {\n return buf\n }\n\n obj.copy(buf, 0, 0, len)\n return buf\n }\n\n if (obj.length !== undefined) {\n if (typeof obj.length !== 'number' || numberIsNaN(obj.length)) {\n return createBuffer(0)\n }\n return fromArrayLike(obj)\n }\n\n if (obj.type === 'Buffer' && Array.isArray(obj.data)) {\n return fromArrayLike(obj.data)\n }\n}\n\nfunction checked (length) {\n // Note: cannot use `length < K_MAX_LENGTH` here because that fails when\n // length is NaN (which is otherwise coerced to zero.)\n if (length >= K_MAX_LENGTH) {\n throw new RangeError('Attempt to allocate Buffer larger than maximum ' +\n 'size: 0x' + K_MAX_LENGTH.toString(16) + ' bytes')\n }\n return length | 0\n}\n\nfunction SlowBuffer (length) {\n if (+length != length) { // eslint-disable-line eqeqeq\n length = 0\n }\n return Buffer.alloc(+length)\n}\n\nBuffer.isBuffer = function isBuffer (b) {\n return b != null && b._isBuffer === true &&\n b !== Buffer.prototype // so Buffer.isBuffer(Buffer.prototype) will be false\n}\n\nBuffer.compare = function compare (a, b) {\n if (isInstance(a, Uint8Array)) a = Buffer.from(a, a.offset, a.byteLength)\n if (isInstance(b, Uint8Array)) b = Buffer.from(b, b.offset, b.byteLength)\n if (!Buffer.isBuffer(a) || !Buffer.isBuffer(b)) {\n throw new TypeError(\n 'The \"buf1\", \"buf2\" arguments must be one of type Buffer or Uint8Array'\n )\n }\n\n if (a === b) return 0\n\n let x = a.length\n let y = b.length\n\n for (let i = 0, len = Math.min(x, y); i < len; ++i) {\n if (a[i] !== b[i]) {\n x = a[i]\n y = b[i]\n break\n }\n }\n\n if (x < y) return -1\n if (y < x) return 1\n return 0\n}\n\nBuffer.isEncoding = function isEncoding (encoding) {\n switch (String(encoding).toLowerCase()) {\n case 'hex':\n case 'utf8':\n case 'utf-8':\n case 'ascii':\n case 'latin1':\n case 'binary':\n case 'base64':\n case 'ucs2':\n case 'ucs-2':\n case 'utf16le':\n case 'utf-16le':\n return true\n default:\n return false\n }\n}\n\nBuffer.concat = function concat (list, length) {\n if (!Array.isArray(list)) {\n throw new TypeError('\"list\" argument must be an Array of Buffers')\n }\n\n if (list.length === 0) {\n return Buffer.alloc(0)\n }\n\n let i\n if (length === undefined) {\n length = 0\n for (i = 0; i < list.length; ++i) {\n length += list[i].length\n }\n }\n\n const buffer = Buffer.allocUnsafe(length)\n let pos = 0\n for (i = 0; i < list.length; ++i) {\n let buf = list[i]\n if (isInstance(buf, Uint8Array)) {\n if (pos + buf.length > buffer.length) {\n if (!Buffer.isBuffer(buf)) buf = Buffer.from(buf)\n buf.copy(buffer, pos)\n } else {\n Uint8Array.prototype.set.call(\n buffer,\n buf,\n pos\n )\n }\n } else if (!Buffer.isBuffer(buf)) {\n throw new TypeError('\"list\" argument must be an Array of Buffers')\n } else {\n buf.copy(buffer, pos)\n }\n pos += buf.length\n }\n return buffer\n}\n\nfunction byteLength (string, encoding) {\n if (Buffer.isBuffer(string)) {\n return string.length\n }\n if (ArrayBuffer.isView(string) || isInstance(string, ArrayBuffer)) {\n return string.byteLength\n }\n if (typeof string !== 'string') {\n throw new TypeError(\n 'The \"string\" argument must be one of type string, Buffer, or ArrayBuffer. ' +\n 'Received type ' + typeof string\n )\n }\n\n const len = string.length\n const mustMatch = (arguments.length > 2 && arguments[2] === true)\n if (!mustMatch && len === 0) return 0\n\n // Use a for loop to avoid recursion\n let loweredCase = false\n for (;;) {\n switch (encoding) {\n case 'ascii':\n case 'latin1':\n case 'binary':\n return len\n case 'utf8':\n case 'utf-8':\n return utf8ToBytes(string).length\n case 'ucs2':\n case 'ucs-2':\n case 'utf16le':\n case 'utf-16le':\n return len * 2\n case 'hex':\n return len >>> 1\n case 'base64':\n return base64ToBytes(string).length\n default:\n if (loweredCase) {\n return mustMatch ? -1 : utf8ToBytes(string).length // assume utf8\n }\n encoding = ('' + encoding).toLowerCase()\n loweredCase = true\n }\n }\n}\nBuffer.byteLength = byteLength\n\nfunction slowToString (encoding, start, end) {\n let loweredCase = false\n\n // No need to verify that \"this.length <= MAX_UINT32\" since it's a read-only\n // property of a typed array.\n\n // This behaves neither like String nor Uint8Array in that we set start/end\n // to their upper/lower bounds if the value passed is out of range.\n // undefined is handled specially as per ECMA-262 6th Edition,\n // Section 13.3.3.7 Runtime Semantics: KeyedBindingInitialization.\n if (start === undefined || start < 0) {\n start = 0\n }\n // Return early if start > this.length. Done here to prevent potential uint32\n // coercion fail below.\n if (start > this.length) {\n return ''\n }\n\n if (end === undefined || end > this.length) {\n end = this.length\n }\n\n if (end <= 0) {\n return ''\n }\n\n // Force coercion to uint32. This will also coerce falsey/NaN values to 0.\n end >>>= 0\n start >>>= 0\n\n if (end <= start) {\n return ''\n }\n\n if (!encoding) encoding = 'utf8'\n\n while (true) {\n switch (encoding) {\n case 'hex':\n return hexSlice(this, start, end)\n\n case 'utf8':\n case 'utf-8':\n return utf8Slice(this, start, end)\n\n case 'ascii':\n return asciiSlice(this, start, end)\n\n case 'latin1':\n case 'binary':\n return latin1Slice(this, start, end)\n\n case 'base64':\n return base64Slice(this, start, end)\n\n case 'ucs2':\n case 'ucs-2':\n case 'utf16le':\n case 'utf-16le':\n return utf16leSlice(this, start, end)\n\n default:\n if (loweredCase) throw new TypeError('Unknown encoding: ' + encoding)\n encoding = (encoding + '').toLowerCase()\n loweredCase = true\n }\n }\n}\n\n// This property is used by `Buffer.isBuffer` (and the `is-buffer` npm package)\n// to detect a Buffer instance. It's not possible to use `instanceof Buffer`\n// reliably in a browserify context because there could be multiple different\n// copies of the 'buffer' package in use. This method works even for Buffer\n// instances that were created from another copy of the `buffer` package.\n// See: https://github.com/feross/buffer/issues/154\nBuffer.prototype._isBuffer = true\n\nfunction swap (b, n, m) {\n const i = b[n]\n b[n] = b[m]\n b[m] = i\n}\n\nBuffer.prototype.swap16 = function swap16 () {\n const len = this.length\n if (len % 2 !== 0) {\n throw new RangeError('Buffer size must be a multiple of 16-bits')\n }\n for (let i = 0; i < len; i += 2) {\n swap(this, i, i + 1)\n }\n return this\n}\n\nBuffer.prototype.swap32 = function swap32 () {\n const len = this.length\n if (len % 4 !== 0) {\n throw new RangeError('Buffer size must be a multiple of 32-bits')\n }\n for (let i = 0; i < len; i += 4) {\n swap(this, i, i + 3)\n swap(this, i + 1, i + 2)\n }\n return this\n}\n\nBuffer.prototype.swap64 = function swap64 () {\n const len = this.length\n if (len % 8 !== 0) {\n throw new RangeError('Buffer size must be a multiple of 64-bits')\n }\n for (let i = 0; i < len; i += 8) {\n swap(this, i, i + 7)\n swap(this, i + 1, i + 6)\n swap(this, i + 2, i + 5)\n swap(this, i + 3, i + 4)\n }\n return this\n}\n\nBuffer.prototype.toString = function toString () {\n const length = this.length\n if (length === 0) return ''\n if (arguments.length === 0) return utf8Slice(this, 0, length)\n return slowToString.apply(this, arguments)\n}\n\nBuffer.prototype.toLocaleString = Buffer.prototype.toString\n\nBuffer.prototype.equals = function equals (b) {\n if (!Buffer.isBuffer(b)) throw new TypeError('Argument must be a Buffer')\n if (this === b) return true\n return Buffer.compare(this, b) === 0\n}\n\nBuffer.prototype.inspect = function inspect () {\n let str = ''\n const max = exports.INSPECT_MAX_BYTES\n str = this.toString('hex', 0, max).replace(/(.{2})/g, '$1 ').trim()\n if (this.length > max) str += ' ... '\n return ''\n}\nif (customInspectSymbol) {\n Buffer.prototype[customInspectSymbol] = Buffer.prototype.inspect\n}\n\nBuffer.prototype.compare = function compare (target, start, end, thisStart, thisEnd) {\n if (isInstance(target, Uint8Array)) {\n target = Buffer.from(target, target.offset, target.byteLength)\n }\n if (!Buffer.isBuffer(target)) {\n throw new TypeError(\n 'The \"target\" argument must be one of type Buffer or Uint8Array. ' +\n 'Received type ' + (typeof target)\n )\n }\n\n if (start === undefined) {\n start = 0\n }\n if (end === undefined) {\n end = target ? target.length : 0\n }\n if (thisStart === undefined) {\n thisStart = 0\n }\n if (thisEnd === undefined) {\n thisEnd = this.length\n }\n\n if (start < 0 || end > target.length || thisStart < 0 || thisEnd > this.length) {\n throw new RangeError('out of range index')\n }\n\n if (thisStart >= thisEnd && start >= end) {\n return 0\n }\n if (thisStart >= thisEnd) {\n return -1\n }\n if (start >= end) {\n return 1\n }\n\n start >>>= 0\n end >>>= 0\n thisStart >>>= 0\n thisEnd >>>= 0\n\n if (this === target) return 0\n\n let x = thisEnd - thisStart\n let y = end - start\n const len = Math.min(x, y)\n\n const thisCopy = this.slice(thisStart, thisEnd)\n const targetCopy = target.slice(start, end)\n\n for (let i = 0; i < len; ++i) {\n if (thisCopy[i] !== targetCopy[i]) {\n x = thisCopy[i]\n y = targetCopy[i]\n break\n }\n }\n\n if (x < y) return -1\n if (y < x) return 1\n return 0\n}\n\n// Finds either the first index of `val` in `buffer` at offset >= `byteOffset`,\n// OR the last index of `val` in `buffer` at offset <= `byteOffset`.\n//\n// Arguments:\n// - buffer - a Buffer to search\n// - val - a string, Buffer, or number\n// - byteOffset - an index into `buffer`; will be clamped to an int32\n// - encoding - an optional encoding, relevant is val is a string\n// - dir - true for indexOf, false for lastIndexOf\nfunction bidirectionalIndexOf (buffer, val, byteOffset, encoding, dir) {\n // Empty buffer means no match\n if (buffer.length === 0) return -1\n\n // Normalize byteOffset\n if (typeof byteOffset === 'string') {\n encoding = byteOffset\n byteOffset = 0\n } else if (byteOffset > 0x7fffffff) {\n byteOffset = 0x7fffffff\n } else if (byteOffset < -0x80000000) {\n byteOffset = -0x80000000\n }\n byteOffset = +byteOffset // Coerce to Number.\n if (numberIsNaN(byteOffset)) {\n // byteOffset: it it's undefined, null, NaN, \"foo\", etc, search whole buffer\n byteOffset = dir ? 0 : (buffer.length - 1)\n }\n\n // Normalize byteOffset: negative offsets start from the end of the buffer\n if (byteOffset < 0) byteOffset = buffer.length + byteOffset\n if (byteOffset >= buffer.length) {\n if (dir) return -1\n else byteOffset = buffer.length - 1\n } else if (byteOffset < 0) {\n if (dir) byteOffset = 0\n else return -1\n }\n\n // Normalize val\n if (typeof val === 'string') {\n val = Buffer.from(val, encoding)\n }\n\n // Finally, search either indexOf (if dir is true) or lastIndexOf\n if (Buffer.isBuffer(val)) {\n // Special case: looking for empty string/buffer always fails\n if (val.length === 0) {\n return -1\n }\n return arrayIndexOf(buffer, val, byteOffset, encoding, dir)\n } else if (typeof val === 'number') {\n val = val & 0xFF // Search for a byte value [0-255]\n if (typeof Uint8Array.prototype.indexOf === 'function') {\n if (dir) {\n return Uint8Array.prototype.indexOf.call(buffer, val, byteOffset)\n } else {\n return Uint8Array.prototype.lastIndexOf.call(buffer, val, byteOffset)\n }\n }\n return arrayIndexOf(buffer, [val], byteOffset, encoding, dir)\n }\n\n throw new TypeError('val must be string, number or Buffer')\n}\n\nfunction arrayIndexOf (arr, val, byteOffset, encoding, dir) {\n let indexSize = 1\n let arrLength = arr.length\n let valLength = val.length\n\n if (encoding !== undefined) {\n encoding = String(encoding).toLowerCase()\n if (encoding === 'ucs2' || encoding === 'ucs-2' ||\n encoding === 'utf16le' || encoding === 'utf-16le') {\n if (arr.length < 2 || val.length < 2) {\n return -1\n }\n indexSize = 2\n arrLength /= 2\n valLength /= 2\n byteOffset /= 2\n }\n }\n\n function read (buf, i) {\n if (indexSize === 1) {\n return buf[i]\n } else {\n return buf.readUInt16BE(i * indexSize)\n }\n }\n\n let i\n if (dir) {\n let foundIndex = -1\n for (i = byteOffset; i < arrLength; i++) {\n if (read(arr, i) === read(val, foundIndex === -1 ? 0 : i - foundIndex)) {\n if (foundIndex === -1) foundIndex = i\n if (i - foundIndex + 1 === valLength) return foundIndex * indexSize\n } else {\n if (foundIndex !== -1) i -= i - foundIndex\n foundIndex = -1\n }\n }\n } else {\n if (byteOffset + valLength > arrLength) byteOffset = arrLength - valLength\n for (i = byteOffset; i >= 0; i--) {\n let found = true\n for (let j = 0; j < valLength; j++) {\n if (read(arr, i + j) !== read(val, j)) {\n found = false\n break\n }\n }\n if (found) return i\n }\n }\n\n return -1\n}\n\nBuffer.prototype.includes = function includes (val, byteOffset, encoding) {\n return this.indexOf(val, byteOffset, encoding) !== -1\n}\n\nBuffer.prototype.indexOf = function indexOf (val, byteOffset, encoding) {\n return bidirectionalIndexOf(this, val, byteOffset, encoding, true)\n}\n\nBuffer.prototype.lastIndexOf = function lastIndexOf (val, byteOffset, encoding) {\n return bidirectionalIndexOf(this, val, byteOffset, encoding, false)\n}\n\nfunction hexWrite (buf, string, offset, length) {\n offset = Number(offset) || 0\n const remaining = buf.length - offset\n if (!length) {\n length = remaining\n } else {\n length = Number(length)\n if (length > remaining) {\n length = remaining\n }\n }\n\n const strLen = string.length\n\n if (length > strLen / 2) {\n length = strLen / 2\n }\n let i\n for (i = 0; i < length; ++i) {\n const parsed = parseInt(string.substr(i * 2, 2), 16)\n if (numberIsNaN(parsed)) return i\n buf[offset + i] = parsed\n }\n return i\n}\n\nfunction utf8Write (buf, string, offset, length) {\n return blitBuffer(utf8ToBytes(string, buf.length - offset), buf, offset, length)\n}\n\nfunction asciiWrite (buf, string, offset, length) {\n return blitBuffer(asciiToBytes(string), buf, offset, length)\n}\n\nfunction base64Write (buf, string, offset, length) {\n return blitBuffer(base64ToBytes(string), buf, offset, length)\n}\n\nfunction ucs2Write (buf, string, offset, length) {\n return blitBuffer(utf16leToBytes(string, buf.length - offset), buf, offset, length)\n}\n\nBuffer.prototype.write = function write (string, offset, length, encoding) {\n // Buffer#write(string)\n if (offset === undefined) {\n encoding = 'utf8'\n length = this.length\n offset = 0\n // Buffer#write(string, encoding)\n } else if (length === undefined && typeof offset === 'string') {\n encoding = offset\n length = this.length\n offset = 0\n // Buffer#write(string, offset[, length][, encoding])\n } else if (isFinite(offset)) {\n offset = offset >>> 0\n if (isFinite(length)) {\n length = length >>> 0\n if (encoding === undefined) encoding = 'utf8'\n } else {\n encoding = length\n length = undefined\n }\n } else {\n throw new Error(\n 'Buffer.write(string, encoding, offset[, length]) is no longer supported'\n )\n }\n\n const remaining = this.length - offset\n if (length === undefined || length > remaining) length = remaining\n\n if ((string.length > 0 && (length < 0 || offset < 0)) || offset > this.length) {\n throw new RangeError('Attempt to write outside buffer bounds')\n }\n\n if (!encoding) encoding = 'utf8'\n\n let loweredCase = false\n for (;;) {\n switch (encoding) {\n case 'hex':\n return hexWrite(this, string, offset, length)\n\n case 'utf8':\n case 'utf-8':\n return utf8Write(this, string, offset, length)\n\n case 'ascii':\n case 'latin1':\n case 'binary':\n return asciiWrite(this, string, offset, length)\n\n case 'base64':\n // Warning: maxLength not taken into account in base64Write\n return base64Write(this, string, offset, length)\n\n case 'ucs2':\n case 'ucs-2':\n case 'utf16le':\n case 'utf-16le':\n return ucs2Write(this, string, offset, length)\n\n default:\n if (loweredCase) throw new TypeError('Unknown encoding: ' + encoding)\n encoding = ('' + encoding).toLowerCase()\n loweredCase = true\n }\n }\n}\n\nBuffer.prototype.toJSON = function toJSON () {\n return {\n type: 'Buffer',\n data: Array.prototype.slice.call(this._arr || this, 0)\n }\n}\n\nfunction base64Slice (buf, start, end) {\n if (start === 0 && end === buf.length) {\n return base64.fromByteArray(buf)\n } else {\n return base64.fromByteArray(buf.slice(start, end))\n }\n}\n\nfunction utf8Slice (buf, start, end) {\n end = Math.min(buf.length, end)\n const res = []\n\n let i = start\n while (i < end) {\n const firstByte = buf[i]\n let codePoint = null\n let bytesPerSequence = (firstByte > 0xEF)\n ? 4\n : (firstByte > 0xDF)\n ? 3\n : (firstByte > 0xBF)\n ? 2\n : 1\n\n if (i + bytesPerSequence <= end) {\n let secondByte, thirdByte, fourthByte, tempCodePoint\n\n switch (bytesPerSequence) {\n case 1:\n if (firstByte < 0x80) {\n codePoint = firstByte\n }\n break\n case 2:\n secondByte = buf[i + 1]\n if ((secondByte & 0xC0) === 0x80) {\n tempCodePoint = (firstByte & 0x1F) << 0x6 | (secondByte & 0x3F)\n if (tempCodePoint > 0x7F) {\n codePoint = tempCodePoint\n }\n }\n break\n case 3:\n secondByte = buf[i + 1]\n thirdByte = buf[i + 2]\n if ((secondByte & 0xC0) === 0x80 && (thirdByte & 0xC0) === 0x80) {\n tempCodePoint = (firstByte & 0xF) << 0xC | (secondByte & 0x3F) << 0x6 | (thirdByte & 0x3F)\n if (tempCodePoint > 0x7FF && (tempCodePoint < 0xD800 || tempCodePoint > 0xDFFF)) {\n codePoint = tempCodePoint\n }\n }\n break\n case 4:\n secondByte = buf[i + 1]\n thirdByte = buf[i + 2]\n fourthByte = buf[i + 3]\n if ((secondByte & 0xC0) === 0x80 && (thirdByte & 0xC0) === 0x80 && (fourthByte & 0xC0) === 0x80) {\n tempCodePoint = (firstByte & 0xF) << 0x12 | (secondByte & 0x3F) << 0xC | (thirdByte & 0x3F) << 0x6 | (fourthByte & 0x3F)\n if (tempCodePoint > 0xFFFF && tempCodePoint < 0x110000) {\n codePoint = tempCodePoint\n }\n }\n }\n }\n\n if (codePoint === null) {\n // we did not generate a valid codePoint so insert a\n // replacement char (U+FFFD) and advance only 1 byte\n codePoint = 0xFFFD\n bytesPerSequence = 1\n } else if (codePoint > 0xFFFF) {\n // encode to utf16 (surrogate pair dance)\n codePoint -= 0x10000\n res.push(codePoint >>> 10 & 0x3FF | 0xD800)\n codePoint = 0xDC00 | codePoint & 0x3FF\n }\n\n res.push(codePoint)\n i += bytesPerSequence\n }\n\n return decodeCodePointsArray(res)\n}\n\n// Based on http://stackoverflow.com/a/22747272/680742, the browser with\n// the lowest limit is Chrome, with 0x10000 args.\n// We go 1 magnitude less, for safety\nconst MAX_ARGUMENTS_LENGTH = 0x1000\n\nfunction decodeCodePointsArray (codePoints) {\n const len = codePoints.length\n if (len <= MAX_ARGUMENTS_LENGTH) {\n return String.fromCharCode.apply(String, codePoints) // avoid extra slice()\n }\n\n // Decode in chunks to avoid \"call stack size exceeded\".\n let res = ''\n let i = 0\n while (i < len) {\n res += String.fromCharCode.apply(\n String,\n codePoints.slice(i, i += MAX_ARGUMENTS_LENGTH)\n )\n }\n return res\n}\n\nfunction asciiSlice (buf, start, end) {\n let ret = ''\n end = Math.min(buf.length, end)\n\n for (let i = start; i < end; ++i) {\n ret += String.fromCharCode(buf[i] & 0x7F)\n }\n return ret\n}\n\nfunction latin1Slice (buf, start, end) {\n let ret = ''\n end = Math.min(buf.length, end)\n\n for (let i = start; i < end; ++i) {\n ret += String.fromCharCode(buf[i])\n }\n return ret\n}\n\nfunction hexSlice (buf, start, end) {\n const len = buf.length\n\n if (!start || start < 0) start = 0\n if (!end || end < 0 || end > len) end = len\n\n let out = ''\n for (let i = start; i < end; ++i) {\n out += hexSliceLookupTable[buf[i]]\n }\n return out\n}\n\nfunction utf16leSlice (buf, start, end) {\n const bytes = buf.slice(start, end)\n let res = ''\n // If bytes.length is odd, the last 8 bits must be ignored (same as node.js)\n for (let i = 0; i < bytes.length - 1; i += 2) {\n res += String.fromCharCode(bytes[i] + (bytes[i + 1] * 256))\n }\n return res\n}\n\nBuffer.prototype.slice = function slice (start, end) {\n const len = this.length\n start = ~~start\n end = end === undefined ? len : ~~end\n\n if (start < 0) {\n start += len\n if (start < 0) start = 0\n } else if (start > len) {\n start = len\n }\n\n if (end < 0) {\n end += len\n if (end < 0) end = 0\n } else if (end > len) {\n end = len\n }\n\n if (end < start) end = start\n\n const newBuf = this.subarray(start, end)\n // Return an augmented `Uint8Array` instance\n Object.setPrototypeOf(newBuf, Buffer.prototype)\n\n return newBuf\n}\n\n/*\n * Need to make sure that buffer isn't trying to write out of bounds.\n */\nfunction checkOffset (offset, ext, length) {\n if ((offset % 1) !== 0 || offset < 0) throw new RangeError('offset is not uint')\n if (offset + ext > length) throw new RangeError('Trying to access beyond buffer length')\n}\n\nBuffer.prototype.readUintLE =\nBuffer.prototype.readUIntLE = function readUIntLE (offset, byteLength, noAssert) {\n offset = offset >>> 0\n byteLength = byteLength >>> 0\n if (!noAssert) checkOffset(offset, byteLength, this.length)\n\n let val = this[offset]\n let mul = 1\n let i = 0\n while (++i < byteLength && (mul *= 0x100)) {\n val += this[offset + i] * mul\n }\n\n return val\n}\n\nBuffer.prototype.readUintBE =\nBuffer.prototype.readUIntBE = function readUIntBE (offset, byteLength, noAssert) {\n offset = offset >>> 0\n byteLength = byteLength >>> 0\n if (!noAssert) {\n checkOffset(offset, byteLength, this.length)\n }\n\n let val = this[offset + --byteLength]\n let mul = 1\n while (byteLength > 0 && (mul *= 0x100)) {\n val += this[offset + --byteLength] * mul\n }\n\n return val\n}\n\nBuffer.prototype.readUint8 =\nBuffer.prototype.readUInt8 = function readUInt8 (offset, noAssert) {\n offset = offset >>> 0\n if (!noAssert) checkOffset(offset, 1, this.length)\n return this[offset]\n}\n\nBuffer.prototype.readUint16LE =\nBuffer.prototype.readUInt16LE = function readUInt16LE (offset, noAssert) {\n offset = offset >>> 0\n if (!noAssert) checkOffset(offset, 2, this.length)\n return this[offset] | (this[offset + 1] << 8)\n}\n\nBuffer.prototype.readUint16BE =\nBuffer.prototype.readUInt16BE = function readUInt16BE (offset, noAssert) {\n offset = offset >>> 0\n if (!noAssert) checkOffset(offset, 2, this.length)\n return (this[offset] << 8) | this[offset + 1]\n}\n\nBuffer.prototype.readUint32LE =\nBuffer.prototype.readUInt32LE = function readUInt32LE (offset, noAssert) {\n offset = offset >>> 0\n if (!noAssert) checkOffset(offset, 4, this.length)\n\n return ((this[offset]) |\n (this[offset + 1] << 8) |\n (this[offset + 2] << 16)) +\n (this[offset + 3] * 0x1000000)\n}\n\nBuffer.prototype.readUint32BE =\nBuffer.prototype.readUInt32BE = function readUInt32BE (offset, noAssert) {\n offset = offset >>> 0\n if (!noAssert) checkOffset(offset, 4, this.length)\n\n return (this[offset] * 0x1000000) +\n ((this[offset + 1] << 16) |\n (this[offset + 2] << 8) |\n this[offset + 3])\n}\n\nBuffer.prototype.readBigUInt64LE = defineBigIntMethod(function readBigUInt64LE (offset) {\n offset = offset >>> 0\n validateNumber(offset, 'offset')\n const first = this[offset]\n const last = this[offset + 7]\n if (first === undefined || last === undefined) {\n boundsError(offset, this.length - 8)\n }\n\n const lo = first +\n this[++offset] * 2 ** 8 +\n this[++offset] * 2 ** 16 +\n this[++offset] * 2 ** 24\n\n const hi = this[++offset] +\n this[++offset] * 2 ** 8 +\n this[++offset] * 2 ** 16 +\n last * 2 ** 24\n\n return BigInt(lo) + (BigInt(hi) << BigInt(32))\n})\n\nBuffer.prototype.readBigUInt64BE = defineBigIntMethod(function readBigUInt64BE (offset) {\n offset = offset >>> 0\n validateNumber(offset, 'offset')\n const first = this[offset]\n const last = this[offset + 7]\n if (first === undefined || last === undefined) {\n boundsError(offset, this.length - 8)\n }\n\n const hi = first * 2 ** 24 +\n this[++offset] * 2 ** 16 +\n this[++offset] * 2 ** 8 +\n this[++offset]\n\n const lo = this[++offset] * 2 ** 24 +\n this[++offset] * 2 ** 16 +\n this[++offset] * 2 ** 8 +\n last\n\n return (BigInt(hi) << BigInt(32)) + BigInt(lo)\n})\n\nBuffer.prototype.readIntLE = function readIntLE (offset, byteLength, noAssert) {\n offset = offset >>> 0\n byteLength = byteLength >>> 0\n if (!noAssert) checkOffset(offset, byteLength, this.length)\n\n let val = this[offset]\n let mul = 1\n let i = 0\n while (++i < byteLength && (mul *= 0x100)) {\n val += this[offset + i] * mul\n }\n mul *= 0x80\n\n if (val >= mul) val -= Math.pow(2, 8 * byteLength)\n\n return val\n}\n\nBuffer.prototype.readIntBE = function readIntBE (offset, byteLength, noAssert) {\n offset = offset >>> 0\n byteLength = byteLength >>> 0\n if (!noAssert) checkOffset(offset, byteLength, this.length)\n\n let i = byteLength\n let mul = 1\n let val = this[offset + --i]\n while (i > 0 && (mul *= 0x100)) {\n val += this[offset + --i] * mul\n }\n mul *= 0x80\n\n if (val >= mul) val -= Math.pow(2, 8 * byteLength)\n\n return val\n}\n\nBuffer.prototype.readInt8 = function readInt8 (offset, noAssert) {\n offset = offset >>> 0\n if (!noAssert) checkOffset(offset, 1, this.length)\n if (!(this[offset] & 0x80)) return (this[offset])\n return ((0xff - this[offset] + 1) * -1)\n}\n\nBuffer.prototype.readInt16LE = function readInt16LE (offset, noAssert) {\n offset = offset >>> 0\n if (!noAssert) checkOffset(offset, 2, this.length)\n const val = this[offset] | (this[offset + 1] << 8)\n return (val & 0x8000) ? val | 0xFFFF0000 : val\n}\n\nBuffer.prototype.readInt16BE = function readInt16BE (offset, noAssert) {\n offset = offset >>> 0\n if (!noAssert) checkOffset(offset, 2, this.length)\n const val = this[offset + 1] | (this[offset] << 8)\n return (val & 0x8000) ? val | 0xFFFF0000 : val\n}\n\nBuffer.prototype.readInt32LE = function readInt32LE (offset, noAssert) {\n offset = offset >>> 0\n if (!noAssert) checkOffset(offset, 4, this.length)\n\n return (this[offset]) |\n (this[offset + 1] << 8) |\n (this[offset + 2] << 16) |\n (this[offset + 3] << 24)\n}\n\nBuffer.prototype.readInt32BE = function readInt32BE (offset, noAssert) {\n offset = offset >>> 0\n if (!noAssert) checkOffset(offset, 4, this.length)\n\n return (this[offset] << 24) |\n (this[offset + 1] << 16) |\n (this[offset + 2] << 8) |\n (this[offset + 3])\n}\n\nBuffer.prototype.readBigInt64LE = defineBigIntMethod(function readBigInt64LE (offset) {\n offset = offset >>> 0\n validateNumber(offset, 'offset')\n const first = this[offset]\n const last = this[offset + 7]\n if (first === undefined || last === undefined) {\n boundsError(offset, this.length - 8)\n }\n\n const val = this[offset + 4] +\n this[offset + 5] * 2 ** 8 +\n this[offset + 6] * 2 ** 16 +\n (last << 24) // Overflow\n\n return (BigInt(val) << BigInt(32)) +\n BigInt(first +\n this[++offset] * 2 ** 8 +\n this[++offset] * 2 ** 16 +\n this[++offset] * 2 ** 24)\n})\n\nBuffer.prototype.readBigInt64BE = defineBigIntMethod(function readBigInt64BE (offset) {\n offset = offset >>> 0\n validateNumber(offset, 'offset')\n const first = this[offset]\n const last = this[offset + 7]\n if (first === undefined || last === undefined) {\n boundsError(offset, this.length - 8)\n }\n\n const val = (first << 24) + // Overflow\n this[++offset] * 2 ** 16 +\n this[++offset] * 2 ** 8 +\n this[++offset]\n\n return (BigInt(val) << BigInt(32)) +\n BigInt(this[++offset] * 2 ** 24 +\n this[++offset] * 2 ** 16 +\n this[++offset] * 2 ** 8 +\n last)\n})\n\nBuffer.prototype.readFloatLE = function readFloatLE (offset, noAssert) {\n offset = offset >>> 0\n if (!noAssert) checkOffset(offset, 4, this.length)\n return ieee754.read(this, offset, true, 23, 4)\n}\n\nBuffer.prototype.readFloatBE = function readFloatBE (offset, noAssert) {\n offset = offset >>> 0\n if (!noAssert) checkOffset(offset, 4, this.length)\n return ieee754.read(this, offset, false, 23, 4)\n}\n\nBuffer.prototype.readDoubleLE = function readDoubleLE (offset, noAssert) {\n offset = offset >>> 0\n if (!noAssert) checkOffset(offset, 8, this.length)\n return ieee754.read(this, offset, true, 52, 8)\n}\n\nBuffer.prototype.readDoubleBE = function readDoubleBE (offset, noAssert) {\n offset = offset >>> 0\n if (!noAssert) checkOffset(offset, 8, this.length)\n return ieee754.read(this, offset, false, 52, 8)\n}\n\nfunction checkInt (buf, value, offset, ext, max, min) {\n if (!Buffer.isBuffer(buf)) throw new TypeError('\"buffer\" argument must be a Buffer instance')\n if (value > max || value < min) throw new RangeError('\"value\" argument is out of bounds')\n if (offset + ext > buf.length) throw new RangeError('Index out of range')\n}\n\nBuffer.prototype.writeUintLE =\nBuffer.prototype.writeUIntLE = function writeUIntLE (value, offset, byteLength, noAssert) {\n value = +value\n offset = offset >>> 0\n byteLength = byteLength >>> 0\n if (!noAssert) {\n const maxBytes = Math.pow(2, 8 * byteLength) - 1\n checkInt(this, value, offset, byteLength, maxBytes, 0)\n }\n\n let mul = 1\n let i = 0\n this[offset] = value & 0xFF\n while (++i < byteLength && (mul *= 0x100)) {\n this[offset + i] = (value / mul) & 0xFF\n }\n\n return offset + byteLength\n}\n\nBuffer.prototype.writeUintBE =\nBuffer.prototype.writeUIntBE = function writeUIntBE (value, offset, byteLength, noAssert) {\n value = +value\n offset = offset >>> 0\n byteLength = byteLength >>> 0\n if (!noAssert) {\n const maxBytes = Math.pow(2, 8 * byteLength) - 1\n checkInt(this, value, offset, byteLength, maxBytes, 0)\n }\n\n let i = byteLength - 1\n let mul = 1\n this[offset + i] = value & 0xFF\n while (--i >= 0 && (mul *= 0x100)) {\n this[offset + i] = (value / mul) & 0xFF\n }\n\n return offset + byteLength\n}\n\nBuffer.prototype.writeUint8 =\nBuffer.prototype.writeUInt8 = function writeUInt8 (value, offset, noAssert) {\n value = +value\n offset = offset >>> 0\n if (!noAssert) checkInt(this, value, offset, 1, 0xff, 0)\n this[offset] = (value & 0xff)\n return offset + 1\n}\n\nBuffer.prototype.writeUint16LE =\nBuffer.prototype.writeUInt16LE = function writeUInt16LE (value, offset, noAssert) {\n value = +value\n offset = offset >>> 0\n if (!noAssert) checkInt(this, value, offset, 2, 0xffff, 0)\n this[offset] = (value & 0xff)\n this[offset + 1] = (value >>> 8)\n return offset + 2\n}\n\nBuffer.prototype.writeUint16BE =\nBuffer.prototype.writeUInt16BE = function writeUInt16BE (value, offset, noAssert) {\n value = +value\n offset = offset >>> 0\n if (!noAssert) checkInt(this, value, offset, 2, 0xffff, 0)\n this[offset] = (value >>> 8)\n this[offset + 1] = (value & 0xff)\n return offset + 2\n}\n\nBuffer.prototype.writeUint32LE =\nBuffer.prototype.writeUInt32LE = function writeUInt32LE (value, offset, noAssert) {\n value = +value\n offset = offset >>> 0\n if (!noAssert) checkInt(this, value, offset, 4, 0xffffffff, 0)\n this[offset + 3] = (value >>> 24)\n this[offset + 2] = (value >>> 16)\n this[offset + 1] = (value >>> 8)\n this[offset] = (value & 0xff)\n return offset + 4\n}\n\nBuffer.prototype.writeUint32BE =\nBuffer.prototype.writeUInt32BE = function writeUInt32BE (value, offset, noAssert) {\n value = +value\n offset = offset >>> 0\n if (!noAssert) checkInt(this, value, offset, 4, 0xffffffff, 0)\n this[offset] = (value >>> 24)\n this[offset + 1] = (value >>> 16)\n this[offset + 2] = (value >>> 8)\n this[offset + 3] = (value & 0xff)\n return offset + 4\n}\n\nfunction wrtBigUInt64LE (buf, value, offset, min, max) {\n checkIntBI(value, min, max, buf, offset, 7)\n\n let lo = Number(value & BigInt(0xffffffff))\n buf[offset++] = lo\n lo = lo >> 8\n buf[offset++] = lo\n lo = lo >> 8\n buf[offset++] = lo\n lo = lo >> 8\n buf[offset++] = lo\n let hi = Number(value >> BigInt(32) & BigInt(0xffffffff))\n buf[offset++] = hi\n hi = hi >> 8\n buf[offset++] = hi\n hi = hi >> 8\n buf[offset++] = hi\n hi = hi >> 8\n buf[offset++] = hi\n return offset\n}\n\nfunction wrtBigUInt64BE (buf, value, offset, min, max) {\n checkIntBI(value, min, max, buf, offset, 7)\n\n let lo = Number(value & BigInt(0xffffffff))\n buf[offset + 7] = lo\n lo = lo >> 8\n buf[offset + 6] = lo\n lo = lo >> 8\n buf[offset + 5] = lo\n lo = lo >> 8\n buf[offset + 4] = lo\n let hi = Number(value >> BigInt(32) & BigInt(0xffffffff))\n buf[offset + 3] = hi\n hi = hi >> 8\n buf[offset + 2] = hi\n hi = hi >> 8\n buf[offset + 1] = hi\n hi = hi >> 8\n buf[offset] = hi\n return offset + 8\n}\n\nBuffer.prototype.writeBigUInt64LE = defineBigIntMethod(function writeBigUInt64LE (value, offset = 0) {\n return wrtBigUInt64LE(this, value, offset, BigInt(0), BigInt('0xffffffffffffffff'))\n})\n\nBuffer.prototype.writeBigUInt64BE = defineBigIntMethod(function writeBigUInt64BE (value, offset = 0) {\n return wrtBigUInt64BE(this, value, offset, BigInt(0), BigInt('0xffffffffffffffff'))\n})\n\nBuffer.prototype.writeIntLE = function writeIntLE (value, offset, byteLength, noAssert) {\n value = +value\n offset = offset >>> 0\n if (!noAssert) {\n const limit = Math.pow(2, (8 * byteLength) - 1)\n\n checkInt(this, value, offset, byteLength, limit - 1, -limit)\n }\n\n let i = 0\n let mul = 1\n let sub = 0\n this[offset] = value & 0xFF\n while (++i < byteLength && (mul *= 0x100)) {\n if (value < 0 && sub === 0 && this[offset + i - 1] !== 0) {\n sub = 1\n }\n this[offset + i] = ((value / mul) >> 0) - sub & 0xFF\n }\n\n return offset + byteLength\n}\n\nBuffer.prototype.writeIntBE = function writeIntBE (value, offset, byteLength, noAssert) {\n value = +value\n offset = offset >>> 0\n if (!noAssert) {\n const limit = Math.pow(2, (8 * byteLength) - 1)\n\n checkInt(this, value, offset, byteLength, limit - 1, -limit)\n }\n\n let i = byteLength - 1\n let mul = 1\n let sub = 0\n this[offset + i] = value & 0xFF\n while (--i >= 0 && (mul *= 0x100)) {\n if (value < 0 && sub === 0 && this[offset + i + 1] !== 0) {\n sub = 1\n }\n this[offset + i] = ((value / mul) >> 0) - sub & 0xFF\n }\n\n return offset + byteLength\n}\n\nBuffer.prototype.writeInt8 = function writeInt8 (value, offset, noAssert) {\n value = +value\n offset = offset >>> 0\n if (!noAssert) checkInt(this, value, offset, 1, 0x7f, -0x80)\n if (value < 0) value = 0xff + value + 1\n this[offset] = (value & 0xff)\n return offset + 1\n}\n\nBuffer.prototype.writeInt16LE = function writeInt16LE (value, offset, noAssert) {\n value = +value\n offset = offset >>> 0\n if (!noAssert) checkInt(this, value, offset, 2, 0x7fff, -0x8000)\n this[offset] = (value & 0xff)\n this[offset + 1] = (value >>> 8)\n return offset + 2\n}\n\nBuffer.prototype.writeInt16BE = function writeInt16BE (value, offset, noAssert) {\n value = +value\n offset = offset >>> 0\n if (!noAssert) checkInt(this, value, offset, 2, 0x7fff, -0x8000)\n this[offset] = (value >>> 8)\n this[offset + 1] = (value & 0xff)\n return offset + 2\n}\n\nBuffer.prototype.writeInt32LE = function writeInt32LE (value, offset, noAssert) {\n value = +value\n offset = offset >>> 0\n if (!noAssert) checkInt(this, value, offset, 4, 0x7fffffff, -0x80000000)\n this[offset] = (value & 0xff)\n this[offset + 1] = (value >>> 8)\n this[offset + 2] = (value >>> 16)\n this[offset + 3] = (value >>> 24)\n return offset + 4\n}\n\nBuffer.prototype.writeInt32BE = function writeInt32BE (value, offset, noAssert) {\n value = +value\n offset = offset >>> 0\n if (!noAssert) checkInt(this, value, offset, 4, 0x7fffffff, -0x80000000)\n if (value < 0) value = 0xffffffff + value + 1\n this[offset] = (value >>> 24)\n this[offset + 1] = (value >>> 16)\n this[offset + 2] = (value >>> 8)\n this[offset + 3] = (value & 0xff)\n return offset + 4\n}\n\nBuffer.prototype.writeBigInt64LE = defineBigIntMethod(function writeBigInt64LE (value, offset = 0) {\n return wrtBigUInt64LE(this, value, offset, -BigInt('0x8000000000000000'), BigInt('0x7fffffffffffffff'))\n})\n\nBuffer.prototype.writeBigInt64BE = defineBigIntMethod(function writeBigInt64BE (value, offset = 0) {\n return wrtBigUInt64BE(this, value, offset, -BigInt('0x8000000000000000'), BigInt('0x7fffffffffffffff'))\n})\n\nfunction checkIEEE754 (buf, value, offset, ext, max, min) {\n if (offset + ext > buf.length) throw new RangeError('Index out of range')\n if (offset < 0) throw new RangeError('Index out of range')\n}\n\nfunction writeFloat (buf, value, offset, littleEndian, noAssert) {\n value = +value\n offset = offset >>> 0\n if (!noAssert) {\n checkIEEE754(buf, value, offset, 4, 3.4028234663852886e+38, -3.4028234663852886e+38)\n }\n ieee754.write(buf, value, offset, littleEndian, 23, 4)\n return offset + 4\n}\n\nBuffer.prototype.writeFloatLE = function writeFloatLE (value, offset, noAssert) {\n return writeFloat(this, value, offset, true, noAssert)\n}\n\nBuffer.prototype.writeFloatBE = function writeFloatBE (value, offset, noAssert) {\n return writeFloat(this, value, offset, false, noAssert)\n}\n\nfunction writeDouble (buf, value, offset, littleEndian, noAssert) {\n value = +value\n offset = offset >>> 0\n if (!noAssert) {\n checkIEEE754(buf, value, offset, 8, 1.7976931348623157E+308, -1.7976931348623157E+308)\n }\n ieee754.write(buf, value, offset, littleEndian, 52, 8)\n return offset + 8\n}\n\nBuffer.prototype.writeDoubleLE = function writeDoubleLE (value, offset, noAssert) {\n return writeDouble(this, value, offset, true, noAssert)\n}\n\nBuffer.prototype.writeDoubleBE = function writeDoubleBE (value, offset, noAssert) {\n return writeDouble(this, value, offset, false, noAssert)\n}\n\n// copy(targetBuffer, targetStart=0, sourceStart=0, sourceEnd=buffer.length)\nBuffer.prototype.copy = function copy (target, targetStart, start, end) {\n if (!Buffer.isBuffer(target)) throw new TypeError('argument should be a Buffer')\n if (!start) start = 0\n if (!end && end !== 0) end = this.length\n if (targetStart >= target.length) targetStart = target.length\n if (!targetStart) targetStart = 0\n if (end > 0 && end < start) end = start\n\n // Copy 0 bytes; we're done\n if (end === start) return 0\n if (target.length === 0 || this.length === 0) return 0\n\n // Fatal error conditions\n if (targetStart < 0) {\n throw new RangeError('targetStart out of bounds')\n }\n if (start < 0 || start >= this.length) throw new RangeError('Index out of range')\n if (end < 0) throw new RangeError('sourceEnd out of bounds')\n\n // Are we oob?\n if (end > this.length) end = this.length\n if (target.length - targetStart < end - start) {\n end = target.length - targetStart + start\n }\n\n const len = end - start\n\n if (this === target && typeof Uint8Array.prototype.copyWithin === 'function') {\n // Use built-in when available, missing from IE11\n this.copyWithin(targetStart, start, end)\n } else {\n Uint8Array.prototype.set.call(\n target,\n this.subarray(start, end),\n targetStart\n )\n }\n\n return len\n}\n\n// Usage:\n// buffer.fill(number[, offset[, end]])\n// buffer.fill(buffer[, offset[, end]])\n// buffer.fill(string[, offset[, end]][, encoding])\nBuffer.prototype.fill = function fill (val, start, end, encoding) {\n // Handle string cases:\n if (typeof val === 'string') {\n if (typeof start === 'string') {\n encoding = start\n start = 0\n end = this.length\n } else if (typeof end === 'string') {\n encoding = end\n end = this.length\n }\n if (encoding !== undefined && typeof encoding !== 'string') {\n throw new TypeError('encoding must be a string')\n }\n if (typeof encoding === 'string' && !Buffer.isEncoding(encoding)) {\n throw new TypeError('Unknown encoding: ' + encoding)\n }\n if (val.length === 1) {\n const code = val.charCodeAt(0)\n if ((encoding === 'utf8' && code < 128) ||\n encoding === 'latin1') {\n // Fast path: If `val` fits into a single byte, use that numeric value.\n val = code\n }\n }\n } else if (typeof val === 'number') {\n val = val & 255\n } else if (typeof val === 'boolean') {\n val = Number(val)\n }\n\n // Invalid ranges are not set to a default, so can range check early.\n if (start < 0 || this.length < start || this.length < end) {\n throw new RangeError('Out of range index')\n }\n\n if (end <= start) {\n return this\n }\n\n start = start >>> 0\n end = end === undefined ? this.length : end >>> 0\n\n if (!val) val = 0\n\n let i\n if (typeof val === 'number') {\n for (i = start; i < end; ++i) {\n this[i] = val\n }\n } else {\n const bytes = Buffer.isBuffer(val)\n ? val\n : Buffer.from(val, encoding)\n const len = bytes.length\n if (len === 0) {\n throw new TypeError('The value \"' + val +\n '\" is invalid for argument \"value\"')\n }\n for (i = 0; i < end - start; ++i) {\n this[i + start] = bytes[i % len]\n }\n }\n\n return this\n}\n\n// CUSTOM ERRORS\n// =============\n\n// Simplified versions from Node, changed for Buffer-only usage\nconst errors = {}\nfunction E (sym, getMessage, Base) {\n errors[sym] = class NodeError extends Base {\n constructor () {\n super()\n\n Object.defineProperty(this, 'message', {\n value: getMessage.apply(this, arguments),\n writable: true,\n configurable: true\n })\n\n // Add the error code to the name to include it in the stack trace.\n this.name = `${this.name} [${sym}]`\n // Access the stack to generate the error message including the error code\n // from the name.\n this.stack // eslint-disable-line no-unused-expressions\n // Reset the name to the actual name.\n delete this.name\n }\n\n get code () {\n return sym\n }\n\n set code (value) {\n Object.defineProperty(this, 'code', {\n configurable: true,\n enumerable: true,\n value,\n writable: true\n })\n }\n\n toString () {\n return `${this.name} [${sym}]: ${this.message}`\n }\n }\n}\n\nE('ERR_BUFFER_OUT_OF_BOUNDS',\n function (name) {\n if (name) {\n return `${name} is outside of buffer bounds`\n }\n\n return 'Attempt to access memory outside buffer bounds'\n }, RangeError)\nE('ERR_INVALID_ARG_TYPE',\n function (name, actual) {\n return `The \"${name}\" argument must be of type number. Received type ${typeof actual}`\n }, TypeError)\nE('ERR_OUT_OF_RANGE',\n function (str, range, input) {\n let msg = `The value of \"${str}\" is out of range.`\n let received = input\n if (Number.isInteger(input) && Math.abs(input) > 2 ** 32) {\n received = addNumericalSeparator(String(input))\n } else if (typeof input === 'bigint') {\n received = String(input)\n if (input > BigInt(2) ** BigInt(32) || input < -(BigInt(2) ** BigInt(32))) {\n received = addNumericalSeparator(received)\n }\n received += 'n'\n }\n msg += ` It must be ${range}. Received ${received}`\n return msg\n }, RangeError)\n\nfunction addNumericalSeparator (val) {\n let res = ''\n let i = val.length\n const start = val[0] === '-' ? 1 : 0\n for (; i >= start + 4; i -= 3) {\n res = `_${val.slice(i - 3, i)}${res}`\n }\n return `${val.slice(0, i)}${res}`\n}\n\n// CHECK FUNCTIONS\n// ===============\n\nfunction checkBounds (buf, offset, byteLength) {\n validateNumber(offset, 'offset')\n if (buf[offset] === undefined || buf[offset + byteLength] === undefined) {\n boundsError(offset, buf.length - (byteLength + 1))\n }\n}\n\nfunction checkIntBI (value, min, max, buf, offset, byteLength) {\n if (value > max || value < min) {\n const n = typeof min === 'bigint' ? 'n' : ''\n let range\n if (byteLength > 3) {\n if (min === 0 || min === BigInt(0)) {\n range = `>= 0${n} and < 2${n} ** ${(byteLength + 1) * 8}${n}`\n } else {\n range = `>= -(2${n} ** ${(byteLength + 1) * 8 - 1}${n}) and < 2 ** ` +\n `${(byteLength + 1) * 8 - 1}${n}`\n }\n } else {\n range = `>= ${min}${n} and <= ${max}${n}`\n }\n throw new errors.ERR_OUT_OF_RANGE('value', range, value)\n }\n checkBounds(buf, offset, byteLength)\n}\n\nfunction validateNumber (value, name) {\n if (typeof value !== 'number') {\n throw new errors.ERR_INVALID_ARG_TYPE(name, 'number', value)\n }\n}\n\nfunction boundsError (value, length, type) {\n if (Math.floor(value) !== value) {\n validateNumber(value, type)\n throw new errors.ERR_OUT_OF_RANGE(type || 'offset', 'an integer', value)\n }\n\n if (length < 0) {\n throw new errors.ERR_BUFFER_OUT_OF_BOUNDS()\n }\n\n throw new errors.ERR_OUT_OF_RANGE(type || 'offset',\n `>= ${type ? 1 : 0} and <= ${length}`,\n value)\n}\n\n// HELPER FUNCTIONS\n// ================\n\nconst INVALID_BASE64_RE = /[^+/0-9A-Za-z-_]/g\n\nfunction base64clean (str) {\n // Node takes equal signs as end of the Base64 encoding\n str = str.split('=')[0]\n // Node strips out invalid characters like \\n and \\t from the string, base64-js does not\n str = str.trim().replace(INVALID_BASE64_RE, '')\n // Node converts strings with length < 2 to ''\n if (str.length < 2) return ''\n // Node allows for non-padded base64 strings (missing trailing ===), base64-js does not\n while (str.length % 4 !== 0) {\n str = str + '='\n }\n return str\n}\n\nfunction utf8ToBytes (string, units) {\n units = units || Infinity\n let codePoint\n const length = string.length\n let leadSurrogate = null\n const bytes = []\n\n for (let i = 0; i < length; ++i) {\n codePoint = string.charCodeAt(i)\n\n // is surrogate component\n if (codePoint > 0xD7FF && codePoint < 0xE000) {\n // last char was a lead\n if (!leadSurrogate) {\n // no lead yet\n if (codePoint > 0xDBFF) {\n // unexpected trail\n if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD)\n continue\n } else if (i + 1 === length) {\n // unpaired lead\n if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD)\n continue\n }\n\n // valid lead\n leadSurrogate = codePoint\n\n continue\n }\n\n // 2 leads in a row\n if (codePoint < 0xDC00) {\n if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD)\n leadSurrogate = codePoint\n continue\n }\n\n // valid surrogate pair\n codePoint = (leadSurrogate - 0xD800 << 10 | codePoint - 0xDC00) + 0x10000\n } else if (leadSurrogate) {\n // valid bmp char, but last char was a lead\n if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD)\n }\n\n leadSurrogate = null\n\n // encode utf8\n if (codePoint < 0x80) {\n if ((units -= 1) < 0) break\n bytes.push(codePoint)\n } else if (codePoint < 0x800) {\n if ((units -= 2) < 0) break\n bytes.push(\n codePoint >> 0x6 | 0xC0,\n codePoint & 0x3F | 0x80\n )\n } else if (codePoint < 0x10000) {\n if ((units -= 3) < 0) break\n bytes.push(\n codePoint >> 0xC | 0xE0,\n codePoint >> 0x6 & 0x3F | 0x80,\n codePoint & 0x3F | 0x80\n )\n } else if (codePoint < 0x110000) {\n if ((units -= 4) < 0) break\n bytes.push(\n codePoint >> 0x12 | 0xF0,\n codePoint >> 0xC & 0x3F | 0x80,\n codePoint >> 0x6 & 0x3F | 0x80,\n codePoint & 0x3F | 0x80\n )\n } else {\n throw new Error('Invalid code point')\n }\n }\n\n return bytes\n}\n\nfunction asciiToBytes (str) {\n const byteArray = []\n for (let i = 0; i < str.length; ++i) {\n // Node's code seems to be doing this and not & 0x7F..\n byteArray.push(str.charCodeAt(i) & 0xFF)\n }\n return byteArray\n}\n\nfunction utf16leToBytes (str, units) {\n let c, hi, lo\n const byteArray = []\n for (let i = 0; i < str.length; ++i) {\n if ((units -= 2) < 0) break\n\n c = str.charCodeAt(i)\n hi = c >> 8\n lo = c % 256\n byteArray.push(lo)\n byteArray.push(hi)\n }\n\n return byteArray\n}\n\nfunction base64ToBytes (str) {\n return base64.toByteArray(base64clean(str))\n}\n\nfunction blitBuffer (src, dst, offset, length) {\n let i\n for (i = 0; i < length; ++i) {\n if ((i + offset >= dst.length) || (i >= src.length)) break\n dst[i + offset] = src[i]\n }\n return i\n}\n\n// ArrayBuffer or Uint8Array objects from other contexts (i.e. iframes) do not pass\n// the `instanceof` check but they should be treated as of that type.\n// See: https://github.com/feross/buffer/issues/166\nfunction isInstance (obj, type) {\n return obj instanceof type ||\n (obj != null && obj.constructor != null && obj.constructor.name != null &&\n obj.constructor.name === type.name)\n}\nfunction numberIsNaN (obj) {\n // For IE11 support\n return obj !== obj // eslint-disable-line no-self-compare\n}\n\n// Create lookup table for `toString('hex')`\n// See: https://github.com/feross/buffer/issues/219\nconst hexSliceLookupTable = (function () {\n const alphabet = '0123456789abcdef'\n const table = new Array(256)\n for (let i = 0; i < 16; ++i) {\n const i16 = i * 16\n for (let j = 0; j < 16; ++j) {\n table[i16 + j] = alphabet[i] + alphabet[j]\n }\n }\n return table\n})()\n\n// Return not function with Error if BigInt not supported\nfunction defineBigIntMethod (fn) {\n return typeof BigInt === 'undefined' ? BufferBigIntNotDefined : fn\n}\n\nfunction BufferBigIntNotDefined () {\n throw new Error('BigInt not supported')\n}\n","// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n'use strict';\n\nvar R = typeof Reflect === 'object' ? Reflect : null\nvar ReflectApply = R && typeof R.apply === 'function'\n ? R.apply\n : function ReflectApply(target, receiver, args) {\n return Function.prototype.apply.call(target, receiver, args);\n }\n\nvar ReflectOwnKeys\nif (R && typeof R.ownKeys === 'function') {\n ReflectOwnKeys = R.ownKeys\n} else if (Object.getOwnPropertySymbols) {\n ReflectOwnKeys = function ReflectOwnKeys(target) {\n return Object.getOwnPropertyNames(target)\n .concat(Object.getOwnPropertySymbols(target));\n };\n} else {\n ReflectOwnKeys = function ReflectOwnKeys(target) {\n return Object.getOwnPropertyNames(target);\n };\n}\n\nfunction ProcessEmitWarning(warning) {\n if (console && console.warn) console.warn(warning);\n}\n\nvar NumberIsNaN = Number.isNaN || function NumberIsNaN(value) {\n return value !== value;\n}\n\nfunction EventEmitter() {\n EventEmitter.init.call(this);\n}\nmodule.exports = EventEmitter;\nmodule.exports.once = once;\n\n// Backwards-compat with node 0.10.x\nEventEmitter.EventEmitter = EventEmitter;\n\nEventEmitter.prototype._events = undefined;\nEventEmitter.prototype._eventsCount = 0;\nEventEmitter.prototype._maxListeners = undefined;\n\n// By default EventEmitters will print a warning if more than 10 listeners are\n// added to it. This is a useful default which helps finding memory leaks.\nvar defaultMaxListeners = 10;\n\nfunction checkListener(listener) {\n if (typeof listener !== 'function') {\n throw new TypeError('The \"listener\" argument must be of type Function. Received type ' + typeof listener);\n }\n}\n\nObject.defineProperty(EventEmitter, 'defaultMaxListeners', {\n enumerable: true,\n get: function() {\n return defaultMaxListeners;\n },\n set: function(arg) {\n if (typeof arg !== 'number' || arg < 0 || NumberIsNaN(arg)) {\n throw new RangeError('The value of \"defaultMaxListeners\" is out of range. It must be a non-negative number. Received ' + arg + '.');\n }\n defaultMaxListeners = arg;\n }\n});\n\nEventEmitter.init = function() {\n\n if (this._events === undefined ||\n this._events === Object.getPrototypeOf(this)._events) {\n this._events = Object.create(null);\n this._eventsCount = 0;\n }\n\n this._maxListeners = this._maxListeners || undefined;\n};\n\n// Obviously not all Emitters should be limited to 10. This function allows\n// that to be increased. Set to zero for unlimited.\nEventEmitter.prototype.setMaxListeners = function setMaxListeners(n) {\n if (typeof n !== 'number' || n < 0 || NumberIsNaN(n)) {\n throw new RangeError('The value of \"n\" is out of range. It must be a non-negative number. Received ' + n + '.');\n }\n this._maxListeners = n;\n return this;\n};\n\nfunction _getMaxListeners(that) {\n if (that._maxListeners === undefined)\n return EventEmitter.defaultMaxListeners;\n return that._maxListeners;\n}\n\nEventEmitter.prototype.getMaxListeners = function getMaxListeners() {\n return _getMaxListeners(this);\n};\n\nEventEmitter.prototype.emit = function emit(type) {\n var args = [];\n for (var i = 1; i < arguments.length; i++) args.push(arguments[i]);\n var doError = (type === 'error');\n\n var events = this._events;\n if (events !== undefined)\n doError = (doError && events.error === undefined);\n else if (!doError)\n return false;\n\n // If there is no 'error' event listener then throw.\n if (doError) {\n var er;\n if (args.length > 0)\n er = args[0];\n if (er instanceof Error) {\n // Note: The comments on the `throw` lines are intentional, they show\n // up in Node's output if this results in an unhandled exception.\n throw er; // Unhandled 'error' event\n }\n // At least give some kind of context to the user\n var err = new Error('Unhandled error.' + (er ? ' (' + er.message + ')' : ''));\n err.context = er;\n throw err; // Unhandled 'error' event\n }\n\n var handler = events[type];\n\n if (handler === undefined)\n return false;\n\n if (typeof handler === 'function') {\n ReflectApply(handler, this, args);\n } else {\n var len = handler.length;\n var listeners = arrayClone(handler, len);\n for (var i = 0; i < len; ++i)\n ReflectApply(listeners[i], this, args);\n }\n\n return true;\n};\n\nfunction _addListener(target, type, listener, prepend) {\n var m;\n var events;\n var existing;\n\n checkListener(listener);\n\n events = target._events;\n if (events === undefined) {\n events = target._events = Object.create(null);\n target._eventsCount = 0;\n } else {\n // To avoid recursion in the case that type === \"newListener\"! Before\n // adding it to the listeners, first emit \"newListener\".\n if (events.newListener !== undefined) {\n target.emit('newListener', type,\n listener.listener ? listener.listener : listener);\n\n // Re-assign `events` because a newListener handler could have caused the\n // this._events to be assigned to a new object\n events = target._events;\n }\n existing = events[type];\n }\n\n if (existing === undefined) {\n // Optimize the case of one listener. Don't need the extra array object.\n existing = events[type] = listener;\n ++target._eventsCount;\n } else {\n if (typeof existing === 'function') {\n // Adding the second element, need to change to array.\n existing = events[type] =\n prepend ? [listener, existing] : [existing, listener];\n // If we've already got an array, just append.\n } else if (prepend) {\n existing.unshift(listener);\n } else {\n existing.push(listener);\n }\n\n // Check for listener leak\n m = _getMaxListeners(target);\n if (m > 0 && existing.length > m && !existing.warned) {\n existing.warned = true;\n // No error code for this since it is a Warning\n // eslint-disable-next-line no-restricted-syntax\n var w = new Error('Possible EventEmitter memory leak detected. ' +\n existing.length + ' ' + String(type) + ' listeners ' +\n 'added. Use emitter.setMaxListeners() to ' +\n 'increase limit');\n w.name = 'MaxListenersExceededWarning';\n w.emitter = target;\n w.type = type;\n w.count = existing.length;\n ProcessEmitWarning(w);\n }\n }\n\n return target;\n}\n\nEventEmitter.prototype.addListener = function addListener(type, listener) {\n return _addListener(this, type, listener, false);\n};\n\nEventEmitter.prototype.on = EventEmitter.prototype.addListener;\n\nEventEmitter.prototype.prependListener =\n function prependListener(type, listener) {\n return _addListener(this, type, listener, true);\n };\n\nfunction onceWrapper() {\n if (!this.fired) {\n this.target.removeListener(this.type, this.wrapFn);\n this.fired = true;\n if (arguments.length === 0)\n return this.listener.call(this.target);\n return this.listener.apply(this.target, arguments);\n }\n}\n\nfunction _onceWrap(target, type, listener) {\n var state = { fired: false, wrapFn: undefined, target: target, type: type, listener: listener };\n var wrapped = onceWrapper.bind(state);\n wrapped.listener = listener;\n state.wrapFn = wrapped;\n return wrapped;\n}\n\nEventEmitter.prototype.once = function once(type, listener) {\n checkListener(listener);\n this.on(type, _onceWrap(this, type, listener));\n return this;\n};\n\nEventEmitter.prototype.prependOnceListener =\n function prependOnceListener(type, listener) {\n checkListener(listener);\n this.prependListener(type, _onceWrap(this, type, listener));\n return this;\n };\n\n// Emits a 'removeListener' event if and only if the listener was removed.\nEventEmitter.prototype.removeListener =\n function removeListener(type, listener) {\n var list, events, position, i, originalListener;\n\n checkListener(listener);\n\n events = this._events;\n if (events === undefined)\n return this;\n\n list = events[type];\n if (list === undefined)\n return this;\n\n if (list === listener || list.listener === listener) {\n if (--this._eventsCount === 0)\n this._events = Object.create(null);\n else {\n delete events[type];\n if (events.removeListener)\n this.emit('removeListener', type, list.listener || listener);\n }\n } else if (typeof list !== 'function') {\n position = -1;\n\n for (i = list.length - 1; i >= 0; i--) {\n if (list[i] === listener || list[i].listener === listener) {\n originalListener = list[i].listener;\n position = i;\n break;\n }\n }\n\n if (position < 0)\n return this;\n\n if (position === 0)\n list.shift();\n else {\n spliceOne(list, position);\n }\n\n if (list.length === 1)\n events[type] = list[0];\n\n if (events.removeListener !== undefined)\n this.emit('removeListener', type, originalListener || listener);\n }\n\n return this;\n };\n\nEventEmitter.prototype.off = EventEmitter.prototype.removeListener;\n\nEventEmitter.prototype.removeAllListeners =\n function removeAllListeners(type) {\n var listeners, events, i;\n\n events = this._events;\n if (events === undefined)\n return this;\n\n // not listening for removeListener, no need to emit\n if (events.removeListener === undefined) {\n if (arguments.length === 0) {\n this._events = Object.create(null);\n this._eventsCount = 0;\n } else if (events[type] !== undefined) {\n if (--this._eventsCount === 0)\n this._events = Object.create(null);\n else\n delete events[type];\n }\n return this;\n }\n\n // emit removeListener for all listeners on all events\n if (arguments.length === 0) {\n var keys = Object.keys(events);\n var key;\n for (i = 0; i < keys.length; ++i) {\n key = keys[i];\n if (key === 'removeListener') continue;\n this.removeAllListeners(key);\n }\n this.removeAllListeners('removeListener');\n this._events = Object.create(null);\n this._eventsCount = 0;\n return this;\n }\n\n listeners = events[type];\n\n if (typeof listeners === 'function') {\n this.removeListener(type, listeners);\n } else if (listeners !== undefined) {\n // LIFO order\n for (i = listeners.length - 1; i >= 0; i--) {\n this.removeListener(type, listeners[i]);\n }\n }\n\n return this;\n };\n\nfunction _listeners(target, type, unwrap) {\n var events = target._events;\n\n if (events === undefined)\n return [];\n\n var evlistener = events[type];\n if (evlistener === undefined)\n return [];\n\n if (typeof evlistener === 'function')\n return unwrap ? [evlistener.listener || evlistener] : [evlistener];\n\n return unwrap ?\n unwrapListeners(evlistener) : arrayClone(evlistener, evlistener.length);\n}\n\nEventEmitter.prototype.listeners = function listeners(type) {\n return _listeners(this, type, true);\n};\n\nEventEmitter.prototype.rawListeners = function rawListeners(type) {\n return _listeners(this, type, false);\n};\n\nEventEmitter.listenerCount = function(emitter, type) {\n if (typeof emitter.listenerCount === 'function') {\n return emitter.listenerCount(type);\n } else {\n return listenerCount.call(emitter, type);\n }\n};\n\nEventEmitter.prototype.listenerCount = listenerCount;\nfunction listenerCount(type) {\n var events = this._events;\n\n if (events !== undefined) {\n var evlistener = events[type];\n\n if (typeof evlistener === 'function') {\n return 1;\n } else if (evlistener !== undefined) {\n return evlistener.length;\n }\n }\n\n return 0;\n}\n\nEventEmitter.prototype.eventNames = function eventNames() {\n return this._eventsCount > 0 ? ReflectOwnKeys(this._events) : [];\n};\n\nfunction arrayClone(arr, n) {\n var copy = new Array(n);\n for (var i = 0; i < n; ++i)\n copy[i] = arr[i];\n return copy;\n}\n\nfunction spliceOne(list, index) {\n for (; index + 1 < list.length; index++)\n list[index] = list[index + 1];\n list.pop();\n}\n\nfunction unwrapListeners(arr) {\n var ret = new Array(arr.length);\n for (var i = 0; i < ret.length; ++i) {\n ret[i] = arr[i].listener || arr[i];\n }\n return ret;\n}\n\nfunction once(emitter, name) {\n return new Promise(function (resolve, reject) {\n function errorListener(err) {\n emitter.removeListener(name, resolver);\n reject(err);\n }\n\n function resolver() {\n if (typeof emitter.removeListener === 'function') {\n emitter.removeListener('error', errorListener);\n }\n resolve([].slice.call(arguments));\n };\n\n eventTargetAgnosticAddListener(emitter, name, resolver, { once: true });\n if (name !== 'error') {\n addErrorHandlerIfEventEmitter(emitter, errorListener, { once: true });\n }\n });\n}\n\nfunction addErrorHandlerIfEventEmitter(emitter, handler, flags) {\n if (typeof emitter.on === 'function') {\n eventTargetAgnosticAddListener(emitter, 'error', handler, flags);\n }\n}\n\nfunction eventTargetAgnosticAddListener(emitter, name, listener, flags) {\n if (typeof emitter.on === 'function') {\n if (flags.once) {\n emitter.once(name, listener);\n } else {\n emitter.on(name, listener);\n }\n } else if (typeof emitter.addEventListener === 'function') {\n // EventTarget does not have `error` event semantics like Node\n // EventEmitters, we do not listen for `error` events here.\n emitter.addEventListener(name, function wrapListener(arg) {\n // IE does not have builtin `{ once: true }` support so we\n // have to do it manually.\n if (flags.once) {\n emitter.removeEventListener(name, wrapListener);\n }\n listener(arg);\n });\n } else {\n throw new TypeError('The \"emitter\" argument must be of type EventEmitter. Received type ' + typeof emitter);\n }\n}\n","/* eslint-env browser */\nmodule.exports = typeof self == 'object' ? self.FormData : window.FormData;\n","function isAbsolute(pathname) {\n return pathname.charAt(0) === '/';\n}\n\n// About 1.5x faster than the two-arg version of Array#splice()\nfunction spliceOne(list, index) {\n for (var i = index, k = i + 1, n = list.length; k < n; i += 1, k += 1) {\n list[i] = list[k];\n }\n\n list.pop();\n}\n\n// This implementation is based heavily on node's url.parse\nfunction resolvePathname(to, from) {\n if (from === undefined) from = '';\n\n var toParts = (to && to.split('/')) || [];\n var fromParts = (from && from.split('/')) || [];\n\n var isToAbs = to && isAbsolute(to);\n var isFromAbs = from && isAbsolute(from);\n var mustEndAbs = isToAbs || isFromAbs;\n\n if (to && isAbsolute(to)) {\n // to is absolute\n fromParts = toParts;\n } else if (toParts.length) {\n // to is relative, drop the filename\n fromParts.pop();\n fromParts = fromParts.concat(toParts);\n }\n\n if (!fromParts.length) return '/';\n\n var hasTrailingSlash;\n if (fromParts.length) {\n var last = fromParts[fromParts.length - 1];\n hasTrailingSlash = last === '.' || last === '..' || last === '';\n } else {\n hasTrailingSlash = false;\n }\n\n var up = 0;\n for (var i = fromParts.length; i >= 0; i--) {\n var part = fromParts[i];\n\n if (part === '.') {\n spliceOne(fromParts, i);\n } else if (part === '..') {\n spliceOne(fromParts, i);\n up++;\n } else if (up) {\n spliceOne(fromParts, i);\n up--;\n }\n }\n\n if (!mustEndAbs) for (; up--; up) fromParts.unshift('..');\n\n if (\n mustEndAbs &&\n fromParts[0] !== '' &&\n (!fromParts[0] || !isAbsolute(fromParts[0]))\n )\n fromParts.unshift('');\n\n var result = fromParts.join('/');\n\n if (hasTrailingSlash && result.substr(-1) !== '/') result += '/';\n\n return result;\n}\n\nexport default resolvePathname;\n","function valueOf(obj) {\n return obj.valueOf ? obj.valueOf() : Object.prototype.valueOf.call(obj);\n}\n\nfunction valueEqual(a, b) {\n // Test for strict equality first.\n if (a === b) return true;\n\n // Otherwise, if either of them == null they are not equal.\n if (a == null || b == null) return false;\n\n if (Array.isArray(a)) {\n return (\n Array.isArray(b) &&\n a.length === b.length &&\n a.every(function(item, index) {\n return valueEqual(item, b[index]);\n })\n );\n }\n\n if (typeof a === 'object' || typeof b === 'object') {\n var aValue = valueOf(a);\n var bValue = valueOf(b);\n\n if (aValue !== a || bValue !== b) return valueEqual(aValue, bValue);\n\n return Object.keys(Object.assign({}, a, b)).every(function(key) {\n return valueEqual(a[key], b[key]);\n });\n }\n\n return false;\n}\n\nexport default valueEqual;\n","import _extends from '@babel/runtime/helpers/esm/extends';\nimport resolvePathname from 'resolve-pathname';\nimport valueEqual from 'value-equal';\nimport warning from 'tiny-warning';\nimport invariant from 'tiny-invariant';\n\nfunction addLeadingSlash(path) {\n return path.charAt(0) === '/' ? path : '/' + path;\n}\nfunction stripLeadingSlash(path) {\n return path.charAt(0) === '/' ? path.substr(1) : path;\n}\nfunction hasBasename(path, prefix) {\n return path.toLowerCase().indexOf(prefix.toLowerCase()) === 0 && '/?#'.indexOf(path.charAt(prefix.length)) !== -1;\n}\nfunction stripBasename(path, prefix) {\n return hasBasename(path, prefix) ? path.substr(prefix.length) : path;\n}\nfunction stripTrailingSlash(path) {\n return path.charAt(path.length - 1) === '/' ? path.slice(0, -1) : path;\n}\nfunction parsePath(path) {\n var pathname = path || '/';\n var search = '';\n var hash = '';\n var hashIndex = pathname.indexOf('#');\n\n if (hashIndex !== -1) {\n hash = pathname.substr(hashIndex);\n pathname = pathname.substr(0, hashIndex);\n }\n\n var searchIndex = pathname.indexOf('?');\n\n if (searchIndex !== -1) {\n search = pathname.substr(searchIndex);\n pathname = pathname.substr(0, searchIndex);\n }\n\n return {\n pathname: pathname,\n search: search === '?' ? '' : search,\n hash: hash === '#' ? '' : hash\n };\n}\nfunction createPath(location) {\n var pathname = location.pathname,\n search = location.search,\n hash = location.hash;\n var path = pathname || '/';\n if (search && search !== '?') path += search.charAt(0) === '?' ? search : \"?\" + search;\n if (hash && hash !== '#') path += hash.charAt(0) === '#' ? hash : \"#\" + hash;\n return path;\n}\n\nfunction createLocation(path, state, key, currentLocation) {\n var location;\n\n if (typeof path === 'string') {\n // Two-arg form: push(path, state)\n location = parsePath(path);\n location.state = state;\n } else {\n // One-arg form: push(location)\n location = _extends({}, path);\n if (location.pathname === undefined) location.pathname = '';\n\n if (location.search) {\n if (location.search.charAt(0) !== '?') location.search = '?' + location.search;\n } else {\n location.search = '';\n }\n\n if (location.hash) {\n if (location.hash.charAt(0) !== '#') location.hash = '#' + location.hash;\n } else {\n location.hash = '';\n }\n\n if (state !== undefined && location.state === undefined) location.state = state;\n }\n\n try {\n location.pathname = decodeURI(location.pathname);\n } catch (e) {\n if (e instanceof URIError) {\n throw new URIError('Pathname \"' + location.pathname + '\" could not be decoded. ' + 'This is likely caused by an invalid percent-encoding.');\n } else {\n throw e;\n }\n }\n\n if (key) location.key = key;\n\n if (currentLocation) {\n // Resolve incomplete/relative pathname relative to current location.\n if (!location.pathname) {\n location.pathname = currentLocation.pathname;\n } else if (location.pathname.charAt(0) !== '/') {\n location.pathname = resolvePathname(location.pathname, currentLocation.pathname);\n }\n } else {\n // When there is no prior location and pathname is empty, set it to /\n if (!location.pathname) {\n location.pathname = '/';\n }\n }\n\n return location;\n}\nfunction locationsAreEqual(a, b) {\n return a.pathname === b.pathname && a.search === b.search && a.hash === b.hash && a.key === b.key && valueEqual(a.state, b.state);\n}\n\nfunction createTransitionManager() {\n var prompt = null;\n\n function setPrompt(nextPrompt) {\n process.env.NODE_ENV !== \"production\" ? warning(prompt == null, 'A history supports only one prompt at a time') : void 0;\n prompt = nextPrompt;\n return function () {\n if (prompt === nextPrompt) prompt = null;\n };\n }\n\n function confirmTransitionTo(location, action, getUserConfirmation, callback) {\n // TODO: If another transition starts while we're still confirming\n // the previous one, we may end up in a weird state. Figure out the\n // best way to handle this.\n if (prompt != null) {\n var result = typeof prompt === 'function' ? prompt(location, action) : prompt;\n\n if (typeof result === 'string') {\n if (typeof getUserConfirmation === 'function') {\n getUserConfirmation(result, callback);\n } else {\n process.env.NODE_ENV !== \"production\" ? warning(false, 'A history needs a getUserConfirmation function in order to use a prompt message') : void 0;\n callback(true);\n }\n } else {\n // Return false from a transition hook to cancel the transition.\n callback(result !== false);\n }\n } else {\n callback(true);\n }\n }\n\n var listeners = [];\n\n function appendListener(fn) {\n var isActive = true;\n\n function listener() {\n if (isActive) fn.apply(void 0, arguments);\n }\n\n listeners.push(listener);\n return function () {\n isActive = false;\n listeners = listeners.filter(function (item) {\n return item !== listener;\n });\n };\n }\n\n function notifyListeners() {\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n listeners.forEach(function (listener) {\n return listener.apply(void 0, args);\n });\n }\n\n return {\n setPrompt: setPrompt,\n confirmTransitionTo: confirmTransitionTo,\n appendListener: appendListener,\n notifyListeners: notifyListeners\n };\n}\n\nvar canUseDOM = !!(typeof window !== 'undefined' && window.document && window.document.createElement);\nfunction getConfirmation(message, callback) {\n callback(window.confirm(message)); // eslint-disable-line no-alert\n}\n/**\n * Returns true if the HTML5 history API is supported. Taken from Modernizr.\n *\n * https://github.com/Modernizr/Modernizr/blob/master/LICENSE\n * https://github.com/Modernizr/Modernizr/blob/master/feature-detects/history.js\n * changed to avoid false negatives for Windows Phones: https://github.com/reactjs/react-router/issues/586\n */\n\nfunction supportsHistory() {\n var ua = window.navigator.userAgent;\n if ((ua.indexOf('Android 2.') !== -1 || ua.indexOf('Android 4.0') !== -1) && ua.indexOf('Mobile Safari') !== -1 && ua.indexOf('Chrome') === -1 && ua.indexOf('Windows Phone') === -1) return false;\n return window.history && 'pushState' in window.history;\n}\n/**\n * Returns true if browser fires popstate on hash change.\n * IE10 and IE11 do not.\n */\n\nfunction supportsPopStateOnHashChange() {\n return window.navigator.userAgent.indexOf('Trident') === -1;\n}\n/**\n * Returns false if using go(n) with hash history causes a full page reload.\n */\n\nfunction supportsGoWithoutReloadUsingHash() {\n return window.navigator.userAgent.indexOf('Firefox') === -1;\n}\n/**\n * Returns true if a given popstate event is an extraneous WebKit event.\n * Accounts for the fact that Chrome on iOS fires real popstate events\n * containing undefined state when pressing the back button.\n */\n\nfunction isExtraneousPopstateEvent(event) {\n return event.state === undefined && navigator.userAgent.indexOf('CriOS') === -1;\n}\n\nvar PopStateEvent = 'popstate';\nvar HashChangeEvent = 'hashchange';\n\nfunction getHistoryState() {\n try {\n return window.history.state || {};\n } catch (e) {\n // IE 11 sometimes throws when accessing window.history.state\n // See https://github.com/ReactTraining/history/pull/289\n return {};\n }\n}\n/**\n * Creates a history object that uses the HTML5 history API including\n * pushState, replaceState, and the popstate event.\n */\n\n\nfunction createBrowserHistory(props) {\n if (props === void 0) {\n props = {};\n }\n\n !canUseDOM ? process.env.NODE_ENV !== \"production\" ? invariant(false, 'Browser history needs a DOM') : invariant(false) : void 0;\n var globalHistory = window.history;\n var canUseHistory = supportsHistory();\n var needsHashChangeListener = !supportsPopStateOnHashChange();\n var _props = props,\n _props$forceRefresh = _props.forceRefresh,\n forceRefresh = _props$forceRefresh === void 0 ? false : _props$forceRefresh,\n _props$getUserConfirm = _props.getUserConfirmation,\n getUserConfirmation = _props$getUserConfirm === void 0 ? getConfirmation : _props$getUserConfirm,\n _props$keyLength = _props.keyLength,\n keyLength = _props$keyLength === void 0 ? 6 : _props$keyLength;\n var basename = props.basename ? stripTrailingSlash(addLeadingSlash(props.basename)) : '';\n\n function getDOMLocation(historyState) {\n var _ref = historyState || {},\n key = _ref.key,\n state = _ref.state;\n\n var _window$location = window.location,\n pathname = _window$location.pathname,\n search = _window$location.search,\n hash = _window$location.hash;\n var path = pathname + search + hash;\n process.env.NODE_ENV !== \"production\" ? warning(!basename || hasBasename(path, basename), 'You are attempting to use a basename on a page whose URL path does not begin ' + 'with the basename. Expected path \"' + path + '\" to begin with \"' + basename + '\".') : void 0;\n if (basename) path = stripBasename(path, basename);\n return createLocation(path, state, key);\n }\n\n function createKey() {\n return Math.random().toString(36).substr(2, keyLength);\n }\n\n var transitionManager = createTransitionManager();\n\n function setState(nextState) {\n _extends(history, nextState);\n\n history.length = globalHistory.length;\n transitionManager.notifyListeners(history.location, history.action);\n }\n\n function handlePopState(event) {\n // Ignore extraneous popstate events in WebKit.\n if (isExtraneousPopstateEvent(event)) return;\n handlePop(getDOMLocation(event.state));\n }\n\n function handleHashChange() {\n handlePop(getDOMLocation(getHistoryState()));\n }\n\n var forceNextPop = false;\n\n function handlePop(location) {\n if (forceNextPop) {\n forceNextPop = false;\n setState();\n } else {\n var action = 'POP';\n transitionManager.confirmTransitionTo(location, action, getUserConfirmation, function (ok) {\n if (ok) {\n setState({\n action: action,\n location: location\n });\n } else {\n revertPop(location);\n }\n });\n }\n }\n\n function revertPop(fromLocation) {\n var toLocation = history.location; // TODO: We could probably make this more reliable by\n // keeping a list of keys we've seen in sessionStorage.\n // Instead, we just default to 0 for keys we don't know.\n\n var toIndex = allKeys.indexOf(toLocation.key);\n if (toIndex === -1) toIndex = 0;\n var fromIndex = allKeys.indexOf(fromLocation.key);\n if (fromIndex === -1) fromIndex = 0;\n var delta = toIndex - fromIndex;\n\n if (delta) {\n forceNextPop = true;\n go(delta);\n }\n }\n\n var initialLocation = getDOMLocation(getHistoryState());\n var allKeys = [initialLocation.key]; // Public interface\n\n function createHref(location) {\n return basename + createPath(location);\n }\n\n function push(path, state) {\n process.env.NODE_ENV !== \"production\" ? warning(!(typeof path === 'object' && path.state !== undefined && state !== undefined), 'You should avoid providing a 2nd state argument to push when the 1st ' + 'argument is a location-like object that already has state; it is ignored') : void 0;\n var action = 'PUSH';\n var location = createLocation(path, state, createKey(), history.location);\n transitionManager.confirmTransitionTo(location, action, getUserConfirmation, function (ok) {\n if (!ok) return;\n var href = createHref(location);\n var key = location.key,\n state = location.state;\n\n if (canUseHistory) {\n globalHistory.pushState({\n key: key,\n state: state\n }, null, href);\n\n if (forceRefresh) {\n window.location.href = href;\n } else {\n var prevIndex = allKeys.indexOf(history.location.key);\n var nextKeys = allKeys.slice(0, prevIndex + 1);\n nextKeys.push(location.key);\n allKeys = nextKeys;\n setState({\n action: action,\n location: location\n });\n }\n } else {\n process.env.NODE_ENV !== \"production\" ? warning(state === undefined, 'Browser history cannot push state in browsers that do not support HTML5 history') : void 0;\n window.location.href = href;\n }\n });\n }\n\n function replace(path, state) {\n process.env.NODE_ENV !== \"production\" ? warning(!(typeof path === 'object' && path.state !== undefined && state !== undefined), 'You should avoid providing a 2nd state argument to replace when the 1st ' + 'argument is a location-like object that already has state; it is ignored') : void 0;\n var action = 'REPLACE';\n var location = createLocation(path, state, createKey(), history.location);\n transitionManager.confirmTransitionTo(location, action, getUserConfirmation, function (ok) {\n if (!ok) return;\n var href = createHref(location);\n var key = location.key,\n state = location.state;\n\n if (canUseHistory) {\n globalHistory.replaceState({\n key: key,\n state: state\n }, null, href);\n\n if (forceRefresh) {\n window.location.replace(href);\n } else {\n var prevIndex = allKeys.indexOf(history.location.key);\n if (prevIndex !== -1) allKeys[prevIndex] = location.key;\n setState({\n action: action,\n location: location\n });\n }\n } else {\n process.env.NODE_ENV !== \"production\" ? warning(state === undefined, 'Browser history cannot replace state in browsers that do not support HTML5 history') : void 0;\n window.location.replace(href);\n }\n });\n }\n\n function go(n) {\n globalHistory.go(n);\n }\n\n function goBack() {\n go(-1);\n }\n\n function goForward() {\n go(1);\n }\n\n var listenerCount = 0;\n\n function checkDOMListeners(delta) {\n listenerCount += delta;\n\n if (listenerCount === 1 && delta === 1) {\n window.addEventListener(PopStateEvent, handlePopState);\n if (needsHashChangeListener) window.addEventListener(HashChangeEvent, handleHashChange);\n } else if (listenerCount === 0) {\n window.removeEventListener(PopStateEvent, handlePopState);\n if (needsHashChangeListener) window.removeEventListener(HashChangeEvent, handleHashChange);\n }\n }\n\n var isBlocked = false;\n\n function block(prompt) {\n if (prompt === void 0) {\n prompt = false;\n }\n\n var unblock = transitionManager.setPrompt(prompt);\n\n if (!isBlocked) {\n checkDOMListeners(1);\n isBlocked = true;\n }\n\n return function () {\n if (isBlocked) {\n isBlocked = false;\n checkDOMListeners(-1);\n }\n\n return unblock();\n };\n }\n\n function listen(listener) {\n var unlisten = transitionManager.appendListener(listener);\n checkDOMListeners(1);\n return function () {\n checkDOMListeners(-1);\n unlisten();\n };\n }\n\n var history = {\n length: globalHistory.length,\n action: 'POP',\n location: initialLocation,\n createHref: createHref,\n push: push,\n replace: replace,\n go: go,\n goBack: goBack,\n goForward: goForward,\n block: block,\n listen: listen\n };\n return history;\n}\n\nvar HashChangeEvent$1 = 'hashchange';\nvar HashPathCoders = {\n hashbang: {\n encodePath: function encodePath(path) {\n return path.charAt(0) === '!' ? path : '!/' + stripLeadingSlash(path);\n },\n decodePath: function decodePath(path) {\n return path.charAt(0) === '!' ? path.substr(1) : path;\n }\n },\n noslash: {\n encodePath: stripLeadingSlash,\n decodePath: addLeadingSlash\n },\n slash: {\n encodePath: addLeadingSlash,\n decodePath: addLeadingSlash\n }\n};\n\nfunction stripHash(url) {\n var hashIndex = url.indexOf('#');\n return hashIndex === -1 ? url : url.slice(0, hashIndex);\n}\n\nfunction getHashPath() {\n // We can't use window.location.hash here because it's not\n // consistent across browsers - Firefox will pre-decode it!\n var href = window.location.href;\n var hashIndex = href.indexOf('#');\n return hashIndex === -1 ? '' : href.substring(hashIndex + 1);\n}\n\nfunction pushHashPath(path) {\n window.location.hash = path;\n}\n\nfunction replaceHashPath(path) {\n window.location.replace(stripHash(window.location.href) + '#' + path);\n}\n\nfunction createHashHistory(props) {\n if (props === void 0) {\n props = {};\n }\n\n !canUseDOM ? process.env.NODE_ENV !== \"production\" ? invariant(false, 'Hash history needs a DOM') : invariant(false) : void 0;\n var globalHistory = window.history;\n var canGoWithoutReload = supportsGoWithoutReloadUsingHash();\n var _props = props,\n _props$getUserConfirm = _props.getUserConfirmation,\n getUserConfirmation = _props$getUserConfirm === void 0 ? getConfirmation : _props$getUserConfirm,\n _props$hashType = _props.hashType,\n hashType = _props$hashType === void 0 ? 'slash' : _props$hashType;\n var basename = props.basename ? stripTrailingSlash(addLeadingSlash(props.basename)) : '';\n var _HashPathCoders$hashT = HashPathCoders[hashType],\n encodePath = _HashPathCoders$hashT.encodePath,\n decodePath = _HashPathCoders$hashT.decodePath;\n\n function getDOMLocation() {\n var path = decodePath(getHashPath());\n process.env.NODE_ENV !== \"production\" ? warning(!basename || hasBasename(path, basename), 'You are attempting to use a basename on a page whose URL path does not begin ' + 'with the basename. Expected path \"' + path + '\" to begin with \"' + basename + '\".') : void 0;\n if (basename) path = stripBasename(path, basename);\n return createLocation(path);\n }\n\n var transitionManager = createTransitionManager();\n\n function setState(nextState) {\n _extends(history, nextState);\n\n history.length = globalHistory.length;\n transitionManager.notifyListeners(history.location, history.action);\n }\n\n var forceNextPop = false;\n var ignorePath = null;\n\n function locationsAreEqual$$1(a, b) {\n return a.pathname === b.pathname && a.search === b.search && a.hash === b.hash;\n }\n\n function handleHashChange() {\n var path = getHashPath();\n var encodedPath = encodePath(path);\n\n if (path !== encodedPath) {\n // Ensure we always have a properly-encoded hash.\n replaceHashPath(encodedPath);\n } else {\n var location = getDOMLocation();\n var prevLocation = history.location;\n if (!forceNextPop && locationsAreEqual$$1(prevLocation, location)) return; // A hashchange doesn't always == location change.\n\n if (ignorePath === createPath(location)) return; // Ignore this change; we already setState in push/replace.\n\n ignorePath = null;\n handlePop(location);\n }\n }\n\n function handlePop(location) {\n if (forceNextPop) {\n forceNextPop = false;\n setState();\n } else {\n var action = 'POP';\n transitionManager.confirmTransitionTo(location, action, getUserConfirmation, function (ok) {\n if (ok) {\n setState({\n action: action,\n location: location\n });\n } else {\n revertPop(location);\n }\n });\n }\n }\n\n function revertPop(fromLocation) {\n var toLocation = history.location; // TODO: We could probably make this more reliable by\n // keeping a list of paths we've seen in sessionStorage.\n // Instead, we just default to 0 for paths we don't know.\n\n var toIndex = allPaths.lastIndexOf(createPath(toLocation));\n if (toIndex === -1) toIndex = 0;\n var fromIndex = allPaths.lastIndexOf(createPath(fromLocation));\n if (fromIndex === -1) fromIndex = 0;\n var delta = toIndex - fromIndex;\n\n if (delta) {\n forceNextPop = true;\n go(delta);\n }\n } // Ensure the hash is encoded properly before doing anything else.\n\n\n var path = getHashPath();\n var encodedPath = encodePath(path);\n if (path !== encodedPath) replaceHashPath(encodedPath);\n var initialLocation = getDOMLocation();\n var allPaths = [createPath(initialLocation)]; // Public interface\n\n function createHref(location) {\n var baseTag = document.querySelector('base');\n var href = '';\n\n if (baseTag && baseTag.getAttribute('href')) {\n href = stripHash(window.location.href);\n }\n\n return href + '#' + encodePath(basename + createPath(location));\n }\n\n function push(path, state) {\n process.env.NODE_ENV !== \"production\" ? warning(state === undefined, 'Hash history cannot push state; it is ignored') : void 0;\n var action = 'PUSH';\n var location = createLocation(path, undefined, undefined, history.location);\n transitionManager.confirmTransitionTo(location, action, getUserConfirmation, function (ok) {\n if (!ok) return;\n var path = createPath(location);\n var encodedPath = encodePath(basename + path);\n var hashChanged = getHashPath() !== encodedPath;\n\n if (hashChanged) {\n // We cannot tell if a hashchange was caused by a PUSH, so we'd\n // rather setState here and ignore the hashchange. The caveat here\n // is that other hash histories in the page will consider it a POP.\n ignorePath = path;\n pushHashPath(encodedPath);\n var prevIndex = allPaths.lastIndexOf(createPath(history.location));\n var nextPaths = allPaths.slice(0, prevIndex + 1);\n nextPaths.push(path);\n allPaths = nextPaths;\n setState({\n action: action,\n location: location\n });\n } else {\n process.env.NODE_ENV !== \"production\" ? warning(false, 'Hash history cannot PUSH the same path; a new entry will not be added to the history stack') : void 0;\n setState();\n }\n });\n }\n\n function replace(path, state) {\n process.env.NODE_ENV !== \"production\" ? warning(state === undefined, 'Hash history cannot replace state; it is ignored') : void 0;\n var action = 'REPLACE';\n var location = createLocation(path, undefined, undefined, history.location);\n transitionManager.confirmTransitionTo(location, action, getUserConfirmation, function (ok) {\n if (!ok) return;\n var path = createPath(location);\n var encodedPath = encodePath(basename + path);\n var hashChanged = getHashPath() !== encodedPath;\n\n if (hashChanged) {\n // We cannot tell if a hashchange was caused by a REPLACE, so we'd\n // rather setState here and ignore the hashchange. The caveat here\n // is that other hash histories in the page will consider it a POP.\n ignorePath = path;\n replaceHashPath(encodedPath);\n }\n\n var prevIndex = allPaths.indexOf(createPath(history.location));\n if (prevIndex !== -1) allPaths[prevIndex] = path;\n setState({\n action: action,\n location: location\n });\n });\n }\n\n function go(n) {\n process.env.NODE_ENV !== \"production\" ? warning(canGoWithoutReload, 'Hash history go(n) causes a full page reload in this browser') : void 0;\n globalHistory.go(n);\n }\n\n function goBack() {\n go(-1);\n }\n\n function goForward() {\n go(1);\n }\n\n var listenerCount = 0;\n\n function checkDOMListeners(delta) {\n listenerCount += delta;\n\n if (listenerCount === 1 && delta === 1) {\n window.addEventListener(HashChangeEvent$1, handleHashChange);\n } else if (listenerCount === 0) {\n window.removeEventListener(HashChangeEvent$1, handleHashChange);\n }\n }\n\n var isBlocked = false;\n\n function block(prompt) {\n if (prompt === void 0) {\n prompt = false;\n }\n\n var unblock = transitionManager.setPrompt(prompt);\n\n if (!isBlocked) {\n checkDOMListeners(1);\n isBlocked = true;\n }\n\n return function () {\n if (isBlocked) {\n isBlocked = false;\n checkDOMListeners(-1);\n }\n\n return unblock();\n };\n }\n\n function listen(listener) {\n var unlisten = transitionManager.appendListener(listener);\n checkDOMListeners(1);\n return function () {\n checkDOMListeners(-1);\n unlisten();\n };\n }\n\n var history = {\n length: globalHistory.length,\n action: 'POP',\n location: initialLocation,\n createHref: createHref,\n push: push,\n replace: replace,\n go: go,\n goBack: goBack,\n goForward: goForward,\n block: block,\n listen: listen\n };\n return history;\n}\n\nfunction clamp(n, lowerBound, upperBound) {\n return Math.min(Math.max(n, lowerBound), upperBound);\n}\n/**\n * Creates a history object that stores locations in memory.\n */\n\n\nfunction createMemoryHistory(props) {\n if (props === void 0) {\n props = {};\n }\n\n var _props = props,\n getUserConfirmation = _props.getUserConfirmation,\n _props$initialEntries = _props.initialEntries,\n initialEntries = _props$initialEntries === void 0 ? ['/'] : _props$initialEntries,\n _props$initialIndex = _props.initialIndex,\n initialIndex = _props$initialIndex === void 0 ? 0 : _props$initialIndex,\n _props$keyLength = _props.keyLength,\n keyLength = _props$keyLength === void 0 ? 6 : _props$keyLength;\n var transitionManager = createTransitionManager();\n\n function setState(nextState) {\n _extends(history, nextState);\n\n history.length = history.entries.length;\n transitionManager.notifyListeners(history.location, history.action);\n }\n\n function createKey() {\n return Math.random().toString(36).substr(2, keyLength);\n }\n\n var index = clamp(initialIndex, 0, initialEntries.length - 1);\n var entries = initialEntries.map(function (entry) {\n return typeof entry === 'string' ? createLocation(entry, undefined, createKey()) : createLocation(entry, undefined, entry.key || createKey());\n }); // Public interface\n\n var createHref = createPath;\n\n function push(path, state) {\n process.env.NODE_ENV !== \"production\" ? warning(!(typeof path === 'object' && path.state !== undefined && state !== undefined), 'You should avoid providing a 2nd state argument to push when the 1st ' + 'argument is a location-like object that already has state; it is ignored') : void 0;\n var action = 'PUSH';\n var location = createLocation(path, state, createKey(), history.location);\n transitionManager.confirmTransitionTo(location, action, getUserConfirmation, function (ok) {\n if (!ok) return;\n var prevIndex = history.index;\n var nextIndex = prevIndex + 1;\n var nextEntries = history.entries.slice(0);\n\n if (nextEntries.length > nextIndex) {\n nextEntries.splice(nextIndex, nextEntries.length - nextIndex, location);\n } else {\n nextEntries.push(location);\n }\n\n setState({\n action: action,\n location: location,\n index: nextIndex,\n entries: nextEntries\n });\n });\n }\n\n function replace(path, state) {\n process.env.NODE_ENV !== \"production\" ? warning(!(typeof path === 'object' && path.state !== undefined && state !== undefined), 'You should avoid providing a 2nd state argument to replace when the 1st ' + 'argument is a location-like object that already has state; it is ignored') : void 0;\n var action = 'REPLACE';\n var location = createLocation(path, state, createKey(), history.location);\n transitionManager.confirmTransitionTo(location, action, getUserConfirmation, function (ok) {\n if (!ok) return;\n history.entries[history.index] = location;\n setState({\n action: action,\n location: location\n });\n });\n }\n\n function go(n) {\n var nextIndex = clamp(history.index + n, 0, history.entries.length - 1);\n var action = 'POP';\n var location = history.entries[nextIndex];\n transitionManager.confirmTransitionTo(location, action, getUserConfirmation, function (ok) {\n if (ok) {\n setState({\n action: action,\n location: location,\n index: nextIndex\n });\n } else {\n // Mimic the behavior of DOM histories by\n // causing a render after a cancelled POP.\n setState();\n }\n });\n }\n\n function goBack() {\n go(-1);\n }\n\n function goForward() {\n go(1);\n }\n\n function canGo(n) {\n var nextIndex = history.index + n;\n return nextIndex >= 0 && nextIndex < history.entries.length;\n }\n\n function block(prompt) {\n if (prompt === void 0) {\n prompt = false;\n }\n\n return transitionManager.setPrompt(prompt);\n }\n\n function listen(listener) {\n return transitionManager.appendListener(listener);\n }\n\n var history = {\n length: entries.length,\n action: 'POP',\n location: entries[index],\n index: index,\n entries: entries,\n createHref: createHref,\n push: push,\n replace: replace,\n go: go,\n goBack: goBack,\n goForward: goForward,\n canGo: canGo,\n block: block,\n listen: listen\n };\n return history;\n}\n\nexport { createBrowserHistory, createHashHistory, createMemoryHistory, createLocation, locationsAreEqual, parsePath, createPath };\n","'use strict';\n\nvar reactIs = require('react-is');\n\n/**\n * Copyright 2015, Yahoo! Inc.\n * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.\n */\nvar REACT_STATICS = {\n childContextTypes: true,\n contextType: true,\n contextTypes: true,\n defaultProps: true,\n displayName: true,\n getDefaultProps: true,\n getDerivedStateFromError: true,\n getDerivedStateFromProps: true,\n mixins: true,\n propTypes: true,\n type: true\n};\nvar KNOWN_STATICS = {\n name: true,\n length: true,\n prototype: true,\n caller: true,\n callee: true,\n arguments: true,\n arity: true\n};\nvar FORWARD_REF_STATICS = {\n '$$typeof': true,\n render: true,\n defaultProps: true,\n displayName: true,\n propTypes: true\n};\nvar MEMO_STATICS = {\n '$$typeof': true,\n compare: true,\n defaultProps: true,\n displayName: true,\n propTypes: true,\n type: true\n};\nvar TYPE_STATICS = {};\nTYPE_STATICS[reactIs.ForwardRef] = FORWARD_REF_STATICS;\nTYPE_STATICS[reactIs.Memo] = MEMO_STATICS;\n\nfunction getStatics(component) {\n // React v16.11 and below\n if (reactIs.isMemo(component)) {\n return MEMO_STATICS;\n } // React v16.12 and above\n\n\n return TYPE_STATICS[component['$$typeof']] || REACT_STATICS;\n}\n\nvar defineProperty = Object.defineProperty;\nvar getOwnPropertyNames = Object.getOwnPropertyNames;\nvar getOwnPropertySymbols = Object.getOwnPropertySymbols;\nvar getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\nvar getPrototypeOf = Object.getPrototypeOf;\nvar objectPrototype = Object.prototype;\nfunction hoistNonReactStatics(targetComponent, sourceComponent, blacklist) {\n if (typeof sourceComponent !== 'string') {\n // don't hoist over string (html) components\n if (objectPrototype) {\n var inheritedComponent = getPrototypeOf(sourceComponent);\n\n if (inheritedComponent && inheritedComponent !== objectPrototype) {\n hoistNonReactStatics(targetComponent, inheritedComponent, blacklist);\n }\n }\n\n var keys = getOwnPropertyNames(sourceComponent);\n\n if (getOwnPropertySymbols) {\n keys = keys.concat(getOwnPropertySymbols(sourceComponent));\n }\n\n var targetStatics = getStatics(targetComponent);\n var sourceStatics = getStatics(sourceComponent);\n\n for (var i = 0; i < keys.length; ++i) {\n var key = keys[i];\n\n if (!KNOWN_STATICS[key] && !(blacklist && blacklist[key]) && !(sourceStatics && sourceStatics[key]) && !(targetStatics && targetStatics[key])) {\n var descriptor = getOwnPropertyDescriptor(sourceComponent, key);\n\n try {\n // Avoid failures from read-only properties\n defineProperty(targetComponent, key, descriptor);\n } catch (e) {}\n }\n }\n }\n\n return targetComponent;\n}\n\nmodule.exports = hoistNonReactStatics;\n","/** @license React v16.13.1\n * react-is.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';var b=\"function\"===typeof Symbol&&Symbol.for,c=b?Symbol.for(\"react.element\"):60103,d=b?Symbol.for(\"react.portal\"):60106,e=b?Symbol.for(\"react.fragment\"):60107,f=b?Symbol.for(\"react.strict_mode\"):60108,g=b?Symbol.for(\"react.profiler\"):60114,h=b?Symbol.for(\"react.provider\"):60109,k=b?Symbol.for(\"react.context\"):60110,l=b?Symbol.for(\"react.async_mode\"):60111,m=b?Symbol.for(\"react.concurrent_mode\"):60111,n=b?Symbol.for(\"react.forward_ref\"):60112,p=b?Symbol.for(\"react.suspense\"):60113,q=b?\nSymbol.for(\"react.suspense_list\"):60120,r=b?Symbol.for(\"react.memo\"):60115,t=b?Symbol.for(\"react.lazy\"):60116,v=b?Symbol.for(\"react.block\"):60121,w=b?Symbol.for(\"react.fundamental\"):60117,x=b?Symbol.for(\"react.responder\"):60118,y=b?Symbol.for(\"react.scope\"):60119;\nfunction z(a){if(\"object\"===typeof a&&null!==a){var u=a.$$typeof;switch(u){case c:switch(a=a.type,a){case l:case m:case e:case g:case f:case p:return a;default:switch(a=a&&a.$$typeof,a){case k:case n:case t:case r:case h:return a;default:return u}}case d:return u}}}function A(a){return z(a)===m}exports.AsyncMode=l;exports.ConcurrentMode=m;exports.ContextConsumer=k;exports.ContextProvider=h;exports.Element=c;exports.ForwardRef=n;exports.Fragment=e;exports.Lazy=t;exports.Memo=r;exports.Portal=d;\nexports.Profiler=g;exports.StrictMode=f;exports.Suspense=p;exports.isAsyncMode=function(a){return A(a)||z(a)===l};exports.isConcurrentMode=A;exports.isContextConsumer=function(a){return z(a)===k};exports.isContextProvider=function(a){return z(a)===h};exports.isElement=function(a){return\"object\"===typeof a&&null!==a&&a.$$typeof===c};exports.isForwardRef=function(a){return z(a)===n};exports.isFragment=function(a){return z(a)===e};exports.isLazy=function(a){return z(a)===t};\nexports.isMemo=function(a){return z(a)===r};exports.isPortal=function(a){return z(a)===d};exports.isProfiler=function(a){return z(a)===g};exports.isStrictMode=function(a){return z(a)===f};exports.isSuspense=function(a){return z(a)===p};\nexports.isValidElementType=function(a){return\"string\"===typeof a||\"function\"===typeof a||a===e||a===m||a===g||a===f||a===p||a===q||\"object\"===typeof a&&null!==a&&(a.$$typeof===t||a.$$typeof===r||a.$$typeof===h||a.$$typeof===k||a.$$typeof===n||a.$$typeof===w||a.$$typeof===x||a.$$typeof===y||a.$$typeof===v)};exports.typeOf=z;\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react-is.production.min.js');\n} else {\n module.exports = require('./cjs/react-is.development.js');\n}\n","/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh */\nexports.read = function (buffer, offset, isLE, mLen, nBytes) {\n var e, m\n var eLen = (nBytes * 8) - mLen - 1\n var eMax = (1 << eLen) - 1\n var eBias = eMax >> 1\n var nBits = -7\n var i = isLE ? (nBytes - 1) : 0\n var d = isLE ? -1 : 1\n var s = buffer[offset + i]\n\n i += d\n\n e = s & ((1 << (-nBits)) - 1)\n s >>= (-nBits)\n nBits += eLen\n for (; nBits > 0; e = (e * 256) + buffer[offset + i], i += d, nBits -= 8) {}\n\n m = e & ((1 << (-nBits)) - 1)\n e >>= (-nBits)\n nBits += mLen\n for (; nBits > 0; m = (m * 256) + buffer[offset + i], i += d, nBits -= 8) {}\n\n if (e === 0) {\n e = 1 - eBias\n } else if (e === eMax) {\n return m ? NaN : ((s ? -1 : 1) * Infinity)\n } else {\n m = m + Math.pow(2, mLen)\n e = e - eBias\n }\n return (s ? -1 : 1) * m * Math.pow(2, e - mLen)\n}\n\nexports.write = function (buffer, value, offset, isLE, mLen, nBytes) {\n var e, m, c\n var eLen = (nBytes * 8) - mLen - 1\n var eMax = (1 << eLen) - 1\n var eBias = eMax >> 1\n var rt = (mLen === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0)\n var i = isLE ? 0 : (nBytes - 1)\n var d = isLE ? 1 : -1\n var s = value < 0 || (value === 0 && 1 / value < 0) ? 1 : 0\n\n value = Math.abs(value)\n\n if (isNaN(value) || value === Infinity) {\n m = isNaN(value) ? 1 : 0\n e = eMax\n } else {\n e = Math.floor(Math.log(value) / Math.LN2)\n if (value * (c = Math.pow(2, -e)) < 1) {\n e--\n c *= 2\n }\n if (e + eBias >= 1) {\n value += rt / c\n } else {\n value += rt * Math.pow(2, 1 - eBias)\n }\n if (value * c >= 2) {\n e++\n c /= 2\n }\n\n if (e + eBias >= eMax) {\n m = 0\n e = eMax\n } else if (e + eBias >= 1) {\n m = ((value * c) - 1) * Math.pow(2, mLen)\n e = e + eBias\n } else {\n m = value * Math.pow(2, eBias - 1) * Math.pow(2, mLen)\n e = 0\n }\n }\n\n for (; mLen >= 8; buffer[offset + i] = m & 0xff, i += d, m /= 256, mLen -= 8) {}\n\n e = (e << mLen) | m\n eLen += mLen\n for (; eLen > 0; buffer[offset + i] = e & 0xff, i += d, e /= 256, eLen -= 8) {}\n\n buffer[offset + i - d] |= s * 128\n}\n","import lottie from \"lottie-web\";\nimport React, { useEffect, useRef, useState, } from \"react\";\nconst useLottie = (props, style) => {\n const { animationData, loop, autoplay, initialSegment, onComplete, onLoopComplete, onEnterFrame, onSegmentStart, onConfigReady, onDataReady, onDataFailed, onLoadedImages, onDOMLoaded, onDestroy, \n // Specified here to take them out from the 'rest'\n lottieRef, renderer, name, assetsPath, rendererSettings, \n // TODO: find a better way to extract the html props to avoid specifying\n // all the props that we want to exclude (as you can see above)\n ...rest } = props;\n const [animationLoaded, setAnimationLoaded] = useState(false);\n const animationInstanceRef = useRef();\n const animationContainer = useRef(null);\n /*\n ======================================\n INTERACTION METHODS\n ======================================\n */\n /**\n * Play\n */\n const play = () => {\n var _a;\n (_a = animationInstanceRef.current) === null || _a === void 0 ? void 0 : _a.play();\n };\n /**\n * Stop\n */\n const stop = () => {\n var _a;\n (_a = animationInstanceRef.current) === null || _a === void 0 ? void 0 : _a.stop();\n };\n /**\n * Pause\n */\n const pause = () => {\n var _a;\n (_a = animationInstanceRef.current) === null || _a === void 0 ? void 0 : _a.pause();\n };\n /**\n * Set animation speed\n * @param speed\n */\n const setSpeed = (speed) => {\n var _a;\n (_a = animationInstanceRef.current) === null || _a === void 0 ? void 0 : _a.setSpeed(speed);\n };\n /**\n * Got to frame and play\n * @param value\n * @param isFrame\n */\n const goToAndPlay = (value, isFrame) => {\n var _a;\n (_a = animationInstanceRef.current) === null || _a === void 0 ? void 0 : _a.goToAndPlay(value, isFrame);\n };\n /**\n * Got to frame and stop\n * @param value\n * @param isFrame\n */\n const goToAndStop = (value, isFrame) => {\n var _a;\n (_a = animationInstanceRef.current) === null || _a === void 0 ? void 0 : _a.goToAndStop(value, isFrame);\n };\n /**\n * Set animation direction\n * @param direction\n */\n const setDirection = (direction) => {\n var _a;\n (_a = animationInstanceRef.current) === null || _a === void 0 ? void 0 : _a.setDirection(direction);\n };\n /**\n * Play animation segments\n * @param segments\n * @param forceFlag\n */\n const playSegments = (segments, forceFlag) => {\n var _a;\n (_a = animationInstanceRef.current) === null || _a === void 0 ? void 0 : _a.playSegments(segments, forceFlag);\n };\n /**\n * Set sub frames\n * @param useSubFrames\n */\n const setSubframe = (useSubFrames) => {\n var _a;\n (_a = animationInstanceRef.current) === null || _a === void 0 ? void 0 : _a.setSubframe(useSubFrames);\n };\n /**\n * Get animation duration\n * @param inFrames\n */\n const getDuration = (inFrames) => { var _a; return (_a = animationInstanceRef.current) === null || _a === void 0 ? void 0 : _a.getDuration(inFrames); };\n /**\n * Destroy animation\n */\n const destroy = () => {\n var _a;\n (_a = animationInstanceRef.current) === null || _a === void 0 ? void 0 : _a.destroy();\n // Removing the reference to the animation so separate cleanups are skipped.\n // Without it the internal `lottie-react` instance throws exceptions as it already cleared itself on destroy.\n animationInstanceRef.current = undefined;\n };\n /*\n ======================================\n LOTTIE\n ======================================\n */\n /**\n * Load a new animation, and if it's the case, destroy the previous one\n * @param {Object} forcedConfigs\n */\n const loadAnimation = (forcedConfigs = {}) => {\n var _a;\n // Return if the container ref is null\n if (!animationContainer.current) {\n return;\n }\n // Destroy any previous instance\n (_a = animationInstanceRef.current) === null || _a === void 0 ? void 0 : _a.destroy();\n // Build the animation configuration\n const config = {\n ...props,\n ...forcedConfigs,\n container: animationContainer.current,\n };\n // Save the animation instance\n animationInstanceRef.current = lottie.loadAnimation(config);\n setAnimationLoaded(!!animationInstanceRef.current);\n // Return a function that will clean up\n return () => {\n var _a;\n (_a = animationInstanceRef.current) === null || _a === void 0 ? void 0 : _a.destroy();\n animationInstanceRef.current = undefined;\n };\n };\n /**\n * (Re)Initialize when animation data changed\n */\n useEffect(() => {\n const onUnmount = loadAnimation();\n // Clean up on unmount\n return () => onUnmount === null || onUnmount === void 0 ? void 0 : onUnmount();\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [animationData, loop]);\n // Update the autoplay state\n useEffect(() => {\n if (!animationInstanceRef.current) {\n return;\n }\n animationInstanceRef.current.autoplay = !!autoplay;\n }, [autoplay]);\n // Update the initial segment state\n useEffect(() => {\n if (!animationInstanceRef.current) {\n return;\n }\n // When null should reset to default animation length\n if (!initialSegment) {\n animationInstanceRef.current.resetSegments(true);\n return;\n }\n // If it's not a valid segment, do nothing\n if (!Array.isArray(initialSegment) || !initialSegment.length) {\n return;\n }\n // If the current position it's not in the new segment\n // set the current position to start\n if (animationInstanceRef.current.currentRawFrame < initialSegment[0] ||\n animationInstanceRef.current.currentRawFrame > initialSegment[1]) {\n animationInstanceRef.current.currentRawFrame = initialSegment[0];\n }\n // Update the segment\n animationInstanceRef.current.setSegment(initialSegment[0], initialSegment[1]);\n }, [initialSegment]);\n /*\n ======================================\n EVENTS\n ======================================\n */\n /**\n * Reinitialize listener on change\n */\n useEffect(() => {\n const partialListeners = [\n { name: \"complete\", handler: onComplete },\n { name: \"loopComplete\", handler: onLoopComplete },\n { name: \"enterFrame\", handler: onEnterFrame },\n { name: \"segmentStart\", handler: onSegmentStart },\n { name: \"config_ready\", handler: onConfigReady },\n { name: \"data_ready\", handler: onDataReady },\n { name: \"data_failed\", handler: onDataFailed },\n { name: \"loaded_images\", handler: onLoadedImages },\n { name: \"DOMLoaded\", handler: onDOMLoaded },\n { name: \"destroy\", handler: onDestroy },\n ];\n const listeners = partialListeners.filter((listener) => listener.handler != null);\n if (!listeners.length) {\n return;\n }\n const deregisterList = listeners.map(\n /**\n * Handle the process of adding an event listener\n * @param {Listener} listener\n * @return {Function} Function that deregister the listener\n */\n (listener) => {\n var _a;\n (_a = animationInstanceRef.current) === null || _a === void 0 ? void 0 : _a.addEventListener(listener.name, listener.handler);\n // Return a function to deregister this listener\n return () => {\n var _a;\n (_a = animationInstanceRef.current) === null || _a === void 0 ? void 0 : _a.removeEventListener(listener.name, listener.handler);\n };\n });\n // Deregister listeners on unmount\n return () => {\n deregisterList.forEach((deregister) => deregister());\n };\n }, [\n onComplete,\n onLoopComplete,\n onEnterFrame,\n onSegmentStart,\n onConfigReady,\n onDataReady,\n onDataFailed,\n onLoadedImages,\n onDOMLoaded,\n onDestroy,\n ]);\n /**\n * Build the animation view\n */\n const View = React.createElement(\"div\", { style: style, ref: animationContainer, ...rest });\n return {\n View,\n play,\n stop,\n pause,\n setSpeed,\n goToAndStop,\n goToAndPlay,\n setDirection,\n playSegments,\n setSubframe,\n getDuration,\n destroy,\n animationContainerRef: animationContainer,\n animationLoaded,\n animationItem: animationInstanceRef.current,\n };\n};\nexport default useLottie;\n","import { useEffect } from \"react\";\n// helpers\nexport function getContainerVisibility(container) {\n const { top, height } = container.getBoundingClientRect();\n const current = window.innerHeight - top;\n const max = window.innerHeight + height;\n return current / max;\n}\nexport function getContainerCursorPosition(container, cursorX, cursorY) {\n const { top, left, width, height } = container.getBoundingClientRect();\n const x = (cursorX - left) / width;\n const y = (cursorY - top) / height;\n return { x, y };\n}\nexport const useInitInteractivity = ({ wrapperRef, animationItem, mode, actions, }) => {\n useEffect(() => {\n const wrapper = wrapperRef.current;\n if (!wrapper || !animationItem || !actions.length) {\n return;\n }\n animationItem.stop();\n const scrollModeHandler = () => {\n let assignedSegment = null;\n const scrollHandler = () => {\n const currentPercent = getContainerVisibility(wrapper);\n // Find the first action that satisfies the current position conditions\n const action = actions.find(({ visibility }) => visibility &&\n currentPercent >= visibility[0] &&\n currentPercent <= visibility[1]);\n // Skip if no matching action was found!\n if (!action) {\n return;\n }\n if (action.type === \"seek\" &&\n action.visibility &&\n action.frames.length === 2) {\n // Seek: Go to a frame based on player scroll position action\n const frameToGo = action.frames[0] +\n Math.ceil(((currentPercent - action.visibility[0]) /\n (action.visibility[1] - action.visibility[0])) *\n action.frames[1]);\n //! goToAndStop must be relative to the start of the current segment\n animationItem.goToAndStop(frameToGo - animationItem.firstFrame - 1, true);\n }\n if (action.type === \"loop\") {\n // Loop: Loop a given frames\n if (assignedSegment === null) {\n // if not playing any segments currently. play those segments and save to state\n animationItem.playSegments(action.frames, true);\n assignedSegment = action.frames;\n }\n else {\n // if playing any segments currently.\n //check if segments in state are equal to the frames selected by action\n if (assignedSegment !== action.frames) {\n // if they are not equal. new segments are to be loaded\n animationItem.playSegments(action.frames, true);\n assignedSegment = action.frames;\n }\n else if (animationItem.isPaused) {\n // if they are equal the play method must be called only if lottie is paused\n animationItem.playSegments(action.frames, true);\n assignedSegment = action.frames;\n }\n }\n }\n if (action.type === \"play\" && animationItem.isPaused) {\n // Play: Reset segments and continue playing full animation from current position\n animationItem.resetSegments(true);\n animationItem.play();\n }\n if (action.type === \"stop\") {\n // Stop: Stop playback\n animationItem.goToAndStop(action.frames[0] - animationItem.firstFrame - 1, true);\n }\n };\n document.addEventListener(\"scroll\", scrollHandler);\n return () => {\n document.removeEventListener(\"scroll\", scrollHandler);\n };\n };\n const cursorModeHandler = () => {\n const handleCursor = (_x, _y) => {\n let x = _x;\n let y = _y;\n // Resolve cursor position if cursor is inside container\n if (x !== -1 && y !== -1) {\n // Get container cursor position\n const pos = getContainerCursorPosition(wrapper, x, y);\n // Use the resolved position\n x = pos.x;\n y = pos.y;\n }\n // Find the first action that satisfies the current position conditions\n const action = actions.find(({ position }) => {\n if (position &&\n Array.isArray(position.x) &&\n Array.isArray(position.y)) {\n return (x >= position.x[0] &&\n x <= position.x[1] &&\n y >= position.y[0] &&\n y <= position.y[1]);\n }\n if (position &&\n !Number.isNaN(position.x) &&\n !Number.isNaN(position.y)) {\n return x === position.x && y === position.y;\n }\n return false;\n });\n // Skip if no matching action was found!\n if (!action) {\n return;\n }\n // Process action types:\n if (action.type === \"seek\" &&\n action.position &&\n Array.isArray(action.position.x) &&\n Array.isArray(action.position.y) &&\n action.frames.length === 2) {\n // Seek: Go to a frame based on player scroll position action\n const xPercent = (x - action.position.x[0]) /\n (action.position.x[1] - action.position.x[0]);\n const yPercent = (y - action.position.y[0]) /\n (action.position.y[1] - action.position.y[0]);\n animationItem.playSegments(action.frames, true);\n animationItem.goToAndStop(Math.ceil(((xPercent + yPercent) / 2) *\n (action.frames[1] - action.frames[0])), true);\n }\n if (action.type === \"loop\") {\n animationItem.playSegments(action.frames, true);\n }\n if (action.type === \"play\") {\n // Play: Reset segments and continue playing full animation from current position\n if (animationItem.isPaused) {\n animationItem.resetSegments(false);\n }\n animationItem.playSegments(action.frames);\n }\n if (action.type === \"stop\") {\n animationItem.goToAndStop(action.frames[0], true);\n }\n };\n const mouseMoveHandler = (ev) => {\n handleCursor(ev.clientX, ev.clientY);\n };\n const mouseOutHandler = () => {\n handleCursor(-1, -1);\n };\n wrapper.addEventListener(\"mousemove\", mouseMoveHandler);\n wrapper.addEventListener(\"mouseout\", mouseOutHandler);\n return () => {\n wrapper.removeEventListener(\"mousemove\", mouseMoveHandler);\n wrapper.removeEventListener(\"mouseout\", mouseOutHandler);\n };\n };\n switch (mode) {\n case \"scroll\":\n return scrollModeHandler();\n case \"cursor\":\n return cursorModeHandler();\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [mode, animationItem]);\n};\nconst useLottieInteractivity = ({ actions, mode, lottieObj, }) => {\n const { animationItem, View, animationContainerRef } = lottieObj;\n useInitInteractivity({\n actions,\n animationItem,\n mode,\n wrapperRef: animationContainerRef,\n });\n return View;\n};\nexport default useLottieInteractivity;\n","import { useEffect } from \"react\";\nimport useLottie from \"../hooks/useLottie\";\nimport useLottieInteractivity from \"../hooks/useLottieInteractivity\";\nconst Lottie = (props) => {\n var _a, _b, _c;\n const { style, interactivity, ...lottieProps } = props;\n /**\n * Initialize the 'useLottie' hook\n */\n const { View, play, stop, pause, setSpeed, goToAndStop, goToAndPlay, setDirection, playSegments, setSubframe, getDuration, destroy, animationContainerRef, animationLoaded, animationItem, } = useLottie(lottieProps, style);\n /**\n * Make the hook variables/methods available through the provided 'lottieRef'\n */\n useEffect(() => {\n if (props.lottieRef) {\n props.lottieRef.current = {\n play,\n stop,\n pause,\n setSpeed,\n goToAndPlay,\n goToAndStop,\n setDirection,\n playSegments,\n setSubframe,\n getDuration,\n destroy,\n animationContainerRef,\n animationLoaded,\n animationItem,\n };\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [(_a = props.lottieRef) === null || _a === void 0 ? void 0 : _a.current]);\n return useLottieInteractivity({\n lottieObj: {\n View,\n play,\n stop,\n pause,\n setSpeed,\n goToAndStop,\n goToAndPlay,\n setDirection,\n playSegments,\n setSubframe,\n getDuration,\n destroy,\n animationContainerRef,\n animationLoaded,\n animationItem,\n },\n actions: (_b = interactivity === null || interactivity === void 0 ? void 0 : interactivity.actions) !== null && _b !== void 0 ? _b : [],\n mode: (_c = interactivity === null || interactivity === void 0 ? void 0 : interactivity.mode) !== null && _c !== void 0 ? _c : \"scroll\",\n });\n};\nexport default Lottie;\n","(typeof navigator !== \"undefined\") && (function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :\n typeof define === 'function' && define.amd ? define(factory) :\n (global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.lottie = factory());\n})(this, (function () { 'use strict';\n\n var svgNS = 'http://www.w3.org/2000/svg';\n var locationHref = '';\n var _useWebWorker = false;\n var initialDefaultFrame = -999999;\n\n var setWebWorker = function setWebWorker(flag) {\n _useWebWorker = !!flag;\n };\n\n var getWebWorker = function getWebWorker() {\n return _useWebWorker;\n };\n\n var setLocationHref = function setLocationHref(value) {\n locationHref = value;\n };\n\n var getLocationHref = function getLocationHref() {\n return locationHref;\n };\n\n function createTag(type) {\n // return {appendChild:function(){},setAttribute:function(){},style:{}}\n return document.createElement(type);\n }\n\n function extendPrototype(sources, destination) {\n var i;\n var len = sources.length;\n var sourcePrototype;\n\n for (i = 0; i < len; i += 1) {\n sourcePrototype = sources[i].prototype;\n\n for (var attr in sourcePrototype) {\n if (Object.prototype.hasOwnProperty.call(sourcePrototype, attr)) destination.prototype[attr] = sourcePrototype[attr];\n }\n }\n }\n\n function getDescriptor(object, prop) {\n return Object.getOwnPropertyDescriptor(object, prop);\n }\n\n function createProxyFunction(prototype) {\n function ProxyFunction() {}\n\n ProxyFunction.prototype = prototype;\n return ProxyFunction;\n }\n\n // import Howl from '../../3rd_party/howler';\n var audioControllerFactory = function () {\n function AudioController(audioFactory) {\n this.audios = [];\n this.audioFactory = audioFactory;\n this._volume = 1;\n this._isMuted = false;\n }\n\n AudioController.prototype = {\n addAudio: function addAudio(audio) {\n this.audios.push(audio);\n },\n pause: function pause() {\n var i;\n var len = this.audios.length;\n\n for (i = 0; i < len; i += 1) {\n this.audios[i].pause();\n }\n },\n resume: function resume() {\n var i;\n var len = this.audios.length;\n\n for (i = 0; i < len; i += 1) {\n this.audios[i].resume();\n }\n },\n setRate: function setRate(rateValue) {\n var i;\n var len = this.audios.length;\n\n for (i = 0; i < len; i += 1) {\n this.audios[i].setRate(rateValue);\n }\n },\n createAudio: function createAudio(assetPath) {\n if (this.audioFactory) {\n return this.audioFactory(assetPath);\n }\n\n if (window.Howl) {\n return new window.Howl({\n src: [assetPath]\n });\n }\n\n return {\n isPlaying: false,\n play: function play() {\n this.isPlaying = true;\n },\n seek: function seek() {\n this.isPlaying = false;\n },\n playing: function playing() {},\n rate: function rate() {},\n setVolume: function setVolume() {}\n };\n },\n setAudioFactory: function setAudioFactory(audioFactory) {\n this.audioFactory = audioFactory;\n },\n setVolume: function setVolume(value) {\n this._volume = value;\n\n this._updateVolume();\n },\n mute: function mute() {\n this._isMuted = true;\n\n this._updateVolume();\n },\n unmute: function unmute() {\n this._isMuted = false;\n\n this._updateVolume();\n },\n getVolume: function getVolume() {\n return this._volume;\n },\n _updateVolume: function _updateVolume() {\n var i;\n var len = this.audios.length;\n\n for (i = 0; i < len; i += 1) {\n this.audios[i].volume(this._volume * (this._isMuted ? 0 : 1));\n }\n }\n };\n return function () {\n return new AudioController();\n };\n }();\n\n var createTypedArray = function () {\n function createRegularArray(type, len) {\n var i = 0;\n var arr = [];\n var value;\n\n switch (type) {\n case 'int16':\n case 'uint8c':\n value = 1;\n break;\n\n default:\n value = 1.1;\n break;\n }\n\n for (i = 0; i < len; i += 1) {\n arr.push(value);\n }\n\n return arr;\n }\n\n function createTypedArrayFactory(type, len) {\n if (type === 'float32') {\n return new Float32Array(len);\n }\n\n if (type === 'int16') {\n return new Int16Array(len);\n }\n\n if (type === 'uint8c') {\n return new Uint8ClampedArray(len);\n }\n\n return createRegularArray(type, len);\n }\n\n if (typeof Uint8ClampedArray === 'function' && typeof Float32Array === 'function') {\n return createTypedArrayFactory;\n }\n\n return createRegularArray;\n }();\n\n function createSizedArray(len) {\n return Array.apply(null, {\n length: len\n });\n }\n\n function _typeof$6(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof$6 = function _typeof(obj) { return typeof obj; }; } else { _typeof$6 = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof$6(obj); }\n var subframeEnabled = true;\n var expressionsPlugin = null;\n var expressionsInterfaces = null;\n var idPrefix$1 = '';\n var isSafari = /^((?!chrome|android).)*safari/i.test(navigator.userAgent);\n var _shouldRoundValues = false;\n var bmPow = Math.pow;\n var bmSqrt = Math.sqrt;\n var bmFloor = Math.floor;\n var bmMax = Math.max;\n var bmMin = Math.min;\n var BMMath = {};\n\n (function () {\n var propertyNames = ['abs', 'acos', 'acosh', 'asin', 'asinh', 'atan', 'atanh', 'atan2', 'ceil', 'cbrt', 'expm1', 'clz32', 'cos', 'cosh', 'exp', 'floor', 'fround', 'hypot', 'imul', 'log', 'log1p', 'log2', 'log10', 'max', 'min', 'pow', 'random', 'round', 'sign', 'sin', 'sinh', 'sqrt', 'tan', 'tanh', 'trunc', 'E', 'LN10', 'LN2', 'LOG10E', 'LOG2E', 'PI', 'SQRT1_2', 'SQRT2'];\n var i;\n var len = propertyNames.length;\n\n for (i = 0; i < len; i += 1) {\n BMMath[propertyNames[i]] = Math[propertyNames[i]];\n }\n })();\n\n function ProjectInterface$1() {\n return {};\n }\n\n BMMath.random = Math.random;\n\n BMMath.abs = function (val) {\n var tOfVal = _typeof$6(val);\n\n if (tOfVal === 'object' && val.length) {\n var absArr = createSizedArray(val.length);\n var i;\n var len = val.length;\n\n for (i = 0; i < len; i += 1) {\n absArr[i] = Math.abs(val[i]);\n }\n\n return absArr;\n }\n\n return Math.abs(val);\n };\n\n var defaultCurveSegments = 150;\n var degToRads = Math.PI / 180;\n var roundCorner = 0.5519;\n\n function roundValues(flag) {\n _shouldRoundValues = !!flag;\n }\n\n function bmRnd(value) {\n if (_shouldRoundValues) {\n return Math.round(value);\n }\n\n return value;\n }\n\n function styleDiv(element) {\n element.style.position = 'absolute';\n element.style.top = 0;\n element.style.left = 0;\n element.style.display = 'block';\n element.style.transformOrigin = '0 0';\n element.style.webkitTransformOrigin = '0 0';\n element.style.backfaceVisibility = 'visible';\n element.style.webkitBackfaceVisibility = 'visible';\n element.style.transformStyle = 'preserve-3d';\n element.style.webkitTransformStyle = 'preserve-3d';\n element.style.mozTransformStyle = 'preserve-3d';\n }\n\n function BMEnterFrameEvent(type, currentTime, totalTime, frameMultiplier) {\n this.type = type;\n this.currentTime = currentTime;\n this.totalTime = totalTime;\n this.direction = frameMultiplier < 0 ? -1 : 1;\n }\n\n function BMCompleteEvent(type, frameMultiplier) {\n this.type = type;\n this.direction = frameMultiplier < 0 ? -1 : 1;\n }\n\n function BMCompleteLoopEvent(type, totalLoops, currentLoop, frameMultiplier) {\n this.type = type;\n this.currentLoop = currentLoop;\n this.totalLoops = totalLoops;\n this.direction = frameMultiplier < 0 ? -1 : 1;\n }\n\n function BMSegmentStartEvent(type, firstFrame, totalFrames) {\n this.type = type;\n this.firstFrame = firstFrame;\n this.totalFrames = totalFrames;\n }\n\n function BMDestroyEvent(type, target) {\n this.type = type;\n this.target = target;\n }\n\n function BMRenderFrameErrorEvent(nativeError, currentTime) {\n this.type = 'renderFrameError';\n this.nativeError = nativeError;\n this.currentTime = currentTime;\n }\n\n function BMConfigErrorEvent(nativeError) {\n this.type = 'configError';\n this.nativeError = nativeError;\n }\n\n function BMAnimationConfigErrorEvent(type, nativeError) {\n this.type = type;\n this.nativeError = nativeError;\n }\n\n var createElementID = function () {\n var _count = 0;\n return function createID() {\n _count += 1;\n return idPrefix$1 + '__lottie_element_' + _count;\n };\n }();\n\n function HSVtoRGB(h, s, v) {\n var r;\n var g;\n var b;\n var i;\n var f;\n var p;\n var q;\n var t;\n i = Math.floor(h * 6);\n f = h * 6 - i;\n p = v * (1 - s);\n q = v * (1 - f * s);\n t = v * (1 - (1 - f) * s);\n\n switch (i % 6) {\n case 0:\n r = v;\n g = t;\n b = p;\n break;\n\n case 1:\n r = q;\n g = v;\n b = p;\n break;\n\n case 2:\n r = p;\n g = v;\n b = t;\n break;\n\n case 3:\n r = p;\n g = q;\n b = v;\n break;\n\n case 4:\n r = t;\n g = p;\n b = v;\n break;\n\n case 5:\n r = v;\n g = p;\n b = q;\n break;\n\n default:\n break;\n }\n\n return [r, g, b];\n }\n\n function RGBtoHSV(r, g, b) {\n var max = Math.max(r, g, b);\n var min = Math.min(r, g, b);\n var d = max - min;\n var h;\n var s = max === 0 ? 0 : d / max;\n var v = max / 255;\n\n switch (max) {\n case min:\n h = 0;\n break;\n\n case r:\n h = g - b + d * (g < b ? 6 : 0);\n h /= 6 * d;\n break;\n\n case g:\n h = b - r + d * 2;\n h /= 6 * d;\n break;\n\n case b:\n h = r - g + d * 4;\n h /= 6 * d;\n break;\n\n default:\n break;\n }\n\n return [h, s, v];\n }\n\n function addSaturationToRGB(color, offset) {\n var hsv = RGBtoHSV(color[0] * 255, color[1] * 255, color[2] * 255);\n hsv[1] += offset;\n\n if (hsv[1] > 1) {\n hsv[1] = 1;\n } else if (hsv[1] <= 0) {\n hsv[1] = 0;\n }\n\n return HSVtoRGB(hsv[0], hsv[1], hsv[2]);\n }\n\n function addBrightnessToRGB(color, offset) {\n var hsv = RGBtoHSV(color[0] * 255, color[1] * 255, color[2] * 255);\n hsv[2] += offset;\n\n if (hsv[2] > 1) {\n hsv[2] = 1;\n } else if (hsv[2] < 0) {\n hsv[2] = 0;\n }\n\n return HSVtoRGB(hsv[0], hsv[1], hsv[2]);\n }\n\n function addHueToRGB(color, offset) {\n var hsv = RGBtoHSV(color[0] * 255, color[1] * 255, color[2] * 255);\n hsv[0] += offset / 360;\n\n if (hsv[0] > 1) {\n hsv[0] -= 1;\n } else if (hsv[0] < 0) {\n hsv[0] += 1;\n }\n\n return HSVtoRGB(hsv[0], hsv[1], hsv[2]);\n }\n\n var rgbToHex = function () {\n var colorMap = [];\n var i;\n var hex;\n\n for (i = 0; i < 256; i += 1) {\n hex = i.toString(16);\n colorMap[i] = hex.length === 1 ? '0' + hex : hex;\n }\n\n return function (r, g, b) {\n if (r < 0) {\n r = 0;\n }\n\n if (g < 0) {\n g = 0;\n }\n\n if (b < 0) {\n b = 0;\n }\n\n return '#' + colorMap[r] + colorMap[g] + colorMap[b];\n };\n }();\n\n var setSubframeEnabled = function setSubframeEnabled(flag) {\n subframeEnabled = !!flag;\n };\n\n var getSubframeEnabled = function getSubframeEnabled() {\n return subframeEnabled;\n };\n\n var setExpressionsPlugin = function setExpressionsPlugin(value) {\n expressionsPlugin = value;\n };\n\n var getExpressionsPlugin = function getExpressionsPlugin() {\n return expressionsPlugin;\n };\n\n var setExpressionInterfaces = function setExpressionInterfaces(value) {\n expressionsInterfaces = value;\n };\n\n var getExpressionInterfaces = function getExpressionInterfaces() {\n return expressionsInterfaces;\n };\n\n var setDefaultCurveSegments = function setDefaultCurveSegments(value) {\n defaultCurveSegments = value;\n };\n\n var getDefaultCurveSegments = function getDefaultCurveSegments() {\n return defaultCurveSegments;\n };\n\n var setIdPrefix = function setIdPrefix(value) {\n idPrefix$1 = value;\n };\n\n var getIdPrefix = function getIdPrefix() {\n return idPrefix$1;\n };\n\n function createNS(type) {\n // return {appendChild:function(){},setAttribute:function(){},style:{}}\n return document.createElementNS(svgNS, type);\n }\n\n function _typeof$5(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof$5 = function _typeof(obj) { return typeof obj; }; } else { _typeof$5 = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof$5(obj); }\n\n var dataManager = function () {\n var _counterId = 1;\n var processes = [];\n var workerFn;\n var workerInstance;\n var workerProxy = {\n onmessage: function onmessage() {},\n postMessage: function postMessage(path) {\n workerFn({\n data: path\n });\n }\n };\n var _workerSelf = {\n postMessage: function postMessage(data) {\n workerProxy.onmessage({\n data: data\n });\n }\n };\n\n function createWorker(fn) {\n if (window.Worker && window.Blob && getWebWorker()) {\n var blob = new Blob(['var _workerSelf = self; self.onmessage = ', fn.toString()], {\n type: 'text/javascript'\n }); // var blob = new Blob(['self.onmessage = ', fn.toString()], { type: 'text/javascript' });\n\n var url = URL.createObjectURL(blob);\n return new Worker(url);\n }\n\n workerFn = fn;\n return workerProxy;\n }\n\n function setupWorker() {\n if (!workerInstance) {\n workerInstance = createWorker(function workerStart(e) {\n function dataFunctionManager() {\n function completeLayers(layers, comps) {\n var layerData;\n var i;\n var len = layers.length;\n var j;\n var jLen;\n var k;\n var kLen;\n\n for (i = 0; i < len; i += 1) {\n layerData = layers[i];\n\n if ('ks' in layerData && !layerData.completed) {\n layerData.completed = true;\n\n if (layerData.hasMask) {\n var maskProps = layerData.masksProperties;\n jLen = maskProps.length;\n\n for (j = 0; j < jLen; j += 1) {\n if (maskProps[j].pt.k.i) {\n convertPathsToAbsoluteValues(maskProps[j].pt.k);\n } else {\n kLen = maskProps[j].pt.k.length;\n\n for (k = 0; k < kLen; k += 1) {\n if (maskProps[j].pt.k[k].s) {\n convertPathsToAbsoluteValues(maskProps[j].pt.k[k].s[0]);\n }\n\n if (maskProps[j].pt.k[k].e) {\n convertPathsToAbsoluteValues(maskProps[j].pt.k[k].e[0]);\n }\n }\n }\n }\n }\n\n if (layerData.ty === 0) {\n layerData.layers = findCompLayers(layerData.refId, comps);\n completeLayers(layerData.layers, comps);\n } else if (layerData.ty === 4) {\n completeShapes(layerData.shapes);\n } else if (layerData.ty === 5) {\n completeText(layerData);\n }\n }\n }\n }\n\n function completeChars(chars, assets) {\n if (chars) {\n var i = 0;\n var len = chars.length;\n\n for (i = 0; i < len; i += 1) {\n if (chars[i].t === 1) {\n // var compData = findComp(chars[i].data.refId, assets);\n chars[i].data.layers = findCompLayers(chars[i].data.refId, assets); // chars[i].data.ip = 0;\n // chars[i].data.op = 99999;\n // chars[i].data.st = 0;\n // chars[i].data.sr = 1;\n // chars[i].w = compData.w;\n // chars[i].data.ks = {\n // a: { k: [0, 0, 0], a: 0 },\n // p: { k: [0, -compData.h, 0], a: 0 },\n // r: { k: 0, a: 0 },\n // s: { k: [100, 100], a: 0 },\n // o: { k: 100, a: 0 },\n // };\n\n completeLayers(chars[i].data.layers, assets);\n }\n }\n }\n }\n\n function findComp(id, comps) {\n var i = 0;\n var len = comps.length;\n\n while (i < len) {\n if (comps[i].id === id) {\n return comps[i];\n }\n\n i += 1;\n }\n\n return null;\n }\n\n function findCompLayers(id, comps) {\n var comp = findComp(id, comps);\n\n if (comp) {\n if (!comp.layers.__used) {\n comp.layers.__used = true;\n return comp.layers;\n }\n\n return JSON.parse(JSON.stringify(comp.layers));\n }\n\n return null;\n }\n\n function completeShapes(arr) {\n var i;\n var len = arr.length;\n var j;\n var jLen;\n\n for (i = len - 1; i >= 0; i -= 1) {\n if (arr[i].ty === 'sh') {\n if (arr[i].ks.k.i) {\n convertPathsToAbsoluteValues(arr[i].ks.k);\n } else {\n jLen = arr[i].ks.k.length;\n\n for (j = 0; j < jLen; j += 1) {\n if (arr[i].ks.k[j].s) {\n convertPathsToAbsoluteValues(arr[i].ks.k[j].s[0]);\n }\n\n if (arr[i].ks.k[j].e) {\n convertPathsToAbsoluteValues(arr[i].ks.k[j].e[0]);\n }\n }\n }\n } else if (arr[i].ty === 'gr') {\n completeShapes(arr[i].it);\n }\n }\n }\n\n function convertPathsToAbsoluteValues(path) {\n var i;\n var len = path.i.length;\n\n for (i = 0; i < len; i += 1) {\n path.i[i][0] += path.v[i][0];\n path.i[i][1] += path.v[i][1];\n path.o[i][0] += path.v[i][0];\n path.o[i][1] += path.v[i][1];\n }\n }\n\n function checkVersion(minimum, animVersionString) {\n var animVersion = animVersionString ? animVersionString.split('.') : [100, 100, 100];\n\n if (minimum[0] > animVersion[0]) {\n return true;\n }\n\n if (animVersion[0] > minimum[0]) {\n return false;\n }\n\n if (minimum[1] > animVersion[1]) {\n return true;\n }\n\n if (animVersion[1] > minimum[1]) {\n return false;\n }\n\n if (minimum[2] > animVersion[2]) {\n return true;\n }\n\n if (animVersion[2] > minimum[2]) {\n return false;\n }\n\n return null;\n }\n\n var checkText = function () {\n var minimumVersion = [4, 4, 14];\n\n function updateTextLayer(textLayer) {\n var documentData = textLayer.t.d;\n textLayer.t.d = {\n k: [{\n s: documentData,\n t: 0\n }]\n };\n }\n\n function iterateLayers(layers) {\n var i;\n var len = layers.length;\n\n for (i = 0; i < len; i += 1) {\n if (layers[i].ty === 5) {\n updateTextLayer(layers[i]);\n }\n }\n }\n\n return function (animationData) {\n if (checkVersion(minimumVersion, animationData.v)) {\n iterateLayers(animationData.layers);\n\n if (animationData.assets) {\n var i;\n var len = animationData.assets.length;\n\n for (i = 0; i < len; i += 1) {\n if (animationData.assets[i].layers) {\n iterateLayers(animationData.assets[i].layers);\n }\n }\n }\n }\n };\n }();\n\n var checkChars = function () {\n var minimumVersion = [4, 7, 99];\n return function (animationData) {\n if (animationData.chars && !checkVersion(minimumVersion, animationData.v)) {\n var i;\n var len = animationData.chars.length;\n\n for (i = 0; i < len; i += 1) {\n var charData = animationData.chars[i];\n\n if (charData.data && charData.data.shapes) {\n completeShapes(charData.data.shapes);\n charData.data.ip = 0;\n charData.data.op = 99999;\n charData.data.st = 0;\n charData.data.sr = 1;\n charData.data.ks = {\n p: {\n k: [0, 0],\n a: 0\n },\n s: {\n k: [100, 100],\n a: 0\n },\n a: {\n k: [0, 0],\n a: 0\n },\n r: {\n k: 0,\n a: 0\n },\n o: {\n k: 100,\n a: 0\n }\n };\n\n if (!animationData.chars[i].t) {\n charData.data.shapes.push({\n ty: 'no'\n });\n charData.data.shapes[0].it.push({\n p: {\n k: [0, 0],\n a: 0\n },\n s: {\n k: [100, 100],\n a: 0\n },\n a: {\n k: [0, 0],\n a: 0\n },\n r: {\n k: 0,\n a: 0\n },\n o: {\n k: 100,\n a: 0\n },\n sk: {\n k: 0,\n a: 0\n },\n sa: {\n k: 0,\n a: 0\n },\n ty: 'tr'\n });\n }\n }\n }\n }\n };\n }();\n\n var checkPathProperties = function () {\n var minimumVersion = [5, 7, 15];\n\n function updateTextLayer(textLayer) {\n var pathData = textLayer.t.p;\n\n if (typeof pathData.a === 'number') {\n pathData.a = {\n a: 0,\n k: pathData.a\n };\n }\n\n if (typeof pathData.p === 'number') {\n pathData.p = {\n a: 0,\n k: pathData.p\n };\n }\n\n if (typeof pathData.r === 'number') {\n pathData.r = {\n a: 0,\n k: pathData.r\n };\n }\n }\n\n function iterateLayers(layers) {\n var i;\n var len = layers.length;\n\n for (i = 0; i < len; i += 1) {\n if (layers[i].ty === 5) {\n updateTextLayer(layers[i]);\n }\n }\n }\n\n return function (animationData) {\n if (checkVersion(minimumVersion, animationData.v)) {\n iterateLayers(animationData.layers);\n\n if (animationData.assets) {\n var i;\n var len = animationData.assets.length;\n\n for (i = 0; i < len; i += 1) {\n if (animationData.assets[i].layers) {\n iterateLayers(animationData.assets[i].layers);\n }\n }\n }\n }\n };\n }();\n\n var checkColors = function () {\n var minimumVersion = [4, 1, 9];\n\n function iterateShapes(shapes) {\n var i;\n var len = shapes.length;\n var j;\n var jLen;\n\n for (i = 0; i < len; i += 1) {\n if (shapes[i].ty === 'gr') {\n iterateShapes(shapes[i].it);\n } else if (shapes[i].ty === 'fl' || shapes[i].ty === 'st') {\n if (shapes[i].c.k && shapes[i].c.k[0].i) {\n jLen = shapes[i].c.k.length;\n\n for (j = 0; j < jLen; j += 1) {\n if (shapes[i].c.k[j].s) {\n shapes[i].c.k[j].s[0] /= 255;\n shapes[i].c.k[j].s[1] /= 255;\n shapes[i].c.k[j].s[2] /= 255;\n shapes[i].c.k[j].s[3] /= 255;\n }\n\n if (shapes[i].c.k[j].e) {\n shapes[i].c.k[j].e[0] /= 255;\n shapes[i].c.k[j].e[1] /= 255;\n shapes[i].c.k[j].e[2] /= 255;\n shapes[i].c.k[j].e[3] /= 255;\n }\n }\n } else {\n shapes[i].c.k[0] /= 255;\n shapes[i].c.k[1] /= 255;\n shapes[i].c.k[2] /= 255;\n shapes[i].c.k[3] /= 255;\n }\n }\n }\n }\n\n function iterateLayers(layers) {\n var i;\n var len = layers.length;\n\n for (i = 0; i < len; i += 1) {\n if (layers[i].ty === 4) {\n iterateShapes(layers[i].shapes);\n }\n }\n }\n\n return function (animationData) {\n if (checkVersion(minimumVersion, animationData.v)) {\n iterateLayers(animationData.layers);\n\n if (animationData.assets) {\n var i;\n var len = animationData.assets.length;\n\n for (i = 0; i < len; i += 1) {\n if (animationData.assets[i].layers) {\n iterateLayers(animationData.assets[i].layers);\n }\n }\n }\n }\n };\n }();\n\n var checkShapes = function () {\n var minimumVersion = [4, 4, 18];\n\n function completeClosingShapes(arr) {\n var i;\n var len = arr.length;\n var j;\n var jLen;\n\n for (i = len - 1; i >= 0; i -= 1) {\n if (arr[i].ty === 'sh') {\n if (arr[i].ks.k.i) {\n arr[i].ks.k.c = arr[i].closed;\n } else {\n jLen = arr[i].ks.k.length;\n\n for (j = 0; j < jLen; j += 1) {\n if (arr[i].ks.k[j].s) {\n arr[i].ks.k[j].s[0].c = arr[i].closed;\n }\n\n if (arr[i].ks.k[j].e) {\n arr[i].ks.k[j].e[0].c = arr[i].closed;\n }\n }\n }\n } else if (arr[i].ty === 'gr') {\n completeClosingShapes(arr[i].it);\n }\n }\n }\n\n function iterateLayers(layers) {\n var layerData;\n var i;\n var len = layers.length;\n var j;\n var jLen;\n var k;\n var kLen;\n\n for (i = 0; i < len; i += 1) {\n layerData = layers[i];\n\n if (layerData.hasMask) {\n var maskProps = layerData.masksProperties;\n jLen = maskProps.length;\n\n for (j = 0; j < jLen; j += 1) {\n if (maskProps[j].pt.k.i) {\n maskProps[j].pt.k.c = maskProps[j].cl;\n } else {\n kLen = maskProps[j].pt.k.length;\n\n for (k = 0; k < kLen; k += 1) {\n if (maskProps[j].pt.k[k].s) {\n maskProps[j].pt.k[k].s[0].c = maskProps[j].cl;\n }\n\n if (maskProps[j].pt.k[k].e) {\n maskProps[j].pt.k[k].e[0].c = maskProps[j].cl;\n }\n }\n }\n }\n }\n\n if (layerData.ty === 4) {\n completeClosingShapes(layerData.shapes);\n }\n }\n }\n\n return function (animationData) {\n if (checkVersion(minimumVersion, animationData.v)) {\n iterateLayers(animationData.layers);\n\n if (animationData.assets) {\n var i;\n var len = animationData.assets.length;\n\n for (i = 0; i < len; i += 1) {\n if (animationData.assets[i].layers) {\n iterateLayers(animationData.assets[i].layers);\n }\n }\n }\n }\n };\n }();\n\n function completeData(animationData) {\n if (animationData.__complete) {\n return;\n }\n\n checkColors(animationData);\n checkText(animationData);\n checkChars(animationData);\n checkPathProperties(animationData);\n checkShapes(animationData);\n completeLayers(animationData.layers, animationData.assets);\n completeChars(animationData.chars, animationData.assets);\n animationData.__complete = true;\n }\n\n function completeText(data) {\n if (data.t.a.length === 0 && !('m' in data.t.p)) {// data.singleShape = true;\n }\n }\n\n var moduleOb = {};\n moduleOb.completeData = completeData;\n moduleOb.checkColors = checkColors;\n moduleOb.checkChars = checkChars;\n moduleOb.checkPathProperties = checkPathProperties;\n moduleOb.checkShapes = checkShapes;\n moduleOb.completeLayers = completeLayers;\n return moduleOb;\n }\n\n if (!_workerSelf.dataManager) {\n _workerSelf.dataManager = dataFunctionManager();\n }\n\n if (!_workerSelf.assetLoader) {\n _workerSelf.assetLoader = function () {\n function formatResponse(xhr) {\n // using typeof doubles the time of execution of this method,\n // so if available, it's better to use the header to validate the type\n var contentTypeHeader = xhr.getResponseHeader('content-type');\n\n if (contentTypeHeader && xhr.responseType === 'json' && contentTypeHeader.indexOf('json') !== -1) {\n return xhr.response;\n }\n\n if (xhr.response && _typeof$5(xhr.response) === 'object') {\n return xhr.response;\n }\n\n if (xhr.response && typeof xhr.response === 'string') {\n return JSON.parse(xhr.response);\n }\n\n if (xhr.responseText) {\n return JSON.parse(xhr.responseText);\n }\n\n return null;\n }\n\n function loadAsset(path, fullPath, callback, errorCallback) {\n var response;\n var xhr = new XMLHttpRequest(); // set responseType after calling open or IE will break.\n\n try {\n // This crashes on Android WebView prior to KitKat\n xhr.responseType = 'json';\n } catch (err) {} // eslint-disable-line no-empty\n\n\n xhr.onreadystatechange = function () {\n if (xhr.readyState === 4) {\n if (xhr.status === 200) {\n response = formatResponse(xhr);\n callback(response);\n } else {\n try {\n response = formatResponse(xhr);\n callback(response);\n } catch (err) {\n if (errorCallback) {\n errorCallback(err);\n }\n }\n }\n }\n };\n\n try {\n // Hack to workaround banner validation\n xhr.open(['G', 'E', 'T'].join(''), path, true);\n } catch (error) {\n // Hack to workaround banner validation\n xhr.open(['G', 'E', 'T'].join(''), fullPath + '/' + path, true);\n }\n\n xhr.send();\n }\n\n return {\n load: loadAsset\n };\n }();\n }\n\n if (e.data.type === 'loadAnimation') {\n _workerSelf.assetLoader.load(e.data.path, e.data.fullPath, function (data) {\n _workerSelf.dataManager.completeData(data);\n\n _workerSelf.postMessage({\n id: e.data.id,\n payload: data,\n status: 'success'\n });\n }, function () {\n _workerSelf.postMessage({\n id: e.data.id,\n status: 'error'\n });\n });\n } else if (e.data.type === 'complete') {\n var animation = e.data.animation;\n\n _workerSelf.dataManager.completeData(animation);\n\n _workerSelf.postMessage({\n id: e.data.id,\n payload: animation,\n status: 'success'\n });\n } else if (e.data.type === 'loadData') {\n _workerSelf.assetLoader.load(e.data.path, e.data.fullPath, function (data) {\n _workerSelf.postMessage({\n id: e.data.id,\n payload: data,\n status: 'success'\n });\n }, function () {\n _workerSelf.postMessage({\n id: e.data.id,\n status: 'error'\n });\n });\n }\n });\n\n workerInstance.onmessage = function (event) {\n var data = event.data;\n var id = data.id;\n var process = processes[id];\n processes[id] = null;\n\n if (data.status === 'success') {\n process.onComplete(data.payload);\n } else if (process.onError) {\n process.onError();\n }\n };\n }\n }\n\n function createProcess(onComplete, onError) {\n _counterId += 1;\n var id = 'processId_' + _counterId;\n processes[id] = {\n onComplete: onComplete,\n onError: onError\n };\n return id;\n }\n\n function loadAnimation(path, onComplete, onError) {\n setupWorker();\n var processId = createProcess(onComplete, onError);\n workerInstance.postMessage({\n type: 'loadAnimation',\n path: path,\n fullPath: window.location.origin + window.location.pathname,\n id: processId\n });\n }\n\n function loadData(path, onComplete, onError) {\n setupWorker();\n var processId = createProcess(onComplete, onError);\n workerInstance.postMessage({\n type: 'loadData',\n path: path,\n fullPath: window.location.origin + window.location.pathname,\n id: processId\n });\n }\n\n function completeAnimation(anim, onComplete, onError) {\n setupWorker();\n var processId = createProcess(onComplete, onError);\n workerInstance.postMessage({\n type: 'complete',\n animation: anim,\n id: processId\n });\n }\n\n return {\n loadAnimation: loadAnimation,\n loadData: loadData,\n completeAnimation: completeAnimation\n };\n }();\n\n var ImagePreloader = function () {\n var proxyImage = function () {\n var canvas = createTag('canvas');\n canvas.width = 1;\n canvas.height = 1;\n var ctx = canvas.getContext('2d');\n ctx.fillStyle = 'rgba(0,0,0,0)';\n ctx.fillRect(0, 0, 1, 1);\n return canvas;\n }();\n\n function imageLoaded() {\n this.loadedAssets += 1;\n\n if (this.loadedAssets === this.totalImages && this.loadedFootagesCount === this.totalFootages) {\n if (this.imagesLoadedCb) {\n this.imagesLoadedCb(null);\n }\n }\n }\n\n function footageLoaded() {\n this.loadedFootagesCount += 1;\n\n if (this.loadedAssets === this.totalImages && this.loadedFootagesCount === this.totalFootages) {\n if (this.imagesLoadedCb) {\n this.imagesLoadedCb(null);\n }\n }\n }\n\n function getAssetsPath(assetData, assetsPath, originalPath) {\n var path = '';\n\n if (assetData.e) {\n path = assetData.p;\n } else if (assetsPath) {\n var imagePath = assetData.p;\n\n if (imagePath.indexOf('images/') !== -1) {\n imagePath = imagePath.split('/')[1];\n }\n\n path = assetsPath + imagePath;\n } else {\n path = originalPath;\n path += assetData.u ? assetData.u : '';\n path += assetData.p;\n }\n\n return path;\n }\n\n function testImageLoaded(img) {\n var _count = 0;\n var intervalId = setInterval(function () {\n var box = img.getBBox();\n\n if (box.width || _count > 500) {\n this._imageLoaded();\n\n clearInterval(intervalId);\n }\n\n _count += 1;\n }.bind(this), 50);\n }\n\n function createImageData(assetData) {\n var path = getAssetsPath(assetData, this.assetsPath, this.path);\n var img = createNS('image');\n\n if (isSafari) {\n this.testImageLoaded(img);\n } else {\n img.addEventListener('load', this._imageLoaded, false);\n }\n\n img.addEventListener('error', function () {\n ob.img = proxyImage;\n\n this._imageLoaded();\n }.bind(this), false);\n img.setAttributeNS('http://www.w3.org/1999/xlink', 'href', path);\n\n if (this._elementHelper.append) {\n this._elementHelper.append(img);\n } else {\n this._elementHelper.appendChild(img);\n }\n\n var ob = {\n img: img,\n assetData: assetData\n };\n return ob;\n }\n\n function createImgData(assetData) {\n var path = getAssetsPath(assetData, this.assetsPath, this.path);\n var img = createTag('img');\n img.crossOrigin = 'anonymous';\n img.addEventListener('load', this._imageLoaded, false);\n img.addEventListener('error', function () {\n ob.img = proxyImage;\n\n this._imageLoaded();\n }.bind(this), false);\n img.src = path;\n var ob = {\n img: img,\n assetData: assetData\n };\n return ob;\n }\n\n function createFootageData(data) {\n var ob = {\n assetData: data\n };\n var path = getAssetsPath(data, this.assetsPath, this.path);\n dataManager.loadData(path, function (footageData) {\n ob.img = footageData;\n\n this._footageLoaded();\n }.bind(this), function () {\n ob.img = {};\n\n this._footageLoaded();\n }.bind(this));\n return ob;\n }\n\n function loadAssets(assets, cb) {\n this.imagesLoadedCb = cb;\n var i;\n var len = assets.length;\n\n for (i = 0; i < len; i += 1) {\n if (!assets[i].layers) {\n if (!assets[i].t || assets[i].t === 'seq') {\n this.totalImages += 1;\n this.images.push(this._createImageData(assets[i]));\n } else if (assets[i].t === 3) {\n this.totalFootages += 1;\n this.images.push(this.createFootageData(assets[i]));\n }\n }\n }\n }\n\n function setPath(path) {\n this.path = path || '';\n }\n\n function setAssetsPath(path) {\n this.assetsPath = path || '';\n }\n\n function getAsset(assetData) {\n var i = 0;\n var len = this.images.length;\n\n while (i < len) {\n if (this.images[i].assetData === assetData) {\n return this.images[i].img;\n }\n\n i += 1;\n }\n\n return null;\n }\n\n function destroy() {\n this.imagesLoadedCb = null;\n this.images.length = 0;\n }\n\n function loadedImages() {\n return this.totalImages === this.loadedAssets;\n }\n\n function loadedFootages() {\n return this.totalFootages === this.loadedFootagesCount;\n }\n\n function setCacheType(type, elementHelper) {\n if (type === 'svg') {\n this._elementHelper = elementHelper;\n this._createImageData = this.createImageData.bind(this);\n } else {\n this._createImageData = this.createImgData.bind(this);\n }\n }\n\n function ImagePreloaderFactory() {\n this._imageLoaded = imageLoaded.bind(this);\n this._footageLoaded = footageLoaded.bind(this);\n this.testImageLoaded = testImageLoaded.bind(this);\n this.createFootageData = createFootageData.bind(this);\n this.assetsPath = '';\n this.path = '';\n this.totalImages = 0;\n this.totalFootages = 0;\n this.loadedAssets = 0;\n this.loadedFootagesCount = 0;\n this.imagesLoadedCb = null;\n this.images = [];\n }\n\n ImagePreloaderFactory.prototype = {\n loadAssets: loadAssets,\n setAssetsPath: setAssetsPath,\n setPath: setPath,\n loadedImages: loadedImages,\n loadedFootages: loadedFootages,\n destroy: destroy,\n getAsset: getAsset,\n createImgData: createImgData,\n createImageData: createImageData,\n imageLoaded: imageLoaded,\n footageLoaded: footageLoaded,\n setCacheType: setCacheType\n };\n return ImagePreloaderFactory;\n }();\n\n function BaseEvent() {}\n\n BaseEvent.prototype = {\n triggerEvent: function triggerEvent(eventName, args) {\n if (this._cbs[eventName]) {\n var callbacks = this._cbs[eventName];\n\n for (var i = 0; i < callbacks.length; i += 1) {\n callbacks[i](args);\n }\n }\n },\n addEventListener: function addEventListener(eventName, callback) {\n if (!this._cbs[eventName]) {\n this._cbs[eventName] = [];\n }\n\n this._cbs[eventName].push(callback);\n\n return function () {\n this.removeEventListener(eventName, callback);\n }.bind(this);\n },\n removeEventListener: function removeEventListener(eventName, callback) {\n if (!callback) {\n this._cbs[eventName] = null;\n } else if (this._cbs[eventName]) {\n var i = 0;\n var len = this._cbs[eventName].length;\n\n while (i < len) {\n if (this._cbs[eventName][i] === callback) {\n this._cbs[eventName].splice(i, 1);\n\n i -= 1;\n len -= 1;\n }\n\n i += 1;\n }\n\n if (!this._cbs[eventName].length) {\n this._cbs[eventName] = null;\n }\n }\n }\n };\n\n var markerParser = function () {\n function parsePayloadLines(payload) {\n var lines = payload.split('\\r\\n');\n var keys = {};\n var line;\n var keysCount = 0;\n\n for (var i = 0; i < lines.length; i += 1) {\n line = lines[i].split(':');\n\n if (line.length === 2) {\n keys[line[0]] = line[1].trim();\n keysCount += 1;\n }\n }\n\n if (keysCount === 0) {\n throw new Error();\n }\n\n return keys;\n }\n\n return function (_markers) {\n var markers = [];\n\n for (var i = 0; i < _markers.length; i += 1) {\n var _marker = _markers[i];\n var markerData = {\n time: _marker.tm,\n duration: _marker.dr\n };\n\n try {\n markerData.payload = JSON.parse(_markers[i].cm);\n } catch (_) {\n try {\n markerData.payload = parsePayloadLines(_markers[i].cm);\n } catch (__) {\n markerData.payload = {\n name: _markers[i].cm\n };\n }\n }\n\n markers.push(markerData);\n }\n\n return markers;\n };\n }();\n\n var ProjectInterface = function () {\n function registerComposition(comp) {\n this.compositions.push(comp);\n }\n\n return function () {\n function _thisProjectFunction(name) {\n var i = 0;\n var len = this.compositions.length;\n\n while (i < len) {\n if (this.compositions[i].data && this.compositions[i].data.nm === name) {\n if (this.compositions[i].prepareFrame && this.compositions[i].data.xt) {\n this.compositions[i].prepareFrame(this.currentFrame);\n }\n\n return this.compositions[i].compInterface;\n }\n\n i += 1;\n }\n\n return null;\n }\n\n _thisProjectFunction.compositions = [];\n _thisProjectFunction.currentFrame = 0;\n _thisProjectFunction.registerComposition = registerComposition;\n return _thisProjectFunction;\n };\n }();\n\n var renderers = {};\n\n var registerRenderer = function registerRenderer(key, value) {\n renderers[key] = value;\n };\n\n function getRenderer(key) {\n return renderers[key];\n }\n\n function getRegisteredRenderer() {\n // Returns canvas by default for compatibility\n if (renderers.canvas) {\n return 'canvas';\n } // Returns any renderer that is registered\n\n\n for (var key in renderers) {\n if (renderers[key]) {\n return key;\n }\n }\n\n return '';\n }\n\n function _typeof$4(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof$4 = function _typeof(obj) { return typeof obj; }; } else { _typeof$4 = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof$4(obj); }\n\n var AnimationItem = function AnimationItem() {\n this._cbs = [];\n this.name = '';\n this.path = '';\n this.isLoaded = false;\n this.currentFrame = 0;\n this.currentRawFrame = 0;\n this.firstFrame = 0;\n this.totalFrames = 0;\n this.frameRate = 0;\n this.frameMult = 0;\n this.playSpeed = 1;\n this.playDirection = 1;\n this.playCount = 0;\n this.animationData = {};\n this.assets = [];\n this.isPaused = true;\n this.autoplay = false;\n this.loop = true;\n this.renderer = null;\n this.animationID = createElementID();\n this.assetsPath = '';\n this.timeCompleted = 0;\n this.segmentPos = 0;\n this.isSubframeEnabled = getSubframeEnabled();\n this.segments = [];\n this._idle = true;\n this._completedLoop = false;\n this.projectInterface = ProjectInterface();\n this.imagePreloader = new ImagePreloader();\n this.audioController = audioControllerFactory();\n this.markers = [];\n this.configAnimation = this.configAnimation.bind(this);\n this.onSetupError = this.onSetupError.bind(this);\n this.onSegmentComplete = this.onSegmentComplete.bind(this);\n this.drawnFrameEvent = new BMEnterFrameEvent('drawnFrame', 0, 0, 0);\n this.expressionsPlugin = getExpressionsPlugin();\n };\n\n extendPrototype([BaseEvent], AnimationItem);\n\n AnimationItem.prototype.setParams = function (params) {\n if (params.wrapper || params.container) {\n this.wrapper = params.wrapper || params.container;\n }\n\n var animType = 'svg';\n\n if (params.animType) {\n animType = params.animType;\n } else if (params.renderer) {\n animType = params.renderer;\n }\n\n var RendererClass = getRenderer(animType);\n this.renderer = new RendererClass(this, params.rendererSettings);\n this.imagePreloader.setCacheType(animType, this.renderer.globalData.defs);\n this.renderer.setProjectInterface(this.projectInterface);\n this.animType = animType;\n\n if (params.loop === '' || params.loop === null || params.loop === undefined || params.loop === true) {\n this.loop = true;\n } else if (params.loop === false) {\n this.loop = false;\n } else {\n this.loop = parseInt(params.loop, 10);\n }\n\n this.autoplay = 'autoplay' in params ? params.autoplay : true;\n this.name = params.name ? params.name : '';\n this.autoloadSegments = Object.prototype.hasOwnProperty.call(params, 'autoloadSegments') ? params.autoloadSegments : true;\n this.assetsPath = params.assetsPath;\n this.initialSegment = params.initialSegment;\n\n if (params.audioFactory) {\n this.audioController.setAudioFactory(params.audioFactory);\n }\n\n if (params.animationData) {\n this.setupAnimation(params.animationData);\n } else if (params.path) {\n if (params.path.lastIndexOf('\\\\') !== -1) {\n this.path = params.path.substr(0, params.path.lastIndexOf('\\\\') + 1);\n } else {\n this.path = params.path.substr(0, params.path.lastIndexOf('/') + 1);\n }\n\n this.fileName = params.path.substr(params.path.lastIndexOf('/') + 1);\n this.fileName = this.fileName.substr(0, this.fileName.lastIndexOf('.json'));\n dataManager.loadAnimation(params.path, this.configAnimation, this.onSetupError);\n }\n };\n\n AnimationItem.prototype.onSetupError = function () {\n this.trigger('data_failed');\n };\n\n AnimationItem.prototype.setupAnimation = function (data) {\n dataManager.completeAnimation(data, this.configAnimation);\n };\n\n AnimationItem.prototype.setData = function (wrapper, animationData) {\n if (animationData) {\n if (_typeof$4(animationData) !== 'object') {\n animationData = JSON.parse(animationData);\n }\n }\n\n var params = {\n wrapper: wrapper,\n animationData: animationData\n };\n var wrapperAttributes = wrapper.attributes;\n params.path = wrapperAttributes.getNamedItem('data-animation-path') // eslint-disable-line no-nested-ternary\n ? wrapperAttributes.getNamedItem('data-animation-path').value : wrapperAttributes.getNamedItem('data-bm-path') // eslint-disable-line no-nested-ternary\n ? wrapperAttributes.getNamedItem('data-bm-path').value : wrapperAttributes.getNamedItem('bm-path') ? wrapperAttributes.getNamedItem('bm-path').value : '';\n params.animType = wrapperAttributes.getNamedItem('data-anim-type') // eslint-disable-line no-nested-ternary\n ? wrapperAttributes.getNamedItem('data-anim-type').value : wrapperAttributes.getNamedItem('data-bm-type') // eslint-disable-line no-nested-ternary\n ? wrapperAttributes.getNamedItem('data-bm-type').value : wrapperAttributes.getNamedItem('bm-type') // eslint-disable-line no-nested-ternary\n ? wrapperAttributes.getNamedItem('bm-type').value : wrapperAttributes.getNamedItem('data-bm-renderer') // eslint-disable-line no-nested-ternary\n ? wrapperAttributes.getNamedItem('data-bm-renderer').value : wrapperAttributes.getNamedItem('bm-renderer') ? wrapperAttributes.getNamedItem('bm-renderer').value : getRegisteredRenderer() || 'canvas';\n var loop = wrapperAttributes.getNamedItem('data-anim-loop') // eslint-disable-line no-nested-ternary\n ? wrapperAttributes.getNamedItem('data-anim-loop').value : wrapperAttributes.getNamedItem('data-bm-loop') // eslint-disable-line no-nested-ternary\n ? wrapperAttributes.getNamedItem('data-bm-loop').value : wrapperAttributes.getNamedItem('bm-loop') ? wrapperAttributes.getNamedItem('bm-loop').value : '';\n\n if (loop === 'false') {\n params.loop = false;\n } else if (loop === 'true') {\n params.loop = true;\n } else if (loop !== '') {\n params.loop = parseInt(loop, 10);\n }\n\n var autoplay = wrapperAttributes.getNamedItem('data-anim-autoplay') // eslint-disable-line no-nested-ternary\n ? wrapperAttributes.getNamedItem('data-anim-autoplay').value : wrapperAttributes.getNamedItem('data-bm-autoplay') // eslint-disable-line no-nested-ternary\n ? wrapperAttributes.getNamedItem('data-bm-autoplay').value : wrapperAttributes.getNamedItem('bm-autoplay') ? wrapperAttributes.getNamedItem('bm-autoplay').value : true;\n params.autoplay = autoplay !== 'false';\n params.name = wrapperAttributes.getNamedItem('data-name') // eslint-disable-line no-nested-ternary\n ? wrapperAttributes.getNamedItem('data-name').value : wrapperAttributes.getNamedItem('data-bm-name') // eslint-disable-line no-nested-ternary\n ? wrapperAttributes.getNamedItem('data-bm-name').value : wrapperAttributes.getNamedItem('bm-name') ? wrapperAttributes.getNamedItem('bm-name').value : '';\n var prerender = wrapperAttributes.getNamedItem('data-anim-prerender') // eslint-disable-line no-nested-ternary\n ? wrapperAttributes.getNamedItem('data-anim-prerender').value : wrapperAttributes.getNamedItem('data-bm-prerender') // eslint-disable-line no-nested-ternary\n ? wrapperAttributes.getNamedItem('data-bm-prerender').value : wrapperAttributes.getNamedItem('bm-prerender') ? wrapperAttributes.getNamedItem('bm-prerender').value : '';\n\n if (prerender === 'false') {\n params.prerender = false;\n }\n\n if (!params.path) {\n this.trigger('destroy');\n } else {\n this.setParams(params);\n }\n };\n\n AnimationItem.prototype.includeLayers = function (data) {\n if (data.op > this.animationData.op) {\n this.animationData.op = data.op;\n this.totalFrames = Math.floor(data.op - this.animationData.ip);\n }\n\n var layers = this.animationData.layers;\n var i;\n var len = layers.length;\n var newLayers = data.layers;\n var j;\n var jLen = newLayers.length;\n\n for (j = 0; j < jLen; j += 1) {\n i = 0;\n\n while (i < len) {\n if (layers[i].id === newLayers[j].id) {\n layers[i] = newLayers[j];\n break;\n }\n\n i += 1;\n }\n }\n\n if (data.chars || data.fonts) {\n this.renderer.globalData.fontManager.addChars(data.chars);\n this.renderer.globalData.fontManager.addFonts(data.fonts, this.renderer.globalData.defs);\n }\n\n if (data.assets) {\n len = data.assets.length;\n\n for (i = 0; i < len; i += 1) {\n this.animationData.assets.push(data.assets[i]);\n }\n }\n\n this.animationData.__complete = false;\n dataManager.completeAnimation(this.animationData, this.onSegmentComplete);\n };\n\n AnimationItem.prototype.onSegmentComplete = function (data) {\n this.animationData = data;\n var expressionsPlugin = getExpressionsPlugin();\n\n if (expressionsPlugin) {\n expressionsPlugin.initExpressions(this);\n }\n\n this.loadNextSegment();\n };\n\n AnimationItem.prototype.loadNextSegment = function () {\n var segments = this.animationData.segments;\n\n if (!segments || segments.length === 0 || !this.autoloadSegments) {\n this.trigger('data_ready');\n this.timeCompleted = this.totalFrames;\n return;\n }\n\n var segment = segments.shift();\n this.timeCompleted = segment.time * this.frameRate;\n var segmentPath = this.path + this.fileName + '_' + this.segmentPos + '.json';\n this.segmentPos += 1;\n dataManager.loadData(segmentPath, this.includeLayers.bind(this), function () {\n this.trigger('data_failed');\n }.bind(this));\n };\n\n AnimationItem.prototype.loadSegments = function () {\n var segments = this.animationData.segments;\n\n if (!segments) {\n this.timeCompleted = this.totalFrames;\n }\n\n this.loadNextSegment();\n };\n\n AnimationItem.prototype.imagesLoaded = function () {\n this.trigger('loaded_images');\n this.checkLoaded();\n };\n\n AnimationItem.prototype.preloadImages = function () {\n this.imagePreloader.setAssetsPath(this.assetsPath);\n this.imagePreloader.setPath(this.path);\n this.imagePreloader.loadAssets(this.animationData.assets, this.imagesLoaded.bind(this));\n };\n\n AnimationItem.prototype.configAnimation = function (animData) {\n if (!this.renderer) {\n return;\n }\n\n try {\n this.animationData = animData;\n\n if (this.initialSegment) {\n this.totalFrames = Math.floor(this.initialSegment[1] - this.initialSegment[0]);\n this.firstFrame = Math.round(this.initialSegment[0]);\n } else {\n this.totalFrames = Math.floor(this.animationData.op - this.animationData.ip);\n this.firstFrame = Math.round(this.animationData.ip);\n }\n\n this.renderer.configAnimation(animData);\n\n if (!animData.assets) {\n animData.assets = [];\n }\n\n this.assets = this.animationData.assets;\n this.frameRate = this.animationData.fr;\n this.frameMult = this.animationData.fr / 1000;\n this.renderer.searchExtraCompositions(animData.assets);\n this.markers = markerParser(animData.markers || []);\n this.trigger('config_ready');\n this.preloadImages();\n this.loadSegments();\n this.updaFrameModifier();\n this.waitForFontsLoaded();\n\n if (this.isPaused) {\n this.audioController.pause();\n }\n } catch (error) {\n this.triggerConfigError(error);\n }\n };\n\n AnimationItem.prototype.waitForFontsLoaded = function () {\n if (!this.renderer) {\n return;\n }\n\n if (this.renderer.globalData.fontManager.isLoaded) {\n this.checkLoaded();\n } else {\n setTimeout(this.waitForFontsLoaded.bind(this), 20);\n }\n };\n\n AnimationItem.prototype.checkLoaded = function () {\n if (!this.isLoaded && this.renderer.globalData.fontManager.isLoaded && (this.imagePreloader.loadedImages() || this.renderer.rendererType !== 'canvas') && this.imagePreloader.loadedFootages()) {\n this.isLoaded = true;\n var expressionsPlugin = getExpressionsPlugin();\n\n if (expressionsPlugin) {\n expressionsPlugin.initExpressions(this);\n }\n\n this.renderer.initItems();\n setTimeout(function () {\n this.trigger('DOMLoaded');\n }.bind(this), 0);\n this.gotoFrame();\n\n if (this.autoplay) {\n this.play();\n }\n }\n };\n\n AnimationItem.prototype.resize = function (width, height) {\n // Adding this validation for backwards compatibility in case an event object was being passed down\n var _width = typeof width === 'number' ? width : undefined;\n\n var _height = typeof height === 'number' ? height : undefined;\n\n this.renderer.updateContainerSize(_width, _height);\n };\n\n AnimationItem.prototype.setSubframe = function (flag) {\n this.isSubframeEnabled = !!flag;\n };\n\n AnimationItem.prototype.gotoFrame = function () {\n this.currentFrame = this.isSubframeEnabled ? this.currentRawFrame : ~~this.currentRawFrame; // eslint-disable-line no-bitwise\n\n if (this.timeCompleted !== this.totalFrames && this.currentFrame > this.timeCompleted) {\n this.currentFrame = this.timeCompleted;\n }\n\n this.trigger('enterFrame');\n this.renderFrame();\n this.trigger('drawnFrame');\n };\n\n AnimationItem.prototype.renderFrame = function () {\n if (this.isLoaded === false || !this.renderer) {\n return;\n }\n\n try {\n if (this.expressionsPlugin) {\n this.expressionsPlugin.resetFrame();\n }\n\n this.renderer.renderFrame(this.currentFrame + this.firstFrame);\n } catch (error) {\n this.triggerRenderFrameError(error);\n }\n };\n\n AnimationItem.prototype.play = function (name) {\n if (name && this.name !== name) {\n return;\n }\n\n if (this.isPaused === true) {\n this.isPaused = false;\n this.trigger('_play');\n this.audioController.resume();\n\n if (this._idle) {\n this._idle = false;\n this.trigger('_active');\n }\n }\n };\n\n AnimationItem.prototype.pause = function (name) {\n if (name && this.name !== name) {\n return;\n }\n\n if (this.isPaused === false) {\n this.isPaused = true;\n this.trigger('_pause');\n this._idle = true;\n this.trigger('_idle');\n this.audioController.pause();\n }\n };\n\n AnimationItem.prototype.togglePause = function (name) {\n if (name && this.name !== name) {\n return;\n }\n\n if (this.isPaused === true) {\n this.play();\n } else {\n this.pause();\n }\n };\n\n AnimationItem.prototype.stop = function (name) {\n if (name && this.name !== name) {\n return;\n }\n\n this.pause();\n this.playCount = 0;\n this._completedLoop = false;\n this.setCurrentRawFrameValue(0);\n };\n\n AnimationItem.prototype.getMarkerData = function (markerName) {\n var marker;\n\n for (var i = 0; i < this.markers.length; i += 1) {\n marker = this.markers[i];\n\n if (marker.payload && marker.payload.name === markerName) {\n return marker;\n }\n }\n\n return null;\n };\n\n AnimationItem.prototype.goToAndStop = function (value, isFrame, name) {\n if (name && this.name !== name) {\n return;\n }\n\n var numValue = Number(value);\n\n if (isNaN(numValue)) {\n var marker = this.getMarkerData(value);\n\n if (marker) {\n this.goToAndStop(marker.time, true);\n }\n } else if (isFrame) {\n this.setCurrentRawFrameValue(value);\n } else {\n this.setCurrentRawFrameValue(value * this.frameModifier);\n }\n\n this.pause();\n };\n\n AnimationItem.prototype.goToAndPlay = function (value, isFrame, name) {\n if (name && this.name !== name) {\n return;\n }\n\n var numValue = Number(value);\n\n if (isNaN(numValue)) {\n var marker = this.getMarkerData(value);\n\n if (marker) {\n if (!marker.duration) {\n this.goToAndStop(marker.time, true);\n } else {\n this.playSegments([marker.time, marker.time + marker.duration], true);\n }\n }\n } else {\n this.goToAndStop(numValue, isFrame, name);\n }\n\n this.play();\n };\n\n AnimationItem.prototype.advanceTime = function (value) {\n if (this.isPaused === true || this.isLoaded === false) {\n return;\n }\n\n var nextValue = this.currentRawFrame + value * this.frameModifier;\n var _isComplete = false; // Checking if nextValue > totalFrames - 1 for addressing non looping and looping animations.\n // If animation won't loop, it should stop at totalFrames - 1. If it will loop it should complete the last frame and then loop.\n\n if (nextValue >= this.totalFrames - 1 && this.frameModifier > 0) {\n if (!this.loop || this.playCount === this.loop) {\n if (!this.checkSegments(nextValue > this.totalFrames ? nextValue % this.totalFrames : 0)) {\n _isComplete = true;\n nextValue = this.totalFrames - 1;\n }\n } else if (nextValue >= this.totalFrames) {\n this.playCount += 1;\n\n if (!this.checkSegments(nextValue % this.totalFrames)) {\n this.setCurrentRawFrameValue(nextValue % this.totalFrames);\n this._completedLoop = true;\n this.trigger('loopComplete');\n }\n } else {\n this.setCurrentRawFrameValue(nextValue);\n }\n } else if (nextValue < 0) {\n if (!this.checkSegments(nextValue % this.totalFrames)) {\n if (this.loop && !(this.playCount-- <= 0 && this.loop !== true)) {\n // eslint-disable-line no-plusplus\n this.setCurrentRawFrameValue(this.totalFrames + nextValue % this.totalFrames);\n\n if (!this._completedLoop) {\n this._completedLoop = true;\n } else {\n this.trigger('loopComplete');\n }\n } else {\n _isComplete = true;\n nextValue = 0;\n }\n }\n } else {\n this.setCurrentRawFrameValue(nextValue);\n }\n\n if (_isComplete) {\n this.setCurrentRawFrameValue(nextValue);\n this.pause();\n this.trigger('complete');\n }\n };\n\n AnimationItem.prototype.adjustSegment = function (arr, offset) {\n this.playCount = 0;\n\n if (arr[1] < arr[0]) {\n if (this.frameModifier > 0) {\n if (this.playSpeed < 0) {\n this.setSpeed(-this.playSpeed);\n } else {\n this.setDirection(-1);\n }\n }\n\n this.totalFrames = arr[0] - arr[1];\n this.timeCompleted = this.totalFrames;\n this.firstFrame = arr[1];\n this.setCurrentRawFrameValue(this.totalFrames - 0.001 - offset);\n } else if (arr[1] > arr[0]) {\n if (this.frameModifier < 0) {\n if (this.playSpeed < 0) {\n this.setSpeed(-this.playSpeed);\n } else {\n this.setDirection(1);\n }\n }\n\n this.totalFrames = arr[1] - arr[0];\n this.timeCompleted = this.totalFrames;\n this.firstFrame = arr[0];\n this.setCurrentRawFrameValue(0.001 + offset);\n }\n\n this.trigger('segmentStart');\n };\n\n AnimationItem.prototype.setSegment = function (init, end) {\n var pendingFrame = -1;\n\n if (this.isPaused) {\n if (this.currentRawFrame + this.firstFrame < init) {\n pendingFrame = init;\n } else if (this.currentRawFrame + this.firstFrame > end) {\n pendingFrame = end - init;\n }\n }\n\n this.firstFrame = init;\n this.totalFrames = end - init;\n this.timeCompleted = this.totalFrames;\n\n if (pendingFrame !== -1) {\n this.goToAndStop(pendingFrame, true);\n }\n };\n\n AnimationItem.prototype.playSegments = function (arr, forceFlag) {\n if (forceFlag) {\n this.segments.length = 0;\n }\n\n if (_typeof$4(arr[0]) === 'object') {\n var i;\n var len = arr.length;\n\n for (i = 0; i < len; i += 1) {\n this.segments.push(arr[i]);\n }\n } else {\n this.segments.push(arr);\n }\n\n if (this.segments.length && forceFlag) {\n this.adjustSegment(this.segments.shift(), 0);\n }\n\n if (this.isPaused) {\n this.play();\n }\n };\n\n AnimationItem.prototype.resetSegments = function (forceFlag) {\n this.segments.length = 0;\n this.segments.push([this.animationData.ip, this.animationData.op]);\n\n if (forceFlag) {\n this.checkSegments(0);\n }\n };\n\n AnimationItem.prototype.checkSegments = function (offset) {\n if (this.segments.length) {\n this.adjustSegment(this.segments.shift(), offset);\n return true;\n }\n\n return false;\n };\n\n AnimationItem.prototype.destroy = function (name) {\n if (name && this.name !== name || !this.renderer) {\n return;\n }\n\n this.renderer.destroy();\n this.imagePreloader.destroy();\n this.trigger('destroy');\n this._cbs = null;\n this.onEnterFrame = null;\n this.onLoopComplete = null;\n this.onComplete = null;\n this.onSegmentStart = null;\n this.onDestroy = null;\n this.renderer = null;\n this.expressionsPlugin = null;\n this.imagePreloader = null;\n this.projectInterface = null;\n };\n\n AnimationItem.prototype.setCurrentRawFrameValue = function (value) {\n this.currentRawFrame = value;\n this.gotoFrame();\n };\n\n AnimationItem.prototype.setSpeed = function (val) {\n this.playSpeed = val;\n this.updaFrameModifier();\n };\n\n AnimationItem.prototype.setDirection = function (val) {\n this.playDirection = val < 0 ? -1 : 1;\n this.updaFrameModifier();\n };\n\n AnimationItem.prototype.setLoop = function (isLooping) {\n this.loop = isLooping;\n };\n\n AnimationItem.prototype.setVolume = function (val, name) {\n if (name && this.name !== name) {\n return;\n }\n\n this.audioController.setVolume(val);\n };\n\n AnimationItem.prototype.getVolume = function () {\n return this.audioController.getVolume();\n };\n\n AnimationItem.prototype.mute = function (name) {\n if (name && this.name !== name) {\n return;\n }\n\n this.audioController.mute();\n };\n\n AnimationItem.prototype.unmute = function (name) {\n if (name && this.name !== name) {\n return;\n }\n\n this.audioController.unmute();\n };\n\n AnimationItem.prototype.updaFrameModifier = function () {\n this.frameModifier = this.frameMult * this.playSpeed * this.playDirection;\n this.audioController.setRate(this.playSpeed * this.playDirection);\n };\n\n AnimationItem.prototype.getPath = function () {\n return this.path;\n };\n\n AnimationItem.prototype.getAssetsPath = function (assetData) {\n var path = '';\n\n if (assetData.e) {\n path = assetData.p;\n } else if (this.assetsPath) {\n var imagePath = assetData.p;\n\n if (imagePath.indexOf('images/') !== -1) {\n imagePath = imagePath.split('/')[1];\n }\n\n path = this.assetsPath + imagePath;\n } else {\n path = this.path;\n path += assetData.u ? assetData.u : '';\n path += assetData.p;\n }\n\n return path;\n };\n\n AnimationItem.prototype.getAssetData = function (id) {\n var i = 0;\n var len = this.assets.length;\n\n while (i < len) {\n if (id === this.assets[i].id) {\n return this.assets[i];\n }\n\n i += 1;\n }\n\n return null;\n };\n\n AnimationItem.prototype.hide = function () {\n this.renderer.hide();\n };\n\n AnimationItem.prototype.show = function () {\n this.renderer.show();\n };\n\n AnimationItem.prototype.getDuration = function (isFrame) {\n return isFrame ? this.totalFrames : this.totalFrames / this.frameRate;\n };\n\n AnimationItem.prototype.updateDocumentData = function (path, documentData, index) {\n try {\n var element = this.renderer.getElementByPath(path);\n element.updateDocumentData(documentData, index);\n } catch (error) {// TODO: decide how to handle catch case\n }\n };\n\n AnimationItem.prototype.trigger = function (name) {\n if (this._cbs && this._cbs[name]) {\n switch (name) {\n case 'enterFrame':\n this.triggerEvent(name, new BMEnterFrameEvent(name, this.currentFrame, this.totalFrames, this.frameModifier));\n break;\n\n case 'drawnFrame':\n this.drawnFrameEvent.currentTime = this.currentFrame;\n this.drawnFrameEvent.totalTime = this.totalFrames;\n this.drawnFrameEvent.direction = this.frameModifier;\n this.triggerEvent(name, this.drawnFrameEvent);\n break;\n\n case 'loopComplete':\n this.triggerEvent(name, new BMCompleteLoopEvent(name, this.loop, this.playCount, this.frameMult));\n break;\n\n case 'complete':\n this.triggerEvent(name, new BMCompleteEvent(name, this.frameMult));\n break;\n\n case 'segmentStart':\n this.triggerEvent(name, new BMSegmentStartEvent(name, this.firstFrame, this.totalFrames));\n break;\n\n case 'destroy':\n this.triggerEvent(name, new BMDestroyEvent(name, this));\n break;\n\n default:\n this.triggerEvent(name);\n }\n }\n\n if (name === 'enterFrame' && this.onEnterFrame) {\n this.onEnterFrame.call(this, new BMEnterFrameEvent(name, this.currentFrame, this.totalFrames, this.frameMult));\n }\n\n if (name === 'loopComplete' && this.onLoopComplete) {\n this.onLoopComplete.call(this, new BMCompleteLoopEvent(name, this.loop, this.playCount, this.frameMult));\n }\n\n if (name === 'complete' && this.onComplete) {\n this.onComplete.call(this, new BMCompleteEvent(name, this.frameMult));\n }\n\n if (name === 'segmentStart' && this.onSegmentStart) {\n this.onSegmentStart.call(this, new BMSegmentStartEvent(name, this.firstFrame, this.totalFrames));\n }\n\n if (name === 'destroy' && this.onDestroy) {\n this.onDestroy.call(this, new BMDestroyEvent(name, this));\n }\n };\n\n AnimationItem.prototype.triggerRenderFrameError = function (nativeError) {\n var error = new BMRenderFrameErrorEvent(nativeError, this.currentFrame);\n this.triggerEvent('error', error);\n\n if (this.onError) {\n this.onError.call(this, error);\n }\n };\n\n AnimationItem.prototype.triggerConfigError = function (nativeError) {\n var error = new BMConfigErrorEvent(nativeError, this.currentFrame);\n this.triggerEvent('error', error);\n\n if (this.onError) {\n this.onError.call(this, error);\n }\n };\n\n var animationManager = function () {\n var moduleOb = {};\n var registeredAnimations = [];\n var initTime = 0;\n var len = 0;\n var playingAnimationsNum = 0;\n var _stopped = true;\n var _isFrozen = false;\n\n function removeElement(ev) {\n var i = 0;\n var animItem = ev.target;\n\n while (i < len) {\n if (registeredAnimations[i].animation === animItem) {\n registeredAnimations.splice(i, 1);\n i -= 1;\n len -= 1;\n\n if (!animItem.isPaused) {\n subtractPlayingCount();\n }\n }\n\n i += 1;\n }\n }\n\n function registerAnimation(element, animationData) {\n if (!element) {\n return null;\n }\n\n var i = 0;\n\n while (i < len) {\n if (registeredAnimations[i].elem === element && registeredAnimations[i].elem !== null) {\n return registeredAnimations[i].animation;\n }\n\n i += 1;\n }\n\n var animItem = new AnimationItem();\n setupAnimation(animItem, element);\n animItem.setData(element, animationData);\n return animItem;\n }\n\n function getRegisteredAnimations() {\n var i;\n var lenAnims = registeredAnimations.length;\n var animations = [];\n\n for (i = 0; i < lenAnims; i += 1) {\n animations.push(registeredAnimations[i].animation);\n }\n\n return animations;\n }\n\n function addPlayingCount() {\n playingAnimationsNum += 1;\n activate();\n }\n\n function subtractPlayingCount() {\n playingAnimationsNum -= 1;\n }\n\n function setupAnimation(animItem, element) {\n animItem.addEventListener('destroy', removeElement);\n animItem.addEventListener('_active', addPlayingCount);\n animItem.addEventListener('_idle', subtractPlayingCount);\n registeredAnimations.push({\n elem: element,\n animation: animItem\n });\n len += 1;\n }\n\n function loadAnimation(params) {\n var animItem = new AnimationItem();\n setupAnimation(animItem, null);\n animItem.setParams(params);\n return animItem;\n }\n\n function setSpeed(val, animation) {\n var i;\n\n for (i = 0; i < len; i += 1) {\n registeredAnimations[i].animation.setSpeed(val, animation);\n }\n }\n\n function setDirection(val, animation) {\n var i;\n\n for (i = 0; i < len; i += 1) {\n registeredAnimations[i].animation.setDirection(val, animation);\n }\n }\n\n function play(animation) {\n var i;\n\n for (i = 0; i < len; i += 1) {\n registeredAnimations[i].animation.play(animation);\n }\n }\n\n function resume(nowTime) {\n var elapsedTime = nowTime - initTime;\n var i;\n\n for (i = 0; i < len; i += 1) {\n registeredAnimations[i].animation.advanceTime(elapsedTime);\n }\n\n initTime = nowTime;\n\n if (playingAnimationsNum && !_isFrozen) {\n window.requestAnimationFrame(resume);\n } else {\n _stopped = true;\n }\n }\n\n function first(nowTime) {\n initTime = nowTime;\n window.requestAnimationFrame(resume);\n }\n\n function pause(animation) {\n var i;\n\n for (i = 0; i < len; i += 1) {\n registeredAnimations[i].animation.pause(animation);\n }\n }\n\n function goToAndStop(value, isFrame, animation) {\n var i;\n\n for (i = 0; i < len; i += 1) {\n registeredAnimations[i].animation.goToAndStop(value, isFrame, animation);\n }\n }\n\n function stop(animation) {\n var i;\n\n for (i = 0; i < len; i += 1) {\n registeredAnimations[i].animation.stop(animation);\n }\n }\n\n function togglePause(animation) {\n var i;\n\n for (i = 0; i < len; i += 1) {\n registeredAnimations[i].animation.togglePause(animation);\n }\n }\n\n function destroy(animation) {\n var i;\n\n for (i = len - 1; i >= 0; i -= 1) {\n registeredAnimations[i].animation.destroy(animation);\n }\n }\n\n function searchAnimations(animationData, standalone, renderer) {\n var animElements = [].concat([].slice.call(document.getElementsByClassName('lottie')), [].slice.call(document.getElementsByClassName('bodymovin')));\n var i;\n var lenAnims = animElements.length;\n\n for (i = 0; i < lenAnims; i += 1) {\n if (renderer) {\n animElements[i].setAttribute('data-bm-type', renderer);\n }\n\n registerAnimation(animElements[i], animationData);\n }\n\n if (standalone && lenAnims === 0) {\n if (!renderer) {\n renderer = 'svg';\n }\n\n var body = document.getElementsByTagName('body')[0];\n body.innerText = '';\n var div = createTag('div');\n div.style.width = '100%';\n div.style.height = '100%';\n div.setAttribute('data-bm-type', renderer);\n body.appendChild(div);\n registerAnimation(div, animationData);\n }\n }\n\n function resize() {\n var i;\n\n for (i = 0; i < len; i += 1) {\n registeredAnimations[i].animation.resize();\n }\n }\n\n function activate() {\n if (!_isFrozen && playingAnimationsNum) {\n if (_stopped) {\n window.requestAnimationFrame(first);\n _stopped = false;\n }\n }\n }\n\n function freeze() {\n _isFrozen = true;\n }\n\n function unfreeze() {\n _isFrozen = false;\n activate();\n }\n\n function setVolume(val, animation) {\n var i;\n\n for (i = 0; i < len; i += 1) {\n registeredAnimations[i].animation.setVolume(val, animation);\n }\n }\n\n function mute(animation) {\n var i;\n\n for (i = 0; i < len; i += 1) {\n registeredAnimations[i].animation.mute(animation);\n }\n }\n\n function unmute(animation) {\n var i;\n\n for (i = 0; i < len; i += 1) {\n registeredAnimations[i].animation.unmute(animation);\n }\n }\n\n moduleOb.registerAnimation = registerAnimation;\n moduleOb.loadAnimation = loadAnimation;\n moduleOb.setSpeed = setSpeed;\n moduleOb.setDirection = setDirection;\n moduleOb.play = play;\n moduleOb.pause = pause;\n moduleOb.stop = stop;\n moduleOb.togglePause = togglePause;\n moduleOb.searchAnimations = searchAnimations;\n moduleOb.resize = resize; // moduleOb.start = start;\n\n moduleOb.goToAndStop = goToAndStop;\n moduleOb.destroy = destroy;\n moduleOb.freeze = freeze;\n moduleOb.unfreeze = unfreeze;\n moduleOb.setVolume = setVolume;\n moduleOb.mute = mute;\n moduleOb.unmute = unmute;\n moduleOb.getRegisteredAnimations = getRegisteredAnimations;\n return moduleOb;\n }();\n\n /* eslint-disable */\n var BezierFactory = function () {\n /**\r\n * BezierEasing - use bezier curve for transition easing function\r\n * by Gaëtan Renaudeau 2014 - 2015 – MIT License\r\n *\r\n * Credits: is based on Firefox's nsSMILKeySpline.cpp\r\n * Usage:\r\n * var spline = BezierEasing([ 0.25, 0.1, 0.25, 1.0 ])\r\n * spline.get(x) => returns the easing value | x must be in [0, 1] range\r\n *\r\n */\n var ob = {};\n ob.getBezierEasing = getBezierEasing;\n var beziers = {};\n\n function getBezierEasing(a, b, c, d, nm) {\n var str = nm || ('bez_' + a + '_' + b + '_' + c + '_' + d).replace(/\\./g, 'p');\n\n if (beziers[str]) {\n return beziers[str];\n }\n\n var bezEasing = new BezierEasing([a, b, c, d]);\n beziers[str] = bezEasing;\n return bezEasing;\n } // These values are established by empiricism with tests (tradeoff: performance VS precision)\n\n\n var NEWTON_ITERATIONS = 4;\n var NEWTON_MIN_SLOPE = 0.001;\n var SUBDIVISION_PRECISION = 0.0000001;\n var SUBDIVISION_MAX_ITERATIONS = 10;\n var kSplineTableSize = 11;\n var kSampleStepSize = 1.0 / (kSplineTableSize - 1.0);\n var float32ArraySupported = typeof Float32Array === 'function';\n\n function A(aA1, aA2) {\n return 1.0 - 3.0 * aA2 + 3.0 * aA1;\n }\n\n function B(aA1, aA2) {\n return 3.0 * aA2 - 6.0 * aA1;\n }\n\n function C(aA1) {\n return 3.0 * aA1;\n } // Returns x(t) given t, x1, and x2, or y(t) given t, y1, and y2.\n\n\n function calcBezier(aT, aA1, aA2) {\n return ((A(aA1, aA2) * aT + B(aA1, aA2)) * aT + C(aA1)) * aT;\n } // Returns dx/dt given t, x1, and x2, or dy/dt given t, y1, and y2.\n\n\n function getSlope(aT, aA1, aA2) {\n return 3.0 * A(aA1, aA2) * aT * aT + 2.0 * B(aA1, aA2) * aT + C(aA1);\n }\n\n function binarySubdivide(aX, aA, aB, mX1, mX2) {\n var currentX,\n currentT,\n i = 0;\n\n do {\n currentT = aA + (aB - aA) / 2.0;\n currentX = calcBezier(currentT, mX1, mX2) - aX;\n\n if (currentX > 0.0) {\n aB = currentT;\n } else {\n aA = currentT;\n }\n } while (Math.abs(currentX) > SUBDIVISION_PRECISION && ++i < SUBDIVISION_MAX_ITERATIONS);\n\n return currentT;\n }\n\n function newtonRaphsonIterate(aX, aGuessT, mX1, mX2) {\n for (var i = 0; i < NEWTON_ITERATIONS; ++i) {\n var currentSlope = getSlope(aGuessT, mX1, mX2);\n if (currentSlope === 0.0) return aGuessT;\n var currentX = calcBezier(aGuessT, mX1, mX2) - aX;\n aGuessT -= currentX / currentSlope;\n }\n\n return aGuessT;\n }\n /**\r\n * points is an array of [ mX1, mY1, mX2, mY2 ]\r\n */\n\n\n function BezierEasing(points) {\n this._p = points;\n this._mSampleValues = float32ArraySupported ? new Float32Array(kSplineTableSize) : new Array(kSplineTableSize);\n this._precomputed = false;\n this.get = this.get.bind(this);\n }\n\n BezierEasing.prototype = {\n get: function get(x) {\n var mX1 = this._p[0],\n mY1 = this._p[1],\n mX2 = this._p[2],\n mY2 = this._p[3];\n if (!this._precomputed) this._precompute();\n if (mX1 === mY1 && mX2 === mY2) return x; // linear\n // Because JavaScript number are imprecise, we should guarantee the extremes are right.\n\n if (x === 0) return 0;\n if (x === 1) return 1;\n return calcBezier(this._getTForX(x), mY1, mY2);\n },\n // Private part\n _precompute: function _precompute() {\n var mX1 = this._p[0],\n mY1 = this._p[1],\n mX2 = this._p[2],\n mY2 = this._p[3];\n this._precomputed = true;\n\n if (mX1 !== mY1 || mX2 !== mY2) {\n this._calcSampleValues();\n }\n },\n _calcSampleValues: function _calcSampleValues() {\n var mX1 = this._p[0],\n mX2 = this._p[2];\n\n for (var i = 0; i < kSplineTableSize; ++i) {\n this._mSampleValues[i] = calcBezier(i * kSampleStepSize, mX1, mX2);\n }\n },\n\n /**\r\n * getTForX chose the fastest heuristic to determine the percentage value precisely from a given X projection.\r\n */\n _getTForX: function _getTForX(aX) {\n var mX1 = this._p[0],\n mX2 = this._p[2],\n mSampleValues = this._mSampleValues;\n var intervalStart = 0.0;\n var currentSample = 1;\n var lastSample = kSplineTableSize - 1;\n\n for (; currentSample !== lastSample && mSampleValues[currentSample] <= aX; ++currentSample) {\n intervalStart += kSampleStepSize;\n }\n\n --currentSample; // Interpolate to provide an initial guess for t\n\n var dist = (aX - mSampleValues[currentSample]) / (mSampleValues[currentSample + 1] - mSampleValues[currentSample]);\n var guessForT = intervalStart + dist * kSampleStepSize;\n var initialSlope = getSlope(guessForT, mX1, mX2);\n\n if (initialSlope >= NEWTON_MIN_SLOPE) {\n return newtonRaphsonIterate(aX, guessForT, mX1, mX2);\n }\n\n if (initialSlope === 0.0) {\n return guessForT;\n }\n\n return binarySubdivide(aX, intervalStart, intervalStart + kSampleStepSize, mX1, mX2);\n }\n };\n return ob;\n }();\n\n var pooling = function () {\n function _double(arr) {\n return arr.concat(createSizedArray(arr.length));\n }\n\n return {\n \"double\": _double\n };\n }();\n\n var poolFactory = function () {\n return function (initialLength, _create, _release) {\n var _length = 0;\n var _maxLength = initialLength;\n var pool = createSizedArray(_maxLength);\n var ob = {\n newElement: newElement,\n release: release\n };\n\n function newElement() {\n var element;\n\n if (_length) {\n _length -= 1;\n element = pool[_length];\n } else {\n element = _create();\n }\n\n return element;\n }\n\n function release(element) {\n if (_length === _maxLength) {\n pool = pooling[\"double\"](pool);\n _maxLength *= 2;\n }\n\n if (_release) {\n _release(element);\n }\n\n pool[_length] = element;\n _length += 1;\n }\n\n return ob;\n };\n }();\n\n var bezierLengthPool = function () {\n function create() {\n return {\n addedLength: 0,\n percents: createTypedArray('float32', getDefaultCurveSegments()),\n lengths: createTypedArray('float32', getDefaultCurveSegments())\n };\n }\n\n return poolFactory(8, create);\n }();\n\n var segmentsLengthPool = function () {\n function create() {\n return {\n lengths: [],\n totalLength: 0\n };\n }\n\n function release(element) {\n var i;\n var len = element.lengths.length;\n\n for (i = 0; i < len; i += 1) {\n bezierLengthPool.release(element.lengths[i]);\n }\n\n element.lengths.length = 0;\n }\n\n return poolFactory(8, create, release);\n }();\n\n function bezFunction() {\n var math = Math;\n\n function pointOnLine2D(x1, y1, x2, y2, x3, y3) {\n var det1 = x1 * y2 + y1 * x3 + x2 * y3 - x3 * y2 - y3 * x1 - x2 * y1;\n return det1 > -0.001 && det1 < 0.001;\n }\n\n function pointOnLine3D(x1, y1, z1, x2, y2, z2, x3, y3, z3) {\n if (z1 === 0 && z2 === 0 && z3 === 0) {\n return pointOnLine2D(x1, y1, x2, y2, x3, y3);\n }\n\n var dist1 = math.sqrt(math.pow(x2 - x1, 2) + math.pow(y2 - y1, 2) + math.pow(z2 - z1, 2));\n var dist2 = math.sqrt(math.pow(x3 - x1, 2) + math.pow(y3 - y1, 2) + math.pow(z3 - z1, 2));\n var dist3 = math.sqrt(math.pow(x3 - x2, 2) + math.pow(y3 - y2, 2) + math.pow(z3 - z2, 2));\n var diffDist;\n\n if (dist1 > dist2) {\n if (dist1 > dist3) {\n diffDist = dist1 - dist2 - dist3;\n } else {\n diffDist = dist3 - dist2 - dist1;\n }\n } else if (dist3 > dist2) {\n diffDist = dist3 - dist2 - dist1;\n } else {\n diffDist = dist2 - dist1 - dist3;\n }\n\n return diffDist > -0.0001 && diffDist < 0.0001;\n }\n\n var getBezierLength = function () {\n return function (pt1, pt2, pt3, pt4) {\n var curveSegments = getDefaultCurveSegments();\n var k;\n var i;\n var len;\n var ptCoord;\n var perc;\n var addedLength = 0;\n var ptDistance;\n var point = [];\n var lastPoint = [];\n var lengthData = bezierLengthPool.newElement();\n len = pt3.length;\n\n for (k = 0; k < curveSegments; k += 1) {\n perc = k / (curveSegments - 1);\n ptDistance = 0;\n\n for (i = 0; i < len; i += 1) {\n ptCoord = bmPow(1 - perc, 3) * pt1[i] + 3 * bmPow(1 - perc, 2) * perc * pt3[i] + 3 * (1 - perc) * bmPow(perc, 2) * pt4[i] + bmPow(perc, 3) * pt2[i];\n point[i] = ptCoord;\n\n if (lastPoint[i] !== null) {\n ptDistance += bmPow(point[i] - lastPoint[i], 2);\n }\n\n lastPoint[i] = point[i];\n }\n\n if (ptDistance) {\n ptDistance = bmSqrt(ptDistance);\n addedLength += ptDistance;\n }\n\n lengthData.percents[k] = perc;\n lengthData.lengths[k] = addedLength;\n }\n\n lengthData.addedLength = addedLength;\n return lengthData;\n };\n }();\n\n function getSegmentsLength(shapeData) {\n var segmentsLength = segmentsLengthPool.newElement();\n var closed = shapeData.c;\n var pathV = shapeData.v;\n var pathO = shapeData.o;\n var pathI = shapeData.i;\n var i;\n var len = shapeData._length;\n var lengths = segmentsLength.lengths;\n var totalLength = 0;\n\n for (i = 0; i < len - 1; i += 1) {\n lengths[i] = getBezierLength(pathV[i], pathV[i + 1], pathO[i], pathI[i + 1]);\n totalLength += lengths[i].addedLength;\n }\n\n if (closed && len) {\n lengths[i] = getBezierLength(pathV[i], pathV[0], pathO[i], pathI[0]);\n totalLength += lengths[i].addedLength;\n }\n\n segmentsLength.totalLength = totalLength;\n return segmentsLength;\n }\n\n function BezierData(length) {\n this.segmentLength = 0;\n this.points = new Array(length);\n }\n\n function PointData(partial, point) {\n this.partialLength = partial;\n this.point = point;\n }\n\n var buildBezierData = function () {\n var storedData = {};\n return function (pt1, pt2, pt3, pt4) {\n var bezierName = (pt1[0] + '_' + pt1[1] + '_' + pt2[0] + '_' + pt2[1] + '_' + pt3[0] + '_' + pt3[1] + '_' + pt4[0] + '_' + pt4[1]).replace(/\\./g, 'p');\n\n if (!storedData[bezierName]) {\n var curveSegments = getDefaultCurveSegments();\n var k;\n var i;\n var len;\n var ptCoord;\n var perc;\n var addedLength = 0;\n var ptDistance;\n var point;\n var lastPoint = null;\n\n if (pt1.length === 2 && (pt1[0] !== pt2[0] || pt1[1] !== pt2[1]) && pointOnLine2D(pt1[0], pt1[1], pt2[0], pt2[1], pt1[0] + pt3[0], pt1[1] + pt3[1]) && pointOnLine2D(pt1[0], pt1[1], pt2[0], pt2[1], pt2[0] + pt4[0], pt2[1] + pt4[1])) {\n curveSegments = 2;\n }\n\n var bezierData = new BezierData(curveSegments);\n len = pt3.length;\n\n for (k = 0; k < curveSegments; k += 1) {\n point = createSizedArray(len);\n perc = k / (curveSegments - 1);\n ptDistance = 0;\n\n for (i = 0; i < len; i += 1) {\n ptCoord = bmPow(1 - perc, 3) * pt1[i] + 3 * bmPow(1 - perc, 2) * perc * (pt1[i] + pt3[i]) + 3 * (1 - perc) * bmPow(perc, 2) * (pt2[i] + pt4[i]) + bmPow(perc, 3) * pt2[i];\n point[i] = ptCoord;\n\n if (lastPoint !== null) {\n ptDistance += bmPow(point[i] - lastPoint[i], 2);\n }\n }\n\n ptDistance = bmSqrt(ptDistance);\n addedLength += ptDistance;\n bezierData.points[k] = new PointData(ptDistance, point);\n lastPoint = point;\n }\n\n bezierData.segmentLength = addedLength;\n storedData[bezierName] = bezierData;\n }\n\n return storedData[bezierName];\n };\n }();\n\n function getDistancePerc(perc, bezierData) {\n var percents = bezierData.percents;\n var lengths = bezierData.lengths;\n var len = percents.length;\n var initPos = bmFloor((len - 1) * perc);\n var lengthPos = perc * bezierData.addedLength;\n var lPerc = 0;\n\n if (initPos === len - 1 || initPos === 0 || lengthPos === lengths[initPos]) {\n return percents[initPos];\n }\n\n var dir = lengths[initPos] > lengthPos ? -1 : 1;\n var flag = true;\n\n while (flag) {\n if (lengths[initPos] <= lengthPos && lengths[initPos + 1] > lengthPos) {\n lPerc = (lengthPos - lengths[initPos]) / (lengths[initPos + 1] - lengths[initPos]);\n flag = false;\n } else {\n initPos += dir;\n }\n\n if (initPos < 0 || initPos >= len - 1) {\n // FIX for TypedArrays that don't store floating point values with enough accuracy\n if (initPos === len - 1) {\n return percents[initPos];\n }\n\n flag = false;\n }\n }\n\n return percents[initPos] + (percents[initPos + 1] - percents[initPos]) * lPerc;\n }\n\n function getPointInSegment(pt1, pt2, pt3, pt4, percent, bezierData) {\n var t1 = getDistancePerc(percent, bezierData);\n var u1 = 1 - t1;\n var ptX = math.round((u1 * u1 * u1 * pt1[0] + (t1 * u1 * u1 + u1 * t1 * u1 + u1 * u1 * t1) * pt3[0] + (t1 * t1 * u1 + u1 * t1 * t1 + t1 * u1 * t1) * pt4[0] + t1 * t1 * t1 * pt2[0]) * 1000) / 1000;\n var ptY = math.round((u1 * u1 * u1 * pt1[1] + (t1 * u1 * u1 + u1 * t1 * u1 + u1 * u1 * t1) * pt3[1] + (t1 * t1 * u1 + u1 * t1 * t1 + t1 * u1 * t1) * pt4[1] + t1 * t1 * t1 * pt2[1]) * 1000) / 1000;\n return [ptX, ptY];\n }\n\n var bezierSegmentPoints = createTypedArray('float32', 8);\n\n function getNewSegment(pt1, pt2, pt3, pt4, startPerc, endPerc, bezierData) {\n if (startPerc < 0) {\n startPerc = 0;\n } else if (startPerc > 1) {\n startPerc = 1;\n }\n\n var t0 = getDistancePerc(startPerc, bezierData);\n endPerc = endPerc > 1 ? 1 : endPerc;\n var t1 = getDistancePerc(endPerc, bezierData);\n var i;\n var len = pt1.length;\n var u0 = 1 - t0;\n var u1 = 1 - t1;\n var u0u0u0 = u0 * u0 * u0;\n var t0u0u0_3 = t0 * u0 * u0 * 3; // eslint-disable-line camelcase\n\n var t0t0u0_3 = t0 * t0 * u0 * 3; // eslint-disable-line camelcase\n\n var t0t0t0 = t0 * t0 * t0; //\n\n var u0u0u1 = u0 * u0 * u1;\n var t0u0u1_3 = t0 * u0 * u1 + u0 * t0 * u1 + u0 * u0 * t1; // eslint-disable-line camelcase\n\n var t0t0u1_3 = t0 * t0 * u1 + u0 * t0 * t1 + t0 * u0 * t1; // eslint-disable-line camelcase\n\n var t0t0t1 = t0 * t0 * t1; //\n\n var u0u1u1 = u0 * u1 * u1;\n var t0u1u1_3 = t0 * u1 * u1 + u0 * t1 * u1 + u0 * u1 * t1; // eslint-disable-line camelcase\n\n var t0t1u1_3 = t0 * t1 * u1 + u0 * t1 * t1 + t0 * u1 * t1; // eslint-disable-line camelcase\n\n var t0t1t1 = t0 * t1 * t1; //\n\n var u1u1u1 = u1 * u1 * u1;\n var t1u1u1_3 = t1 * u1 * u1 + u1 * t1 * u1 + u1 * u1 * t1; // eslint-disable-line camelcase\n\n var t1t1u1_3 = t1 * t1 * u1 + u1 * t1 * t1 + t1 * u1 * t1; // eslint-disable-line camelcase\n\n var t1t1t1 = t1 * t1 * t1;\n\n for (i = 0; i < len; i += 1) {\n bezierSegmentPoints[i * 4] = math.round((u0u0u0 * pt1[i] + t0u0u0_3 * pt3[i] + t0t0u0_3 * pt4[i] + t0t0t0 * pt2[i]) * 1000) / 1000; // eslint-disable-line camelcase\n\n bezierSegmentPoints[i * 4 + 1] = math.round((u0u0u1 * pt1[i] + t0u0u1_3 * pt3[i] + t0t0u1_3 * pt4[i] + t0t0t1 * pt2[i]) * 1000) / 1000; // eslint-disable-line camelcase\n\n bezierSegmentPoints[i * 4 + 2] = math.round((u0u1u1 * pt1[i] + t0u1u1_3 * pt3[i] + t0t1u1_3 * pt4[i] + t0t1t1 * pt2[i]) * 1000) / 1000; // eslint-disable-line camelcase\n\n bezierSegmentPoints[i * 4 + 3] = math.round((u1u1u1 * pt1[i] + t1u1u1_3 * pt3[i] + t1t1u1_3 * pt4[i] + t1t1t1 * pt2[i]) * 1000) / 1000; // eslint-disable-line camelcase\n }\n\n return bezierSegmentPoints;\n }\n\n return {\n getSegmentsLength: getSegmentsLength,\n getNewSegment: getNewSegment,\n getPointInSegment: getPointInSegment,\n buildBezierData: buildBezierData,\n pointOnLine2D: pointOnLine2D,\n pointOnLine3D: pointOnLine3D\n };\n }\n\n var bez = bezFunction();\n\n var initFrame = initialDefaultFrame;\n var mathAbs = Math.abs;\n\n function interpolateValue(frameNum, caching) {\n var offsetTime = this.offsetTime;\n var newValue;\n\n if (this.propType === 'multidimensional') {\n newValue = createTypedArray('float32', this.pv.length);\n }\n\n var iterationIndex = caching.lastIndex;\n var i = iterationIndex;\n var len = this.keyframes.length - 1;\n var flag = true;\n var keyData;\n var nextKeyData;\n var keyframeMetadata;\n\n while (flag) {\n keyData = this.keyframes[i];\n nextKeyData = this.keyframes[i + 1];\n\n if (i === len - 1 && frameNum >= nextKeyData.t - offsetTime) {\n if (keyData.h) {\n keyData = nextKeyData;\n }\n\n iterationIndex = 0;\n break;\n }\n\n if (nextKeyData.t - offsetTime > frameNum) {\n iterationIndex = i;\n break;\n }\n\n if (i < len - 1) {\n i += 1;\n } else {\n iterationIndex = 0;\n flag = false;\n }\n }\n\n keyframeMetadata = this.keyframesMetadata[i] || {};\n var k;\n var kLen;\n var perc;\n var jLen;\n var j;\n var fnc;\n var nextKeyTime = nextKeyData.t - offsetTime;\n var keyTime = keyData.t - offsetTime;\n var endValue;\n\n if (keyData.to) {\n if (!keyframeMetadata.bezierData) {\n keyframeMetadata.bezierData = bez.buildBezierData(keyData.s, nextKeyData.s || keyData.e, keyData.to, keyData.ti);\n }\n\n var bezierData = keyframeMetadata.bezierData;\n\n if (frameNum >= nextKeyTime || frameNum < keyTime) {\n var ind = frameNum >= nextKeyTime ? bezierData.points.length - 1 : 0;\n kLen = bezierData.points[ind].point.length;\n\n for (k = 0; k < kLen; k += 1) {\n newValue[k] = bezierData.points[ind].point[k];\n } // caching._lastKeyframeIndex = -1;\n\n } else {\n if (keyframeMetadata.__fnct) {\n fnc = keyframeMetadata.__fnct;\n } else {\n fnc = BezierFactory.getBezierEasing(keyData.o.x, keyData.o.y, keyData.i.x, keyData.i.y, keyData.n).get;\n keyframeMetadata.__fnct = fnc;\n }\n\n perc = fnc((frameNum - keyTime) / (nextKeyTime - keyTime));\n var distanceInLine = bezierData.segmentLength * perc;\n var segmentPerc;\n var addedLength = caching.lastFrame < frameNum && caching._lastKeyframeIndex === i ? caching._lastAddedLength : 0;\n j = caching.lastFrame < frameNum && caching._lastKeyframeIndex === i ? caching._lastPoint : 0;\n flag = true;\n jLen = bezierData.points.length;\n\n while (flag) {\n addedLength += bezierData.points[j].partialLength;\n\n if (distanceInLine === 0 || perc === 0 || j === bezierData.points.length - 1) {\n kLen = bezierData.points[j].point.length;\n\n for (k = 0; k < kLen; k += 1) {\n newValue[k] = bezierData.points[j].point[k];\n }\n\n break;\n } else if (distanceInLine >= addedLength && distanceInLine < addedLength + bezierData.points[j + 1].partialLength) {\n segmentPerc = (distanceInLine - addedLength) / bezierData.points[j + 1].partialLength;\n kLen = bezierData.points[j].point.length;\n\n for (k = 0; k < kLen; k += 1) {\n newValue[k] = bezierData.points[j].point[k] + (bezierData.points[j + 1].point[k] - bezierData.points[j].point[k]) * segmentPerc;\n }\n\n break;\n }\n\n if (j < jLen - 1) {\n j += 1;\n } else {\n flag = false;\n }\n }\n\n caching._lastPoint = j;\n caching._lastAddedLength = addedLength - bezierData.points[j].partialLength;\n caching._lastKeyframeIndex = i;\n }\n } else {\n var outX;\n var outY;\n var inX;\n var inY;\n var keyValue;\n len = keyData.s.length;\n endValue = nextKeyData.s || keyData.e;\n\n if (this.sh && keyData.h !== 1) {\n if (frameNum >= nextKeyTime) {\n newValue[0] = endValue[0];\n newValue[1] = endValue[1];\n newValue[2] = endValue[2];\n } else if (frameNum <= keyTime) {\n newValue[0] = keyData.s[0];\n newValue[1] = keyData.s[1];\n newValue[2] = keyData.s[2];\n } else {\n var quatStart = createQuaternion(keyData.s);\n var quatEnd = createQuaternion(endValue);\n var time = (frameNum - keyTime) / (nextKeyTime - keyTime);\n quaternionToEuler(newValue, slerp(quatStart, quatEnd, time));\n }\n } else {\n for (i = 0; i < len; i += 1) {\n if (keyData.h !== 1) {\n if (frameNum >= nextKeyTime) {\n perc = 1;\n } else if (frameNum < keyTime) {\n perc = 0;\n } else {\n if (keyData.o.x.constructor === Array) {\n if (!keyframeMetadata.__fnct) {\n keyframeMetadata.__fnct = [];\n }\n\n if (!keyframeMetadata.__fnct[i]) {\n outX = keyData.o.x[i] === undefined ? keyData.o.x[0] : keyData.o.x[i];\n outY = keyData.o.y[i] === undefined ? keyData.o.y[0] : keyData.o.y[i];\n inX = keyData.i.x[i] === undefined ? keyData.i.x[0] : keyData.i.x[i];\n inY = keyData.i.y[i] === undefined ? keyData.i.y[0] : keyData.i.y[i];\n fnc = BezierFactory.getBezierEasing(outX, outY, inX, inY).get;\n keyframeMetadata.__fnct[i] = fnc;\n } else {\n fnc = keyframeMetadata.__fnct[i];\n }\n } else if (!keyframeMetadata.__fnct) {\n outX = keyData.o.x;\n outY = keyData.o.y;\n inX = keyData.i.x;\n inY = keyData.i.y;\n fnc = BezierFactory.getBezierEasing(outX, outY, inX, inY).get;\n keyData.keyframeMetadata = fnc;\n } else {\n fnc = keyframeMetadata.__fnct;\n }\n\n perc = fnc((frameNum - keyTime) / (nextKeyTime - keyTime));\n }\n }\n\n endValue = nextKeyData.s || keyData.e;\n keyValue = keyData.h === 1 ? keyData.s[i] : keyData.s[i] + (endValue[i] - keyData.s[i]) * perc;\n\n if (this.propType === 'multidimensional') {\n newValue[i] = keyValue;\n } else {\n newValue = keyValue;\n }\n }\n }\n }\n\n caching.lastIndex = iterationIndex;\n return newValue;\n } // based on @Toji's https://github.com/toji/gl-matrix/\n\n\n function slerp(a, b, t) {\n var out = [];\n var ax = a[0];\n var ay = a[1];\n var az = a[2];\n var aw = a[3];\n var bx = b[0];\n var by = b[1];\n var bz = b[2];\n var bw = b[3];\n var omega;\n var cosom;\n var sinom;\n var scale0;\n var scale1;\n cosom = ax * bx + ay * by + az * bz + aw * bw;\n\n if (cosom < 0.0) {\n cosom = -cosom;\n bx = -bx;\n by = -by;\n bz = -bz;\n bw = -bw;\n }\n\n if (1.0 - cosom > 0.000001) {\n omega = Math.acos(cosom);\n sinom = Math.sin(omega);\n scale0 = Math.sin((1.0 - t) * omega) / sinom;\n scale1 = Math.sin(t * omega) / sinom;\n } else {\n scale0 = 1.0 - t;\n scale1 = t;\n }\n\n out[0] = scale0 * ax + scale1 * bx;\n out[1] = scale0 * ay + scale1 * by;\n out[2] = scale0 * az + scale1 * bz;\n out[3] = scale0 * aw + scale1 * bw;\n return out;\n }\n\n function quaternionToEuler(out, quat) {\n var qx = quat[0];\n var qy = quat[1];\n var qz = quat[2];\n var qw = quat[3];\n var heading = Math.atan2(2 * qy * qw - 2 * qx * qz, 1 - 2 * qy * qy - 2 * qz * qz);\n var attitude = Math.asin(2 * qx * qy + 2 * qz * qw);\n var bank = Math.atan2(2 * qx * qw - 2 * qy * qz, 1 - 2 * qx * qx - 2 * qz * qz);\n out[0] = heading / degToRads;\n out[1] = attitude / degToRads;\n out[2] = bank / degToRads;\n }\n\n function createQuaternion(values) {\n var heading = values[0] * degToRads;\n var attitude = values[1] * degToRads;\n var bank = values[2] * degToRads;\n var c1 = Math.cos(heading / 2);\n var c2 = Math.cos(attitude / 2);\n var c3 = Math.cos(bank / 2);\n var s1 = Math.sin(heading / 2);\n var s2 = Math.sin(attitude / 2);\n var s3 = Math.sin(bank / 2);\n var w = c1 * c2 * c3 - s1 * s2 * s3;\n var x = s1 * s2 * c3 + c1 * c2 * s3;\n var y = s1 * c2 * c3 + c1 * s2 * s3;\n var z = c1 * s2 * c3 - s1 * c2 * s3;\n return [x, y, z, w];\n }\n\n function getValueAtCurrentTime() {\n var frameNum = this.comp.renderedFrame - this.offsetTime;\n var initTime = this.keyframes[0].t - this.offsetTime;\n var endTime = this.keyframes[this.keyframes.length - 1].t - this.offsetTime;\n\n if (!(frameNum === this._caching.lastFrame || this._caching.lastFrame !== initFrame && (this._caching.lastFrame >= endTime && frameNum >= endTime || this._caching.lastFrame < initTime && frameNum < initTime))) {\n if (this._caching.lastFrame >= frameNum) {\n this._caching._lastKeyframeIndex = -1;\n this._caching.lastIndex = 0;\n }\n\n var renderResult = this.interpolateValue(frameNum, this._caching);\n this.pv = renderResult;\n }\n\n this._caching.lastFrame = frameNum;\n return this.pv;\n }\n\n function setVValue(val) {\n var multipliedValue;\n\n if (this.propType === 'unidimensional') {\n multipliedValue = val * this.mult;\n\n if (mathAbs(this.v - multipliedValue) > 0.00001) {\n this.v = multipliedValue;\n this._mdf = true;\n }\n } else {\n var i = 0;\n var len = this.v.length;\n\n while (i < len) {\n multipliedValue = val[i] * this.mult;\n\n if (mathAbs(this.v[i] - multipliedValue) > 0.00001) {\n this.v[i] = multipliedValue;\n this._mdf = true;\n }\n\n i += 1;\n }\n }\n }\n\n function processEffectsSequence() {\n if (this.elem.globalData.frameId === this.frameId || !this.effectsSequence.length) {\n return;\n }\n\n if (this.lock) {\n this.setVValue(this.pv);\n return;\n }\n\n this.lock = true;\n this._mdf = this._isFirstFrame;\n var i;\n var len = this.effectsSequence.length;\n var finalValue = this.kf ? this.pv : this.data.k;\n\n for (i = 0; i < len; i += 1) {\n finalValue = this.effectsSequence[i](finalValue);\n }\n\n this.setVValue(finalValue);\n this._isFirstFrame = false;\n this.lock = false;\n this.frameId = this.elem.globalData.frameId;\n }\n\n function addEffect(effectFunction) {\n this.effectsSequence.push(effectFunction);\n this.container.addDynamicProperty(this);\n }\n\n function ValueProperty(elem, data, mult, container) {\n this.propType = 'unidimensional';\n this.mult = mult || 1;\n this.data = data;\n this.v = mult ? data.k * mult : data.k;\n this.pv = data.k;\n this._mdf = false;\n this.elem = elem;\n this.container = container;\n this.comp = elem.comp;\n this.k = false;\n this.kf = false;\n this.vel = 0;\n this.effectsSequence = [];\n this._isFirstFrame = true;\n this.getValue = processEffectsSequence;\n this.setVValue = setVValue;\n this.addEffect = addEffect;\n }\n\n function MultiDimensionalProperty(elem, data, mult, container) {\n this.propType = 'multidimensional';\n this.mult = mult || 1;\n this.data = data;\n this._mdf = false;\n this.elem = elem;\n this.container = container;\n this.comp = elem.comp;\n this.k = false;\n this.kf = false;\n this.frameId = -1;\n var i;\n var len = data.k.length;\n this.v = createTypedArray('float32', len);\n this.pv = createTypedArray('float32', len);\n this.vel = createTypedArray('float32', len);\n\n for (i = 0; i < len; i += 1) {\n this.v[i] = data.k[i] * this.mult;\n this.pv[i] = data.k[i];\n }\n\n this._isFirstFrame = true;\n this.effectsSequence = [];\n this.getValue = processEffectsSequence;\n this.setVValue = setVValue;\n this.addEffect = addEffect;\n }\n\n function KeyframedValueProperty(elem, data, mult, container) {\n this.propType = 'unidimensional';\n this.keyframes = data.k;\n this.keyframesMetadata = [];\n this.offsetTime = elem.data.st;\n this.frameId = -1;\n this._caching = {\n lastFrame: initFrame,\n lastIndex: 0,\n value: 0,\n _lastKeyframeIndex: -1\n };\n this.k = true;\n this.kf = true;\n this.data = data;\n this.mult = mult || 1;\n this.elem = elem;\n this.container = container;\n this.comp = elem.comp;\n this.v = initFrame;\n this.pv = initFrame;\n this._isFirstFrame = true;\n this.getValue = processEffectsSequence;\n this.setVValue = setVValue;\n this.interpolateValue = interpolateValue;\n this.effectsSequence = [getValueAtCurrentTime.bind(this)];\n this.addEffect = addEffect;\n }\n\n function KeyframedMultidimensionalProperty(elem, data, mult, container) {\n this.propType = 'multidimensional';\n var i;\n var len = data.k.length;\n var s;\n var e;\n var to;\n var ti;\n\n for (i = 0; i < len - 1; i += 1) {\n if (data.k[i].to && data.k[i].s && data.k[i + 1] && data.k[i + 1].s) {\n s = data.k[i].s;\n e = data.k[i + 1].s;\n to = data.k[i].to;\n ti = data.k[i].ti;\n\n if (s.length === 2 && !(s[0] === e[0] && s[1] === e[1]) && bez.pointOnLine2D(s[0], s[1], e[0], e[1], s[0] + to[0], s[1] + to[1]) && bez.pointOnLine2D(s[0], s[1], e[0], e[1], e[0] + ti[0], e[1] + ti[1]) || s.length === 3 && !(s[0] === e[0] && s[1] === e[1] && s[2] === e[2]) && bez.pointOnLine3D(s[0], s[1], s[2], e[0], e[1], e[2], s[0] + to[0], s[1] + to[1], s[2] + to[2]) && bez.pointOnLine3D(s[0], s[1], s[2], e[0], e[1], e[2], e[0] + ti[0], e[1] + ti[1], e[2] + ti[2])) {\n data.k[i].to = null;\n data.k[i].ti = null;\n }\n\n if (s[0] === e[0] && s[1] === e[1] && to[0] === 0 && to[1] === 0 && ti[0] === 0 && ti[1] === 0) {\n if (s.length === 2 || s[2] === e[2] && to[2] === 0 && ti[2] === 0) {\n data.k[i].to = null;\n data.k[i].ti = null;\n }\n }\n }\n }\n\n this.effectsSequence = [getValueAtCurrentTime.bind(this)];\n this.data = data;\n this.keyframes = data.k;\n this.keyframesMetadata = [];\n this.offsetTime = elem.data.st;\n this.k = true;\n this.kf = true;\n this._isFirstFrame = true;\n this.mult = mult || 1;\n this.elem = elem;\n this.container = container;\n this.comp = elem.comp;\n this.getValue = processEffectsSequence;\n this.setVValue = setVValue;\n this.interpolateValue = interpolateValue;\n this.frameId = -1;\n var arrLen = data.k[0].s.length;\n this.v = createTypedArray('float32', arrLen);\n this.pv = createTypedArray('float32', arrLen);\n\n for (i = 0; i < arrLen; i += 1) {\n this.v[i] = initFrame;\n this.pv[i] = initFrame;\n }\n\n this._caching = {\n lastFrame: initFrame,\n lastIndex: 0,\n value: createTypedArray('float32', arrLen)\n };\n this.addEffect = addEffect;\n }\n\n var PropertyFactory = function () {\n function getProp(elem, data, type, mult, container) {\n if (data.sid) {\n data = elem.globalData.slotManager.getProp(data);\n }\n\n var p;\n\n if (!data.k.length) {\n p = new ValueProperty(elem, data, mult, container);\n } else if (typeof data.k[0] === 'number') {\n p = new MultiDimensionalProperty(elem, data, mult, container);\n } else {\n switch (type) {\n case 0:\n p = new KeyframedValueProperty(elem, data, mult, container);\n break;\n\n case 1:\n p = new KeyframedMultidimensionalProperty(elem, data, mult, container);\n break;\n\n default:\n break;\n }\n }\n\n if (p.effectsSequence.length) {\n container.addDynamicProperty(p);\n }\n\n return p;\n }\n\n var ob = {\n getProp: getProp\n };\n return ob;\n }();\n\n function DynamicPropertyContainer() {}\n\n DynamicPropertyContainer.prototype = {\n addDynamicProperty: function addDynamicProperty(prop) {\n if (this.dynamicProperties.indexOf(prop) === -1) {\n this.dynamicProperties.push(prop);\n this.container.addDynamicProperty(this);\n this._isAnimated = true;\n }\n },\n iterateDynamicProperties: function iterateDynamicProperties() {\n this._mdf = false;\n var i;\n var len = this.dynamicProperties.length;\n\n for (i = 0; i < len; i += 1) {\n this.dynamicProperties[i].getValue();\n\n if (this.dynamicProperties[i]._mdf) {\n this._mdf = true;\n }\n }\n },\n initDynamicPropertyContainer: function initDynamicPropertyContainer(container) {\n this.container = container;\n this.dynamicProperties = [];\n this._mdf = false;\n this._isAnimated = false;\n }\n };\n\n var pointPool = function () {\n function create() {\n return createTypedArray('float32', 2);\n }\n\n return poolFactory(8, create);\n }();\n\n function ShapePath() {\n this.c = false;\n this._length = 0;\n this._maxLength = 8;\n this.v = createSizedArray(this._maxLength);\n this.o = createSizedArray(this._maxLength);\n this.i = createSizedArray(this._maxLength);\n }\n\n ShapePath.prototype.setPathData = function (closed, len) {\n this.c = closed;\n this.setLength(len);\n var i = 0;\n\n while (i < len) {\n this.v[i] = pointPool.newElement();\n this.o[i] = pointPool.newElement();\n this.i[i] = pointPool.newElement();\n i += 1;\n }\n };\n\n ShapePath.prototype.setLength = function (len) {\n while (this._maxLength < len) {\n this.doubleArrayLength();\n }\n\n this._length = len;\n };\n\n ShapePath.prototype.doubleArrayLength = function () {\n this.v = this.v.concat(createSizedArray(this._maxLength));\n this.i = this.i.concat(createSizedArray(this._maxLength));\n this.o = this.o.concat(createSizedArray(this._maxLength));\n this._maxLength *= 2;\n };\n\n ShapePath.prototype.setXYAt = function (x, y, type, pos, replace) {\n var arr;\n this._length = Math.max(this._length, pos + 1);\n\n if (this._length >= this._maxLength) {\n this.doubleArrayLength();\n }\n\n switch (type) {\n case 'v':\n arr = this.v;\n break;\n\n case 'i':\n arr = this.i;\n break;\n\n case 'o':\n arr = this.o;\n break;\n\n default:\n arr = [];\n break;\n }\n\n if (!arr[pos] || arr[pos] && !replace) {\n arr[pos] = pointPool.newElement();\n }\n\n arr[pos][0] = x;\n arr[pos][1] = y;\n };\n\n ShapePath.prototype.setTripleAt = function (vX, vY, oX, oY, iX, iY, pos, replace) {\n this.setXYAt(vX, vY, 'v', pos, replace);\n this.setXYAt(oX, oY, 'o', pos, replace);\n this.setXYAt(iX, iY, 'i', pos, replace);\n };\n\n ShapePath.prototype.reverse = function () {\n var newPath = new ShapePath();\n newPath.setPathData(this.c, this._length);\n var vertices = this.v;\n var outPoints = this.o;\n var inPoints = this.i;\n var init = 0;\n\n if (this.c) {\n newPath.setTripleAt(vertices[0][0], vertices[0][1], inPoints[0][0], inPoints[0][1], outPoints[0][0], outPoints[0][1], 0, false);\n init = 1;\n }\n\n var cnt = this._length - 1;\n var len = this._length;\n var i;\n\n for (i = init; i < len; i += 1) {\n newPath.setTripleAt(vertices[cnt][0], vertices[cnt][1], inPoints[cnt][0], inPoints[cnt][1], outPoints[cnt][0], outPoints[cnt][1], i, false);\n cnt -= 1;\n }\n\n return newPath;\n };\n\n ShapePath.prototype.length = function () {\n return this._length;\n };\n\n var shapePool = function () {\n function create() {\n return new ShapePath();\n }\n\n function release(shapePath) {\n var len = shapePath._length;\n var i;\n\n for (i = 0; i < len; i += 1) {\n pointPool.release(shapePath.v[i]);\n pointPool.release(shapePath.i[i]);\n pointPool.release(shapePath.o[i]);\n shapePath.v[i] = null;\n shapePath.i[i] = null;\n shapePath.o[i] = null;\n }\n\n shapePath._length = 0;\n shapePath.c = false;\n }\n\n function clone(shape) {\n var cloned = factory.newElement();\n var i;\n var len = shape._length === undefined ? shape.v.length : shape._length;\n cloned.setLength(len);\n cloned.c = shape.c;\n\n for (i = 0; i < len; i += 1) {\n cloned.setTripleAt(shape.v[i][0], shape.v[i][1], shape.o[i][0], shape.o[i][1], shape.i[i][0], shape.i[i][1], i);\n }\n\n return cloned;\n }\n\n var factory = poolFactory(4, create, release);\n factory.clone = clone;\n return factory;\n }();\n\n function ShapeCollection() {\n this._length = 0;\n this._maxLength = 4;\n this.shapes = createSizedArray(this._maxLength);\n }\n\n ShapeCollection.prototype.addShape = function (shapeData) {\n if (this._length === this._maxLength) {\n this.shapes = this.shapes.concat(createSizedArray(this._maxLength));\n this._maxLength *= 2;\n }\n\n this.shapes[this._length] = shapeData;\n this._length += 1;\n };\n\n ShapeCollection.prototype.releaseShapes = function () {\n var i;\n\n for (i = 0; i < this._length; i += 1) {\n shapePool.release(this.shapes[i]);\n }\n\n this._length = 0;\n };\n\n var shapeCollectionPool = function () {\n var ob = {\n newShapeCollection: newShapeCollection,\n release: release\n };\n var _length = 0;\n var _maxLength = 4;\n var pool = createSizedArray(_maxLength);\n\n function newShapeCollection() {\n var shapeCollection;\n\n if (_length) {\n _length -= 1;\n shapeCollection = pool[_length];\n } else {\n shapeCollection = new ShapeCollection();\n }\n\n return shapeCollection;\n }\n\n function release(shapeCollection) {\n var i;\n var len = shapeCollection._length;\n\n for (i = 0; i < len; i += 1) {\n shapePool.release(shapeCollection.shapes[i]);\n }\n\n shapeCollection._length = 0;\n\n if (_length === _maxLength) {\n pool = pooling[\"double\"](pool);\n _maxLength *= 2;\n }\n\n pool[_length] = shapeCollection;\n _length += 1;\n }\n\n return ob;\n }();\n\n var ShapePropertyFactory = function () {\n var initFrame = -999999;\n\n function interpolateShape(frameNum, previousValue, caching) {\n var iterationIndex = caching.lastIndex;\n var keyPropS;\n var keyPropE;\n var isHold;\n var j;\n var k;\n var jLen;\n var kLen;\n var perc;\n var vertexValue;\n var kf = this.keyframes;\n\n if (frameNum < kf[0].t - this.offsetTime) {\n keyPropS = kf[0].s[0];\n isHold = true;\n iterationIndex = 0;\n } else if (frameNum >= kf[kf.length - 1].t - this.offsetTime) {\n keyPropS = kf[kf.length - 1].s ? kf[kf.length - 1].s[0] : kf[kf.length - 2].e[0];\n /* if(kf[kf.length - 1].s){\r\n keyPropS = kf[kf.length - 1].s[0];\r\n }else{\r\n keyPropS = kf[kf.length - 2].e[0];\r\n } */\n\n isHold = true;\n } else {\n var i = iterationIndex;\n var len = kf.length - 1;\n var flag = true;\n var keyData;\n var nextKeyData;\n var keyframeMetadata;\n\n while (flag) {\n keyData = kf[i];\n nextKeyData = kf[i + 1];\n\n if (nextKeyData.t - this.offsetTime > frameNum) {\n break;\n }\n\n if (i < len - 1) {\n i += 1;\n } else {\n flag = false;\n }\n }\n\n keyframeMetadata = this.keyframesMetadata[i] || {};\n isHold = keyData.h === 1;\n iterationIndex = i;\n\n if (!isHold) {\n if (frameNum >= nextKeyData.t - this.offsetTime) {\n perc = 1;\n } else if (frameNum < keyData.t - this.offsetTime) {\n perc = 0;\n } else {\n var fnc;\n\n if (keyframeMetadata.__fnct) {\n fnc = keyframeMetadata.__fnct;\n } else {\n fnc = BezierFactory.getBezierEasing(keyData.o.x, keyData.o.y, keyData.i.x, keyData.i.y).get;\n keyframeMetadata.__fnct = fnc;\n }\n\n perc = fnc((frameNum - (keyData.t - this.offsetTime)) / (nextKeyData.t - this.offsetTime - (keyData.t - this.offsetTime)));\n }\n\n keyPropE = nextKeyData.s ? nextKeyData.s[0] : keyData.e[0];\n }\n\n keyPropS = keyData.s[0];\n }\n\n jLen = previousValue._length;\n kLen = keyPropS.i[0].length;\n caching.lastIndex = iterationIndex;\n\n for (j = 0; j < jLen; j += 1) {\n for (k = 0; k < kLen; k += 1) {\n vertexValue = isHold ? keyPropS.i[j][k] : keyPropS.i[j][k] + (keyPropE.i[j][k] - keyPropS.i[j][k]) * perc;\n previousValue.i[j][k] = vertexValue;\n vertexValue = isHold ? keyPropS.o[j][k] : keyPropS.o[j][k] + (keyPropE.o[j][k] - keyPropS.o[j][k]) * perc;\n previousValue.o[j][k] = vertexValue;\n vertexValue = isHold ? keyPropS.v[j][k] : keyPropS.v[j][k] + (keyPropE.v[j][k] - keyPropS.v[j][k]) * perc;\n previousValue.v[j][k] = vertexValue;\n }\n }\n }\n\n function interpolateShapeCurrentTime() {\n var frameNum = this.comp.renderedFrame - this.offsetTime;\n var initTime = this.keyframes[0].t - this.offsetTime;\n var endTime = this.keyframes[this.keyframes.length - 1].t - this.offsetTime;\n var lastFrame = this._caching.lastFrame;\n\n if (!(lastFrame !== initFrame && (lastFrame < initTime && frameNum < initTime || lastFrame > endTime && frameNum > endTime))) {\n /// /\n this._caching.lastIndex = lastFrame < frameNum ? this._caching.lastIndex : 0;\n this.interpolateShape(frameNum, this.pv, this._caching); /// /\n }\n\n this._caching.lastFrame = frameNum;\n return this.pv;\n }\n\n function resetShape() {\n this.paths = this.localShapeCollection;\n }\n\n function shapesEqual(shape1, shape2) {\n if (shape1._length !== shape2._length || shape1.c !== shape2.c) {\n return false;\n }\n\n var i;\n var len = shape1._length;\n\n for (i = 0; i < len; i += 1) {\n if (shape1.v[i][0] !== shape2.v[i][0] || shape1.v[i][1] !== shape2.v[i][1] || shape1.o[i][0] !== shape2.o[i][0] || shape1.o[i][1] !== shape2.o[i][1] || shape1.i[i][0] !== shape2.i[i][0] || shape1.i[i][1] !== shape2.i[i][1]) {\n return false;\n }\n }\n\n return true;\n }\n\n function setVValue(newPath) {\n if (!shapesEqual(this.v, newPath)) {\n this.v = shapePool.clone(newPath);\n this.localShapeCollection.releaseShapes();\n this.localShapeCollection.addShape(this.v);\n this._mdf = true;\n this.paths = this.localShapeCollection;\n }\n }\n\n function processEffectsSequence() {\n if (this.elem.globalData.frameId === this.frameId) {\n return;\n }\n\n if (!this.effectsSequence.length) {\n this._mdf = false;\n return;\n }\n\n if (this.lock) {\n this.setVValue(this.pv);\n return;\n }\n\n this.lock = true;\n this._mdf = false;\n var finalValue;\n\n if (this.kf) {\n finalValue = this.pv;\n } else if (this.data.ks) {\n finalValue = this.data.ks.k;\n } else {\n finalValue = this.data.pt.k;\n }\n\n var i;\n var len = this.effectsSequence.length;\n\n for (i = 0; i < len; i += 1) {\n finalValue = this.effectsSequence[i](finalValue);\n }\n\n this.setVValue(finalValue);\n this.lock = false;\n this.frameId = this.elem.globalData.frameId;\n }\n\n function ShapeProperty(elem, data, type) {\n this.propType = 'shape';\n this.comp = elem.comp;\n this.container = elem;\n this.elem = elem;\n this.data = data;\n this.k = false;\n this.kf = false;\n this._mdf = false;\n var pathData = type === 3 ? data.pt.k : data.ks.k;\n this.v = shapePool.clone(pathData);\n this.pv = shapePool.clone(this.v);\n this.localShapeCollection = shapeCollectionPool.newShapeCollection();\n this.paths = this.localShapeCollection;\n this.paths.addShape(this.v);\n this.reset = resetShape;\n this.effectsSequence = [];\n }\n\n function addEffect(effectFunction) {\n this.effectsSequence.push(effectFunction);\n this.container.addDynamicProperty(this);\n }\n\n ShapeProperty.prototype.interpolateShape = interpolateShape;\n ShapeProperty.prototype.getValue = processEffectsSequence;\n ShapeProperty.prototype.setVValue = setVValue;\n ShapeProperty.prototype.addEffect = addEffect;\n\n function KeyframedShapeProperty(elem, data, type) {\n this.propType = 'shape';\n this.comp = elem.comp;\n this.elem = elem;\n this.container = elem;\n this.offsetTime = elem.data.st;\n this.keyframes = type === 3 ? data.pt.k : data.ks.k;\n this.keyframesMetadata = [];\n this.k = true;\n this.kf = true;\n var len = this.keyframes[0].s[0].i.length;\n this.v = shapePool.newElement();\n this.v.setPathData(this.keyframes[0].s[0].c, len);\n this.pv = shapePool.clone(this.v);\n this.localShapeCollection = shapeCollectionPool.newShapeCollection();\n this.paths = this.localShapeCollection;\n this.paths.addShape(this.v);\n this.lastFrame = initFrame;\n this.reset = resetShape;\n this._caching = {\n lastFrame: initFrame,\n lastIndex: 0\n };\n this.effectsSequence = [interpolateShapeCurrentTime.bind(this)];\n }\n\n KeyframedShapeProperty.prototype.getValue = processEffectsSequence;\n KeyframedShapeProperty.prototype.interpolateShape = interpolateShape;\n KeyframedShapeProperty.prototype.setVValue = setVValue;\n KeyframedShapeProperty.prototype.addEffect = addEffect;\n\n var EllShapeProperty = function () {\n var cPoint = roundCorner;\n\n function EllShapePropertyFactory(elem, data) {\n this.v = shapePool.newElement();\n this.v.setPathData(true, 4);\n this.localShapeCollection = shapeCollectionPool.newShapeCollection();\n this.paths = this.localShapeCollection;\n this.localShapeCollection.addShape(this.v);\n this.d = data.d;\n this.elem = elem;\n this.comp = elem.comp;\n this.frameId = -1;\n this.initDynamicPropertyContainer(elem);\n this.p = PropertyFactory.getProp(elem, data.p, 1, 0, this);\n this.s = PropertyFactory.getProp(elem, data.s, 1, 0, this);\n\n if (this.dynamicProperties.length) {\n this.k = true;\n } else {\n this.k = false;\n this.convertEllToPath();\n }\n }\n\n EllShapePropertyFactory.prototype = {\n reset: resetShape,\n getValue: function getValue() {\n if (this.elem.globalData.frameId === this.frameId) {\n return;\n }\n\n this.frameId = this.elem.globalData.frameId;\n this.iterateDynamicProperties();\n\n if (this._mdf) {\n this.convertEllToPath();\n }\n },\n convertEllToPath: function convertEllToPath() {\n var p0 = this.p.v[0];\n var p1 = this.p.v[1];\n var s0 = this.s.v[0] / 2;\n var s1 = this.s.v[1] / 2;\n\n var _cw = this.d !== 3;\n\n var _v = this.v;\n _v.v[0][0] = p0;\n _v.v[0][1] = p1 - s1;\n _v.v[1][0] = _cw ? p0 + s0 : p0 - s0;\n _v.v[1][1] = p1;\n _v.v[2][0] = p0;\n _v.v[2][1] = p1 + s1;\n _v.v[3][0] = _cw ? p0 - s0 : p0 + s0;\n _v.v[3][1] = p1;\n _v.i[0][0] = _cw ? p0 - s0 * cPoint : p0 + s0 * cPoint;\n _v.i[0][1] = p1 - s1;\n _v.i[1][0] = _cw ? p0 + s0 : p0 - s0;\n _v.i[1][1] = p1 - s1 * cPoint;\n _v.i[2][0] = _cw ? p0 + s0 * cPoint : p0 - s0 * cPoint;\n _v.i[2][1] = p1 + s1;\n _v.i[3][0] = _cw ? p0 - s0 : p0 + s0;\n _v.i[3][1] = p1 + s1 * cPoint;\n _v.o[0][0] = _cw ? p0 + s0 * cPoint : p0 - s0 * cPoint;\n _v.o[0][1] = p1 - s1;\n _v.o[1][0] = _cw ? p0 + s0 : p0 - s0;\n _v.o[1][1] = p1 + s1 * cPoint;\n _v.o[2][0] = _cw ? p0 - s0 * cPoint : p0 + s0 * cPoint;\n _v.o[2][1] = p1 + s1;\n _v.o[3][0] = _cw ? p0 - s0 : p0 + s0;\n _v.o[3][1] = p1 - s1 * cPoint;\n }\n };\n extendPrototype([DynamicPropertyContainer], EllShapePropertyFactory);\n return EllShapePropertyFactory;\n }();\n\n var StarShapeProperty = function () {\n function StarShapePropertyFactory(elem, data) {\n this.v = shapePool.newElement();\n this.v.setPathData(true, 0);\n this.elem = elem;\n this.comp = elem.comp;\n this.data = data;\n this.frameId = -1;\n this.d = data.d;\n this.initDynamicPropertyContainer(elem);\n\n if (data.sy === 1) {\n this.ir = PropertyFactory.getProp(elem, data.ir, 0, 0, this);\n this.is = PropertyFactory.getProp(elem, data.is, 0, 0.01, this);\n this.convertToPath = this.convertStarToPath;\n } else {\n this.convertToPath = this.convertPolygonToPath;\n }\n\n this.pt = PropertyFactory.getProp(elem, data.pt, 0, 0, this);\n this.p = PropertyFactory.getProp(elem, data.p, 1, 0, this);\n this.r = PropertyFactory.getProp(elem, data.r, 0, degToRads, this);\n this.or = PropertyFactory.getProp(elem, data.or, 0, 0, this);\n this.os = PropertyFactory.getProp(elem, data.os, 0, 0.01, this);\n this.localShapeCollection = shapeCollectionPool.newShapeCollection();\n this.localShapeCollection.addShape(this.v);\n this.paths = this.localShapeCollection;\n\n if (this.dynamicProperties.length) {\n this.k = true;\n } else {\n this.k = false;\n this.convertToPath();\n }\n }\n\n StarShapePropertyFactory.prototype = {\n reset: resetShape,\n getValue: function getValue() {\n if (this.elem.globalData.frameId === this.frameId) {\n return;\n }\n\n this.frameId = this.elem.globalData.frameId;\n this.iterateDynamicProperties();\n\n if (this._mdf) {\n this.convertToPath();\n }\n },\n convertStarToPath: function convertStarToPath() {\n var numPts = Math.floor(this.pt.v) * 2;\n var angle = Math.PI * 2 / numPts;\n /* this.v.v.length = numPts;\r\n this.v.i.length = numPts;\r\n this.v.o.length = numPts; */\n\n var longFlag = true;\n var longRad = this.or.v;\n var shortRad = this.ir.v;\n var longRound = this.os.v;\n var shortRound = this.is.v;\n var longPerimSegment = 2 * Math.PI * longRad / (numPts * 2);\n var shortPerimSegment = 2 * Math.PI * shortRad / (numPts * 2);\n var i;\n var rad;\n var roundness;\n var perimSegment;\n var currentAng = -Math.PI / 2;\n currentAng += this.r.v;\n var dir = this.data.d === 3 ? -1 : 1;\n this.v._length = 0;\n\n for (i = 0; i < numPts; i += 1) {\n rad = longFlag ? longRad : shortRad;\n roundness = longFlag ? longRound : shortRound;\n perimSegment = longFlag ? longPerimSegment : shortPerimSegment;\n var x = rad * Math.cos(currentAng);\n var y = rad * Math.sin(currentAng);\n var ox = x === 0 && y === 0 ? 0 : y / Math.sqrt(x * x + y * y);\n var oy = x === 0 && y === 0 ? 0 : -x / Math.sqrt(x * x + y * y);\n x += +this.p.v[0];\n y += +this.p.v[1];\n this.v.setTripleAt(x, y, x - ox * perimSegment * roundness * dir, y - oy * perimSegment * roundness * dir, x + ox * perimSegment * roundness * dir, y + oy * perimSegment * roundness * dir, i, true);\n /* this.v.v[i] = [x,y];\r\n this.v.i[i] = [x+ox*perimSegment*roundness*dir,y+oy*perimSegment*roundness*dir];\r\n this.v.o[i] = [x-ox*perimSegment*roundness*dir,y-oy*perimSegment*roundness*dir];\r\n this.v._length = numPts; */\n\n longFlag = !longFlag;\n currentAng += angle * dir;\n }\n },\n convertPolygonToPath: function convertPolygonToPath() {\n var numPts = Math.floor(this.pt.v);\n var angle = Math.PI * 2 / numPts;\n var rad = this.or.v;\n var roundness = this.os.v;\n var perimSegment = 2 * Math.PI * rad / (numPts * 4);\n var i;\n var currentAng = -Math.PI * 0.5;\n var dir = this.data.d === 3 ? -1 : 1;\n currentAng += this.r.v;\n this.v._length = 0;\n\n for (i = 0; i < numPts; i += 1) {\n var x = rad * Math.cos(currentAng);\n var y = rad * Math.sin(currentAng);\n var ox = x === 0 && y === 0 ? 0 : y / Math.sqrt(x * x + y * y);\n var oy = x === 0 && y === 0 ? 0 : -x / Math.sqrt(x * x + y * y);\n x += +this.p.v[0];\n y += +this.p.v[1];\n this.v.setTripleAt(x, y, x - ox * perimSegment * roundness * dir, y - oy * perimSegment * roundness * dir, x + ox * perimSegment * roundness * dir, y + oy * perimSegment * roundness * dir, i, true);\n currentAng += angle * dir;\n }\n\n this.paths.length = 0;\n this.paths[0] = this.v;\n }\n };\n extendPrototype([DynamicPropertyContainer], StarShapePropertyFactory);\n return StarShapePropertyFactory;\n }();\n\n var RectShapeProperty = function () {\n function RectShapePropertyFactory(elem, data) {\n this.v = shapePool.newElement();\n this.v.c = true;\n this.localShapeCollection = shapeCollectionPool.newShapeCollection();\n this.localShapeCollection.addShape(this.v);\n this.paths = this.localShapeCollection;\n this.elem = elem;\n this.comp = elem.comp;\n this.frameId = -1;\n this.d = data.d;\n this.initDynamicPropertyContainer(elem);\n this.p = PropertyFactory.getProp(elem, data.p, 1, 0, this);\n this.s = PropertyFactory.getProp(elem, data.s, 1, 0, this);\n this.r = PropertyFactory.getProp(elem, data.r, 0, 0, this);\n\n if (this.dynamicProperties.length) {\n this.k = true;\n } else {\n this.k = false;\n this.convertRectToPath();\n }\n }\n\n RectShapePropertyFactory.prototype = {\n convertRectToPath: function convertRectToPath() {\n var p0 = this.p.v[0];\n var p1 = this.p.v[1];\n var v0 = this.s.v[0] / 2;\n var v1 = this.s.v[1] / 2;\n var round = bmMin(v0, v1, this.r.v);\n var cPoint = round * (1 - roundCorner);\n this.v._length = 0;\n\n if (this.d === 2 || this.d === 1) {\n this.v.setTripleAt(p0 + v0, p1 - v1 + round, p0 + v0, p1 - v1 + round, p0 + v0, p1 - v1 + cPoint, 0, true);\n this.v.setTripleAt(p0 + v0, p1 + v1 - round, p0 + v0, p1 + v1 - cPoint, p0 + v0, p1 + v1 - round, 1, true);\n\n if (round !== 0) {\n this.v.setTripleAt(p0 + v0 - round, p1 + v1, p0 + v0 - round, p1 + v1, p0 + v0 - cPoint, p1 + v1, 2, true);\n this.v.setTripleAt(p0 - v0 + round, p1 + v1, p0 - v0 + cPoint, p1 + v1, p0 - v0 + round, p1 + v1, 3, true);\n this.v.setTripleAt(p0 - v0, p1 + v1 - round, p0 - v0, p1 + v1 - round, p0 - v0, p1 + v1 - cPoint, 4, true);\n this.v.setTripleAt(p0 - v0, p1 - v1 + round, p0 - v0, p1 - v1 + cPoint, p0 - v0, p1 - v1 + round, 5, true);\n this.v.setTripleAt(p0 - v0 + round, p1 - v1, p0 - v0 + round, p1 - v1, p0 - v0 + cPoint, p1 - v1, 6, true);\n this.v.setTripleAt(p0 + v0 - round, p1 - v1, p0 + v0 - cPoint, p1 - v1, p0 + v0 - round, p1 - v1, 7, true);\n } else {\n this.v.setTripleAt(p0 - v0, p1 + v1, p0 - v0 + cPoint, p1 + v1, p0 - v0, p1 + v1, 2);\n this.v.setTripleAt(p0 - v0, p1 - v1, p0 - v0, p1 - v1 + cPoint, p0 - v0, p1 - v1, 3);\n }\n } else {\n this.v.setTripleAt(p0 + v0, p1 - v1 + round, p0 + v0, p1 - v1 + cPoint, p0 + v0, p1 - v1 + round, 0, true);\n\n if (round !== 0) {\n this.v.setTripleAt(p0 + v0 - round, p1 - v1, p0 + v0 - round, p1 - v1, p0 + v0 - cPoint, p1 - v1, 1, true);\n this.v.setTripleAt(p0 - v0 + round, p1 - v1, p0 - v0 + cPoint, p1 - v1, p0 - v0 + round, p1 - v1, 2, true);\n this.v.setTripleAt(p0 - v0, p1 - v1 + round, p0 - v0, p1 - v1 + round, p0 - v0, p1 - v1 + cPoint, 3, true);\n this.v.setTripleAt(p0 - v0, p1 + v1 - round, p0 - v0, p1 + v1 - cPoint, p0 - v0, p1 + v1 - round, 4, true);\n this.v.setTripleAt(p0 - v0 + round, p1 + v1, p0 - v0 + round, p1 + v1, p0 - v0 + cPoint, p1 + v1, 5, true);\n this.v.setTripleAt(p0 + v0 - round, p1 + v1, p0 + v0 - cPoint, p1 + v1, p0 + v0 - round, p1 + v1, 6, true);\n this.v.setTripleAt(p0 + v0, p1 + v1 - round, p0 + v0, p1 + v1 - round, p0 + v0, p1 + v1 - cPoint, 7, true);\n } else {\n this.v.setTripleAt(p0 - v0, p1 - v1, p0 - v0 + cPoint, p1 - v1, p0 - v0, p1 - v1, 1, true);\n this.v.setTripleAt(p0 - v0, p1 + v1, p0 - v0, p1 + v1 - cPoint, p0 - v0, p1 + v1, 2, true);\n this.v.setTripleAt(p0 + v0, p1 + v1, p0 + v0 - cPoint, p1 + v1, p0 + v0, p1 + v1, 3, true);\n }\n }\n },\n getValue: function getValue() {\n if (this.elem.globalData.frameId === this.frameId) {\n return;\n }\n\n this.frameId = this.elem.globalData.frameId;\n this.iterateDynamicProperties();\n\n if (this._mdf) {\n this.convertRectToPath();\n }\n },\n reset: resetShape\n };\n extendPrototype([DynamicPropertyContainer], RectShapePropertyFactory);\n return RectShapePropertyFactory;\n }();\n\n function getShapeProp(elem, data, type) {\n var prop;\n\n if (type === 3 || type === 4) {\n var dataProp = type === 3 ? data.pt : data.ks;\n var keys = dataProp.k;\n\n if (keys.length) {\n prop = new KeyframedShapeProperty(elem, data, type);\n } else {\n prop = new ShapeProperty(elem, data, type);\n }\n } else if (type === 5) {\n prop = new RectShapeProperty(elem, data);\n } else if (type === 6) {\n prop = new EllShapeProperty(elem, data);\n } else if (type === 7) {\n prop = new StarShapeProperty(elem, data);\n }\n\n if (prop.k) {\n elem.addDynamicProperty(prop);\n }\n\n return prop;\n }\n\n function getConstructorFunction() {\n return ShapeProperty;\n }\n\n function getKeyframedConstructorFunction() {\n return KeyframedShapeProperty;\n }\n\n var ob = {};\n ob.getShapeProp = getShapeProp;\n ob.getConstructorFunction = getConstructorFunction;\n ob.getKeyframedConstructorFunction = getKeyframedConstructorFunction;\n return ob;\n }();\n\n /*!\r\n Transformation Matrix v2.0\r\n (c) Epistemex 2014-2015\r\n www.epistemex.com\r\n By Ken Fyrstenberg\r\n Contributions by leeoniya.\r\n License: MIT, header required.\r\n */\n\n /**\r\n * 2D transformation matrix object initialized with identity matrix.\r\n *\r\n * The matrix can synchronize a canvas context by supplying the context\r\n * as an argument, or later apply current absolute transform to an\r\n * existing context.\r\n *\r\n * All values are handled as floating point values.\r\n *\r\n * @param {CanvasRenderingContext2D} [context] - Optional context to sync with Matrix\r\n * @prop {number} a - scale x\r\n * @prop {number} b - shear y\r\n * @prop {number} c - shear x\r\n * @prop {number} d - scale y\r\n * @prop {number} e - translate x\r\n * @prop {number} f - translate y\r\n * @prop {CanvasRenderingContext2D|null} [context=null] - set or get current canvas context\r\n * @constructor\r\n */\n\n var Matrix = function () {\n var _cos = Math.cos;\n var _sin = Math.sin;\n var _tan = Math.tan;\n var _rnd = Math.round;\n\n function reset() {\n this.props[0] = 1;\n this.props[1] = 0;\n this.props[2] = 0;\n this.props[3] = 0;\n this.props[4] = 0;\n this.props[5] = 1;\n this.props[6] = 0;\n this.props[7] = 0;\n this.props[8] = 0;\n this.props[9] = 0;\n this.props[10] = 1;\n this.props[11] = 0;\n this.props[12] = 0;\n this.props[13] = 0;\n this.props[14] = 0;\n this.props[15] = 1;\n return this;\n }\n\n function rotate(angle) {\n if (angle === 0) {\n return this;\n }\n\n var mCos = _cos(angle);\n\n var mSin = _sin(angle);\n\n return this._t(mCos, -mSin, 0, 0, mSin, mCos, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);\n }\n\n function rotateX(angle) {\n if (angle === 0) {\n return this;\n }\n\n var mCos = _cos(angle);\n\n var mSin = _sin(angle);\n\n return this._t(1, 0, 0, 0, 0, mCos, -mSin, 0, 0, mSin, mCos, 0, 0, 0, 0, 1);\n }\n\n function rotateY(angle) {\n if (angle === 0) {\n return this;\n }\n\n var mCos = _cos(angle);\n\n var mSin = _sin(angle);\n\n return this._t(mCos, 0, mSin, 0, 0, 1, 0, 0, -mSin, 0, mCos, 0, 0, 0, 0, 1);\n }\n\n function rotateZ(angle) {\n if (angle === 0) {\n return this;\n }\n\n var mCos = _cos(angle);\n\n var mSin = _sin(angle);\n\n return this._t(mCos, -mSin, 0, 0, mSin, mCos, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);\n }\n\n function shear(sx, sy) {\n return this._t(1, sy, sx, 1, 0, 0);\n }\n\n function skew(ax, ay) {\n return this.shear(_tan(ax), _tan(ay));\n }\n\n function skewFromAxis(ax, angle) {\n var mCos = _cos(angle);\n\n var mSin = _sin(angle);\n\n return this._t(mCos, mSin, 0, 0, -mSin, mCos, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)._t(1, 0, 0, 0, _tan(ax), 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)._t(mCos, -mSin, 0, 0, mSin, mCos, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); // return this._t(mCos, mSin, -mSin, mCos, 0, 0)._t(1, 0, _tan(ax), 1, 0, 0)._t(mCos, -mSin, mSin, mCos, 0, 0);\n }\n\n function scale(sx, sy, sz) {\n if (!sz && sz !== 0) {\n sz = 1;\n }\n\n if (sx === 1 && sy === 1 && sz === 1) {\n return this;\n }\n\n return this._t(sx, 0, 0, 0, 0, sy, 0, 0, 0, 0, sz, 0, 0, 0, 0, 1);\n }\n\n function setTransform(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p) {\n this.props[0] = a;\n this.props[1] = b;\n this.props[2] = c;\n this.props[3] = d;\n this.props[4] = e;\n this.props[5] = f;\n this.props[6] = g;\n this.props[7] = h;\n this.props[8] = i;\n this.props[9] = j;\n this.props[10] = k;\n this.props[11] = l;\n this.props[12] = m;\n this.props[13] = n;\n this.props[14] = o;\n this.props[15] = p;\n return this;\n }\n\n function translate(tx, ty, tz) {\n tz = tz || 0;\n\n if (tx !== 0 || ty !== 0 || tz !== 0) {\n return this._t(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, tx, ty, tz, 1);\n }\n\n return this;\n }\n\n function transform(a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2, n2, o2, p2) {\n var _p = this.props;\n\n if (a2 === 1 && b2 === 0 && c2 === 0 && d2 === 0 && e2 === 0 && f2 === 1 && g2 === 0 && h2 === 0 && i2 === 0 && j2 === 0 && k2 === 1 && l2 === 0) {\n // NOTE: commenting this condition because TurboFan deoptimizes code when present\n // if(m2 !== 0 || n2 !== 0 || o2 !== 0){\n _p[12] = _p[12] * a2 + _p[15] * m2;\n _p[13] = _p[13] * f2 + _p[15] * n2;\n _p[14] = _p[14] * k2 + _p[15] * o2;\n _p[15] *= p2; // }\n\n this._identityCalculated = false;\n return this;\n }\n\n var a1 = _p[0];\n var b1 = _p[1];\n var c1 = _p[2];\n var d1 = _p[3];\n var e1 = _p[4];\n var f1 = _p[5];\n var g1 = _p[6];\n var h1 = _p[7];\n var i1 = _p[8];\n var j1 = _p[9];\n var k1 = _p[10];\n var l1 = _p[11];\n var m1 = _p[12];\n var n1 = _p[13];\n var o1 = _p[14];\n var p1 = _p[15];\n /* matrix order (canvas compatible):\r\n * ace\r\n * bdf\r\n * 001\r\n */\n\n _p[0] = a1 * a2 + b1 * e2 + c1 * i2 + d1 * m2;\n _p[1] = a1 * b2 + b1 * f2 + c1 * j2 + d1 * n2;\n _p[2] = a1 * c2 + b1 * g2 + c1 * k2 + d1 * o2;\n _p[3] = a1 * d2 + b1 * h2 + c1 * l2 + d1 * p2;\n _p[4] = e1 * a2 + f1 * e2 + g1 * i2 + h1 * m2;\n _p[5] = e1 * b2 + f1 * f2 + g1 * j2 + h1 * n2;\n _p[6] = e1 * c2 + f1 * g2 + g1 * k2 + h1 * o2;\n _p[7] = e1 * d2 + f1 * h2 + g1 * l2 + h1 * p2;\n _p[8] = i1 * a2 + j1 * e2 + k1 * i2 + l1 * m2;\n _p[9] = i1 * b2 + j1 * f2 + k1 * j2 + l1 * n2;\n _p[10] = i1 * c2 + j1 * g2 + k1 * k2 + l1 * o2;\n _p[11] = i1 * d2 + j1 * h2 + k1 * l2 + l1 * p2;\n _p[12] = m1 * a2 + n1 * e2 + o1 * i2 + p1 * m2;\n _p[13] = m1 * b2 + n1 * f2 + o1 * j2 + p1 * n2;\n _p[14] = m1 * c2 + n1 * g2 + o1 * k2 + p1 * o2;\n _p[15] = m1 * d2 + n1 * h2 + o1 * l2 + p1 * p2;\n this._identityCalculated = false;\n return this;\n }\n\n function multiply(matrix) {\n var matrixProps = matrix.props;\n return this.transform(matrixProps[0], matrixProps[1], matrixProps[2], matrixProps[3], matrixProps[4], matrixProps[5], matrixProps[6], matrixProps[7], matrixProps[8], matrixProps[9], matrixProps[10], matrixProps[11], matrixProps[12], matrixProps[13], matrixProps[14], matrixProps[15]);\n }\n\n function isIdentity() {\n if (!this._identityCalculated) {\n this._identity = !(this.props[0] !== 1 || this.props[1] !== 0 || this.props[2] !== 0 || this.props[3] !== 0 || this.props[4] !== 0 || this.props[5] !== 1 || this.props[6] !== 0 || this.props[7] !== 0 || this.props[8] !== 0 || this.props[9] !== 0 || this.props[10] !== 1 || this.props[11] !== 0 || this.props[12] !== 0 || this.props[13] !== 0 || this.props[14] !== 0 || this.props[15] !== 1);\n this._identityCalculated = true;\n }\n\n return this._identity;\n }\n\n function equals(matr) {\n var i = 0;\n\n while (i < 16) {\n if (matr.props[i] !== this.props[i]) {\n return false;\n }\n\n i += 1;\n }\n\n return true;\n }\n\n function clone(matr) {\n var i;\n\n for (i = 0; i < 16; i += 1) {\n matr.props[i] = this.props[i];\n }\n\n return matr;\n }\n\n function cloneFromProps(props) {\n var i;\n\n for (i = 0; i < 16; i += 1) {\n this.props[i] = props[i];\n }\n }\n\n function applyToPoint(x, y, z) {\n return {\n x: x * this.props[0] + y * this.props[4] + z * this.props[8] + this.props[12],\n y: x * this.props[1] + y * this.props[5] + z * this.props[9] + this.props[13],\n z: x * this.props[2] + y * this.props[6] + z * this.props[10] + this.props[14]\n };\n /* return {\r\n x: x * me.a + y * me.c + me.e,\r\n y: x * me.b + y * me.d + me.f\r\n }; */\n }\n\n function applyToX(x, y, z) {\n return x * this.props[0] + y * this.props[4] + z * this.props[8] + this.props[12];\n }\n\n function applyToY(x, y, z) {\n return x * this.props[1] + y * this.props[5] + z * this.props[9] + this.props[13];\n }\n\n function applyToZ(x, y, z) {\n return x * this.props[2] + y * this.props[6] + z * this.props[10] + this.props[14];\n }\n\n function getInverseMatrix() {\n var determinant = this.props[0] * this.props[5] - this.props[1] * this.props[4];\n var a = this.props[5] / determinant;\n var b = -this.props[1] / determinant;\n var c = -this.props[4] / determinant;\n var d = this.props[0] / determinant;\n var e = (this.props[4] * this.props[13] - this.props[5] * this.props[12]) / determinant;\n var f = -(this.props[0] * this.props[13] - this.props[1] * this.props[12]) / determinant;\n var inverseMatrix = new Matrix();\n inverseMatrix.props[0] = a;\n inverseMatrix.props[1] = b;\n inverseMatrix.props[4] = c;\n inverseMatrix.props[5] = d;\n inverseMatrix.props[12] = e;\n inverseMatrix.props[13] = f;\n return inverseMatrix;\n }\n\n function inversePoint(pt) {\n var inverseMatrix = this.getInverseMatrix();\n return inverseMatrix.applyToPointArray(pt[0], pt[1], pt[2] || 0);\n }\n\n function inversePoints(pts) {\n var i;\n var len = pts.length;\n var retPts = [];\n\n for (i = 0; i < len; i += 1) {\n retPts[i] = inversePoint(pts[i]);\n }\n\n return retPts;\n }\n\n function applyToTriplePoints(pt1, pt2, pt3) {\n var arr = createTypedArray('float32', 6);\n\n if (this.isIdentity()) {\n arr[0] = pt1[0];\n arr[1] = pt1[1];\n arr[2] = pt2[0];\n arr[3] = pt2[1];\n arr[4] = pt3[0];\n arr[5] = pt3[1];\n } else {\n var p0 = this.props[0];\n var p1 = this.props[1];\n var p4 = this.props[4];\n var p5 = this.props[5];\n var p12 = this.props[12];\n var p13 = this.props[13];\n arr[0] = pt1[0] * p0 + pt1[1] * p4 + p12;\n arr[1] = pt1[0] * p1 + pt1[1] * p5 + p13;\n arr[2] = pt2[0] * p0 + pt2[1] * p4 + p12;\n arr[3] = pt2[0] * p1 + pt2[1] * p5 + p13;\n arr[4] = pt3[0] * p0 + pt3[1] * p4 + p12;\n arr[5] = pt3[0] * p1 + pt3[1] * p5 + p13;\n }\n\n return arr;\n }\n\n function applyToPointArray(x, y, z) {\n var arr;\n\n if (this.isIdentity()) {\n arr = [x, y, z];\n } else {\n arr = [x * this.props[0] + y * this.props[4] + z * this.props[8] + this.props[12], x * this.props[1] + y * this.props[5] + z * this.props[9] + this.props[13], x * this.props[2] + y * this.props[6] + z * this.props[10] + this.props[14]];\n }\n\n return arr;\n }\n\n function applyToPointStringified(x, y) {\n if (this.isIdentity()) {\n return x + ',' + y;\n }\n\n var _p = this.props;\n return Math.round((x * _p[0] + y * _p[4] + _p[12]) * 100) / 100 + ',' + Math.round((x * _p[1] + y * _p[5] + _p[13]) * 100) / 100;\n }\n\n function toCSS() {\n // Doesn't make much sense to add this optimization. If it is an identity matrix, it's very likely this will get called only once since it won't be keyframed.\n\n /* if(this.isIdentity()) {\r\n return '';\r\n } */\n var i = 0;\n var props = this.props;\n var cssValue = 'matrix3d(';\n var v = 10000;\n\n while (i < 16) {\n cssValue += _rnd(props[i] * v) / v;\n cssValue += i === 15 ? ')' : ',';\n i += 1;\n }\n\n return cssValue;\n }\n\n function roundMatrixProperty(val) {\n var v = 10000;\n\n if (val < 0.000001 && val > 0 || val > -0.000001 && val < 0) {\n return _rnd(val * v) / v;\n }\n\n return val;\n }\n\n function to2dCSS() {\n // Doesn't make much sense to add this optimization. If it is an identity matrix, it's very likely this will get called only once since it won't be keyframed.\n\n /* if(this.isIdentity()) {\r\n return '';\r\n } */\n var props = this.props;\n\n var _a = roundMatrixProperty(props[0]);\n\n var _b = roundMatrixProperty(props[1]);\n\n var _c = roundMatrixProperty(props[4]);\n\n var _d = roundMatrixProperty(props[5]);\n\n var _e = roundMatrixProperty(props[12]);\n\n var _f = roundMatrixProperty(props[13]);\n\n return 'matrix(' + _a + ',' + _b + ',' + _c + ',' + _d + ',' + _e + ',' + _f + ')';\n }\n\n return function () {\n this.reset = reset;\n this.rotate = rotate;\n this.rotateX = rotateX;\n this.rotateY = rotateY;\n this.rotateZ = rotateZ;\n this.skew = skew;\n this.skewFromAxis = skewFromAxis;\n this.shear = shear;\n this.scale = scale;\n this.setTransform = setTransform;\n this.translate = translate;\n this.transform = transform;\n this.multiply = multiply;\n this.applyToPoint = applyToPoint;\n this.applyToX = applyToX;\n this.applyToY = applyToY;\n this.applyToZ = applyToZ;\n this.applyToPointArray = applyToPointArray;\n this.applyToTriplePoints = applyToTriplePoints;\n this.applyToPointStringified = applyToPointStringified;\n this.toCSS = toCSS;\n this.to2dCSS = to2dCSS;\n this.clone = clone;\n this.cloneFromProps = cloneFromProps;\n this.equals = equals;\n this.inversePoints = inversePoints;\n this.inversePoint = inversePoint;\n this.getInverseMatrix = getInverseMatrix;\n this._t = this.transform;\n this.isIdentity = isIdentity;\n this._identity = true;\n this._identityCalculated = false;\n this.props = createTypedArray('float32', 16);\n this.reset();\n };\n }();\n\n function _typeof$3(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof$3 = function _typeof(obj) { return typeof obj; }; } else { _typeof$3 = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof$3(obj); }\n var lottie = {};\n var standalone = '__[STANDALONE]__';\n var animationData = '__[ANIMATIONDATA]__';\n var renderer = '';\n\n function setLocation(href) {\n setLocationHref(href);\n }\n\n function searchAnimations() {\n if (standalone === true) {\n animationManager.searchAnimations(animationData, standalone, renderer);\n } else {\n animationManager.searchAnimations();\n }\n }\n\n function setSubframeRendering(flag) {\n setSubframeEnabled(flag);\n }\n\n function setPrefix(prefix) {\n setIdPrefix(prefix);\n }\n\n function loadAnimation(params) {\n if (standalone === true) {\n params.animationData = JSON.parse(animationData);\n }\n\n return animationManager.loadAnimation(params);\n }\n\n function setQuality(value) {\n if (typeof value === 'string') {\n switch (value) {\n case 'high':\n setDefaultCurveSegments(200);\n break;\n\n default:\n case 'medium':\n setDefaultCurveSegments(50);\n break;\n\n case 'low':\n setDefaultCurveSegments(10);\n break;\n }\n } else if (!isNaN(value) && value > 1) {\n setDefaultCurveSegments(value);\n }\n\n if (getDefaultCurveSegments() >= 50) {\n roundValues(false);\n } else {\n roundValues(true);\n }\n }\n\n function inBrowser() {\n return typeof navigator !== 'undefined';\n }\n\n function installPlugin(type, plugin) {\n if (type === 'expressions') {\n setExpressionsPlugin(plugin);\n }\n }\n\n function getFactory(name) {\n switch (name) {\n case 'propertyFactory':\n return PropertyFactory;\n\n case 'shapePropertyFactory':\n return ShapePropertyFactory;\n\n case 'matrix':\n return Matrix;\n\n default:\n return null;\n }\n }\n\n lottie.play = animationManager.play;\n lottie.pause = animationManager.pause;\n lottie.setLocationHref = setLocation;\n lottie.togglePause = animationManager.togglePause;\n lottie.setSpeed = animationManager.setSpeed;\n lottie.setDirection = animationManager.setDirection;\n lottie.stop = animationManager.stop;\n lottie.searchAnimations = searchAnimations;\n lottie.registerAnimation = animationManager.registerAnimation;\n lottie.loadAnimation = loadAnimation;\n lottie.setSubframeRendering = setSubframeRendering;\n lottie.resize = animationManager.resize; // lottie.start = start;\n\n lottie.goToAndStop = animationManager.goToAndStop;\n lottie.destroy = animationManager.destroy;\n lottie.setQuality = setQuality;\n lottie.inBrowser = inBrowser;\n lottie.installPlugin = installPlugin;\n lottie.freeze = animationManager.freeze;\n lottie.unfreeze = animationManager.unfreeze;\n lottie.setVolume = animationManager.setVolume;\n lottie.mute = animationManager.mute;\n lottie.unmute = animationManager.unmute;\n lottie.getRegisteredAnimations = animationManager.getRegisteredAnimations;\n lottie.useWebWorker = setWebWorker;\n lottie.setIDPrefix = setPrefix;\n lottie.__getFactory = getFactory;\n lottie.version = '5.12.2';\n\n function checkReady() {\n if (document.readyState === 'complete') {\n clearInterval(readyStateCheckInterval);\n searchAnimations();\n }\n }\n\n function getQueryVariable(variable) {\n var vars = queryString.split('&');\n\n for (var i = 0; i < vars.length; i += 1) {\n var pair = vars[i].split('=');\n\n if (decodeURIComponent(pair[0]) == variable) {\n // eslint-disable-line eqeqeq\n return decodeURIComponent(pair[1]);\n }\n }\n\n return null;\n }\n\n var queryString = '';\n\n if (standalone) {\n var scripts = document.getElementsByTagName('script');\n var index = scripts.length - 1;\n var myScript = scripts[index] || {\n src: ''\n };\n queryString = myScript.src ? myScript.src.replace(/^[^\\?]+\\??/, '') : ''; // eslint-disable-line no-useless-escape\n\n renderer = getQueryVariable('renderer');\n }\n\n var readyStateCheckInterval = setInterval(checkReady, 100); // this adds bodymovin to the window object for backwards compatibility\n\n try {\n if (!((typeof exports === \"undefined\" ? \"undefined\" : _typeof$3(exports)) === 'object' && typeof module !== 'undefined') && !(typeof define === 'function' && define.amd) // eslint-disable-line no-undef\n ) {\n window.bodymovin = lottie;\n }\n } catch (err) {//\n }\n\n var ShapeModifiers = function () {\n var ob = {};\n var modifiers = {};\n ob.registerModifier = registerModifier;\n ob.getModifier = getModifier;\n\n function registerModifier(nm, factory) {\n if (!modifiers[nm]) {\n modifiers[nm] = factory;\n }\n }\n\n function getModifier(nm, elem, data) {\n return new modifiers[nm](elem, data);\n }\n\n return ob;\n }();\n\n function ShapeModifier() {}\n\n ShapeModifier.prototype.initModifierProperties = function () {};\n\n ShapeModifier.prototype.addShapeToModifier = function () {};\n\n ShapeModifier.prototype.addShape = function (data) {\n if (!this.closed) {\n // Adding shape to dynamic properties. It covers the case where a shape has no effects applied, to reset it's _mdf state on every tick.\n data.sh.container.addDynamicProperty(data.sh);\n var shapeData = {\n shape: data.sh,\n data: data,\n localShapeCollection: shapeCollectionPool.newShapeCollection()\n };\n this.shapes.push(shapeData);\n this.addShapeToModifier(shapeData);\n\n if (this._isAnimated) {\n data.setAsAnimated();\n }\n }\n };\n\n ShapeModifier.prototype.init = function (elem, data) {\n this.shapes = [];\n this.elem = elem;\n this.initDynamicPropertyContainer(elem);\n this.initModifierProperties(elem, data);\n this.frameId = initialDefaultFrame;\n this.closed = false;\n this.k = false;\n\n if (this.dynamicProperties.length) {\n this.k = true;\n } else {\n this.getValue(true);\n }\n };\n\n ShapeModifier.prototype.processKeys = function () {\n if (this.elem.globalData.frameId === this.frameId) {\n return;\n }\n\n this.frameId = this.elem.globalData.frameId;\n this.iterateDynamicProperties();\n };\n\n extendPrototype([DynamicPropertyContainer], ShapeModifier);\n\n function TrimModifier() {}\n\n extendPrototype([ShapeModifier], TrimModifier);\n\n TrimModifier.prototype.initModifierProperties = function (elem, data) {\n this.s = PropertyFactory.getProp(elem, data.s, 0, 0.01, this);\n this.e = PropertyFactory.getProp(elem, data.e, 0, 0.01, this);\n this.o = PropertyFactory.getProp(elem, data.o, 0, 0, this);\n this.sValue = 0;\n this.eValue = 0;\n this.getValue = this.processKeys;\n this.m = data.m;\n this._isAnimated = !!this.s.effectsSequence.length || !!this.e.effectsSequence.length || !!this.o.effectsSequence.length;\n };\n\n TrimModifier.prototype.addShapeToModifier = function (shapeData) {\n shapeData.pathsData = [];\n };\n\n TrimModifier.prototype.calculateShapeEdges = function (s, e, shapeLength, addedLength, totalModifierLength) {\n var segments = [];\n\n if (e <= 1) {\n segments.push({\n s: s,\n e: e\n });\n } else if (s >= 1) {\n segments.push({\n s: s - 1,\n e: e - 1\n });\n } else {\n segments.push({\n s: s,\n e: 1\n });\n segments.push({\n s: 0,\n e: e - 1\n });\n }\n\n var shapeSegments = [];\n var i;\n var len = segments.length;\n var segmentOb;\n\n for (i = 0; i < len; i += 1) {\n segmentOb = segments[i];\n\n if (!(segmentOb.e * totalModifierLength < addedLength || segmentOb.s * totalModifierLength > addedLength + shapeLength)) {\n var shapeS;\n var shapeE;\n\n if (segmentOb.s * totalModifierLength <= addedLength) {\n shapeS = 0;\n } else {\n shapeS = (segmentOb.s * totalModifierLength - addedLength) / shapeLength;\n }\n\n if (segmentOb.e * totalModifierLength >= addedLength + shapeLength) {\n shapeE = 1;\n } else {\n shapeE = (segmentOb.e * totalModifierLength - addedLength) / shapeLength;\n }\n\n shapeSegments.push([shapeS, shapeE]);\n }\n }\n\n if (!shapeSegments.length) {\n shapeSegments.push([0, 0]);\n }\n\n return shapeSegments;\n };\n\n TrimModifier.prototype.releasePathsData = function (pathsData) {\n var i;\n var len = pathsData.length;\n\n for (i = 0; i < len; i += 1) {\n segmentsLengthPool.release(pathsData[i]);\n }\n\n pathsData.length = 0;\n return pathsData;\n };\n\n TrimModifier.prototype.processShapes = function (_isFirstFrame) {\n var s;\n var e;\n\n if (this._mdf || _isFirstFrame) {\n var o = this.o.v % 360 / 360;\n\n if (o < 0) {\n o += 1;\n }\n\n if (this.s.v > 1) {\n s = 1 + o;\n } else if (this.s.v < 0) {\n s = 0 + o;\n } else {\n s = this.s.v + o;\n }\n\n if (this.e.v > 1) {\n e = 1 + o;\n } else if (this.e.v < 0) {\n e = 0 + o;\n } else {\n e = this.e.v + o;\n }\n\n if (s > e) {\n var _s = s;\n s = e;\n e = _s;\n }\n\n s = Math.round(s * 10000) * 0.0001;\n e = Math.round(e * 10000) * 0.0001;\n this.sValue = s;\n this.eValue = e;\n } else {\n s = this.sValue;\n e = this.eValue;\n }\n\n var shapePaths;\n var i;\n var len = this.shapes.length;\n var j;\n var jLen;\n var pathsData;\n var pathData;\n var totalShapeLength;\n var totalModifierLength = 0;\n\n if (e === s) {\n for (i = 0; i < len; i += 1) {\n this.shapes[i].localShapeCollection.releaseShapes();\n this.shapes[i].shape._mdf = true;\n this.shapes[i].shape.paths = this.shapes[i].localShapeCollection;\n\n if (this._mdf) {\n this.shapes[i].pathsData.length = 0;\n }\n }\n } else if (!(e === 1 && s === 0 || e === 0 && s === 1)) {\n var segments = [];\n var shapeData;\n var localShapeCollection;\n\n for (i = 0; i < len; i += 1) {\n shapeData = this.shapes[i]; // if shape hasn't changed and trim properties haven't changed, cached previous path can be used\n\n if (!shapeData.shape._mdf && !this._mdf && !_isFirstFrame && this.m !== 2) {\n shapeData.shape.paths = shapeData.localShapeCollection;\n } else {\n shapePaths = shapeData.shape.paths;\n jLen = shapePaths._length;\n totalShapeLength = 0;\n\n if (!shapeData.shape._mdf && shapeData.pathsData.length) {\n totalShapeLength = shapeData.totalShapeLength;\n } else {\n pathsData = this.releasePathsData(shapeData.pathsData);\n\n for (j = 0; j < jLen; j += 1) {\n pathData = bez.getSegmentsLength(shapePaths.shapes[j]);\n pathsData.push(pathData);\n totalShapeLength += pathData.totalLength;\n }\n\n shapeData.totalShapeLength = totalShapeLength;\n shapeData.pathsData = pathsData;\n }\n\n totalModifierLength += totalShapeLength;\n shapeData.shape._mdf = true;\n }\n }\n\n var shapeS = s;\n var shapeE = e;\n var addedLength = 0;\n var edges;\n\n for (i = len - 1; i >= 0; i -= 1) {\n shapeData = this.shapes[i];\n\n if (shapeData.shape._mdf) {\n localShapeCollection = shapeData.localShapeCollection;\n localShapeCollection.releaseShapes(); // if m === 2 means paths are trimmed individually so edges need to be found for this specific shape relative to whoel group\n\n if (this.m === 2 && len > 1) {\n edges = this.calculateShapeEdges(s, e, shapeData.totalShapeLength, addedLength, totalModifierLength);\n addedLength += shapeData.totalShapeLength;\n } else {\n edges = [[shapeS, shapeE]];\n }\n\n jLen = edges.length;\n\n for (j = 0; j < jLen; j += 1) {\n shapeS = edges[j][0];\n shapeE = edges[j][1];\n segments.length = 0;\n\n if (shapeE <= 1) {\n segments.push({\n s: shapeData.totalShapeLength * shapeS,\n e: shapeData.totalShapeLength * shapeE\n });\n } else if (shapeS >= 1) {\n segments.push({\n s: shapeData.totalShapeLength * (shapeS - 1),\n e: shapeData.totalShapeLength * (shapeE - 1)\n });\n } else {\n segments.push({\n s: shapeData.totalShapeLength * shapeS,\n e: shapeData.totalShapeLength\n });\n segments.push({\n s: 0,\n e: shapeData.totalShapeLength * (shapeE - 1)\n });\n }\n\n var newShapesData = this.addShapes(shapeData, segments[0]);\n\n if (segments[0].s !== segments[0].e) {\n if (segments.length > 1) {\n var lastShapeInCollection = shapeData.shape.paths.shapes[shapeData.shape.paths._length - 1];\n\n if (lastShapeInCollection.c) {\n var lastShape = newShapesData.pop();\n this.addPaths(newShapesData, localShapeCollection);\n newShapesData = this.addShapes(shapeData, segments[1], lastShape);\n } else {\n this.addPaths(newShapesData, localShapeCollection);\n newShapesData = this.addShapes(shapeData, segments[1]);\n }\n }\n\n this.addPaths(newShapesData, localShapeCollection);\n }\n }\n\n shapeData.shape.paths = localShapeCollection;\n }\n }\n } else if (this._mdf) {\n for (i = 0; i < len; i += 1) {\n // Releasign Trim Cached paths data when no trim applied in case shapes are modified inbetween.\n // Don't remove this even if it's losing cached info.\n this.shapes[i].pathsData.length = 0;\n this.shapes[i].shape._mdf = true;\n }\n }\n };\n\n TrimModifier.prototype.addPaths = function (newPaths, localShapeCollection) {\n var i;\n var len = newPaths.length;\n\n for (i = 0; i < len; i += 1) {\n localShapeCollection.addShape(newPaths[i]);\n }\n };\n\n TrimModifier.prototype.addSegment = function (pt1, pt2, pt3, pt4, shapePath, pos, newShape) {\n shapePath.setXYAt(pt2[0], pt2[1], 'o', pos);\n shapePath.setXYAt(pt3[0], pt3[1], 'i', pos + 1);\n\n if (newShape) {\n shapePath.setXYAt(pt1[0], pt1[1], 'v', pos);\n }\n\n shapePath.setXYAt(pt4[0], pt4[1], 'v', pos + 1);\n };\n\n TrimModifier.prototype.addSegmentFromArray = function (points, shapePath, pos, newShape) {\n shapePath.setXYAt(points[1], points[5], 'o', pos);\n shapePath.setXYAt(points[2], points[6], 'i', pos + 1);\n\n if (newShape) {\n shapePath.setXYAt(points[0], points[4], 'v', pos);\n }\n\n shapePath.setXYAt(points[3], points[7], 'v', pos + 1);\n };\n\n TrimModifier.prototype.addShapes = function (shapeData, shapeSegment, shapePath) {\n var pathsData = shapeData.pathsData;\n var shapePaths = shapeData.shape.paths.shapes;\n var i;\n var len = shapeData.shape.paths._length;\n var j;\n var jLen;\n var addedLength = 0;\n var currentLengthData;\n var segmentCount;\n var lengths;\n var segment;\n var shapes = [];\n var initPos;\n var newShape = true;\n\n if (!shapePath) {\n shapePath = shapePool.newElement();\n segmentCount = 0;\n initPos = 0;\n } else {\n segmentCount = shapePath._length;\n initPos = shapePath._length;\n }\n\n shapes.push(shapePath);\n\n for (i = 0; i < len; i += 1) {\n lengths = pathsData[i].lengths;\n shapePath.c = shapePaths[i].c;\n jLen = shapePaths[i].c ? lengths.length : lengths.length + 1;\n\n for (j = 1; j < jLen; j += 1) {\n currentLengthData = lengths[j - 1];\n\n if (addedLength + currentLengthData.addedLength < shapeSegment.s) {\n addedLength += currentLengthData.addedLength;\n shapePath.c = false;\n } else if (addedLength > shapeSegment.e) {\n shapePath.c = false;\n break;\n } else {\n if (shapeSegment.s <= addedLength && shapeSegment.e >= addedLength + currentLengthData.addedLength) {\n this.addSegment(shapePaths[i].v[j - 1], shapePaths[i].o[j - 1], shapePaths[i].i[j], shapePaths[i].v[j], shapePath, segmentCount, newShape);\n newShape = false;\n } else {\n segment = bez.getNewSegment(shapePaths[i].v[j - 1], shapePaths[i].v[j], shapePaths[i].o[j - 1], shapePaths[i].i[j], (shapeSegment.s - addedLength) / currentLengthData.addedLength, (shapeSegment.e - addedLength) / currentLengthData.addedLength, lengths[j - 1]);\n this.addSegmentFromArray(segment, shapePath, segmentCount, newShape); // this.addSegment(segment.pt1, segment.pt3, segment.pt4, segment.pt2, shapePath, segmentCount, newShape);\n\n newShape = false;\n shapePath.c = false;\n }\n\n addedLength += currentLengthData.addedLength;\n segmentCount += 1;\n }\n }\n\n if (shapePaths[i].c && lengths.length) {\n currentLengthData = lengths[j - 1];\n\n if (addedLength <= shapeSegment.e) {\n var segmentLength = lengths[j - 1].addedLength;\n\n if (shapeSegment.s <= addedLength && shapeSegment.e >= addedLength + segmentLength) {\n this.addSegment(shapePaths[i].v[j - 1], shapePaths[i].o[j - 1], shapePaths[i].i[0], shapePaths[i].v[0], shapePath, segmentCount, newShape);\n newShape = false;\n } else {\n segment = bez.getNewSegment(shapePaths[i].v[j - 1], shapePaths[i].v[0], shapePaths[i].o[j - 1], shapePaths[i].i[0], (shapeSegment.s - addedLength) / segmentLength, (shapeSegment.e - addedLength) / segmentLength, lengths[j - 1]);\n this.addSegmentFromArray(segment, shapePath, segmentCount, newShape); // this.addSegment(segment.pt1, segment.pt3, segment.pt4, segment.pt2, shapePath, segmentCount, newShape);\n\n newShape = false;\n shapePath.c = false;\n }\n } else {\n shapePath.c = false;\n }\n\n addedLength += currentLengthData.addedLength;\n segmentCount += 1;\n }\n\n if (shapePath._length) {\n shapePath.setXYAt(shapePath.v[initPos][0], shapePath.v[initPos][1], 'i', initPos);\n shapePath.setXYAt(shapePath.v[shapePath._length - 1][0], shapePath.v[shapePath._length - 1][1], 'o', shapePath._length - 1);\n }\n\n if (addedLength > shapeSegment.e) {\n break;\n }\n\n if (i < len - 1) {\n shapePath = shapePool.newElement();\n newShape = true;\n shapes.push(shapePath);\n segmentCount = 0;\n }\n }\n\n return shapes;\n };\n\n function PuckerAndBloatModifier() {}\n\n extendPrototype([ShapeModifier], PuckerAndBloatModifier);\n\n PuckerAndBloatModifier.prototype.initModifierProperties = function (elem, data) {\n this.getValue = this.processKeys;\n this.amount = PropertyFactory.getProp(elem, data.a, 0, null, this);\n this._isAnimated = !!this.amount.effectsSequence.length;\n };\n\n PuckerAndBloatModifier.prototype.processPath = function (path, amount) {\n var percent = amount / 100;\n var centerPoint = [0, 0];\n var pathLength = path._length;\n var i = 0;\n\n for (i = 0; i < pathLength; i += 1) {\n centerPoint[0] += path.v[i][0];\n centerPoint[1] += path.v[i][1];\n }\n\n centerPoint[0] /= pathLength;\n centerPoint[1] /= pathLength;\n var clonedPath = shapePool.newElement();\n clonedPath.c = path.c;\n var vX;\n var vY;\n var oX;\n var oY;\n var iX;\n var iY;\n\n for (i = 0; i < pathLength; i += 1) {\n vX = path.v[i][0] + (centerPoint[0] - path.v[i][0]) * percent;\n vY = path.v[i][1] + (centerPoint[1] - path.v[i][1]) * percent;\n oX = path.o[i][0] + (centerPoint[0] - path.o[i][0]) * -percent;\n oY = path.o[i][1] + (centerPoint[1] - path.o[i][1]) * -percent;\n iX = path.i[i][0] + (centerPoint[0] - path.i[i][0]) * -percent;\n iY = path.i[i][1] + (centerPoint[1] - path.i[i][1]) * -percent;\n clonedPath.setTripleAt(vX, vY, oX, oY, iX, iY, i);\n }\n\n return clonedPath;\n };\n\n PuckerAndBloatModifier.prototype.processShapes = function (_isFirstFrame) {\n var shapePaths;\n var i;\n var len = this.shapes.length;\n var j;\n var jLen;\n var amount = this.amount.v;\n\n if (amount !== 0) {\n var shapeData;\n var localShapeCollection;\n\n for (i = 0; i < len; i += 1) {\n shapeData = this.shapes[i];\n localShapeCollection = shapeData.localShapeCollection;\n\n if (!(!shapeData.shape._mdf && !this._mdf && !_isFirstFrame)) {\n localShapeCollection.releaseShapes();\n shapeData.shape._mdf = true;\n shapePaths = shapeData.shape.paths.shapes;\n jLen = shapeData.shape.paths._length;\n\n for (j = 0; j < jLen; j += 1) {\n localShapeCollection.addShape(this.processPath(shapePaths[j], amount));\n }\n }\n\n shapeData.shape.paths = shapeData.localShapeCollection;\n }\n }\n\n if (!this.dynamicProperties.length) {\n this._mdf = false;\n }\n };\n\n var TransformPropertyFactory = function () {\n var defaultVector = [0, 0];\n\n function applyToMatrix(mat) {\n var _mdf = this._mdf;\n this.iterateDynamicProperties();\n this._mdf = this._mdf || _mdf;\n\n if (this.a) {\n mat.translate(-this.a.v[0], -this.a.v[1], this.a.v[2]);\n }\n\n if (this.s) {\n mat.scale(this.s.v[0], this.s.v[1], this.s.v[2]);\n }\n\n if (this.sk) {\n mat.skewFromAxis(-this.sk.v, this.sa.v);\n }\n\n if (this.r) {\n mat.rotate(-this.r.v);\n } else {\n mat.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]);\n }\n\n if (this.data.p.s) {\n if (this.data.p.z) {\n mat.translate(this.px.v, this.py.v, -this.pz.v);\n } else {\n mat.translate(this.px.v, this.py.v, 0);\n }\n } else {\n mat.translate(this.p.v[0], this.p.v[1], -this.p.v[2]);\n }\n }\n\n function processKeys(forceRender) {\n if (this.elem.globalData.frameId === this.frameId) {\n return;\n }\n\n if (this._isDirty) {\n this.precalculateMatrix();\n this._isDirty = false;\n }\n\n this.iterateDynamicProperties();\n\n if (this._mdf || forceRender) {\n var frameRate;\n this.v.cloneFromProps(this.pre.props);\n\n if (this.appliedTransformations < 1) {\n this.v.translate(-this.a.v[0], -this.a.v[1], this.a.v[2]);\n }\n\n if (this.appliedTransformations < 2) {\n this.v.scale(this.s.v[0], this.s.v[1], this.s.v[2]);\n }\n\n if (this.sk && this.appliedTransformations < 3) {\n this.v.skewFromAxis(-this.sk.v, this.sa.v);\n }\n\n if (this.r && this.appliedTransformations < 4) {\n this.v.rotate(-this.r.v);\n } else if (!this.r && this.appliedTransformations < 4) {\n this.v.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]);\n }\n\n if (this.autoOriented) {\n var v1;\n var v2;\n frameRate = this.elem.globalData.frameRate;\n\n if (this.p && this.p.keyframes && this.p.getValueAtTime) {\n if (this.p._caching.lastFrame + this.p.offsetTime <= this.p.keyframes[0].t) {\n v1 = this.p.getValueAtTime((this.p.keyframes[0].t + 0.01) / frameRate, 0);\n v2 = this.p.getValueAtTime(this.p.keyframes[0].t / frameRate, 0);\n } else if (this.p._caching.lastFrame + this.p.offsetTime >= this.p.keyframes[this.p.keyframes.length - 1].t) {\n v1 = this.p.getValueAtTime(this.p.keyframes[this.p.keyframes.length - 1].t / frameRate, 0);\n v2 = this.p.getValueAtTime((this.p.keyframes[this.p.keyframes.length - 1].t - 0.05) / frameRate, 0);\n } else {\n v1 = this.p.pv;\n v2 = this.p.getValueAtTime((this.p._caching.lastFrame + this.p.offsetTime - 0.01) / frameRate, this.p.offsetTime);\n }\n } else if (this.px && this.px.keyframes && this.py.keyframes && this.px.getValueAtTime && this.py.getValueAtTime) {\n v1 = [];\n v2 = [];\n var px = this.px;\n var py = this.py;\n\n if (px._caching.lastFrame + px.offsetTime <= px.keyframes[0].t) {\n v1[0] = px.getValueAtTime((px.keyframes[0].t + 0.01) / frameRate, 0);\n v1[1] = py.getValueAtTime((py.keyframes[0].t + 0.01) / frameRate, 0);\n v2[0] = px.getValueAtTime(px.keyframes[0].t / frameRate, 0);\n v2[1] = py.getValueAtTime(py.keyframes[0].t / frameRate, 0);\n } else if (px._caching.lastFrame + px.offsetTime >= px.keyframes[px.keyframes.length - 1].t) {\n v1[0] = px.getValueAtTime(px.keyframes[px.keyframes.length - 1].t / frameRate, 0);\n v1[1] = py.getValueAtTime(py.keyframes[py.keyframes.length - 1].t / frameRate, 0);\n v2[0] = px.getValueAtTime((px.keyframes[px.keyframes.length - 1].t - 0.01) / frameRate, 0);\n v2[1] = py.getValueAtTime((py.keyframes[py.keyframes.length - 1].t - 0.01) / frameRate, 0);\n } else {\n v1 = [px.pv, py.pv];\n v2[0] = px.getValueAtTime((px._caching.lastFrame + px.offsetTime - 0.01) / frameRate, px.offsetTime);\n v2[1] = py.getValueAtTime((py._caching.lastFrame + py.offsetTime - 0.01) / frameRate, py.offsetTime);\n }\n } else {\n v2 = defaultVector;\n v1 = v2;\n }\n\n this.v.rotate(-Math.atan2(v1[1] - v2[1], v1[0] - v2[0]));\n }\n\n if (this.data.p && this.data.p.s) {\n if (this.data.p.z) {\n this.v.translate(this.px.v, this.py.v, -this.pz.v);\n } else {\n this.v.translate(this.px.v, this.py.v, 0);\n }\n } else {\n this.v.translate(this.p.v[0], this.p.v[1], -this.p.v[2]);\n }\n }\n\n this.frameId = this.elem.globalData.frameId;\n }\n\n function precalculateMatrix() {\n this.appliedTransformations = 0;\n this.pre.reset();\n\n if (!this.a.effectsSequence.length) {\n this.pre.translate(-this.a.v[0], -this.a.v[1], this.a.v[2]);\n this.appliedTransformations = 1;\n } else {\n return;\n }\n\n if (!this.s.effectsSequence.length) {\n this.pre.scale(this.s.v[0], this.s.v[1], this.s.v[2]);\n this.appliedTransformations = 2;\n } else {\n return;\n }\n\n if (this.sk) {\n if (!this.sk.effectsSequence.length && !this.sa.effectsSequence.length) {\n this.pre.skewFromAxis(-this.sk.v, this.sa.v);\n this.appliedTransformations = 3;\n } else {\n return;\n }\n }\n\n if (this.r) {\n if (!this.r.effectsSequence.length) {\n this.pre.rotate(-this.r.v);\n this.appliedTransformations = 4;\n }\n } else if (!this.rz.effectsSequence.length && !this.ry.effectsSequence.length && !this.rx.effectsSequence.length && !this.or.effectsSequence.length) {\n this.pre.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]);\n this.appliedTransformations = 4;\n }\n }\n\n function autoOrient() {//\n // var prevP = this.getValueAtTime();\n }\n\n function addDynamicProperty(prop) {\n this._addDynamicProperty(prop);\n\n this.elem.addDynamicProperty(prop);\n this._isDirty = true;\n }\n\n function TransformProperty(elem, data, container) {\n this.elem = elem;\n this.frameId = -1;\n this.propType = 'transform';\n this.data = data;\n this.v = new Matrix(); // Precalculated matrix with non animated properties\n\n this.pre = new Matrix();\n this.appliedTransformations = 0;\n this.initDynamicPropertyContainer(container || elem);\n\n if (data.p && data.p.s) {\n this.px = PropertyFactory.getProp(elem, data.p.x, 0, 0, this);\n this.py = PropertyFactory.getProp(elem, data.p.y, 0, 0, this);\n\n if (data.p.z) {\n this.pz = PropertyFactory.getProp(elem, data.p.z, 0, 0, this);\n }\n } else {\n this.p = PropertyFactory.getProp(elem, data.p || {\n k: [0, 0, 0]\n }, 1, 0, this);\n }\n\n if (data.rx) {\n this.rx = PropertyFactory.getProp(elem, data.rx, 0, degToRads, this);\n this.ry = PropertyFactory.getProp(elem, data.ry, 0, degToRads, this);\n this.rz = PropertyFactory.getProp(elem, data.rz, 0, degToRads, this);\n\n if (data.or.k[0].ti) {\n var i;\n var len = data.or.k.length;\n\n for (i = 0; i < len; i += 1) {\n data.or.k[i].to = null;\n data.or.k[i].ti = null;\n }\n }\n\n this.or = PropertyFactory.getProp(elem, data.or, 1, degToRads, this); // sh Indicates it needs to be capped between -180 and 180\n\n this.or.sh = true;\n } else {\n this.r = PropertyFactory.getProp(elem, data.r || {\n k: 0\n }, 0, degToRads, this);\n }\n\n if (data.sk) {\n this.sk = PropertyFactory.getProp(elem, data.sk, 0, degToRads, this);\n this.sa = PropertyFactory.getProp(elem, data.sa, 0, degToRads, this);\n }\n\n this.a = PropertyFactory.getProp(elem, data.a || {\n k: [0, 0, 0]\n }, 1, 0, this);\n this.s = PropertyFactory.getProp(elem, data.s || {\n k: [100, 100, 100]\n }, 1, 0.01, this); // Opacity is not part of the transform properties, that's why it won't use this.dynamicProperties. That way transforms won't get updated if opacity changes.\n\n if (data.o) {\n this.o = PropertyFactory.getProp(elem, data.o, 0, 0.01, elem);\n } else {\n this.o = {\n _mdf: false,\n v: 1\n };\n }\n\n this._isDirty = true;\n\n if (!this.dynamicProperties.length) {\n this.getValue(true);\n }\n }\n\n TransformProperty.prototype = {\n applyToMatrix: applyToMatrix,\n getValue: processKeys,\n precalculateMatrix: precalculateMatrix,\n autoOrient: autoOrient\n };\n extendPrototype([DynamicPropertyContainer], TransformProperty);\n TransformProperty.prototype.addDynamicProperty = addDynamicProperty;\n TransformProperty.prototype._addDynamicProperty = DynamicPropertyContainer.prototype.addDynamicProperty;\n\n function getTransformProperty(elem, data, container) {\n return new TransformProperty(elem, data, container);\n }\n\n return {\n getTransformProperty: getTransformProperty\n };\n }();\n\n function RepeaterModifier() {}\n\n extendPrototype([ShapeModifier], RepeaterModifier);\n\n RepeaterModifier.prototype.initModifierProperties = function (elem, data) {\n this.getValue = this.processKeys;\n this.c = PropertyFactory.getProp(elem, data.c, 0, null, this);\n this.o = PropertyFactory.getProp(elem, data.o, 0, null, this);\n this.tr = TransformPropertyFactory.getTransformProperty(elem, data.tr, this);\n this.so = PropertyFactory.getProp(elem, data.tr.so, 0, 0.01, this);\n this.eo = PropertyFactory.getProp(elem, data.tr.eo, 0, 0.01, this);\n this.data = data;\n\n if (!this.dynamicProperties.length) {\n this.getValue(true);\n }\n\n this._isAnimated = !!this.dynamicProperties.length;\n this.pMatrix = new Matrix();\n this.rMatrix = new Matrix();\n this.sMatrix = new Matrix();\n this.tMatrix = new Matrix();\n this.matrix = new Matrix();\n };\n\n RepeaterModifier.prototype.applyTransforms = function (pMatrix, rMatrix, sMatrix, transform, perc, inv) {\n var dir = inv ? -1 : 1;\n var scaleX = transform.s.v[0] + (1 - transform.s.v[0]) * (1 - perc);\n var scaleY = transform.s.v[1] + (1 - transform.s.v[1]) * (1 - perc);\n pMatrix.translate(transform.p.v[0] * dir * perc, transform.p.v[1] * dir * perc, transform.p.v[2]);\n rMatrix.translate(-transform.a.v[0], -transform.a.v[1], transform.a.v[2]);\n rMatrix.rotate(-transform.r.v * dir * perc);\n rMatrix.translate(transform.a.v[0], transform.a.v[1], transform.a.v[2]);\n sMatrix.translate(-transform.a.v[0], -transform.a.v[1], transform.a.v[2]);\n sMatrix.scale(inv ? 1 / scaleX : scaleX, inv ? 1 / scaleY : scaleY);\n sMatrix.translate(transform.a.v[0], transform.a.v[1], transform.a.v[2]);\n };\n\n RepeaterModifier.prototype.init = function (elem, arr, pos, elemsData) {\n this.elem = elem;\n this.arr = arr;\n this.pos = pos;\n this.elemsData = elemsData;\n this._currentCopies = 0;\n this._elements = [];\n this._groups = [];\n this.frameId = -1;\n this.initDynamicPropertyContainer(elem);\n this.initModifierProperties(elem, arr[pos]);\n\n while (pos > 0) {\n pos -= 1; // this._elements.unshift(arr.splice(pos,1)[0]);\n\n this._elements.unshift(arr[pos]);\n }\n\n if (this.dynamicProperties.length) {\n this.k = true;\n } else {\n this.getValue(true);\n }\n };\n\n RepeaterModifier.prototype.resetElements = function (elements) {\n var i;\n var len = elements.length;\n\n for (i = 0; i < len; i += 1) {\n elements[i]._processed = false;\n\n if (elements[i].ty === 'gr') {\n this.resetElements(elements[i].it);\n }\n }\n };\n\n RepeaterModifier.prototype.cloneElements = function (elements) {\n var newElements = JSON.parse(JSON.stringify(elements));\n this.resetElements(newElements);\n return newElements;\n };\n\n RepeaterModifier.prototype.changeGroupRender = function (elements, renderFlag) {\n var i;\n var len = elements.length;\n\n for (i = 0; i < len; i += 1) {\n elements[i]._render = renderFlag;\n\n if (elements[i].ty === 'gr') {\n this.changeGroupRender(elements[i].it, renderFlag);\n }\n }\n };\n\n RepeaterModifier.prototype.processShapes = function (_isFirstFrame) {\n var items;\n var itemsTransform;\n var i;\n var dir;\n var cont;\n var hasReloaded = false;\n\n if (this._mdf || _isFirstFrame) {\n var copies = Math.ceil(this.c.v);\n\n if (this._groups.length < copies) {\n while (this._groups.length < copies) {\n var group = {\n it: this.cloneElements(this._elements),\n ty: 'gr'\n };\n group.it.push({\n a: {\n a: 0,\n ix: 1,\n k: [0, 0]\n },\n nm: 'Transform',\n o: {\n a: 0,\n ix: 7,\n k: 100\n },\n p: {\n a: 0,\n ix: 2,\n k: [0, 0]\n },\n r: {\n a: 1,\n ix: 6,\n k: [{\n s: 0,\n e: 0,\n t: 0\n }, {\n s: 0,\n e: 0,\n t: 1\n }]\n },\n s: {\n a: 0,\n ix: 3,\n k: [100, 100]\n },\n sa: {\n a: 0,\n ix: 5,\n k: 0\n },\n sk: {\n a: 0,\n ix: 4,\n k: 0\n },\n ty: 'tr'\n });\n this.arr.splice(0, 0, group);\n\n this._groups.splice(0, 0, group);\n\n this._currentCopies += 1;\n }\n\n this.elem.reloadShapes();\n hasReloaded = true;\n }\n\n cont = 0;\n var renderFlag;\n\n for (i = 0; i <= this._groups.length - 1; i += 1) {\n renderFlag = cont < copies;\n this._groups[i]._render = renderFlag;\n this.changeGroupRender(this._groups[i].it, renderFlag);\n\n if (!renderFlag) {\n var elems = this.elemsData[i].it;\n var transformData = elems[elems.length - 1];\n\n if (transformData.transform.op.v !== 0) {\n transformData.transform.op._mdf = true;\n transformData.transform.op.v = 0;\n } else {\n transformData.transform.op._mdf = false;\n }\n }\n\n cont += 1;\n }\n\n this._currentCopies = copies; /// /\n\n var offset = this.o.v;\n var offsetModulo = offset % 1;\n var roundOffset = offset > 0 ? Math.floor(offset) : Math.ceil(offset);\n var pProps = this.pMatrix.props;\n var rProps = this.rMatrix.props;\n var sProps = this.sMatrix.props;\n this.pMatrix.reset();\n this.rMatrix.reset();\n this.sMatrix.reset();\n this.tMatrix.reset();\n this.matrix.reset();\n var iteration = 0;\n\n if (offset > 0) {\n while (iteration < roundOffset) {\n this.applyTransforms(this.pMatrix, this.rMatrix, this.sMatrix, this.tr, 1, false);\n iteration += 1;\n }\n\n if (offsetModulo) {\n this.applyTransforms(this.pMatrix, this.rMatrix, this.sMatrix, this.tr, offsetModulo, false);\n iteration += offsetModulo;\n }\n } else if (offset < 0) {\n while (iteration > roundOffset) {\n this.applyTransforms(this.pMatrix, this.rMatrix, this.sMatrix, this.tr, 1, true);\n iteration -= 1;\n }\n\n if (offsetModulo) {\n this.applyTransforms(this.pMatrix, this.rMatrix, this.sMatrix, this.tr, -offsetModulo, true);\n iteration -= offsetModulo;\n }\n }\n\n i = this.data.m === 1 ? 0 : this._currentCopies - 1;\n dir = this.data.m === 1 ? 1 : -1;\n cont = this._currentCopies;\n var j;\n var jLen;\n\n while (cont) {\n items = this.elemsData[i].it;\n itemsTransform = items[items.length - 1].transform.mProps.v.props;\n jLen = itemsTransform.length;\n items[items.length - 1].transform.mProps._mdf = true;\n items[items.length - 1].transform.op._mdf = true;\n items[items.length - 1].transform.op.v = this._currentCopies === 1 ? this.so.v : this.so.v + (this.eo.v - this.so.v) * (i / (this._currentCopies - 1));\n\n if (iteration !== 0) {\n if (i !== 0 && dir === 1 || i !== this._currentCopies - 1 && dir === -1) {\n this.applyTransforms(this.pMatrix, this.rMatrix, this.sMatrix, this.tr, 1, false);\n }\n\n this.matrix.transform(rProps[0], rProps[1], rProps[2], rProps[3], rProps[4], rProps[5], rProps[6], rProps[7], rProps[8], rProps[9], rProps[10], rProps[11], rProps[12], rProps[13], rProps[14], rProps[15]);\n this.matrix.transform(sProps[0], sProps[1], sProps[2], sProps[3], sProps[4], sProps[5], sProps[6], sProps[7], sProps[8], sProps[9], sProps[10], sProps[11], sProps[12], sProps[13], sProps[14], sProps[15]);\n this.matrix.transform(pProps[0], pProps[1], pProps[2], pProps[3], pProps[4], pProps[5], pProps[6], pProps[7], pProps[8], pProps[9], pProps[10], pProps[11], pProps[12], pProps[13], pProps[14], pProps[15]);\n\n for (j = 0; j < jLen; j += 1) {\n itemsTransform[j] = this.matrix.props[j];\n }\n\n this.matrix.reset();\n } else {\n this.matrix.reset();\n\n for (j = 0; j < jLen; j += 1) {\n itemsTransform[j] = this.matrix.props[j];\n }\n }\n\n iteration += 1;\n cont -= 1;\n i += dir;\n }\n } else {\n cont = this._currentCopies;\n i = 0;\n dir = 1;\n\n while (cont) {\n items = this.elemsData[i].it;\n itemsTransform = items[items.length - 1].transform.mProps.v.props;\n items[items.length - 1].transform.mProps._mdf = false;\n items[items.length - 1].transform.op._mdf = false;\n cont -= 1;\n i += dir;\n }\n }\n\n return hasReloaded;\n };\n\n RepeaterModifier.prototype.addShape = function () {};\n\n function RoundCornersModifier() {}\n\n extendPrototype([ShapeModifier], RoundCornersModifier);\n\n RoundCornersModifier.prototype.initModifierProperties = function (elem, data) {\n this.getValue = this.processKeys;\n this.rd = PropertyFactory.getProp(elem, data.r, 0, null, this);\n this._isAnimated = !!this.rd.effectsSequence.length;\n };\n\n RoundCornersModifier.prototype.processPath = function (path, round) {\n var clonedPath = shapePool.newElement();\n clonedPath.c = path.c;\n var i;\n var len = path._length;\n var currentV;\n var currentI;\n var currentO;\n var closerV;\n var distance;\n var newPosPerc;\n var index = 0;\n var vX;\n var vY;\n var oX;\n var oY;\n var iX;\n var iY;\n\n for (i = 0; i < len; i += 1) {\n currentV = path.v[i];\n currentO = path.o[i];\n currentI = path.i[i];\n\n if (currentV[0] === currentO[0] && currentV[1] === currentO[1] && currentV[0] === currentI[0] && currentV[1] === currentI[1]) {\n if ((i === 0 || i === len - 1) && !path.c) {\n clonedPath.setTripleAt(currentV[0], currentV[1], currentO[0], currentO[1], currentI[0], currentI[1], index);\n /* clonedPath.v[index] = currentV;\r\n clonedPath.o[index] = currentO;\r\n clonedPath.i[index] = currentI; */\n\n index += 1;\n } else {\n if (i === 0) {\n closerV = path.v[len - 1];\n } else {\n closerV = path.v[i - 1];\n }\n\n distance = Math.sqrt(Math.pow(currentV[0] - closerV[0], 2) + Math.pow(currentV[1] - closerV[1], 2));\n newPosPerc = distance ? Math.min(distance / 2, round) / distance : 0;\n iX = currentV[0] + (closerV[0] - currentV[0]) * newPosPerc;\n vX = iX;\n iY = currentV[1] - (currentV[1] - closerV[1]) * newPosPerc;\n vY = iY;\n oX = vX - (vX - currentV[0]) * roundCorner;\n oY = vY - (vY - currentV[1]) * roundCorner;\n clonedPath.setTripleAt(vX, vY, oX, oY, iX, iY, index);\n index += 1;\n\n if (i === len - 1) {\n closerV = path.v[0];\n } else {\n closerV = path.v[i + 1];\n }\n\n distance = Math.sqrt(Math.pow(currentV[0] - closerV[0], 2) + Math.pow(currentV[1] - closerV[1], 2));\n newPosPerc = distance ? Math.min(distance / 2, round) / distance : 0;\n oX = currentV[0] + (closerV[0] - currentV[0]) * newPosPerc;\n vX = oX;\n oY = currentV[1] + (closerV[1] - currentV[1]) * newPosPerc;\n vY = oY;\n iX = vX - (vX - currentV[0]) * roundCorner;\n iY = vY - (vY - currentV[1]) * roundCorner;\n clonedPath.setTripleAt(vX, vY, oX, oY, iX, iY, index);\n index += 1;\n }\n } else {\n clonedPath.setTripleAt(path.v[i][0], path.v[i][1], path.o[i][0], path.o[i][1], path.i[i][0], path.i[i][1], index);\n index += 1;\n }\n }\n\n return clonedPath;\n };\n\n RoundCornersModifier.prototype.processShapes = function (_isFirstFrame) {\n var shapePaths;\n var i;\n var len = this.shapes.length;\n var j;\n var jLen;\n var rd = this.rd.v;\n\n if (rd !== 0) {\n var shapeData;\n var localShapeCollection;\n\n for (i = 0; i < len; i += 1) {\n shapeData = this.shapes[i];\n localShapeCollection = shapeData.localShapeCollection;\n\n if (!(!shapeData.shape._mdf && !this._mdf && !_isFirstFrame)) {\n localShapeCollection.releaseShapes();\n shapeData.shape._mdf = true;\n shapePaths = shapeData.shape.paths.shapes;\n jLen = shapeData.shape.paths._length;\n\n for (j = 0; j < jLen; j += 1) {\n localShapeCollection.addShape(this.processPath(shapePaths[j], rd));\n }\n }\n\n shapeData.shape.paths = shapeData.localShapeCollection;\n }\n }\n\n if (!this.dynamicProperties.length) {\n this._mdf = false;\n }\n };\n\n function floatEqual(a, b) {\n return Math.abs(a - b) * 100000 <= Math.min(Math.abs(a), Math.abs(b));\n }\n\n function floatZero(f) {\n return Math.abs(f) <= 0.00001;\n }\n\n function lerp(p0, p1, amount) {\n return p0 * (1 - amount) + p1 * amount;\n }\n\n function lerpPoint(p0, p1, amount) {\n return [lerp(p0[0], p1[0], amount), lerp(p0[1], p1[1], amount)];\n }\n\n function quadRoots(a, b, c) {\n // no root\n if (a === 0) return [];\n var s = b * b - 4 * a * c; // Complex roots\n\n if (s < 0) return [];\n var singleRoot = -b / (2 * a); // 1 root\n\n if (s === 0) return [singleRoot];\n var delta = Math.sqrt(s) / (2 * a); // 2 roots\n\n return [singleRoot - delta, singleRoot + delta];\n }\n\n function polynomialCoefficients(p0, p1, p2, p3) {\n return [-p0 + 3 * p1 - 3 * p2 + p3, 3 * p0 - 6 * p1 + 3 * p2, -3 * p0 + 3 * p1, p0];\n }\n\n function singlePoint(p) {\n return new PolynomialBezier(p, p, p, p, false);\n }\n\n function PolynomialBezier(p0, p1, p2, p3, linearize) {\n if (linearize && pointEqual(p0, p1)) {\n p1 = lerpPoint(p0, p3, 1 / 3);\n }\n\n if (linearize && pointEqual(p2, p3)) {\n p2 = lerpPoint(p0, p3, 2 / 3);\n }\n\n var coeffx = polynomialCoefficients(p0[0], p1[0], p2[0], p3[0]);\n var coeffy = polynomialCoefficients(p0[1], p1[1], p2[1], p3[1]);\n this.a = [coeffx[0], coeffy[0]];\n this.b = [coeffx[1], coeffy[1]];\n this.c = [coeffx[2], coeffy[2]];\n this.d = [coeffx[3], coeffy[3]];\n this.points = [p0, p1, p2, p3];\n }\n\n PolynomialBezier.prototype.point = function (t) {\n return [((this.a[0] * t + this.b[0]) * t + this.c[0]) * t + this.d[0], ((this.a[1] * t + this.b[1]) * t + this.c[1]) * t + this.d[1]];\n };\n\n PolynomialBezier.prototype.derivative = function (t) {\n return [(3 * t * this.a[0] + 2 * this.b[0]) * t + this.c[0], (3 * t * this.a[1] + 2 * this.b[1]) * t + this.c[1]];\n };\n\n PolynomialBezier.prototype.tangentAngle = function (t) {\n var p = this.derivative(t);\n return Math.atan2(p[1], p[0]);\n };\n\n PolynomialBezier.prototype.normalAngle = function (t) {\n var p = this.derivative(t);\n return Math.atan2(p[0], p[1]);\n };\n\n PolynomialBezier.prototype.inflectionPoints = function () {\n var denom = this.a[1] * this.b[0] - this.a[0] * this.b[1];\n if (floatZero(denom)) return [];\n var tcusp = -0.5 * (this.a[1] * this.c[0] - this.a[0] * this.c[1]) / denom;\n var square = tcusp * tcusp - 1 / 3 * (this.b[1] * this.c[0] - this.b[0] * this.c[1]) / denom;\n if (square < 0) return [];\n var root = Math.sqrt(square);\n\n if (floatZero(root)) {\n if (root > 0 && root < 1) return [tcusp];\n return [];\n }\n\n return [tcusp - root, tcusp + root].filter(function (r) {\n return r > 0 && r < 1;\n });\n };\n\n PolynomialBezier.prototype.split = function (t) {\n if (t <= 0) return [singlePoint(this.points[0]), this];\n if (t >= 1) return [this, singlePoint(this.points[this.points.length - 1])];\n var p10 = lerpPoint(this.points[0], this.points[1], t);\n var p11 = lerpPoint(this.points[1], this.points[2], t);\n var p12 = lerpPoint(this.points[2], this.points[3], t);\n var p20 = lerpPoint(p10, p11, t);\n var p21 = lerpPoint(p11, p12, t);\n var p3 = lerpPoint(p20, p21, t);\n return [new PolynomialBezier(this.points[0], p10, p20, p3, true), new PolynomialBezier(p3, p21, p12, this.points[3], true)];\n };\n\n function extrema(bez, comp) {\n var min = bez.points[0][comp];\n var max = bez.points[bez.points.length - 1][comp];\n\n if (min > max) {\n var e = max;\n max = min;\n min = e;\n } // Derivative roots to find min/max\n\n\n var f = quadRoots(3 * bez.a[comp], 2 * bez.b[comp], bez.c[comp]);\n\n for (var i = 0; i < f.length; i += 1) {\n if (f[i] > 0 && f[i] < 1) {\n var val = bez.point(f[i])[comp];\n if (val < min) min = val;else if (val > max) max = val;\n }\n }\n\n return {\n min: min,\n max: max\n };\n }\n\n PolynomialBezier.prototype.bounds = function () {\n return {\n x: extrema(this, 0),\n y: extrema(this, 1)\n };\n };\n\n PolynomialBezier.prototype.boundingBox = function () {\n var bounds = this.bounds();\n return {\n left: bounds.x.min,\n right: bounds.x.max,\n top: bounds.y.min,\n bottom: bounds.y.max,\n width: bounds.x.max - bounds.x.min,\n height: bounds.y.max - bounds.y.min,\n cx: (bounds.x.max + bounds.x.min) / 2,\n cy: (bounds.y.max + bounds.y.min) / 2\n };\n };\n\n function intersectData(bez, t1, t2) {\n var box = bez.boundingBox();\n return {\n cx: box.cx,\n cy: box.cy,\n width: box.width,\n height: box.height,\n bez: bez,\n t: (t1 + t2) / 2,\n t1: t1,\n t2: t2\n };\n }\n\n function splitData(data) {\n var split = data.bez.split(0.5);\n return [intersectData(split[0], data.t1, data.t), intersectData(split[1], data.t, data.t2)];\n }\n\n function boxIntersect(b1, b2) {\n return Math.abs(b1.cx - b2.cx) * 2 < b1.width + b2.width && Math.abs(b1.cy - b2.cy) * 2 < b1.height + b2.height;\n }\n\n function intersectsImpl(d1, d2, depth, tolerance, intersections, maxRecursion) {\n if (!boxIntersect(d1, d2)) return;\n\n if (depth >= maxRecursion || d1.width <= tolerance && d1.height <= tolerance && d2.width <= tolerance && d2.height <= tolerance) {\n intersections.push([d1.t, d2.t]);\n return;\n }\n\n var d1s = splitData(d1);\n var d2s = splitData(d2);\n intersectsImpl(d1s[0], d2s[0], depth + 1, tolerance, intersections, maxRecursion);\n intersectsImpl(d1s[0], d2s[1], depth + 1, tolerance, intersections, maxRecursion);\n intersectsImpl(d1s[1], d2s[0], depth + 1, tolerance, intersections, maxRecursion);\n intersectsImpl(d1s[1], d2s[1], depth + 1, tolerance, intersections, maxRecursion);\n }\n\n PolynomialBezier.prototype.intersections = function (other, tolerance, maxRecursion) {\n if (tolerance === undefined) tolerance = 2;\n if (maxRecursion === undefined) maxRecursion = 7;\n var intersections = [];\n intersectsImpl(intersectData(this, 0, 1), intersectData(other, 0, 1), 0, tolerance, intersections, maxRecursion);\n return intersections;\n };\n\n PolynomialBezier.shapeSegment = function (shapePath, index) {\n var nextIndex = (index + 1) % shapePath.length();\n return new PolynomialBezier(shapePath.v[index], shapePath.o[index], shapePath.i[nextIndex], shapePath.v[nextIndex], true);\n };\n\n PolynomialBezier.shapeSegmentInverted = function (shapePath, index) {\n var nextIndex = (index + 1) % shapePath.length();\n return new PolynomialBezier(shapePath.v[nextIndex], shapePath.i[nextIndex], shapePath.o[index], shapePath.v[index], true);\n };\n\n function crossProduct(a, b) {\n return [a[1] * b[2] - a[2] * b[1], a[2] * b[0] - a[0] * b[2], a[0] * b[1] - a[1] * b[0]];\n }\n\n function lineIntersection(start1, end1, start2, end2) {\n var v1 = [start1[0], start1[1], 1];\n var v2 = [end1[0], end1[1], 1];\n var v3 = [start2[0], start2[1], 1];\n var v4 = [end2[0], end2[1], 1];\n var r = crossProduct(crossProduct(v1, v2), crossProduct(v3, v4));\n if (floatZero(r[2])) return null;\n return [r[0] / r[2], r[1] / r[2]];\n }\n\n function polarOffset(p, angle, length) {\n return [p[0] + Math.cos(angle) * length, p[1] - Math.sin(angle) * length];\n }\n\n function pointDistance(p1, p2) {\n return Math.hypot(p1[0] - p2[0], p1[1] - p2[1]);\n }\n\n function pointEqual(p1, p2) {\n return floatEqual(p1[0], p2[0]) && floatEqual(p1[1], p2[1]);\n }\n\n function ZigZagModifier() {}\n\n extendPrototype([ShapeModifier], ZigZagModifier);\n\n ZigZagModifier.prototype.initModifierProperties = function (elem, data) {\n this.getValue = this.processKeys;\n this.amplitude = PropertyFactory.getProp(elem, data.s, 0, null, this);\n this.frequency = PropertyFactory.getProp(elem, data.r, 0, null, this);\n this.pointsType = PropertyFactory.getProp(elem, data.pt, 0, null, this);\n this._isAnimated = this.amplitude.effectsSequence.length !== 0 || this.frequency.effectsSequence.length !== 0 || this.pointsType.effectsSequence.length !== 0;\n };\n\n function setPoint(outputBezier, point, angle, direction, amplitude, outAmplitude, inAmplitude) {\n var angO = angle - Math.PI / 2;\n var angI = angle + Math.PI / 2;\n var px = point[0] + Math.cos(angle) * direction * amplitude;\n var py = point[1] - Math.sin(angle) * direction * amplitude;\n outputBezier.setTripleAt(px, py, px + Math.cos(angO) * outAmplitude, py - Math.sin(angO) * outAmplitude, px + Math.cos(angI) * inAmplitude, py - Math.sin(angI) * inAmplitude, outputBezier.length());\n }\n\n function getPerpendicularVector(pt1, pt2) {\n var vector = [pt2[0] - pt1[0], pt2[1] - pt1[1]];\n var rot = -Math.PI * 0.5;\n var rotatedVector = [Math.cos(rot) * vector[0] - Math.sin(rot) * vector[1], Math.sin(rot) * vector[0] + Math.cos(rot) * vector[1]];\n return rotatedVector;\n }\n\n function getProjectingAngle(path, cur) {\n var prevIndex = cur === 0 ? path.length() - 1 : cur - 1;\n var nextIndex = (cur + 1) % path.length();\n var prevPoint = path.v[prevIndex];\n var nextPoint = path.v[nextIndex];\n var pVector = getPerpendicularVector(prevPoint, nextPoint);\n return Math.atan2(0, 1) - Math.atan2(pVector[1], pVector[0]);\n }\n\n function zigZagCorner(outputBezier, path, cur, amplitude, frequency, pointType, direction) {\n var angle = getProjectingAngle(path, cur);\n var point = path.v[cur % path._length];\n var prevPoint = path.v[cur === 0 ? path._length - 1 : cur - 1];\n var nextPoint = path.v[(cur + 1) % path._length];\n var prevDist = pointType === 2 ? Math.sqrt(Math.pow(point[0] - prevPoint[0], 2) + Math.pow(point[1] - prevPoint[1], 2)) : 0;\n var nextDist = pointType === 2 ? Math.sqrt(Math.pow(point[0] - nextPoint[0], 2) + Math.pow(point[1] - nextPoint[1], 2)) : 0;\n setPoint(outputBezier, path.v[cur % path._length], angle, direction, amplitude, nextDist / ((frequency + 1) * 2), prevDist / ((frequency + 1) * 2), pointType);\n }\n\n function zigZagSegment(outputBezier, segment, amplitude, frequency, pointType, direction) {\n for (var i = 0; i < frequency; i += 1) {\n var t = (i + 1) / (frequency + 1);\n var dist = pointType === 2 ? Math.sqrt(Math.pow(segment.points[3][0] - segment.points[0][0], 2) + Math.pow(segment.points[3][1] - segment.points[0][1], 2)) : 0;\n var angle = segment.normalAngle(t);\n var point = segment.point(t);\n setPoint(outputBezier, point, angle, direction, amplitude, dist / ((frequency + 1) * 2), dist / ((frequency + 1) * 2), pointType);\n direction = -direction;\n }\n\n return direction;\n }\n\n ZigZagModifier.prototype.processPath = function (path, amplitude, frequency, pointType) {\n var count = path._length;\n var clonedPath = shapePool.newElement();\n clonedPath.c = path.c;\n\n if (!path.c) {\n count -= 1;\n }\n\n if (count === 0) return clonedPath;\n var direction = -1;\n var segment = PolynomialBezier.shapeSegment(path, 0);\n zigZagCorner(clonedPath, path, 0, amplitude, frequency, pointType, direction);\n\n for (var i = 0; i < count; i += 1) {\n direction = zigZagSegment(clonedPath, segment, amplitude, frequency, pointType, -direction);\n\n if (i === count - 1 && !path.c) {\n segment = null;\n } else {\n segment = PolynomialBezier.shapeSegment(path, (i + 1) % count);\n }\n\n zigZagCorner(clonedPath, path, i + 1, amplitude, frequency, pointType, direction);\n }\n\n return clonedPath;\n };\n\n ZigZagModifier.prototype.processShapes = function (_isFirstFrame) {\n var shapePaths;\n var i;\n var len = this.shapes.length;\n var j;\n var jLen;\n var amplitude = this.amplitude.v;\n var frequency = Math.max(0, Math.round(this.frequency.v));\n var pointType = this.pointsType.v;\n\n if (amplitude !== 0) {\n var shapeData;\n var localShapeCollection;\n\n for (i = 0; i < len; i += 1) {\n shapeData = this.shapes[i];\n localShapeCollection = shapeData.localShapeCollection;\n\n if (!(!shapeData.shape._mdf && !this._mdf && !_isFirstFrame)) {\n localShapeCollection.releaseShapes();\n shapeData.shape._mdf = true;\n shapePaths = shapeData.shape.paths.shapes;\n jLen = shapeData.shape.paths._length;\n\n for (j = 0; j < jLen; j += 1) {\n localShapeCollection.addShape(this.processPath(shapePaths[j], amplitude, frequency, pointType));\n }\n }\n\n shapeData.shape.paths = shapeData.localShapeCollection;\n }\n }\n\n if (!this.dynamicProperties.length) {\n this._mdf = false;\n }\n };\n\n function linearOffset(p1, p2, amount) {\n var angle = Math.atan2(p2[0] - p1[0], p2[1] - p1[1]);\n return [polarOffset(p1, angle, amount), polarOffset(p2, angle, amount)];\n }\n\n function offsetSegment(segment, amount) {\n var p0;\n var p1a;\n var p1b;\n var p2b;\n var p2a;\n var p3;\n var e;\n e = linearOffset(segment.points[0], segment.points[1], amount);\n p0 = e[0];\n p1a = e[1];\n e = linearOffset(segment.points[1], segment.points[2], amount);\n p1b = e[0];\n p2b = e[1];\n e = linearOffset(segment.points[2], segment.points[3], amount);\n p2a = e[0];\n p3 = e[1];\n var p1 = lineIntersection(p0, p1a, p1b, p2b);\n if (p1 === null) p1 = p1a;\n var p2 = lineIntersection(p2a, p3, p1b, p2b);\n if (p2 === null) p2 = p2a;\n return new PolynomialBezier(p0, p1, p2, p3);\n }\n\n function joinLines(outputBezier, seg1, seg2, lineJoin, miterLimit) {\n var p0 = seg1.points[3];\n var p1 = seg2.points[0]; // Bevel\n\n if (lineJoin === 3) return p0; // Connected, they don't need a joint\n\n if (pointEqual(p0, p1)) return p0; // Round\n\n if (lineJoin === 2) {\n var angleOut = -seg1.tangentAngle(1);\n var angleIn = -seg2.tangentAngle(0) + Math.PI;\n var center = lineIntersection(p0, polarOffset(p0, angleOut + Math.PI / 2, 100), p1, polarOffset(p1, angleOut + Math.PI / 2, 100));\n var radius = center ? pointDistance(center, p0) : pointDistance(p0, p1) / 2;\n var tan = polarOffset(p0, angleOut, 2 * radius * roundCorner);\n outputBezier.setXYAt(tan[0], tan[1], 'o', outputBezier.length() - 1);\n tan = polarOffset(p1, angleIn, 2 * radius * roundCorner);\n outputBezier.setTripleAt(p1[0], p1[1], p1[0], p1[1], tan[0], tan[1], outputBezier.length());\n return p1;\n } // Miter\n\n\n var t0 = pointEqual(p0, seg1.points[2]) ? seg1.points[0] : seg1.points[2];\n var t1 = pointEqual(p1, seg2.points[1]) ? seg2.points[3] : seg2.points[1];\n var intersection = lineIntersection(t0, p0, p1, t1);\n\n if (intersection && pointDistance(intersection, p0) < miterLimit) {\n outputBezier.setTripleAt(intersection[0], intersection[1], intersection[0], intersection[1], intersection[0], intersection[1], outputBezier.length());\n return intersection;\n }\n\n return p0;\n }\n\n function getIntersection(a, b) {\n var intersect = a.intersections(b);\n if (intersect.length && floatEqual(intersect[0][0], 1)) intersect.shift();\n if (intersect.length) return intersect[0];\n return null;\n }\n\n function pruneSegmentIntersection(a, b) {\n var outa = a.slice();\n var outb = b.slice();\n var intersect = getIntersection(a[a.length - 1], b[0]);\n\n if (intersect) {\n outa[a.length - 1] = a[a.length - 1].split(intersect[0])[0];\n outb[0] = b[0].split(intersect[1])[1];\n }\n\n if (a.length > 1 && b.length > 1) {\n intersect = getIntersection(a[0], b[b.length - 1]);\n\n if (intersect) {\n return [[a[0].split(intersect[0])[0]], [b[b.length - 1].split(intersect[1])[1]]];\n }\n }\n\n return [outa, outb];\n }\n\n function pruneIntersections(segments) {\n var e;\n\n for (var i = 1; i < segments.length; i += 1) {\n e = pruneSegmentIntersection(segments[i - 1], segments[i]);\n segments[i - 1] = e[0];\n segments[i] = e[1];\n }\n\n if (segments.length > 1) {\n e = pruneSegmentIntersection(segments[segments.length - 1], segments[0]);\n segments[segments.length - 1] = e[0];\n segments[0] = e[1];\n }\n\n return segments;\n }\n\n function offsetSegmentSplit(segment, amount) {\n /*\r\n We split each bezier segment into smaller pieces based\r\n on inflection points, this ensures the control point\r\n polygon is convex.\r\n (A cubic bezier can have none, one, or two inflection points)\r\n */\n var flex = segment.inflectionPoints();\n var left;\n var right;\n var split;\n var mid;\n\n if (flex.length === 0) {\n return [offsetSegment(segment, amount)];\n }\n\n if (flex.length === 1 || floatEqual(flex[1], 1)) {\n split = segment.split(flex[0]);\n left = split[0];\n right = split[1];\n return [offsetSegment(left, amount), offsetSegment(right, amount)];\n }\n\n split = segment.split(flex[0]);\n left = split[0];\n var t = (flex[1] - flex[0]) / (1 - flex[0]);\n split = split[1].split(t);\n mid = split[0];\n right = split[1];\n return [offsetSegment(left, amount), offsetSegment(mid, amount), offsetSegment(right, amount)];\n }\n\n function OffsetPathModifier() {}\n\n extendPrototype([ShapeModifier], OffsetPathModifier);\n\n OffsetPathModifier.prototype.initModifierProperties = function (elem, data) {\n this.getValue = this.processKeys;\n this.amount = PropertyFactory.getProp(elem, data.a, 0, null, this);\n this.miterLimit = PropertyFactory.getProp(elem, data.ml, 0, null, this);\n this.lineJoin = data.lj;\n this._isAnimated = this.amount.effectsSequence.length !== 0;\n };\n\n OffsetPathModifier.prototype.processPath = function (inputBezier, amount, lineJoin, miterLimit) {\n var outputBezier = shapePool.newElement();\n outputBezier.c = inputBezier.c;\n var count = inputBezier.length();\n\n if (!inputBezier.c) {\n count -= 1;\n }\n\n var i;\n var j;\n var segment;\n var multiSegments = [];\n\n for (i = 0; i < count; i += 1) {\n segment = PolynomialBezier.shapeSegment(inputBezier, i);\n multiSegments.push(offsetSegmentSplit(segment, amount));\n }\n\n if (!inputBezier.c) {\n for (i = count - 1; i >= 0; i -= 1) {\n segment = PolynomialBezier.shapeSegmentInverted(inputBezier, i);\n multiSegments.push(offsetSegmentSplit(segment, amount));\n }\n }\n\n multiSegments = pruneIntersections(multiSegments); // Add bezier segments to the output and apply line joints\n\n var lastPoint = null;\n var lastSeg = null;\n\n for (i = 0; i < multiSegments.length; i += 1) {\n var multiSegment = multiSegments[i];\n if (lastSeg) lastPoint = joinLines(outputBezier, lastSeg, multiSegment[0], lineJoin, miterLimit);\n lastSeg = multiSegment[multiSegment.length - 1];\n\n for (j = 0; j < multiSegment.length; j += 1) {\n segment = multiSegment[j];\n\n if (lastPoint && pointEqual(segment.points[0], lastPoint)) {\n outputBezier.setXYAt(segment.points[1][0], segment.points[1][1], 'o', outputBezier.length() - 1);\n } else {\n outputBezier.setTripleAt(segment.points[0][0], segment.points[0][1], segment.points[1][0], segment.points[1][1], segment.points[0][0], segment.points[0][1], outputBezier.length());\n }\n\n outputBezier.setTripleAt(segment.points[3][0], segment.points[3][1], segment.points[3][0], segment.points[3][1], segment.points[2][0], segment.points[2][1], outputBezier.length());\n lastPoint = segment.points[3];\n }\n }\n\n if (multiSegments.length) joinLines(outputBezier, lastSeg, multiSegments[0][0], lineJoin, miterLimit);\n return outputBezier;\n };\n\n OffsetPathModifier.prototype.processShapes = function (_isFirstFrame) {\n var shapePaths;\n var i;\n var len = this.shapes.length;\n var j;\n var jLen;\n var amount = this.amount.v;\n var miterLimit = this.miterLimit.v;\n var lineJoin = this.lineJoin;\n\n if (amount !== 0) {\n var shapeData;\n var localShapeCollection;\n\n for (i = 0; i < len; i += 1) {\n shapeData = this.shapes[i];\n localShapeCollection = shapeData.localShapeCollection;\n\n if (!(!shapeData.shape._mdf && !this._mdf && !_isFirstFrame)) {\n localShapeCollection.releaseShapes();\n shapeData.shape._mdf = true;\n shapePaths = shapeData.shape.paths.shapes;\n jLen = shapeData.shape.paths._length;\n\n for (j = 0; j < jLen; j += 1) {\n localShapeCollection.addShape(this.processPath(shapePaths[j], amount, lineJoin, miterLimit));\n }\n }\n\n shapeData.shape.paths = shapeData.localShapeCollection;\n }\n }\n\n if (!this.dynamicProperties.length) {\n this._mdf = false;\n }\n };\n\n function getFontProperties(fontData) {\n var styles = fontData.fStyle ? fontData.fStyle.split(' ') : [];\n var fWeight = 'normal';\n var fStyle = 'normal';\n var len = styles.length;\n var styleName;\n\n for (var i = 0; i < len; i += 1) {\n styleName = styles[i].toLowerCase();\n\n switch (styleName) {\n case 'italic':\n fStyle = 'italic';\n break;\n\n case 'bold':\n fWeight = '700';\n break;\n\n case 'black':\n fWeight = '900';\n break;\n\n case 'medium':\n fWeight = '500';\n break;\n\n case 'regular':\n case 'normal':\n fWeight = '400';\n break;\n\n case 'light':\n case 'thin':\n fWeight = '200';\n break;\n\n default:\n break;\n }\n }\n\n return {\n style: fStyle,\n weight: fontData.fWeight || fWeight\n };\n }\n\n var FontManager = function () {\n var maxWaitingTime = 5000;\n var emptyChar = {\n w: 0,\n size: 0,\n shapes: [],\n data: {\n shapes: []\n }\n };\n var combinedCharacters = []; // Hindi characters\n\n combinedCharacters = combinedCharacters.concat([2304, 2305, 2306, 2307, 2362, 2363, 2364, 2364, 2366, 2367, 2368, 2369, 2370, 2371, 2372, 2373, 2374, 2375, 2376, 2377, 2378, 2379, 2380, 2381, 2382, 2383, 2387, 2388, 2389, 2390, 2391, 2402, 2403]);\n var BLACK_FLAG_CODE_POINT = 127988;\n var CANCEL_TAG_CODE_POINT = 917631;\n var A_TAG_CODE_POINT = 917601;\n var Z_TAG_CODE_POINT = 917626;\n var VARIATION_SELECTOR_16_CODE_POINT = 65039;\n var ZERO_WIDTH_JOINER_CODE_POINT = 8205;\n var REGIONAL_CHARACTER_A_CODE_POINT = 127462;\n var REGIONAL_CHARACTER_Z_CODE_POINT = 127487;\n var surrogateModifiers = ['d83cdffb', 'd83cdffc', 'd83cdffd', 'd83cdffe', 'd83cdfff'];\n\n function trimFontOptions(font) {\n var familyArray = font.split(',');\n var i;\n var len = familyArray.length;\n var enabledFamilies = [];\n\n for (i = 0; i < len; i += 1) {\n if (familyArray[i] !== 'sans-serif' && familyArray[i] !== 'monospace') {\n enabledFamilies.push(familyArray[i]);\n }\n }\n\n return enabledFamilies.join(',');\n }\n\n function setUpNode(font, family) {\n var parentNode = createTag('span'); // Node is invisible to screen readers.\n\n parentNode.setAttribute('aria-hidden', true);\n parentNode.style.fontFamily = family;\n var node = createTag('span'); // Characters that vary significantly among different fonts\n\n node.innerText = 'giItT1WQy@!-/#'; // Visible - so we can measure it - but not on the screen\n\n parentNode.style.position = 'absolute';\n parentNode.style.left = '-10000px';\n parentNode.style.top = '-10000px'; // Large font size makes even subtle changes obvious\n\n parentNode.style.fontSize = '300px'; // Reset any font properties\n\n parentNode.style.fontVariant = 'normal';\n parentNode.style.fontStyle = 'normal';\n parentNode.style.fontWeight = 'normal';\n parentNode.style.letterSpacing = '0';\n parentNode.appendChild(node);\n document.body.appendChild(parentNode); // Remember width with no applied web font\n\n var width = node.offsetWidth;\n node.style.fontFamily = trimFontOptions(font) + ', ' + family;\n return {\n node: node,\n w: width,\n parent: parentNode\n };\n }\n\n function checkLoadedFonts() {\n var i;\n var len = this.fonts.length;\n var node;\n var w;\n var loadedCount = len;\n\n for (i = 0; i < len; i += 1) {\n if (this.fonts[i].loaded) {\n loadedCount -= 1;\n } else if (this.fonts[i].fOrigin === 'n' || this.fonts[i].origin === 0) {\n this.fonts[i].loaded = true;\n } else {\n node = this.fonts[i].monoCase.node;\n w = this.fonts[i].monoCase.w;\n\n if (node.offsetWidth !== w) {\n loadedCount -= 1;\n this.fonts[i].loaded = true;\n } else {\n node = this.fonts[i].sansCase.node;\n w = this.fonts[i].sansCase.w;\n\n if (node.offsetWidth !== w) {\n loadedCount -= 1;\n this.fonts[i].loaded = true;\n }\n }\n\n if (this.fonts[i].loaded) {\n this.fonts[i].sansCase.parent.parentNode.removeChild(this.fonts[i].sansCase.parent);\n this.fonts[i].monoCase.parent.parentNode.removeChild(this.fonts[i].monoCase.parent);\n }\n }\n }\n\n if (loadedCount !== 0 && Date.now() - this.initTime < maxWaitingTime) {\n setTimeout(this.checkLoadedFontsBinded, 20);\n } else {\n setTimeout(this.setIsLoadedBinded, 10);\n }\n }\n\n function createHelper(fontData, def) {\n var engine = document.body && def ? 'svg' : 'canvas';\n var helper;\n var fontProps = getFontProperties(fontData);\n\n if (engine === 'svg') {\n var tHelper = createNS('text');\n tHelper.style.fontSize = '100px'; // tHelper.style.fontFamily = fontData.fFamily;\n\n tHelper.setAttribute('font-family', fontData.fFamily);\n tHelper.setAttribute('font-style', fontProps.style);\n tHelper.setAttribute('font-weight', fontProps.weight);\n tHelper.textContent = '1';\n\n if (fontData.fClass) {\n tHelper.style.fontFamily = 'inherit';\n tHelper.setAttribute('class', fontData.fClass);\n } else {\n tHelper.style.fontFamily = fontData.fFamily;\n }\n\n def.appendChild(tHelper);\n helper = tHelper;\n } else {\n var tCanvasHelper = new OffscreenCanvas(500, 500).getContext('2d');\n tCanvasHelper.font = fontProps.style + ' ' + fontProps.weight + ' 100px ' + fontData.fFamily;\n helper = tCanvasHelper;\n }\n\n function measure(text) {\n if (engine === 'svg') {\n helper.textContent = text;\n return helper.getComputedTextLength();\n }\n\n return helper.measureText(text).width;\n }\n\n return {\n measureText: measure\n };\n }\n\n function addFonts(fontData, defs) {\n if (!fontData) {\n this.isLoaded = true;\n return;\n }\n\n if (this.chars) {\n this.isLoaded = true;\n this.fonts = fontData.list;\n return;\n }\n\n if (!document.body) {\n this.isLoaded = true;\n fontData.list.forEach(function (data) {\n data.helper = createHelper(data);\n data.cache = {};\n });\n this.fonts = fontData.list;\n return;\n }\n\n var fontArr = fontData.list;\n var i;\n var len = fontArr.length;\n var _pendingFonts = len;\n\n for (i = 0; i < len; i += 1) {\n var shouldLoadFont = true;\n var loadedSelector;\n var j;\n fontArr[i].loaded = false;\n fontArr[i].monoCase = setUpNode(fontArr[i].fFamily, 'monospace');\n fontArr[i].sansCase = setUpNode(fontArr[i].fFamily, 'sans-serif');\n\n if (!fontArr[i].fPath) {\n fontArr[i].loaded = true;\n _pendingFonts -= 1;\n } else if (fontArr[i].fOrigin === 'p' || fontArr[i].origin === 3) {\n loadedSelector = document.querySelectorAll('style[f-forigin=\"p\"][f-family=\"' + fontArr[i].fFamily + '\"], style[f-origin=\"3\"][f-family=\"' + fontArr[i].fFamily + '\"]');\n\n if (loadedSelector.length > 0) {\n shouldLoadFont = false;\n }\n\n if (shouldLoadFont) {\n var s = createTag('style');\n s.setAttribute('f-forigin', fontArr[i].fOrigin);\n s.setAttribute('f-origin', fontArr[i].origin);\n s.setAttribute('f-family', fontArr[i].fFamily);\n s.type = 'text/css';\n s.innerText = '@font-face {font-family: ' + fontArr[i].fFamily + \"; font-style: normal; src: url('\" + fontArr[i].fPath + \"');}\";\n defs.appendChild(s);\n }\n } else if (fontArr[i].fOrigin === 'g' || fontArr[i].origin === 1) {\n loadedSelector = document.querySelectorAll('link[f-forigin=\"g\"], link[f-origin=\"1\"]');\n\n for (j = 0; j < loadedSelector.length; j += 1) {\n if (loadedSelector[j].href.indexOf(fontArr[i].fPath) !== -1) {\n // Font is already loaded\n shouldLoadFont = false;\n }\n }\n\n if (shouldLoadFont) {\n var l = createTag('link');\n l.setAttribute('f-forigin', fontArr[i].fOrigin);\n l.setAttribute('f-origin', fontArr[i].origin);\n l.type = 'text/css';\n l.rel = 'stylesheet';\n l.href = fontArr[i].fPath;\n document.body.appendChild(l);\n }\n } else if (fontArr[i].fOrigin === 't' || fontArr[i].origin === 2) {\n loadedSelector = document.querySelectorAll('script[f-forigin=\"t\"], script[f-origin=\"2\"]');\n\n for (j = 0; j < loadedSelector.length; j += 1) {\n if (fontArr[i].fPath === loadedSelector[j].src) {\n // Font is already loaded\n shouldLoadFont = false;\n }\n }\n\n if (shouldLoadFont) {\n var sc = createTag('link');\n sc.setAttribute('f-forigin', fontArr[i].fOrigin);\n sc.setAttribute('f-origin', fontArr[i].origin);\n sc.setAttribute('rel', 'stylesheet');\n sc.setAttribute('href', fontArr[i].fPath);\n defs.appendChild(sc);\n }\n }\n\n fontArr[i].helper = createHelper(fontArr[i], defs);\n fontArr[i].cache = {};\n this.fonts.push(fontArr[i]);\n }\n\n if (_pendingFonts === 0) {\n this.isLoaded = true;\n } else {\n // On some cases even if the font is loaded, it won't load correctly when measuring text on canvas.\n // Adding this timeout seems to fix it\n setTimeout(this.checkLoadedFonts.bind(this), 100);\n }\n }\n\n function addChars(chars) {\n if (!chars) {\n return;\n }\n\n if (!this.chars) {\n this.chars = [];\n }\n\n var i;\n var len = chars.length;\n var j;\n var jLen = this.chars.length;\n var found;\n\n for (i = 0; i < len; i += 1) {\n j = 0;\n found = false;\n\n while (j < jLen) {\n if (this.chars[j].style === chars[i].style && this.chars[j].fFamily === chars[i].fFamily && this.chars[j].ch === chars[i].ch) {\n found = true;\n }\n\n j += 1;\n }\n\n if (!found) {\n this.chars.push(chars[i]);\n jLen += 1;\n }\n }\n }\n\n function getCharData(_char, style, font) {\n var i = 0;\n var len = this.chars.length;\n\n while (i < len) {\n if (this.chars[i].ch === _char && this.chars[i].style === style && this.chars[i].fFamily === font) {\n return this.chars[i];\n }\n\n i += 1;\n }\n\n if ((typeof _char === 'string' && _char.charCodeAt(0) !== 13 || !_char) && console && console.warn // eslint-disable-line no-console\n && !this._warned) {\n this._warned = true;\n console.warn('Missing character from exported characters list: ', _char, style, font); // eslint-disable-line no-console\n }\n\n return emptyChar;\n }\n\n function measureText(_char2, fontName, size) {\n var fontData = this.getFontByName(fontName); // Using the char instead of char.charCodeAt(0)\n // to avoid collisions between equal chars\n\n var index = _char2;\n\n if (!fontData.cache[index]) {\n var tHelper = fontData.helper;\n\n if (_char2 === ' ') {\n var doubleSize = tHelper.measureText('|' + _char2 + '|');\n var singleSize = tHelper.measureText('||');\n fontData.cache[index] = (doubleSize - singleSize) / 100;\n } else {\n fontData.cache[index] = tHelper.measureText(_char2) / 100;\n }\n }\n\n return fontData.cache[index] * size;\n }\n\n function getFontByName(name) {\n var i = 0;\n var len = this.fonts.length;\n\n while (i < len) {\n if (this.fonts[i].fName === name) {\n return this.fonts[i];\n }\n\n i += 1;\n }\n\n return this.fonts[0];\n }\n\n function getCodePoint(string) {\n var codePoint = 0;\n var first = string.charCodeAt(0);\n\n if (first >= 0xD800 && first <= 0xDBFF) {\n var second = string.charCodeAt(1);\n\n if (second >= 0xDC00 && second <= 0xDFFF) {\n codePoint = (first - 0xD800) * 0x400 + second - 0xDC00 + 0x10000;\n }\n }\n\n return codePoint;\n } // Skin tone modifiers\n\n\n function isModifier(firstCharCode, secondCharCode) {\n var sum = firstCharCode.toString(16) + secondCharCode.toString(16);\n return surrogateModifiers.indexOf(sum) !== -1;\n }\n\n function isZeroWidthJoiner(charCode) {\n return charCode === ZERO_WIDTH_JOINER_CODE_POINT;\n } // This codepoint may change the appearance of the preceding character.\n // If that is a symbol, dingbat or emoji, U+FE0F forces it to be rendered\n // as a colorful image as compared to a monochrome text variant.\n\n\n function isVariationSelector(charCode) {\n return charCode === VARIATION_SELECTOR_16_CODE_POINT;\n } // The regional indicator symbols are a set of 26 alphabetic Unicode\n /// characters (A–Z) intended to be used to encode ISO 3166-1 alpha-2\n // two-letter country codes in a way that allows optional special treatment.\n\n\n function isRegionalCode(string) {\n var codePoint = getCodePoint(string);\n\n if (codePoint >= REGIONAL_CHARACTER_A_CODE_POINT && codePoint <= REGIONAL_CHARACTER_Z_CODE_POINT) {\n return true;\n }\n\n return false;\n } // Some Emoji implementations represent combinations of\n // two “regional indicator” letters as a single flag symbol.\n\n\n function isFlagEmoji(string) {\n return isRegionalCode(string.substr(0, 2)) && isRegionalCode(string.substr(2, 2));\n }\n\n function isCombinedCharacter(_char3) {\n return combinedCharacters.indexOf(_char3) !== -1;\n } // Regional flags start with a BLACK_FLAG_CODE_POINT\n // folowed by 5 chars in the TAG range\n // and end with a CANCEL_TAG_CODE_POINT\n\n\n function isRegionalFlag(text, index) {\n var codePoint = getCodePoint(text.substr(index, 2));\n\n if (codePoint !== BLACK_FLAG_CODE_POINT) {\n return false;\n }\n\n var count = 0;\n index += 2;\n\n while (count < 5) {\n codePoint = getCodePoint(text.substr(index, 2));\n\n if (codePoint < A_TAG_CODE_POINT || codePoint > Z_TAG_CODE_POINT) {\n return false;\n }\n\n count += 1;\n index += 2;\n }\n\n return getCodePoint(text.substr(index, 2)) === CANCEL_TAG_CODE_POINT;\n }\n\n function setIsLoaded() {\n this.isLoaded = true;\n }\n\n var Font = function Font() {\n this.fonts = [];\n this.chars = null;\n this.typekitLoaded = 0;\n this.isLoaded = false;\n this._warned = false;\n this.initTime = Date.now();\n this.setIsLoadedBinded = this.setIsLoaded.bind(this);\n this.checkLoadedFontsBinded = this.checkLoadedFonts.bind(this);\n };\n\n Font.isModifier = isModifier;\n Font.isZeroWidthJoiner = isZeroWidthJoiner;\n Font.isFlagEmoji = isFlagEmoji;\n Font.isRegionalCode = isRegionalCode;\n Font.isCombinedCharacter = isCombinedCharacter;\n Font.isRegionalFlag = isRegionalFlag;\n Font.isVariationSelector = isVariationSelector;\n Font.BLACK_FLAG_CODE_POINT = BLACK_FLAG_CODE_POINT;\n var fontPrototype = {\n addChars: addChars,\n addFonts: addFonts,\n getCharData: getCharData,\n getFontByName: getFontByName,\n measureText: measureText,\n checkLoadedFonts: checkLoadedFonts,\n setIsLoaded: setIsLoaded\n };\n Font.prototype = fontPrototype;\n return Font;\n }();\n\n function SlotManager(animationData) {\n this.animationData = animationData;\n }\n\n SlotManager.prototype.getProp = function (data) {\n if (this.animationData.slots && this.animationData.slots[data.sid]) {\n return Object.assign(data, this.animationData.slots[data.sid].p);\n }\n\n return data;\n };\n\n function slotFactory(animationData) {\n return new SlotManager(animationData);\n }\n\n function RenderableElement() {}\n\n RenderableElement.prototype = {\n initRenderable: function initRenderable() {\n // layer's visibility related to inpoint and outpoint. Rename isVisible to isInRange\n this.isInRange = false; // layer's display state\n\n this.hidden = false; // If layer's transparency equals 0, it can be hidden\n\n this.isTransparent = false; // list of animated components\n\n this.renderableComponents = [];\n },\n addRenderableComponent: function addRenderableComponent(component) {\n if (this.renderableComponents.indexOf(component) === -1) {\n this.renderableComponents.push(component);\n }\n },\n removeRenderableComponent: function removeRenderableComponent(component) {\n if (this.renderableComponents.indexOf(component) !== -1) {\n this.renderableComponents.splice(this.renderableComponents.indexOf(component), 1);\n }\n },\n prepareRenderableFrame: function prepareRenderableFrame(num) {\n this.checkLayerLimits(num);\n },\n checkTransparency: function checkTransparency() {\n if (this.finalTransform.mProp.o.v <= 0) {\n if (!this.isTransparent && this.globalData.renderConfig.hideOnTransparent) {\n this.isTransparent = true;\n this.hide();\n }\n } else if (this.isTransparent) {\n this.isTransparent = false;\n this.show();\n }\n },\n\n /**\r\n * @function\r\n * Initializes frame related properties.\r\n *\r\n * @param {number} num\r\n * current frame number in Layer's time\r\n *\r\n */\n checkLayerLimits: function checkLayerLimits(num) {\n if (this.data.ip - this.data.st <= num && this.data.op - this.data.st > num) {\n if (this.isInRange !== true) {\n this.globalData._mdf = true;\n this._mdf = true;\n this.isInRange = true;\n this.show();\n }\n } else if (this.isInRange !== false) {\n this.globalData._mdf = true;\n this.isInRange = false;\n this.hide();\n }\n },\n renderRenderable: function renderRenderable() {\n var i;\n var len = this.renderableComponents.length;\n\n for (i = 0; i < len; i += 1) {\n this.renderableComponents[i].renderFrame(this._isFirstFrame);\n }\n /* this.maskManager.renderFrame(this.finalTransform.mat);\r\n this.renderableEffectsManager.renderFrame(this._isFirstFrame); */\n\n },\n sourceRectAtTime: function sourceRectAtTime() {\n return {\n top: 0,\n left: 0,\n width: 100,\n height: 100\n };\n },\n getLayerSize: function getLayerSize() {\n if (this.data.ty === 5) {\n return {\n w: this.data.textData.width,\n h: this.data.textData.height\n };\n }\n\n return {\n w: this.data.width,\n h: this.data.height\n };\n }\n };\n\n var getBlendMode = function () {\n var blendModeEnums = {\n 0: 'source-over',\n 1: 'multiply',\n 2: 'screen',\n 3: 'overlay',\n 4: 'darken',\n 5: 'lighten',\n 6: 'color-dodge',\n 7: 'color-burn',\n 8: 'hard-light',\n 9: 'soft-light',\n 10: 'difference',\n 11: 'exclusion',\n 12: 'hue',\n 13: 'saturation',\n 14: 'color',\n 15: 'luminosity'\n };\n return function (mode) {\n return blendModeEnums[mode] || '';\n };\n }();\n\n function SliderEffect(data, elem, container) {\n this.p = PropertyFactory.getProp(elem, data.v, 0, 0, container);\n }\n\n function AngleEffect(data, elem, container) {\n this.p = PropertyFactory.getProp(elem, data.v, 0, 0, container);\n }\n\n function ColorEffect(data, elem, container) {\n this.p = PropertyFactory.getProp(elem, data.v, 1, 0, container);\n }\n\n function PointEffect(data, elem, container) {\n this.p = PropertyFactory.getProp(elem, data.v, 1, 0, container);\n }\n\n function LayerIndexEffect(data, elem, container) {\n this.p = PropertyFactory.getProp(elem, data.v, 0, 0, container);\n }\n\n function MaskIndexEffect(data, elem, container) {\n this.p = PropertyFactory.getProp(elem, data.v, 0, 0, container);\n }\n\n function CheckboxEffect(data, elem, container) {\n this.p = PropertyFactory.getProp(elem, data.v, 0, 0, container);\n }\n\n function NoValueEffect() {\n this.p = {};\n }\n\n function EffectsManager(data, element) {\n var effects = data.ef || [];\n this.effectElements = [];\n var i;\n var len = effects.length;\n var effectItem;\n\n for (i = 0; i < len; i += 1) {\n effectItem = new GroupEffect(effects[i], element);\n this.effectElements.push(effectItem);\n }\n }\n\n function GroupEffect(data, element) {\n this.init(data, element);\n }\n\n extendPrototype([DynamicPropertyContainer], GroupEffect);\n GroupEffect.prototype.getValue = GroupEffect.prototype.iterateDynamicProperties;\n\n GroupEffect.prototype.init = function (data, element) {\n this.data = data;\n this.effectElements = [];\n this.initDynamicPropertyContainer(element);\n var i;\n var len = this.data.ef.length;\n var eff;\n var effects = this.data.ef;\n\n for (i = 0; i < len; i += 1) {\n eff = null;\n\n switch (effects[i].ty) {\n case 0:\n eff = new SliderEffect(effects[i], element, this);\n break;\n\n case 1:\n eff = new AngleEffect(effects[i], element, this);\n break;\n\n case 2:\n eff = new ColorEffect(effects[i], element, this);\n break;\n\n case 3:\n eff = new PointEffect(effects[i], element, this);\n break;\n\n case 4:\n case 7:\n eff = new CheckboxEffect(effects[i], element, this);\n break;\n\n case 10:\n eff = new LayerIndexEffect(effects[i], element, this);\n break;\n\n case 11:\n eff = new MaskIndexEffect(effects[i], element, this);\n break;\n\n case 5:\n eff = new EffectsManager(effects[i], element, this);\n break;\n // case 6:\n\n default:\n eff = new NoValueEffect(effects[i], element, this);\n break;\n }\n\n if (eff) {\n this.effectElements.push(eff);\n }\n }\n };\n\n function BaseElement() {}\n\n BaseElement.prototype = {\n checkMasks: function checkMasks() {\n if (!this.data.hasMask) {\n return false;\n }\n\n var i = 0;\n var len = this.data.masksProperties.length;\n\n while (i < len) {\n if (this.data.masksProperties[i].mode !== 'n' && this.data.masksProperties[i].cl !== false) {\n return true;\n }\n\n i += 1;\n }\n\n return false;\n },\n initExpressions: function initExpressions() {\n var expressionsInterfaces = getExpressionInterfaces();\n\n if (!expressionsInterfaces) {\n return;\n }\n\n var LayerExpressionInterface = expressionsInterfaces('layer');\n var EffectsExpressionInterface = expressionsInterfaces('effects');\n var ShapeExpressionInterface = expressionsInterfaces('shape');\n var TextExpressionInterface = expressionsInterfaces('text');\n var CompExpressionInterface = expressionsInterfaces('comp');\n this.layerInterface = LayerExpressionInterface(this);\n\n if (this.data.hasMask && this.maskManager) {\n this.layerInterface.registerMaskInterface(this.maskManager);\n }\n\n var effectsInterface = EffectsExpressionInterface.createEffectsInterface(this, this.layerInterface);\n this.layerInterface.registerEffectsInterface(effectsInterface);\n\n if (this.data.ty === 0 || this.data.xt) {\n this.compInterface = CompExpressionInterface(this);\n } else if (this.data.ty === 4) {\n this.layerInterface.shapeInterface = ShapeExpressionInterface(this.shapesData, this.itemsData, this.layerInterface);\n this.layerInterface.content = this.layerInterface.shapeInterface;\n } else if (this.data.ty === 5) {\n this.layerInterface.textInterface = TextExpressionInterface(this);\n this.layerInterface.text = this.layerInterface.textInterface;\n }\n },\n setBlendMode: function setBlendMode() {\n var blendModeValue = getBlendMode(this.data.bm);\n var elem = this.baseElement || this.layerElement;\n elem.style['mix-blend-mode'] = blendModeValue;\n },\n initBaseData: function initBaseData(data, globalData, comp) {\n this.globalData = globalData;\n this.comp = comp;\n this.data = data;\n this.layerId = createElementID(); // Stretch factor for old animations missing this property.\n\n if (!this.data.sr) {\n this.data.sr = 1;\n } // effects manager\n\n\n this.effectsManager = new EffectsManager(this.data, this, this.dynamicProperties);\n },\n getType: function getType() {\n return this.type;\n },\n sourceRectAtTime: function sourceRectAtTime() {}\n };\n\n /**\r\n * @file\r\n * Handles element's layer frame update.\r\n * Checks layer in point and out point\r\n *\r\n */\n function FrameElement() {}\n\n FrameElement.prototype = {\n /**\r\n * @function\r\n * Initializes frame related properties.\r\n *\r\n */\n initFrame: function initFrame() {\n // set to true when inpoint is rendered\n this._isFirstFrame = false; // list of animated properties\n\n this.dynamicProperties = []; // If layer has been modified in current tick this will be true\n\n this._mdf = false;\n },\n\n /**\r\n * @function\r\n * Calculates all dynamic values\r\n *\r\n * @param {number} num\r\n * current frame number in Layer's time\r\n * @param {boolean} isVisible\r\n * if layers is currently in range\r\n *\r\n */\n prepareProperties: function prepareProperties(num, isVisible) {\n var i;\n var len = this.dynamicProperties.length;\n\n for (i = 0; i < len; i += 1) {\n if (isVisible || this._isParent && this.dynamicProperties[i].propType === 'transform') {\n this.dynamicProperties[i].getValue();\n\n if (this.dynamicProperties[i]._mdf) {\n this.globalData._mdf = true;\n this._mdf = true;\n }\n }\n }\n },\n addDynamicProperty: function addDynamicProperty(prop) {\n if (this.dynamicProperties.indexOf(prop) === -1) {\n this.dynamicProperties.push(prop);\n }\n }\n };\n\n function FootageElement(data, globalData, comp) {\n this.initFrame();\n this.initRenderable();\n this.assetData = globalData.getAssetData(data.refId);\n this.footageData = globalData.imageLoader.getAsset(this.assetData);\n this.initBaseData(data, globalData, comp);\n }\n\n FootageElement.prototype.prepareFrame = function () {};\n\n extendPrototype([RenderableElement, BaseElement, FrameElement], FootageElement);\n\n FootageElement.prototype.getBaseElement = function () {\n return null;\n };\n\n FootageElement.prototype.renderFrame = function () {};\n\n FootageElement.prototype.destroy = function () {};\n\n FootageElement.prototype.initExpressions = function () {\n var expressionsInterfaces = getExpressionInterfaces();\n\n if (!expressionsInterfaces) {\n return;\n }\n\n var FootageInterface = expressionsInterfaces('footage');\n this.layerInterface = FootageInterface(this);\n };\n\n FootageElement.prototype.getFootageData = function () {\n return this.footageData;\n };\n\n function AudioElement(data, globalData, comp) {\n this.initFrame();\n this.initRenderable();\n this.assetData = globalData.getAssetData(data.refId);\n this.initBaseData(data, globalData, comp);\n this._isPlaying = false;\n this._canPlay = false;\n var assetPath = this.globalData.getAssetsPath(this.assetData);\n this.audio = this.globalData.audioController.createAudio(assetPath);\n this._currentTime = 0;\n this.globalData.audioController.addAudio(this);\n this._volumeMultiplier = 1;\n this._volume = 1;\n this._previousVolume = null;\n this.tm = data.tm ? PropertyFactory.getProp(this, data.tm, 0, globalData.frameRate, this) : {\n _placeholder: true\n };\n this.lv = PropertyFactory.getProp(this, data.au && data.au.lv ? data.au.lv : {\n k: [100]\n }, 1, 0.01, this);\n }\n\n AudioElement.prototype.prepareFrame = function (num) {\n this.prepareRenderableFrame(num, true);\n this.prepareProperties(num, true);\n\n if (!this.tm._placeholder) {\n var timeRemapped = this.tm.v;\n this._currentTime = timeRemapped;\n } else {\n this._currentTime = num / this.data.sr;\n }\n\n this._volume = this.lv.v[0];\n var totalVolume = this._volume * this._volumeMultiplier;\n\n if (this._previousVolume !== totalVolume) {\n this._previousVolume = totalVolume;\n this.audio.volume(totalVolume);\n }\n };\n\n extendPrototype([RenderableElement, BaseElement, FrameElement], AudioElement);\n\n AudioElement.prototype.renderFrame = function () {\n if (this.isInRange && this._canPlay) {\n if (!this._isPlaying) {\n this.audio.play();\n this.audio.seek(this._currentTime / this.globalData.frameRate);\n this._isPlaying = true;\n } else if (!this.audio.playing() || Math.abs(this._currentTime / this.globalData.frameRate - this.audio.seek()) > 0.1) {\n this.audio.seek(this._currentTime / this.globalData.frameRate);\n }\n }\n };\n\n AudioElement.prototype.show = function () {// this.audio.play()\n };\n\n AudioElement.prototype.hide = function () {\n this.audio.pause();\n this._isPlaying = false;\n };\n\n AudioElement.prototype.pause = function () {\n this.audio.pause();\n this._isPlaying = false;\n this._canPlay = false;\n };\n\n AudioElement.prototype.resume = function () {\n this._canPlay = true;\n };\n\n AudioElement.prototype.setRate = function (rateValue) {\n this.audio.rate(rateValue);\n };\n\n AudioElement.prototype.volume = function (volumeValue) {\n this._volumeMultiplier = volumeValue;\n this._previousVolume = volumeValue * this._volume;\n this.audio.volume(this._previousVolume);\n };\n\n AudioElement.prototype.getBaseElement = function () {\n return null;\n };\n\n AudioElement.prototype.destroy = function () {};\n\n AudioElement.prototype.sourceRectAtTime = function () {};\n\n AudioElement.prototype.initExpressions = function () {};\n\n function BaseRenderer() {}\n\n BaseRenderer.prototype.checkLayers = function (num) {\n var i;\n var len = this.layers.length;\n var data;\n this.completeLayers = true;\n\n for (i = len - 1; i >= 0; i -= 1) {\n if (!this.elements[i]) {\n data = this.layers[i];\n\n if (data.ip - data.st <= num - this.layers[i].st && data.op - data.st > num - this.layers[i].st) {\n this.buildItem(i);\n }\n }\n\n this.completeLayers = this.elements[i] ? this.completeLayers : false;\n }\n\n this.checkPendingElements();\n };\n\n BaseRenderer.prototype.createItem = function (layer) {\n switch (layer.ty) {\n case 2:\n return this.createImage(layer);\n\n case 0:\n return this.createComp(layer);\n\n case 1:\n return this.createSolid(layer);\n\n case 3:\n return this.createNull(layer);\n\n case 4:\n return this.createShape(layer);\n\n case 5:\n return this.createText(layer);\n\n case 6:\n return this.createAudio(layer);\n\n case 13:\n return this.createCamera(layer);\n\n case 15:\n return this.createFootage(layer);\n\n default:\n return this.createNull(layer);\n }\n };\n\n BaseRenderer.prototype.createCamera = function () {\n throw new Error('You\\'re using a 3d camera. Try the html renderer.');\n };\n\n BaseRenderer.prototype.createAudio = function (data) {\n return new AudioElement(data, this.globalData, this);\n };\n\n BaseRenderer.prototype.createFootage = function (data) {\n return new FootageElement(data, this.globalData, this);\n };\n\n BaseRenderer.prototype.buildAllItems = function () {\n var i;\n var len = this.layers.length;\n\n for (i = 0; i < len; i += 1) {\n this.buildItem(i);\n }\n\n this.checkPendingElements();\n };\n\n BaseRenderer.prototype.includeLayers = function (newLayers) {\n this.completeLayers = false;\n var i;\n var len = newLayers.length;\n var j;\n var jLen = this.layers.length;\n\n for (i = 0; i < len; i += 1) {\n j = 0;\n\n while (j < jLen) {\n if (this.layers[j].id === newLayers[i].id) {\n this.layers[j] = newLayers[i];\n break;\n }\n\n j += 1;\n }\n }\n };\n\n BaseRenderer.prototype.setProjectInterface = function (pInterface) {\n this.globalData.projectInterface = pInterface;\n };\n\n BaseRenderer.prototype.initItems = function () {\n if (!this.globalData.progressiveLoad) {\n this.buildAllItems();\n }\n };\n\n BaseRenderer.prototype.buildElementParenting = function (element, parentName, hierarchy) {\n var elements = this.elements;\n var layers = this.layers;\n var i = 0;\n var len = layers.length;\n\n while (i < len) {\n if (layers[i].ind == parentName) {\n // eslint-disable-line eqeqeq\n if (!elements[i] || elements[i] === true) {\n this.buildItem(i);\n this.addPendingElement(element);\n } else {\n hierarchy.push(elements[i]);\n elements[i].setAsParent();\n\n if (layers[i].parent !== undefined) {\n this.buildElementParenting(element, layers[i].parent, hierarchy);\n } else {\n element.setHierarchy(hierarchy);\n }\n }\n }\n\n i += 1;\n }\n };\n\n BaseRenderer.prototype.addPendingElement = function (element) {\n this.pendingElements.push(element);\n };\n\n BaseRenderer.prototype.searchExtraCompositions = function (assets) {\n var i;\n var len = assets.length;\n\n for (i = 0; i < len; i += 1) {\n if (assets[i].xt) {\n var comp = this.createComp(assets[i]);\n comp.initExpressions();\n this.globalData.projectInterface.registerComposition(comp);\n }\n }\n };\n\n BaseRenderer.prototype.getElementById = function (ind) {\n var i;\n var len = this.elements.length;\n\n for (i = 0; i < len; i += 1) {\n if (this.elements[i].data.ind === ind) {\n return this.elements[i];\n }\n }\n\n return null;\n };\n\n BaseRenderer.prototype.getElementByPath = function (path) {\n var pathValue = path.shift();\n var element;\n\n if (typeof pathValue === 'number') {\n element = this.elements[pathValue];\n } else {\n var i;\n var len = this.elements.length;\n\n for (i = 0; i < len; i += 1) {\n if (this.elements[i].data.nm === pathValue) {\n element = this.elements[i];\n break;\n }\n }\n }\n\n if (path.length === 0) {\n return element;\n }\n\n return element.getElementByPath(path);\n };\n\n BaseRenderer.prototype.setupGlobalData = function (animData, fontsContainer) {\n this.globalData.fontManager = new FontManager();\n this.globalData.slotManager = slotFactory(animData);\n this.globalData.fontManager.addChars(animData.chars);\n this.globalData.fontManager.addFonts(animData.fonts, fontsContainer);\n this.globalData.getAssetData = this.animationItem.getAssetData.bind(this.animationItem);\n this.globalData.getAssetsPath = this.animationItem.getAssetsPath.bind(this.animationItem);\n this.globalData.imageLoader = this.animationItem.imagePreloader;\n this.globalData.audioController = this.animationItem.audioController;\n this.globalData.frameId = 0;\n this.globalData.frameRate = animData.fr;\n this.globalData.nm = animData.nm;\n this.globalData.compSize = {\n w: animData.w,\n h: animData.h\n };\n };\n\n var effectTypes = {\n TRANSFORM_EFFECT: 'transformEFfect'\n };\n\n function TransformElement() {}\n\n TransformElement.prototype = {\n initTransform: function initTransform() {\n var mat = new Matrix();\n this.finalTransform = {\n mProp: this.data.ks ? TransformPropertyFactory.getTransformProperty(this, this.data.ks, this) : {\n o: 0\n },\n _matMdf: false,\n _localMatMdf: false,\n _opMdf: false,\n mat: mat,\n localMat: mat,\n localOpacity: 1\n };\n\n if (this.data.ao) {\n this.finalTransform.mProp.autoOriented = true;\n } // TODO: check TYPE 11: Guided elements\n\n\n if (this.data.ty !== 11) {// this.createElements();\n }\n },\n renderTransform: function renderTransform() {\n this.finalTransform._opMdf = this.finalTransform.mProp.o._mdf || this._isFirstFrame;\n this.finalTransform._matMdf = this.finalTransform.mProp._mdf || this._isFirstFrame;\n\n if (this.hierarchy) {\n var mat;\n var finalMat = this.finalTransform.mat;\n var i = 0;\n var len = this.hierarchy.length; // Checking if any of the transformation matrices in the hierarchy chain has changed.\n\n if (!this.finalTransform._matMdf) {\n while (i < len) {\n if (this.hierarchy[i].finalTransform.mProp._mdf) {\n this.finalTransform._matMdf = true;\n break;\n }\n\n i += 1;\n }\n }\n\n if (this.finalTransform._matMdf) {\n mat = this.finalTransform.mProp.v.props;\n finalMat.cloneFromProps(mat);\n\n for (i = 0; i < len; i += 1) {\n finalMat.multiply(this.hierarchy[i].finalTransform.mProp.v);\n }\n }\n }\n\n if (this.finalTransform._matMdf) {\n this.finalTransform._localMatMdf = this.finalTransform._matMdf;\n }\n\n if (this.finalTransform._opMdf) {\n this.finalTransform.localOpacity = this.finalTransform.mProp.o.v;\n }\n },\n renderLocalTransform: function renderLocalTransform() {\n if (this.localTransforms) {\n var i = 0;\n var len = this.localTransforms.length;\n this.finalTransform._localMatMdf = this.finalTransform._matMdf;\n\n if (!this.finalTransform._localMatMdf || !this.finalTransform._opMdf) {\n while (i < len) {\n if (this.localTransforms[i]._mdf) {\n this.finalTransform._localMatMdf = true;\n }\n\n if (this.localTransforms[i]._opMdf && !this.finalTransform._opMdf) {\n this.finalTransform.localOpacity = this.finalTransform.mProp.o.v;\n this.finalTransform._opMdf = true;\n }\n\n i += 1;\n }\n }\n\n if (this.finalTransform._localMatMdf) {\n var localMat = this.finalTransform.localMat;\n this.localTransforms[0].matrix.clone(localMat);\n\n for (i = 1; i < len; i += 1) {\n var lmat = this.localTransforms[i].matrix;\n localMat.multiply(lmat);\n }\n\n localMat.multiply(this.finalTransform.mat);\n }\n\n if (this.finalTransform._opMdf) {\n var localOp = this.finalTransform.localOpacity;\n\n for (i = 0; i < len; i += 1) {\n localOp *= this.localTransforms[i].opacity * 0.01;\n }\n\n this.finalTransform.localOpacity = localOp;\n }\n }\n },\n searchEffectTransforms: function searchEffectTransforms() {\n if (this.renderableEffectsManager) {\n var transformEffects = this.renderableEffectsManager.getEffects(effectTypes.TRANSFORM_EFFECT);\n\n if (transformEffects.length) {\n this.localTransforms = [];\n this.finalTransform.localMat = new Matrix();\n var i = 0;\n var len = transformEffects.length;\n\n for (i = 0; i < len; i += 1) {\n this.localTransforms.push(transformEffects[i]);\n }\n }\n }\n },\n globalToLocal: function globalToLocal(pt) {\n var transforms = [];\n transforms.push(this.finalTransform);\n var flag = true;\n var comp = this.comp;\n\n while (flag) {\n if (comp.finalTransform) {\n if (comp.data.hasMask) {\n transforms.splice(0, 0, comp.finalTransform);\n }\n\n comp = comp.comp;\n } else {\n flag = false;\n }\n }\n\n var i;\n var len = transforms.length;\n var ptNew;\n\n for (i = 0; i < len; i += 1) {\n ptNew = transforms[i].mat.applyToPointArray(0, 0, 0); // ptNew = transforms[i].mat.applyToPointArray(pt[0],pt[1],pt[2]);\n\n pt = [pt[0] - ptNew[0], pt[1] - ptNew[1], 0];\n }\n\n return pt;\n },\n mHelper: new Matrix()\n };\n\n function MaskElement(data, element, globalData) {\n this.data = data;\n this.element = element;\n this.globalData = globalData;\n this.storedData = [];\n this.masksProperties = this.data.masksProperties || [];\n this.maskElement = null;\n var defs = this.globalData.defs;\n var i;\n var len = this.masksProperties ? this.masksProperties.length : 0;\n this.viewData = createSizedArray(len);\n this.solidPath = '';\n var path;\n var properties = this.masksProperties;\n var count = 0;\n var currentMasks = [];\n var j;\n var jLen;\n var layerId = createElementID();\n var rect;\n var expansor;\n var feMorph;\n var x;\n var maskType = 'clipPath';\n var maskRef = 'clip-path';\n\n for (i = 0; i < len; i += 1) {\n if (properties[i].mode !== 'a' && properties[i].mode !== 'n' || properties[i].inv || properties[i].o.k !== 100 || properties[i].o.x) {\n maskType = 'mask';\n maskRef = 'mask';\n }\n\n if ((properties[i].mode === 's' || properties[i].mode === 'i') && count === 0) {\n rect = createNS('rect');\n rect.setAttribute('fill', '#ffffff');\n rect.setAttribute('width', this.element.comp.data.w || 0);\n rect.setAttribute('height', this.element.comp.data.h || 0);\n currentMasks.push(rect);\n } else {\n rect = null;\n }\n\n path = createNS('path');\n\n if (properties[i].mode === 'n') {\n // TODO move this to a factory or to a constructor\n this.viewData[i] = {\n op: PropertyFactory.getProp(this.element, properties[i].o, 0, 0.01, this.element),\n prop: ShapePropertyFactory.getShapeProp(this.element, properties[i], 3),\n elem: path,\n lastPath: ''\n };\n defs.appendChild(path);\n } else {\n count += 1;\n path.setAttribute('fill', properties[i].mode === 's' ? '#000000' : '#ffffff');\n path.setAttribute('clip-rule', 'nonzero');\n var filterID;\n\n if (properties[i].x.k !== 0) {\n maskType = 'mask';\n maskRef = 'mask';\n x = PropertyFactory.getProp(this.element, properties[i].x, 0, null, this.element);\n filterID = createElementID();\n expansor = createNS('filter');\n expansor.setAttribute('id', filterID);\n feMorph = createNS('feMorphology');\n feMorph.setAttribute('operator', 'erode');\n feMorph.setAttribute('in', 'SourceGraphic');\n feMorph.setAttribute('radius', '0');\n expansor.appendChild(feMorph);\n defs.appendChild(expansor);\n path.setAttribute('stroke', properties[i].mode === 's' ? '#000000' : '#ffffff');\n } else {\n feMorph = null;\n x = null;\n } // TODO move this to a factory or to a constructor\n\n\n this.storedData[i] = {\n elem: path,\n x: x,\n expan: feMorph,\n lastPath: '',\n lastOperator: '',\n filterId: filterID,\n lastRadius: 0\n };\n\n if (properties[i].mode === 'i') {\n jLen = currentMasks.length;\n var g = createNS('g');\n\n for (j = 0; j < jLen; j += 1) {\n g.appendChild(currentMasks[j]);\n }\n\n var mask = createNS('mask');\n mask.setAttribute('mask-type', 'alpha');\n mask.setAttribute('id', layerId + '_' + count);\n mask.appendChild(path);\n defs.appendChild(mask);\n g.setAttribute('mask', 'url(' + getLocationHref() + '#' + layerId + '_' + count + ')');\n currentMasks.length = 0;\n currentMasks.push(g);\n } else {\n currentMasks.push(path);\n }\n\n if (properties[i].inv && !this.solidPath) {\n this.solidPath = this.createLayerSolidPath();\n } // TODO move this to a factory or to a constructor\n\n\n this.viewData[i] = {\n elem: path,\n lastPath: '',\n op: PropertyFactory.getProp(this.element, properties[i].o, 0, 0.01, this.element),\n prop: ShapePropertyFactory.getShapeProp(this.element, properties[i], 3),\n invRect: rect\n };\n\n if (!this.viewData[i].prop.k) {\n this.drawPath(properties[i], this.viewData[i].prop.v, this.viewData[i]);\n }\n }\n }\n\n this.maskElement = createNS(maskType);\n len = currentMasks.length;\n\n for (i = 0; i < len; i += 1) {\n this.maskElement.appendChild(currentMasks[i]);\n }\n\n if (count > 0) {\n this.maskElement.setAttribute('id', layerId);\n this.element.maskedElement.setAttribute(maskRef, 'url(' + getLocationHref() + '#' + layerId + ')');\n defs.appendChild(this.maskElement);\n }\n\n if (this.viewData.length) {\n this.element.addRenderableComponent(this);\n }\n }\n\n MaskElement.prototype.getMaskProperty = function (pos) {\n return this.viewData[pos].prop;\n };\n\n MaskElement.prototype.renderFrame = function (isFirstFrame) {\n var finalMat = this.element.finalTransform.mat;\n var i;\n var len = this.masksProperties.length;\n\n for (i = 0; i < len; i += 1) {\n if (this.viewData[i].prop._mdf || isFirstFrame) {\n this.drawPath(this.masksProperties[i], this.viewData[i].prop.v, this.viewData[i]);\n }\n\n if (this.viewData[i].op._mdf || isFirstFrame) {\n this.viewData[i].elem.setAttribute('fill-opacity', this.viewData[i].op.v);\n }\n\n if (this.masksProperties[i].mode !== 'n') {\n if (this.viewData[i].invRect && (this.element.finalTransform.mProp._mdf || isFirstFrame)) {\n this.viewData[i].invRect.setAttribute('transform', finalMat.getInverseMatrix().to2dCSS());\n }\n\n if (this.storedData[i].x && (this.storedData[i].x._mdf || isFirstFrame)) {\n var feMorph = this.storedData[i].expan;\n\n if (this.storedData[i].x.v < 0) {\n if (this.storedData[i].lastOperator !== 'erode') {\n this.storedData[i].lastOperator = 'erode';\n this.storedData[i].elem.setAttribute('filter', 'url(' + getLocationHref() + '#' + this.storedData[i].filterId + ')');\n }\n\n feMorph.setAttribute('radius', -this.storedData[i].x.v);\n } else {\n if (this.storedData[i].lastOperator !== 'dilate') {\n this.storedData[i].lastOperator = 'dilate';\n this.storedData[i].elem.setAttribute('filter', null);\n }\n\n this.storedData[i].elem.setAttribute('stroke-width', this.storedData[i].x.v * 2);\n }\n }\n }\n }\n };\n\n MaskElement.prototype.getMaskelement = function () {\n return this.maskElement;\n };\n\n MaskElement.prototype.createLayerSolidPath = function () {\n var path = 'M0,0 ';\n path += ' h' + this.globalData.compSize.w;\n path += ' v' + this.globalData.compSize.h;\n path += ' h-' + this.globalData.compSize.w;\n path += ' v-' + this.globalData.compSize.h + ' ';\n return path;\n };\n\n MaskElement.prototype.drawPath = function (pathData, pathNodes, viewData) {\n var pathString = ' M' + pathNodes.v[0][0] + ',' + pathNodes.v[0][1];\n var i;\n var len;\n len = pathNodes._length;\n\n for (i = 1; i < len; i += 1) {\n // pathString += \" C\"+pathNodes.o[i-1][0]+','+pathNodes.o[i-1][1] + \" \"+pathNodes.i[i][0]+','+pathNodes.i[i][1] + \" \"+pathNodes.v[i][0]+','+pathNodes.v[i][1];\n pathString += ' C' + pathNodes.o[i - 1][0] + ',' + pathNodes.o[i - 1][1] + ' ' + pathNodes.i[i][0] + ',' + pathNodes.i[i][1] + ' ' + pathNodes.v[i][0] + ',' + pathNodes.v[i][1];\n } // pathString += \" C\"+pathNodes.o[i-1][0]+','+pathNodes.o[i-1][1] + \" \"+pathNodes.i[0][0]+','+pathNodes.i[0][1] + \" \"+pathNodes.v[0][0]+','+pathNodes.v[0][1];\n\n\n if (pathNodes.c && len > 1) {\n pathString += ' C' + pathNodes.o[i - 1][0] + ',' + pathNodes.o[i - 1][1] + ' ' + pathNodes.i[0][0] + ',' + pathNodes.i[0][1] + ' ' + pathNodes.v[0][0] + ',' + pathNodes.v[0][1];\n } // pathNodes.__renderedString = pathString;\n\n\n if (viewData.lastPath !== pathString) {\n var pathShapeValue = '';\n\n if (viewData.elem) {\n if (pathNodes.c) {\n pathShapeValue = pathData.inv ? this.solidPath + pathString : pathString;\n }\n\n viewData.elem.setAttribute('d', pathShapeValue);\n }\n\n viewData.lastPath = pathString;\n }\n };\n\n MaskElement.prototype.destroy = function () {\n this.element = null;\n this.globalData = null;\n this.maskElement = null;\n this.data = null;\n this.masksProperties = null;\n };\n\n var filtersFactory = function () {\n var ob = {};\n ob.createFilter = createFilter;\n ob.createAlphaToLuminanceFilter = createAlphaToLuminanceFilter;\n\n function createFilter(filId, skipCoordinates) {\n var fil = createNS('filter');\n fil.setAttribute('id', filId);\n\n if (skipCoordinates !== true) {\n fil.setAttribute('filterUnits', 'objectBoundingBox');\n fil.setAttribute('x', '0%');\n fil.setAttribute('y', '0%');\n fil.setAttribute('width', '100%');\n fil.setAttribute('height', '100%');\n }\n\n return fil;\n }\n\n function createAlphaToLuminanceFilter() {\n var feColorMatrix = createNS('feColorMatrix');\n feColorMatrix.setAttribute('type', 'matrix');\n feColorMatrix.setAttribute('color-interpolation-filters', 'sRGB');\n feColorMatrix.setAttribute('values', '0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1');\n return feColorMatrix;\n }\n\n return ob;\n }();\n\n var featureSupport = function () {\n var ob = {\n maskType: true,\n svgLumaHidden: true,\n offscreenCanvas: typeof OffscreenCanvas !== 'undefined'\n };\n\n if (/MSIE 10/i.test(navigator.userAgent) || /MSIE 9/i.test(navigator.userAgent) || /rv:11.0/i.test(navigator.userAgent) || /Edge\\/\\d./i.test(navigator.userAgent)) {\n ob.maskType = false;\n }\n\n if (/firefox/i.test(navigator.userAgent)) {\n ob.svgLumaHidden = false;\n }\n\n return ob;\n }();\n\n var registeredEffects$1 = {};\n var idPrefix = 'filter_result_';\n\n function SVGEffects(elem) {\n var i;\n var source = 'SourceGraphic';\n var len = elem.data.ef ? elem.data.ef.length : 0;\n var filId = createElementID();\n var fil = filtersFactory.createFilter(filId, true);\n var count = 0;\n this.filters = [];\n var filterManager;\n\n for (i = 0; i < len; i += 1) {\n filterManager = null;\n var type = elem.data.ef[i].ty;\n\n if (registeredEffects$1[type]) {\n var Effect = registeredEffects$1[type].effect;\n filterManager = new Effect(fil, elem.effectsManager.effectElements[i], elem, idPrefix + count, source);\n source = idPrefix + count;\n\n if (registeredEffects$1[type].countsAsEffect) {\n count += 1;\n }\n }\n\n if (filterManager) {\n this.filters.push(filterManager);\n }\n }\n\n if (count) {\n elem.globalData.defs.appendChild(fil);\n elem.layerElement.setAttribute('filter', 'url(' + getLocationHref() + '#' + filId + ')');\n }\n\n if (this.filters.length) {\n elem.addRenderableComponent(this);\n }\n }\n\n SVGEffects.prototype.renderFrame = function (_isFirstFrame) {\n var i;\n var len = this.filters.length;\n\n for (i = 0; i < len; i += 1) {\n this.filters[i].renderFrame(_isFirstFrame);\n }\n };\n\n SVGEffects.prototype.getEffects = function (type) {\n var i;\n var len = this.filters.length;\n var effects = [];\n\n for (i = 0; i < len; i += 1) {\n if (this.filters[i].type === type) {\n effects.push(this.filters[i]);\n }\n }\n\n return effects;\n };\n\n function registerEffect$1(id, effect, countsAsEffect) {\n registeredEffects$1[id] = {\n effect: effect,\n countsAsEffect: countsAsEffect\n };\n }\n\n function SVGBaseElement() {}\n\n SVGBaseElement.prototype = {\n initRendererElement: function initRendererElement() {\n this.layerElement = createNS('g');\n },\n createContainerElements: function createContainerElements() {\n this.matteElement = createNS('g');\n this.transformedElement = this.layerElement;\n this.maskedElement = this.layerElement;\n this._sizeChanged = false;\n var layerElementParent = null; // If this layer acts as a mask for the following layer\n\n if (this.data.td) {\n this.matteMasks = {};\n var gg = createNS('g');\n gg.setAttribute('id', this.layerId);\n gg.appendChild(this.layerElement);\n layerElementParent = gg;\n this.globalData.defs.appendChild(gg);\n } else if (this.data.tt) {\n this.matteElement.appendChild(this.layerElement);\n layerElementParent = this.matteElement;\n this.baseElement = this.matteElement;\n } else {\n this.baseElement = this.layerElement;\n }\n\n if (this.data.ln) {\n this.layerElement.setAttribute('id', this.data.ln);\n }\n\n if (this.data.cl) {\n this.layerElement.setAttribute('class', this.data.cl);\n } // Clipping compositions to hide content that exceeds boundaries. If collapsed transformations is on, component should not be clipped\n\n\n if (this.data.ty === 0 && !this.data.hd) {\n var cp = createNS('clipPath');\n var pt = createNS('path');\n pt.setAttribute('d', 'M0,0 L' + this.data.w + ',0 L' + this.data.w + ',' + this.data.h + ' L0,' + this.data.h + 'z');\n var clipId = createElementID();\n cp.setAttribute('id', clipId);\n cp.appendChild(pt);\n this.globalData.defs.appendChild(cp);\n\n if (this.checkMasks()) {\n var cpGroup = createNS('g');\n cpGroup.setAttribute('clip-path', 'url(' + getLocationHref() + '#' + clipId + ')');\n cpGroup.appendChild(this.layerElement);\n this.transformedElement = cpGroup;\n\n if (layerElementParent) {\n layerElementParent.appendChild(this.transformedElement);\n } else {\n this.baseElement = this.transformedElement;\n }\n } else {\n this.layerElement.setAttribute('clip-path', 'url(' + getLocationHref() + '#' + clipId + ')');\n }\n }\n\n if (this.data.bm !== 0) {\n this.setBlendMode();\n }\n },\n renderElement: function renderElement() {\n if (this.finalTransform._localMatMdf) {\n this.transformedElement.setAttribute('transform', this.finalTransform.localMat.to2dCSS());\n }\n\n if (this.finalTransform._opMdf) {\n this.transformedElement.setAttribute('opacity', this.finalTransform.localOpacity);\n }\n },\n destroyBaseElement: function destroyBaseElement() {\n this.layerElement = null;\n this.matteElement = null;\n this.maskManager.destroy();\n },\n getBaseElement: function getBaseElement() {\n if (this.data.hd) {\n return null;\n }\n\n return this.baseElement;\n },\n createRenderableComponents: function createRenderableComponents() {\n this.maskManager = new MaskElement(this.data, this, this.globalData);\n this.renderableEffectsManager = new SVGEffects(this);\n this.searchEffectTransforms();\n },\n getMatte: function getMatte(matteType) {\n // This should not be a common case. But for backward compatibility, we'll create the matte object.\n // It solves animations that have two consecutive layers marked as matte masks.\n // Which is an undefined behavior in AE.\n if (!this.matteMasks) {\n this.matteMasks = {};\n }\n\n if (!this.matteMasks[matteType]) {\n var id = this.layerId + '_' + matteType;\n var filId;\n var fil;\n var useElement;\n var gg;\n\n if (matteType === 1 || matteType === 3) {\n var masker = createNS('mask');\n masker.setAttribute('id', id);\n masker.setAttribute('mask-type', matteType === 3 ? 'luminance' : 'alpha');\n useElement = createNS('use');\n useElement.setAttributeNS('http://www.w3.org/1999/xlink', 'href', '#' + this.layerId);\n masker.appendChild(useElement);\n this.globalData.defs.appendChild(masker);\n\n if (!featureSupport.maskType && matteType === 1) {\n masker.setAttribute('mask-type', 'luminance');\n filId = createElementID();\n fil = filtersFactory.createFilter(filId);\n this.globalData.defs.appendChild(fil);\n fil.appendChild(filtersFactory.createAlphaToLuminanceFilter());\n gg = createNS('g');\n gg.appendChild(useElement);\n masker.appendChild(gg);\n gg.setAttribute('filter', 'url(' + getLocationHref() + '#' + filId + ')');\n }\n } else if (matteType === 2) {\n var maskGroup = createNS('mask');\n maskGroup.setAttribute('id', id);\n maskGroup.setAttribute('mask-type', 'alpha');\n var maskGrouper = createNS('g');\n maskGroup.appendChild(maskGrouper);\n filId = createElementID();\n fil = filtersFactory.createFilter(filId); /// /\n\n var feCTr = createNS('feComponentTransfer');\n feCTr.setAttribute('in', 'SourceGraphic');\n fil.appendChild(feCTr);\n var feFunc = createNS('feFuncA');\n feFunc.setAttribute('type', 'table');\n feFunc.setAttribute('tableValues', '1.0 0.0');\n feCTr.appendChild(feFunc); /// /\n\n this.globalData.defs.appendChild(fil);\n var alphaRect = createNS('rect');\n alphaRect.setAttribute('width', this.comp.data.w);\n alphaRect.setAttribute('height', this.comp.data.h);\n alphaRect.setAttribute('x', '0');\n alphaRect.setAttribute('y', '0');\n alphaRect.setAttribute('fill', '#ffffff');\n alphaRect.setAttribute('opacity', '0');\n maskGrouper.setAttribute('filter', 'url(' + getLocationHref() + '#' + filId + ')');\n maskGrouper.appendChild(alphaRect);\n useElement = createNS('use');\n useElement.setAttributeNS('http://www.w3.org/1999/xlink', 'href', '#' + this.layerId);\n maskGrouper.appendChild(useElement);\n\n if (!featureSupport.maskType) {\n maskGroup.setAttribute('mask-type', 'luminance');\n fil.appendChild(filtersFactory.createAlphaToLuminanceFilter());\n gg = createNS('g');\n maskGrouper.appendChild(alphaRect);\n gg.appendChild(this.layerElement);\n maskGrouper.appendChild(gg);\n }\n\n this.globalData.defs.appendChild(maskGroup);\n }\n\n this.matteMasks[matteType] = id;\n }\n\n return this.matteMasks[matteType];\n },\n setMatte: function setMatte(id) {\n if (!this.matteElement) {\n return;\n }\n\n this.matteElement.setAttribute('mask', 'url(' + getLocationHref() + '#' + id + ')');\n }\n };\n\n /**\r\n * @file\r\n * Handles AE's layer parenting property.\r\n *\r\n */\n function HierarchyElement() {}\n\n HierarchyElement.prototype = {\n /**\r\n * @function\r\n * Initializes hierarchy properties\r\n *\r\n */\n initHierarchy: function initHierarchy() {\n // element's parent list\n this.hierarchy = []; // if element is parent of another layer _isParent will be true\n\n this._isParent = false;\n this.checkParenting();\n },\n\n /**\r\n * @function\r\n * Sets layer's hierarchy.\r\n * @param {array} hierarch\r\n * layer's parent list\r\n *\r\n */\n setHierarchy: function setHierarchy(hierarchy) {\n this.hierarchy = hierarchy;\n },\n\n /**\r\n * @function\r\n * Sets layer as parent.\r\n *\r\n */\n setAsParent: function setAsParent() {\n this._isParent = true;\n },\n\n /**\r\n * @function\r\n * Searches layer's parenting chain\r\n *\r\n */\n checkParenting: function checkParenting() {\n if (this.data.parent !== undefined) {\n this.comp.buildElementParenting(this, this.data.parent, []);\n }\n }\n };\n\n function RenderableDOMElement() {}\n\n (function () {\n var _prototype = {\n initElement: function initElement(data, globalData, comp) {\n this.initFrame();\n this.initBaseData(data, globalData, comp);\n this.initTransform(data, globalData, comp);\n this.initHierarchy();\n this.initRenderable();\n this.initRendererElement();\n this.createContainerElements();\n this.createRenderableComponents();\n this.createContent();\n this.hide();\n },\n hide: function hide() {\n // console.log('HIDE', this);\n if (!this.hidden && (!this.isInRange || this.isTransparent)) {\n var elem = this.baseElement || this.layerElement;\n elem.style.display = 'none';\n this.hidden = true;\n }\n },\n show: function show() {\n // console.log('SHOW', this);\n if (this.isInRange && !this.isTransparent) {\n if (!this.data.hd) {\n var elem = this.baseElement || this.layerElement;\n elem.style.display = 'block';\n }\n\n this.hidden = false;\n this._isFirstFrame = true;\n }\n },\n renderFrame: function renderFrame() {\n // If it is exported as hidden (data.hd === true) no need to render\n // If it is not visible no need to render\n if (this.data.hd || this.hidden) {\n return;\n }\n\n this.renderTransform();\n this.renderRenderable();\n this.renderLocalTransform();\n this.renderElement();\n this.renderInnerContent();\n\n if (this._isFirstFrame) {\n this._isFirstFrame = false;\n }\n },\n renderInnerContent: function renderInnerContent() {},\n prepareFrame: function prepareFrame(num) {\n this._mdf = false;\n this.prepareRenderableFrame(num);\n this.prepareProperties(num, this.isInRange);\n this.checkTransparency();\n },\n destroy: function destroy() {\n this.innerElem = null;\n this.destroyBaseElement();\n }\n };\n extendPrototype([RenderableElement, createProxyFunction(_prototype)], RenderableDOMElement);\n })();\n\n function IImageElement(data, globalData, comp) {\n this.assetData = globalData.getAssetData(data.refId);\n\n if (this.assetData && this.assetData.sid) {\n this.assetData = globalData.slotManager.getProp(this.assetData);\n }\n\n this.initElement(data, globalData, comp);\n this.sourceRect = {\n top: 0,\n left: 0,\n width: this.assetData.w,\n height: this.assetData.h\n };\n }\n\n extendPrototype([BaseElement, TransformElement, SVGBaseElement, HierarchyElement, FrameElement, RenderableDOMElement], IImageElement);\n\n IImageElement.prototype.createContent = function () {\n var assetPath = this.globalData.getAssetsPath(this.assetData);\n this.innerElem = createNS('image');\n this.innerElem.setAttribute('width', this.assetData.w + 'px');\n this.innerElem.setAttribute('height', this.assetData.h + 'px');\n this.innerElem.setAttribute('preserveAspectRatio', this.assetData.pr || this.globalData.renderConfig.imagePreserveAspectRatio);\n this.innerElem.setAttributeNS('http://www.w3.org/1999/xlink', 'href', assetPath);\n this.layerElement.appendChild(this.innerElem);\n };\n\n IImageElement.prototype.sourceRectAtTime = function () {\n return this.sourceRect;\n };\n\n function ProcessedElement(element, position) {\n this.elem = element;\n this.pos = position;\n }\n\n function IShapeElement() {}\n\n IShapeElement.prototype = {\n addShapeToModifiers: function addShapeToModifiers(data) {\n var i;\n var len = this.shapeModifiers.length;\n\n for (i = 0; i < len; i += 1) {\n this.shapeModifiers[i].addShape(data);\n }\n },\n isShapeInAnimatedModifiers: function isShapeInAnimatedModifiers(data) {\n var i = 0;\n var len = this.shapeModifiers.length;\n\n while (i < len) {\n if (this.shapeModifiers[i].isAnimatedWithShape(data)) {\n return true;\n }\n }\n\n return false;\n },\n renderModifiers: function renderModifiers() {\n if (!this.shapeModifiers.length) {\n return;\n }\n\n var i;\n var len = this.shapes.length;\n\n for (i = 0; i < len; i += 1) {\n this.shapes[i].sh.reset();\n }\n\n len = this.shapeModifiers.length;\n var shouldBreakProcess;\n\n for (i = len - 1; i >= 0; i -= 1) {\n shouldBreakProcess = this.shapeModifiers[i].processShapes(this._isFirstFrame); // workaround to fix cases where a repeater resets the shape so the following processes get called twice\n // TODO: find a better solution for this\n\n if (shouldBreakProcess) {\n break;\n }\n }\n },\n searchProcessedElement: function searchProcessedElement(elem) {\n var elements = this.processedElements;\n var i = 0;\n var len = elements.length;\n\n while (i < len) {\n if (elements[i].elem === elem) {\n return elements[i].pos;\n }\n\n i += 1;\n }\n\n return 0;\n },\n addProcessedElement: function addProcessedElement(elem, pos) {\n var elements = this.processedElements;\n var i = elements.length;\n\n while (i) {\n i -= 1;\n\n if (elements[i].elem === elem) {\n elements[i].pos = pos;\n return;\n }\n }\n\n elements.push(new ProcessedElement(elem, pos));\n },\n prepareFrame: function prepareFrame(num) {\n this.prepareRenderableFrame(num);\n this.prepareProperties(num, this.isInRange);\n }\n };\n\n var lineCapEnum = {\n 1: 'butt',\n 2: 'round',\n 3: 'square'\n };\n var lineJoinEnum = {\n 1: 'miter',\n 2: 'round',\n 3: 'bevel'\n };\n\n function SVGShapeData(transformers, level, shape) {\n this.caches = [];\n this.styles = [];\n this.transformers = transformers;\n this.lStr = '';\n this.sh = shape;\n this.lvl = level; // TODO find if there are some cases where _isAnimated can be false.\n // For now, since shapes add up with other shapes. They have to be calculated every time.\n // One way of finding out is checking if all styles associated to this shape depend only of this shape\n\n this._isAnimated = !!shape.k; // TODO: commenting this for now since all shapes are animated\n\n var i = 0;\n var len = transformers.length;\n\n while (i < len) {\n if (transformers[i].mProps.dynamicProperties.length) {\n this._isAnimated = true;\n break;\n }\n\n i += 1;\n }\n }\n\n SVGShapeData.prototype.setAsAnimated = function () {\n this._isAnimated = true;\n };\n\n function SVGStyleData(data, level) {\n this.data = data;\n this.type = data.ty;\n this.d = '';\n this.lvl = level;\n this._mdf = false;\n this.closed = data.hd === true;\n this.pElem = createNS('path');\n this.msElem = null;\n }\n\n SVGStyleData.prototype.reset = function () {\n this.d = '';\n this._mdf = false;\n };\n\n function DashProperty(elem, data, renderer, container) {\n this.elem = elem;\n this.frameId = -1;\n this.dataProps = createSizedArray(data.length);\n this.renderer = renderer;\n this.k = false;\n this.dashStr = '';\n this.dashArray = createTypedArray('float32', data.length ? data.length - 1 : 0);\n this.dashoffset = createTypedArray('float32', 1);\n this.initDynamicPropertyContainer(container);\n var i;\n var len = data.length || 0;\n var prop;\n\n for (i = 0; i < len; i += 1) {\n prop = PropertyFactory.getProp(elem, data[i].v, 0, 0, this);\n this.k = prop.k || this.k;\n this.dataProps[i] = {\n n: data[i].n,\n p: prop\n };\n }\n\n if (!this.k) {\n this.getValue(true);\n }\n\n this._isAnimated = this.k;\n }\n\n DashProperty.prototype.getValue = function (forceRender) {\n if (this.elem.globalData.frameId === this.frameId && !forceRender) {\n return;\n }\n\n this.frameId = this.elem.globalData.frameId;\n this.iterateDynamicProperties();\n this._mdf = this._mdf || forceRender;\n\n if (this._mdf) {\n var i = 0;\n var len = this.dataProps.length;\n\n if (this.renderer === 'svg') {\n this.dashStr = '';\n }\n\n for (i = 0; i < len; i += 1) {\n if (this.dataProps[i].n !== 'o') {\n if (this.renderer === 'svg') {\n this.dashStr += ' ' + this.dataProps[i].p.v;\n } else {\n this.dashArray[i] = this.dataProps[i].p.v;\n }\n } else {\n this.dashoffset[0] = this.dataProps[i].p.v;\n }\n }\n }\n };\n\n extendPrototype([DynamicPropertyContainer], DashProperty);\n\n function SVGStrokeStyleData(elem, data, styleOb) {\n this.initDynamicPropertyContainer(elem);\n this.getValue = this.iterateDynamicProperties;\n this.o = PropertyFactory.getProp(elem, data.o, 0, 0.01, this);\n this.w = PropertyFactory.getProp(elem, data.w, 0, null, this);\n this.d = new DashProperty(elem, data.d || {}, 'svg', this);\n this.c = PropertyFactory.getProp(elem, data.c, 1, 255, this);\n this.style = styleOb;\n this._isAnimated = !!this._isAnimated;\n }\n\n extendPrototype([DynamicPropertyContainer], SVGStrokeStyleData);\n\n function SVGFillStyleData(elem, data, styleOb) {\n this.initDynamicPropertyContainer(elem);\n this.getValue = this.iterateDynamicProperties;\n this.o = PropertyFactory.getProp(elem, data.o, 0, 0.01, this);\n this.c = PropertyFactory.getProp(elem, data.c, 1, 255, this);\n this.style = styleOb;\n }\n\n extendPrototype([DynamicPropertyContainer], SVGFillStyleData);\n\n function SVGNoStyleData(elem, data, styleOb) {\n this.initDynamicPropertyContainer(elem);\n this.getValue = this.iterateDynamicProperties;\n this.style = styleOb;\n }\n\n extendPrototype([DynamicPropertyContainer], SVGNoStyleData);\n\n function GradientProperty(elem, data, container) {\n this.data = data;\n this.c = createTypedArray('uint8c', data.p * 4);\n var cLength = data.k.k[0].s ? data.k.k[0].s.length - data.p * 4 : data.k.k.length - data.p * 4;\n this.o = createTypedArray('float32', cLength);\n this._cmdf = false;\n this._omdf = false;\n this._collapsable = this.checkCollapsable();\n this._hasOpacity = cLength;\n this.initDynamicPropertyContainer(container);\n this.prop = PropertyFactory.getProp(elem, data.k, 1, null, this);\n this.k = this.prop.k;\n this.getValue(true);\n }\n\n GradientProperty.prototype.comparePoints = function (values, points) {\n var i = 0;\n var len = this.o.length / 2;\n var diff;\n\n while (i < len) {\n diff = Math.abs(values[i * 4] - values[points * 4 + i * 2]);\n\n if (diff > 0.01) {\n return false;\n }\n\n i += 1;\n }\n\n return true;\n };\n\n GradientProperty.prototype.checkCollapsable = function () {\n if (this.o.length / 2 !== this.c.length / 4) {\n return false;\n }\n\n if (this.data.k.k[0].s) {\n var i = 0;\n var len = this.data.k.k.length;\n\n while (i < len) {\n if (!this.comparePoints(this.data.k.k[i].s, this.data.p)) {\n return false;\n }\n\n i += 1;\n }\n } else if (!this.comparePoints(this.data.k.k, this.data.p)) {\n return false;\n }\n\n return true;\n };\n\n GradientProperty.prototype.getValue = function (forceRender) {\n this.prop.getValue();\n this._mdf = false;\n this._cmdf = false;\n this._omdf = false;\n\n if (this.prop._mdf || forceRender) {\n var i;\n var len = this.data.p * 4;\n var mult;\n var val;\n\n for (i = 0; i < len; i += 1) {\n mult = i % 4 === 0 ? 100 : 255;\n val = Math.round(this.prop.v[i] * mult);\n\n if (this.c[i] !== val) {\n this.c[i] = val;\n this._cmdf = !forceRender;\n }\n }\n\n if (this.o.length) {\n len = this.prop.v.length;\n\n for (i = this.data.p * 4; i < len; i += 1) {\n mult = i % 2 === 0 ? 100 : 1;\n val = i % 2 === 0 ? Math.round(this.prop.v[i] * 100) : this.prop.v[i];\n\n if (this.o[i - this.data.p * 4] !== val) {\n this.o[i - this.data.p * 4] = val;\n this._omdf = !forceRender;\n }\n }\n }\n\n this._mdf = !forceRender;\n }\n };\n\n extendPrototype([DynamicPropertyContainer], GradientProperty);\n\n function SVGGradientFillStyleData(elem, data, styleOb) {\n this.initDynamicPropertyContainer(elem);\n this.getValue = this.iterateDynamicProperties;\n this.initGradientData(elem, data, styleOb);\n }\n\n SVGGradientFillStyleData.prototype.initGradientData = function (elem, data, styleOb) {\n this.o = PropertyFactory.getProp(elem, data.o, 0, 0.01, this);\n this.s = PropertyFactory.getProp(elem, data.s, 1, null, this);\n this.e = PropertyFactory.getProp(elem, data.e, 1, null, this);\n this.h = PropertyFactory.getProp(elem, data.h || {\n k: 0\n }, 0, 0.01, this);\n this.a = PropertyFactory.getProp(elem, data.a || {\n k: 0\n }, 0, degToRads, this);\n this.g = new GradientProperty(elem, data.g, this);\n this.style = styleOb;\n this.stops = [];\n this.setGradientData(styleOb.pElem, data);\n this.setGradientOpacity(data, styleOb);\n this._isAnimated = !!this._isAnimated;\n };\n\n SVGGradientFillStyleData.prototype.setGradientData = function (pathElement, data) {\n var gradientId = createElementID();\n var gfill = createNS(data.t === 1 ? 'linearGradient' : 'radialGradient');\n gfill.setAttribute('id', gradientId);\n gfill.setAttribute('spreadMethod', 'pad');\n gfill.setAttribute('gradientUnits', 'userSpaceOnUse');\n var stops = [];\n var stop;\n var j;\n var jLen;\n jLen = data.g.p * 4;\n\n for (j = 0; j < jLen; j += 4) {\n stop = createNS('stop');\n gfill.appendChild(stop);\n stops.push(stop);\n }\n\n pathElement.setAttribute(data.ty === 'gf' ? 'fill' : 'stroke', 'url(' + getLocationHref() + '#' + gradientId + ')');\n this.gf = gfill;\n this.cst = stops;\n };\n\n SVGGradientFillStyleData.prototype.setGradientOpacity = function (data, styleOb) {\n if (this.g._hasOpacity && !this.g._collapsable) {\n var stop;\n var j;\n var jLen;\n var mask = createNS('mask');\n var maskElement = createNS('path');\n mask.appendChild(maskElement);\n var opacityId = createElementID();\n var maskId = createElementID();\n mask.setAttribute('id', maskId);\n var opFill = createNS(data.t === 1 ? 'linearGradient' : 'radialGradient');\n opFill.setAttribute('id', opacityId);\n opFill.setAttribute('spreadMethod', 'pad');\n opFill.setAttribute('gradientUnits', 'userSpaceOnUse');\n jLen = data.g.k.k[0].s ? data.g.k.k[0].s.length : data.g.k.k.length;\n var stops = this.stops;\n\n for (j = data.g.p * 4; j < jLen; j += 2) {\n stop = createNS('stop');\n stop.setAttribute('stop-color', 'rgb(255,255,255)');\n opFill.appendChild(stop);\n stops.push(stop);\n }\n\n maskElement.setAttribute(data.ty === 'gf' ? 'fill' : 'stroke', 'url(' + getLocationHref() + '#' + opacityId + ')');\n\n if (data.ty === 'gs') {\n maskElement.setAttribute('stroke-linecap', lineCapEnum[data.lc || 2]);\n maskElement.setAttribute('stroke-linejoin', lineJoinEnum[data.lj || 2]);\n\n if (data.lj === 1) {\n maskElement.setAttribute('stroke-miterlimit', data.ml);\n }\n }\n\n this.of = opFill;\n this.ms = mask;\n this.ost = stops;\n this.maskId = maskId;\n styleOb.msElem = maskElement;\n }\n };\n\n extendPrototype([DynamicPropertyContainer], SVGGradientFillStyleData);\n\n function SVGGradientStrokeStyleData(elem, data, styleOb) {\n this.initDynamicPropertyContainer(elem);\n this.getValue = this.iterateDynamicProperties;\n this.w = PropertyFactory.getProp(elem, data.w, 0, null, this);\n this.d = new DashProperty(elem, data.d || {}, 'svg', this);\n this.initGradientData(elem, data, styleOb);\n this._isAnimated = !!this._isAnimated;\n }\n\n extendPrototype([SVGGradientFillStyleData, DynamicPropertyContainer], SVGGradientStrokeStyleData);\n\n function ShapeGroupData() {\n this.it = [];\n this.prevViewData = [];\n this.gr = createNS('g');\n }\n\n function SVGTransformData(mProps, op, container) {\n this.transform = {\n mProps: mProps,\n op: op,\n container: container\n };\n this.elements = [];\n this._isAnimated = this.transform.mProps.dynamicProperties.length || this.transform.op.effectsSequence.length;\n }\n\n var buildShapeString = function buildShapeString(pathNodes, length, closed, mat) {\n if (length === 0) {\n return '';\n }\n\n var _o = pathNodes.o;\n var _i = pathNodes.i;\n var _v = pathNodes.v;\n var i;\n var shapeString = ' M' + mat.applyToPointStringified(_v[0][0], _v[0][1]);\n\n for (i = 1; i < length; i += 1) {\n shapeString += ' C' + mat.applyToPointStringified(_o[i - 1][0], _o[i - 1][1]) + ' ' + mat.applyToPointStringified(_i[i][0], _i[i][1]) + ' ' + mat.applyToPointStringified(_v[i][0], _v[i][1]);\n }\n\n if (closed && length) {\n shapeString += ' C' + mat.applyToPointStringified(_o[i - 1][0], _o[i - 1][1]) + ' ' + mat.applyToPointStringified(_i[0][0], _i[0][1]) + ' ' + mat.applyToPointStringified(_v[0][0], _v[0][1]);\n shapeString += 'z';\n }\n\n return shapeString;\n };\n\n var SVGElementsRenderer = function () {\n var _identityMatrix = new Matrix();\n\n var _matrixHelper = new Matrix();\n\n var ob = {\n createRenderFunction: createRenderFunction\n };\n\n function createRenderFunction(data) {\n switch (data.ty) {\n case 'fl':\n return renderFill;\n\n case 'gf':\n return renderGradient;\n\n case 'gs':\n return renderGradientStroke;\n\n case 'st':\n return renderStroke;\n\n case 'sh':\n case 'el':\n case 'rc':\n case 'sr':\n return renderPath;\n\n case 'tr':\n return renderContentTransform;\n\n case 'no':\n return renderNoop;\n\n default:\n return null;\n }\n }\n\n function renderContentTransform(styleData, itemData, isFirstFrame) {\n if (isFirstFrame || itemData.transform.op._mdf) {\n itemData.transform.container.setAttribute('opacity', itemData.transform.op.v);\n }\n\n if (isFirstFrame || itemData.transform.mProps._mdf) {\n itemData.transform.container.setAttribute('transform', itemData.transform.mProps.v.to2dCSS());\n }\n }\n\n function renderNoop() {}\n\n function renderPath(styleData, itemData, isFirstFrame) {\n var j;\n var jLen;\n var pathStringTransformed;\n var redraw;\n var pathNodes;\n var l;\n var lLen = itemData.styles.length;\n var lvl = itemData.lvl;\n var paths;\n var mat;\n var iterations;\n var k;\n\n for (l = 0; l < lLen; l += 1) {\n redraw = itemData.sh._mdf || isFirstFrame;\n\n if (itemData.styles[l].lvl < lvl) {\n mat = _matrixHelper.reset();\n iterations = lvl - itemData.styles[l].lvl;\n k = itemData.transformers.length - 1;\n\n while (!redraw && iterations > 0) {\n redraw = itemData.transformers[k].mProps._mdf || redraw;\n iterations -= 1;\n k -= 1;\n }\n\n if (redraw) {\n iterations = lvl - itemData.styles[l].lvl;\n k = itemData.transformers.length - 1;\n\n while (iterations > 0) {\n mat.multiply(itemData.transformers[k].mProps.v);\n iterations -= 1;\n k -= 1;\n }\n }\n } else {\n mat = _identityMatrix;\n }\n\n paths = itemData.sh.paths;\n jLen = paths._length;\n\n if (redraw) {\n pathStringTransformed = '';\n\n for (j = 0; j < jLen; j += 1) {\n pathNodes = paths.shapes[j];\n\n if (pathNodes && pathNodes._length) {\n pathStringTransformed += buildShapeString(pathNodes, pathNodes._length, pathNodes.c, mat);\n }\n }\n\n itemData.caches[l] = pathStringTransformed;\n } else {\n pathStringTransformed = itemData.caches[l];\n }\n\n itemData.styles[l].d += styleData.hd === true ? '' : pathStringTransformed;\n itemData.styles[l]._mdf = redraw || itemData.styles[l]._mdf;\n }\n }\n\n function renderFill(styleData, itemData, isFirstFrame) {\n var styleElem = itemData.style;\n\n if (itemData.c._mdf || isFirstFrame) {\n styleElem.pElem.setAttribute('fill', 'rgb(' + bmFloor(itemData.c.v[0]) + ',' + bmFloor(itemData.c.v[1]) + ',' + bmFloor(itemData.c.v[2]) + ')');\n }\n\n if (itemData.o._mdf || isFirstFrame) {\n styleElem.pElem.setAttribute('fill-opacity', itemData.o.v);\n }\n }\n\n function renderGradientStroke(styleData, itemData, isFirstFrame) {\n renderGradient(styleData, itemData, isFirstFrame);\n renderStroke(styleData, itemData, isFirstFrame);\n }\n\n function renderGradient(styleData, itemData, isFirstFrame) {\n var gfill = itemData.gf;\n var hasOpacity = itemData.g._hasOpacity;\n var pt1 = itemData.s.v;\n var pt2 = itemData.e.v;\n\n if (itemData.o._mdf || isFirstFrame) {\n var attr = styleData.ty === 'gf' ? 'fill-opacity' : 'stroke-opacity';\n itemData.style.pElem.setAttribute(attr, itemData.o.v);\n }\n\n if (itemData.s._mdf || isFirstFrame) {\n var attr1 = styleData.t === 1 ? 'x1' : 'cx';\n var attr2 = attr1 === 'x1' ? 'y1' : 'cy';\n gfill.setAttribute(attr1, pt1[0]);\n gfill.setAttribute(attr2, pt1[1]);\n\n if (hasOpacity && !itemData.g._collapsable) {\n itemData.of.setAttribute(attr1, pt1[0]);\n itemData.of.setAttribute(attr2, pt1[1]);\n }\n }\n\n var stops;\n var i;\n var len;\n var stop;\n\n if (itemData.g._cmdf || isFirstFrame) {\n stops = itemData.cst;\n var cValues = itemData.g.c;\n len = stops.length;\n\n for (i = 0; i < len; i += 1) {\n stop = stops[i];\n stop.setAttribute('offset', cValues[i * 4] + '%');\n stop.setAttribute('stop-color', 'rgb(' + cValues[i * 4 + 1] + ',' + cValues[i * 4 + 2] + ',' + cValues[i * 4 + 3] + ')');\n }\n }\n\n if (hasOpacity && (itemData.g._omdf || isFirstFrame)) {\n var oValues = itemData.g.o;\n\n if (itemData.g._collapsable) {\n stops = itemData.cst;\n } else {\n stops = itemData.ost;\n }\n\n len = stops.length;\n\n for (i = 0; i < len; i += 1) {\n stop = stops[i];\n\n if (!itemData.g._collapsable) {\n stop.setAttribute('offset', oValues[i * 2] + '%');\n }\n\n stop.setAttribute('stop-opacity', oValues[i * 2 + 1]);\n }\n }\n\n if (styleData.t === 1) {\n if (itemData.e._mdf || isFirstFrame) {\n gfill.setAttribute('x2', pt2[0]);\n gfill.setAttribute('y2', pt2[1]);\n\n if (hasOpacity && !itemData.g._collapsable) {\n itemData.of.setAttribute('x2', pt2[0]);\n itemData.of.setAttribute('y2', pt2[1]);\n }\n }\n } else {\n var rad;\n\n if (itemData.s._mdf || itemData.e._mdf || isFirstFrame) {\n rad = Math.sqrt(Math.pow(pt1[0] - pt2[0], 2) + Math.pow(pt1[1] - pt2[1], 2));\n gfill.setAttribute('r', rad);\n\n if (hasOpacity && !itemData.g._collapsable) {\n itemData.of.setAttribute('r', rad);\n }\n }\n\n if (itemData.e._mdf || itemData.h._mdf || itemData.a._mdf || isFirstFrame) {\n if (!rad) {\n rad = Math.sqrt(Math.pow(pt1[0] - pt2[0], 2) + Math.pow(pt1[1] - pt2[1], 2));\n }\n\n var ang = Math.atan2(pt2[1] - pt1[1], pt2[0] - pt1[0]);\n var percent = itemData.h.v;\n\n if (percent >= 1) {\n percent = 0.99;\n } else if (percent <= -1) {\n percent = -0.99;\n }\n\n var dist = rad * percent;\n var x = Math.cos(ang + itemData.a.v) * dist + pt1[0];\n var y = Math.sin(ang + itemData.a.v) * dist + pt1[1];\n gfill.setAttribute('fx', x);\n gfill.setAttribute('fy', y);\n\n if (hasOpacity && !itemData.g._collapsable) {\n itemData.of.setAttribute('fx', x);\n itemData.of.setAttribute('fy', y);\n }\n } // gfill.setAttribute('fy','200');\n\n }\n }\n\n function renderStroke(styleData, itemData, isFirstFrame) {\n var styleElem = itemData.style;\n var d = itemData.d;\n\n if (d && (d._mdf || isFirstFrame) && d.dashStr) {\n styleElem.pElem.setAttribute('stroke-dasharray', d.dashStr);\n styleElem.pElem.setAttribute('stroke-dashoffset', d.dashoffset[0]);\n }\n\n if (itemData.c && (itemData.c._mdf || isFirstFrame)) {\n styleElem.pElem.setAttribute('stroke', 'rgb(' + bmFloor(itemData.c.v[0]) + ',' + bmFloor(itemData.c.v[1]) + ',' + bmFloor(itemData.c.v[2]) + ')');\n }\n\n if (itemData.o._mdf || isFirstFrame) {\n styleElem.pElem.setAttribute('stroke-opacity', itemData.o.v);\n }\n\n if (itemData.w._mdf || isFirstFrame) {\n styleElem.pElem.setAttribute('stroke-width', itemData.w.v);\n\n if (styleElem.msElem) {\n styleElem.msElem.setAttribute('stroke-width', itemData.w.v);\n }\n }\n }\n\n return ob;\n }();\n\n function SVGShapeElement(data, globalData, comp) {\n // List of drawable elements\n this.shapes = []; // Full shape data\n\n this.shapesData = data.shapes; // List of styles that will be applied to shapes\n\n this.stylesList = []; // List of modifiers that will be applied to shapes\n\n this.shapeModifiers = []; // List of items in shape tree\n\n this.itemsData = []; // List of items in previous shape tree\n\n this.processedElements = []; // List of animated components\n\n this.animatedContents = [];\n this.initElement(data, globalData, comp); // Moving any property that doesn't get too much access after initialization because of v8 way of handling more than 10 properties.\n // List of elements that have been created\n\n this.prevViewData = []; // Moving any property that doesn't get too much access after initialization because of v8 way of handling more than 10 properties.\n }\n\n extendPrototype([BaseElement, TransformElement, SVGBaseElement, IShapeElement, HierarchyElement, FrameElement, RenderableDOMElement], SVGShapeElement);\n\n SVGShapeElement.prototype.initSecondaryElement = function () {};\n\n SVGShapeElement.prototype.identityMatrix = new Matrix();\n\n SVGShapeElement.prototype.buildExpressionInterface = function () {};\n\n SVGShapeElement.prototype.createContent = function () {\n this.searchShapes(this.shapesData, this.itemsData, this.prevViewData, this.layerElement, 0, [], true);\n this.filterUniqueShapes();\n };\n /*\r\n This method searches for multiple shapes that affect a single element and one of them is animated\r\n */\n\n\n SVGShapeElement.prototype.filterUniqueShapes = function () {\n var i;\n var len = this.shapes.length;\n var shape;\n var j;\n var jLen = this.stylesList.length;\n var style;\n var tempShapes = [];\n var areAnimated = false;\n\n for (j = 0; j < jLen; j += 1) {\n style = this.stylesList[j];\n areAnimated = false;\n tempShapes.length = 0;\n\n for (i = 0; i < len; i += 1) {\n shape = this.shapes[i];\n\n if (shape.styles.indexOf(style) !== -1) {\n tempShapes.push(shape);\n areAnimated = shape._isAnimated || areAnimated;\n }\n }\n\n if (tempShapes.length > 1 && areAnimated) {\n this.setShapesAsAnimated(tempShapes);\n }\n }\n };\n\n SVGShapeElement.prototype.setShapesAsAnimated = function (shapes) {\n var i;\n var len = shapes.length;\n\n for (i = 0; i < len; i += 1) {\n shapes[i].setAsAnimated();\n }\n };\n\n SVGShapeElement.prototype.createStyleElement = function (data, level) {\n // TODO: prevent drawing of hidden styles\n var elementData;\n var styleOb = new SVGStyleData(data, level);\n var pathElement = styleOb.pElem;\n\n if (data.ty === 'st') {\n elementData = new SVGStrokeStyleData(this, data, styleOb);\n } else if (data.ty === 'fl') {\n elementData = new SVGFillStyleData(this, data, styleOb);\n } else if (data.ty === 'gf' || data.ty === 'gs') {\n var GradientConstructor = data.ty === 'gf' ? SVGGradientFillStyleData : SVGGradientStrokeStyleData;\n elementData = new GradientConstructor(this, data, styleOb);\n this.globalData.defs.appendChild(elementData.gf);\n\n if (elementData.maskId) {\n this.globalData.defs.appendChild(elementData.ms);\n this.globalData.defs.appendChild(elementData.of);\n pathElement.setAttribute('mask', 'url(' + getLocationHref() + '#' + elementData.maskId + ')');\n }\n } else if (data.ty === 'no') {\n elementData = new SVGNoStyleData(this, data, styleOb);\n }\n\n if (data.ty === 'st' || data.ty === 'gs') {\n pathElement.setAttribute('stroke-linecap', lineCapEnum[data.lc || 2]);\n pathElement.setAttribute('stroke-linejoin', lineJoinEnum[data.lj || 2]);\n pathElement.setAttribute('fill-opacity', '0');\n\n if (data.lj === 1) {\n pathElement.setAttribute('stroke-miterlimit', data.ml);\n }\n }\n\n if (data.r === 2) {\n pathElement.setAttribute('fill-rule', 'evenodd');\n }\n\n if (data.ln) {\n pathElement.setAttribute('id', data.ln);\n }\n\n if (data.cl) {\n pathElement.setAttribute('class', data.cl);\n }\n\n if (data.bm) {\n pathElement.style['mix-blend-mode'] = getBlendMode(data.bm);\n }\n\n this.stylesList.push(styleOb);\n this.addToAnimatedContents(data, elementData);\n return elementData;\n };\n\n SVGShapeElement.prototype.createGroupElement = function (data) {\n var elementData = new ShapeGroupData();\n\n if (data.ln) {\n elementData.gr.setAttribute('id', data.ln);\n }\n\n if (data.cl) {\n elementData.gr.setAttribute('class', data.cl);\n }\n\n if (data.bm) {\n elementData.gr.style['mix-blend-mode'] = getBlendMode(data.bm);\n }\n\n return elementData;\n };\n\n SVGShapeElement.prototype.createTransformElement = function (data, container) {\n var transformProperty = TransformPropertyFactory.getTransformProperty(this, data, this);\n var elementData = new SVGTransformData(transformProperty, transformProperty.o, container);\n this.addToAnimatedContents(data, elementData);\n return elementData;\n };\n\n SVGShapeElement.prototype.createShapeElement = function (data, ownTransformers, level) {\n var ty = 4;\n\n if (data.ty === 'rc') {\n ty = 5;\n } else if (data.ty === 'el') {\n ty = 6;\n } else if (data.ty === 'sr') {\n ty = 7;\n }\n\n var shapeProperty = ShapePropertyFactory.getShapeProp(this, data, ty, this);\n var elementData = new SVGShapeData(ownTransformers, level, shapeProperty);\n this.shapes.push(elementData);\n this.addShapeToModifiers(elementData);\n this.addToAnimatedContents(data, elementData);\n return elementData;\n };\n\n SVGShapeElement.prototype.addToAnimatedContents = function (data, element) {\n var i = 0;\n var len = this.animatedContents.length;\n\n while (i < len) {\n if (this.animatedContents[i].element === element) {\n return;\n }\n\n i += 1;\n }\n\n this.animatedContents.push({\n fn: SVGElementsRenderer.createRenderFunction(data),\n element: element,\n data: data\n });\n };\n\n SVGShapeElement.prototype.setElementStyles = function (elementData) {\n var arr = elementData.styles;\n var j;\n var jLen = this.stylesList.length;\n\n for (j = 0; j < jLen; j += 1) {\n if (!this.stylesList[j].closed) {\n arr.push(this.stylesList[j]);\n }\n }\n };\n\n SVGShapeElement.prototype.reloadShapes = function () {\n this._isFirstFrame = true;\n var i;\n var len = this.itemsData.length;\n\n for (i = 0; i < len; i += 1) {\n this.prevViewData[i] = this.itemsData[i];\n }\n\n this.searchShapes(this.shapesData, this.itemsData, this.prevViewData, this.layerElement, 0, [], true);\n this.filterUniqueShapes();\n len = this.dynamicProperties.length;\n\n for (i = 0; i < len; i += 1) {\n this.dynamicProperties[i].getValue();\n }\n\n this.renderModifiers();\n };\n\n SVGShapeElement.prototype.searchShapes = function (arr, itemsData, prevViewData, container, level, transformers, render) {\n var ownTransformers = [].concat(transformers);\n var i;\n var len = arr.length - 1;\n var j;\n var jLen;\n var ownStyles = [];\n var ownModifiers = [];\n var currentTransform;\n var modifier;\n var processedPos;\n\n for (i = len; i >= 0; i -= 1) {\n processedPos = this.searchProcessedElement(arr[i]);\n\n if (!processedPos) {\n arr[i]._render = render;\n } else {\n itemsData[i] = prevViewData[processedPos - 1];\n }\n\n if (arr[i].ty === 'fl' || arr[i].ty === 'st' || arr[i].ty === 'gf' || arr[i].ty === 'gs' || arr[i].ty === 'no') {\n if (!processedPos) {\n itemsData[i] = this.createStyleElement(arr[i], level);\n } else {\n itemsData[i].style.closed = false;\n }\n\n if (arr[i]._render) {\n if (itemsData[i].style.pElem.parentNode !== container) {\n container.appendChild(itemsData[i].style.pElem);\n }\n }\n\n ownStyles.push(itemsData[i].style);\n } else if (arr[i].ty === 'gr') {\n if (!processedPos) {\n itemsData[i] = this.createGroupElement(arr[i]);\n } else {\n jLen = itemsData[i].it.length;\n\n for (j = 0; j < jLen; j += 1) {\n itemsData[i].prevViewData[j] = itemsData[i].it[j];\n }\n }\n\n this.searchShapes(arr[i].it, itemsData[i].it, itemsData[i].prevViewData, itemsData[i].gr, level + 1, ownTransformers, render);\n\n if (arr[i]._render) {\n if (itemsData[i].gr.parentNode !== container) {\n container.appendChild(itemsData[i].gr);\n }\n }\n } else if (arr[i].ty === 'tr') {\n if (!processedPos) {\n itemsData[i] = this.createTransformElement(arr[i], container);\n }\n\n currentTransform = itemsData[i].transform;\n ownTransformers.push(currentTransform);\n } else if (arr[i].ty === 'sh' || arr[i].ty === 'rc' || arr[i].ty === 'el' || arr[i].ty === 'sr') {\n if (!processedPos) {\n itemsData[i] = this.createShapeElement(arr[i], ownTransformers, level);\n }\n\n this.setElementStyles(itemsData[i]);\n } else if (arr[i].ty === 'tm' || arr[i].ty === 'rd' || arr[i].ty === 'ms' || arr[i].ty === 'pb' || arr[i].ty === 'zz' || arr[i].ty === 'op') {\n if (!processedPos) {\n modifier = ShapeModifiers.getModifier(arr[i].ty);\n modifier.init(this, arr[i]);\n itemsData[i] = modifier;\n this.shapeModifiers.push(modifier);\n } else {\n modifier = itemsData[i];\n modifier.closed = false;\n }\n\n ownModifiers.push(modifier);\n } else if (arr[i].ty === 'rp') {\n if (!processedPos) {\n modifier = ShapeModifiers.getModifier(arr[i].ty);\n itemsData[i] = modifier;\n modifier.init(this, arr, i, itemsData);\n this.shapeModifiers.push(modifier);\n render = false;\n } else {\n modifier = itemsData[i];\n modifier.closed = true;\n }\n\n ownModifiers.push(modifier);\n }\n\n this.addProcessedElement(arr[i], i + 1);\n }\n\n len = ownStyles.length;\n\n for (i = 0; i < len; i += 1) {\n ownStyles[i].closed = true;\n }\n\n len = ownModifiers.length;\n\n for (i = 0; i < len; i += 1) {\n ownModifiers[i].closed = true;\n }\n };\n\n SVGShapeElement.prototype.renderInnerContent = function () {\n this.renderModifiers();\n var i;\n var len = this.stylesList.length;\n\n for (i = 0; i < len; i += 1) {\n this.stylesList[i].reset();\n }\n\n this.renderShape();\n\n for (i = 0; i < len; i += 1) {\n if (this.stylesList[i]._mdf || this._isFirstFrame) {\n if (this.stylesList[i].msElem) {\n this.stylesList[i].msElem.setAttribute('d', this.stylesList[i].d); // Adding M0 0 fixes same mask bug on all browsers\n\n this.stylesList[i].d = 'M0 0' + this.stylesList[i].d;\n }\n\n this.stylesList[i].pElem.setAttribute('d', this.stylesList[i].d || 'M0 0');\n }\n }\n };\n\n SVGShapeElement.prototype.renderShape = function () {\n var i;\n var len = this.animatedContents.length;\n var animatedContent;\n\n for (i = 0; i < len; i += 1) {\n animatedContent = this.animatedContents[i];\n\n if ((this._isFirstFrame || animatedContent.element._isAnimated) && animatedContent.data !== true) {\n animatedContent.fn(animatedContent.data, animatedContent.element, this._isFirstFrame);\n }\n }\n };\n\n SVGShapeElement.prototype.destroy = function () {\n this.destroyBaseElement();\n this.shapesData = null;\n this.itemsData = null;\n };\n\n function LetterProps(o, sw, sc, fc, m, p) {\n this.o = o;\n this.sw = sw;\n this.sc = sc;\n this.fc = fc;\n this.m = m;\n this.p = p;\n this._mdf = {\n o: true,\n sw: !!sw,\n sc: !!sc,\n fc: !!fc,\n m: true,\n p: true\n };\n }\n\n LetterProps.prototype.update = function (o, sw, sc, fc, m, p) {\n this._mdf.o = false;\n this._mdf.sw = false;\n this._mdf.sc = false;\n this._mdf.fc = false;\n this._mdf.m = false;\n this._mdf.p = false;\n var updated = false;\n\n if (this.o !== o) {\n this.o = o;\n this._mdf.o = true;\n updated = true;\n }\n\n if (this.sw !== sw) {\n this.sw = sw;\n this._mdf.sw = true;\n updated = true;\n }\n\n if (this.sc !== sc) {\n this.sc = sc;\n this._mdf.sc = true;\n updated = true;\n }\n\n if (this.fc !== fc) {\n this.fc = fc;\n this._mdf.fc = true;\n updated = true;\n }\n\n if (this.m !== m) {\n this.m = m;\n this._mdf.m = true;\n updated = true;\n }\n\n if (p.length && (this.p[0] !== p[0] || this.p[1] !== p[1] || this.p[4] !== p[4] || this.p[5] !== p[5] || this.p[12] !== p[12] || this.p[13] !== p[13])) {\n this.p = p;\n this._mdf.p = true;\n updated = true;\n }\n\n return updated;\n };\n\n function TextProperty(elem, data) {\n this._frameId = initialDefaultFrame;\n this.pv = '';\n this.v = '';\n this.kf = false;\n this._isFirstFrame = true;\n this._mdf = false;\n\n if (data.d && data.d.sid) {\n data.d = elem.globalData.slotManager.getProp(data.d);\n }\n\n this.data = data;\n this.elem = elem;\n this.comp = this.elem.comp;\n this.keysIndex = 0;\n this.canResize = false;\n this.minimumFontSize = 1;\n this.effectsSequence = [];\n this.currentData = {\n ascent: 0,\n boxWidth: this.defaultBoxWidth,\n f: '',\n fStyle: '',\n fWeight: '',\n fc: '',\n j: '',\n justifyOffset: '',\n l: [],\n lh: 0,\n lineWidths: [],\n ls: '',\n of: '',\n s: '',\n sc: '',\n sw: 0,\n t: 0,\n tr: 0,\n sz: 0,\n ps: null,\n fillColorAnim: false,\n strokeColorAnim: false,\n strokeWidthAnim: false,\n yOffset: 0,\n finalSize: 0,\n finalText: [],\n finalLineHeight: 0,\n __complete: false\n };\n this.copyData(this.currentData, this.data.d.k[0].s);\n\n if (!this.searchProperty()) {\n this.completeTextData(this.currentData);\n }\n }\n\n TextProperty.prototype.defaultBoxWidth = [0, 0];\n\n TextProperty.prototype.copyData = function (obj, data) {\n for (var s in data) {\n if (Object.prototype.hasOwnProperty.call(data, s)) {\n obj[s] = data[s];\n }\n }\n\n return obj;\n };\n\n TextProperty.prototype.setCurrentData = function (data) {\n if (!data.__complete) {\n this.completeTextData(data);\n }\n\n this.currentData = data;\n this.currentData.boxWidth = this.currentData.boxWidth || this.defaultBoxWidth;\n this._mdf = true;\n };\n\n TextProperty.prototype.searchProperty = function () {\n return this.searchKeyframes();\n };\n\n TextProperty.prototype.searchKeyframes = function () {\n this.kf = this.data.d.k.length > 1;\n\n if (this.kf) {\n this.addEffect(this.getKeyframeValue.bind(this));\n }\n\n return this.kf;\n };\n\n TextProperty.prototype.addEffect = function (effectFunction) {\n this.effectsSequence.push(effectFunction);\n this.elem.addDynamicProperty(this);\n };\n\n TextProperty.prototype.getValue = function (_finalValue) {\n if ((this.elem.globalData.frameId === this.frameId || !this.effectsSequence.length) && !_finalValue) {\n return;\n }\n\n this.currentData.t = this.data.d.k[this.keysIndex].s.t;\n var currentValue = this.currentData;\n var currentIndex = this.keysIndex;\n\n if (this.lock) {\n this.setCurrentData(this.currentData);\n return;\n }\n\n this.lock = true;\n this._mdf = false;\n var i;\n var len = this.effectsSequence.length;\n var finalValue = _finalValue || this.data.d.k[this.keysIndex].s;\n\n for (i = 0; i < len; i += 1) {\n // Checking if index changed to prevent creating a new object every time the expression updates.\n if (currentIndex !== this.keysIndex) {\n finalValue = this.effectsSequence[i](finalValue, finalValue.t);\n } else {\n finalValue = this.effectsSequence[i](this.currentData, finalValue.t);\n }\n }\n\n if (currentValue !== finalValue) {\n this.setCurrentData(finalValue);\n }\n\n this.v = this.currentData;\n this.pv = this.v;\n this.lock = false;\n this.frameId = this.elem.globalData.frameId;\n };\n\n TextProperty.prototype.getKeyframeValue = function () {\n var textKeys = this.data.d.k;\n var frameNum = this.elem.comp.renderedFrame;\n var i = 0;\n var len = textKeys.length;\n\n while (i <= len - 1) {\n if (i === len - 1 || textKeys[i + 1].t > frameNum) {\n break;\n }\n\n i += 1;\n }\n\n if (this.keysIndex !== i) {\n this.keysIndex = i;\n }\n\n return this.data.d.k[this.keysIndex].s;\n };\n\n TextProperty.prototype.buildFinalText = function (text) {\n var charactersArray = [];\n var i = 0;\n var len = text.length;\n var charCode;\n var secondCharCode;\n var shouldCombine = false;\n var shouldCombineNext = false;\n var currentChars = '';\n\n while (i < len) {\n shouldCombine = shouldCombineNext;\n shouldCombineNext = false;\n charCode = text.charCodeAt(i);\n currentChars = text.charAt(i);\n\n if (FontManager.isCombinedCharacter(charCode)) {\n shouldCombine = true; // It's a potential surrogate pair (this is the High surrogate)\n } else if (charCode >= 0xD800 && charCode <= 0xDBFF) {\n if (FontManager.isRegionalFlag(text, i)) {\n currentChars = text.substr(i, 14);\n } else {\n secondCharCode = text.charCodeAt(i + 1); // It's a surrogate pair (this is the Low surrogate)\n\n if (secondCharCode >= 0xDC00 && secondCharCode <= 0xDFFF) {\n if (FontManager.isModifier(charCode, secondCharCode)) {\n currentChars = text.substr(i, 2);\n shouldCombine = true;\n } else if (FontManager.isFlagEmoji(text.substr(i, 4))) {\n currentChars = text.substr(i, 4);\n } else {\n currentChars = text.substr(i, 2);\n }\n }\n }\n } else if (charCode > 0xDBFF) {\n secondCharCode = text.charCodeAt(i + 1);\n\n if (FontManager.isVariationSelector(charCode)) {\n shouldCombine = true;\n }\n } else if (FontManager.isZeroWidthJoiner(charCode)) {\n shouldCombine = true;\n shouldCombineNext = true;\n }\n\n if (shouldCombine) {\n charactersArray[charactersArray.length - 1] += currentChars;\n shouldCombine = false;\n } else {\n charactersArray.push(currentChars);\n }\n\n i += currentChars.length;\n }\n\n return charactersArray;\n };\n\n TextProperty.prototype.completeTextData = function (documentData) {\n documentData.__complete = true;\n var fontManager = this.elem.globalData.fontManager;\n var data = this.data;\n var letters = [];\n var i;\n var len;\n var newLineFlag;\n var index = 0;\n var val;\n var anchorGrouping = data.m.g;\n var currentSize = 0;\n var currentPos = 0;\n var currentLine = 0;\n var lineWidths = [];\n var lineWidth = 0;\n var maxLineWidth = 0;\n var j;\n var jLen;\n var fontData = fontManager.getFontByName(documentData.f);\n var charData;\n var cLength = 0;\n var fontProps = getFontProperties(fontData);\n documentData.fWeight = fontProps.weight;\n documentData.fStyle = fontProps.style;\n documentData.finalSize = documentData.s;\n documentData.finalText = this.buildFinalText(documentData.t);\n len = documentData.finalText.length;\n documentData.finalLineHeight = documentData.lh;\n var trackingOffset = documentData.tr / 1000 * documentData.finalSize;\n var charCode;\n\n if (documentData.sz) {\n var flag = true;\n var boxWidth = documentData.sz[0];\n var boxHeight = documentData.sz[1];\n var currentHeight;\n var finalText;\n\n while (flag) {\n finalText = this.buildFinalText(documentData.t);\n currentHeight = 0;\n lineWidth = 0;\n len = finalText.length;\n trackingOffset = documentData.tr / 1000 * documentData.finalSize;\n var lastSpaceIndex = -1;\n\n for (i = 0; i < len; i += 1) {\n charCode = finalText[i].charCodeAt(0);\n newLineFlag = false;\n\n if (finalText[i] === ' ') {\n lastSpaceIndex = i;\n } else if (charCode === 13 || charCode === 3) {\n lineWidth = 0;\n newLineFlag = true;\n currentHeight += documentData.finalLineHeight || documentData.finalSize * 1.2;\n }\n\n if (fontManager.chars) {\n charData = fontManager.getCharData(finalText[i], fontData.fStyle, fontData.fFamily);\n cLength = newLineFlag ? 0 : charData.w * documentData.finalSize / 100;\n } else {\n // tCanvasHelper.font = documentData.s + 'px '+ fontData.fFamily;\n cLength = fontManager.measureText(finalText[i], documentData.f, documentData.finalSize);\n }\n\n if (lineWidth + cLength > boxWidth && finalText[i] !== ' ') {\n if (lastSpaceIndex === -1) {\n len += 1;\n } else {\n i = lastSpaceIndex;\n }\n\n currentHeight += documentData.finalLineHeight || documentData.finalSize * 1.2;\n finalText.splice(i, lastSpaceIndex === i ? 1 : 0, '\\r'); // finalText = finalText.substr(0,i) + \"\\r\" + finalText.substr(i === lastSpaceIndex ? i + 1 : i);\n\n lastSpaceIndex = -1;\n lineWidth = 0;\n } else {\n lineWidth += cLength;\n lineWidth += trackingOffset;\n }\n }\n\n currentHeight += fontData.ascent * documentData.finalSize / 100;\n\n if (this.canResize && documentData.finalSize > this.minimumFontSize && boxHeight < currentHeight) {\n documentData.finalSize -= 1;\n documentData.finalLineHeight = documentData.finalSize * documentData.lh / documentData.s;\n } else {\n documentData.finalText = finalText;\n len = documentData.finalText.length;\n flag = false;\n }\n }\n }\n\n lineWidth = -trackingOffset;\n cLength = 0;\n var uncollapsedSpaces = 0;\n var currentChar;\n\n for (i = 0; i < len; i += 1) {\n newLineFlag = false;\n currentChar = documentData.finalText[i];\n charCode = currentChar.charCodeAt(0);\n\n if (charCode === 13 || charCode === 3) {\n uncollapsedSpaces = 0;\n lineWidths.push(lineWidth);\n maxLineWidth = lineWidth > maxLineWidth ? lineWidth : maxLineWidth;\n lineWidth = -2 * trackingOffset;\n val = '';\n newLineFlag = true;\n currentLine += 1;\n } else {\n val = currentChar;\n }\n\n if (fontManager.chars) {\n charData = fontManager.getCharData(currentChar, fontData.fStyle, fontManager.getFontByName(documentData.f).fFamily);\n cLength = newLineFlag ? 0 : charData.w * documentData.finalSize / 100;\n } else {\n // var charWidth = fontManager.measureText(val, documentData.f, documentData.finalSize);\n // tCanvasHelper.font = documentData.finalSize + 'px '+ fontManager.getFontByName(documentData.f).fFamily;\n cLength = fontManager.measureText(val, documentData.f, documentData.finalSize);\n } //\n\n\n if (currentChar === ' ') {\n uncollapsedSpaces += cLength + trackingOffset;\n } else {\n lineWidth += cLength + trackingOffset + uncollapsedSpaces;\n uncollapsedSpaces = 0;\n }\n\n letters.push({\n l: cLength,\n an: cLength,\n add: currentSize,\n n: newLineFlag,\n anIndexes: [],\n val: val,\n line: currentLine,\n animatorJustifyOffset: 0\n });\n\n if (anchorGrouping == 2) {\n // eslint-disable-line eqeqeq\n currentSize += cLength;\n\n if (val === '' || val === ' ' || i === len - 1) {\n if (val === '' || val === ' ') {\n currentSize -= cLength;\n }\n\n while (currentPos <= i) {\n letters[currentPos].an = currentSize;\n letters[currentPos].ind = index;\n letters[currentPos].extra = cLength;\n currentPos += 1;\n }\n\n index += 1;\n currentSize = 0;\n }\n } else if (anchorGrouping == 3) {\n // eslint-disable-line eqeqeq\n currentSize += cLength;\n\n if (val === '' || i === len - 1) {\n if (val === '') {\n currentSize -= cLength;\n }\n\n while (currentPos <= i) {\n letters[currentPos].an = currentSize;\n letters[currentPos].ind = index;\n letters[currentPos].extra = cLength;\n currentPos += 1;\n }\n\n currentSize = 0;\n index += 1;\n }\n } else {\n letters[index].ind = index;\n letters[index].extra = 0;\n index += 1;\n }\n }\n\n documentData.l = letters;\n maxLineWidth = lineWidth > maxLineWidth ? lineWidth : maxLineWidth;\n lineWidths.push(lineWidth);\n\n if (documentData.sz) {\n documentData.boxWidth = documentData.sz[0];\n documentData.justifyOffset = 0;\n } else {\n documentData.boxWidth = maxLineWidth;\n\n switch (documentData.j) {\n case 1:\n documentData.justifyOffset = -documentData.boxWidth;\n break;\n\n case 2:\n documentData.justifyOffset = -documentData.boxWidth / 2;\n break;\n\n default:\n documentData.justifyOffset = 0;\n }\n }\n\n documentData.lineWidths = lineWidths;\n var animators = data.a;\n var animatorData;\n var letterData;\n jLen = animators.length;\n var based;\n var ind;\n var indexes = [];\n\n for (j = 0; j < jLen; j += 1) {\n animatorData = animators[j];\n\n if (animatorData.a.sc) {\n documentData.strokeColorAnim = true;\n }\n\n if (animatorData.a.sw) {\n documentData.strokeWidthAnim = true;\n }\n\n if (animatorData.a.fc || animatorData.a.fh || animatorData.a.fs || animatorData.a.fb) {\n documentData.fillColorAnim = true;\n }\n\n ind = 0;\n based = animatorData.s.b;\n\n for (i = 0; i < len; i += 1) {\n letterData = letters[i];\n letterData.anIndexes[j] = ind;\n\n if (based == 1 && letterData.val !== '' || based == 2 && letterData.val !== '' && letterData.val !== ' ' || based == 3 && (letterData.n || letterData.val == ' ' || i == len - 1) || based == 4 && (letterData.n || i == len - 1)) {\n // eslint-disable-line eqeqeq\n if (animatorData.s.rn === 1) {\n indexes.push(ind);\n }\n\n ind += 1;\n }\n }\n\n data.a[j].s.totalChars = ind;\n var currentInd = -1;\n var newInd;\n\n if (animatorData.s.rn === 1) {\n for (i = 0; i < len; i += 1) {\n letterData = letters[i];\n\n if (currentInd != letterData.anIndexes[j]) {\n // eslint-disable-line eqeqeq\n currentInd = letterData.anIndexes[j];\n newInd = indexes.splice(Math.floor(Math.random() * indexes.length), 1)[0];\n }\n\n letterData.anIndexes[j] = newInd;\n }\n }\n }\n\n documentData.yOffset = documentData.finalLineHeight || documentData.finalSize * 1.2;\n documentData.ls = documentData.ls || 0;\n documentData.ascent = fontData.ascent * documentData.finalSize / 100;\n };\n\n TextProperty.prototype.updateDocumentData = function (newData, index) {\n index = index === undefined ? this.keysIndex : index;\n var dData = this.copyData({}, this.data.d.k[index].s);\n dData = this.copyData(dData, newData);\n this.data.d.k[index].s = dData;\n this.recalculate(index);\n this.setCurrentData(dData);\n this.elem.addDynamicProperty(this);\n };\n\n TextProperty.prototype.recalculate = function (index) {\n var dData = this.data.d.k[index].s;\n dData.__complete = false;\n this.keysIndex = 0;\n this._isFirstFrame = true;\n this.getValue(dData);\n };\n\n TextProperty.prototype.canResizeFont = function (_canResize) {\n this.canResize = _canResize;\n this.recalculate(this.keysIndex);\n this.elem.addDynamicProperty(this);\n };\n\n TextProperty.prototype.setMinimumFontSize = function (_fontValue) {\n this.minimumFontSize = Math.floor(_fontValue) || 1;\n this.recalculate(this.keysIndex);\n this.elem.addDynamicProperty(this);\n };\n\n var TextSelectorProp = function () {\n var max = Math.max;\n var min = Math.min;\n var floor = Math.floor;\n\n function TextSelectorPropFactory(elem, data) {\n this._currentTextLength = -1;\n this.k = false;\n this.data = data;\n this.elem = elem;\n this.comp = elem.comp;\n this.finalS = 0;\n this.finalE = 0;\n this.initDynamicPropertyContainer(elem);\n this.s = PropertyFactory.getProp(elem, data.s || {\n k: 0\n }, 0, 0, this);\n\n if ('e' in data) {\n this.e = PropertyFactory.getProp(elem, data.e, 0, 0, this);\n } else {\n this.e = {\n v: 100\n };\n }\n\n this.o = PropertyFactory.getProp(elem, data.o || {\n k: 0\n }, 0, 0, this);\n this.xe = PropertyFactory.getProp(elem, data.xe || {\n k: 0\n }, 0, 0, this);\n this.ne = PropertyFactory.getProp(elem, data.ne || {\n k: 0\n }, 0, 0, this);\n this.sm = PropertyFactory.getProp(elem, data.sm || {\n k: 100\n }, 0, 0, this);\n this.a = PropertyFactory.getProp(elem, data.a, 0, 0.01, this);\n\n if (!this.dynamicProperties.length) {\n this.getValue();\n }\n }\n\n TextSelectorPropFactory.prototype = {\n getMult: function getMult(ind) {\n if (this._currentTextLength !== this.elem.textProperty.currentData.l.length) {\n this.getValue();\n }\n\n var x1 = 0;\n var y1 = 0;\n var x2 = 1;\n var y2 = 1;\n\n if (this.ne.v > 0) {\n x1 = this.ne.v / 100.0;\n } else {\n y1 = -this.ne.v / 100.0;\n }\n\n if (this.xe.v > 0) {\n x2 = 1.0 - this.xe.v / 100.0;\n } else {\n y2 = 1.0 + this.xe.v / 100.0;\n }\n\n var easer = BezierFactory.getBezierEasing(x1, y1, x2, y2).get;\n var mult = 0;\n var s = this.finalS;\n var e = this.finalE;\n var type = this.data.sh;\n\n if (type === 2) {\n if (e === s) {\n mult = ind >= e ? 1 : 0;\n } else {\n mult = max(0, min(0.5 / (e - s) + (ind - s) / (e - s), 1));\n }\n\n mult = easer(mult);\n } else if (type === 3) {\n if (e === s) {\n mult = ind >= e ? 0 : 1;\n } else {\n mult = 1 - max(0, min(0.5 / (e - s) + (ind - s) / (e - s), 1));\n }\n\n mult = easer(mult);\n } else if (type === 4) {\n if (e === s) {\n mult = 0;\n } else {\n mult = max(0, min(0.5 / (e - s) + (ind - s) / (e - s), 1));\n\n if (mult < 0.5) {\n mult *= 2;\n } else {\n mult = 1 - 2 * (mult - 0.5);\n }\n }\n\n mult = easer(mult);\n } else if (type === 5) {\n if (e === s) {\n mult = 0;\n } else {\n var tot = e - s;\n /* ind += 0.5;\r\n mult = -4/(tot*tot)*(ind*ind)+(4/tot)*ind; */\n\n ind = min(max(0, ind + 0.5 - s), e - s);\n var x = -tot / 2 + ind;\n var a = tot / 2;\n mult = Math.sqrt(1 - x * x / (a * a));\n }\n\n mult = easer(mult);\n } else if (type === 6) {\n if (e === s) {\n mult = 0;\n } else {\n ind = min(max(0, ind + 0.5 - s), e - s);\n mult = (1 + Math.cos(Math.PI + Math.PI * 2 * ind / (e - s))) / 2; // eslint-disable-line\n }\n\n mult = easer(mult);\n } else {\n if (ind >= floor(s)) {\n if (ind - s < 0) {\n mult = max(0, min(min(e, 1) - (s - ind), 1));\n } else {\n mult = max(0, min(e - ind, 1));\n }\n }\n\n mult = easer(mult);\n } // Smoothness implementation.\n // The smoothness represents a reduced range of the original [0; 1] range.\n // if smoothness is 25%, the new range will be [0.375; 0.625]\n // Steps are:\n // - find the lower value of the new range (threshold)\n // - if multiplier is smaller than that value, floor it to 0\n // - if it is larger,\n // - subtract the threshold\n // - divide it by the smoothness (this will return the range to [0; 1])\n // Note: If it doesn't work on some scenarios, consider applying it before the easer.\n\n\n if (this.sm.v !== 100) {\n var smoothness = this.sm.v * 0.01;\n\n if (smoothness === 0) {\n smoothness = 0.00000001;\n }\n\n var threshold = 0.5 - smoothness * 0.5;\n\n if (mult < threshold) {\n mult = 0;\n } else {\n mult = (mult - threshold) / smoothness;\n\n if (mult > 1) {\n mult = 1;\n }\n }\n }\n\n return mult * this.a.v;\n },\n getValue: function getValue(newCharsFlag) {\n this.iterateDynamicProperties();\n this._mdf = newCharsFlag || this._mdf;\n this._currentTextLength = this.elem.textProperty.currentData.l.length || 0;\n\n if (newCharsFlag && this.data.r === 2) {\n this.e.v = this._currentTextLength;\n }\n\n var divisor = this.data.r === 2 ? 1 : 100 / this.data.totalChars;\n var o = this.o.v / divisor;\n var s = this.s.v / divisor + o;\n var e = this.e.v / divisor + o;\n\n if (s > e) {\n var _s = s;\n s = e;\n e = _s;\n }\n\n this.finalS = s;\n this.finalE = e;\n }\n };\n extendPrototype([DynamicPropertyContainer], TextSelectorPropFactory);\n\n function getTextSelectorProp(elem, data, arr) {\n return new TextSelectorPropFactory(elem, data, arr);\n }\n\n return {\n getTextSelectorProp: getTextSelectorProp\n };\n }();\n\n function TextAnimatorDataProperty(elem, animatorProps, container) {\n var defaultData = {\n propType: false\n };\n var getProp = PropertyFactory.getProp;\n var textAnimatorAnimatables = animatorProps.a;\n this.a = {\n r: textAnimatorAnimatables.r ? getProp(elem, textAnimatorAnimatables.r, 0, degToRads, container) : defaultData,\n rx: textAnimatorAnimatables.rx ? getProp(elem, textAnimatorAnimatables.rx, 0, degToRads, container) : defaultData,\n ry: textAnimatorAnimatables.ry ? getProp(elem, textAnimatorAnimatables.ry, 0, degToRads, container) : defaultData,\n sk: textAnimatorAnimatables.sk ? getProp(elem, textAnimatorAnimatables.sk, 0, degToRads, container) : defaultData,\n sa: textAnimatorAnimatables.sa ? getProp(elem, textAnimatorAnimatables.sa, 0, degToRads, container) : defaultData,\n s: textAnimatorAnimatables.s ? getProp(elem, textAnimatorAnimatables.s, 1, 0.01, container) : defaultData,\n a: textAnimatorAnimatables.a ? getProp(elem, textAnimatorAnimatables.a, 1, 0, container) : defaultData,\n o: textAnimatorAnimatables.o ? getProp(elem, textAnimatorAnimatables.o, 0, 0.01, container) : defaultData,\n p: textAnimatorAnimatables.p ? getProp(elem, textAnimatorAnimatables.p, 1, 0, container) : defaultData,\n sw: textAnimatorAnimatables.sw ? getProp(elem, textAnimatorAnimatables.sw, 0, 0, container) : defaultData,\n sc: textAnimatorAnimatables.sc ? getProp(elem, textAnimatorAnimatables.sc, 1, 0, container) : defaultData,\n fc: textAnimatorAnimatables.fc ? getProp(elem, textAnimatorAnimatables.fc, 1, 0, container) : defaultData,\n fh: textAnimatorAnimatables.fh ? getProp(elem, textAnimatorAnimatables.fh, 0, 0, container) : defaultData,\n fs: textAnimatorAnimatables.fs ? getProp(elem, textAnimatorAnimatables.fs, 0, 0.01, container) : defaultData,\n fb: textAnimatorAnimatables.fb ? getProp(elem, textAnimatorAnimatables.fb, 0, 0.01, container) : defaultData,\n t: textAnimatorAnimatables.t ? getProp(elem, textAnimatorAnimatables.t, 0, 0, container) : defaultData\n };\n this.s = TextSelectorProp.getTextSelectorProp(elem, animatorProps.s, container);\n this.s.t = animatorProps.s.t;\n }\n\n function TextAnimatorProperty(textData, renderType, elem) {\n this._isFirstFrame = true;\n this._hasMaskedPath = false;\n this._frameId = -1;\n this._textData = textData;\n this._renderType = renderType;\n this._elem = elem;\n this._animatorsData = createSizedArray(this._textData.a.length);\n this._pathData = {};\n this._moreOptions = {\n alignment: {}\n };\n this.renderedLetters = [];\n this.lettersChangedFlag = false;\n this.initDynamicPropertyContainer(elem);\n }\n\n TextAnimatorProperty.prototype.searchProperties = function () {\n var i;\n var len = this._textData.a.length;\n var animatorProps;\n var getProp = PropertyFactory.getProp;\n\n for (i = 0; i < len; i += 1) {\n animatorProps = this._textData.a[i];\n this._animatorsData[i] = new TextAnimatorDataProperty(this._elem, animatorProps, this);\n }\n\n if (this._textData.p && 'm' in this._textData.p) {\n this._pathData = {\n a: getProp(this._elem, this._textData.p.a, 0, 0, this),\n f: getProp(this._elem, this._textData.p.f, 0, 0, this),\n l: getProp(this._elem, this._textData.p.l, 0, 0, this),\n r: getProp(this._elem, this._textData.p.r, 0, 0, this),\n p: getProp(this._elem, this._textData.p.p, 0, 0, this),\n m: this._elem.maskManager.getMaskProperty(this._textData.p.m)\n };\n this._hasMaskedPath = true;\n } else {\n this._hasMaskedPath = false;\n }\n\n this._moreOptions.alignment = getProp(this._elem, this._textData.m.a, 1, 0, this);\n };\n\n TextAnimatorProperty.prototype.getMeasures = function (documentData, lettersChangedFlag) {\n this.lettersChangedFlag = lettersChangedFlag;\n\n if (!this._mdf && !this._isFirstFrame && !lettersChangedFlag && (!this._hasMaskedPath || !this._pathData.m._mdf)) {\n return;\n }\n\n this._isFirstFrame = false;\n var alignment = this._moreOptions.alignment.v;\n var animators = this._animatorsData;\n var textData = this._textData;\n var matrixHelper = this.mHelper;\n var renderType = this._renderType;\n var renderedLettersCount = this.renderedLetters.length;\n var xPos;\n var yPos;\n var i;\n var len;\n var letters = documentData.l;\n var pathInfo;\n var currentLength;\n var currentPoint;\n var segmentLength;\n var flag;\n var pointInd;\n var segmentInd;\n var prevPoint;\n var points;\n var segments;\n var partialLength;\n var totalLength;\n var perc;\n var tanAngle;\n var mask;\n\n if (this._hasMaskedPath) {\n mask = this._pathData.m;\n\n if (!this._pathData.n || this._pathData._mdf) {\n var paths = mask.v;\n\n if (this._pathData.r.v) {\n paths = paths.reverse();\n } // TODO: release bezier data cached from previous pathInfo: this._pathData.pi\n\n\n pathInfo = {\n tLength: 0,\n segments: []\n };\n len = paths._length - 1;\n var bezierData;\n totalLength = 0;\n\n for (i = 0; i < len; i += 1) {\n bezierData = bez.buildBezierData(paths.v[i], paths.v[i + 1], [paths.o[i][0] - paths.v[i][0], paths.o[i][1] - paths.v[i][1]], [paths.i[i + 1][0] - paths.v[i + 1][0], paths.i[i + 1][1] - paths.v[i + 1][1]]);\n pathInfo.tLength += bezierData.segmentLength;\n pathInfo.segments.push(bezierData);\n totalLength += bezierData.segmentLength;\n }\n\n i = len;\n\n if (mask.v.c) {\n bezierData = bez.buildBezierData(paths.v[i], paths.v[0], [paths.o[i][0] - paths.v[i][0], paths.o[i][1] - paths.v[i][1]], [paths.i[0][0] - paths.v[0][0], paths.i[0][1] - paths.v[0][1]]);\n pathInfo.tLength += bezierData.segmentLength;\n pathInfo.segments.push(bezierData);\n totalLength += bezierData.segmentLength;\n }\n\n this._pathData.pi = pathInfo;\n }\n\n pathInfo = this._pathData.pi;\n currentLength = this._pathData.f.v;\n segmentInd = 0;\n pointInd = 1;\n segmentLength = 0;\n flag = true;\n segments = pathInfo.segments;\n\n if (currentLength < 0 && mask.v.c) {\n if (pathInfo.tLength < Math.abs(currentLength)) {\n currentLength = -Math.abs(currentLength) % pathInfo.tLength;\n }\n\n segmentInd = segments.length - 1;\n points = segments[segmentInd].points;\n pointInd = points.length - 1;\n\n while (currentLength < 0) {\n currentLength += points[pointInd].partialLength;\n pointInd -= 1;\n\n if (pointInd < 0) {\n segmentInd -= 1;\n points = segments[segmentInd].points;\n pointInd = points.length - 1;\n }\n }\n }\n\n points = segments[segmentInd].points;\n prevPoint = points[pointInd - 1];\n currentPoint = points[pointInd];\n partialLength = currentPoint.partialLength;\n }\n\n len = letters.length;\n xPos = 0;\n yPos = 0;\n var yOff = documentData.finalSize * 1.2 * 0.714;\n var firstLine = true;\n var animatorProps;\n var animatorSelector;\n var j;\n var jLen;\n var letterValue;\n jLen = animators.length;\n var mult;\n var ind = -1;\n var offf;\n var xPathPos;\n var yPathPos;\n var initPathPos = currentLength;\n var initSegmentInd = segmentInd;\n var initPointInd = pointInd;\n var currentLine = -1;\n var elemOpacity;\n var sc;\n var sw;\n var fc;\n var k;\n var letterSw;\n var letterSc;\n var letterFc;\n var letterM = '';\n var letterP = this.defaultPropsArray;\n var letterO; //\n\n if (documentData.j === 2 || documentData.j === 1) {\n var animatorJustifyOffset = 0;\n var animatorFirstCharOffset = 0;\n var justifyOffsetMult = documentData.j === 2 ? -0.5 : -1;\n var lastIndex = 0;\n var isNewLine = true;\n\n for (i = 0; i < len; i += 1) {\n if (letters[i].n) {\n if (animatorJustifyOffset) {\n animatorJustifyOffset += animatorFirstCharOffset;\n }\n\n while (lastIndex < i) {\n letters[lastIndex].animatorJustifyOffset = animatorJustifyOffset;\n lastIndex += 1;\n }\n\n animatorJustifyOffset = 0;\n isNewLine = true;\n } else {\n for (j = 0; j < jLen; j += 1) {\n animatorProps = animators[j].a;\n\n if (animatorProps.t.propType) {\n if (isNewLine && documentData.j === 2) {\n animatorFirstCharOffset += animatorProps.t.v * justifyOffsetMult;\n }\n\n animatorSelector = animators[j].s;\n mult = animatorSelector.getMult(letters[i].anIndexes[j], textData.a[j].s.totalChars);\n\n if (mult.length) {\n animatorJustifyOffset += animatorProps.t.v * mult[0] * justifyOffsetMult;\n } else {\n animatorJustifyOffset += animatorProps.t.v * mult * justifyOffsetMult;\n }\n }\n }\n\n isNewLine = false;\n }\n }\n\n if (animatorJustifyOffset) {\n animatorJustifyOffset += animatorFirstCharOffset;\n }\n\n while (lastIndex < i) {\n letters[lastIndex].animatorJustifyOffset = animatorJustifyOffset;\n lastIndex += 1;\n }\n } //\n\n\n for (i = 0; i < len; i += 1) {\n matrixHelper.reset();\n elemOpacity = 1;\n\n if (letters[i].n) {\n xPos = 0;\n yPos += documentData.yOffset;\n yPos += firstLine ? 1 : 0;\n currentLength = initPathPos;\n firstLine = false;\n\n if (this._hasMaskedPath) {\n segmentInd = initSegmentInd;\n pointInd = initPointInd;\n points = segments[segmentInd].points;\n prevPoint = points[pointInd - 1];\n currentPoint = points[pointInd];\n partialLength = currentPoint.partialLength;\n segmentLength = 0;\n }\n\n letterM = '';\n letterFc = '';\n letterSw = '';\n letterO = '';\n letterP = this.defaultPropsArray;\n } else {\n if (this._hasMaskedPath) {\n if (currentLine !== letters[i].line) {\n switch (documentData.j) {\n case 1:\n currentLength += totalLength - documentData.lineWidths[letters[i].line];\n break;\n\n case 2:\n currentLength += (totalLength - documentData.lineWidths[letters[i].line]) / 2;\n break;\n\n default:\n break;\n }\n\n currentLine = letters[i].line;\n }\n\n if (ind !== letters[i].ind) {\n if (letters[ind]) {\n currentLength += letters[ind].extra;\n }\n\n currentLength += letters[i].an / 2;\n ind = letters[i].ind;\n }\n\n currentLength += alignment[0] * letters[i].an * 0.005;\n var animatorOffset = 0;\n\n for (j = 0; j < jLen; j += 1) {\n animatorProps = animators[j].a;\n\n if (animatorProps.p.propType) {\n animatorSelector = animators[j].s;\n mult = animatorSelector.getMult(letters[i].anIndexes[j], textData.a[j].s.totalChars);\n\n if (mult.length) {\n animatorOffset += animatorProps.p.v[0] * mult[0];\n } else {\n animatorOffset += animatorProps.p.v[0] * mult;\n }\n }\n\n if (animatorProps.a.propType) {\n animatorSelector = animators[j].s;\n mult = animatorSelector.getMult(letters[i].anIndexes[j], textData.a[j].s.totalChars);\n\n if (mult.length) {\n animatorOffset += animatorProps.a.v[0] * mult[0];\n } else {\n animatorOffset += animatorProps.a.v[0] * mult;\n }\n }\n }\n\n flag = true; // Force alignment only works with a single line for now\n\n if (this._pathData.a.v) {\n currentLength = letters[0].an * 0.5 + (totalLength - this._pathData.f.v - letters[0].an * 0.5 - letters[letters.length - 1].an * 0.5) * ind / (len - 1);\n currentLength += this._pathData.f.v;\n }\n\n while (flag) {\n if (segmentLength + partialLength >= currentLength + animatorOffset || !points) {\n perc = (currentLength + animatorOffset - segmentLength) / currentPoint.partialLength;\n xPathPos = prevPoint.point[0] + (currentPoint.point[0] - prevPoint.point[0]) * perc;\n yPathPos = prevPoint.point[1] + (currentPoint.point[1] - prevPoint.point[1]) * perc;\n matrixHelper.translate(-alignment[0] * letters[i].an * 0.005, -(alignment[1] * yOff) * 0.01);\n flag = false;\n } else if (points) {\n segmentLength += currentPoint.partialLength;\n pointInd += 1;\n\n if (pointInd >= points.length) {\n pointInd = 0;\n segmentInd += 1;\n\n if (!segments[segmentInd]) {\n if (mask.v.c) {\n pointInd = 0;\n segmentInd = 0;\n points = segments[segmentInd].points;\n } else {\n segmentLength -= currentPoint.partialLength;\n points = null;\n }\n } else {\n points = segments[segmentInd].points;\n }\n }\n\n if (points) {\n prevPoint = currentPoint;\n currentPoint = points[pointInd];\n partialLength = currentPoint.partialLength;\n }\n }\n }\n\n offf = letters[i].an / 2 - letters[i].add;\n matrixHelper.translate(-offf, 0, 0);\n } else {\n offf = letters[i].an / 2 - letters[i].add;\n matrixHelper.translate(-offf, 0, 0); // Grouping alignment\n\n matrixHelper.translate(-alignment[0] * letters[i].an * 0.005, -alignment[1] * yOff * 0.01, 0);\n }\n\n for (j = 0; j < jLen; j += 1) {\n animatorProps = animators[j].a;\n\n if (animatorProps.t.propType) {\n animatorSelector = animators[j].s;\n mult = animatorSelector.getMult(letters[i].anIndexes[j], textData.a[j].s.totalChars); // This condition is to prevent applying tracking to first character in each line. Might be better to use a boolean \"isNewLine\"\n\n if (xPos !== 0 || documentData.j !== 0) {\n if (this._hasMaskedPath) {\n if (mult.length) {\n currentLength += animatorProps.t.v * mult[0];\n } else {\n currentLength += animatorProps.t.v * mult;\n }\n } else if (mult.length) {\n xPos += animatorProps.t.v * mult[0];\n } else {\n xPos += animatorProps.t.v * mult;\n }\n }\n }\n }\n\n if (documentData.strokeWidthAnim) {\n sw = documentData.sw || 0;\n }\n\n if (documentData.strokeColorAnim) {\n if (documentData.sc) {\n sc = [documentData.sc[0], documentData.sc[1], documentData.sc[2]];\n } else {\n sc = [0, 0, 0];\n }\n }\n\n if (documentData.fillColorAnim && documentData.fc) {\n fc = [documentData.fc[0], documentData.fc[1], documentData.fc[2]];\n }\n\n for (j = 0; j < jLen; j += 1) {\n animatorProps = animators[j].a;\n\n if (animatorProps.a.propType) {\n animatorSelector = animators[j].s;\n mult = animatorSelector.getMult(letters[i].anIndexes[j], textData.a[j].s.totalChars);\n\n if (mult.length) {\n matrixHelper.translate(-animatorProps.a.v[0] * mult[0], -animatorProps.a.v[1] * mult[1], animatorProps.a.v[2] * mult[2]);\n } else {\n matrixHelper.translate(-animatorProps.a.v[0] * mult, -animatorProps.a.v[1] * mult, animatorProps.a.v[2] * mult);\n }\n }\n }\n\n for (j = 0; j < jLen; j += 1) {\n animatorProps = animators[j].a;\n\n if (animatorProps.s.propType) {\n animatorSelector = animators[j].s;\n mult = animatorSelector.getMult(letters[i].anIndexes[j], textData.a[j].s.totalChars);\n\n if (mult.length) {\n matrixHelper.scale(1 + (animatorProps.s.v[0] - 1) * mult[0], 1 + (animatorProps.s.v[1] - 1) * mult[1], 1);\n } else {\n matrixHelper.scale(1 + (animatorProps.s.v[0] - 1) * mult, 1 + (animatorProps.s.v[1] - 1) * mult, 1);\n }\n }\n }\n\n for (j = 0; j < jLen; j += 1) {\n animatorProps = animators[j].a;\n animatorSelector = animators[j].s;\n mult = animatorSelector.getMult(letters[i].anIndexes[j], textData.a[j].s.totalChars);\n\n if (animatorProps.sk.propType) {\n if (mult.length) {\n matrixHelper.skewFromAxis(-animatorProps.sk.v * mult[0], animatorProps.sa.v * mult[1]);\n } else {\n matrixHelper.skewFromAxis(-animatorProps.sk.v * mult, animatorProps.sa.v * mult);\n }\n }\n\n if (animatorProps.r.propType) {\n if (mult.length) {\n matrixHelper.rotateZ(-animatorProps.r.v * mult[2]);\n } else {\n matrixHelper.rotateZ(-animatorProps.r.v * mult);\n }\n }\n\n if (animatorProps.ry.propType) {\n if (mult.length) {\n matrixHelper.rotateY(animatorProps.ry.v * mult[1]);\n } else {\n matrixHelper.rotateY(animatorProps.ry.v * mult);\n }\n }\n\n if (animatorProps.rx.propType) {\n if (mult.length) {\n matrixHelper.rotateX(animatorProps.rx.v * mult[0]);\n } else {\n matrixHelper.rotateX(animatorProps.rx.v * mult);\n }\n }\n\n if (animatorProps.o.propType) {\n if (mult.length) {\n elemOpacity += (animatorProps.o.v * mult[0] - elemOpacity) * mult[0];\n } else {\n elemOpacity += (animatorProps.o.v * mult - elemOpacity) * mult;\n }\n }\n\n if (documentData.strokeWidthAnim && animatorProps.sw.propType) {\n if (mult.length) {\n sw += animatorProps.sw.v * mult[0];\n } else {\n sw += animatorProps.sw.v * mult;\n }\n }\n\n if (documentData.strokeColorAnim && animatorProps.sc.propType) {\n for (k = 0; k < 3; k += 1) {\n if (mult.length) {\n sc[k] += (animatorProps.sc.v[k] - sc[k]) * mult[0];\n } else {\n sc[k] += (animatorProps.sc.v[k] - sc[k]) * mult;\n }\n }\n }\n\n if (documentData.fillColorAnim && documentData.fc) {\n if (animatorProps.fc.propType) {\n for (k = 0; k < 3; k += 1) {\n if (mult.length) {\n fc[k] += (animatorProps.fc.v[k] - fc[k]) * mult[0];\n } else {\n fc[k] += (animatorProps.fc.v[k] - fc[k]) * mult;\n }\n }\n }\n\n if (animatorProps.fh.propType) {\n if (mult.length) {\n fc = addHueToRGB(fc, animatorProps.fh.v * mult[0]);\n } else {\n fc = addHueToRGB(fc, animatorProps.fh.v * mult);\n }\n }\n\n if (animatorProps.fs.propType) {\n if (mult.length) {\n fc = addSaturationToRGB(fc, animatorProps.fs.v * mult[0]);\n } else {\n fc = addSaturationToRGB(fc, animatorProps.fs.v * mult);\n }\n }\n\n if (animatorProps.fb.propType) {\n if (mult.length) {\n fc = addBrightnessToRGB(fc, animatorProps.fb.v * mult[0]);\n } else {\n fc = addBrightnessToRGB(fc, animatorProps.fb.v * mult);\n }\n }\n }\n }\n\n for (j = 0; j < jLen; j += 1) {\n animatorProps = animators[j].a;\n\n if (animatorProps.p.propType) {\n animatorSelector = animators[j].s;\n mult = animatorSelector.getMult(letters[i].anIndexes[j], textData.a[j].s.totalChars);\n\n if (this._hasMaskedPath) {\n if (mult.length) {\n matrixHelper.translate(0, animatorProps.p.v[1] * mult[0], -animatorProps.p.v[2] * mult[1]);\n } else {\n matrixHelper.translate(0, animatorProps.p.v[1] * mult, -animatorProps.p.v[2] * mult);\n }\n } else if (mult.length) {\n matrixHelper.translate(animatorProps.p.v[0] * mult[0], animatorProps.p.v[1] * mult[1], -animatorProps.p.v[2] * mult[2]);\n } else {\n matrixHelper.translate(animatorProps.p.v[0] * mult, animatorProps.p.v[1] * mult, -animatorProps.p.v[2] * mult);\n }\n }\n }\n\n if (documentData.strokeWidthAnim) {\n letterSw = sw < 0 ? 0 : sw;\n }\n\n if (documentData.strokeColorAnim) {\n letterSc = 'rgb(' + Math.round(sc[0] * 255) + ',' + Math.round(sc[1] * 255) + ',' + Math.round(sc[2] * 255) + ')';\n }\n\n if (documentData.fillColorAnim && documentData.fc) {\n letterFc = 'rgb(' + Math.round(fc[0] * 255) + ',' + Math.round(fc[1] * 255) + ',' + Math.round(fc[2] * 255) + ')';\n }\n\n if (this._hasMaskedPath) {\n matrixHelper.translate(0, -documentData.ls);\n matrixHelper.translate(0, alignment[1] * yOff * 0.01 + yPos, 0);\n\n if (this._pathData.p.v) {\n tanAngle = (currentPoint.point[1] - prevPoint.point[1]) / (currentPoint.point[0] - prevPoint.point[0]);\n var rot = Math.atan(tanAngle) * 180 / Math.PI;\n\n if (currentPoint.point[0] < prevPoint.point[0]) {\n rot += 180;\n }\n\n matrixHelper.rotate(-rot * Math.PI / 180);\n }\n\n matrixHelper.translate(xPathPos, yPathPos, 0);\n currentLength -= alignment[0] * letters[i].an * 0.005;\n\n if (letters[i + 1] && ind !== letters[i + 1].ind) {\n currentLength += letters[i].an / 2;\n currentLength += documentData.tr * 0.001 * documentData.finalSize;\n }\n } else {\n matrixHelper.translate(xPos, yPos, 0);\n\n if (documentData.ps) {\n // matrixHelper.translate(documentData.ps[0],documentData.ps[1],0);\n matrixHelper.translate(documentData.ps[0], documentData.ps[1] + documentData.ascent, 0);\n }\n\n switch (documentData.j) {\n case 1:\n matrixHelper.translate(letters[i].animatorJustifyOffset + documentData.justifyOffset + (documentData.boxWidth - documentData.lineWidths[letters[i].line]), 0, 0);\n break;\n\n case 2:\n matrixHelper.translate(letters[i].animatorJustifyOffset + documentData.justifyOffset + (documentData.boxWidth - documentData.lineWidths[letters[i].line]) / 2, 0, 0);\n break;\n\n default:\n break;\n }\n\n matrixHelper.translate(0, -documentData.ls);\n matrixHelper.translate(offf, 0, 0);\n matrixHelper.translate(alignment[0] * letters[i].an * 0.005, alignment[1] * yOff * 0.01, 0);\n xPos += letters[i].l + documentData.tr * 0.001 * documentData.finalSize;\n }\n\n if (renderType === 'html') {\n letterM = matrixHelper.toCSS();\n } else if (renderType === 'svg') {\n letterM = matrixHelper.to2dCSS();\n } else {\n letterP = [matrixHelper.props[0], matrixHelper.props[1], matrixHelper.props[2], matrixHelper.props[3], matrixHelper.props[4], matrixHelper.props[5], matrixHelper.props[6], matrixHelper.props[7], matrixHelper.props[8], matrixHelper.props[9], matrixHelper.props[10], matrixHelper.props[11], matrixHelper.props[12], matrixHelper.props[13], matrixHelper.props[14], matrixHelper.props[15]];\n }\n\n letterO = elemOpacity;\n }\n\n if (renderedLettersCount <= i) {\n letterValue = new LetterProps(letterO, letterSw, letterSc, letterFc, letterM, letterP);\n this.renderedLetters.push(letterValue);\n renderedLettersCount += 1;\n this.lettersChangedFlag = true;\n } else {\n letterValue = this.renderedLetters[i];\n this.lettersChangedFlag = letterValue.update(letterO, letterSw, letterSc, letterFc, letterM, letterP) || this.lettersChangedFlag;\n }\n }\n };\n\n TextAnimatorProperty.prototype.getValue = function () {\n if (this._elem.globalData.frameId === this._frameId) {\n return;\n }\n\n this._frameId = this._elem.globalData.frameId;\n this.iterateDynamicProperties();\n };\n\n TextAnimatorProperty.prototype.mHelper = new Matrix();\n TextAnimatorProperty.prototype.defaultPropsArray = [];\n extendPrototype([DynamicPropertyContainer], TextAnimatorProperty);\n\n function ITextElement() {}\n\n ITextElement.prototype.initElement = function (data, globalData, comp) {\n this.lettersChangedFlag = true;\n this.initFrame();\n this.initBaseData(data, globalData, comp);\n this.textProperty = new TextProperty(this, data.t, this.dynamicProperties);\n this.textAnimator = new TextAnimatorProperty(data.t, this.renderType, this);\n this.initTransform(data, globalData, comp);\n this.initHierarchy();\n this.initRenderable();\n this.initRendererElement();\n this.createContainerElements();\n this.createRenderableComponents();\n this.createContent();\n this.hide();\n this.textAnimator.searchProperties(this.dynamicProperties);\n };\n\n ITextElement.prototype.prepareFrame = function (num) {\n this._mdf = false;\n this.prepareRenderableFrame(num);\n this.prepareProperties(num, this.isInRange);\n };\n\n ITextElement.prototype.createPathShape = function (matrixHelper, shapes) {\n var j;\n var jLen = shapes.length;\n var pathNodes;\n var shapeStr = '';\n\n for (j = 0; j < jLen; j += 1) {\n if (shapes[j].ty === 'sh') {\n pathNodes = shapes[j].ks.k;\n shapeStr += buildShapeString(pathNodes, pathNodes.i.length, true, matrixHelper);\n }\n }\n\n return shapeStr;\n };\n\n ITextElement.prototype.updateDocumentData = function (newData, index) {\n this.textProperty.updateDocumentData(newData, index);\n };\n\n ITextElement.prototype.canResizeFont = function (_canResize) {\n this.textProperty.canResizeFont(_canResize);\n };\n\n ITextElement.prototype.setMinimumFontSize = function (_fontSize) {\n this.textProperty.setMinimumFontSize(_fontSize);\n };\n\n ITextElement.prototype.applyTextPropertiesToMatrix = function (documentData, matrixHelper, lineNumber, xPos, yPos) {\n if (documentData.ps) {\n matrixHelper.translate(documentData.ps[0], documentData.ps[1] + documentData.ascent, 0);\n }\n\n matrixHelper.translate(0, -documentData.ls, 0);\n\n switch (documentData.j) {\n case 1:\n matrixHelper.translate(documentData.justifyOffset + (documentData.boxWidth - documentData.lineWidths[lineNumber]), 0, 0);\n break;\n\n case 2:\n matrixHelper.translate(documentData.justifyOffset + (documentData.boxWidth - documentData.lineWidths[lineNumber]) / 2, 0, 0);\n break;\n\n default:\n break;\n }\n\n matrixHelper.translate(xPos, yPos, 0);\n };\n\n ITextElement.prototype.buildColor = function (colorData) {\n return 'rgb(' + Math.round(colorData[0] * 255) + ',' + Math.round(colorData[1] * 255) + ',' + Math.round(colorData[2] * 255) + ')';\n };\n\n ITextElement.prototype.emptyProp = new LetterProps();\n\n ITextElement.prototype.destroy = function () {};\n\n ITextElement.prototype.validateText = function () {\n if (this.textProperty._mdf || this.textProperty._isFirstFrame) {\n this.buildNewText();\n this.textProperty._isFirstFrame = false;\n this.textProperty._mdf = false;\n }\n };\n\n var emptyShapeData = {\n shapes: []\n };\n\n function SVGTextLottieElement(data, globalData, comp) {\n this.textSpans = [];\n this.renderType = 'svg';\n this.initElement(data, globalData, comp);\n }\n\n extendPrototype([BaseElement, TransformElement, SVGBaseElement, HierarchyElement, FrameElement, RenderableDOMElement, ITextElement], SVGTextLottieElement);\n\n SVGTextLottieElement.prototype.createContent = function () {\n if (this.data.singleShape && !this.globalData.fontManager.chars) {\n this.textContainer = createNS('text');\n }\n };\n\n SVGTextLottieElement.prototype.buildTextContents = function (textArray) {\n var i = 0;\n var len = textArray.length;\n var textContents = [];\n var currentTextContent = '';\n\n while (i < len) {\n if (textArray[i] === String.fromCharCode(13) || textArray[i] === String.fromCharCode(3)) {\n textContents.push(currentTextContent);\n currentTextContent = '';\n } else {\n currentTextContent += textArray[i];\n }\n\n i += 1;\n }\n\n textContents.push(currentTextContent);\n return textContents;\n };\n\n SVGTextLottieElement.prototype.buildShapeData = function (data, scale) {\n // data should probably be cloned to apply scale separately to each instance of a text on different layers\n // but since text internal content gets only rendered once and then it's never rerendered,\n // it's probably safe not to clone data and reuse always the same instance even if the object is mutated.\n // Avoiding cloning is preferred since cloning each character shape data is expensive\n if (data.shapes && data.shapes.length) {\n var shape = data.shapes[0];\n\n if (shape.it) {\n var shapeItem = shape.it[shape.it.length - 1];\n\n if (shapeItem.s) {\n shapeItem.s.k[0] = scale;\n shapeItem.s.k[1] = scale;\n }\n }\n }\n\n return data;\n };\n\n SVGTextLottieElement.prototype.buildNewText = function () {\n this.addDynamicProperty(this);\n var i;\n var len;\n var documentData = this.textProperty.currentData;\n this.renderedLetters = createSizedArray(documentData ? documentData.l.length : 0);\n\n if (documentData.fc) {\n this.layerElement.setAttribute('fill', this.buildColor(documentData.fc));\n } else {\n this.layerElement.setAttribute('fill', 'rgba(0,0,0,0)');\n }\n\n if (documentData.sc) {\n this.layerElement.setAttribute('stroke', this.buildColor(documentData.sc));\n this.layerElement.setAttribute('stroke-width', documentData.sw);\n }\n\n this.layerElement.setAttribute('font-size', documentData.finalSize);\n var fontData = this.globalData.fontManager.getFontByName(documentData.f);\n\n if (fontData.fClass) {\n this.layerElement.setAttribute('class', fontData.fClass);\n } else {\n this.layerElement.setAttribute('font-family', fontData.fFamily);\n var fWeight = documentData.fWeight;\n var fStyle = documentData.fStyle;\n this.layerElement.setAttribute('font-style', fStyle);\n this.layerElement.setAttribute('font-weight', fWeight);\n }\n\n this.layerElement.setAttribute('aria-label', documentData.t);\n var letters = documentData.l || [];\n var usesGlyphs = !!this.globalData.fontManager.chars;\n len = letters.length;\n var tSpan;\n var matrixHelper = this.mHelper;\n var shapeStr = '';\n var singleShape = this.data.singleShape;\n var xPos = 0;\n var yPos = 0;\n var firstLine = true;\n var trackingOffset = documentData.tr * 0.001 * documentData.finalSize;\n\n if (singleShape && !usesGlyphs && !documentData.sz) {\n var tElement = this.textContainer;\n var justify = 'start';\n\n switch (documentData.j) {\n case 1:\n justify = 'end';\n break;\n\n case 2:\n justify = 'middle';\n break;\n\n default:\n justify = 'start';\n break;\n }\n\n tElement.setAttribute('text-anchor', justify);\n tElement.setAttribute('letter-spacing', trackingOffset);\n var textContent = this.buildTextContents(documentData.finalText);\n len = textContent.length;\n yPos = documentData.ps ? documentData.ps[1] + documentData.ascent : 0;\n\n for (i = 0; i < len; i += 1) {\n tSpan = this.textSpans[i].span || createNS('tspan');\n tSpan.textContent = textContent[i];\n tSpan.setAttribute('x', 0);\n tSpan.setAttribute('y', yPos);\n tSpan.style.display = 'inherit';\n tElement.appendChild(tSpan);\n\n if (!this.textSpans[i]) {\n this.textSpans[i] = {\n span: null,\n glyph: null\n };\n }\n\n this.textSpans[i].span = tSpan;\n yPos += documentData.finalLineHeight;\n }\n\n this.layerElement.appendChild(tElement);\n } else {\n var cachedSpansLength = this.textSpans.length;\n var charData;\n\n for (i = 0; i < len; i += 1) {\n if (!this.textSpans[i]) {\n this.textSpans[i] = {\n span: null,\n childSpan: null,\n glyph: null\n };\n }\n\n if (!usesGlyphs || !singleShape || i === 0) {\n tSpan = cachedSpansLength > i ? this.textSpans[i].span : createNS(usesGlyphs ? 'g' : 'text');\n\n if (cachedSpansLength <= i) {\n tSpan.setAttribute('stroke-linecap', 'butt');\n tSpan.setAttribute('stroke-linejoin', 'round');\n tSpan.setAttribute('stroke-miterlimit', '4');\n this.textSpans[i].span = tSpan;\n\n if (usesGlyphs) {\n var childSpan = createNS('g');\n tSpan.appendChild(childSpan);\n this.textSpans[i].childSpan = childSpan;\n }\n\n this.textSpans[i].span = tSpan;\n this.layerElement.appendChild(tSpan);\n }\n\n tSpan.style.display = 'inherit';\n }\n\n matrixHelper.reset();\n\n if (singleShape) {\n if (letters[i].n) {\n xPos = -trackingOffset;\n yPos += documentData.yOffset;\n yPos += firstLine ? 1 : 0;\n firstLine = false;\n }\n\n this.applyTextPropertiesToMatrix(documentData, matrixHelper, letters[i].line, xPos, yPos);\n xPos += letters[i].l || 0; // xPos += letters[i].val === ' ' ? 0 : trackingOffset;\n\n xPos += trackingOffset;\n }\n\n if (usesGlyphs) {\n charData = this.globalData.fontManager.getCharData(documentData.finalText[i], fontData.fStyle, this.globalData.fontManager.getFontByName(documentData.f).fFamily);\n var glyphElement; // t === 1 means the character has been replaced with an animated shaped\n\n if (charData.t === 1) {\n glyphElement = new SVGCompElement(charData.data, this.globalData, this);\n } else {\n var data = emptyShapeData;\n\n if (charData.data && charData.data.shapes) {\n data = this.buildShapeData(charData.data, documentData.finalSize);\n }\n\n glyphElement = new SVGShapeElement(data, this.globalData, this);\n }\n\n if (this.textSpans[i].glyph) {\n var glyph = this.textSpans[i].glyph;\n this.textSpans[i].childSpan.removeChild(glyph.layerElement);\n glyph.destroy();\n }\n\n this.textSpans[i].glyph = glyphElement;\n glyphElement._debug = true;\n glyphElement.prepareFrame(0);\n glyphElement.renderFrame();\n this.textSpans[i].childSpan.appendChild(glyphElement.layerElement); // when using animated shapes, the layer will be scaled instead of replacing the internal scale\n // this might have issues with strokes and might need a different solution\n\n if (charData.t === 1) {\n this.textSpans[i].childSpan.setAttribute('transform', 'scale(' + documentData.finalSize / 100 + ',' + documentData.finalSize / 100 + ')');\n }\n } else {\n if (singleShape) {\n tSpan.setAttribute('transform', 'translate(' + matrixHelper.props[12] + ',' + matrixHelper.props[13] + ')');\n }\n\n tSpan.textContent = letters[i].val;\n tSpan.setAttributeNS('http://www.w3.org/XML/1998/namespace', 'xml:space', 'preserve');\n } //\n\n }\n\n if (singleShape && tSpan) {\n tSpan.setAttribute('d', shapeStr);\n }\n }\n\n while (i < this.textSpans.length) {\n this.textSpans[i].span.style.display = 'none';\n i += 1;\n }\n\n this._sizeChanged = true;\n };\n\n SVGTextLottieElement.prototype.sourceRectAtTime = function () {\n this.prepareFrame(this.comp.renderedFrame - this.data.st);\n this.renderInnerContent();\n\n if (this._sizeChanged) {\n this._sizeChanged = false;\n var textBox = this.layerElement.getBBox();\n this.bbox = {\n top: textBox.y,\n left: textBox.x,\n width: textBox.width,\n height: textBox.height\n };\n }\n\n return this.bbox;\n };\n\n SVGTextLottieElement.prototype.getValue = function () {\n var i;\n var len = this.textSpans.length;\n var glyphElement;\n this.renderedFrame = this.comp.renderedFrame;\n\n for (i = 0; i < len; i += 1) {\n glyphElement = this.textSpans[i].glyph;\n\n if (glyphElement) {\n glyphElement.prepareFrame(this.comp.renderedFrame - this.data.st);\n\n if (glyphElement._mdf) {\n this._mdf = true;\n }\n }\n }\n };\n\n SVGTextLottieElement.prototype.renderInnerContent = function () {\n this.validateText();\n\n if (!this.data.singleShape || this._mdf) {\n this.textAnimator.getMeasures(this.textProperty.currentData, this.lettersChangedFlag);\n\n if (this.lettersChangedFlag || this.textAnimator.lettersChangedFlag) {\n this._sizeChanged = true;\n var i;\n var len;\n var renderedLetters = this.textAnimator.renderedLetters;\n var letters = this.textProperty.currentData.l;\n len = letters.length;\n var renderedLetter;\n var textSpan;\n var glyphElement;\n\n for (i = 0; i < len; i += 1) {\n if (!letters[i].n) {\n renderedLetter = renderedLetters[i];\n textSpan = this.textSpans[i].span;\n glyphElement = this.textSpans[i].glyph;\n\n if (glyphElement) {\n glyphElement.renderFrame();\n }\n\n if (renderedLetter._mdf.m) {\n textSpan.setAttribute('transform', renderedLetter.m);\n }\n\n if (renderedLetter._mdf.o) {\n textSpan.setAttribute('opacity', renderedLetter.o);\n }\n\n if (renderedLetter._mdf.sw) {\n textSpan.setAttribute('stroke-width', renderedLetter.sw);\n }\n\n if (renderedLetter._mdf.sc) {\n textSpan.setAttribute('stroke', renderedLetter.sc);\n }\n\n if (renderedLetter._mdf.fc) {\n textSpan.setAttribute('fill', renderedLetter.fc);\n }\n }\n }\n }\n }\n };\n\n function ISolidElement(data, globalData, comp) {\n this.initElement(data, globalData, comp);\n }\n\n extendPrototype([IImageElement], ISolidElement);\n\n ISolidElement.prototype.createContent = function () {\n var rect = createNS('rect'); /// /rect.style.width = this.data.sw;\n /// /rect.style.height = this.data.sh;\n /// /rect.style.fill = this.data.sc;\n\n rect.setAttribute('width', this.data.sw);\n rect.setAttribute('height', this.data.sh);\n rect.setAttribute('fill', this.data.sc);\n this.layerElement.appendChild(rect);\n };\n\n function NullElement(data, globalData, comp) {\n this.initFrame();\n this.initBaseData(data, globalData, comp);\n this.initFrame();\n this.initTransform(data, globalData, comp);\n this.initHierarchy();\n }\n\n NullElement.prototype.prepareFrame = function (num) {\n this.prepareProperties(num, true);\n };\n\n NullElement.prototype.renderFrame = function () {};\n\n NullElement.prototype.getBaseElement = function () {\n return null;\n };\n\n NullElement.prototype.destroy = function () {};\n\n NullElement.prototype.sourceRectAtTime = function () {};\n\n NullElement.prototype.hide = function () {};\n\n extendPrototype([BaseElement, TransformElement, HierarchyElement, FrameElement], NullElement);\n\n function SVGRendererBase() {}\n\n extendPrototype([BaseRenderer], SVGRendererBase);\n\n SVGRendererBase.prototype.createNull = function (data) {\n return new NullElement(data, this.globalData, this);\n };\n\n SVGRendererBase.prototype.createShape = function (data) {\n return new SVGShapeElement(data, this.globalData, this);\n };\n\n SVGRendererBase.prototype.createText = function (data) {\n return new SVGTextLottieElement(data, this.globalData, this);\n };\n\n SVGRendererBase.prototype.createImage = function (data) {\n return new IImageElement(data, this.globalData, this);\n };\n\n SVGRendererBase.prototype.createSolid = function (data) {\n return new ISolidElement(data, this.globalData, this);\n };\n\n SVGRendererBase.prototype.configAnimation = function (animData) {\n this.svgElement.setAttribute('xmlns', 'http://www.w3.org/2000/svg');\n this.svgElement.setAttribute('xmlns:xlink', 'http://www.w3.org/1999/xlink');\n\n if (this.renderConfig.viewBoxSize) {\n this.svgElement.setAttribute('viewBox', this.renderConfig.viewBoxSize);\n } else {\n this.svgElement.setAttribute('viewBox', '0 0 ' + animData.w + ' ' + animData.h);\n }\n\n if (!this.renderConfig.viewBoxOnly) {\n this.svgElement.setAttribute('width', animData.w);\n this.svgElement.setAttribute('height', animData.h);\n this.svgElement.style.width = '100%';\n this.svgElement.style.height = '100%';\n this.svgElement.style.transform = 'translate3d(0,0,0)';\n this.svgElement.style.contentVisibility = this.renderConfig.contentVisibility;\n }\n\n if (this.renderConfig.width) {\n this.svgElement.setAttribute('width', this.renderConfig.width);\n }\n\n if (this.renderConfig.height) {\n this.svgElement.setAttribute('height', this.renderConfig.height);\n }\n\n if (this.renderConfig.className) {\n this.svgElement.setAttribute('class', this.renderConfig.className);\n }\n\n if (this.renderConfig.id) {\n this.svgElement.setAttribute('id', this.renderConfig.id);\n }\n\n if (this.renderConfig.focusable !== undefined) {\n this.svgElement.setAttribute('focusable', this.renderConfig.focusable);\n }\n\n this.svgElement.setAttribute('preserveAspectRatio', this.renderConfig.preserveAspectRatio); // this.layerElement.style.transform = 'translate3d(0,0,0)';\n // this.layerElement.style.transformOrigin = this.layerElement.style.mozTransformOrigin = this.layerElement.style.webkitTransformOrigin = this.layerElement.style['-webkit-transform'] = \"0px 0px 0px\";\n\n this.animationItem.wrapper.appendChild(this.svgElement); // Mask animation\n\n var defs = this.globalData.defs;\n this.setupGlobalData(animData, defs);\n this.globalData.progressiveLoad = this.renderConfig.progressiveLoad;\n this.data = animData;\n var maskElement = createNS('clipPath');\n var rect = createNS('rect');\n rect.setAttribute('width', animData.w);\n rect.setAttribute('height', animData.h);\n rect.setAttribute('x', 0);\n rect.setAttribute('y', 0);\n var maskId = createElementID();\n maskElement.setAttribute('id', maskId);\n maskElement.appendChild(rect);\n this.layerElement.setAttribute('clip-path', 'url(' + getLocationHref() + '#' + maskId + ')');\n defs.appendChild(maskElement);\n this.layers = animData.layers;\n this.elements = createSizedArray(animData.layers.length);\n };\n\n SVGRendererBase.prototype.destroy = function () {\n if (this.animationItem.wrapper) {\n this.animationItem.wrapper.innerText = '';\n }\n\n this.layerElement = null;\n this.globalData.defs = null;\n var i;\n var len = this.layers ? this.layers.length : 0;\n\n for (i = 0; i < len; i += 1) {\n if (this.elements[i] && this.elements[i].destroy) {\n this.elements[i].destroy();\n }\n }\n\n this.elements.length = 0;\n this.destroyed = true;\n this.animationItem = null;\n };\n\n SVGRendererBase.prototype.updateContainerSize = function () {};\n\n SVGRendererBase.prototype.findIndexByInd = function (ind) {\n var i = 0;\n var len = this.layers.length;\n\n for (i = 0; i < len; i += 1) {\n if (this.layers[i].ind === ind) {\n return i;\n }\n }\n\n return -1;\n };\n\n SVGRendererBase.prototype.buildItem = function (pos) {\n var elements = this.elements;\n\n if (elements[pos] || this.layers[pos].ty === 99) {\n return;\n }\n\n elements[pos] = true;\n var element = this.createItem(this.layers[pos]);\n elements[pos] = element;\n\n if (getExpressionsPlugin()) {\n if (this.layers[pos].ty === 0) {\n this.globalData.projectInterface.registerComposition(element);\n }\n\n element.initExpressions();\n }\n\n this.appendElementInPos(element, pos);\n\n if (this.layers[pos].tt) {\n var elementIndex = 'tp' in this.layers[pos] ? this.findIndexByInd(this.layers[pos].tp) : pos - 1;\n\n if (elementIndex === -1) {\n return;\n }\n\n if (!this.elements[elementIndex] || this.elements[elementIndex] === true) {\n this.buildItem(elementIndex);\n this.addPendingElement(element);\n } else {\n var matteElement = elements[elementIndex];\n var matteMask = matteElement.getMatte(this.layers[pos].tt);\n element.setMatte(matteMask);\n }\n }\n };\n\n SVGRendererBase.prototype.checkPendingElements = function () {\n while (this.pendingElements.length) {\n var element = this.pendingElements.pop();\n element.checkParenting();\n\n if (element.data.tt) {\n var i = 0;\n var len = this.elements.length;\n\n while (i < len) {\n if (this.elements[i] === element) {\n var elementIndex = 'tp' in element.data ? this.findIndexByInd(element.data.tp) : i - 1;\n var matteElement = this.elements[elementIndex];\n var matteMask = matteElement.getMatte(this.layers[i].tt);\n element.setMatte(matteMask);\n break;\n }\n\n i += 1;\n }\n }\n }\n };\n\n SVGRendererBase.prototype.renderFrame = function (num) {\n if (this.renderedFrame === num || this.destroyed) {\n return;\n }\n\n if (num === null) {\n num = this.renderedFrame;\n } else {\n this.renderedFrame = num;\n } // console.log('-------');\n // console.log('FRAME ',num);\n\n\n this.globalData.frameNum = num;\n this.globalData.frameId += 1;\n this.globalData.projectInterface.currentFrame = num;\n this.globalData._mdf = false;\n var i;\n var len = this.layers.length;\n\n if (!this.completeLayers) {\n this.checkLayers(num);\n }\n\n for (i = len - 1; i >= 0; i -= 1) {\n if (this.completeLayers || this.elements[i]) {\n this.elements[i].prepareFrame(num - this.layers[i].st);\n }\n }\n\n if (this.globalData._mdf) {\n for (i = 0; i < len; i += 1) {\n if (this.completeLayers || this.elements[i]) {\n this.elements[i].renderFrame();\n }\n }\n }\n };\n\n SVGRendererBase.prototype.appendElementInPos = function (element, pos) {\n var newElement = element.getBaseElement();\n\n if (!newElement) {\n return;\n }\n\n var i = 0;\n var nextElement;\n\n while (i < pos) {\n if (this.elements[i] && this.elements[i] !== true && this.elements[i].getBaseElement()) {\n nextElement = this.elements[i].getBaseElement();\n }\n\n i += 1;\n }\n\n if (nextElement) {\n this.layerElement.insertBefore(newElement, nextElement);\n } else {\n this.layerElement.appendChild(newElement);\n }\n };\n\n SVGRendererBase.prototype.hide = function () {\n this.layerElement.style.display = 'none';\n };\n\n SVGRendererBase.prototype.show = function () {\n this.layerElement.style.display = 'block';\n };\n\n function ICompElement() {}\n\n extendPrototype([BaseElement, TransformElement, HierarchyElement, FrameElement, RenderableDOMElement], ICompElement);\n\n ICompElement.prototype.initElement = function (data, globalData, comp) {\n this.initFrame();\n this.initBaseData(data, globalData, comp);\n this.initTransform(data, globalData, comp);\n this.initRenderable();\n this.initHierarchy();\n this.initRendererElement();\n this.createContainerElements();\n this.createRenderableComponents();\n\n if (this.data.xt || !globalData.progressiveLoad) {\n this.buildAllItems();\n }\n\n this.hide();\n };\n /* ICompElement.prototype.hide = function(){\r\n if(!this.hidden){\r\n this.hideElement();\r\n var i,len = this.elements.length;\r\n for( i = 0; i < len; i+=1 ){\r\n if(this.elements[i]){\r\n this.elements[i].hide();\r\n }\r\n }\r\n }\r\n }; */\n\n\n ICompElement.prototype.prepareFrame = function (num) {\n this._mdf = false;\n this.prepareRenderableFrame(num);\n this.prepareProperties(num, this.isInRange);\n\n if (!this.isInRange && !this.data.xt) {\n return;\n }\n\n if (!this.tm._placeholder) {\n var timeRemapped = this.tm.v;\n\n if (timeRemapped === this.data.op) {\n timeRemapped = this.data.op - 1;\n }\n\n this.renderedFrame = timeRemapped;\n } else {\n this.renderedFrame = num / this.data.sr;\n }\n\n var i;\n var len = this.elements.length;\n\n if (!this.completeLayers) {\n this.checkLayers(this.renderedFrame);\n } // This iteration needs to be backwards because of how expressions connect between each other\n\n\n for (i = len - 1; i >= 0; i -= 1) {\n if (this.completeLayers || this.elements[i]) {\n this.elements[i].prepareFrame(this.renderedFrame - this.layers[i].st);\n\n if (this.elements[i]._mdf) {\n this._mdf = true;\n }\n }\n }\n };\n\n ICompElement.prototype.renderInnerContent = function () {\n var i;\n var len = this.layers.length;\n\n for (i = 0; i < len; i += 1) {\n if (this.completeLayers || this.elements[i]) {\n this.elements[i].renderFrame();\n }\n }\n };\n\n ICompElement.prototype.setElements = function (elems) {\n this.elements = elems;\n };\n\n ICompElement.prototype.getElements = function () {\n return this.elements;\n };\n\n ICompElement.prototype.destroyElements = function () {\n var i;\n var len = this.layers.length;\n\n for (i = 0; i < len; i += 1) {\n if (this.elements[i]) {\n this.elements[i].destroy();\n }\n }\n };\n\n ICompElement.prototype.destroy = function () {\n this.destroyElements();\n this.destroyBaseElement();\n };\n\n function SVGCompElement(data, globalData, comp) {\n this.layers = data.layers;\n this.supports3d = true;\n this.completeLayers = false;\n this.pendingElements = [];\n this.elements = this.layers ? createSizedArray(this.layers.length) : [];\n this.initElement(data, globalData, comp);\n this.tm = data.tm ? PropertyFactory.getProp(this, data.tm, 0, globalData.frameRate, this) : {\n _placeholder: true\n };\n }\n\n extendPrototype([SVGRendererBase, ICompElement, SVGBaseElement], SVGCompElement);\n\n SVGCompElement.prototype.createComp = function (data) {\n return new SVGCompElement(data, this.globalData, this);\n };\n\n function SVGRenderer(animationItem, config) {\n this.animationItem = animationItem;\n this.layers = null;\n this.renderedFrame = -1;\n this.svgElement = createNS('svg');\n var ariaLabel = '';\n\n if (config && config.title) {\n var titleElement = createNS('title');\n var titleId = createElementID();\n titleElement.setAttribute('id', titleId);\n titleElement.textContent = config.title;\n this.svgElement.appendChild(titleElement);\n ariaLabel += titleId;\n }\n\n if (config && config.description) {\n var descElement = createNS('desc');\n var descId = createElementID();\n descElement.setAttribute('id', descId);\n descElement.textContent = config.description;\n this.svgElement.appendChild(descElement);\n ariaLabel += ' ' + descId;\n }\n\n if (ariaLabel) {\n this.svgElement.setAttribute('aria-labelledby', ariaLabel);\n }\n\n var defs = createNS('defs');\n this.svgElement.appendChild(defs);\n var maskElement = createNS('g');\n this.svgElement.appendChild(maskElement);\n this.layerElement = maskElement;\n this.renderConfig = {\n preserveAspectRatio: config && config.preserveAspectRatio || 'xMidYMid meet',\n imagePreserveAspectRatio: config && config.imagePreserveAspectRatio || 'xMidYMid slice',\n contentVisibility: config && config.contentVisibility || 'visible',\n progressiveLoad: config && config.progressiveLoad || false,\n hideOnTransparent: !(config && config.hideOnTransparent === false),\n viewBoxOnly: config && config.viewBoxOnly || false,\n viewBoxSize: config && config.viewBoxSize || false,\n className: config && config.className || '',\n id: config && config.id || '',\n focusable: config && config.focusable,\n filterSize: {\n width: config && config.filterSize && config.filterSize.width || '100%',\n height: config && config.filterSize && config.filterSize.height || '100%',\n x: config && config.filterSize && config.filterSize.x || '0%',\n y: config && config.filterSize && config.filterSize.y || '0%'\n },\n width: config && config.width,\n height: config && config.height,\n runExpressions: !config || config.runExpressions === undefined || config.runExpressions\n };\n this.globalData = {\n _mdf: false,\n frameNum: -1,\n defs: defs,\n renderConfig: this.renderConfig\n };\n this.elements = [];\n this.pendingElements = [];\n this.destroyed = false;\n this.rendererType = 'svg';\n }\n\n extendPrototype([SVGRendererBase], SVGRenderer);\n\n SVGRenderer.prototype.createComp = function (data) {\n return new SVGCompElement(data, this.globalData, this);\n };\n\n function ShapeTransformManager() {\n this.sequences = {};\n this.sequenceList = [];\n this.transform_key_count = 0;\n }\n\n ShapeTransformManager.prototype = {\n addTransformSequence: function addTransformSequence(transforms) {\n var i;\n var len = transforms.length;\n var key = '_';\n\n for (i = 0; i < len; i += 1) {\n key += transforms[i].transform.key + '_';\n }\n\n var sequence = this.sequences[key];\n\n if (!sequence) {\n sequence = {\n transforms: [].concat(transforms),\n finalTransform: new Matrix(),\n _mdf: false\n };\n this.sequences[key] = sequence;\n this.sequenceList.push(sequence);\n }\n\n return sequence;\n },\n processSequence: function processSequence(sequence, isFirstFrame) {\n var i = 0;\n var len = sequence.transforms.length;\n var _mdf = isFirstFrame;\n\n while (i < len && !isFirstFrame) {\n if (sequence.transforms[i].transform.mProps._mdf) {\n _mdf = true;\n break;\n }\n\n i += 1;\n }\n\n if (_mdf) {\n sequence.finalTransform.reset();\n\n for (i = len - 1; i >= 0; i -= 1) {\n sequence.finalTransform.multiply(sequence.transforms[i].transform.mProps.v);\n }\n }\n\n sequence._mdf = _mdf;\n },\n processSequences: function processSequences(isFirstFrame) {\n var i;\n var len = this.sequenceList.length;\n\n for (i = 0; i < len; i += 1) {\n this.processSequence(this.sequenceList[i], isFirstFrame);\n }\n },\n getNewKey: function getNewKey() {\n this.transform_key_count += 1;\n return '_' + this.transform_key_count;\n }\n };\n\n var lumaLoader = function lumaLoader() {\n var id = '__lottie_element_luma_buffer';\n var lumaBuffer = null;\n var lumaBufferCtx = null;\n var svg = null; // This alternate solution has a slight delay before the filter is applied, resulting in a flicker on the first frame.\n // Keeping this here for reference, and in the future, if offscreen canvas supports url filters, this can be used.\n // For now, neither of them work for offscreen canvas, so canvas workers can't support the luma track matte mask.\n // Naming it solution 2 to mark the extra comment lines.\n\n /*\r\n var svgString = [\r\n '',\r\n '',\r\n '',\r\n '',\r\n '',\r\n ].join('');\r\n var blob = new Blob([svgString], { type: 'image/svg+xml' });\r\n var url = URL.createObjectURL(blob);\r\n */\n\n function createLumaSvgFilter() {\n var _svg = createNS('svg');\n\n var fil = createNS('filter');\n var matrix = createNS('feColorMatrix');\n fil.setAttribute('id', id);\n matrix.setAttribute('type', 'matrix');\n matrix.setAttribute('color-interpolation-filters', 'sRGB');\n matrix.setAttribute('values', '0.3, 0.3, 0.3, 0, 0, 0.3, 0.3, 0.3, 0, 0, 0.3, 0.3, 0.3, 0, 0, 0.3, 0.3, 0.3, 0, 0');\n fil.appendChild(matrix);\n\n _svg.appendChild(fil);\n\n _svg.setAttribute('id', id + '_svg');\n\n if (featureSupport.svgLumaHidden) {\n _svg.style.display = 'none';\n }\n\n return _svg;\n }\n\n function loadLuma() {\n if (!lumaBuffer) {\n svg = createLumaSvgFilter();\n document.body.appendChild(svg);\n lumaBuffer = createTag('canvas');\n lumaBufferCtx = lumaBuffer.getContext('2d'); // lumaBufferCtx.filter = `url('${url}#__lottie_element_luma_buffer')`; // part of solution 2\n\n lumaBufferCtx.filter = 'url(#' + id + ')';\n lumaBufferCtx.fillStyle = 'rgba(0,0,0,0)';\n lumaBufferCtx.fillRect(0, 0, 1, 1);\n }\n }\n\n function getLuma(canvas) {\n if (!lumaBuffer) {\n loadLuma();\n }\n\n lumaBuffer.width = canvas.width;\n lumaBuffer.height = canvas.height; // lumaBufferCtx.filter = `url('${url}#__lottie_element_luma_buffer')`; // part of solution 2\n\n lumaBufferCtx.filter = 'url(#' + id + ')';\n return lumaBuffer;\n }\n\n return {\n load: loadLuma,\n get: getLuma\n };\n };\n\n function createCanvas(width, height) {\n if (featureSupport.offscreenCanvas) {\n return new OffscreenCanvas(width, height);\n }\n\n var canvas = createTag('canvas');\n canvas.width = width;\n canvas.height = height;\n return canvas;\n }\n\n var assetLoader = function () {\n return {\n loadLumaCanvas: lumaLoader.load,\n getLumaCanvas: lumaLoader.get,\n createCanvas: createCanvas\n };\n }();\n\n var registeredEffects = {};\n\n function CVEffects(elem) {\n var i;\n var len = elem.data.ef ? elem.data.ef.length : 0;\n this.filters = [];\n var filterManager;\n\n for (i = 0; i < len; i += 1) {\n filterManager = null;\n var type = elem.data.ef[i].ty;\n\n if (registeredEffects[type]) {\n var Effect = registeredEffects[type].effect;\n filterManager = new Effect(elem.effectsManager.effectElements[i], elem);\n }\n\n if (filterManager) {\n this.filters.push(filterManager);\n }\n }\n\n if (this.filters.length) {\n elem.addRenderableComponent(this);\n }\n }\n\n CVEffects.prototype.renderFrame = function (_isFirstFrame) {\n var i;\n var len = this.filters.length;\n\n for (i = 0; i < len; i += 1) {\n this.filters[i].renderFrame(_isFirstFrame);\n }\n };\n\n CVEffects.prototype.getEffects = function (type) {\n var i;\n var len = this.filters.length;\n var effects = [];\n\n for (i = 0; i < len; i += 1) {\n if (this.filters[i].type === type) {\n effects.push(this.filters[i]);\n }\n }\n\n return effects;\n };\n\n function registerEffect(id, effect) {\n registeredEffects[id] = {\n effect: effect\n };\n }\n\n function CVMaskElement(data, element) {\n this.data = data;\n this.element = element;\n this.masksProperties = this.data.masksProperties || [];\n this.viewData = createSizedArray(this.masksProperties.length);\n var i;\n var len = this.masksProperties.length;\n var hasMasks = false;\n\n for (i = 0; i < len; i += 1) {\n if (this.masksProperties[i].mode !== 'n') {\n hasMasks = true;\n }\n\n this.viewData[i] = ShapePropertyFactory.getShapeProp(this.element, this.masksProperties[i], 3);\n }\n\n this.hasMasks = hasMasks;\n\n if (hasMasks) {\n this.element.addRenderableComponent(this);\n }\n }\n\n CVMaskElement.prototype.renderFrame = function () {\n if (!this.hasMasks) {\n return;\n }\n\n var transform = this.element.finalTransform.mat;\n var ctx = this.element.canvasContext;\n var i;\n var len = this.masksProperties.length;\n var pt;\n var pts;\n var data;\n ctx.beginPath();\n\n for (i = 0; i < len; i += 1) {\n if (this.masksProperties[i].mode !== 'n') {\n if (this.masksProperties[i].inv) {\n ctx.moveTo(0, 0);\n ctx.lineTo(this.element.globalData.compSize.w, 0);\n ctx.lineTo(this.element.globalData.compSize.w, this.element.globalData.compSize.h);\n ctx.lineTo(0, this.element.globalData.compSize.h);\n ctx.lineTo(0, 0);\n }\n\n data = this.viewData[i].v;\n pt = transform.applyToPointArray(data.v[0][0], data.v[0][1], 0);\n ctx.moveTo(pt[0], pt[1]);\n var j;\n var jLen = data._length;\n\n for (j = 1; j < jLen; j += 1) {\n pts = transform.applyToTriplePoints(data.o[j - 1], data.i[j], data.v[j]);\n ctx.bezierCurveTo(pts[0], pts[1], pts[2], pts[3], pts[4], pts[5]);\n }\n\n pts = transform.applyToTriplePoints(data.o[j - 1], data.i[0], data.v[0]);\n ctx.bezierCurveTo(pts[0], pts[1], pts[2], pts[3], pts[4], pts[5]);\n }\n }\n\n this.element.globalData.renderer.save(true);\n ctx.clip();\n };\n\n CVMaskElement.prototype.getMaskProperty = MaskElement.prototype.getMaskProperty;\n\n CVMaskElement.prototype.destroy = function () {\n this.element = null;\n };\n\n function CVBaseElement() {}\n\n var operationsMap = {\n 1: 'source-in',\n 2: 'source-out',\n 3: 'source-in',\n 4: 'source-out'\n };\n CVBaseElement.prototype = {\n createElements: function createElements() {},\n initRendererElement: function initRendererElement() {},\n createContainerElements: function createContainerElements() {\n // If the layer is masked we will use two buffers to store each different states of the drawing\n // This solution is not ideal for several reason. But unfortunately, because of the recursive\n // nature of the render tree, it's the only simple way to make sure one inner mask doesn't override an outer mask.\n // TODO: try to reduce the size of these buffers to the size of the composition contaning the layer\n // It might be challenging because the layer most likely is transformed in some way\n if (this.data.tt >= 1) {\n this.buffers = [];\n var canvasContext = this.globalData.canvasContext;\n var bufferCanvas = assetLoader.createCanvas(canvasContext.canvas.width, canvasContext.canvas.height);\n this.buffers.push(bufferCanvas);\n var bufferCanvas2 = assetLoader.createCanvas(canvasContext.canvas.width, canvasContext.canvas.height);\n this.buffers.push(bufferCanvas2);\n\n if (this.data.tt >= 3 && !document._isProxy) {\n assetLoader.loadLumaCanvas();\n }\n }\n\n this.canvasContext = this.globalData.canvasContext;\n this.transformCanvas = this.globalData.transformCanvas;\n this.renderableEffectsManager = new CVEffects(this);\n this.searchEffectTransforms();\n },\n createContent: function createContent() {},\n setBlendMode: function setBlendMode() {\n var globalData = this.globalData;\n\n if (globalData.blendMode !== this.data.bm) {\n globalData.blendMode = this.data.bm;\n var blendModeValue = getBlendMode(this.data.bm);\n globalData.canvasContext.globalCompositeOperation = blendModeValue;\n }\n },\n createRenderableComponents: function createRenderableComponents() {\n this.maskManager = new CVMaskElement(this.data, this);\n this.transformEffects = this.renderableEffectsManager.getEffects(effectTypes.TRANSFORM_EFFECT);\n },\n hideElement: function hideElement() {\n if (!this.hidden && (!this.isInRange || this.isTransparent)) {\n this.hidden = true;\n }\n },\n showElement: function showElement() {\n if (this.isInRange && !this.isTransparent) {\n this.hidden = false;\n this._isFirstFrame = true;\n this.maskManager._isFirstFrame = true;\n }\n },\n clearCanvas: function clearCanvas(canvasContext) {\n canvasContext.clearRect(this.transformCanvas.tx, this.transformCanvas.ty, this.transformCanvas.w * this.transformCanvas.sx, this.transformCanvas.h * this.transformCanvas.sy);\n },\n prepareLayer: function prepareLayer() {\n if (this.data.tt >= 1) {\n var buffer = this.buffers[0];\n var bufferCtx = buffer.getContext('2d');\n this.clearCanvas(bufferCtx); // on the first buffer we store the current state of the global drawing\n\n bufferCtx.drawImage(this.canvasContext.canvas, 0, 0); // The next four lines are to clear the canvas\n // TODO: Check if there is a way to clear the canvas without resetting the transform\n\n this.currentTransform = this.canvasContext.getTransform();\n this.canvasContext.setTransform(1, 0, 0, 1, 0, 0);\n this.clearCanvas(this.canvasContext);\n this.canvasContext.setTransform(this.currentTransform);\n }\n },\n exitLayer: function exitLayer() {\n if (this.data.tt >= 1) {\n var buffer = this.buffers[1]; // On the second buffer we store the current state of the global drawing\n // that only contains the content of this layer\n // (if it is a composition, it also includes the nested layers)\n\n var bufferCtx = buffer.getContext('2d');\n this.clearCanvas(bufferCtx);\n bufferCtx.drawImage(this.canvasContext.canvas, 0, 0); // We clear the canvas again\n\n this.canvasContext.setTransform(1, 0, 0, 1, 0, 0);\n this.clearCanvas(this.canvasContext);\n this.canvasContext.setTransform(this.currentTransform); // We draw the mask\n\n var mask = this.comp.getElementById('tp' in this.data ? this.data.tp : this.data.ind - 1);\n mask.renderFrame(true); // We draw the second buffer (that contains the content of this layer)\n\n this.canvasContext.setTransform(1, 0, 0, 1, 0, 0); // If the mask is a Luma matte, we need to do two extra painting operations\n // the _isProxy check is to avoid drawing a fake canvas in workers that will throw an error\n\n if (this.data.tt >= 3 && !document._isProxy) {\n // We copy the painted mask to a buffer that has a color matrix filter applied to it\n // that applies the rgb values to the alpha channel\n var lumaBuffer = assetLoader.getLumaCanvas(this.canvasContext.canvas);\n var lumaBufferCtx = lumaBuffer.getContext('2d');\n lumaBufferCtx.drawImage(this.canvasContext.canvas, 0, 0);\n this.clearCanvas(this.canvasContext); // we repaint the context with the mask applied to it\n\n this.canvasContext.drawImage(lumaBuffer, 0, 0);\n }\n\n this.canvasContext.globalCompositeOperation = operationsMap[this.data.tt];\n this.canvasContext.drawImage(buffer, 0, 0); // We finally draw the first buffer (that contains the content of the global drawing)\n // We use destination-over to draw the global drawing below the current layer\n\n this.canvasContext.globalCompositeOperation = 'destination-over';\n this.canvasContext.drawImage(this.buffers[0], 0, 0);\n this.canvasContext.setTransform(this.currentTransform); // We reset the globalCompositeOperation to source-over, the standard type of operation\n\n this.canvasContext.globalCompositeOperation = 'source-over';\n }\n },\n renderFrame: function renderFrame(forceRender) {\n if (this.hidden || this.data.hd) {\n return;\n }\n\n if (this.data.td === 1 && !forceRender) {\n return;\n }\n\n this.renderTransform();\n this.renderRenderable();\n this.renderLocalTransform();\n this.setBlendMode();\n var forceRealStack = this.data.ty === 0;\n this.prepareLayer();\n this.globalData.renderer.save(forceRealStack);\n this.globalData.renderer.ctxTransform(this.finalTransform.localMat.props);\n this.globalData.renderer.ctxOpacity(this.finalTransform.localOpacity);\n this.renderInnerContent();\n this.globalData.renderer.restore(forceRealStack);\n this.exitLayer();\n\n if (this.maskManager.hasMasks) {\n this.globalData.renderer.restore(true);\n }\n\n if (this._isFirstFrame) {\n this._isFirstFrame = false;\n }\n },\n destroy: function destroy() {\n this.canvasContext = null;\n this.data = null;\n this.globalData = null;\n this.maskManager.destroy();\n },\n mHelper: new Matrix()\n };\n CVBaseElement.prototype.hide = CVBaseElement.prototype.hideElement;\n CVBaseElement.prototype.show = CVBaseElement.prototype.showElement;\n\n function CVShapeData(element, data, styles, transformsManager) {\n this.styledShapes = [];\n this.tr = [0, 0, 0, 0, 0, 0];\n var ty = 4;\n\n if (data.ty === 'rc') {\n ty = 5;\n } else if (data.ty === 'el') {\n ty = 6;\n } else if (data.ty === 'sr') {\n ty = 7;\n }\n\n this.sh = ShapePropertyFactory.getShapeProp(element, data, ty, element);\n var i;\n var len = styles.length;\n var styledShape;\n\n for (i = 0; i < len; i += 1) {\n if (!styles[i].closed) {\n styledShape = {\n transforms: transformsManager.addTransformSequence(styles[i].transforms),\n trNodes: []\n };\n this.styledShapes.push(styledShape);\n styles[i].elements.push(styledShape);\n }\n }\n }\n\n CVShapeData.prototype.setAsAnimated = SVGShapeData.prototype.setAsAnimated;\n\n function CVShapeElement(data, globalData, comp) {\n this.shapes = [];\n this.shapesData = data.shapes;\n this.stylesList = [];\n this.itemsData = [];\n this.prevViewData = [];\n this.shapeModifiers = [];\n this.processedElements = [];\n this.transformsManager = new ShapeTransformManager();\n this.initElement(data, globalData, comp);\n }\n\n extendPrototype([BaseElement, TransformElement, CVBaseElement, IShapeElement, HierarchyElement, FrameElement, RenderableElement], CVShapeElement);\n CVShapeElement.prototype.initElement = RenderableDOMElement.prototype.initElement;\n CVShapeElement.prototype.transformHelper = {\n opacity: 1,\n _opMdf: false\n };\n CVShapeElement.prototype.dashResetter = [];\n\n CVShapeElement.prototype.createContent = function () {\n this.searchShapes(this.shapesData, this.itemsData, this.prevViewData, true, []);\n };\n\n CVShapeElement.prototype.createStyleElement = function (data, transforms) {\n var styleElem = {\n data: data,\n type: data.ty,\n preTransforms: this.transformsManager.addTransformSequence(transforms),\n transforms: [],\n elements: [],\n closed: data.hd === true\n };\n var elementData = {};\n\n if (data.ty === 'fl' || data.ty === 'st') {\n elementData.c = PropertyFactory.getProp(this, data.c, 1, 255, this);\n\n if (!elementData.c.k) {\n styleElem.co = 'rgb(' + bmFloor(elementData.c.v[0]) + ',' + bmFloor(elementData.c.v[1]) + ',' + bmFloor(elementData.c.v[2]) + ')';\n }\n } else if (data.ty === 'gf' || data.ty === 'gs') {\n elementData.s = PropertyFactory.getProp(this, data.s, 1, null, this);\n elementData.e = PropertyFactory.getProp(this, data.e, 1, null, this);\n elementData.h = PropertyFactory.getProp(this, data.h || {\n k: 0\n }, 0, 0.01, this);\n elementData.a = PropertyFactory.getProp(this, data.a || {\n k: 0\n }, 0, degToRads, this);\n elementData.g = new GradientProperty(this, data.g, this);\n }\n\n elementData.o = PropertyFactory.getProp(this, data.o, 0, 0.01, this);\n\n if (data.ty === 'st' || data.ty === 'gs') {\n styleElem.lc = lineCapEnum[data.lc || 2];\n styleElem.lj = lineJoinEnum[data.lj || 2];\n\n if (data.lj == 1) {\n // eslint-disable-line eqeqeq\n styleElem.ml = data.ml;\n }\n\n elementData.w = PropertyFactory.getProp(this, data.w, 0, null, this);\n\n if (!elementData.w.k) {\n styleElem.wi = elementData.w.v;\n }\n\n if (data.d) {\n var d = new DashProperty(this, data.d, 'canvas', this);\n elementData.d = d;\n\n if (!elementData.d.k) {\n styleElem.da = elementData.d.dashArray;\n styleElem[\"do\"] = elementData.d.dashoffset[0];\n }\n }\n } else {\n styleElem.r = data.r === 2 ? 'evenodd' : 'nonzero';\n }\n\n this.stylesList.push(styleElem);\n elementData.style = styleElem;\n return elementData;\n };\n\n CVShapeElement.prototype.createGroupElement = function () {\n var elementData = {\n it: [],\n prevViewData: []\n };\n return elementData;\n };\n\n CVShapeElement.prototype.createTransformElement = function (data) {\n var elementData = {\n transform: {\n opacity: 1,\n _opMdf: false,\n key: this.transformsManager.getNewKey(),\n op: PropertyFactory.getProp(this, data.o, 0, 0.01, this),\n mProps: TransformPropertyFactory.getTransformProperty(this, data, this)\n }\n };\n return elementData;\n };\n\n CVShapeElement.prototype.createShapeElement = function (data) {\n var elementData = new CVShapeData(this, data, this.stylesList, this.transformsManager);\n this.shapes.push(elementData);\n this.addShapeToModifiers(elementData);\n return elementData;\n };\n\n CVShapeElement.prototype.reloadShapes = function () {\n this._isFirstFrame = true;\n var i;\n var len = this.itemsData.length;\n\n for (i = 0; i < len; i += 1) {\n this.prevViewData[i] = this.itemsData[i];\n }\n\n this.searchShapes(this.shapesData, this.itemsData, this.prevViewData, true, []);\n len = this.dynamicProperties.length;\n\n for (i = 0; i < len; i += 1) {\n this.dynamicProperties[i].getValue();\n }\n\n this.renderModifiers();\n this.transformsManager.processSequences(this._isFirstFrame);\n };\n\n CVShapeElement.prototype.addTransformToStyleList = function (transform) {\n var i;\n var len = this.stylesList.length;\n\n for (i = 0; i < len; i += 1) {\n if (!this.stylesList[i].closed) {\n this.stylesList[i].transforms.push(transform);\n }\n }\n };\n\n CVShapeElement.prototype.removeTransformFromStyleList = function () {\n var i;\n var len = this.stylesList.length;\n\n for (i = 0; i < len; i += 1) {\n if (!this.stylesList[i].closed) {\n this.stylesList[i].transforms.pop();\n }\n }\n };\n\n CVShapeElement.prototype.closeStyles = function (styles) {\n var i;\n var len = styles.length;\n\n for (i = 0; i < len; i += 1) {\n styles[i].closed = true;\n }\n };\n\n CVShapeElement.prototype.searchShapes = function (arr, itemsData, prevViewData, shouldRender, transforms) {\n var i;\n var len = arr.length - 1;\n var j;\n var jLen;\n var ownStyles = [];\n var ownModifiers = [];\n var processedPos;\n var modifier;\n var currentTransform;\n var ownTransforms = [].concat(transforms);\n\n for (i = len; i >= 0; i -= 1) {\n processedPos = this.searchProcessedElement(arr[i]);\n\n if (!processedPos) {\n arr[i]._shouldRender = shouldRender;\n } else {\n itemsData[i] = prevViewData[processedPos - 1];\n }\n\n if (arr[i].ty === 'fl' || arr[i].ty === 'st' || arr[i].ty === 'gf' || arr[i].ty === 'gs') {\n if (!processedPos) {\n itemsData[i] = this.createStyleElement(arr[i], ownTransforms);\n } else {\n itemsData[i].style.closed = false;\n }\n\n ownStyles.push(itemsData[i].style);\n } else if (arr[i].ty === 'gr') {\n if (!processedPos) {\n itemsData[i] = this.createGroupElement(arr[i]);\n } else {\n jLen = itemsData[i].it.length;\n\n for (j = 0; j < jLen; j += 1) {\n itemsData[i].prevViewData[j] = itemsData[i].it[j];\n }\n }\n\n this.searchShapes(arr[i].it, itemsData[i].it, itemsData[i].prevViewData, shouldRender, ownTransforms);\n } else if (arr[i].ty === 'tr') {\n if (!processedPos) {\n currentTransform = this.createTransformElement(arr[i]);\n itemsData[i] = currentTransform;\n }\n\n ownTransforms.push(itemsData[i]);\n this.addTransformToStyleList(itemsData[i]);\n } else if (arr[i].ty === 'sh' || arr[i].ty === 'rc' || arr[i].ty === 'el' || arr[i].ty === 'sr') {\n if (!processedPos) {\n itemsData[i] = this.createShapeElement(arr[i]);\n }\n } else if (arr[i].ty === 'tm' || arr[i].ty === 'rd' || arr[i].ty === 'pb' || arr[i].ty === 'zz' || arr[i].ty === 'op') {\n if (!processedPos) {\n modifier = ShapeModifiers.getModifier(arr[i].ty);\n modifier.init(this, arr[i]);\n itemsData[i] = modifier;\n this.shapeModifiers.push(modifier);\n } else {\n modifier = itemsData[i];\n modifier.closed = false;\n }\n\n ownModifiers.push(modifier);\n } else if (arr[i].ty === 'rp') {\n if (!processedPos) {\n modifier = ShapeModifiers.getModifier(arr[i].ty);\n itemsData[i] = modifier;\n modifier.init(this, arr, i, itemsData);\n this.shapeModifiers.push(modifier);\n shouldRender = false;\n } else {\n modifier = itemsData[i];\n modifier.closed = true;\n }\n\n ownModifiers.push(modifier);\n }\n\n this.addProcessedElement(arr[i], i + 1);\n }\n\n this.removeTransformFromStyleList();\n this.closeStyles(ownStyles);\n len = ownModifiers.length;\n\n for (i = 0; i < len; i += 1) {\n ownModifiers[i].closed = true;\n }\n };\n\n CVShapeElement.prototype.renderInnerContent = function () {\n this.transformHelper.opacity = 1;\n this.transformHelper._opMdf = false;\n this.renderModifiers();\n this.transformsManager.processSequences(this._isFirstFrame);\n this.renderShape(this.transformHelper, this.shapesData, this.itemsData, true);\n };\n\n CVShapeElement.prototype.renderShapeTransform = function (parentTransform, groupTransform) {\n if (parentTransform._opMdf || groupTransform.op._mdf || this._isFirstFrame) {\n groupTransform.opacity = parentTransform.opacity;\n groupTransform.opacity *= groupTransform.op.v;\n groupTransform._opMdf = true;\n }\n };\n\n CVShapeElement.prototype.drawLayer = function () {\n var i;\n var len = this.stylesList.length;\n var j;\n var jLen;\n var k;\n var kLen;\n var elems;\n var nodes;\n var renderer = this.globalData.renderer;\n var ctx = this.globalData.canvasContext;\n var type;\n var currentStyle;\n\n for (i = 0; i < len; i += 1) {\n currentStyle = this.stylesList[i];\n type = currentStyle.type; // Skipping style when\n // Stroke width equals 0\n // style should not be rendered (extra unused repeaters)\n // current opacity equals 0\n // global opacity equals 0\n\n if (!((type === 'st' || type === 'gs') && currentStyle.wi === 0 || !currentStyle.data._shouldRender || currentStyle.coOp === 0 || this.globalData.currentGlobalAlpha === 0)) {\n renderer.save();\n elems = currentStyle.elements;\n\n if (type === 'st' || type === 'gs') {\n renderer.ctxStrokeStyle(type === 'st' ? currentStyle.co : currentStyle.grd); // ctx.strokeStyle = type === 'st' ? currentStyle.co : currentStyle.grd;\n\n renderer.ctxLineWidth(currentStyle.wi); // ctx.lineWidth = currentStyle.wi;\n\n renderer.ctxLineCap(currentStyle.lc); // ctx.lineCap = currentStyle.lc;\n\n renderer.ctxLineJoin(currentStyle.lj); // ctx.lineJoin = currentStyle.lj;\n\n renderer.ctxMiterLimit(currentStyle.ml || 0); // ctx.miterLimit = currentStyle.ml || 0;\n } else {\n renderer.ctxFillStyle(type === 'fl' ? currentStyle.co : currentStyle.grd); // ctx.fillStyle = type === 'fl' ? currentStyle.co : currentStyle.grd;\n }\n\n renderer.ctxOpacity(currentStyle.coOp);\n\n if (type !== 'st' && type !== 'gs') {\n ctx.beginPath();\n }\n\n renderer.ctxTransform(currentStyle.preTransforms.finalTransform.props);\n jLen = elems.length;\n\n for (j = 0; j < jLen; j += 1) {\n if (type === 'st' || type === 'gs') {\n ctx.beginPath();\n\n if (currentStyle.da) {\n ctx.setLineDash(currentStyle.da);\n ctx.lineDashOffset = currentStyle[\"do\"];\n }\n }\n\n nodes = elems[j].trNodes;\n kLen = nodes.length;\n\n for (k = 0; k < kLen; k += 1) {\n if (nodes[k].t === 'm') {\n ctx.moveTo(nodes[k].p[0], nodes[k].p[1]);\n } else if (nodes[k].t === 'c') {\n ctx.bezierCurveTo(nodes[k].pts[0], nodes[k].pts[1], nodes[k].pts[2], nodes[k].pts[3], nodes[k].pts[4], nodes[k].pts[5]);\n } else {\n ctx.closePath();\n }\n }\n\n if (type === 'st' || type === 'gs') {\n // ctx.stroke();\n renderer.ctxStroke();\n\n if (currentStyle.da) {\n ctx.setLineDash(this.dashResetter);\n }\n }\n }\n\n if (type !== 'st' && type !== 'gs') {\n // ctx.fill(currentStyle.r);\n this.globalData.renderer.ctxFill(currentStyle.r);\n }\n\n renderer.restore();\n }\n }\n };\n\n CVShapeElement.prototype.renderShape = function (parentTransform, items, data, isMain) {\n var i;\n var len = items.length - 1;\n var groupTransform;\n groupTransform = parentTransform;\n\n for (i = len; i >= 0; i -= 1) {\n if (items[i].ty === 'tr') {\n groupTransform = data[i].transform;\n this.renderShapeTransform(parentTransform, groupTransform);\n } else if (items[i].ty === 'sh' || items[i].ty === 'el' || items[i].ty === 'rc' || items[i].ty === 'sr') {\n this.renderPath(items[i], data[i]);\n } else if (items[i].ty === 'fl') {\n this.renderFill(items[i], data[i], groupTransform);\n } else if (items[i].ty === 'st') {\n this.renderStroke(items[i], data[i], groupTransform);\n } else if (items[i].ty === 'gf' || items[i].ty === 'gs') {\n this.renderGradientFill(items[i], data[i], groupTransform);\n } else if (items[i].ty === 'gr') {\n this.renderShape(groupTransform, items[i].it, data[i].it);\n } else if (items[i].ty === 'tm') {//\n }\n }\n\n if (isMain) {\n this.drawLayer();\n }\n };\n\n CVShapeElement.prototype.renderStyledShape = function (styledShape, shape) {\n if (this._isFirstFrame || shape._mdf || styledShape.transforms._mdf) {\n var shapeNodes = styledShape.trNodes;\n var paths = shape.paths;\n var i;\n var len;\n var j;\n var jLen = paths._length;\n shapeNodes.length = 0;\n var groupTransformMat = styledShape.transforms.finalTransform;\n\n for (j = 0; j < jLen; j += 1) {\n var pathNodes = paths.shapes[j];\n\n if (pathNodes && pathNodes.v) {\n len = pathNodes._length;\n\n for (i = 1; i < len; i += 1) {\n if (i === 1) {\n shapeNodes.push({\n t: 'm',\n p: groupTransformMat.applyToPointArray(pathNodes.v[0][0], pathNodes.v[0][1], 0)\n });\n }\n\n shapeNodes.push({\n t: 'c',\n pts: groupTransformMat.applyToTriplePoints(pathNodes.o[i - 1], pathNodes.i[i], pathNodes.v[i])\n });\n }\n\n if (len === 1) {\n shapeNodes.push({\n t: 'm',\n p: groupTransformMat.applyToPointArray(pathNodes.v[0][0], pathNodes.v[0][1], 0)\n });\n }\n\n if (pathNodes.c && len) {\n shapeNodes.push({\n t: 'c',\n pts: groupTransformMat.applyToTriplePoints(pathNodes.o[i - 1], pathNodes.i[0], pathNodes.v[0])\n });\n shapeNodes.push({\n t: 'z'\n });\n }\n }\n }\n\n styledShape.trNodes = shapeNodes;\n }\n };\n\n CVShapeElement.prototype.renderPath = function (pathData, itemData) {\n if (pathData.hd !== true && pathData._shouldRender) {\n var i;\n var len = itemData.styledShapes.length;\n\n for (i = 0; i < len; i += 1) {\n this.renderStyledShape(itemData.styledShapes[i], itemData.sh);\n }\n }\n };\n\n CVShapeElement.prototype.renderFill = function (styleData, itemData, groupTransform) {\n var styleElem = itemData.style;\n\n if (itemData.c._mdf || this._isFirstFrame) {\n styleElem.co = 'rgb(' + bmFloor(itemData.c.v[0]) + ',' + bmFloor(itemData.c.v[1]) + ',' + bmFloor(itemData.c.v[2]) + ')';\n }\n\n if (itemData.o._mdf || groupTransform._opMdf || this._isFirstFrame) {\n styleElem.coOp = itemData.o.v * groupTransform.opacity;\n }\n };\n\n CVShapeElement.prototype.renderGradientFill = function (styleData, itemData, groupTransform) {\n var styleElem = itemData.style;\n var grd;\n\n if (!styleElem.grd || itemData.g._mdf || itemData.s._mdf || itemData.e._mdf || styleData.t !== 1 && (itemData.h._mdf || itemData.a._mdf)) {\n var ctx = this.globalData.canvasContext;\n var pt1 = itemData.s.v;\n var pt2 = itemData.e.v;\n\n if (styleData.t === 1) {\n grd = ctx.createLinearGradient(pt1[0], pt1[1], pt2[0], pt2[1]);\n } else {\n var rad = Math.sqrt(Math.pow(pt1[0] - pt2[0], 2) + Math.pow(pt1[1] - pt2[1], 2));\n var ang = Math.atan2(pt2[1] - pt1[1], pt2[0] - pt1[0]);\n var percent = itemData.h.v;\n\n if (percent >= 1) {\n percent = 0.99;\n } else if (percent <= -1) {\n percent = -0.99;\n }\n\n var dist = rad * percent;\n var x = Math.cos(ang + itemData.a.v) * dist + pt1[0];\n var y = Math.sin(ang + itemData.a.v) * dist + pt1[1];\n grd = ctx.createRadialGradient(x, y, 0, pt1[0], pt1[1], rad);\n }\n\n var i;\n var len = styleData.g.p;\n var cValues = itemData.g.c;\n var opacity = 1;\n\n for (i = 0; i < len; i += 1) {\n if (itemData.g._hasOpacity && itemData.g._collapsable) {\n opacity = itemData.g.o[i * 2 + 1];\n }\n\n grd.addColorStop(cValues[i * 4] / 100, 'rgba(' + cValues[i * 4 + 1] + ',' + cValues[i * 4 + 2] + ',' + cValues[i * 4 + 3] + ',' + opacity + ')');\n }\n\n styleElem.grd = grd;\n }\n\n styleElem.coOp = itemData.o.v * groupTransform.opacity;\n };\n\n CVShapeElement.prototype.renderStroke = function (styleData, itemData, groupTransform) {\n var styleElem = itemData.style;\n var d = itemData.d;\n\n if (d && (d._mdf || this._isFirstFrame)) {\n styleElem.da = d.dashArray;\n styleElem[\"do\"] = d.dashoffset[0];\n }\n\n if (itemData.c._mdf || this._isFirstFrame) {\n styleElem.co = 'rgb(' + bmFloor(itemData.c.v[0]) + ',' + bmFloor(itemData.c.v[1]) + ',' + bmFloor(itemData.c.v[2]) + ')';\n }\n\n if (itemData.o._mdf || groupTransform._opMdf || this._isFirstFrame) {\n styleElem.coOp = itemData.o.v * groupTransform.opacity;\n }\n\n if (itemData.w._mdf || this._isFirstFrame) {\n styleElem.wi = itemData.w.v;\n }\n };\n\n CVShapeElement.prototype.destroy = function () {\n this.shapesData = null;\n this.globalData = null;\n this.canvasContext = null;\n this.stylesList.length = 0;\n this.itemsData.length = 0;\n };\n\n function CVTextElement(data, globalData, comp) {\n this.textSpans = [];\n this.yOffset = 0;\n this.fillColorAnim = false;\n this.strokeColorAnim = false;\n this.strokeWidthAnim = false;\n this.stroke = false;\n this.fill = false;\n this.justifyOffset = 0;\n this.currentRender = null;\n this.renderType = 'canvas';\n this.values = {\n fill: 'rgba(0,0,0,0)',\n stroke: 'rgba(0,0,0,0)',\n sWidth: 0,\n fValue: ''\n };\n this.initElement(data, globalData, comp);\n }\n\n extendPrototype([BaseElement, TransformElement, CVBaseElement, HierarchyElement, FrameElement, RenderableElement, ITextElement], CVTextElement);\n CVTextElement.prototype.tHelper = createTag('canvas').getContext('2d');\n\n CVTextElement.prototype.buildNewText = function () {\n var documentData = this.textProperty.currentData;\n this.renderedLetters = createSizedArray(documentData.l ? documentData.l.length : 0);\n var hasFill = false;\n\n if (documentData.fc) {\n hasFill = true;\n this.values.fill = this.buildColor(documentData.fc);\n } else {\n this.values.fill = 'rgba(0,0,0,0)';\n }\n\n this.fill = hasFill;\n var hasStroke = false;\n\n if (documentData.sc) {\n hasStroke = true;\n this.values.stroke = this.buildColor(documentData.sc);\n this.values.sWidth = documentData.sw;\n }\n\n var fontData = this.globalData.fontManager.getFontByName(documentData.f);\n var i;\n var len;\n var letters = documentData.l;\n var matrixHelper = this.mHelper;\n this.stroke = hasStroke;\n this.values.fValue = documentData.finalSize + 'px ' + this.globalData.fontManager.getFontByName(documentData.f).fFamily;\n len = documentData.finalText.length; // this.tHelper.font = this.values.fValue;\n\n var charData;\n var shapeData;\n var k;\n var kLen;\n var shapes;\n var j;\n var jLen;\n var pathNodes;\n var commands;\n var pathArr;\n var singleShape = this.data.singleShape;\n var trackingOffset = documentData.tr * 0.001 * documentData.finalSize;\n var xPos = 0;\n var yPos = 0;\n var firstLine = true;\n var cnt = 0;\n\n for (i = 0; i < len; i += 1) {\n charData = this.globalData.fontManager.getCharData(documentData.finalText[i], fontData.fStyle, this.globalData.fontManager.getFontByName(documentData.f).fFamily);\n shapeData = charData && charData.data || {};\n matrixHelper.reset();\n\n if (singleShape && letters[i].n) {\n xPos = -trackingOffset;\n yPos += documentData.yOffset;\n yPos += firstLine ? 1 : 0;\n firstLine = false;\n }\n\n shapes = shapeData.shapes ? shapeData.shapes[0].it : [];\n jLen = shapes.length;\n matrixHelper.scale(documentData.finalSize / 100, documentData.finalSize / 100);\n\n if (singleShape) {\n this.applyTextPropertiesToMatrix(documentData, matrixHelper, letters[i].line, xPos, yPos);\n }\n\n commands = createSizedArray(jLen - 1);\n var commandsCounter = 0;\n\n for (j = 0; j < jLen; j += 1) {\n if (shapes[j].ty === 'sh') {\n kLen = shapes[j].ks.k.i.length;\n pathNodes = shapes[j].ks.k;\n pathArr = [];\n\n for (k = 1; k < kLen; k += 1) {\n if (k === 1) {\n pathArr.push(matrixHelper.applyToX(pathNodes.v[0][0], pathNodes.v[0][1], 0), matrixHelper.applyToY(pathNodes.v[0][0], pathNodes.v[0][1], 0));\n }\n\n pathArr.push(matrixHelper.applyToX(pathNodes.o[k - 1][0], pathNodes.o[k - 1][1], 0), matrixHelper.applyToY(pathNodes.o[k - 1][0], pathNodes.o[k - 1][1], 0), matrixHelper.applyToX(pathNodes.i[k][0], pathNodes.i[k][1], 0), matrixHelper.applyToY(pathNodes.i[k][0], pathNodes.i[k][1], 0), matrixHelper.applyToX(pathNodes.v[k][0], pathNodes.v[k][1], 0), matrixHelper.applyToY(pathNodes.v[k][0], pathNodes.v[k][1], 0));\n }\n\n pathArr.push(matrixHelper.applyToX(pathNodes.o[k - 1][0], pathNodes.o[k - 1][1], 0), matrixHelper.applyToY(pathNodes.o[k - 1][0], pathNodes.o[k - 1][1], 0), matrixHelper.applyToX(pathNodes.i[0][0], pathNodes.i[0][1], 0), matrixHelper.applyToY(pathNodes.i[0][0], pathNodes.i[0][1], 0), matrixHelper.applyToX(pathNodes.v[0][0], pathNodes.v[0][1], 0), matrixHelper.applyToY(pathNodes.v[0][0], pathNodes.v[0][1], 0));\n commands[commandsCounter] = pathArr;\n commandsCounter += 1;\n }\n }\n\n if (singleShape) {\n xPos += letters[i].l;\n xPos += trackingOffset;\n }\n\n if (this.textSpans[cnt]) {\n this.textSpans[cnt].elem = commands;\n } else {\n this.textSpans[cnt] = {\n elem: commands\n };\n }\n\n cnt += 1;\n }\n };\n\n CVTextElement.prototype.renderInnerContent = function () {\n this.validateText();\n var ctx = this.canvasContext;\n ctx.font = this.values.fValue;\n this.globalData.renderer.ctxLineCap('butt'); // ctx.lineCap = 'butt';\n\n this.globalData.renderer.ctxLineJoin('miter'); // ctx.lineJoin = 'miter';\n\n this.globalData.renderer.ctxMiterLimit(4); // ctx.miterLimit = 4;\n\n if (!this.data.singleShape) {\n this.textAnimator.getMeasures(this.textProperty.currentData, this.lettersChangedFlag);\n }\n\n var i;\n var len;\n var j;\n var jLen;\n var k;\n var kLen;\n var renderedLetters = this.textAnimator.renderedLetters;\n var letters = this.textProperty.currentData.l;\n len = letters.length;\n var renderedLetter;\n var lastFill = null;\n var lastStroke = null;\n var lastStrokeW = null;\n var commands;\n var pathArr;\n var renderer = this.globalData.renderer;\n\n for (i = 0; i < len; i += 1) {\n if (!letters[i].n) {\n renderedLetter = renderedLetters[i];\n\n if (renderedLetter) {\n renderer.save();\n renderer.ctxTransform(renderedLetter.p);\n renderer.ctxOpacity(renderedLetter.o);\n }\n\n if (this.fill) {\n if (renderedLetter && renderedLetter.fc) {\n if (lastFill !== renderedLetter.fc) {\n renderer.ctxFillStyle(renderedLetter.fc);\n lastFill = renderedLetter.fc; // ctx.fillStyle = renderedLetter.fc;\n }\n } else if (lastFill !== this.values.fill) {\n lastFill = this.values.fill;\n renderer.ctxFillStyle(this.values.fill); // ctx.fillStyle = this.values.fill;\n }\n\n commands = this.textSpans[i].elem;\n jLen = commands.length;\n this.globalData.canvasContext.beginPath();\n\n for (j = 0; j < jLen; j += 1) {\n pathArr = commands[j];\n kLen = pathArr.length;\n this.globalData.canvasContext.moveTo(pathArr[0], pathArr[1]);\n\n for (k = 2; k < kLen; k += 6) {\n this.globalData.canvasContext.bezierCurveTo(pathArr[k], pathArr[k + 1], pathArr[k + 2], pathArr[k + 3], pathArr[k + 4], pathArr[k + 5]);\n }\n }\n\n this.globalData.canvasContext.closePath();\n renderer.ctxFill(); // this.globalData.canvasContext.fill();\n /// ctx.fillText(this.textSpans[i].val,0,0);\n }\n\n if (this.stroke) {\n if (renderedLetter && renderedLetter.sw) {\n if (lastStrokeW !== renderedLetter.sw) {\n lastStrokeW = renderedLetter.sw;\n renderer.ctxLineWidth(renderedLetter.sw); // ctx.lineWidth = renderedLetter.sw;\n }\n } else if (lastStrokeW !== this.values.sWidth) {\n lastStrokeW = this.values.sWidth;\n renderer.ctxLineWidth(this.values.sWidth); // ctx.lineWidth = this.values.sWidth;\n }\n\n if (renderedLetter && renderedLetter.sc) {\n if (lastStroke !== renderedLetter.sc) {\n lastStroke = renderedLetter.sc;\n renderer.ctxStrokeStyle(renderedLetter.sc); // ctx.strokeStyle = renderedLetter.sc;\n }\n } else if (lastStroke !== this.values.stroke) {\n lastStroke = this.values.stroke;\n renderer.ctxStrokeStyle(this.values.stroke); // ctx.strokeStyle = this.values.stroke;\n }\n\n commands = this.textSpans[i].elem;\n jLen = commands.length;\n this.globalData.canvasContext.beginPath();\n\n for (j = 0; j < jLen; j += 1) {\n pathArr = commands[j];\n kLen = pathArr.length;\n this.globalData.canvasContext.moveTo(pathArr[0], pathArr[1]);\n\n for (k = 2; k < kLen; k += 6) {\n this.globalData.canvasContext.bezierCurveTo(pathArr[k], pathArr[k + 1], pathArr[k + 2], pathArr[k + 3], pathArr[k + 4], pathArr[k + 5]);\n }\n }\n\n this.globalData.canvasContext.closePath();\n renderer.ctxStroke(); // this.globalData.canvasContext.stroke();\n /// ctx.strokeText(letters[i].val,0,0);\n }\n\n if (renderedLetter) {\n this.globalData.renderer.restore();\n }\n }\n }\n };\n\n function CVImageElement(data, globalData, comp) {\n this.assetData = globalData.getAssetData(data.refId);\n this.img = globalData.imageLoader.getAsset(this.assetData);\n this.initElement(data, globalData, comp);\n }\n\n extendPrototype([BaseElement, TransformElement, CVBaseElement, HierarchyElement, FrameElement, RenderableElement], CVImageElement);\n CVImageElement.prototype.initElement = SVGShapeElement.prototype.initElement;\n CVImageElement.prototype.prepareFrame = IImageElement.prototype.prepareFrame;\n\n CVImageElement.prototype.createContent = function () {\n if (this.img.width && (this.assetData.w !== this.img.width || this.assetData.h !== this.img.height)) {\n var canvas = createTag('canvas');\n canvas.width = this.assetData.w;\n canvas.height = this.assetData.h;\n var ctx = canvas.getContext('2d');\n var imgW = this.img.width;\n var imgH = this.img.height;\n var imgRel = imgW / imgH;\n var canvasRel = this.assetData.w / this.assetData.h;\n var widthCrop;\n var heightCrop;\n var par = this.assetData.pr || this.globalData.renderConfig.imagePreserveAspectRatio;\n\n if (imgRel > canvasRel && par === 'xMidYMid slice' || imgRel < canvasRel && par !== 'xMidYMid slice') {\n heightCrop = imgH;\n widthCrop = heightCrop * canvasRel;\n } else {\n widthCrop = imgW;\n heightCrop = widthCrop / canvasRel;\n }\n\n ctx.drawImage(this.img, (imgW - widthCrop) / 2, (imgH - heightCrop) / 2, widthCrop, heightCrop, 0, 0, this.assetData.w, this.assetData.h);\n this.img = canvas;\n }\n };\n\n CVImageElement.prototype.renderInnerContent = function () {\n this.canvasContext.drawImage(this.img, 0, 0);\n };\n\n CVImageElement.prototype.destroy = function () {\n this.img = null;\n };\n\n function CVSolidElement(data, globalData, comp) {\n this.initElement(data, globalData, comp);\n }\n\n extendPrototype([BaseElement, TransformElement, CVBaseElement, HierarchyElement, FrameElement, RenderableElement], CVSolidElement);\n CVSolidElement.prototype.initElement = SVGShapeElement.prototype.initElement;\n CVSolidElement.prototype.prepareFrame = IImageElement.prototype.prepareFrame;\n\n CVSolidElement.prototype.renderInnerContent = function () {\n // var ctx = this.canvasContext;\n this.globalData.renderer.ctxFillStyle(this.data.sc); // ctx.fillStyle = this.data.sc;\n\n this.globalData.renderer.ctxFillRect(0, 0, this.data.sw, this.data.sh); // ctx.fillRect(0, 0, this.data.sw, this.data.sh);\n //\n };\n\n function CanvasRendererBase() {}\n\n extendPrototype([BaseRenderer], CanvasRendererBase);\n\n CanvasRendererBase.prototype.createShape = function (data) {\n return new CVShapeElement(data, this.globalData, this);\n };\n\n CanvasRendererBase.prototype.createText = function (data) {\n return new CVTextElement(data, this.globalData, this);\n };\n\n CanvasRendererBase.prototype.createImage = function (data) {\n return new CVImageElement(data, this.globalData, this);\n };\n\n CanvasRendererBase.prototype.createSolid = function (data) {\n return new CVSolidElement(data, this.globalData, this);\n };\n\n CanvasRendererBase.prototype.createNull = SVGRenderer.prototype.createNull;\n\n CanvasRendererBase.prototype.ctxTransform = function (props) {\n if (props[0] === 1 && props[1] === 0 && props[4] === 0 && props[5] === 1 && props[12] === 0 && props[13] === 0) {\n return;\n }\n\n this.canvasContext.transform(props[0], props[1], props[4], props[5], props[12], props[13]);\n };\n\n CanvasRendererBase.prototype.ctxOpacity = function (op) {\n this.canvasContext.globalAlpha *= op < 0 ? 0 : op;\n };\n\n CanvasRendererBase.prototype.ctxFillStyle = function (value) {\n this.canvasContext.fillStyle = value;\n };\n\n CanvasRendererBase.prototype.ctxStrokeStyle = function (value) {\n this.canvasContext.strokeStyle = value;\n };\n\n CanvasRendererBase.prototype.ctxLineWidth = function (value) {\n this.canvasContext.lineWidth = value;\n };\n\n CanvasRendererBase.prototype.ctxLineCap = function (value) {\n this.canvasContext.lineCap = value;\n };\n\n CanvasRendererBase.prototype.ctxLineJoin = function (value) {\n this.canvasContext.lineJoin = value;\n };\n\n CanvasRendererBase.prototype.ctxMiterLimit = function (value) {\n this.canvasContext.miterLimit = value;\n };\n\n CanvasRendererBase.prototype.ctxFill = function (rule) {\n this.canvasContext.fill(rule);\n };\n\n CanvasRendererBase.prototype.ctxFillRect = function (x, y, w, h) {\n this.canvasContext.fillRect(x, y, w, h);\n };\n\n CanvasRendererBase.prototype.ctxStroke = function () {\n this.canvasContext.stroke();\n };\n\n CanvasRendererBase.prototype.reset = function () {\n if (!this.renderConfig.clearCanvas) {\n this.canvasContext.restore();\n return;\n }\n\n this.contextData.reset();\n };\n\n CanvasRendererBase.prototype.save = function () {\n this.canvasContext.save();\n };\n\n CanvasRendererBase.prototype.restore = function (actionFlag) {\n if (!this.renderConfig.clearCanvas) {\n this.canvasContext.restore();\n return;\n }\n\n if (actionFlag) {\n this.globalData.blendMode = 'source-over';\n }\n\n this.contextData.restore(actionFlag);\n };\n\n CanvasRendererBase.prototype.configAnimation = function (animData) {\n if (this.animationItem.wrapper) {\n this.animationItem.container = createTag('canvas');\n var containerStyle = this.animationItem.container.style;\n containerStyle.width = '100%';\n containerStyle.height = '100%';\n var origin = '0px 0px 0px';\n containerStyle.transformOrigin = origin;\n containerStyle.mozTransformOrigin = origin;\n containerStyle.webkitTransformOrigin = origin;\n containerStyle['-webkit-transform'] = origin;\n containerStyle.contentVisibility = this.renderConfig.contentVisibility;\n this.animationItem.wrapper.appendChild(this.animationItem.container);\n this.canvasContext = this.animationItem.container.getContext('2d');\n\n if (this.renderConfig.className) {\n this.animationItem.container.setAttribute('class', this.renderConfig.className);\n }\n\n if (this.renderConfig.id) {\n this.animationItem.container.setAttribute('id', this.renderConfig.id);\n }\n } else {\n this.canvasContext = this.renderConfig.context;\n }\n\n this.contextData.setContext(this.canvasContext);\n this.data = animData;\n this.layers = animData.layers;\n this.transformCanvas = {\n w: animData.w,\n h: animData.h,\n sx: 0,\n sy: 0,\n tx: 0,\n ty: 0\n };\n this.setupGlobalData(animData, document.body);\n this.globalData.canvasContext = this.canvasContext;\n this.globalData.renderer = this;\n this.globalData.isDashed = false;\n this.globalData.progressiveLoad = this.renderConfig.progressiveLoad;\n this.globalData.transformCanvas = this.transformCanvas;\n this.elements = createSizedArray(animData.layers.length);\n this.updateContainerSize();\n };\n\n CanvasRendererBase.prototype.updateContainerSize = function (width, height) {\n this.reset();\n var elementWidth;\n var elementHeight;\n\n if (width) {\n elementWidth = width;\n elementHeight = height;\n this.canvasContext.canvas.width = elementWidth;\n this.canvasContext.canvas.height = elementHeight;\n } else {\n if (this.animationItem.wrapper && this.animationItem.container) {\n elementWidth = this.animationItem.wrapper.offsetWidth;\n elementHeight = this.animationItem.wrapper.offsetHeight;\n } else {\n elementWidth = this.canvasContext.canvas.width;\n elementHeight = this.canvasContext.canvas.height;\n }\n\n this.canvasContext.canvas.width = elementWidth * this.renderConfig.dpr;\n this.canvasContext.canvas.height = elementHeight * this.renderConfig.dpr;\n }\n\n var elementRel;\n var animationRel;\n\n if (this.renderConfig.preserveAspectRatio.indexOf('meet') !== -1 || this.renderConfig.preserveAspectRatio.indexOf('slice') !== -1) {\n var par = this.renderConfig.preserveAspectRatio.split(' ');\n var fillType = par[1] || 'meet';\n var pos = par[0] || 'xMidYMid';\n var xPos = pos.substr(0, 4);\n var yPos = pos.substr(4);\n elementRel = elementWidth / elementHeight;\n animationRel = this.transformCanvas.w / this.transformCanvas.h;\n\n if (animationRel > elementRel && fillType === 'meet' || animationRel < elementRel && fillType === 'slice') {\n this.transformCanvas.sx = elementWidth / (this.transformCanvas.w / this.renderConfig.dpr);\n this.transformCanvas.sy = elementWidth / (this.transformCanvas.w / this.renderConfig.dpr);\n } else {\n this.transformCanvas.sx = elementHeight / (this.transformCanvas.h / this.renderConfig.dpr);\n this.transformCanvas.sy = elementHeight / (this.transformCanvas.h / this.renderConfig.dpr);\n }\n\n if (xPos === 'xMid' && (animationRel < elementRel && fillType === 'meet' || animationRel > elementRel && fillType === 'slice')) {\n this.transformCanvas.tx = (elementWidth - this.transformCanvas.w * (elementHeight / this.transformCanvas.h)) / 2 * this.renderConfig.dpr;\n } else if (xPos === 'xMax' && (animationRel < elementRel && fillType === 'meet' || animationRel > elementRel && fillType === 'slice')) {\n this.transformCanvas.tx = (elementWidth - this.transformCanvas.w * (elementHeight / this.transformCanvas.h)) * this.renderConfig.dpr;\n } else {\n this.transformCanvas.tx = 0;\n }\n\n if (yPos === 'YMid' && (animationRel > elementRel && fillType === 'meet' || animationRel < elementRel && fillType === 'slice')) {\n this.transformCanvas.ty = (elementHeight - this.transformCanvas.h * (elementWidth / this.transformCanvas.w)) / 2 * this.renderConfig.dpr;\n } else if (yPos === 'YMax' && (animationRel > elementRel && fillType === 'meet' || animationRel < elementRel && fillType === 'slice')) {\n this.transformCanvas.ty = (elementHeight - this.transformCanvas.h * (elementWidth / this.transformCanvas.w)) * this.renderConfig.dpr;\n } else {\n this.transformCanvas.ty = 0;\n }\n } else if (this.renderConfig.preserveAspectRatio === 'none') {\n this.transformCanvas.sx = elementWidth / (this.transformCanvas.w / this.renderConfig.dpr);\n this.transformCanvas.sy = elementHeight / (this.transformCanvas.h / this.renderConfig.dpr);\n this.transformCanvas.tx = 0;\n this.transformCanvas.ty = 0;\n } else {\n this.transformCanvas.sx = this.renderConfig.dpr;\n this.transformCanvas.sy = this.renderConfig.dpr;\n this.transformCanvas.tx = 0;\n this.transformCanvas.ty = 0;\n }\n\n this.transformCanvas.props = [this.transformCanvas.sx, 0, 0, 0, 0, this.transformCanvas.sy, 0, 0, 0, 0, 1, 0, this.transformCanvas.tx, this.transformCanvas.ty, 0, 1];\n /* var i, len = this.elements.length;\r\n for(i=0;i= 0; i -= 1) {\n if (this.elements[i] && this.elements[i].destroy) {\n this.elements[i].destroy();\n }\n }\n\n this.elements.length = 0;\n this.globalData.canvasContext = null;\n this.animationItem.container = null;\n this.destroyed = true;\n };\n\n CanvasRendererBase.prototype.renderFrame = function (num, forceRender) {\n if (this.renderedFrame === num && this.renderConfig.clearCanvas === true && !forceRender || this.destroyed || num === -1) {\n return;\n }\n\n this.renderedFrame = num;\n this.globalData.frameNum = num - this.animationItem._isFirstFrame;\n this.globalData.frameId += 1;\n this.globalData._mdf = !this.renderConfig.clearCanvas || forceRender;\n this.globalData.projectInterface.currentFrame = num; // console.log('--------');\n // console.log('NEW: ',num);\n\n var i;\n var len = this.layers.length;\n\n if (!this.completeLayers) {\n this.checkLayers(num);\n }\n\n for (i = len - 1; i >= 0; i -= 1) {\n if (this.completeLayers || this.elements[i]) {\n this.elements[i].prepareFrame(num - this.layers[i].st);\n }\n }\n\n if (this.globalData._mdf) {\n if (this.renderConfig.clearCanvas === true) {\n this.canvasContext.clearRect(0, 0, this.transformCanvas.w, this.transformCanvas.h);\n } else {\n this.save();\n }\n\n for (i = len - 1; i >= 0; i -= 1) {\n if (this.completeLayers || this.elements[i]) {\n this.elements[i].renderFrame();\n }\n }\n\n if (this.renderConfig.clearCanvas !== true) {\n this.restore();\n }\n }\n };\n\n CanvasRendererBase.prototype.buildItem = function (pos) {\n var elements = this.elements;\n\n if (elements[pos] || this.layers[pos].ty === 99) {\n return;\n }\n\n var element = this.createItem(this.layers[pos], this, this.globalData);\n elements[pos] = element;\n element.initExpressions();\n /* if(this.layers[pos].ty === 0){\r\n element.resize(this.globalData.transformCanvas);\r\n } */\n };\n\n CanvasRendererBase.prototype.checkPendingElements = function () {\n while (this.pendingElements.length) {\n var element = this.pendingElements.pop();\n element.checkParenting();\n }\n };\n\n CanvasRendererBase.prototype.hide = function () {\n this.animationItem.container.style.display = 'none';\n };\n\n CanvasRendererBase.prototype.show = function () {\n this.animationItem.container.style.display = 'block';\n };\n\n function CanvasContext() {\n this.opacity = -1;\n this.transform = createTypedArray('float32', 16);\n this.fillStyle = '';\n this.strokeStyle = '';\n this.lineWidth = '';\n this.lineCap = '';\n this.lineJoin = '';\n this.miterLimit = '';\n this.id = Math.random();\n }\n\n function CVContextData() {\n this.stack = [];\n this.cArrPos = 0;\n this.cTr = new Matrix();\n var i;\n var len = 15;\n\n for (i = 0; i < len; i += 1) {\n var canvasContext = new CanvasContext();\n this.stack[i] = canvasContext;\n }\n\n this._length = len;\n this.nativeContext = null;\n this.transformMat = new Matrix();\n this.currentOpacity = 1; //\n\n this.currentFillStyle = '';\n this.appliedFillStyle = ''; //\n\n this.currentStrokeStyle = '';\n this.appliedStrokeStyle = ''; //\n\n this.currentLineWidth = '';\n this.appliedLineWidth = ''; //\n\n this.currentLineCap = '';\n this.appliedLineCap = ''; //\n\n this.currentLineJoin = '';\n this.appliedLineJoin = ''; //\n\n this.appliedMiterLimit = '';\n this.currentMiterLimit = '';\n }\n\n CVContextData.prototype.duplicate = function () {\n var newLength = this._length * 2;\n var i = 0;\n\n for (i = this._length; i < newLength; i += 1) {\n this.stack[i] = new CanvasContext();\n }\n\n this._length = newLength;\n };\n\n CVContextData.prototype.reset = function () {\n this.cArrPos = 0;\n this.cTr.reset();\n this.stack[this.cArrPos].opacity = 1;\n };\n\n CVContextData.prototype.restore = function (forceRestore) {\n this.cArrPos -= 1;\n var currentContext = this.stack[this.cArrPos];\n var transform = currentContext.transform;\n var i;\n var arr = this.cTr.props;\n\n for (i = 0; i < 16; i += 1) {\n arr[i] = transform[i];\n }\n\n if (forceRestore) {\n this.nativeContext.restore();\n var prevStack = this.stack[this.cArrPos + 1];\n this.appliedFillStyle = prevStack.fillStyle;\n this.appliedStrokeStyle = prevStack.strokeStyle;\n this.appliedLineWidth = prevStack.lineWidth;\n this.appliedLineCap = prevStack.lineCap;\n this.appliedLineJoin = prevStack.lineJoin;\n this.appliedMiterLimit = prevStack.miterLimit;\n }\n\n this.nativeContext.setTransform(transform[0], transform[1], transform[4], transform[5], transform[12], transform[13]);\n\n if (forceRestore || currentContext.opacity !== -1 && this.currentOpacity !== currentContext.opacity) {\n this.nativeContext.globalAlpha = currentContext.opacity;\n this.currentOpacity = currentContext.opacity;\n }\n\n this.currentFillStyle = currentContext.fillStyle;\n this.currentStrokeStyle = currentContext.strokeStyle;\n this.currentLineWidth = currentContext.lineWidth;\n this.currentLineCap = currentContext.lineCap;\n this.currentLineJoin = currentContext.lineJoin;\n this.currentMiterLimit = currentContext.miterLimit;\n };\n\n CVContextData.prototype.save = function (saveOnNativeFlag) {\n if (saveOnNativeFlag) {\n this.nativeContext.save();\n }\n\n var props = this.cTr.props;\n\n if (this._length <= this.cArrPos) {\n this.duplicate();\n }\n\n var currentStack = this.stack[this.cArrPos];\n var i;\n\n for (i = 0; i < 16; i += 1) {\n currentStack.transform[i] = props[i];\n }\n\n this.cArrPos += 1;\n var newStack = this.stack[this.cArrPos];\n newStack.opacity = currentStack.opacity;\n newStack.fillStyle = currentStack.fillStyle;\n newStack.strokeStyle = currentStack.strokeStyle;\n newStack.lineWidth = currentStack.lineWidth;\n newStack.lineCap = currentStack.lineCap;\n newStack.lineJoin = currentStack.lineJoin;\n newStack.miterLimit = currentStack.miterLimit;\n };\n\n CVContextData.prototype.setOpacity = function (value) {\n this.stack[this.cArrPos].opacity = value;\n };\n\n CVContextData.prototype.setContext = function (value) {\n this.nativeContext = value;\n };\n\n CVContextData.prototype.fillStyle = function (value) {\n if (this.stack[this.cArrPos].fillStyle !== value) {\n this.currentFillStyle = value;\n this.stack[this.cArrPos].fillStyle = value;\n }\n };\n\n CVContextData.prototype.strokeStyle = function (value) {\n if (this.stack[this.cArrPos].strokeStyle !== value) {\n this.currentStrokeStyle = value;\n this.stack[this.cArrPos].strokeStyle = value;\n }\n };\n\n CVContextData.prototype.lineWidth = function (value) {\n if (this.stack[this.cArrPos].lineWidth !== value) {\n this.currentLineWidth = value;\n this.stack[this.cArrPos].lineWidth = value;\n }\n };\n\n CVContextData.prototype.lineCap = function (value) {\n if (this.stack[this.cArrPos].lineCap !== value) {\n this.currentLineCap = value;\n this.stack[this.cArrPos].lineCap = value;\n }\n };\n\n CVContextData.prototype.lineJoin = function (value) {\n if (this.stack[this.cArrPos].lineJoin !== value) {\n this.currentLineJoin = value;\n this.stack[this.cArrPos].lineJoin = value;\n }\n };\n\n CVContextData.prototype.miterLimit = function (value) {\n if (this.stack[this.cArrPos].miterLimit !== value) {\n this.currentMiterLimit = value;\n this.stack[this.cArrPos].miterLimit = value;\n }\n };\n\n CVContextData.prototype.transform = function (props) {\n this.transformMat.cloneFromProps(props); // Taking the last transform value from the stored stack of transforms\n\n var currentTransform = this.cTr; // Applying the last transform value after the new transform to respect the order of transformations\n\n this.transformMat.multiply(currentTransform); // Storing the new transformed value in the stored transform\n\n currentTransform.cloneFromProps(this.transformMat.props);\n var trProps = currentTransform.props; // Applying the new transform to the canvas\n\n this.nativeContext.setTransform(trProps[0], trProps[1], trProps[4], trProps[5], trProps[12], trProps[13]);\n };\n\n CVContextData.prototype.opacity = function (op) {\n var currentOpacity = this.stack[this.cArrPos].opacity;\n currentOpacity *= op < 0 ? 0 : op;\n\n if (this.stack[this.cArrPos].opacity !== currentOpacity) {\n if (this.currentOpacity !== op) {\n this.nativeContext.globalAlpha = op;\n this.currentOpacity = op;\n }\n\n this.stack[this.cArrPos].opacity = currentOpacity;\n }\n };\n\n CVContextData.prototype.fill = function (rule) {\n if (this.appliedFillStyle !== this.currentFillStyle) {\n this.appliedFillStyle = this.currentFillStyle;\n this.nativeContext.fillStyle = this.appliedFillStyle;\n }\n\n this.nativeContext.fill(rule);\n };\n\n CVContextData.prototype.fillRect = function (x, y, w, h) {\n if (this.appliedFillStyle !== this.currentFillStyle) {\n this.appliedFillStyle = this.currentFillStyle;\n this.nativeContext.fillStyle = this.appliedFillStyle;\n }\n\n this.nativeContext.fillRect(x, y, w, h);\n };\n\n CVContextData.prototype.stroke = function () {\n if (this.appliedStrokeStyle !== this.currentStrokeStyle) {\n this.appliedStrokeStyle = this.currentStrokeStyle;\n this.nativeContext.strokeStyle = this.appliedStrokeStyle;\n }\n\n if (this.appliedLineWidth !== this.currentLineWidth) {\n this.appliedLineWidth = this.currentLineWidth;\n this.nativeContext.lineWidth = this.appliedLineWidth;\n }\n\n if (this.appliedLineCap !== this.currentLineCap) {\n this.appliedLineCap = this.currentLineCap;\n this.nativeContext.lineCap = this.appliedLineCap;\n }\n\n if (this.appliedLineJoin !== this.currentLineJoin) {\n this.appliedLineJoin = this.currentLineJoin;\n this.nativeContext.lineJoin = this.appliedLineJoin;\n }\n\n if (this.appliedMiterLimit !== this.currentMiterLimit) {\n this.appliedMiterLimit = this.currentMiterLimit;\n this.nativeContext.miterLimit = this.appliedMiterLimit;\n }\n\n this.nativeContext.stroke();\n };\n\n function CVCompElement(data, globalData, comp) {\n this.completeLayers = false;\n this.layers = data.layers;\n this.pendingElements = [];\n this.elements = createSizedArray(this.layers.length);\n this.initElement(data, globalData, comp);\n this.tm = data.tm ? PropertyFactory.getProp(this, data.tm, 0, globalData.frameRate, this) : {\n _placeholder: true\n };\n }\n\n extendPrototype([CanvasRendererBase, ICompElement, CVBaseElement], CVCompElement);\n\n CVCompElement.prototype.renderInnerContent = function () {\n var ctx = this.canvasContext;\n ctx.beginPath();\n ctx.moveTo(0, 0);\n ctx.lineTo(this.data.w, 0);\n ctx.lineTo(this.data.w, this.data.h);\n ctx.lineTo(0, this.data.h);\n ctx.lineTo(0, 0);\n ctx.clip();\n var i;\n var len = this.layers.length;\n\n for (i = len - 1; i >= 0; i -= 1) {\n if (this.completeLayers || this.elements[i]) {\n this.elements[i].renderFrame();\n }\n }\n };\n\n CVCompElement.prototype.destroy = function () {\n var i;\n var len = this.layers.length;\n\n for (i = len - 1; i >= 0; i -= 1) {\n if (this.elements[i]) {\n this.elements[i].destroy();\n }\n }\n\n this.layers = null;\n this.elements = null;\n };\n\n CVCompElement.prototype.createComp = function (data) {\n return new CVCompElement(data, this.globalData, this);\n };\n\n function CanvasRenderer(animationItem, config) {\n this.animationItem = animationItem;\n this.renderConfig = {\n clearCanvas: config && config.clearCanvas !== undefined ? config.clearCanvas : true,\n context: config && config.context || null,\n progressiveLoad: config && config.progressiveLoad || false,\n preserveAspectRatio: config && config.preserveAspectRatio || 'xMidYMid meet',\n imagePreserveAspectRatio: config && config.imagePreserveAspectRatio || 'xMidYMid slice',\n contentVisibility: config && config.contentVisibility || 'visible',\n className: config && config.className || '',\n id: config && config.id || '',\n runExpressions: !config || config.runExpressions === undefined || config.runExpressions\n };\n this.renderConfig.dpr = config && config.dpr || 1;\n\n if (this.animationItem.wrapper) {\n this.renderConfig.dpr = config && config.dpr || window.devicePixelRatio || 1;\n }\n\n this.renderedFrame = -1;\n this.globalData = {\n frameNum: -1,\n _mdf: false,\n renderConfig: this.renderConfig,\n currentGlobalAlpha: -1\n };\n this.contextData = new CVContextData();\n this.elements = [];\n this.pendingElements = [];\n this.transformMat = new Matrix();\n this.completeLayers = false;\n this.rendererType = 'canvas';\n\n if (this.renderConfig.clearCanvas) {\n this.ctxTransform = this.contextData.transform.bind(this.contextData);\n this.ctxOpacity = this.contextData.opacity.bind(this.contextData);\n this.ctxFillStyle = this.contextData.fillStyle.bind(this.contextData);\n this.ctxStrokeStyle = this.contextData.strokeStyle.bind(this.contextData);\n this.ctxLineWidth = this.contextData.lineWidth.bind(this.contextData);\n this.ctxLineCap = this.contextData.lineCap.bind(this.contextData);\n this.ctxLineJoin = this.contextData.lineJoin.bind(this.contextData);\n this.ctxMiterLimit = this.contextData.miterLimit.bind(this.contextData);\n this.ctxFill = this.contextData.fill.bind(this.contextData);\n this.ctxFillRect = this.contextData.fillRect.bind(this.contextData);\n this.ctxStroke = this.contextData.stroke.bind(this.contextData);\n this.save = this.contextData.save.bind(this.contextData);\n }\n }\n\n extendPrototype([CanvasRendererBase], CanvasRenderer);\n\n CanvasRenderer.prototype.createComp = function (data) {\n return new CVCompElement(data, this.globalData, this);\n };\n\n function HBaseElement() {}\n\n HBaseElement.prototype = {\n checkBlendMode: function checkBlendMode() {},\n initRendererElement: function initRendererElement() {\n this.baseElement = createTag(this.data.tg || 'div');\n\n if (this.data.hasMask) {\n this.svgElement = createNS('svg');\n this.layerElement = createNS('g');\n this.maskedElement = this.layerElement;\n this.svgElement.appendChild(this.layerElement);\n this.baseElement.appendChild(this.svgElement);\n } else {\n this.layerElement = this.baseElement;\n }\n\n styleDiv(this.baseElement);\n },\n createContainerElements: function createContainerElements() {\n this.renderableEffectsManager = new CVEffects(this);\n this.transformedElement = this.baseElement;\n this.maskedElement = this.layerElement;\n\n if (this.data.ln) {\n this.layerElement.setAttribute('id', this.data.ln);\n }\n\n if (this.data.cl) {\n this.layerElement.setAttribute('class', this.data.cl);\n }\n\n if (this.data.bm !== 0) {\n this.setBlendMode();\n }\n },\n renderElement: function renderElement() {\n var transformedElementStyle = this.transformedElement ? this.transformedElement.style : {};\n\n if (this.finalTransform._matMdf) {\n var matrixValue = this.finalTransform.mat.toCSS();\n transformedElementStyle.transform = matrixValue;\n transformedElementStyle.webkitTransform = matrixValue;\n }\n\n if (this.finalTransform._opMdf) {\n transformedElementStyle.opacity = this.finalTransform.mProp.o.v;\n }\n },\n renderFrame: function renderFrame() {\n // If it is exported as hidden (data.hd === true) no need to render\n // If it is not visible no need to render\n if (this.data.hd || this.hidden) {\n return;\n }\n\n this.renderTransform();\n this.renderRenderable();\n this.renderElement();\n this.renderInnerContent();\n\n if (this._isFirstFrame) {\n this._isFirstFrame = false;\n }\n },\n destroy: function destroy() {\n this.layerElement = null;\n this.transformedElement = null;\n\n if (this.matteElement) {\n this.matteElement = null;\n }\n\n if (this.maskManager) {\n this.maskManager.destroy();\n this.maskManager = null;\n }\n },\n createRenderableComponents: function createRenderableComponents() {\n this.maskManager = new MaskElement(this.data, this, this.globalData);\n },\n addEffects: function addEffects() {},\n setMatte: function setMatte() {}\n };\n HBaseElement.prototype.getBaseElement = SVGBaseElement.prototype.getBaseElement;\n HBaseElement.prototype.destroyBaseElement = HBaseElement.prototype.destroy;\n HBaseElement.prototype.buildElementParenting = BaseRenderer.prototype.buildElementParenting;\n\n function HSolidElement(data, globalData, comp) {\n this.initElement(data, globalData, comp);\n }\n\n extendPrototype([BaseElement, TransformElement, HBaseElement, HierarchyElement, FrameElement, RenderableDOMElement], HSolidElement);\n\n HSolidElement.prototype.createContent = function () {\n var rect;\n\n if (this.data.hasMask) {\n rect = createNS('rect');\n rect.setAttribute('width', this.data.sw);\n rect.setAttribute('height', this.data.sh);\n rect.setAttribute('fill', this.data.sc);\n this.svgElement.setAttribute('width', this.data.sw);\n this.svgElement.setAttribute('height', this.data.sh);\n } else {\n rect = createTag('div');\n rect.style.width = this.data.sw + 'px';\n rect.style.height = this.data.sh + 'px';\n rect.style.backgroundColor = this.data.sc;\n }\n\n this.layerElement.appendChild(rect);\n };\n\n function HShapeElement(data, globalData, comp) {\n // List of drawable elements\n this.shapes = []; // Full shape data\n\n this.shapesData = data.shapes; // List of styles that will be applied to shapes\n\n this.stylesList = []; // List of modifiers that will be applied to shapes\n\n this.shapeModifiers = []; // List of items in shape tree\n\n this.itemsData = []; // List of items in previous shape tree\n\n this.processedElements = []; // List of animated components\n\n this.animatedContents = [];\n this.shapesContainer = createNS('g');\n this.initElement(data, globalData, comp); // Moving any property that doesn't get too much access after initialization because of v8 way of handling more than 10 properties.\n // List of elements that have been created\n\n this.prevViewData = [];\n this.currentBBox = {\n x: 999999,\n y: -999999,\n h: 0,\n w: 0\n };\n }\n\n extendPrototype([BaseElement, TransformElement, HSolidElement, SVGShapeElement, HBaseElement, HierarchyElement, FrameElement, RenderableElement], HShapeElement);\n HShapeElement.prototype._renderShapeFrame = HShapeElement.prototype.renderInnerContent;\n\n HShapeElement.prototype.createContent = function () {\n var cont;\n this.baseElement.style.fontSize = 0;\n\n if (this.data.hasMask) {\n this.layerElement.appendChild(this.shapesContainer);\n cont = this.svgElement;\n } else {\n cont = createNS('svg');\n var size = this.comp.data ? this.comp.data : this.globalData.compSize;\n cont.setAttribute('width', size.w);\n cont.setAttribute('height', size.h);\n cont.appendChild(this.shapesContainer);\n this.layerElement.appendChild(cont);\n }\n\n this.searchShapes(this.shapesData, this.itemsData, this.prevViewData, this.shapesContainer, 0, [], true);\n this.filterUniqueShapes();\n this.shapeCont = cont;\n };\n\n HShapeElement.prototype.getTransformedPoint = function (transformers, point) {\n var i;\n var len = transformers.length;\n\n for (i = 0; i < len; i += 1) {\n point = transformers[i].mProps.v.applyToPointArray(point[0], point[1], 0);\n }\n\n return point;\n };\n\n HShapeElement.prototype.calculateShapeBoundingBox = function (item, boundingBox) {\n var shape = item.sh.v;\n var transformers = item.transformers;\n var i;\n var len = shape._length;\n var vPoint;\n var oPoint;\n var nextIPoint;\n var nextVPoint;\n\n if (len <= 1) {\n return;\n }\n\n for (i = 0; i < len - 1; i += 1) {\n vPoint = this.getTransformedPoint(transformers, shape.v[i]);\n oPoint = this.getTransformedPoint(transformers, shape.o[i]);\n nextIPoint = this.getTransformedPoint(transformers, shape.i[i + 1]);\n nextVPoint = this.getTransformedPoint(transformers, shape.v[i + 1]);\n this.checkBounds(vPoint, oPoint, nextIPoint, nextVPoint, boundingBox);\n }\n\n if (shape.c) {\n vPoint = this.getTransformedPoint(transformers, shape.v[i]);\n oPoint = this.getTransformedPoint(transformers, shape.o[i]);\n nextIPoint = this.getTransformedPoint(transformers, shape.i[0]);\n nextVPoint = this.getTransformedPoint(transformers, shape.v[0]);\n this.checkBounds(vPoint, oPoint, nextIPoint, nextVPoint, boundingBox);\n }\n };\n\n HShapeElement.prototype.checkBounds = function (vPoint, oPoint, nextIPoint, nextVPoint, boundingBox) {\n this.getBoundsOfCurve(vPoint, oPoint, nextIPoint, nextVPoint);\n var bounds = this.shapeBoundingBox;\n boundingBox.x = bmMin(bounds.left, boundingBox.x);\n boundingBox.xMax = bmMax(bounds.right, boundingBox.xMax);\n boundingBox.y = bmMin(bounds.top, boundingBox.y);\n boundingBox.yMax = bmMax(bounds.bottom, boundingBox.yMax);\n };\n\n HShapeElement.prototype.shapeBoundingBox = {\n left: 0,\n right: 0,\n top: 0,\n bottom: 0\n };\n HShapeElement.prototype.tempBoundingBox = {\n x: 0,\n xMax: 0,\n y: 0,\n yMax: 0,\n width: 0,\n height: 0\n };\n\n HShapeElement.prototype.getBoundsOfCurve = function (p0, p1, p2, p3) {\n var bounds = [[p0[0], p3[0]], [p0[1], p3[1]]];\n\n for (var a, b, c, t, b2ac, t1, t2, i = 0; i < 2; ++i) {\n // eslint-disable-line no-plusplus\n b = 6 * p0[i] - 12 * p1[i] + 6 * p2[i];\n a = -3 * p0[i] + 9 * p1[i] - 9 * p2[i] + 3 * p3[i];\n c = 3 * p1[i] - 3 * p0[i];\n b |= 0; // eslint-disable-line no-bitwise\n\n a |= 0; // eslint-disable-line no-bitwise\n\n c |= 0; // eslint-disable-line no-bitwise\n\n if (a === 0 && b === 0) {//\n } else if (a === 0) {\n t = -c / b;\n\n if (t > 0 && t < 1) {\n bounds[i].push(this.calculateF(t, p0, p1, p2, p3, i));\n }\n } else {\n b2ac = b * b - 4 * c * a;\n\n if (b2ac >= 0) {\n t1 = (-b + bmSqrt(b2ac)) / (2 * a);\n if (t1 > 0 && t1 < 1) bounds[i].push(this.calculateF(t1, p0, p1, p2, p3, i));\n t2 = (-b - bmSqrt(b2ac)) / (2 * a);\n if (t2 > 0 && t2 < 1) bounds[i].push(this.calculateF(t2, p0, p1, p2, p3, i));\n }\n }\n }\n\n this.shapeBoundingBox.left = bmMin.apply(null, bounds[0]);\n this.shapeBoundingBox.top = bmMin.apply(null, bounds[1]);\n this.shapeBoundingBox.right = bmMax.apply(null, bounds[0]);\n this.shapeBoundingBox.bottom = bmMax.apply(null, bounds[1]);\n };\n\n HShapeElement.prototype.calculateF = function (t, p0, p1, p2, p3, i) {\n return bmPow(1 - t, 3) * p0[i] + 3 * bmPow(1 - t, 2) * t * p1[i] + 3 * (1 - t) * bmPow(t, 2) * p2[i] + bmPow(t, 3) * p3[i];\n };\n\n HShapeElement.prototype.calculateBoundingBox = function (itemsData, boundingBox) {\n var i;\n var len = itemsData.length;\n\n for (i = 0; i < len; i += 1) {\n if (itemsData[i] && itemsData[i].sh) {\n this.calculateShapeBoundingBox(itemsData[i], boundingBox);\n } else if (itemsData[i] && itemsData[i].it) {\n this.calculateBoundingBox(itemsData[i].it, boundingBox);\n } else if (itemsData[i] && itemsData[i].style && itemsData[i].w) {\n this.expandStrokeBoundingBox(itemsData[i].w, boundingBox);\n }\n }\n };\n\n HShapeElement.prototype.expandStrokeBoundingBox = function (widthProperty, boundingBox) {\n var width = 0;\n\n if (widthProperty.keyframes) {\n for (var i = 0; i < widthProperty.keyframes.length; i += 1) {\n var kfw = widthProperty.keyframes[i].s;\n\n if (kfw > width) {\n width = kfw;\n }\n }\n\n width *= widthProperty.mult;\n } else {\n width = widthProperty.v * widthProperty.mult;\n }\n\n boundingBox.x -= width;\n boundingBox.xMax += width;\n boundingBox.y -= width;\n boundingBox.yMax += width;\n };\n\n HShapeElement.prototype.currentBoxContains = function (box) {\n return this.currentBBox.x <= box.x && this.currentBBox.y <= box.y && this.currentBBox.width + this.currentBBox.x >= box.x + box.width && this.currentBBox.height + this.currentBBox.y >= box.y + box.height;\n };\n\n HShapeElement.prototype.renderInnerContent = function () {\n this._renderShapeFrame();\n\n if (!this.hidden && (this._isFirstFrame || this._mdf)) {\n var tempBoundingBox = this.tempBoundingBox;\n var max = 999999;\n tempBoundingBox.x = max;\n tempBoundingBox.xMax = -max;\n tempBoundingBox.y = max;\n tempBoundingBox.yMax = -max;\n this.calculateBoundingBox(this.itemsData, tempBoundingBox);\n tempBoundingBox.width = tempBoundingBox.xMax < tempBoundingBox.x ? 0 : tempBoundingBox.xMax - tempBoundingBox.x;\n tempBoundingBox.height = tempBoundingBox.yMax < tempBoundingBox.y ? 0 : tempBoundingBox.yMax - tempBoundingBox.y; // var tempBoundingBox = this.shapeCont.getBBox();\n\n if (this.currentBoxContains(tempBoundingBox)) {\n return;\n }\n\n var changed = false;\n\n if (this.currentBBox.w !== tempBoundingBox.width) {\n this.currentBBox.w = tempBoundingBox.width;\n this.shapeCont.setAttribute('width', tempBoundingBox.width);\n changed = true;\n }\n\n if (this.currentBBox.h !== tempBoundingBox.height) {\n this.currentBBox.h = tempBoundingBox.height;\n this.shapeCont.setAttribute('height', tempBoundingBox.height);\n changed = true;\n }\n\n if (changed || this.currentBBox.x !== tempBoundingBox.x || this.currentBBox.y !== tempBoundingBox.y) {\n this.currentBBox.w = tempBoundingBox.width;\n this.currentBBox.h = tempBoundingBox.height;\n this.currentBBox.x = tempBoundingBox.x;\n this.currentBBox.y = tempBoundingBox.y;\n this.shapeCont.setAttribute('viewBox', this.currentBBox.x + ' ' + this.currentBBox.y + ' ' + this.currentBBox.w + ' ' + this.currentBBox.h);\n var shapeStyle = this.shapeCont.style;\n var shapeTransform = 'translate(' + this.currentBBox.x + 'px,' + this.currentBBox.y + 'px)';\n shapeStyle.transform = shapeTransform;\n shapeStyle.webkitTransform = shapeTransform;\n }\n }\n };\n\n function HTextElement(data, globalData, comp) {\n this.textSpans = [];\n this.textPaths = [];\n this.currentBBox = {\n x: 999999,\n y: -999999,\n h: 0,\n w: 0\n };\n this.renderType = 'svg';\n this.isMasked = false;\n this.initElement(data, globalData, comp);\n }\n\n extendPrototype([BaseElement, TransformElement, HBaseElement, HierarchyElement, FrameElement, RenderableDOMElement, ITextElement], HTextElement);\n\n HTextElement.prototype.createContent = function () {\n this.isMasked = this.checkMasks();\n\n if (this.isMasked) {\n this.renderType = 'svg';\n this.compW = this.comp.data.w;\n this.compH = this.comp.data.h;\n this.svgElement.setAttribute('width', this.compW);\n this.svgElement.setAttribute('height', this.compH);\n var g = createNS('g');\n this.maskedElement.appendChild(g);\n this.innerElem = g;\n } else {\n this.renderType = 'html';\n this.innerElem = this.layerElement;\n }\n\n this.checkParenting();\n };\n\n HTextElement.prototype.buildNewText = function () {\n var documentData = this.textProperty.currentData;\n this.renderedLetters = createSizedArray(documentData.l ? documentData.l.length : 0);\n var innerElemStyle = this.innerElem.style;\n var textColor = documentData.fc ? this.buildColor(documentData.fc) : 'rgba(0,0,0,0)';\n innerElemStyle.fill = textColor;\n innerElemStyle.color = textColor;\n\n if (documentData.sc) {\n innerElemStyle.stroke = this.buildColor(documentData.sc);\n innerElemStyle.strokeWidth = documentData.sw + 'px';\n }\n\n var fontData = this.globalData.fontManager.getFontByName(documentData.f);\n\n if (!this.globalData.fontManager.chars) {\n innerElemStyle.fontSize = documentData.finalSize + 'px';\n innerElemStyle.lineHeight = documentData.finalSize + 'px';\n\n if (fontData.fClass) {\n this.innerElem.className = fontData.fClass;\n } else {\n innerElemStyle.fontFamily = fontData.fFamily;\n var fWeight = documentData.fWeight;\n var fStyle = documentData.fStyle;\n innerElemStyle.fontStyle = fStyle;\n innerElemStyle.fontWeight = fWeight;\n }\n }\n\n var i;\n var len;\n var letters = documentData.l;\n len = letters.length;\n var tSpan;\n var tParent;\n var tCont;\n var matrixHelper = this.mHelper;\n var shapes;\n var shapeStr = '';\n var cnt = 0;\n\n for (i = 0; i < len; i += 1) {\n if (this.globalData.fontManager.chars) {\n if (!this.textPaths[cnt]) {\n tSpan = createNS('path');\n tSpan.setAttribute('stroke-linecap', lineCapEnum[1]);\n tSpan.setAttribute('stroke-linejoin', lineJoinEnum[2]);\n tSpan.setAttribute('stroke-miterlimit', '4');\n } else {\n tSpan = this.textPaths[cnt];\n }\n\n if (!this.isMasked) {\n if (this.textSpans[cnt]) {\n tParent = this.textSpans[cnt];\n tCont = tParent.children[0];\n } else {\n tParent = createTag('div');\n tParent.style.lineHeight = 0;\n tCont = createNS('svg');\n tCont.appendChild(tSpan);\n styleDiv(tParent);\n }\n }\n } else if (!this.isMasked) {\n if (this.textSpans[cnt]) {\n tParent = this.textSpans[cnt];\n tSpan = this.textPaths[cnt];\n } else {\n tParent = createTag('span');\n styleDiv(tParent);\n tSpan = createTag('span');\n styleDiv(tSpan);\n tParent.appendChild(tSpan);\n }\n } else {\n tSpan = this.textPaths[cnt] ? this.textPaths[cnt] : createNS('text');\n } // tSpan.setAttribute('visibility', 'hidden');\n\n\n if (this.globalData.fontManager.chars) {\n var charData = this.globalData.fontManager.getCharData(documentData.finalText[i], fontData.fStyle, this.globalData.fontManager.getFontByName(documentData.f).fFamily);\n var shapeData;\n\n if (charData) {\n shapeData = charData.data;\n } else {\n shapeData = null;\n }\n\n matrixHelper.reset();\n\n if (shapeData && shapeData.shapes && shapeData.shapes.length) {\n shapes = shapeData.shapes[0].it;\n matrixHelper.scale(documentData.finalSize / 100, documentData.finalSize / 100);\n shapeStr = this.createPathShape(matrixHelper, shapes);\n tSpan.setAttribute('d', shapeStr);\n }\n\n if (!this.isMasked) {\n this.innerElem.appendChild(tParent);\n\n if (shapeData && shapeData.shapes) {\n // document.body.appendChild is needed to get exact measure of shape\n document.body.appendChild(tCont);\n var boundingBox = tCont.getBBox();\n tCont.setAttribute('width', boundingBox.width + 2);\n tCont.setAttribute('height', boundingBox.height + 2);\n tCont.setAttribute('viewBox', boundingBox.x - 1 + ' ' + (boundingBox.y - 1) + ' ' + (boundingBox.width + 2) + ' ' + (boundingBox.height + 2));\n var tContStyle = tCont.style;\n var tContTranslation = 'translate(' + (boundingBox.x - 1) + 'px,' + (boundingBox.y - 1) + 'px)';\n tContStyle.transform = tContTranslation;\n tContStyle.webkitTransform = tContTranslation;\n letters[i].yOffset = boundingBox.y - 1;\n } else {\n tCont.setAttribute('width', 1);\n tCont.setAttribute('height', 1);\n }\n\n tParent.appendChild(tCont);\n } else {\n this.innerElem.appendChild(tSpan);\n }\n } else {\n tSpan.textContent = letters[i].val;\n tSpan.setAttributeNS('http://www.w3.org/XML/1998/namespace', 'xml:space', 'preserve');\n\n if (!this.isMasked) {\n this.innerElem.appendChild(tParent); //\n\n var tStyle = tSpan.style;\n var tSpanTranslation = 'translate3d(0,' + -documentData.finalSize / 1.2 + 'px,0)';\n tStyle.transform = tSpanTranslation;\n tStyle.webkitTransform = tSpanTranslation;\n } else {\n this.innerElem.appendChild(tSpan);\n }\n } //\n\n\n if (!this.isMasked) {\n this.textSpans[cnt] = tParent;\n } else {\n this.textSpans[cnt] = tSpan;\n }\n\n this.textSpans[cnt].style.display = 'block';\n this.textPaths[cnt] = tSpan;\n cnt += 1;\n }\n\n while (cnt < this.textSpans.length) {\n this.textSpans[cnt].style.display = 'none';\n cnt += 1;\n }\n };\n\n HTextElement.prototype.renderInnerContent = function () {\n this.validateText();\n var svgStyle;\n\n if (this.data.singleShape) {\n if (!this._isFirstFrame && !this.lettersChangedFlag) {\n return;\n }\n\n if (this.isMasked && this.finalTransform._matMdf) {\n // Todo Benchmark if using this is better than getBBox\n this.svgElement.setAttribute('viewBox', -this.finalTransform.mProp.p.v[0] + ' ' + -this.finalTransform.mProp.p.v[1] + ' ' + this.compW + ' ' + this.compH);\n svgStyle = this.svgElement.style;\n var translation = 'translate(' + -this.finalTransform.mProp.p.v[0] + 'px,' + -this.finalTransform.mProp.p.v[1] + 'px)';\n svgStyle.transform = translation;\n svgStyle.webkitTransform = translation;\n }\n }\n\n this.textAnimator.getMeasures(this.textProperty.currentData, this.lettersChangedFlag);\n\n if (!this.lettersChangedFlag && !this.textAnimator.lettersChangedFlag) {\n return;\n }\n\n var i;\n var len;\n var count = 0;\n var renderedLetters = this.textAnimator.renderedLetters;\n var letters = this.textProperty.currentData.l;\n len = letters.length;\n var renderedLetter;\n var textSpan;\n var textPath;\n\n for (i = 0; i < len; i += 1) {\n if (letters[i].n) {\n count += 1;\n } else {\n textSpan = this.textSpans[i];\n textPath = this.textPaths[i];\n renderedLetter = renderedLetters[count];\n count += 1;\n\n if (renderedLetter._mdf.m) {\n if (!this.isMasked) {\n textSpan.style.webkitTransform = renderedLetter.m;\n textSpan.style.transform = renderedLetter.m;\n } else {\n textSpan.setAttribute('transform', renderedLetter.m);\n }\n } /// /textSpan.setAttribute('opacity',renderedLetter.o);\n\n\n textSpan.style.opacity = renderedLetter.o;\n\n if (renderedLetter.sw && renderedLetter._mdf.sw) {\n textPath.setAttribute('stroke-width', renderedLetter.sw);\n }\n\n if (renderedLetter.sc && renderedLetter._mdf.sc) {\n textPath.setAttribute('stroke', renderedLetter.sc);\n }\n\n if (renderedLetter.fc && renderedLetter._mdf.fc) {\n textPath.setAttribute('fill', renderedLetter.fc);\n textPath.style.color = renderedLetter.fc;\n }\n }\n }\n\n if (this.innerElem.getBBox && !this.hidden && (this._isFirstFrame || this._mdf)) {\n var boundingBox = this.innerElem.getBBox();\n\n if (this.currentBBox.w !== boundingBox.width) {\n this.currentBBox.w = boundingBox.width;\n this.svgElement.setAttribute('width', boundingBox.width);\n }\n\n if (this.currentBBox.h !== boundingBox.height) {\n this.currentBBox.h = boundingBox.height;\n this.svgElement.setAttribute('height', boundingBox.height);\n }\n\n var margin = 1;\n\n if (this.currentBBox.w !== boundingBox.width + margin * 2 || this.currentBBox.h !== boundingBox.height + margin * 2 || this.currentBBox.x !== boundingBox.x - margin || this.currentBBox.y !== boundingBox.y - margin) {\n this.currentBBox.w = boundingBox.width + margin * 2;\n this.currentBBox.h = boundingBox.height + margin * 2;\n this.currentBBox.x = boundingBox.x - margin;\n this.currentBBox.y = boundingBox.y - margin;\n this.svgElement.setAttribute('viewBox', this.currentBBox.x + ' ' + this.currentBBox.y + ' ' + this.currentBBox.w + ' ' + this.currentBBox.h);\n svgStyle = this.svgElement.style;\n var svgTransform = 'translate(' + this.currentBBox.x + 'px,' + this.currentBBox.y + 'px)';\n svgStyle.transform = svgTransform;\n svgStyle.webkitTransform = svgTransform;\n }\n }\n };\n\n function HCameraElement(data, globalData, comp) {\n this.initFrame();\n this.initBaseData(data, globalData, comp);\n this.initHierarchy();\n var getProp = PropertyFactory.getProp;\n this.pe = getProp(this, data.pe, 0, 0, this);\n\n if (data.ks.p.s) {\n this.px = getProp(this, data.ks.p.x, 1, 0, this);\n this.py = getProp(this, data.ks.p.y, 1, 0, this);\n this.pz = getProp(this, data.ks.p.z, 1, 0, this);\n } else {\n this.p = getProp(this, data.ks.p, 1, 0, this);\n }\n\n if (data.ks.a) {\n this.a = getProp(this, data.ks.a, 1, 0, this);\n }\n\n if (data.ks.or.k.length && data.ks.or.k[0].to) {\n var i;\n var len = data.ks.or.k.length;\n\n for (i = 0; i < len; i += 1) {\n data.ks.or.k[i].to = null;\n data.ks.or.k[i].ti = null;\n }\n }\n\n this.or = getProp(this, data.ks.or, 1, degToRads, this);\n this.or.sh = true;\n this.rx = getProp(this, data.ks.rx, 0, degToRads, this);\n this.ry = getProp(this, data.ks.ry, 0, degToRads, this);\n this.rz = getProp(this, data.ks.rz, 0, degToRads, this);\n this.mat = new Matrix();\n this._prevMat = new Matrix();\n this._isFirstFrame = true; // TODO: find a better way to make the HCamera element to be compatible with the LayerInterface and TransformInterface.\n\n this.finalTransform = {\n mProp: this\n };\n }\n\n extendPrototype([BaseElement, FrameElement, HierarchyElement], HCameraElement);\n\n HCameraElement.prototype.setup = function () {\n var i;\n var len = this.comp.threeDElements.length;\n var comp;\n var perspectiveStyle;\n var containerStyle;\n\n for (i = 0; i < len; i += 1) {\n // [perspectiveElem,container]\n comp = this.comp.threeDElements[i];\n\n if (comp.type === '3d') {\n perspectiveStyle = comp.perspectiveElem.style;\n containerStyle = comp.container.style;\n var perspective = this.pe.v + 'px';\n var origin = '0px 0px 0px';\n var matrix = 'matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)';\n perspectiveStyle.perspective = perspective;\n perspectiveStyle.webkitPerspective = perspective;\n containerStyle.transformOrigin = origin;\n containerStyle.mozTransformOrigin = origin;\n containerStyle.webkitTransformOrigin = origin;\n perspectiveStyle.transform = matrix;\n perspectiveStyle.webkitTransform = matrix;\n }\n }\n };\n\n HCameraElement.prototype.createElements = function () {};\n\n HCameraElement.prototype.hide = function () {};\n\n HCameraElement.prototype.renderFrame = function () {\n var _mdf = this._isFirstFrame;\n var i;\n var len;\n\n if (this.hierarchy) {\n len = this.hierarchy.length;\n\n for (i = 0; i < len; i += 1) {\n _mdf = this.hierarchy[i].finalTransform.mProp._mdf || _mdf;\n }\n }\n\n if (_mdf || this.pe._mdf || this.p && this.p._mdf || this.px && (this.px._mdf || this.py._mdf || this.pz._mdf) || this.rx._mdf || this.ry._mdf || this.rz._mdf || this.or._mdf || this.a && this.a._mdf) {\n this.mat.reset();\n\n if (this.hierarchy) {\n len = this.hierarchy.length - 1;\n\n for (i = len; i >= 0; i -= 1) {\n var mTransf = this.hierarchy[i].finalTransform.mProp;\n this.mat.translate(-mTransf.p.v[0], -mTransf.p.v[1], mTransf.p.v[2]);\n this.mat.rotateX(-mTransf.or.v[0]).rotateY(-mTransf.or.v[1]).rotateZ(mTransf.or.v[2]);\n this.mat.rotateX(-mTransf.rx.v).rotateY(-mTransf.ry.v).rotateZ(mTransf.rz.v);\n this.mat.scale(1 / mTransf.s.v[0], 1 / mTransf.s.v[1], 1 / mTransf.s.v[2]);\n this.mat.translate(mTransf.a.v[0], mTransf.a.v[1], mTransf.a.v[2]);\n }\n }\n\n if (this.p) {\n this.mat.translate(-this.p.v[0], -this.p.v[1], this.p.v[2]);\n } else {\n this.mat.translate(-this.px.v, -this.py.v, this.pz.v);\n }\n\n if (this.a) {\n var diffVector;\n\n if (this.p) {\n diffVector = [this.p.v[0] - this.a.v[0], this.p.v[1] - this.a.v[1], this.p.v[2] - this.a.v[2]];\n } else {\n diffVector = [this.px.v - this.a.v[0], this.py.v - this.a.v[1], this.pz.v - this.a.v[2]];\n }\n\n var mag = Math.sqrt(Math.pow(diffVector[0], 2) + Math.pow(diffVector[1], 2) + Math.pow(diffVector[2], 2)); // var lookDir = getNormalizedPoint(getDiffVector(this.a.v,this.p.v));\n\n var lookDir = [diffVector[0] / mag, diffVector[1] / mag, diffVector[2] / mag];\n var lookLengthOnXZ = Math.sqrt(lookDir[2] * lookDir[2] + lookDir[0] * lookDir[0]);\n var mRotationX = Math.atan2(lookDir[1], lookLengthOnXZ);\n var mRotationY = Math.atan2(lookDir[0], -lookDir[2]);\n this.mat.rotateY(mRotationY).rotateX(-mRotationX);\n }\n\n this.mat.rotateX(-this.rx.v).rotateY(-this.ry.v).rotateZ(this.rz.v);\n this.mat.rotateX(-this.or.v[0]).rotateY(-this.or.v[1]).rotateZ(this.or.v[2]);\n this.mat.translate(this.globalData.compSize.w / 2, this.globalData.compSize.h / 2, 0);\n this.mat.translate(0, 0, this.pe.v);\n var hasMatrixChanged = !this._prevMat.equals(this.mat);\n\n if ((hasMatrixChanged || this.pe._mdf) && this.comp.threeDElements) {\n len = this.comp.threeDElements.length;\n var comp;\n var perspectiveStyle;\n var containerStyle;\n\n for (i = 0; i < len; i += 1) {\n comp = this.comp.threeDElements[i];\n\n if (comp.type === '3d') {\n if (hasMatrixChanged) {\n var matValue = this.mat.toCSS();\n containerStyle = comp.container.style;\n containerStyle.transform = matValue;\n containerStyle.webkitTransform = matValue;\n }\n\n if (this.pe._mdf) {\n perspectiveStyle = comp.perspectiveElem.style;\n perspectiveStyle.perspective = this.pe.v + 'px';\n perspectiveStyle.webkitPerspective = this.pe.v + 'px';\n }\n }\n }\n\n this.mat.clone(this._prevMat);\n }\n }\n\n this._isFirstFrame = false;\n };\n\n HCameraElement.prototype.prepareFrame = function (num) {\n this.prepareProperties(num, true);\n };\n\n HCameraElement.prototype.destroy = function () {};\n\n HCameraElement.prototype.getBaseElement = function () {\n return null;\n };\n\n function HImageElement(data, globalData, comp) {\n this.assetData = globalData.getAssetData(data.refId);\n this.initElement(data, globalData, comp);\n }\n\n extendPrototype([BaseElement, TransformElement, HBaseElement, HSolidElement, HierarchyElement, FrameElement, RenderableElement], HImageElement);\n\n HImageElement.prototype.createContent = function () {\n var assetPath = this.globalData.getAssetsPath(this.assetData);\n var img = new Image();\n\n if (this.data.hasMask) {\n this.imageElem = createNS('image');\n this.imageElem.setAttribute('width', this.assetData.w + 'px');\n this.imageElem.setAttribute('height', this.assetData.h + 'px');\n this.imageElem.setAttributeNS('http://www.w3.org/1999/xlink', 'href', assetPath);\n this.layerElement.appendChild(this.imageElem);\n this.baseElement.setAttribute('width', this.assetData.w);\n this.baseElement.setAttribute('height', this.assetData.h);\n } else {\n this.layerElement.appendChild(img);\n }\n\n img.crossOrigin = 'anonymous';\n img.src = assetPath;\n\n if (this.data.ln) {\n this.baseElement.setAttribute('id', this.data.ln);\n }\n };\n\n function HybridRendererBase(animationItem, config) {\n this.animationItem = animationItem;\n this.layers = null;\n this.renderedFrame = -1;\n this.renderConfig = {\n className: config && config.className || '',\n imagePreserveAspectRatio: config && config.imagePreserveAspectRatio || 'xMidYMid slice',\n hideOnTransparent: !(config && config.hideOnTransparent === false),\n filterSize: {\n width: config && config.filterSize && config.filterSize.width || '400%',\n height: config && config.filterSize && config.filterSize.height || '400%',\n x: config && config.filterSize && config.filterSize.x || '-100%',\n y: config && config.filterSize && config.filterSize.y || '-100%'\n }\n };\n this.globalData = {\n _mdf: false,\n frameNum: -1,\n renderConfig: this.renderConfig\n };\n this.pendingElements = [];\n this.elements = [];\n this.threeDElements = [];\n this.destroyed = false;\n this.camera = null;\n this.supports3d = true;\n this.rendererType = 'html';\n }\n\n extendPrototype([BaseRenderer], HybridRendererBase);\n HybridRendererBase.prototype.buildItem = SVGRenderer.prototype.buildItem;\n\n HybridRendererBase.prototype.checkPendingElements = function () {\n while (this.pendingElements.length) {\n var element = this.pendingElements.pop();\n element.checkParenting();\n }\n };\n\n HybridRendererBase.prototype.appendElementInPos = function (element, pos) {\n var newDOMElement = element.getBaseElement();\n\n if (!newDOMElement) {\n return;\n }\n\n var layer = this.layers[pos];\n\n if (!layer.ddd || !this.supports3d) {\n if (this.threeDElements) {\n this.addTo3dContainer(newDOMElement, pos);\n } else {\n var i = 0;\n var nextDOMElement;\n var nextLayer;\n var tmpDOMElement;\n\n while (i < pos) {\n if (this.elements[i] && this.elements[i] !== true && this.elements[i].getBaseElement) {\n nextLayer = this.elements[i];\n tmpDOMElement = this.layers[i].ddd ? this.getThreeDContainerByPos(i) : nextLayer.getBaseElement();\n nextDOMElement = tmpDOMElement || nextDOMElement;\n }\n\n i += 1;\n }\n\n if (nextDOMElement) {\n if (!layer.ddd || !this.supports3d) {\n this.layerElement.insertBefore(newDOMElement, nextDOMElement);\n }\n } else if (!layer.ddd || !this.supports3d) {\n this.layerElement.appendChild(newDOMElement);\n }\n }\n } else {\n this.addTo3dContainer(newDOMElement, pos);\n }\n };\n\n HybridRendererBase.prototype.createShape = function (data) {\n if (!this.supports3d) {\n return new SVGShapeElement(data, this.globalData, this);\n }\n\n return new HShapeElement(data, this.globalData, this);\n };\n\n HybridRendererBase.prototype.createText = function (data) {\n if (!this.supports3d) {\n return new SVGTextLottieElement(data, this.globalData, this);\n }\n\n return new HTextElement(data, this.globalData, this);\n };\n\n HybridRendererBase.prototype.createCamera = function (data) {\n this.camera = new HCameraElement(data, this.globalData, this);\n return this.camera;\n };\n\n HybridRendererBase.prototype.createImage = function (data) {\n if (!this.supports3d) {\n return new IImageElement(data, this.globalData, this);\n }\n\n return new HImageElement(data, this.globalData, this);\n };\n\n HybridRendererBase.prototype.createSolid = function (data) {\n if (!this.supports3d) {\n return new ISolidElement(data, this.globalData, this);\n }\n\n return new HSolidElement(data, this.globalData, this);\n };\n\n HybridRendererBase.prototype.createNull = SVGRenderer.prototype.createNull;\n\n HybridRendererBase.prototype.getThreeDContainerByPos = function (pos) {\n var i = 0;\n var len = this.threeDElements.length;\n\n while (i < len) {\n if (this.threeDElements[i].startPos <= pos && this.threeDElements[i].endPos >= pos) {\n return this.threeDElements[i].perspectiveElem;\n }\n\n i += 1;\n }\n\n return null;\n };\n\n HybridRendererBase.prototype.createThreeDContainer = function (pos, type) {\n var perspectiveElem = createTag('div');\n var style;\n var containerStyle;\n styleDiv(perspectiveElem);\n var container = createTag('div');\n styleDiv(container);\n\n if (type === '3d') {\n style = perspectiveElem.style;\n style.width = this.globalData.compSize.w + 'px';\n style.height = this.globalData.compSize.h + 'px';\n var center = '50% 50%';\n style.webkitTransformOrigin = center;\n style.mozTransformOrigin = center;\n style.transformOrigin = center;\n containerStyle = container.style;\n var matrix = 'matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)';\n containerStyle.transform = matrix;\n containerStyle.webkitTransform = matrix;\n }\n\n perspectiveElem.appendChild(container); // this.resizerElem.appendChild(perspectiveElem);\n\n var threeDContainerData = {\n container: container,\n perspectiveElem: perspectiveElem,\n startPos: pos,\n endPos: pos,\n type: type\n };\n this.threeDElements.push(threeDContainerData);\n return threeDContainerData;\n };\n\n HybridRendererBase.prototype.build3dContainers = function () {\n var i;\n var len = this.layers.length;\n var lastThreeDContainerData;\n var currentContainer = '';\n\n for (i = 0; i < len; i += 1) {\n if (this.layers[i].ddd && this.layers[i].ty !== 3) {\n if (currentContainer !== '3d') {\n currentContainer = '3d';\n lastThreeDContainerData = this.createThreeDContainer(i, '3d');\n }\n\n lastThreeDContainerData.endPos = Math.max(lastThreeDContainerData.endPos, i);\n } else {\n if (currentContainer !== '2d') {\n currentContainer = '2d';\n lastThreeDContainerData = this.createThreeDContainer(i, '2d');\n }\n\n lastThreeDContainerData.endPos = Math.max(lastThreeDContainerData.endPos, i);\n }\n }\n\n len = this.threeDElements.length;\n\n for (i = len - 1; i >= 0; i -= 1) {\n this.resizerElem.appendChild(this.threeDElements[i].perspectiveElem);\n }\n };\n\n HybridRendererBase.prototype.addTo3dContainer = function (elem, pos) {\n var i = 0;\n var len = this.threeDElements.length;\n\n while (i < len) {\n if (pos <= this.threeDElements[i].endPos) {\n var j = this.threeDElements[i].startPos;\n var nextElement;\n\n while (j < pos) {\n if (this.elements[j] && this.elements[j].getBaseElement) {\n nextElement = this.elements[j].getBaseElement();\n }\n\n j += 1;\n }\n\n if (nextElement) {\n this.threeDElements[i].container.insertBefore(elem, nextElement);\n } else {\n this.threeDElements[i].container.appendChild(elem);\n }\n\n break;\n }\n\n i += 1;\n }\n };\n\n HybridRendererBase.prototype.configAnimation = function (animData) {\n var resizerElem = createTag('div');\n var wrapper = this.animationItem.wrapper;\n var style = resizerElem.style;\n style.width = animData.w + 'px';\n style.height = animData.h + 'px';\n this.resizerElem = resizerElem;\n styleDiv(resizerElem);\n style.transformStyle = 'flat';\n style.mozTransformStyle = 'flat';\n style.webkitTransformStyle = 'flat';\n\n if (this.renderConfig.className) {\n resizerElem.setAttribute('class', this.renderConfig.className);\n }\n\n wrapper.appendChild(resizerElem);\n style.overflow = 'hidden';\n var svg = createNS('svg');\n svg.setAttribute('width', '1');\n svg.setAttribute('height', '1');\n styleDiv(svg);\n this.resizerElem.appendChild(svg);\n var defs = createNS('defs');\n svg.appendChild(defs);\n this.data = animData; // Mask animation\n\n this.setupGlobalData(animData, svg);\n this.globalData.defs = defs;\n this.layers = animData.layers;\n this.layerElement = this.resizerElem;\n this.build3dContainers();\n this.updateContainerSize();\n };\n\n HybridRendererBase.prototype.destroy = function () {\n if (this.animationItem.wrapper) {\n this.animationItem.wrapper.innerText = '';\n }\n\n this.animationItem.container = null;\n this.globalData.defs = null;\n var i;\n var len = this.layers ? this.layers.length : 0;\n\n for (i = 0; i < len; i += 1) {\n if (this.elements[i] && this.elements[i].destroy) {\n this.elements[i].destroy();\n }\n }\n\n this.elements.length = 0;\n this.destroyed = true;\n this.animationItem = null;\n };\n\n HybridRendererBase.prototype.updateContainerSize = function () {\n var elementWidth = this.animationItem.wrapper.offsetWidth;\n var elementHeight = this.animationItem.wrapper.offsetHeight;\n var elementRel = elementWidth / elementHeight;\n var animationRel = this.globalData.compSize.w / this.globalData.compSize.h;\n var sx;\n var sy;\n var tx;\n var ty;\n\n if (animationRel > elementRel) {\n sx = elementWidth / this.globalData.compSize.w;\n sy = elementWidth / this.globalData.compSize.w;\n tx = 0;\n ty = (elementHeight - this.globalData.compSize.h * (elementWidth / this.globalData.compSize.w)) / 2;\n } else {\n sx = elementHeight / this.globalData.compSize.h;\n sy = elementHeight / this.globalData.compSize.h;\n tx = (elementWidth - this.globalData.compSize.w * (elementHeight / this.globalData.compSize.h)) / 2;\n ty = 0;\n }\n\n var style = this.resizerElem.style;\n style.webkitTransform = 'matrix3d(' + sx + ',0,0,0,0,' + sy + ',0,0,0,0,1,0,' + tx + ',' + ty + ',0,1)';\n style.transform = style.webkitTransform;\n };\n\n HybridRendererBase.prototype.renderFrame = SVGRenderer.prototype.renderFrame;\n\n HybridRendererBase.prototype.hide = function () {\n this.resizerElem.style.display = 'none';\n };\n\n HybridRendererBase.prototype.show = function () {\n this.resizerElem.style.display = 'block';\n };\n\n HybridRendererBase.prototype.initItems = function () {\n this.buildAllItems();\n\n if (this.camera) {\n this.camera.setup();\n } else {\n var cWidth = this.globalData.compSize.w;\n var cHeight = this.globalData.compSize.h;\n var i;\n var len = this.threeDElements.length;\n\n for (i = 0; i < len; i += 1) {\n var style = this.threeDElements[i].perspectiveElem.style;\n style.webkitPerspective = Math.sqrt(Math.pow(cWidth, 2) + Math.pow(cHeight, 2)) + 'px';\n style.perspective = style.webkitPerspective;\n }\n }\n };\n\n HybridRendererBase.prototype.searchExtraCompositions = function (assets) {\n var i;\n var len = assets.length;\n var floatingContainer = createTag('div');\n\n for (i = 0; i < len; i += 1) {\n if (assets[i].xt) {\n var comp = this.createComp(assets[i], floatingContainer, this.globalData.comp, null);\n comp.initExpressions();\n this.globalData.projectInterface.registerComposition(comp);\n }\n }\n };\n\n function HCompElement(data, globalData, comp) {\n this.layers = data.layers;\n this.supports3d = !data.hasMask;\n this.completeLayers = false;\n this.pendingElements = [];\n this.elements = this.layers ? createSizedArray(this.layers.length) : [];\n this.initElement(data, globalData, comp);\n this.tm = data.tm ? PropertyFactory.getProp(this, data.tm, 0, globalData.frameRate, this) : {\n _placeholder: true\n };\n }\n\n extendPrototype([HybridRendererBase, ICompElement, HBaseElement], HCompElement);\n HCompElement.prototype._createBaseContainerElements = HCompElement.prototype.createContainerElements;\n\n HCompElement.prototype.createContainerElements = function () {\n this._createBaseContainerElements(); // divElement.style.clip = 'rect(0px, '+this.data.w+'px, '+this.data.h+'px, 0px)';\n\n\n if (this.data.hasMask) {\n this.svgElement.setAttribute('width', this.data.w);\n this.svgElement.setAttribute('height', this.data.h);\n this.transformedElement = this.baseElement;\n } else {\n this.transformedElement = this.layerElement;\n }\n };\n\n HCompElement.prototype.addTo3dContainer = function (elem, pos) {\n var j = 0;\n var nextElement;\n\n while (j < pos) {\n if (this.elements[j] && this.elements[j].getBaseElement) {\n nextElement = this.elements[j].getBaseElement();\n }\n\n j += 1;\n }\n\n if (nextElement) {\n this.layerElement.insertBefore(elem, nextElement);\n } else {\n this.layerElement.appendChild(elem);\n }\n };\n\n HCompElement.prototype.createComp = function (data) {\n if (!this.supports3d) {\n return new SVGCompElement(data, this.globalData, this);\n }\n\n return new HCompElement(data, this.globalData, this);\n };\n\n function HybridRenderer(animationItem, config) {\n this.animationItem = animationItem;\n this.layers = null;\n this.renderedFrame = -1;\n this.renderConfig = {\n className: config && config.className || '',\n imagePreserveAspectRatio: config && config.imagePreserveAspectRatio || 'xMidYMid slice',\n hideOnTransparent: !(config && config.hideOnTransparent === false),\n filterSize: {\n width: config && config.filterSize && config.filterSize.width || '400%',\n height: config && config.filterSize && config.filterSize.height || '400%',\n x: config && config.filterSize && config.filterSize.x || '-100%',\n y: config && config.filterSize && config.filterSize.y || '-100%'\n },\n runExpressions: !config || config.runExpressions === undefined || config.runExpressions\n };\n this.globalData = {\n _mdf: false,\n frameNum: -1,\n renderConfig: this.renderConfig\n };\n this.pendingElements = [];\n this.elements = [];\n this.threeDElements = [];\n this.destroyed = false;\n this.camera = null;\n this.supports3d = true;\n this.rendererType = 'html';\n }\n\n extendPrototype([HybridRendererBase], HybridRenderer);\n\n HybridRenderer.prototype.createComp = function (data) {\n if (!this.supports3d) {\n return new SVGCompElement(data, this.globalData, this);\n }\n\n return new HCompElement(data, this.globalData, this);\n };\n\n var CompExpressionInterface = function () {\n return function (comp) {\n function _thisLayerFunction(name) {\n var i = 0;\n var len = comp.layers.length;\n\n while (i < len) {\n if (comp.layers[i].nm === name || comp.layers[i].ind === name) {\n return comp.elements[i].layerInterface;\n }\n\n i += 1;\n }\n\n return null; // return {active:false};\n }\n\n Object.defineProperty(_thisLayerFunction, '_name', {\n value: comp.data.nm\n });\n _thisLayerFunction.layer = _thisLayerFunction;\n _thisLayerFunction.pixelAspect = 1;\n _thisLayerFunction.height = comp.data.h || comp.globalData.compSize.h;\n _thisLayerFunction.width = comp.data.w || comp.globalData.compSize.w;\n _thisLayerFunction.pixelAspect = 1;\n _thisLayerFunction.frameDuration = 1 / comp.globalData.frameRate;\n _thisLayerFunction.displayStartTime = 0;\n _thisLayerFunction.numLayers = comp.layers.length;\n return _thisLayerFunction;\n };\n }();\n\n function _typeof$2(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof$2 = function _typeof(obj) { return typeof obj; }; } else { _typeof$2 = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof$2(obj); }\n\n /* eslint-disable */\n\n /*\r\n Copyright 2014 David Bau.\r\n\r\n Permission is hereby granted, free of charge, to any person obtaining\r\n a copy of this software and associated documentation files (the\r\n \"Software\"), to deal in the Software without restriction, including\r\n without limitation the rights to use, copy, modify, merge, publish,\r\n distribute, sublicense, and/or sell copies of the Software, and to\r\n permit persons to whom the Software is furnished to do so, subject to\r\n the following conditions:\r\n\r\n The above copyright notice and this permission notice shall be\r\n included in all copies or substantial portions of the Software.\r\n\r\n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\r\n EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\r\n MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\r\n IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\r\n CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\r\n TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\r\n SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\r\n\r\n */\n function seedRandom(pool, math) {\n //\n // The following constants are related to IEEE 754 limits.\n //\n var global = this,\n width = 256,\n // each RC4 output is 0 <= x < 256\n chunks = 6,\n // at least six RC4 outputs for each double\n digits = 52,\n // there are 52 significant digits in a double\n rngname = 'random',\n // rngname: name for Math.random and Math.seedrandom\n startdenom = math.pow(width, chunks),\n significance = math.pow(2, digits),\n overflow = significance * 2,\n mask = width - 1,\n nodecrypto; // node.js crypto module, initialized at the bottom.\n //\n // seedrandom()\n // This is the seedrandom function described above.\n //\n\n function seedrandom(seed, options, callback) {\n var key = [];\n options = options === true ? {\n entropy: true\n } : options || {}; // Flatten the seed string or build one from local entropy if needed.\n\n var shortseed = mixkey(flatten(options.entropy ? [seed, tostring(pool)] : seed === null ? autoseed() : seed, 3), key); // Use the seed to initialize an ARC4 generator.\n\n var arc4 = new ARC4(key); // This function returns a random double in [0, 1) that contains\n // randomness in every bit of the mantissa of the IEEE 754 value.\n\n var prng = function prng() {\n var n = arc4.g(chunks),\n // Start with a numerator n < 2 ^ 48\n d = startdenom,\n // and denominator d = 2 ^ 48.\n x = 0; // and no 'extra last byte'.\n\n while (n < significance) {\n // Fill up all significant digits by\n n = (n + x) * width; // shifting numerator and\n\n d *= width; // denominator and generating a\n\n x = arc4.g(1); // new least-significant-byte.\n }\n\n while (n >= overflow) {\n // To avoid rounding up, before adding\n n /= 2; // last byte, shift everything\n\n d /= 2; // right using integer math until\n\n x >>>= 1; // we have exactly the desired bits.\n }\n\n return (n + x) / d; // Form the number within [0, 1).\n };\n\n prng.int32 = function () {\n return arc4.g(4) | 0;\n };\n\n prng.quick = function () {\n return arc4.g(4) / 0x100000000;\n };\n\n prng[\"double\"] = prng; // Mix the randomness into accumulated entropy.\n\n mixkey(tostring(arc4.S), pool); // Calling convention: what to return as a function of prng, seed, is_math.\n\n return (options.pass || callback || function (prng, seed, is_math_call, state) {\n if (state) {\n // Load the arc4 state from the given state if it has an S array.\n if (state.S) {\n copy(state, arc4);\n } // Only provide the .state method if requested via options.state.\n\n\n prng.state = function () {\n return copy(arc4, {});\n };\n } // If called as a method of Math (Math.seedrandom()), mutate\n // Math.random because that is how seedrandom.js has worked since v1.0.\n\n\n if (is_math_call) {\n math[rngname] = prng;\n return seed;\n } // Otherwise, it is a newer calling convention, so return the\n // prng directly.\n else return prng;\n })(prng, shortseed, 'global' in options ? options.global : this == math, options.state);\n }\n\n math['seed' + rngname] = seedrandom; //\n // ARC4\n //\n // An ARC4 implementation. The constructor takes a key in the form of\n // an array of at most (width) integers that should be 0 <= x < (width).\n //\n // The g(count) method returns a pseudorandom integer that concatenates\n // the next (count) outputs from ARC4. Its return value is a number x\n // that is in the range 0 <= x < (width ^ count).\n //\n\n function ARC4(key) {\n var t,\n keylen = key.length,\n me = this,\n i = 0,\n j = me.i = me.j = 0,\n s = me.S = []; // The empty key [] is treated as [0].\n\n if (!keylen) {\n key = [keylen++];\n } // Set up S using the standard key scheduling algorithm.\n\n\n while (i < width) {\n s[i] = i++;\n }\n\n for (i = 0; i < width; i++) {\n s[i] = s[j = mask & j + key[i % keylen] + (t = s[i])];\n s[j] = t;\n } // The \"g\" method returns the next (count) outputs as one number.\n\n\n me.g = function (count) {\n // Using instance members instead of closure state nearly doubles speed.\n var t,\n r = 0,\n i = me.i,\n j = me.j,\n s = me.S;\n\n while (count--) {\n t = s[i = mask & i + 1];\n r = r * width + s[mask & (s[i] = s[j = mask & j + t]) + (s[j] = t)];\n }\n\n me.i = i;\n me.j = j;\n return r; // For robust unpredictability, the function call below automatically\n // discards an initial batch of values. This is called RC4-drop[256].\n // See http://google.com/search?q=rsa+fluhrer+response&btnI\n };\n } //\n // copy()\n // Copies internal state of ARC4 to or from a plain object.\n //\n\n\n function copy(f, t) {\n t.i = f.i;\n t.j = f.j;\n t.S = f.S.slice();\n return t;\n } //\n // flatten()\n // Converts an object tree to nested arrays of strings.\n //\n\n\n function flatten(obj, depth) {\n var result = [],\n typ = _typeof$2(obj),\n prop;\n\n if (depth && typ == 'object') {\n for (prop in obj) {\n try {\n result.push(flatten(obj[prop], depth - 1));\n } catch (e) {}\n }\n }\n\n return result.length ? result : typ == 'string' ? obj : obj + '\\0';\n } //\n // mixkey()\n // Mixes a string seed into a key that is an array of integers, and\n // returns a shortened string seed that is equivalent to the result key.\n //\n\n\n function mixkey(seed, key) {\n var stringseed = seed + '',\n smear,\n j = 0;\n\n while (j < stringseed.length) {\n key[mask & j] = mask & (smear ^= key[mask & j] * 19) + stringseed.charCodeAt(j++);\n }\n\n return tostring(key);\n } //\n // autoseed()\n // Returns an object for autoseeding, using window.crypto and Node crypto\n // module if available.\n //\n\n\n function autoseed() {\n try {\n if (nodecrypto) {\n return tostring(nodecrypto.randomBytes(width));\n }\n\n var out = new Uint8Array(width);\n (global.crypto || global.msCrypto).getRandomValues(out);\n return tostring(out);\n } catch (e) {\n var browser = global.navigator,\n plugins = browser && browser.plugins;\n return [+new Date(), global, plugins, global.screen, tostring(pool)];\n }\n } //\n // tostring()\n // Converts an array of charcodes to a string\n //\n\n\n function tostring(a) {\n return String.fromCharCode.apply(0, a);\n } //\n // When seedrandom.js is loaded, we immediately mix a few bits\n // from the built-in RNG into the entropy pool. Because we do\n // not want to interfere with deterministic PRNG state later,\n // seedrandom will not call math.random on its own again after\n // initialization.\n //\n\n\n mixkey(math.random(), pool); //\n // Nodejs and AMD support: export the implementation as a module using\n // either convention.\n //\n // End anonymous scope, and pass initial values.\n }\n\n ;\n\n function initialize$2(BMMath) {\n seedRandom([], BMMath);\n }\n\n var propTypes = {\n SHAPE: 'shape'\n };\n\n function _typeof$1(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof$1 = function _typeof(obj) { return typeof obj; }; } else { _typeof$1 = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof$1(obj); }\n\n var ExpressionManager = function () {\n 'use strict';\n\n var ob = {};\n var Math = BMMath;\n var window = null;\n var document = null;\n var XMLHttpRequest = null;\n var fetch = null;\n var frames = null;\n var _lottieGlobal = {};\n initialize$2(BMMath);\n\n function resetFrame() {\n _lottieGlobal = {};\n }\n\n function $bm_isInstanceOfArray(arr) {\n return arr.constructor === Array || arr.constructor === Float32Array;\n }\n\n function isNumerable(tOfV, v) {\n return tOfV === 'number' || v instanceof Number || tOfV === 'boolean' || tOfV === 'string';\n }\n\n function $bm_neg(a) {\n var tOfA = _typeof$1(a);\n\n if (tOfA === 'number' || a instanceof Number || tOfA === 'boolean') {\n return -a;\n }\n\n if ($bm_isInstanceOfArray(a)) {\n var i;\n var lenA = a.length;\n var retArr = [];\n\n for (i = 0; i < lenA; i += 1) {\n retArr[i] = -a[i];\n }\n\n return retArr;\n }\n\n if (a.propType) {\n return a.v;\n }\n\n return -a;\n }\n\n var easeInBez = BezierFactory.getBezierEasing(0.333, 0, 0.833, 0.833, 'easeIn').get;\n var easeOutBez = BezierFactory.getBezierEasing(0.167, 0.167, 0.667, 1, 'easeOut').get;\n var easeInOutBez = BezierFactory.getBezierEasing(0.33, 0, 0.667, 1, 'easeInOut').get;\n\n function sum(a, b) {\n var tOfA = _typeof$1(a);\n\n var tOfB = _typeof$1(b);\n\n if (isNumerable(tOfA, a) && isNumerable(tOfB, b) || tOfA === 'string' || tOfB === 'string') {\n return a + b;\n }\n\n if ($bm_isInstanceOfArray(a) && isNumerable(tOfB, b)) {\n a = a.slice(0);\n a[0] += b;\n return a;\n }\n\n if (isNumerable(tOfA, a) && $bm_isInstanceOfArray(b)) {\n b = b.slice(0);\n b[0] = a + b[0];\n return b;\n }\n\n if ($bm_isInstanceOfArray(a) && $bm_isInstanceOfArray(b)) {\n var i = 0;\n var lenA = a.length;\n var lenB = b.length;\n var retArr = [];\n\n while (i < lenA || i < lenB) {\n if ((typeof a[i] === 'number' || a[i] instanceof Number) && (typeof b[i] === 'number' || b[i] instanceof Number)) {\n retArr[i] = a[i] + b[i];\n } else {\n retArr[i] = b[i] === undefined ? a[i] : a[i] || b[i];\n }\n\n i += 1;\n }\n\n return retArr;\n }\n\n return 0;\n }\n\n var add = sum;\n\n function sub(a, b) {\n var tOfA = _typeof$1(a);\n\n var tOfB = _typeof$1(b);\n\n if (isNumerable(tOfA, a) && isNumerable(tOfB, b)) {\n if (tOfA === 'string') {\n a = parseInt(a, 10);\n }\n\n if (tOfB === 'string') {\n b = parseInt(b, 10);\n }\n\n return a - b;\n }\n\n if ($bm_isInstanceOfArray(a) && isNumerable(tOfB, b)) {\n a = a.slice(0);\n a[0] -= b;\n return a;\n }\n\n if (isNumerable(tOfA, a) && $bm_isInstanceOfArray(b)) {\n b = b.slice(0);\n b[0] = a - b[0];\n return b;\n }\n\n if ($bm_isInstanceOfArray(a) && $bm_isInstanceOfArray(b)) {\n var i = 0;\n var lenA = a.length;\n var lenB = b.length;\n var retArr = [];\n\n while (i < lenA || i < lenB) {\n if ((typeof a[i] === 'number' || a[i] instanceof Number) && (typeof b[i] === 'number' || b[i] instanceof Number)) {\n retArr[i] = a[i] - b[i];\n } else {\n retArr[i] = b[i] === undefined ? a[i] : a[i] || b[i];\n }\n\n i += 1;\n }\n\n return retArr;\n }\n\n return 0;\n }\n\n function mul(a, b) {\n var tOfA = _typeof$1(a);\n\n var tOfB = _typeof$1(b);\n\n var arr;\n\n if (isNumerable(tOfA, a) && isNumerable(tOfB, b)) {\n return a * b;\n }\n\n var i;\n var len;\n\n if ($bm_isInstanceOfArray(a) && isNumerable(tOfB, b)) {\n len = a.length;\n arr = createTypedArray('float32', len);\n\n for (i = 0; i < len; i += 1) {\n arr[i] = a[i] * b;\n }\n\n return arr;\n }\n\n if (isNumerable(tOfA, a) && $bm_isInstanceOfArray(b)) {\n len = b.length;\n arr = createTypedArray('float32', len);\n\n for (i = 0; i < len; i += 1) {\n arr[i] = a * b[i];\n }\n\n return arr;\n }\n\n return 0;\n }\n\n function div(a, b) {\n var tOfA = _typeof$1(a);\n\n var tOfB = _typeof$1(b);\n\n var arr;\n\n if (isNumerable(tOfA, a) && isNumerable(tOfB, b)) {\n return a / b;\n }\n\n var i;\n var len;\n\n if ($bm_isInstanceOfArray(a) && isNumerable(tOfB, b)) {\n len = a.length;\n arr = createTypedArray('float32', len);\n\n for (i = 0; i < len; i += 1) {\n arr[i] = a[i] / b;\n }\n\n return arr;\n }\n\n if (isNumerable(tOfA, a) && $bm_isInstanceOfArray(b)) {\n len = b.length;\n arr = createTypedArray('float32', len);\n\n for (i = 0; i < len; i += 1) {\n arr[i] = a / b[i];\n }\n\n return arr;\n }\n\n return 0;\n }\n\n function mod(a, b) {\n if (typeof a === 'string') {\n a = parseInt(a, 10);\n }\n\n if (typeof b === 'string') {\n b = parseInt(b, 10);\n }\n\n return a % b;\n }\n\n var $bm_sum = sum;\n var $bm_sub = sub;\n var $bm_mul = mul;\n var $bm_div = div;\n var $bm_mod = mod;\n\n function clamp(num, min, max) {\n if (min > max) {\n var mm = max;\n max = min;\n min = mm;\n }\n\n return Math.min(Math.max(num, min), max);\n }\n\n function radiansToDegrees(val) {\n return val / degToRads;\n }\n\n var radians_to_degrees = radiansToDegrees;\n\n function degreesToRadians(val) {\n return val * degToRads;\n }\n\n var degrees_to_radians = radiansToDegrees;\n var helperLengthArray = [0, 0, 0, 0, 0, 0];\n\n function length(arr1, arr2) {\n if (typeof arr1 === 'number' || arr1 instanceof Number) {\n arr2 = arr2 || 0;\n return Math.abs(arr1 - arr2);\n }\n\n if (!arr2) {\n arr2 = helperLengthArray;\n }\n\n var i;\n var len = Math.min(arr1.length, arr2.length);\n var addedLength = 0;\n\n for (i = 0; i < len; i += 1) {\n addedLength += Math.pow(arr2[i] - arr1[i], 2);\n }\n\n return Math.sqrt(addedLength);\n }\n\n function normalize(vec) {\n return div(vec, length(vec));\n }\n\n function rgbToHsl(val) {\n var r = val[0];\n var g = val[1];\n var b = val[2];\n var max = Math.max(r, g, b);\n var min = Math.min(r, g, b);\n var h;\n var s;\n var l = (max + min) / 2;\n\n if (max === min) {\n h = 0; // achromatic\n\n s = 0; // achromatic\n } else {\n var d = max - min;\n s = l > 0.5 ? d / (2 - max - min) : d / (max + min);\n\n switch (max) {\n case r:\n h = (g - b) / d + (g < b ? 6 : 0);\n break;\n\n case g:\n h = (b - r) / d + 2;\n break;\n\n case b:\n h = (r - g) / d + 4;\n break;\n\n default:\n break;\n }\n\n h /= 6;\n }\n\n return [h, s, l, val[3]];\n }\n\n function hue2rgb(p, q, t) {\n if (t < 0) t += 1;\n if (t > 1) t -= 1;\n if (t < 1 / 6) return p + (q - p) * 6 * t;\n if (t < 1 / 2) return q;\n if (t < 2 / 3) return p + (q - p) * (2 / 3 - t) * 6;\n return p;\n }\n\n function hslToRgb(val) {\n var h = val[0];\n var s = val[1];\n var l = val[2];\n var r;\n var g;\n var b;\n\n if (s === 0) {\n r = l; // achromatic\n\n b = l; // achromatic\n\n g = l; // achromatic\n } else {\n var q = l < 0.5 ? l * (1 + s) : l + s - l * s;\n var p = 2 * l - q;\n r = hue2rgb(p, q, h + 1 / 3);\n g = hue2rgb(p, q, h);\n b = hue2rgb(p, q, h - 1 / 3);\n }\n\n return [r, g, b, val[3]];\n }\n\n function linear(t, tMin, tMax, value1, value2) {\n if (value1 === undefined || value2 === undefined) {\n value1 = tMin;\n value2 = tMax;\n tMin = 0;\n tMax = 1;\n }\n\n if (tMax < tMin) {\n var _tMin = tMax;\n tMax = tMin;\n tMin = _tMin;\n }\n\n if (t <= tMin) {\n return value1;\n }\n\n if (t >= tMax) {\n return value2;\n }\n\n var perc = tMax === tMin ? 0 : (t - tMin) / (tMax - tMin);\n\n if (!value1.length) {\n return value1 + (value2 - value1) * perc;\n }\n\n var i;\n var len = value1.length;\n var arr = createTypedArray('float32', len);\n\n for (i = 0; i < len; i += 1) {\n arr[i] = value1[i] + (value2[i] - value1[i]) * perc;\n }\n\n return arr;\n }\n\n function random(min, max) {\n if (max === undefined) {\n if (min === undefined) {\n min = 0;\n max = 1;\n } else {\n max = min;\n min = undefined;\n }\n }\n\n if (max.length) {\n var i;\n var len = max.length;\n\n if (!min) {\n min = createTypedArray('float32', len);\n }\n\n var arr = createTypedArray('float32', len);\n var rnd = BMMath.random();\n\n for (i = 0; i < len; i += 1) {\n arr[i] = min[i] + rnd * (max[i] - min[i]);\n }\n\n return arr;\n }\n\n if (min === undefined) {\n min = 0;\n }\n\n var rndm = BMMath.random();\n return min + rndm * (max - min);\n }\n\n function createPath(points, inTangents, outTangents, closed) {\n var i;\n var len = points.length;\n var path = shapePool.newElement();\n path.setPathData(!!closed, len);\n var arrPlaceholder = [0, 0];\n var inVertexPoint;\n var outVertexPoint;\n\n for (i = 0; i < len; i += 1) {\n inVertexPoint = inTangents && inTangents[i] ? inTangents[i] : arrPlaceholder;\n outVertexPoint = outTangents && outTangents[i] ? outTangents[i] : arrPlaceholder;\n path.setTripleAt(points[i][0], points[i][1], outVertexPoint[0] + points[i][0], outVertexPoint[1] + points[i][1], inVertexPoint[0] + points[i][0], inVertexPoint[1] + points[i][1], i, true);\n }\n\n return path;\n }\n\n function initiateExpression(elem, data, property) {\n // Bail out if we don't want expressions\n function noOp(_value) {\n return _value;\n }\n\n if (!elem.globalData.renderConfig.runExpressions) {\n return noOp;\n }\n\n var val = data.x;\n var needsVelocity = /velocity(?![\\w\\d])/.test(val);\n\n var _needsRandom = val.indexOf('random') !== -1;\n\n var elemType = elem.data.ty;\n var transform;\n var $bm_transform;\n var content;\n var effect;\n var thisProperty = property;\n thisProperty.valueAtTime = thisProperty.getValueAtTime;\n Object.defineProperty(thisProperty, 'value', {\n get: function get() {\n return thisProperty.v;\n }\n });\n elem.comp.frameDuration = 1 / elem.comp.globalData.frameRate;\n elem.comp.displayStartTime = 0;\n var inPoint = elem.data.ip / elem.comp.globalData.frameRate;\n var outPoint = elem.data.op / elem.comp.globalData.frameRate;\n var width = elem.data.sw ? elem.data.sw : 0;\n var height = elem.data.sh ? elem.data.sh : 0;\n var name = elem.data.nm;\n var loopIn;\n var loop_in;\n var loopOut;\n var loop_out;\n var smooth;\n var toWorld;\n var fromWorld;\n var fromComp;\n var toComp;\n var fromCompToSurface;\n var position;\n var rotation;\n var anchorPoint;\n var scale;\n var thisLayer;\n var thisComp;\n var mask;\n var valueAtTime;\n var velocityAtTime;\n var scoped_bm_rt; // val = val.replace(/(\\\\?\"|')((http)(s)?(:\\/))?\\/.*?(\\\\?\"|')/g, \"\\\"\\\"\"); // deter potential network calls\n\n var expression_function = eval('[function _expression_function(){' + val + ';scoped_bm_rt=$bm_rt}]')[0]; // eslint-disable-line no-eval\n\n var numKeys = property.kf ? data.k.length : 0;\n var active = !this.data || this.data.hd !== true;\n\n var wiggle = function wiggle(freq, amp) {\n var iWiggle;\n var j;\n var lenWiggle = this.pv.length ? this.pv.length : 1;\n var addedAmps = createTypedArray('float32', lenWiggle);\n freq = 5;\n var iterations = Math.floor(time * freq);\n iWiggle = 0;\n j = 0;\n\n while (iWiggle < iterations) {\n // var rnd = BMMath.random();\n for (j = 0; j < lenWiggle; j += 1) {\n addedAmps[j] += -amp + amp * 2 * BMMath.random(); // addedAmps[j] += -amp + amp*2*rnd;\n }\n\n iWiggle += 1;\n } // var rnd2 = BMMath.random();\n\n\n var periods = time * freq;\n var perc = periods - Math.floor(periods);\n var arr = createTypedArray('float32', lenWiggle);\n\n if (lenWiggle > 1) {\n for (j = 0; j < lenWiggle; j += 1) {\n arr[j] = this.pv[j] + addedAmps[j] + (-amp + amp * 2 * BMMath.random()) * perc; // arr[j] = this.pv[j] + addedAmps[j] + (-amp + amp*2*rnd)*perc;\n // arr[i] = this.pv[i] + addedAmp + amp1*perc + amp2*(1-perc);\n }\n\n return arr;\n }\n\n return this.pv + addedAmps[0] + (-amp + amp * 2 * BMMath.random()) * perc;\n }.bind(this);\n\n if (thisProperty.loopIn) {\n loopIn = thisProperty.loopIn.bind(thisProperty);\n loop_in = loopIn;\n }\n\n if (thisProperty.loopOut) {\n loopOut = thisProperty.loopOut.bind(thisProperty);\n loop_out = loopOut;\n }\n\n if (thisProperty.smooth) {\n smooth = thisProperty.smooth.bind(thisProperty);\n }\n\n function loopInDuration(type, duration) {\n return loopIn(type, duration, true);\n }\n\n function loopOutDuration(type, duration) {\n return loopOut(type, duration, true);\n }\n\n if (this.getValueAtTime) {\n valueAtTime = this.getValueAtTime.bind(this);\n }\n\n if (this.getVelocityAtTime) {\n velocityAtTime = this.getVelocityAtTime.bind(this);\n }\n\n var comp = elem.comp.globalData.projectInterface.bind(elem.comp.globalData.projectInterface);\n\n function lookAt(elem1, elem2) {\n var fVec = [elem2[0] - elem1[0], elem2[1] - elem1[1], elem2[2] - elem1[2]];\n var pitch = Math.atan2(fVec[0], Math.sqrt(fVec[1] * fVec[1] + fVec[2] * fVec[2])) / degToRads;\n var yaw = -Math.atan2(fVec[1], fVec[2]) / degToRads;\n return [yaw, pitch, 0];\n }\n\n function easeOut(t, tMin, tMax, val1, val2) {\n return applyEase(easeOutBez, t, tMin, tMax, val1, val2);\n }\n\n function easeIn(t, tMin, tMax, val1, val2) {\n return applyEase(easeInBez, t, tMin, tMax, val1, val2);\n }\n\n function ease(t, tMin, tMax, val1, val2) {\n return applyEase(easeInOutBez, t, tMin, tMax, val1, val2);\n }\n\n function applyEase(fn, t, tMin, tMax, val1, val2) {\n if (val1 === undefined) {\n val1 = tMin;\n val2 = tMax;\n } else {\n t = (t - tMin) / (tMax - tMin);\n }\n\n if (t > 1) {\n t = 1;\n } else if (t < 0) {\n t = 0;\n }\n\n var mult = fn(t);\n\n if ($bm_isInstanceOfArray(val1)) {\n var iKey;\n var lenKey = val1.length;\n var arr = createTypedArray('float32', lenKey);\n\n for (iKey = 0; iKey < lenKey; iKey += 1) {\n arr[iKey] = (val2[iKey] - val1[iKey]) * mult + val1[iKey];\n }\n\n return arr;\n }\n\n return (val2 - val1) * mult + val1;\n }\n\n function nearestKey(time) {\n var iKey;\n var lenKey = data.k.length;\n var index;\n var keyTime;\n\n if (!data.k.length || typeof data.k[0] === 'number') {\n index = 0;\n keyTime = 0;\n } else {\n index = -1;\n time *= elem.comp.globalData.frameRate;\n\n if (time < data.k[0].t) {\n index = 1;\n keyTime = data.k[0].t;\n } else {\n for (iKey = 0; iKey < lenKey - 1; iKey += 1) {\n if (time === data.k[iKey].t) {\n index = iKey + 1;\n keyTime = data.k[iKey].t;\n break;\n } else if (time > data.k[iKey].t && time < data.k[iKey + 1].t) {\n if (time - data.k[iKey].t > data.k[iKey + 1].t - time) {\n index = iKey + 2;\n keyTime = data.k[iKey + 1].t;\n } else {\n index = iKey + 1;\n keyTime = data.k[iKey].t;\n }\n\n break;\n }\n }\n\n if (index === -1) {\n index = iKey + 1;\n keyTime = data.k[iKey].t;\n }\n }\n }\n\n var obKey = {};\n obKey.index = index;\n obKey.time = keyTime / elem.comp.globalData.frameRate;\n return obKey;\n }\n\n function key(ind) {\n var obKey;\n var iKey;\n var lenKey;\n\n if (!data.k.length || typeof data.k[0] === 'number') {\n throw new Error('The property has no keyframe at index ' + ind);\n }\n\n ind -= 1;\n obKey = {\n time: data.k[ind].t / elem.comp.globalData.frameRate,\n value: []\n };\n var arr = Object.prototype.hasOwnProperty.call(data.k[ind], 's') ? data.k[ind].s : data.k[ind - 1].e;\n lenKey = arr.length;\n\n for (iKey = 0; iKey < lenKey; iKey += 1) {\n obKey[iKey] = arr[iKey];\n obKey.value[iKey] = arr[iKey];\n }\n\n return obKey;\n }\n\n function framesToTime(fr, fps) {\n if (!fps) {\n fps = elem.comp.globalData.frameRate;\n }\n\n return fr / fps;\n }\n\n function timeToFrames(t, fps) {\n if (!t && t !== 0) {\n t = time;\n }\n\n if (!fps) {\n fps = elem.comp.globalData.frameRate;\n }\n\n return t * fps;\n }\n\n function seedRandom(seed) {\n BMMath.seedrandom(randSeed + seed);\n }\n\n function sourceRectAtTime() {\n return elem.sourceRectAtTime();\n }\n\n function substring(init, end) {\n if (typeof value === 'string') {\n if (end === undefined) {\n return value.substring(init);\n }\n\n return value.substring(init, end);\n }\n\n return '';\n }\n\n function substr(init, end) {\n if (typeof value === 'string') {\n if (end === undefined) {\n return value.substr(init);\n }\n\n return value.substr(init, end);\n }\n\n return '';\n }\n\n function posterizeTime(framesPerSecond) {\n time = framesPerSecond === 0 ? 0 : Math.floor(time * framesPerSecond) / framesPerSecond;\n value = valueAtTime(time);\n }\n\n var time;\n var velocity;\n var value;\n var text;\n var textIndex;\n var textTotal;\n var selectorValue;\n var index = elem.data.ind;\n var hasParent = !!(elem.hierarchy && elem.hierarchy.length);\n var parent;\n var randSeed = Math.floor(Math.random() * 1000000);\n var globalData = elem.globalData;\n\n function executeExpression(_value) {\n // globalData.pushExpression();\n value = _value;\n\n if (this.frameExpressionId === elem.globalData.frameId && this.propType !== 'textSelector') {\n return value;\n }\n\n if (this.propType === 'textSelector') {\n textIndex = this.textIndex;\n textTotal = this.textTotal;\n selectorValue = this.selectorValue;\n }\n\n if (!thisLayer) {\n text = elem.layerInterface.text;\n thisLayer = elem.layerInterface;\n thisComp = elem.comp.compInterface;\n toWorld = thisLayer.toWorld.bind(thisLayer);\n fromWorld = thisLayer.fromWorld.bind(thisLayer);\n fromComp = thisLayer.fromComp.bind(thisLayer);\n toComp = thisLayer.toComp.bind(thisLayer);\n mask = thisLayer.mask ? thisLayer.mask.bind(thisLayer) : null;\n fromCompToSurface = fromComp;\n }\n\n if (!transform) {\n transform = elem.layerInterface('ADBE Transform Group');\n $bm_transform = transform;\n\n if (transform) {\n anchorPoint = transform.anchorPoint;\n /* position = transform.position;\r\n rotation = transform.rotation;\r\n scale = transform.scale; */\n }\n }\n\n if (elemType === 4 && !content) {\n content = thisLayer('ADBE Root Vectors Group');\n }\n\n if (!effect) {\n effect = thisLayer(4);\n }\n\n hasParent = !!(elem.hierarchy && elem.hierarchy.length);\n\n if (hasParent && !parent) {\n parent = elem.hierarchy[0].layerInterface;\n }\n\n time = this.comp.renderedFrame / this.comp.globalData.frameRate;\n\n if (_needsRandom) {\n seedRandom(randSeed + time);\n }\n\n if (needsVelocity) {\n velocity = velocityAtTime(time);\n }\n\n expression_function();\n this.frameExpressionId = elem.globalData.frameId; // TODO: Check if it's possible to return on ShapeInterface the .v value\n // Changed this to a ternary operation because Rollup failed compiling it correctly\n\n scoped_bm_rt = scoped_bm_rt.propType === propTypes.SHAPE ? scoped_bm_rt.v : scoped_bm_rt;\n return scoped_bm_rt;\n } // Bundlers will see these as dead code and unless we reference them\n\n\n executeExpression.__preventDeadCodeRemoval = [$bm_transform, anchorPoint, time, velocity, inPoint, outPoint, width, height, name, loop_in, loop_out, smooth, toComp, fromCompToSurface, toWorld, fromWorld, mask, position, rotation, scale, thisComp, numKeys, active, wiggle, loopInDuration, loopOutDuration, comp, lookAt, easeOut, easeIn, ease, nearestKey, key, text, textIndex, textTotal, selectorValue, framesToTime, timeToFrames, sourceRectAtTime, substring, substr, posterizeTime, index, globalData];\n return executeExpression;\n }\n\n ob.initiateExpression = initiateExpression;\n ob.__preventDeadCodeRemoval = [window, document, XMLHttpRequest, fetch, frames, $bm_neg, add, $bm_sum, $bm_sub, $bm_mul, $bm_div, $bm_mod, clamp, radians_to_degrees, degreesToRadians, degrees_to_radians, normalize, rgbToHsl, hslToRgb, linear, random, createPath, _lottieGlobal];\n ob.resetFrame = resetFrame;\n return ob;\n }();\n\n var Expressions = function () {\n var ob = {};\n ob.initExpressions = initExpressions;\n ob.resetFrame = ExpressionManager.resetFrame;\n\n function initExpressions(animation) {\n var stackCount = 0;\n var registers = [];\n\n function pushExpression() {\n stackCount += 1;\n }\n\n function popExpression() {\n stackCount -= 1;\n\n if (stackCount === 0) {\n releaseInstances();\n }\n }\n\n function registerExpressionProperty(expression) {\n if (registers.indexOf(expression) === -1) {\n registers.push(expression);\n }\n }\n\n function releaseInstances() {\n var i;\n var len = registers.length;\n\n for (i = 0; i < len; i += 1) {\n registers[i].release();\n }\n\n registers.length = 0;\n }\n\n animation.renderer.compInterface = CompExpressionInterface(animation.renderer);\n animation.renderer.globalData.projectInterface.registerComposition(animation.renderer);\n animation.renderer.globalData.pushExpression = pushExpression;\n animation.renderer.globalData.popExpression = popExpression;\n animation.renderer.globalData.registerExpressionProperty = registerExpressionProperty;\n }\n\n return ob;\n }();\n\n var MaskManagerInterface = function () {\n function MaskInterface(mask, data) {\n this._mask = mask;\n this._data = data;\n }\n\n Object.defineProperty(MaskInterface.prototype, 'maskPath', {\n get: function get() {\n if (this._mask.prop.k) {\n this._mask.prop.getValue();\n }\n\n return this._mask.prop;\n }\n });\n Object.defineProperty(MaskInterface.prototype, 'maskOpacity', {\n get: function get() {\n if (this._mask.op.k) {\n this._mask.op.getValue();\n }\n\n return this._mask.op.v * 100;\n }\n });\n\n var MaskManager = function MaskManager(maskManager) {\n var _masksInterfaces = createSizedArray(maskManager.viewData.length);\n\n var i;\n var len = maskManager.viewData.length;\n\n for (i = 0; i < len; i += 1) {\n _masksInterfaces[i] = new MaskInterface(maskManager.viewData[i], maskManager.masksProperties[i]);\n }\n\n var maskFunction = function maskFunction(name) {\n i = 0;\n\n while (i < len) {\n if (maskManager.masksProperties[i].nm === name) {\n return _masksInterfaces[i];\n }\n\n i += 1;\n }\n\n return null;\n };\n\n return maskFunction;\n };\n\n return MaskManager;\n }();\n\n var ExpressionPropertyInterface = function () {\n var defaultUnidimensionalValue = {\n pv: 0,\n v: 0,\n mult: 1\n };\n var defaultMultidimensionalValue = {\n pv: [0, 0, 0],\n v: [0, 0, 0],\n mult: 1\n };\n\n function completeProperty(expressionValue, property, type) {\n Object.defineProperty(expressionValue, 'velocity', {\n get: function get() {\n return property.getVelocityAtTime(property.comp.currentFrame);\n }\n });\n expressionValue.numKeys = property.keyframes ? property.keyframes.length : 0;\n\n expressionValue.key = function (pos) {\n if (!expressionValue.numKeys) {\n return 0;\n }\n\n var value = '';\n\n if ('s' in property.keyframes[pos - 1]) {\n value = property.keyframes[pos - 1].s;\n } else if ('e' in property.keyframes[pos - 2]) {\n value = property.keyframes[pos - 2].e;\n } else {\n value = property.keyframes[pos - 2].s;\n }\n\n var valueProp = type === 'unidimensional' ? new Number(value) : Object.assign({}, value); // eslint-disable-line no-new-wrappers\n\n valueProp.time = property.keyframes[pos - 1].t / property.elem.comp.globalData.frameRate;\n valueProp.value = type === 'unidimensional' ? value[0] : value;\n return valueProp;\n };\n\n expressionValue.valueAtTime = property.getValueAtTime;\n expressionValue.speedAtTime = property.getSpeedAtTime;\n expressionValue.velocityAtTime = property.getVelocityAtTime;\n expressionValue.propertyGroup = property.propertyGroup;\n }\n\n function UnidimensionalPropertyInterface(property) {\n if (!property || !('pv' in property)) {\n property = defaultUnidimensionalValue;\n }\n\n var mult = 1 / property.mult;\n var val = property.pv * mult;\n var expressionValue = new Number(val); // eslint-disable-line no-new-wrappers\n\n expressionValue.value = val;\n completeProperty(expressionValue, property, 'unidimensional');\n return function () {\n if (property.k) {\n property.getValue();\n }\n\n val = property.v * mult;\n\n if (expressionValue.value !== val) {\n expressionValue = new Number(val); // eslint-disable-line no-new-wrappers\n\n expressionValue.value = val;\n completeProperty(expressionValue, property, 'unidimensional');\n }\n\n return expressionValue;\n };\n }\n\n function MultidimensionalPropertyInterface(property) {\n if (!property || !('pv' in property)) {\n property = defaultMultidimensionalValue;\n }\n\n var mult = 1 / property.mult;\n var len = property.data && property.data.l || property.pv.length;\n var expressionValue = createTypedArray('float32', len);\n var arrValue = createTypedArray('float32', len);\n expressionValue.value = arrValue;\n completeProperty(expressionValue, property, 'multidimensional');\n return function () {\n if (property.k) {\n property.getValue();\n }\n\n for (var i = 0; i < len; i += 1) {\n arrValue[i] = property.v[i] * mult;\n expressionValue[i] = arrValue[i];\n }\n\n return expressionValue;\n };\n } // TODO: try to avoid using this getter\n\n\n function defaultGetter() {\n return defaultUnidimensionalValue;\n }\n\n return function (property) {\n if (!property) {\n return defaultGetter;\n }\n\n if (property.propType === 'unidimensional') {\n return UnidimensionalPropertyInterface(property);\n }\n\n return MultidimensionalPropertyInterface(property);\n };\n }();\n\n var TransformExpressionInterface = function () {\n return function (transform) {\n function _thisFunction(name) {\n switch (name) {\n case 'scale':\n case 'Scale':\n case 'ADBE Scale':\n case 6:\n return _thisFunction.scale;\n\n case 'rotation':\n case 'Rotation':\n case 'ADBE Rotation':\n case 'ADBE Rotate Z':\n case 10:\n return _thisFunction.rotation;\n\n case 'ADBE Rotate X':\n return _thisFunction.xRotation;\n\n case 'ADBE Rotate Y':\n return _thisFunction.yRotation;\n\n case 'position':\n case 'Position':\n case 'ADBE Position':\n case 2:\n return _thisFunction.position;\n\n case 'ADBE Position_0':\n return _thisFunction.xPosition;\n\n case 'ADBE Position_1':\n return _thisFunction.yPosition;\n\n case 'ADBE Position_2':\n return _thisFunction.zPosition;\n\n case 'anchorPoint':\n case 'AnchorPoint':\n case 'Anchor Point':\n case 'ADBE AnchorPoint':\n case 1:\n return _thisFunction.anchorPoint;\n\n case 'opacity':\n case 'Opacity':\n case 11:\n return _thisFunction.opacity;\n\n default:\n return null;\n }\n }\n\n Object.defineProperty(_thisFunction, 'rotation', {\n get: ExpressionPropertyInterface(transform.r || transform.rz)\n });\n Object.defineProperty(_thisFunction, 'zRotation', {\n get: ExpressionPropertyInterface(transform.rz || transform.r)\n });\n Object.defineProperty(_thisFunction, 'xRotation', {\n get: ExpressionPropertyInterface(transform.rx)\n });\n Object.defineProperty(_thisFunction, 'yRotation', {\n get: ExpressionPropertyInterface(transform.ry)\n });\n Object.defineProperty(_thisFunction, 'scale', {\n get: ExpressionPropertyInterface(transform.s)\n });\n\n var _px;\n\n var _py;\n\n var _pz;\n\n var _transformFactory;\n\n if (transform.p) {\n _transformFactory = ExpressionPropertyInterface(transform.p);\n } else {\n _px = ExpressionPropertyInterface(transform.px);\n _py = ExpressionPropertyInterface(transform.py);\n\n if (transform.pz) {\n _pz = ExpressionPropertyInterface(transform.pz);\n }\n }\n\n Object.defineProperty(_thisFunction, 'position', {\n get: function get() {\n if (transform.p) {\n return _transformFactory();\n }\n\n return [_px(), _py(), _pz ? _pz() : 0];\n }\n });\n Object.defineProperty(_thisFunction, 'xPosition', {\n get: ExpressionPropertyInterface(transform.px)\n });\n Object.defineProperty(_thisFunction, 'yPosition', {\n get: ExpressionPropertyInterface(transform.py)\n });\n Object.defineProperty(_thisFunction, 'zPosition', {\n get: ExpressionPropertyInterface(transform.pz)\n });\n Object.defineProperty(_thisFunction, 'anchorPoint', {\n get: ExpressionPropertyInterface(transform.a)\n });\n Object.defineProperty(_thisFunction, 'opacity', {\n get: ExpressionPropertyInterface(transform.o)\n });\n Object.defineProperty(_thisFunction, 'skew', {\n get: ExpressionPropertyInterface(transform.sk)\n });\n Object.defineProperty(_thisFunction, 'skewAxis', {\n get: ExpressionPropertyInterface(transform.sa)\n });\n Object.defineProperty(_thisFunction, 'orientation', {\n get: ExpressionPropertyInterface(transform.or)\n });\n return _thisFunction;\n };\n }();\n\n var LayerExpressionInterface = function () {\n function getMatrix(time) {\n var toWorldMat = new Matrix();\n\n if (time !== undefined) {\n var propMatrix = this._elem.finalTransform.mProp.getValueAtTime(time);\n\n propMatrix.clone(toWorldMat);\n } else {\n var transformMat = this._elem.finalTransform.mProp;\n transformMat.applyToMatrix(toWorldMat);\n }\n\n return toWorldMat;\n }\n\n function toWorldVec(arr, time) {\n var toWorldMat = this.getMatrix(time);\n toWorldMat.props[12] = 0;\n toWorldMat.props[13] = 0;\n toWorldMat.props[14] = 0;\n return this.applyPoint(toWorldMat, arr);\n }\n\n function toWorld(arr, time) {\n var toWorldMat = this.getMatrix(time);\n return this.applyPoint(toWorldMat, arr);\n }\n\n function fromWorldVec(arr, time) {\n var toWorldMat = this.getMatrix(time);\n toWorldMat.props[12] = 0;\n toWorldMat.props[13] = 0;\n toWorldMat.props[14] = 0;\n return this.invertPoint(toWorldMat, arr);\n }\n\n function fromWorld(arr, time) {\n var toWorldMat = this.getMatrix(time);\n return this.invertPoint(toWorldMat, arr);\n }\n\n function applyPoint(matrix, arr) {\n if (this._elem.hierarchy && this._elem.hierarchy.length) {\n var i;\n var len = this._elem.hierarchy.length;\n\n for (i = 0; i < len; i += 1) {\n this._elem.hierarchy[i].finalTransform.mProp.applyToMatrix(matrix);\n }\n }\n\n return matrix.applyToPointArray(arr[0], arr[1], arr[2] || 0);\n }\n\n function invertPoint(matrix, arr) {\n if (this._elem.hierarchy && this._elem.hierarchy.length) {\n var i;\n var len = this._elem.hierarchy.length;\n\n for (i = 0; i < len; i += 1) {\n this._elem.hierarchy[i].finalTransform.mProp.applyToMatrix(matrix);\n }\n }\n\n return matrix.inversePoint(arr);\n }\n\n function fromComp(arr) {\n var toWorldMat = new Matrix();\n toWorldMat.reset();\n\n this._elem.finalTransform.mProp.applyToMatrix(toWorldMat);\n\n if (this._elem.hierarchy && this._elem.hierarchy.length) {\n var i;\n var len = this._elem.hierarchy.length;\n\n for (i = 0; i < len; i += 1) {\n this._elem.hierarchy[i].finalTransform.mProp.applyToMatrix(toWorldMat);\n }\n\n return toWorldMat.inversePoint(arr);\n }\n\n return toWorldMat.inversePoint(arr);\n }\n\n function sampleImage() {\n return [1, 1, 1, 1];\n }\n\n return function (elem) {\n var transformInterface;\n\n function _registerMaskInterface(maskManager) {\n _thisLayerFunction.mask = new MaskManagerInterface(maskManager, elem);\n }\n\n function _registerEffectsInterface(effects) {\n _thisLayerFunction.effect = effects;\n }\n\n function _thisLayerFunction(name) {\n switch (name) {\n case 'ADBE Root Vectors Group':\n case 'Contents':\n case 2:\n return _thisLayerFunction.shapeInterface;\n\n case 1:\n case 6:\n case 'Transform':\n case 'transform':\n case 'ADBE Transform Group':\n return transformInterface;\n\n case 4:\n case 'ADBE Effect Parade':\n case 'effects':\n case 'Effects':\n return _thisLayerFunction.effect;\n\n case 'ADBE Text Properties':\n return _thisLayerFunction.textInterface;\n\n default:\n return null;\n }\n }\n\n _thisLayerFunction.getMatrix = getMatrix;\n _thisLayerFunction.invertPoint = invertPoint;\n _thisLayerFunction.applyPoint = applyPoint;\n _thisLayerFunction.toWorld = toWorld;\n _thisLayerFunction.toWorldVec = toWorldVec;\n _thisLayerFunction.fromWorld = fromWorld;\n _thisLayerFunction.fromWorldVec = fromWorldVec;\n _thisLayerFunction.toComp = toWorld;\n _thisLayerFunction.fromComp = fromComp;\n _thisLayerFunction.sampleImage = sampleImage;\n _thisLayerFunction.sourceRectAtTime = elem.sourceRectAtTime.bind(elem);\n _thisLayerFunction._elem = elem;\n transformInterface = TransformExpressionInterface(elem.finalTransform.mProp);\n var anchorPointDescriptor = getDescriptor(transformInterface, 'anchorPoint');\n Object.defineProperties(_thisLayerFunction, {\n hasParent: {\n get: function get() {\n return elem.hierarchy.length;\n }\n },\n parent: {\n get: function get() {\n return elem.hierarchy[0].layerInterface;\n }\n },\n rotation: getDescriptor(transformInterface, 'rotation'),\n scale: getDescriptor(transformInterface, 'scale'),\n position: getDescriptor(transformInterface, 'position'),\n opacity: getDescriptor(transformInterface, 'opacity'),\n anchorPoint: anchorPointDescriptor,\n anchor_point: anchorPointDescriptor,\n transform: {\n get: function get() {\n return transformInterface;\n }\n },\n active: {\n get: function get() {\n return elem.isInRange;\n }\n }\n });\n _thisLayerFunction.startTime = elem.data.st;\n _thisLayerFunction.index = elem.data.ind;\n _thisLayerFunction.source = elem.data.refId;\n _thisLayerFunction.height = elem.data.ty === 0 ? elem.data.h : 100;\n _thisLayerFunction.width = elem.data.ty === 0 ? elem.data.w : 100;\n _thisLayerFunction.inPoint = elem.data.ip / elem.comp.globalData.frameRate;\n _thisLayerFunction.outPoint = elem.data.op / elem.comp.globalData.frameRate;\n _thisLayerFunction._name = elem.data.nm;\n _thisLayerFunction.registerMaskInterface = _registerMaskInterface;\n _thisLayerFunction.registerEffectsInterface = _registerEffectsInterface;\n return _thisLayerFunction;\n };\n }();\n\n var propertyGroupFactory = function () {\n return function (interfaceFunction, parentPropertyGroup) {\n return function (val) {\n val = val === undefined ? 1 : val;\n\n if (val <= 0) {\n return interfaceFunction;\n }\n\n return parentPropertyGroup(val - 1);\n };\n };\n }();\n\n var PropertyInterface = function () {\n return function (propertyName, propertyGroup) {\n var interfaceFunction = {\n _name: propertyName\n };\n\n function _propertyGroup(val) {\n val = val === undefined ? 1 : val;\n\n if (val <= 0) {\n return interfaceFunction;\n }\n\n return propertyGroup(val - 1);\n }\n\n return _propertyGroup;\n };\n }();\n\n var EffectsExpressionInterface = function () {\n var ob = {\n createEffectsInterface: createEffectsInterface\n };\n\n function createEffectsInterface(elem, propertyGroup) {\n if (elem.effectsManager) {\n var effectElements = [];\n var effectsData = elem.data.ef;\n var i;\n var len = elem.effectsManager.effectElements.length;\n\n for (i = 0; i < len; i += 1) {\n effectElements.push(createGroupInterface(effectsData[i], elem.effectsManager.effectElements[i], propertyGroup, elem));\n }\n\n var effects = elem.data.ef || [];\n\n var groupInterface = function groupInterface(name) {\n i = 0;\n len = effects.length;\n\n while (i < len) {\n if (name === effects[i].nm || name === effects[i].mn || name === effects[i].ix) {\n return effectElements[i];\n }\n\n i += 1;\n }\n\n return null;\n };\n\n Object.defineProperty(groupInterface, 'numProperties', {\n get: function get() {\n return effects.length;\n }\n });\n return groupInterface;\n }\n\n return null;\n }\n\n function createGroupInterface(data, elements, propertyGroup, elem) {\n function groupInterface(name) {\n var effects = data.ef;\n var i = 0;\n var len = effects.length;\n\n while (i < len) {\n if (name === effects[i].nm || name === effects[i].mn || name === effects[i].ix) {\n if (effects[i].ty === 5) {\n return effectElements[i];\n }\n\n return effectElements[i]();\n }\n\n i += 1;\n }\n\n throw new Error();\n }\n\n var _propertyGroup = propertyGroupFactory(groupInterface, propertyGroup);\n\n var effectElements = [];\n var i;\n var len = data.ef.length;\n\n for (i = 0; i < len; i += 1) {\n if (data.ef[i].ty === 5) {\n effectElements.push(createGroupInterface(data.ef[i], elements.effectElements[i], elements.effectElements[i].propertyGroup, elem));\n } else {\n effectElements.push(createValueInterface(elements.effectElements[i], data.ef[i].ty, elem, _propertyGroup));\n }\n }\n\n if (data.mn === 'ADBE Color Control') {\n Object.defineProperty(groupInterface, 'color', {\n get: function get() {\n return effectElements[0]();\n }\n });\n }\n\n Object.defineProperties(groupInterface, {\n numProperties: {\n get: function get() {\n return data.np;\n }\n },\n _name: {\n value: data.nm\n },\n propertyGroup: {\n value: _propertyGroup\n }\n });\n groupInterface.enabled = data.en !== 0;\n groupInterface.active = groupInterface.enabled;\n return groupInterface;\n }\n\n function createValueInterface(element, type, elem, propertyGroup) {\n var expressionProperty = ExpressionPropertyInterface(element.p);\n\n function interfaceFunction() {\n if (type === 10) {\n return elem.comp.compInterface(element.p.v);\n }\n\n return expressionProperty();\n }\n\n if (element.p.setGroupProperty) {\n element.p.setGroupProperty(PropertyInterface('', propertyGroup));\n }\n\n return interfaceFunction;\n }\n\n return ob;\n }();\n\n var ShapePathInterface = function () {\n return function pathInterfaceFactory(shape, view, propertyGroup) {\n var prop = view.sh;\n\n function interfaceFunction(val) {\n if (val === 'Shape' || val === 'shape' || val === 'Path' || val === 'path' || val === 'ADBE Vector Shape' || val === 2) {\n return interfaceFunction.path;\n }\n\n return null;\n }\n\n var _propertyGroup = propertyGroupFactory(interfaceFunction, propertyGroup);\n\n prop.setGroupProperty(PropertyInterface('Path', _propertyGroup));\n Object.defineProperties(interfaceFunction, {\n path: {\n get: function get() {\n if (prop.k) {\n prop.getValue();\n }\n\n return prop;\n }\n },\n shape: {\n get: function get() {\n if (prop.k) {\n prop.getValue();\n }\n\n return prop;\n }\n },\n _name: {\n value: shape.nm\n },\n ix: {\n value: shape.ix\n },\n propertyIndex: {\n value: shape.ix\n },\n mn: {\n value: shape.mn\n },\n propertyGroup: {\n value: propertyGroup\n }\n });\n return interfaceFunction;\n };\n }();\n\n var ShapeExpressionInterface = function () {\n function iterateElements(shapes, view, propertyGroup) {\n var arr = [];\n var i;\n var len = shapes ? shapes.length : 0;\n\n for (i = 0; i < len; i += 1) {\n if (shapes[i].ty === 'gr') {\n arr.push(groupInterfaceFactory(shapes[i], view[i], propertyGroup));\n } else if (shapes[i].ty === 'fl') {\n arr.push(fillInterfaceFactory(shapes[i], view[i], propertyGroup));\n } else if (shapes[i].ty === 'st') {\n arr.push(strokeInterfaceFactory(shapes[i], view[i], propertyGroup));\n } else if (shapes[i].ty === 'tm') {\n arr.push(trimInterfaceFactory(shapes[i], view[i], propertyGroup));\n } else if (shapes[i].ty === 'tr') {// arr.push(transformInterfaceFactory(shapes[i],view[i],propertyGroup));\n } else if (shapes[i].ty === 'el') {\n arr.push(ellipseInterfaceFactory(shapes[i], view[i], propertyGroup));\n } else if (shapes[i].ty === 'sr') {\n arr.push(starInterfaceFactory(shapes[i], view[i], propertyGroup));\n } else if (shapes[i].ty === 'sh') {\n arr.push(ShapePathInterface(shapes[i], view[i], propertyGroup));\n } else if (shapes[i].ty === 'rc') {\n arr.push(rectInterfaceFactory(shapes[i], view[i], propertyGroup));\n } else if (shapes[i].ty === 'rd') {\n arr.push(roundedInterfaceFactory(shapes[i], view[i], propertyGroup));\n } else if (shapes[i].ty === 'rp') {\n arr.push(repeaterInterfaceFactory(shapes[i], view[i], propertyGroup));\n } else if (shapes[i].ty === 'gf') {\n arr.push(gradientFillInterfaceFactory(shapes[i], view[i], propertyGroup));\n } else {\n arr.push(defaultInterfaceFactory(shapes[i], view[i], propertyGroup));\n }\n }\n\n return arr;\n }\n\n function contentsInterfaceFactory(shape, view, propertyGroup) {\n var interfaces;\n\n var interfaceFunction = function _interfaceFunction(value) {\n var i = 0;\n var len = interfaces.length;\n\n while (i < len) {\n if (interfaces[i]._name === value || interfaces[i].mn === value || interfaces[i].propertyIndex === value || interfaces[i].ix === value || interfaces[i].ind === value) {\n return interfaces[i];\n }\n\n i += 1;\n }\n\n if (typeof value === 'number') {\n return interfaces[value - 1];\n }\n\n return null;\n };\n\n interfaceFunction.propertyGroup = propertyGroupFactory(interfaceFunction, propertyGroup);\n interfaces = iterateElements(shape.it, view.it, interfaceFunction.propertyGroup);\n interfaceFunction.numProperties = interfaces.length;\n var transformInterface = transformInterfaceFactory(shape.it[shape.it.length - 1], view.it[view.it.length - 1], interfaceFunction.propertyGroup);\n interfaceFunction.transform = transformInterface;\n interfaceFunction.propertyIndex = shape.cix;\n interfaceFunction._name = shape.nm;\n return interfaceFunction;\n }\n\n function groupInterfaceFactory(shape, view, propertyGroup) {\n var interfaceFunction = function _interfaceFunction(value) {\n switch (value) {\n case 'ADBE Vectors Group':\n case 'Contents':\n case 2:\n return interfaceFunction.content;\n // Not necessary for now. Keeping them here in case a new case appears\n // case 'ADBE Vector Transform Group':\n // case 3:\n\n default:\n return interfaceFunction.transform;\n }\n };\n\n interfaceFunction.propertyGroup = propertyGroupFactory(interfaceFunction, propertyGroup);\n var content = contentsInterfaceFactory(shape, view, interfaceFunction.propertyGroup);\n var transformInterface = transformInterfaceFactory(shape.it[shape.it.length - 1], view.it[view.it.length - 1], interfaceFunction.propertyGroup);\n interfaceFunction.content = content;\n interfaceFunction.transform = transformInterface;\n Object.defineProperty(interfaceFunction, '_name', {\n get: function get() {\n return shape.nm;\n }\n }); // interfaceFunction.content = interfaceFunction;\n\n interfaceFunction.numProperties = shape.np;\n interfaceFunction.propertyIndex = shape.ix;\n interfaceFunction.nm = shape.nm;\n interfaceFunction.mn = shape.mn;\n return interfaceFunction;\n }\n\n function fillInterfaceFactory(shape, view, propertyGroup) {\n function interfaceFunction(val) {\n if (val === 'Color' || val === 'color') {\n return interfaceFunction.color;\n }\n\n if (val === 'Opacity' || val === 'opacity') {\n return interfaceFunction.opacity;\n }\n\n return null;\n }\n\n Object.defineProperties(interfaceFunction, {\n color: {\n get: ExpressionPropertyInterface(view.c)\n },\n opacity: {\n get: ExpressionPropertyInterface(view.o)\n },\n _name: {\n value: shape.nm\n },\n mn: {\n value: shape.mn\n }\n });\n view.c.setGroupProperty(PropertyInterface('Color', propertyGroup));\n view.o.setGroupProperty(PropertyInterface('Opacity', propertyGroup));\n return interfaceFunction;\n }\n\n function gradientFillInterfaceFactory(shape, view, propertyGroup) {\n function interfaceFunction(val) {\n if (val === 'Start Point' || val === 'start point') {\n return interfaceFunction.startPoint;\n }\n\n if (val === 'End Point' || val === 'end point') {\n return interfaceFunction.endPoint;\n }\n\n if (val === 'Opacity' || val === 'opacity') {\n return interfaceFunction.opacity;\n }\n\n return null;\n }\n\n Object.defineProperties(interfaceFunction, {\n startPoint: {\n get: ExpressionPropertyInterface(view.s)\n },\n endPoint: {\n get: ExpressionPropertyInterface(view.e)\n },\n opacity: {\n get: ExpressionPropertyInterface(view.o)\n },\n type: {\n get: function get() {\n return 'a';\n }\n },\n _name: {\n value: shape.nm\n },\n mn: {\n value: shape.mn\n }\n });\n view.s.setGroupProperty(PropertyInterface('Start Point', propertyGroup));\n view.e.setGroupProperty(PropertyInterface('End Point', propertyGroup));\n view.o.setGroupProperty(PropertyInterface('Opacity', propertyGroup));\n return interfaceFunction;\n }\n\n function defaultInterfaceFactory() {\n function interfaceFunction() {\n return null;\n }\n\n return interfaceFunction;\n }\n\n function strokeInterfaceFactory(shape, view, propertyGroup) {\n var _propertyGroup = propertyGroupFactory(interfaceFunction, propertyGroup);\n\n var _dashPropertyGroup = propertyGroupFactory(dashOb, _propertyGroup);\n\n function addPropertyToDashOb(i) {\n Object.defineProperty(dashOb, shape.d[i].nm, {\n get: ExpressionPropertyInterface(view.d.dataProps[i].p)\n });\n }\n\n var i;\n var len = shape.d ? shape.d.length : 0;\n var dashOb = {};\n\n for (i = 0; i < len; i += 1) {\n addPropertyToDashOb(i);\n view.d.dataProps[i].p.setGroupProperty(_dashPropertyGroup);\n }\n\n function interfaceFunction(val) {\n if (val === 'Color' || val === 'color') {\n return interfaceFunction.color;\n }\n\n if (val === 'Opacity' || val === 'opacity') {\n return interfaceFunction.opacity;\n }\n\n if (val === 'Stroke Width' || val === 'stroke width') {\n return interfaceFunction.strokeWidth;\n }\n\n return null;\n }\n\n Object.defineProperties(interfaceFunction, {\n color: {\n get: ExpressionPropertyInterface(view.c)\n },\n opacity: {\n get: ExpressionPropertyInterface(view.o)\n },\n strokeWidth: {\n get: ExpressionPropertyInterface(view.w)\n },\n dash: {\n get: function get() {\n return dashOb;\n }\n },\n _name: {\n value: shape.nm\n },\n mn: {\n value: shape.mn\n }\n });\n view.c.setGroupProperty(PropertyInterface('Color', _propertyGroup));\n view.o.setGroupProperty(PropertyInterface('Opacity', _propertyGroup));\n view.w.setGroupProperty(PropertyInterface('Stroke Width', _propertyGroup));\n return interfaceFunction;\n }\n\n function trimInterfaceFactory(shape, view, propertyGroup) {\n function interfaceFunction(val) {\n if (val === shape.e.ix || val === 'End' || val === 'end') {\n return interfaceFunction.end;\n }\n\n if (val === shape.s.ix) {\n return interfaceFunction.start;\n }\n\n if (val === shape.o.ix) {\n return interfaceFunction.offset;\n }\n\n return null;\n }\n\n var _propertyGroup = propertyGroupFactory(interfaceFunction, propertyGroup);\n\n interfaceFunction.propertyIndex = shape.ix;\n view.s.setGroupProperty(PropertyInterface('Start', _propertyGroup));\n view.e.setGroupProperty(PropertyInterface('End', _propertyGroup));\n view.o.setGroupProperty(PropertyInterface('Offset', _propertyGroup));\n interfaceFunction.propertyIndex = shape.ix;\n interfaceFunction.propertyGroup = propertyGroup;\n Object.defineProperties(interfaceFunction, {\n start: {\n get: ExpressionPropertyInterface(view.s)\n },\n end: {\n get: ExpressionPropertyInterface(view.e)\n },\n offset: {\n get: ExpressionPropertyInterface(view.o)\n },\n _name: {\n value: shape.nm\n }\n });\n interfaceFunction.mn = shape.mn;\n return interfaceFunction;\n }\n\n function transformInterfaceFactory(shape, view, propertyGroup) {\n function interfaceFunction(value) {\n if (shape.a.ix === value || value === 'Anchor Point') {\n return interfaceFunction.anchorPoint;\n }\n\n if (shape.o.ix === value || value === 'Opacity') {\n return interfaceFunction.opacity;\n }\n\n if (shape.p.ix === value || value === 'Position') {\n return interfaceFunction.position;\n }\n\n if (shape.r.ix === value || value === 'Rotation' || value === 'ADBE Vector Rotation') {\n return interfaceFunction.rotation;\n }\n\n if (shape.s.ix === value || value === 'Scale') {\n return interfaceFunction.scale;\n }\n\n if (shape.sk && shape.sk.ix === value || value === 'Skew') {\n return interfaceFunction.skew;\n }\n\n if (shape.sa && shape.sa.ix === value || value === 'Skew Axis') {\n return interfaceFunction.skewAxis;\n }\n\n return null;\n }\n\n var _propertyGroup = propertyGroupFactory(interfaceFunction, propertyGroup);\n\n view.transform.mProps.o.setGroupProperty(PropertyInterface('Opacity', _propertyGroup));\n view.transform.mProps.p.setGroupProperty(PropertyInterface('Position', _propertyGroup));\n view.transform.mProps.a.setGroupProperty(PropertyInterface('Anchor Point', _propertyGroup));\n view.transform.mProps.s.setGroupProperty(PropertyInterface('Scale', _propertyGroup));\n view.transform.mProps.r.setGroupProperty(PropertyInterface('Rotation', _propertyGroup));\n\n if (view.transform.mProps.sk) {\n view.transform.mProps.sk.setGroupProperty(PropertyInterface('Skew', _propertyGroup));\n view.transform.mProps.sa.setGroupProperty(PropertyInterface('Skew Angle', _propertyGroup));\n }\n\n view.transform.op.setGroupProperty(PropertyInterface('Opacity', _propertyGroup));\n Object.defineProperties(interfaceFunction, {\n opacity: {\n get: ExpressionPropertyInterface(view.transform.mProps.o)\n },\n position: {\n get: ExpressionPropertyInterface(view.transform.mProps.p)\n },\n anchorPoint: {\n get: ExpressionPropertyInterface(view.transform.mProps.a)\n },\n scale: {\n get: ExpressionPropertyInterface(view.transform.mProps.s)\n },\n rotation: {\n get: ExpressionPropertyInterface(view.transform.mProps.r)\n },\n skew: {\n get: ExpressionPropertyInterface(view.transform.mProps.sk)\n },\n skewAxis: {\n get: ExpressionPropertyInterface(view.transform.mProps.sa)\n },\n _name: {\n value: shape.nm\n }\n });\n interfaceFunction.ty = 'tr';\n interfaceFunction.mn = shape.mn;\n interfaceFunction.propertyGroup = propertyGroup;\n return interfaceFunction;\n }\n\n function ellipseInterfaceFactory(shape, view, propertyGroup) {\n function interfaceFunction(value) {\n if (shape.p.ix === value) {\n return interfaceFunction.position;\n }\n\n if (shape.s.ix === value) {\n return interfaceFunction.size;\n }\n\n return null;\n }\n\n var _propertyGroup = propertyGroupFactory(interfaceFunction, propertyGroup);\n\n interfaceFunction.propertyIndex = shape.ix;\n var prop = view.sh.ty === 'tm' ? view.sh.prop : view.sh;\n prop.s.setGroupProperty(PropertyInterface('Size', _propertyGroup));\n prop.p.setGroupProperty(PropertyInterface('Position', _propertyGroup));\n Object.defineProperties(interfaceFunction, {\n size: {\n get: ExpressionPropertyInterface(prop.s)\n },\n position: {\n get: ExpressionPropertyInterface(prop.p)\n },\n _name: {\n value: shape.nm\n }\n });\n interfaceFunction.mn = shape.mn;\n return interfaceFunction;\n }\n\n function starInterfaceFactory(shape, view, propertyGroup) {\n function interfaceFunction(value) {\n if (shape.p.ix === value) {\n return interfaceFunction.position;\n }\n\n if (shape.r.ix === value) {\n return interfaceFunction.rotation;\n }\n\n if (shape.pt.ix === value) {\n return interfaceFunction.points;\n }\n\n if (shape.or.ix === value || value === 'ADBE Vector Star Outer Radius') {\n return interfaceFunction.outerRadius;\n }\n\n if (shape.os.ix === value) {\n return interfaceFunction.outerRoundness;\n }\n\n if (shape.ir && (shape.ir.ix === value || value === 'ADBE Vector Star Inner Radius')) {\n return interfaceFunction.innerRadius;\n }\n\n if (shape.is && shape.is.ix === value) {\n return interfaceFunction.innerRoundness;\n }\n\n return null;\n }\n\n var _propertyGroup = propertyGroupFactory(interfaceFunction, propertyGroup);\n\n var prop = view.sh.ty === 'tm' ? view.sh.prop : view.sh;\n interfaceFunction.propertyIndex = shape.ix;\n prop.or.setGroupProperty(PropertyInterface('Outer Radius', _propertyGroup));\n prop.os.setGroupProperty(PropertyInterface('Outer Roundness', _propertyGroup));\n prop.pt.setGroupProperty(PropertyInterface('Points', _propertyGroup));\n prop.p.setGroupProperty(PropertyInterface('Position', _propertyGroup));\n prop.r.setGroupProperty(PropertyInterface('Rotation', _propertyGroup));\n\n if (shape.ir) {\n prop.ir.setGroupProperty(PropertyInterface('Inner Radius', _propertyGroup));\n prop.is.setGroupProperty(PropertyInterface('Inner Roundness', _propertyGroup));\n }\n\n Object.defineProperties(interfaceFunction, {\n position: {\n get: ExpressionPropertyInterface(prop.p)\n },\n rotation: {\n get: ExpressionPropertyInterface(prop.r)\n },\n points: {\n get: ExpressionPropertyInterface(prop.pt)\n },\n outerRadius: {\n get: ExpressionPropertyInterface(prop.or)\n },\n outerRoundness: {\n get: ExpressionPropertyInterface(prop.os)\n },\n innerRadius: {\n get: ExpressionPropertyInterface(prop.ir)\n },\n innerRoundness: {\n get: ExpressionPropertyInterface(prop.is)\n },\n _name: {\n value: shape.nm\n }\n });\n interfaceFunction.mn = shape.mn;\n return interfaceFunction;\n }\n\n function rectInterfaceFactory(shape, view, propertyGroup) {\n function interfaceFunction(value) {\n if (shape.p.ix === value) {\n return interfaceFunction.position;\n }\n\n if (shape.r.ix === value) {\n return interfaceFunction.roundness;\n }\n\n if (shape.s.ix === value || value === 'Size' || value === 'ADBE Vector Rect Size') {\n return interfaceFunction.size;\n }\n\n return null;\n }\n\n var _propertyGroup = propertyGroupFactory(interfaceFunction, propertyGroup);\n\n var prop = view.sh.ty === 'tm' ? view.sh.prop : view.sh;\n interfaceFunction.propertyIndex = shape.ix;\n prop.p.setGroupProperty(PropertyInterface('Position', _propertyGroup));\n prop.s.setGroupProperty(PropertyInterface('Size', _propertyGroup));\n prop.r.setGroupProperty(PropertyInterface('Rotation', _propertyGroup));\n Object.defineProperties(interfaceFunction, {\n position: {\n get: ExpressionPropertyInterface(prop.p)\n },\n roundness: {\n get: ExpressionPropertyInterface(prop.r)\n },\n size: {\n get: ExpressionPropertyInterface(prop.s)\n },\n _name: {\n value: shape.nm\n }\n });\n interfaceFunction.mn = shape.mn;\n return interfaceFunction;\n }\n\n function roundedInterfaceFactory(shape, view, propertyGroup) {\n function interfaceFunction(value) {\n if (shape.r.ix === value || value === 'Round Corners 1') {\n return interfaceFunction.radius;\n }\n\n return null;\n }\n\n var _propertyGroup = propertyGroupFactory(interfaceFunction, propertyGroup);\n\n var prop = view;\n interfaceFunction.propertyIndex = shape.ix;\n prop.rd.setGroupProperty(PropertyInterface('Radius', _propertyGroup));\n Object.defineProperties(interfaceFunction, {\n radius: {\n get: ExpressionPropertyInterface(prop.rd)\n },\n _name: {\n value: shape.nm\n }\n });\n interfaceFunction.mn = shape.mn;\n return interfaceFunction;\n }\n\n function repeaterInterfaceFactory(shape, view, propertyGroup) {\n function interfaceFunction(value) {\n if (shape.c.ix === value || value === 'Copies') {\n return interfaceFunction.copies;\n }\n\n if (shape.o.ix === value || value === 'Offset') {\n return interfaceFunction.offset;\n }\n\n return null;\n }\n\n var _propertyGroup = propertyGroupFactory(interfaceFunction, propertyGroup);\n\n var prop = view;\n interfaceFunction.propertyIndex = shape.ix;\n prop.c.setGroupProperty(PropertyInterface('Copies', _propertyGroup));\n prop.o.setGroupProperty(PropertyInterface('Offset', _propertyGroup));\n Object.defineProperties(interfaceFunction, {\n copies: {\n get: ExpressionPropertyInterface(prop.c)\n },\n offset: {\n get: ExpressionPropertyInterface(prop.o)\n },\n _name: {\n value: shape.nm\n }\n });\n interfaceFunction.mn = shape.mn;\n return interfaceFunction;\n }\n\n return function (shapes, view, propertyGroup) {\n var interfaces;\n\n function _interfaceFunction(value) {\n if (typeof value === 'number') {\n value = value === undefined ? 1 : value;\n\n if (value === 0) {\n return propertyGroup;\n }\n\n return interfaces[value - 1];\n }\n\n var i = 0;\n var len = interfaces.length;\n\n while (i < len) {\n if (interfaces[i]._name === value) {\n return interfaces[i];\n }\n\n i += 1;\n }\n\n return null;\n }\n\n function parentGroupWrapper() {\n return propertyGroup;\n }\n\n _interfaceFunction.propertyGroup = propertyGroupFactory(_interfaceFunction, parentGroupWrapper);\n interfaces = iterateElements(shapes, view, _interfaceFunction.propertyGroup);\n _interfaceFunction.numProperties = interfaces.length;\n _interfaceFunction._name = 'Contents';\n return _interfaceFunction;\n };\n }();\n\n var TextExpressionInterface = function () {\n return function (elem) {\n var _sourceText;\n\n function _thisLayerFunction(name) {\n switch (name) {\n case 'ADBE Text Document':\n return _thisLayerFunction.sourceText;\n\n default:\n return null;\n }\n }\n\n Object.defineProperty(_thisLayerFunction, 'sourceText', {\n get: function get() {\n elem.textProperty.getValue();\n var stringValue = elem.textProperty.currentData.t;\n\n if (!_sourceText || stringValue !== _sourceText.value) {\n _sourceText = new String(stringValue); // eslint-disable-line no-new-wrappers\n // If stringValue is an empty string, eval returns undefined, so it has to be returned as a String primitive\n\n _sourceText.value = stringValue || new String(stringValue); // eslint-disable-line no-new-wrappers\n\n Object.defineProperty(_sourceText, 'style', {\n get: function get() {\n return {\n fillColor: elem.textProperty.currentData.fc\n };\n }\n });\n }\n\n return _sourceText;\n }\n });\n return _thisLayerFunction;\n };\n }();\n\n function _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\n var FootageInterface = function () {\n var outlineInterfaceFactory = function outlineInterfaceFactory(elem) {\n var currentPropertyName = '';\n var currentProperty = elem.getFootageData();\n\n function init() {\n currentPropertyName = '';\n currentProperty = elem.getFootageData();\n return searchProperty;\n }\n\n function searchProperty(value) {\n if (currentProperty[value]) {\n currentPropertyName = value;\n currentProperty = currentProperty[value];\n\n if (_typeof(currentProperty) === 'object') {\n return searchProperty;\n }\n\n return currentProperty;\n }\n\n var propertyNameIndex = value.indexOf(currentPropertyName);\n\n if (propertyNameIndex !== -1) {\n var index = parseInt(value.substr(propertyNameIndex + currentPropertyName.length), 10);\n currentProperty = currentProperty[index];\n\n if (_typeof(currentProperty) === 'object') {\n return searchProperty;\n }\n\n return currentProperty;\n }\n\n return '';\n }\n\n return init;\n };\n\n var dataInterfaceFactory = function dataInterfaceFactory(elem) {\n function interfaceFunction(value) {\n if (value === 'Outline') {\n return interfaceFunction.outlineInterface();\n }\n\n return null;\n }\n\n interfaceFunction._name = 'Outline';\n interfaceFunction.outlineInterface = outlineInterfaceFactory(elem);\n return interfaceFunction;\n };\n\n return function (elem) {\n function _interfaceFunction(value) {\n if (value === 'Data') {\n return _interfaceFunction.dataInterface;\n }\n\n return null;\n }\n\n _interfaceFunction._name = 'Data';\n _interfaceFunction.dataInterface = dataInterfaceFactory(elem);\n return _interfaceFunction;\n };\n }();\n\n var interfaces = {\n layer: LayerExpressionInterface,\n effects: EffectsExpressionInterface,\n comp: CompExpressionInterface,\n shape: ShapeExpressionInterface,\n text: TextExpressionInterface,\n footage: FootageInterface\n };\n\n function getInterface(type) {\n return interfaces[type] || null;\n }\n\n var expressionHelpers = function () {\n function searchExpressions(elem, data, prop) {\n if (data.x) {\n prop.k = true;\n prop.x = true;\n prop.initiateExpression = ExpressionManager.initiateExpression;\n prop.effectsSequence.push(prop.initiateExpression(elem, data, prop).bind(prop));\n }\n }\n\n function getValueAtTime(frameNum) {\n frameNum *= this.elem.globalData.frameRate;\n frameNum -= this.offsetTime;\n\n if (frameNum !== this._cachingAtTime.lastFrame) {\n this._cachingAtTime.lastIndex = this._cachingAtTime.lastFrame < frameNum ? this._cachingAtTime.lastIndex : 0;\n this._cachingAtTime.value = this.interpolateValue(frameNum, this._cachingAtTime);\n this._cachingAtTime.lastFrame = frameNum;\n }\n\n return this._cachingAtTime.value;\n }\n\n function getSpeedAtTime(frameNum) {\n var delta = -0.01;\n var v1 = this.getValueAtTime(frameNum);\n var v2 = this.getValueAtTime(frameNum + delta);\n var speed = 0;\n\n if (v1.length) {\n var i;\n\n for (i = 0; i < v1.length; i += 1) {\n speed += Math.pow(v2[i] - v1[i], 2);\n }\n\n speed = Math.sqrt(speed) * 100;\n } else {\n speed = 0;\n }\n\n return speed;\n }\n\n function getVelocityAtTime(frameNum) {\n if (this.vel !== undefined) {\n return this.vel;\n }\n\n var delta = -0.001; // frameNum += this.elem.data.st;\n\n var v1 = this.getValueAtTime(frameNum);\n var v2 = this.getValueAtTime(frameNum + delta);\n var velocity;\n\n if (v1.length) {\n velocity = createTypedArray('float32', v1.length);\n var i;\n\n for (i = 0; i < v1.length; i += 1) {\n // removing frameRate\n // if needed, don't add it here\n // velocity[i] = this.elem.globalData.frameRate*((v2[i] - v1[i])/delta);\n velocity[i] = (v2[i] - v1[i]) / delta;\n }\n } else {\n velocity = (v2 - v1) / delta;\n }\n\n return velocity;\n }\n\n function getStaticValueAtTime() {\n return this.pv;\n }\n\n function setGroupProperty(propertyGroup) {\n this.propertyGroup = propertyGroup;\n }\n\n return {\n searchExpressions: searchExpressions,\n getSpeedAtTime: getSpeedAtTime,\n getVelocityAtTime: getVelocityAtTime,\n getValueAtTime: getValueAtTime,\n getStaticValueAtTime: getStaticValueAtTime,\n setGroupProperty: setGroupProperty\n };\n }();\n\n function addPropertyDecorator() {\n function loopOut(type, duration, durationFlag) {\n if (!this.k || !this.keyframes) {\n return this.pv;\n }\n\n type = type ? type.toLowerCase() : '';\n var currentFrame = this.comp.renderedFrame;\n var keyframes = this.keyframes;\n var lastKeyFrame = keyframes[keyframes.length - 1].t;\n\n if (currentFrame <= lastKeyFrame) {\n return this.pv;\n }\n\n var cycleDuration;\n var firstKeyFrame;\n\n if (!durationFlag) {\n if (!duration || duration > keyframes.length - 1) {\n duration = keyframes.length - 1;\n }\n\n firstKeyFrame = keyframes[keyframes.length - 1 - duration].t;\n cycleDuration = lastKeyFrame - firstKeyFrame;\n } else {\n if (!duration) {\n cycleDuration = Math.max(0, lastKeyFrame - this.elem.data.ip);\n } else {\n cycleDuration = Math.abs(lastKeyFrame - this.elem.comp.globalData.frameRate * duration);\n }\n\n firstKeyFrame = lastKeyFrame - cycleDuration;\n }\n\n var i;\n var len;\n var ret;\n\n if (type === 'pingpong') {\n var iterations = Math.floor((currentFrame - firstKeyFrame) / cycleDuration);\n\n if (iterations % 2 !== 0) {\n return this.getValueAtTime((cycleDuration - (currentFrame - firstKeyFrame) % cycleDuration + firstKeyFrame) / this.comp.globalData.frameRate, 0); // eslint-disable-line\n }\n } else if (type === 'offset') {\n var initV = this.getValueAtTime(firstKeyFrame / this.comp.globalData.frameRate, 0);\n var endV = this.getValueAtTime(lastKeyFrame / this.comp.globalData.frameRate, 0);\n var current = this.getValueAtTime(((currentFrame - firstKeyFrame) % cycleDuration + firstKeyFrame) / this.comp.globalData.frameRate, 0); // eslint-disable-line\n\n var repeats = Math.floor((currentFrame - firstKeyFrame) / cycleDuration);\n\n if (this.pv.length) {\n ret = new Array(initV.length);\n len = ret.length;\n\n for (i = 0; i < len; i += 1) {\n ret[i] = (endV[i] - initV[i]) * repeats + current[i];\n }\n\n return ret;\n }\n\n return (endV - initV) * repeats + current;\n } else if (type === 'continue') {\n var lastValue = this.getValueAtTime(lastKeyFrame / this.comp.globalData.frameRate, 0);\n var nextLastValue = this.getValueAtTime((lastKeyFrame - 0.001) / this.comp.globalData.frameRate, 0);\n\n if (this.pv.length) {\n ret = new Array(lastValue.length);\n len = ret.length;\n\n for (i = 0; i < len; i += 1) {\n ret[i] = lastValue[i] + (lastValue[i] - nextLastValue[i]) * ((currentFrame - lastKeyFrame) / this.comp.globalData.frameRate) / 0.0005; // eslint-disable-line\n }\n\n return ret;\n }\n\n return lastValue + (lastValue - nextLastValue) * ((currentFrame - lastKeyFrame) / 0.001);\n }\n\n return this.getValueAtTime(((currentFrame - firstKeyFrame) % cycleDuration + firstKeyFrame) / this.comp.globalData.frameRate, 0); // eslint-disable-line\n }\n\n function loopIn(type, duration, durationFlag) {\n if (!this.k) {\n return this.pv;\n }\n\n type = type ? type.toLowerCase() : '';\n var currentFrame = this.comp.renderedFrame;\n var keyframes = this.keyframes;\n var firstKeyFrame = keyframes[0].t;\n\n if (currentFrame >= firstKeyFrame) {\n return this.pv;\n }\n\n var cycleDuration;\n var lastKeyFrame;\n\n if (!durationFlag) {\n if (!duration || duration > keyframes.length - 1) {\n duration = keyframes.length - 1;\n }\n\n lastKeyFrame = keyframes[duration].t;\n cycleDuration = lastKeyFrame - firstKeyFrame;\n } else {\n if (!duration) {\n cycleDuration = Math.max(0, this.elem.data.op - firstKeyFrame);\n } else {\n cycleDuration = Math.abs(this.elem.comp.globalData.frameRate * duration);\n }\n\n lastKeyFrame = firstKeyFrame + cycleDuration;\n }\n\n var i;\n var len;\n var ret;\n\n if (type === 'pingpong') {\n var iterations = Math.floor((firstKeyFrame - currentFrame) / cycleDuration);\n\n if (iterations % 2 === 0) {\n return this.getValueAtTime(((firstKeyFrame - currentFrame) % cycleDuration + firstKeyFrame) / this.comp.globalData.frameRate, 0); // eslint-disable-line\n }\n } else if (type === 'offset') {\n var initV = this.getValueAtTime(firstKeyFrame / this.comp.globalData.frameRate, 0);\n var endV = this.getValueAtTime(lastKeyFrame / this.comp.globalData.frameRate, 0);\n var current = this.getValueAtTime((cycleDuration - (firstKeyFrame - currentFrame) % cycleDuration + firstKeyFrame) / this.comp.globalData.frameRate, 0);\n var repeats = Math.floor((firstKeyFrame - currentFrame) / cycleDuration) + 1;\n\n if (this.pv.length) {\n ret = new Array(initV.length);\n len = ret.length;\n\n for (i = 0; i < len; i += 1) {\n ret[i] = current[i] - (endV[i] - initV[i]) * repeats;\n }\n\n return ret;\n }\n\n return current - (endV - initV) * repeats;\n } else if (type === 'continue') {\n var firstValue = this.getValueAtTime(firstKeyFrame / this.comp.globalData.frameRate, 0);\n var nextFirstValue = this.getValueAtTime((firstKeyFrame + 0.001) / this.comp.globalData.frameRate, 0);\n\n if (this.pv.length) {\n ret = new Array(firstValue.length);\n len = ret.length;\n\n for (i = 0; i < len; i += 1) {\n ret[i] = firstValue[i] + (firstValue[i] - nextFirstValue[i]) * (firstKeyFrame - currentFrame) / 0.001;\n }\n\n return ret;\n }\n\n return firstValue + (firstValue - nextFirstValue) * (firstKeyFrame - currentFrame) / 0.001;\n }\n\n return this.getValueAtTime((cycleDuration - ((firstKeyFrame - currentFrame) % cycleDuration + firstKeyFrame)) / this.comp.globalData.frameRate, 0); // eslint-disable-line\n }\n\n function smooth(width, samples) {\n if (!this.k) {\n return this.pv;\n }\n\n width = (width || 0.4) * 0.5;\n samples = Math.floor(samples || 5);\n\n if (samples <= 1) {\n return this.pv;\n }\n\n var currentTime = this.comp.renderedFrame / this.comp.globalData.frameRate;\n var initFrame = currentTime - width;\n var endFrame = currentTime + width;\n var sampleFrequency = samples > 1 ? (endFrame - initFrame) / (samples - 1) : 1;\n var i = 0;\n var j = 0;\n var value;\n\n if (this.pv.length) {\n value = createTypedArray('float32', this.pv.length);\n } else {\n value = 0;\n }\n\n var sampleValue;\n\n while (i < samples) {\n sampleValue = this.getValueAtTime(initFrame + i * sampleFrequency);\n\n if (this.pv.length) {\n for (j = 0; j < this.pv.length; j += 1) {\n value[j] += sampleValue[j];\n }\n } else {\n value += sampleValue;\n }\n\n i += 1;\n }\n\n if (this.pv.length) {\n for (j = 0; j < this.pv.length; j += 1) {\n value[j] /= samples;\n }\n } else {\n value /= samples;\n }\n\n return value;\n }\n\n function getTransformValueAtTime(time) {\n if (!this._transformCachingAtTime) {\n this._transformCachingAtTime = {\n v: new Matrix()\n };\n } /// /\n\n\n var matrix = this._transformCachingAtTime.v;\n matrix.cloneFromProps(this.pre.props);\n\n if (this.appliedTransformations < 1) {\n var anchor = this.a.getValueAtTime(time);\n matrix.translate(-anchor[0] * this.a.mult, -anchor[1] * this.a.mult, anchor[2] * this.a.mult);\n }\n\n if (this.appliedTransformations < 2) {\n var scale = this.s.getValueAtTime(time);\n matrix.scale(scale[0] * this.s.mult, scale[1] * this.s.mult, scale[2] * this.s.mult);\n }\n\n if (this.sk && this.appliedTransformations < 3) {\n var skew = this.sk.getValueAtTime(time);\n var skewAxis = this.sa.getValueAtTime(time);\n matrix.skewFromAxis(-skew * this.sk.mult, skewAxis * this.sa.mult);\n }\n\n if (this.r && this.appliedTransformations < 4) {\n var rotation = this.r.getValueAtTime(time);\n matrix.rotate(-rotation * this.r.mult);\n } else if (!this.r && this.appliedTransformations < 4) {\n var rotationZ = this.rz.getValueAtTime(time);\n var rotationY = this.ry.getValueAtTime(time);\n var rotationX = this.rx.getValueAtTime(time);\n var orientation = this.or.getValueAtTime(time);\n matrix.rotateZ(-rotationZ * this.rz.mult).rotateY(rotationY * this.ry.mult).rotateX(rotationX * this.rx.mult).rotateZ(-orientation[2] * this.or.mult).rotateY(orientation[1] * this.or.mult).rotateX(orientation[0] * this.or.mult);\n }\n\n if (this.data.p && this.data.p.s) {\n var positionX = this.px.getValueAtTime(time);\n var positionY = this.py.getValueAtTime(time);\n\n if (this.data.p.z) {\n var positionZ = this.pz.getValueAtTime(time);\n matrix.translate(positionX * this.px.mult, positionY * this.py.mult, -positionZ * this.pz.mult);\n } else {\n matrix.translate(positionX * this.px.mult, positionY * this.py.mult, 0);\n }\n } else {\n var position = this.p.getValueAtTime(time);\n matrix.translate(position[0] * this.p.mult, position[1] * this.p.mult, -position[2] * this.p.mult);\n }\n\n return matrix; /// /\n }\n\n function getTransformStaticValueAtTime() {\n return this.v.clone(new Matrix());\n }\n\n var getTransformProperty = TransformPropertyFactory.getTransformProperty;\n\n TransformPropertyFactory.getTransformProperty = function (elem, data, container) {\n var prop = getTransformProperty(elem, data, container);\n\n if (prop.dynamicProperties.length) {\n prop.getValueAtTime = getTransformValueAtTime.bind(prop);\n } else {\n prop.getValueAtTime = getTransformStaticValueAtTime.bind(prop);\n }\n\n prop.setGroupProperty = expressionHelpers.setGroupProperty;\n return prop;\n };\n\n var propertyGetProp = PropertyFactory.getProp;\n\n PropertyFactory.getProp = function (elem, data, type, mult, container) {\n var prop = propertyGetProp(elem, data, type, mult, container); // prop.getVelocityAtTime = getVelocityAtTime;\n // prop.loopOut = loopOut;\n // prop.loopIn = loopIn;\n\n if (prop.kf) {\n prop.getValueAtTime = expressionHelpers.getValueAtTime.bind(prop);\n } else {\n prop.getValueAtTime = expressionHelpers.getStaticValueAtTime.bind(prop);\n }\n\n prop.setGroupProperty = expressionHelpers.setGroupProperty;\n prop.loopOut = loopOut;\n prop.loopIn = loopIn;\n prop.smooth = smooth;\n prop.getVelocityAtTime = expressionHelpers.getVelocityAtTime.bind(prop);\n prop.getSpeedAtTime = expressionHelpers.getSpeedAtTime.bind(prop);\n prop.numKeys = data.a === 1 ? data.k.length : 0;\n prop.propertyIndex = data.ix;\n var value = 0;\n\n if (type !== 0) {\n value = createTypedArray('float32', data.a === 1 ? data.k[0].s.length : data.k.length);\n }\n\n prop._cachingAtTime = {\n lastFrame: initialDefaultFrame,\n lastIndex: 0,\n value: value\n };\n expressionHelpers.searchExpressions(elem, data, prop);\n\n if (prop.k) {\n container.addDynamicProperty(prop);\n }\n\n return prop;\n };\n\n function getShapeValueAtTime(frameNum) {\n // For now this caching object is created only when needed instead of creating it when the shape is initialized.\n if (!this._cachingAtTime) {\n this._cachingAtTime = {\n shapeValue: shapePool.clone(this.pv),\n lastIndex: 0,\n lastTime: initialDefaultFrame\n };\n }\n\n frameNum *= this.elem.globalData.frameRate;\n frameNum -= this.offsetTime;\n\n if (frameNum !== this._cachingAtTime.lastTime) {\n this._cachingAtTime.lastIndex = this._cachingAtTime.lastTime < frameNum ? this._caching.lastIndex : 0;\n this._cachingAtTime.lastTime = frameNum;\n this.interpolateShape(frameNum, this._cachingAtTime.shapeValue, this._cachingAtTime);\n }\n\n return this._cachingAtTime.shapeValue;\n }\n\n var ShapePropertyConstructorFunction = ShapePropertyFactory.getConstructorFunction();\n var KeyframedShapePropertyConstructorFunction = ShapePropertyFactory.getKeyframedConstructorFunction();\n\n function ShapeExpressions() {}\n\n ShapeExpressions.prototype = {\n vertices: function vertices(prop, time) {\n if (this.k) {\n this.getValue();\n }\n\n var shapePath = this.v;\n\n if (time !== undefined) {\n shapePath = this.getValueAtTime(time, 0);\n }\n\n var i;\n var len = shapePath._length;\n var vertices = shapePath[prop];\n var points = shapePath.v;\n var arr = createSizedArray(len);\n\n for (i = 0; i < len; i += 1) {\n if (prop === 'i' || prop === 'o') {\n arr[i] = [vertices[i][0] - points[i][0], vertices[i][1] - points[i][1]];\n } else {\n arr[i] = [vertices[i][0], vertices[i][1]];\n }\n }\n\n return arr;\n },\n points: function points(time) {\n return this.vertices('v', time);\n },\n inTangents: function inTangents(time) {\n return this.vertices('i', time);\n },\n outTangents: function outTangents(time) {\n return this.vertices('o', time);\n },\n isClosed: function isClosed() {\n return this.v.c;\n },\n pointOnPath: function pointOnPath(perc, time) {\n var shapePath = this.v;\n\n if (time !== undefined) {\n shapePath = this.getValueAtTime(time, 0);\n }\n\n if (!this._segmentsLength) {\n this._segmentsLength = bez.getSegmentsLength(shapePath);\n }\n\n var segmentsLength = this._segmentsLength;\n var lengths = segmentsLength.lengths;\n var lengthPos = segmentsLength.totalLength * perc;\n var i = 0;\n var len = lengths.length;\n var accumulatedLength = 0;\n var pt;\n\n while (i < len) {\n if (accumulatedLength + lengths[i].addedLength > lengthPos) {\n var initIndex = i;\n var endIndex = shapePath.c && i === len - 1 ? 0 : i + 1;\n var segmentPerc = (lengthPos - accumulatedLength) / lengths[i].addedLength;\n pt = bez.getPointInSegment(shapePath.v[initIndex], shapePath.v[endIndex], shapePath.o[initIndex], shapePath.i[endIndex], segmentPerc, lengths[i]);\n break;\n } else {\n accumulatedLength += lengths[i].addedLength;\n }\n\n i += 1;\n }\n\n if (!pt) {\n pt = shapePath.c ? [shapePath.v[0][0], shapePath.v[0][1]] : [shapePath.v[shapePath._length - 1][0], shapePath.v[shapePath._length - 1][1]];\n }\n\n return pt;\n },\n vectorOnPath: function vectorOnPath(perc, time, vectorType) {\n // perc doesn't use triple equality because it can be a Number object as well as a primitive.\n if (perc == 1) {\n // eslint-disable-line eqeqeq\n perc = this.v.c;\n } else if (perc == 0) {\n // eslint-disable-line eqeqeq\n perc = 0.999;\n }\n\n var pt1 = this.pointOnPath(perc, time);\n var pt2 = this.pointOnPath(perc + 0.001, time);\n var xLength = pt2[0] - pt1[0];\n var yLength = pt2[1] - pt1[1];\n var magnitude = Math.sqrt(Math.pow(xLength, 2) + Math.pow(yLength, 2));\n\n if (magnitude === 0) {\n return [0, 0];\n }\n\n var unitVector = vectorType === 'tangent' ? [xLength / magnitude, yLength / magnitude] : [-yLength / magnitude, xLength / magnitude];\n return unitVector;\n },\n tangentOnPath: function tangentOnPath(perc, time) {\n return this.vectorOnPath(perc, time, 'tangent');\n },\n normalOnPath: function normalOnPath(perc, time) {\n return this.vectorOnPath(perc, time, 'normal');\n },\n setGroupProperty: expressionHelpers.setGroupProperty,\n getValueAtTime: expressionHelpers.getStaticValueAtTime\n };\n extendPrototype([ShapeExpressions], ShapePropertyConstructorFunction);\n extendPrototype([ShapeExpressions], KeyframedShapePropertyConstructorFunction);\n KeyframedShapePropertyConstructorFunction.prototype.getValueAtTime = getShapeValueAtTime;\n KeyframedShapePropertyConstructorFunction.prototype.initiateExpression = ExpressionManager.initiateExpression;\n var propertyGetShapeProp = ShapePropertyFactory.getShapeProp;\n\n ShapePropertyFactory.getShapeProp = function (elem, data, type, arr, trims) {\n var prop = propertyGetShapeProp(elem, data, type, arr, trims);\n prop.propertyIndex = data.ix;\n prop.lock = false;\n\n if (type === 3) {\n expressionHelpers.searchExpressions(elem, data.pt, prop);\n } else if (type === 4) {\n expressionHelpers.searchExpressions(elem, data.ks, prop);\n }\n\n if (prop.k) {\n elem.addDynamicProperty(prop);\n }\n\n return prop;\n };\n }\n\n function initialize$1() {\n addPropertyDecorator();\n }\n\n function addDecorator() {\n function searchExpressions() {\n if (this.data.d.x) {\n this.calculateExpression = ExpressionManager.initiateExpression.bind(this)(this.elem, this.data.d, this);\n this.addEffect(this.getExpressionValue.bind(this));\n return true;\n }\n\n return null;\n }\n\n TextProperty.prototype.getExpressionValue = function (currentValue, text) {\n var newValue = this.calculateExpression(text);\n\n if (currentValue.t !== newValue) {\n var newData = {};\n this.copyData(newData, currentValue);\n newData.t = newValue.toString();\n newData.__complete = false;\n return newData;\n }\n\n return currentValue;\n };\n\n TextProperty.prototype.searchProperty = function () {\n var isKeyframed = this.searchKeyframes();\n var hasExpressions = this.searchExpressions();\n this.kf = isKeyframed || hasExpressions;\n return this.kf;\n };\n\n TextProperty.prototype.searchExpressions = searchExpressions;\n }\n\n function initialize() {\n addDecorator();\n }\n\n function SVGComposableEffect() {}\n\n SVGComposableEffect.prototype = {\n createMergeNode: function createMergeNode(resultId, ins) {\n var feMerge = createNS('feMerge');\n feMerge.setAttribute('result', resultId);\n var feMergeNode;\n var i;\n\n for (i = 0; i < ins.length; i += 1) {\n feMergeNode = createNS('feMergeNode');\n feMergeNode.setAttribute('in', ins[i]);\n feMerge.appendChild(feMergeNode);\n feMerge.appendChild(feMergeNode);\n }\n\n return feMerge;\n }\n };\n\n var linearFilterValue = '0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0';\n\n function SVGTintFilter(filter, filterManager, elem, id, source) {\n this.filterManager = filterManager;\n var feColorMatrix = createNS('feColorMatrix');\n feColorMatrix.setAttribute('type', 'matrix');\n feColorMatrix.setAttribute('color-interpolation-filters', 'linearRGB');\n feColorMatrix.setAttribute('values', linearFilterValue + ' 1 0');\n this.linearFilter = feColorMatrix;\n feColorMatrix.setAttribute('result', id + '_tint_1');\n filter.appendChild(feColorMatrix);\n feColorMatrix = createNS('feColorMatrix');\n feColorMatrix.setAttribute('type', 'matrix');\n feColorMatrix.setAttribute('color-interpolation-filters', 'sRGB');\n feColorMatrix.setAttribute('values', '1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0');\n feColorMatrix.setAttribute('result', id + '_tint_2');\n filter.appendChild(feColorMatrix);\n this.matrixFilter = feColorMatrix;\n var feMerge = this.createMergeNode(id, [source, id + '_tint_1', id + '_tint_2']);\n filter.appendChild(feMerge);\n }\n\n extendPrototype([SVGComposableEffect], SVGTintFilter);\n\n SVGTintFilter.prototype.renderFrame = function (forceRender) {\n if (forceRender || this.filterManager._mdf) {\n var colorBlack = this.filterManager.effectElements[0].p.v;\n var colorWhite = this.filterManager.effectElements[1].p.v;\n var opacity = this.filterManager.effectElements[2].p.v / 100;\n this.linearFilter.setAttribute('values', linearFilterValue + ' ' + opacity + ' 0');\n this.matrixFilter.setAttribute('values', colorWhite[0] - colorBlack[0] + ' 0 0 0 ' + colorBlack[0] + ' ' + (colorWhite[1] - colorBlack[1]) + ' 0 0 0 ' + colorBlack[1] + ' ' + (colorWhite[2] - colorBlack[2]) + ' 0 0 0 ' + colorBlack[2] + ' 0 0 0 1 0');\n }\n };\n\n function SVGFillFilter(filter, filterManager, elem, id) {\n this.filterManager = filterManager;\n var feColorMatrix = createNS('feColorMatrix');\n feColorMatrix.setAttribute('type', 'matrix');\n feColorMatrix.setAttribute('color-interpolation-filters', 'sRGB');\n feColorMatrix.setAttribute('values', '1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0');\n feColorMatrix.setAttribute('result', id);\n filter.appendChild(feColorMatrix);\n this.matrixFilter = feColorMatrix;\n }\n\n SVGFillFilter.prototype.renderFrame = function (forceRender) {\n if (forceRender || this.filterManager._mdf) {\n var color = this.filterManager.effectElements[2].p.v;\n var opacity = this.filterManager.effectElements[6].p.v;\n this.matrixFilter.setAttribute('values', '0 0 0 0 ' + color[0] + ' 0 0 0 0 ' + color[1] + ' 0 0 0 0 ' + color[2] + ' 0 0 0 ' + opacity + ' 0');\n }\n };\n\n function SVGStrokeEffect(fil, filterManager, elem) {\n this.initialized = false;\n this.filterManager = filterManager;\n this.elem = elem;\n this.paths = [];\n }\n\n SVGStrokeEffect.prototype.initialize = function () {\n var elemChildren = this.elem.layerElement.children || this.elem.layerElement.childNodes;\n var path;\n var groupPath;\n var i;\n var len;\n\n if (this.filterManager.effectElements[1].p.v === 1) {\n len = this.elem.maskManager.masksProperties.length;\n i = 0;\n } else {\n i = this.filterManager.effectElements[0].p.v - 1;\n len = i + 1;\n }\n\n groupPath = createNS('g');\n groupPath.setAttribute('fill', 'none');\n groupPath.setAttribute('stroke-linecap', 'round');\n groupPath.setAttribute('stroke-dashoffset', 1);\n\n for (i; i < len; i += 1) {\n path = createNS('path');\n groupPath.appendChild(path);\n this.paths.push({\n p: path,\n m: i\n });\n }\n\n if (this.filterManager.effectElements[10].p.v === 3) {\n var mask = createNS('mask');\n var id = createElementID();\n mask.setAttribute('id', id);\n mask.setAttribute('mask-type', 'alpha');\n mask.appendChild(groupPath);\n this.elem.globalData.defs.appendChild(mask);\n var g = createNS('g');\n g.setAttribute('mask', 'url(' + getLocationHref() + '#' + id + ')');\n\n while (elemChildren[0]) {\n g.appendChild(elemChildren[0]);\n }\n\n this.elem.layerElement.appendChild(g);\n this.masker = mask;\n groupPath.setAttribute('stroke', '#fff');\n } else if (this.filterManager.effectElements[10].p.v === 1 || this.filterManager.effectElements[10].p.v === 2) {\n if (this.filterManager.effectElements[10].p.v === 2) {\n elemChildren = this.elem.layerElement.children || this.elem.layerElement.childNodes;\n\n while (elemChildren.length) {\n this.elem.layerElement.removeChild(elemChildren[0]);\n }\n }\n\n this.elem.layerElement.appendChild(groupPath);\n this.elem.layerElement.removeAttribute('mask');\n groupPath.setAttribute('stroke', '#fff');\n }\n\n this.initialized = true;\n this.pathMasker = groupPath;\n };\n\n SVGStrokeEffect.prototype.renderFrame = function (forceRender) {\n if (!this.initialized) {\n this.initialize();\n }\n\n var i;\n var len = this.paths.length;\n var mask;\n var path;\n\n for (i = 0; i < len; i += 1) {\n if (this.paths[i].m !== -1) {\n mask = this.elem.maskManager.viewData[this.paths[i].m];\n path = this.paths[i].p;\n\n if (forceRender || this.filterManager._mdf || mask.prop._mdf) {\n path.setAttribute('d', mask.lastPath);\n }\n\n if (forceRender || this.filterManager.effectElements[9].p._mdf || this.filterManager.effectElements[4].p._mdf || this.filterManager.effectElements[7].p._mdf || this.filterManager.effectElements[8].p._mdf || mask.prop._mdf) {\n var dasharrayValue;\n\n if (this.filterManager.effectElements[7].p.v !== 0 || this.filterManager.effectElements[8].p.v !== 100) {\n var s = Math.min(this.filterManager.effectElements[7].p.v, this.filterManager.effectElements[8].p.v) * 0.01;\n var e = Math.max(this.filterManager.effectElements[7].p.v, this.filterManager.effectElements[8].p.v) * 0.01;\n var l = path.getTotalLength();\n dasharrayValue = '0 0 0 ' + l * s + ' ';\n var lineLength = l * (e - s);\n var segment = 1 + this.filterManager.effectElements[4].p.v * 2 * this.filterManager.effectElements[9].p.v * 0.01;\n var units = Math.floor(lineLength / segment);\n var j;\n\n for (j = 0; j < units; j += 1) {\n dasharrayValue += '1 ' + this.filterManager.effectElements[4].p.v * 2 * this.filterManager.effectElements[9].p.v * 0.01 + ' ';\n }\n\n dasharrayValue += '0 ' + l * 10 + ' 0 0';\n } else {\n dasharrayValue = '1 ' + this.filterManager.effectElements[4].p.v * 2 * this.filterManager.effectElements[9].p.v * 0.01;\n }\n\n path.setAttribute('stroke-dasharray', dasharrayValue);\n }\n }\n }\n\n if (forceRender || this.filterManager.effectElements[4].p._mdf) {\n this.pathMasker.setAttribute('stroke-width', this.filterManager.effectElements[4].p.v * 2);\n }\n\n if (forceRender || this.filterManager.effectElements[6].p._mdf) {\n this.pathMasker.setAttribute('opacity', this.filterManager.effectElements[6].p.v);\n }\n\n if (this.filterManager.effectElements[10].p.v === 1 || this.filterManager.effectElements[10].p.v === 2) {\n if (forceRender || this.filterManager.effectElements[3].p._mdf) {\n var color = this.filterManager.effectElements[3].p.v;\n this.pathMasker.setAttribute('stroke', 'rgb(' + bmFloor(color[0] * 255) + ',' + bmFloor(color[1] * 255) + ',' + bmFloor(color[2] * 255) + ')');\n }\n }\n };\n\n function SVGTritoneFilter(filter, filterManager, elem, id) {\n this.filterManager = filterManager;\n var feColorMatrix = createNS('feColorMatrix');\n feColorMatrix.setAttribute('type', 'matrix');\n feColorMatrix.setAttribute('color-interpolation-filters', 'linearRGB');\n feColorMatrix.setAttribute('values', '0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0');\n filter.appendChild(feColorMatrix);\n var feComponentTransfer = createNS('feComponentTransfer');\n feComponentTransfer.setAttribute('color-interpolation-filters', 'sRGB');\n feComponentTransfer.setAttribute('result', id);\n this.matrixFilter = feComponentTransfer;\n var feFuncR = createNS('feFuncR');\n feFuncR.setAttribute('type', 'table');\n feComponentTransfer.appendChild(feFuncR);\n this.feFuncR = feFuncR;\n var feFuncG = createNS('feFuncG');\n feFuncG.setAttribute('type', 'table');\n feComponentTransfer.appendChild(feFuncG);\n this.feFuncG = feFuncG;\n var feFuncB = createNS('feFuncB');\n feFuncB.setAttribute('type', 'table');\n feComponentTransfer.appendChild(feFuncB);\n this.feFuncB = feFuncB;\n filter.appendChild(feComponentTransfer);\n }\n\n SVGTritoneFilter.prototype.renderFrame = function (forceRender) {\n if (forceRender || this.filterManager._mdf) {\n var color1 = this.filterManager.effectElements[0].p.v;\n var color2 = this.filterManager.effectElements[1].p.v;\n var color3 = this.filterManager.effectElements[2].p.v;\n var tableR = color3[0] + ' ' + color2[0] + ' ' + color1[0];\n var tableG = color3[1] + ' ' + color2[1] + ' ' + color1[1];\n var tableB = color3[2] + ' ' + color2[2] + ' ' + color1[2];\n this.feFuncR.setAttribute('tableValues', tableR);\n this.feFuncG.setAttribute('tableValues', tableG);\n this.feFuncB.setAttribute('tableValues', tableB);\n }\n };\n\n function SVGProLevelsFilter(filter, filterManager, elem, id) {\n this.filterManager = filterManager;\n var effectElements = this.filterManager.effectElements;\n var feComponentTransfer = createNS('feComponentTransfer'); // Red\n\n if (effectElements[10].p.k || effectElements[10].p.v !== 0 || effectElements[11].p.k || effectElements[11].p.v !== 1 || effectElements[12].p.k || effectElements[12].p.v !== 1 || effectElements[13].p.k || effectElements[13].p.v !== 0 || effectElements[14].p.k || effectElements[14].p.v !== 1) {\n this.feFuncR = this.createFeFunc('feFuncR', feComponentTransfer);\n } // Green\n\n\n if (effectElements[17].p.k || effectElements[17].p.v !== 0 || effectElements[18].p.k || effectElements[18].p.v !== 1 || effectElements[19].p.k || effectElements[19].p.v !== 1 || effectElements[20].p.k || effectElements[20].p.v !== 0 || effectElements[21].p.k || effectElements[21].p.v !== 1) {\n this.feFuncG = this.createFeFunc('feFuncG', feComponentTransfer);\n } // Blue\n\n\n if (effectElements[24].p.k || effectElements[24].p.v !== 0 || effectElements[25].p.k || effectElements[25].p.v !== 1 || effectElements[26].p.k || effectElements[26].p.v !== 1 || effectElements[27].p.k || effectElements[27].p.v !== 0 || effectElements[28].p.k || effectElements[28].p.v !== 1) {\n this.feFuncB = this.createFeFunc('feFuncB', feComponentTransfer);\n } // Alpha\n\n\n if (effectElements[31].p.k || effectElements[31].p.v !== 0 || effectElements[32].p.k || effectElements[32].p.v !== 1 || effectElements[33].p.k || effectElements[33].p.v !== 1 || effectElements[34].p.k || effectElements[34].p.v !== 0 || effectElements[35].p.k || effectElements[35].p.v !== 1) {\n this.feFuncA = this.createFeFunc('feFuncA', feComponentTransfer);\n } // RGB\n\n\n if (this.feFuncR || this.feFuncG || this.feFuncB || this.feFuncA) {\n feComponentTransfer.setAttribute('color-interpolation-filters', 'sRGB');\n filter.appendChild(feComponentTransfer);\n }\n\n if (effectElements[3].p.k || effectElements[3].p.v !== 0 || effectElements[4].p.k || effectElements[4].p.v !== 1 || effectElements[5].p.k || effectElements[5].p.v !== 1 || effectElements[6].p.k || effectElements[6].p.v !== 0 || effectElements[7].p.k || effectElements[7].p.v !== 1) {\n feComponentTransfer = createNS('feComponentTransfer');\n feComponentTransfer.setAttribute('color-interpolation-filters', 'sRGB');\n feComponentTransfer.setAttribute('result', id);\n filter.appendChild(feComponentTransfer);\n this.feFuncRComposed = this.createFeFunc('feFuncR', feComponentTransfer);\n this.feFuncGComposed = this.createFeFunc('feFuncG', feComponentTransfer);\n this.feFuncBComposed = this.createFeFunc('feFuncB', feComponentTransfer);\n }\n }\n\n SVGProLevelsFilter.prototype.createFeFunc = function (type, feComponentTransfer) {\n var feFunc = createNS(type);\n feFunc.setAttribute('type', 'table');\n feComponentTransfer.appendChild(feFunc);\n return feFunc;\n };\n\n SVGProLevelsFilter.prototype.getTableValue = function (inputBlack, inputWhite, gamma, outputBlack, outputWhite) {\n var cnt = 0;\n var segments = 256;\n var perc;\n var min = Math.min(inputBlack, inputWhite);\n var max = Math.max(inputBlack, inputWhite);\n var table = Array.call(null, {\n length: segments\n });\n var colorValue;\n var pos = 0;\n var outputDelta = outputWhite - outputBlack;\n var inputDelta = inputWhite - inputBlack;\n\n while (cnt <= 256) {\n perc = cnt / 256;\n\n if (perc <= min) {\n colorValue = inputDelta < 0 ? outputWhite : outputBlack;\n } else if (perc >= max) {\n colorValue = inputDelta < 0 ? outputBlack : outputWhite;\n } else {\n colorValue = outputBlack + outputDelta * Math.pow((perc - inputBlack) / inputDelta, 1 / gamma);\n }\n\n table[pos] = colorValue;\n pos += 1;\n cnt += 256 / (segments - 1);\n }\n\n return table.join(' ');\n };\n\n SVGProLevelsFilter.prototype.renderFrame = function (forceRender) {\n if (forceRender || this.filterManager._mdf) {\n var val;\n var effectElements = this.filterManager.effectElements;\n\n if (this.feFuncRComposed && (forceRender || effectElements[3].p._mdf || effectElements[4].p._mdf || effectElements[5].p._mdf || effectElements[6].p._mdf || effectElements[7].p._mdf)) {\n val = this.getTableValue(effectElements[3].p.v, effectElements[4].p.v, effectElements[5].p.v, effectElements[6].p.v, effectElements[7].p.v);\n this.feFuncRComposed.setAttribute('tableValues', val);\n this.feFuncGComposed.setAttribute('tableValues', val);\n this.feFuncBComposed.setAttribute('tableValues', val);\n }\n\n if (this.feFuncR && (forceRender || effectElements[10].p._mdf || effectElements[11].p._mdf || effectElements[12].p._mdf || effectElements[13].p._mdf || effectElements[14].p._mdf)) {\n val = this.getTableValue(effectElements[10].p.v, effectElements[11].p.v, effectElements[12].p.v, effectElements[13].p.v, effectElements[14].p.v);\n this.feFuncR.setAttribute('tableValues', val);\n }\n\n if (this.feFuncG && (forceRender || effectElements[17].p._mdf || effectElements[18].p._mdf || effectElements[19].p._mdf || effectElements[20].p._mdf || effectElements[21].p._mdf)) {\n val = this.getTableValue(effectElements[17].p.v, effectElements[18].p.v, effectElements[19].p.v, effectElements[20].p.v, effectElements[21].p.v);\n this.feFuncG.setAttribute('tableValues', val);\n }\n\n if (this.feFuncB && (forceRender || effectElements[24].p._mdf || effectElements[25].p._mdf || effectElements[26].p._mdf || effectElements[27].p._mdf || effectElements[28].p._mdf)) {\n val = this.getTableValue(effectElements[24].p.v, effectElements[25].p.v, effectElements[26].p.v, effectElements[27].p.v, effectElements[28].p.v);\n this.feFuncB.setAttribute('tableValues', val);\n }\n\n if (this.feFuncA && (forceRender || effectElements[31].p._mdf || effectElements[32].p._mdf || effectElements[33].p._mdf || effectElements[34].p._mdf || effectElements[35].p._mdf)) {\n val = this.getTableValue(effectElements[31].p.v, effectElements[32].p.v, effectElements[33].p.v, effectElements[34].p.v, effectElements[35].p.v);\n this.feFuncA.setAttribute('tableValues', val);\n }\n }\n };\n\n function SVGDropShadowEffect(filter, filterManager, elem, id, source) {\n var globalFilterSize = filterManager.container.globalData.renderConfig.filterSize;\n var filterSize = filterManager.data.fs || globalFilterSize;\n filter.setAttribute('x', filterSize.x || globalFilterSize.x);\n filter.setAttribute('y', filterSize.y || globalFilterSize.y);\n filter.setAttribute('width', filterSize.width || globalFilterSize.width);\n filter.setAttribute('height', filterSize.height || globalFilterSize.height);\n this.filterManager = filterManager;\n var feGaussianBlur = createNS('feGaussianBlur');\n feGaussianBlur.setAttribute('in', 'SourceAlpha');\n feGaussianBlur.setAttribute('result', id + '_drop_shadow_1');\n feGaussianBlur.setAttribute('stdDeviation', '0');\n this.feGaussianBlur = feGaussianBlur;\n filter.appendChild(feGaussianBlur);\n var feOffset = createNS('feOffset');\n feOffset.setAttribute('dx', '25');\n feOffset.setAttribute('dy', '0');\n feOffset.setAttribute('in', id + '_drop_shadow_1');\n feOffset.setAttribute('result', id + '_drop_shadow_2');\n this.feOffset = feOffset;\n filter.appendChild(feOffset);\n var feFlood = createNS('feFlood');\n feFlood.setAttribute('flood-color', '#00ff00');\n feFlood.setAttribute('flood-opacity', '1');\n feFlood.setAttribute('result', id + '_drop_shadow_3');\n this.feFlood = feFlood;\n filter.appendChild(feFlood);\n var feComposite = createNS('feComposite');\n feComposite.setAttribute('in', id + '_drop_shadow_3');\n feComposite.setAttribute('in2', id + '_drop_shadow_2');\n feComposite.setAttribute('operator', 'in');\n feComposite.setAttribute('result', id + '_drop_shadow_4');\n filter.appendChild(feComposite);\n var feMerge = this.createMergeNode(id, [id + '_drop_shadow_4', source]);\n filter.appendChild(feMerge); //\n }\n\n extendPrototype([SVGComposableEffect], SVGDropShadowEffect);\n\n SVGDropShadowEffect.prototype.renderFrame = function (forceRender) {\n if (forceRender || this.filterManager._mdf) {\n if (forceRender || this.filterManager.effectElements[4].p._mdf) {\n this.feGaussianBlur.setAttribute('stdDeviation', this.filterManager.effectElements[4].p.v / 4);\n }\n\n if (forceRender || this.filterManager.effectElements[0].p._mdf) {\n var col = this.filterManager.effectElements[0].p.v;\n this.feFlood.setAttribute('flood-color', rgbToHex(Math.round(col[0] * 255), Math.round(col[1] * 255), Math.round(col[2] * 255)));\n }\n\n if (forceRender || this.filterManager.effectElements[1].p._mdf) {\n this.feFlood.setAttribute('flood-opacity', this.filterManager.effectElements[1].p.v / 255);\n }\n\n if (forceRender || this.filterManager.effectElements[2].p._mdf || this.filterManager.effectElements[3].p._mdf) {\n var distance = this.filterManager.effectElements[3].p.v;\n var angle = (this.filterManager.effectElements[2].p.v - 90) * degToRads;\n var x = distance * Math.cos(angle);\n var y = distance * Math.sin(angle);\n this.feOffset.setAttribute('dx', x);\n this.feOffset.setAttribute('dy', y);\n }\n }\n };\n\n var _svgMatteSymbols = [];\n\n function SVGMatte3Effect(filterElem, filterManager, elem) {\n this.initialized = false;\n this.filterManager = filterManager;\n this.filterElem = filterElem;\n this.elem = elem;\n elem.matteElement = createNS('g');\n elem.matteElement.appendChild(elem.layerElement);\n elem.matteElement.appendChild(elem.transformedElement);\n elem.baseElement = elem.matteElement;\n }\n\n SVGMatte3Effect.prototype.findSymbol = function (mask) {\n var i = 0;\n var len = _svgMatteSymbols.length;\n\n while (i < len) {\n if (_svgMatteSymbols[i] === mask) {\n return _svgMatteSymbols[i];\n }\n\n i += 1;\n }\n\n return null;\n };\n\n SVGMatte3Effect.prototype.replaceInParent = function (mask, symbolId) {\n var parentNode = mask.layerElement.parentNode;\n\n if (!parentNode) {\n return;\n }\n\n var children = parentNode.children;\n var i = 0;\n var len = children.length;\n\n while (i < len) {\n if (children[i] === mask.layerElement) {\n break;\n }\n\n i += 1;\n }\n\n var nextChild;\n\n if (i <= len - 2) {\n nextChild = children[i + 1];\n }\n\n var useElem = createNS('use');\n useElem.setAttribute('href', '#' + symbolId);\n\n if (nextChild) {\n parentNode.insertBefore(useElem, nextChild);\n } else {\n parentNode.appendChild(useElem);\n }\n };\n\n SVGMatte3Effect.prototype.setElementAsMask = function (elem, mask) {\n if (!this.findSymbol(mask)) {\n var symbolId = createElementID();\n var masker = createNS('mask');\n masker.setAttribute('id', mask.layerId);\n masker.setAttribute('mask-type', 'alpha');\n\n _svgMatteSymbols.push(mask);\n\n var defs = elem.globalData.defs;\n defs.appendChild(masker);\n var symbol = createNS('symbol');\n symbol.setAttribute('id', symbolId);\n this.replaceInParent(mask, symbolId);\n symbol.appendChild(mask.layerElement);\n defs.appendChild(symbol);\n var useElem = createNS('use');\n useElem.setAttribute('href', '#' + symbolId);\n masker.appendChild(useElem);\n mask.data.hd = false;\n mask.show();\n }\n\n elem.setMatte(mask.layerId);\n };\n\n SVGMatte3Effect.prototype.initialize = function () {\n var ind = this.filterManager.effectElements[0].p.v;\n var elements = this.elem.comp.elements;\n var i = 0;\n var len = elements.length;\n\n while (i < len) {\n if (elements[i] && elements[i].data.ind === ind) {\n this.setElementAsMask(this.elem, elements[i]);\n }\n\n i += 1;\n }\n\n this.initialized = true;\n };\n\n SVGMatte3Effect.prototype.renderFrame = function () {\n if (!this.initialized) {\n this.initialize();\n }\n };\n\n function SVGGaussianBlurEffect(filter, filterManager, elem, id) {\n // Outset the filter region by 100% on all sides to accommodate blur expansion.\n filter.setAttribute('x', '-100%');\n filter.setAttribute('y', '-100%');\n filter.setAttribute('width', '300%');\n filter.setAttribute('height', '300%');\n this.filterManager = filterManager;\n var feGaussianBlur = createNS('feGaussianBlur');\n feGaussianBlur.setAttribute('result', id);\n filter.appendChild(feGaussianBlur);\n this.feGaussianBlur = feGaussianBlur;\n }\n\n SVGGaussianBlurEffect.prototype.renderFrame = function (forceRender) {\n if (forceRender || this.filterManager._mdf) {\n // Empirical value, matching AE's blur appearance.\n var kBlurrinessToSigma = 0.3;\n var sigma = this.filterManager.effectElements[0].p.v * kBlurrinessToSigma; // Dimensions mapping:\n //\n // 1 -> horizontal & vertical\n // 2 -> horizontal only\n // 3 -> vertical only\n //\n\n var dimensions = this.filterManager.effectElements[1].p.v;\n var sigmaX = dimensions == 3 ? 0 : sigma; // eslint-disable-line eqeqeq\n\n var sigmaY = dimensions == 2 ? 0 : sigma; // eslint-disable-line eqeqeq\n\n this.feGaussianBlur.setAttribute('stdDeviation', sigmaX + ' ' + sigmaY); // Repeat edges mapping:\n //\n // 0 -> off -> duplicate\n // 1 -> on -> wrap\n\n var edgeMode = this.filterManager.effectElements[2].p.v == 1 ? 'wrap' : 'duplicate'; // eslint-disable-line eqeqeq\n\n this.feGaussianBlur.setAttribute('edgeMode', edgeMode);\n }\n };\n\n function TransformEffect() {}\n\n TransformEffect.prototype.init = function (effectsManager) {\n this.effectsManager = effectsManager;\n this.type = effectTypes.TRANSFORM_EFFECT;\n this.matrix = new Matrix();\n this.opacity = -1;\n this._mdf = false;\n this._opMdf = false;\n };\n\n TransformEffect.prototype.renderFrame = function (forceFrame) {\n this._opMdf = false;\n this._mdf = false;\n\n if (forceFrame || this.effectsManager._mdf) {\n var effectElements = this.effectsManager.effectElements;\n var anchor = effectElements[0].p.v;\n var position = effectElements[1].p.v;\n var isUniformScale = effectElements[2].p.v === 1;\n var scaleHeight = effectElements[3].p.v;\n var scaleWidth = isUniformScale ? scaleHeight : effectElements[4].p.v;\n var skew = effectElements[5].p.v;\n var skewAxis = effectElements[6].p.v;\n var rotation = effectElements[7].p.v;\n this.matrix.reset();\n this.matrix.translate(-anchor[0], -anchor[1], anchor[2]);\n this.matrix.scale(scaleWidth * 0.01, scaleHeight * 0.01, 1);\n this.matrix.rotate(-rotation * degToRads);\n this.matrix.skewFromAxis(-skew * degToRads, (skewAxis + 90) * degToRads);\n this.matrix.translate(position[0], position[1], 0);\n this._mdf = true;\n\n if (this.opacity !== effectElements[8].p.v) {\n this.opacity = effectElements[8].p.v;\n this._opMdf = true;\n }\n }\n };\n\n function SVGTransformEffect(_, filterManager) {\n this.init(filterManager);\n }\n\n extendPrototype([TransformEffect], SVGTransformEffect);\n\n function CVTransformEffect(effectsManager) {\n this.init(effectsManager);\n }\n\n extendPrototype([TransformEffect], CVTransformEffect);\n\n registerRenderer('canvas', CanvasRenderer);\n registerRenderer('html', HybridRenderer);\n registerRenderer('svg', SVGRenderer); // Registering shape modifiers\n\n ShapeModifiers.registerModifier('tm', TrimModifier);\n ShapeModifiers.registerModifier('pb', PuckerAndBloatModifier);\n ShapeModifiers.registerModifier('rp', RepeaterModifier);\n ShapeModifiers.registerModifier('rd', RoundCornersModifier);\n ShapeModifiers.registerModifier('zz', ZigZagModifier);\n ShapeModifiers.registerModifier('op', OffsetPathModifier); // Registering expression plugin\n\n setExpressionsPlugin(Expressions);\n setExpressionInterfaces(getInterface);\n initialize$1();\n initialize(); // Registering svg effects\n\n registerEffect$1(20, SVGTintFilter, true);\n registerEffect$1(21, SVGFillFilter, true);\n registerEffect$1(22, SVGStrokeEffect, false);\n registerEffect$1(23, SVGTritoneFilter, true);\n registerEffect$1(24, SVGProLevelsFilter, true);\n registerEffect$1(25, SVGDropShadowEffect, true);\n registerEffect$1(28, SVGMatte3Effect, false);\n registerEffect$1(29, SVGGaussianBlurEffect, true);\n registerEffect$1(35, SVGTransformEffect, false);\n registerEffect(35, CVTransformEffect);\n\n return lottie;\n\n}));\n","//! moment.js locale configuration\n//! locale : Dutch [nl]\n//! author : Joris Röling : https://github.com/jorisroling\n//! author : Jacob Middag : https://github.com/middagj\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var monthsShortWithDots =\n 'jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.'.split('_'),\n monthsShortWithoutDots =\n 'jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec'.split('_'),\n monthsParse = [\n /^jan/i,\n /^feb/i,\n /^(maart|mrt\\.?)$/i,\n /^apr/i,\n /^mei$/i,\n /^jun[i.]?$/i,\n /^jul[i.]?$/i,\n /^aug/i,\n /^sep/i,\n /^okt/i,\n /^nov/i,\n /^dec/i,\n ],\n monthsRegex =\n /^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\\.?|feb\\.?|mrt\\.?|apr\\.?|ju[nl]\\.?|aug\\.?|sep\\.?|okt\\.?|nov\\.?|dec\\.?)/i;\n\n var nl = moment.defineLocale('nl', {\n months: 'januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december'.split(\n '_'\n ),\n monthsShort: function (m, format) {\n if (!m) {\n return monthsShortWithDots;\n } else if (/-MMM-/.test(format)) {\n return monthsShortWithoutDots[m.month()];\n } else {\n return monthsShortWithDots[m.month()];\n }\n },\n\n monthsRegex: monthsRegex,\n monthsShortRegex: monthsRegex,\n monthsStrictRegex:\n /^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,\n monthsShortStrictRegex:\n /^(jan\\.?|feb\\.?|mrt\\.?|apr\\.?|mei|ju[nl]\\.?|aug\\.?|sep\\.?|okt\\.?|nov\\.?|dec\\.?)/i,\n\n monthsParse: monthsParse,\n longMonthsParse: monthsParse,\n shortMonthsParse: monthsParse,\n\n weekdays:\n 'zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag'.split('_'),\n weekdaysShort: 'zo._ma._di._wo._do._vr._za.'.split('_'),\n weekdaysMin: 'zo_ma_di_wo_do_vr_za'.split('_'),\n weekdaysParseExact: true,\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD-MM-YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY HH:mm',\n LLLL: 'dddd D MMMM YYYY HH:mm',\n },\n calendar: {\n sameDay: '[vandaag om] LT',\n nextDay: '[morgen om] LT',\n nextWeek: 'dddd [om] LT',\n lastDay: '[gisteren om] LT',\n lastWeek: '[afgelopen] dddd [om] LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: 'over %s',\n past: '%s geleden',\n s: 'een paar seconden',\n ss: '%d seconden',\n m: 'één minuut',\n mm: '%d minuten',\n h: 'één uur',\n hh: '%d uur',\n d: 'één dag',\n dd: '%d dagen',\n w: 'één week',\n ww: '%d weken',\n M: 'één maand',\n MM: '%d maanden',\n y: 'één jaar',\n yy: '%d jaar',\n },\n dayOfMonthOrdinalParse: /\\d{1,2}(ste|de)/,\n ordinal: function (number) {\n return (\n number +\n (number === 1 || number === 8 || number >= 20 ? 'ste' : 'de')\n );\n },\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 4, // The week that contains Jan 4th is the first week of the year.\n },\n });\n\n return nl;\n\n})));\n","//! moment.js\n//! version : 2.30.1\n//! authors : Tim Wood, Iskren Chernev, Moment.js contributors\n//! license : MIT\n//! momentjs.com\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :\n typeof define === 'function' && define.amd ? define(factory) :\n global.moment = factory()\n}(this, (function () { 'use strict';\n\n var hookCallback;\n\n function hooks() {\n return hookCallback.apply(null, arguments);\n }\n\n // This is done to register the method called with moment()\n // without creating circular dependencies.\n function setHookCallback(callback) {\n hookCallback = callback;\n }\n\n function isArray(input) {\n return (\n input instanceof Array ||\n Object.prototype.toString.call(input) === '[object Array]'\n );\n }\n\n function isObject(input) {\n // IE8 will treat undefined and null as object if it wasn't for\n // input != null\n return (\n input != null &&\n Object.prototype.toString.call(input) === '[object Object]'\n );\n }\n\n function hasOwnProp(a, b) {\n return Object.prototype.hasOwnProperty.call(a, b);\n }\n\n function isObjectEmpty(obj) {\n if (Object.getOwnPropertyNames) {\n return Object.getOwnPropertyNames(obj).length === 0;\n } else {\n var k;\n for (k in obj) {\n if (hasOwnProp(obj, k)) {\n return false;\n }\n }\n return true;\n }\n }\n\n function isUndefined(input) {\n return input === void 0;\n }\n\n function isNumber(input) {\n return (\n typeof input === 'number' ||\n Object.prototype.toString.call(input) === '[object Number]'\n );\n }\n\n function isDate(input) {\n return (\n input instanceof Date ||\n Object.prototype.toString.call(input) === '[object Date]'\n );\n }\n\n function map(arr, fn) {\n var res = [],\n i,\n arrLen = arr.length;\n for (i = 0; i < arrLen; ++i) {\n res.push(fn(arr[i], i));\n }\n return res;\n }\n\n function extend(a, b) {\n for (var i in b) {\n if (hasOwnProp(b, i)) {\n a[i] = b[i];\n }\n }\n\n if (hasOwnProp(b, 'toString')) {\n a.toString = b.toString;\n }\n\n if (hasOwnProp(b, 'valueOf')) {\n a.valueOf = b.valueOf;\n }\n\n return a;\n }\n\n function createUTC(input, format, locale, strict) {\n return createLocalOrUTC(input, format, locale, strict, true).utc();\n }\n\n function defaultParsingFlags() {\n // We need to deep clone this object.\n return {\n empty: false,\n unusedTokens: [],\n unusedInput: [],\n overflow: -2,\n charsLeftOver: 0,\n nullInput: false,\n invalidEra: null,\n invalidMonth: null,\n invalidFormat: false,\n userInvalidated: false,\n iso: false,\n parsedDateParts: [],\n era: null,\n meridiem: null,\n rfc2822: false,\n weekdayMismatch: false,\n };\n }\n\n function getParsingFlags(m) {\n if (m._pf == null) {\n m._pf = defaultParsingFlags();\n }\n return m._pf;\n }\n\n var some;\n if (Array.prototype.some) {\n some = Array.prototype.some;\n } else {\n some = function (fun) {\n var t = Object(this),\n len = t.length >>> 0,\n i;\n\n for (i = 0; i < len; i++) {\n if (i in t && fun.call(this, t[i], i, t)) {\n return true;\n }\n }\n\n return false;\n };\n }\n\n function isValid(m) {\n var flags = null,\n parsedParts = false,\n isNowValid = m._d && !isNaN(m._d.getTime());\n if (isNowValid) {\n flags = getParsingFlags(m);\n parsedParts = some.call(flags.parsedDateParts, function (i) {\n return i != null;\n });\n isNowValid =\n flags.overflow < 0 &&\n !flags.empty &&\n !flags.invalidEra &&\n !flags.invalidMonth &&\n !flags.invalidWeekday &&\n !flags.weekdayMismatch &&\n !flags.nullInput &&\n !flags.invalidFormat &&\n !flags.userInvalidated &&\n (!flags.meridiem || (flags.meridiem && parsedParts));\n if (m._strict) {\n isNowValid =\n isNowValid &&\n flags.charsLeftOver === 0 &&\n flags.unusedTokens.length === 0 &&\n flags.bigHour === undefined;\n }\n }\n if (Object.isFrozen == null || !Object.isFrozen(m)) {\n m._isValid = isNowValid;\n } else {\n return isNowValid;\n }\n return m._isValid;\n }\n\n function createInvalid(flags) {\n var m = createUTC(NaN);\n if (flags != null) {\n extend(getParsingFlags(m), flags);\n } else {\n getParsingFlags(m).userInvalidated = true;\n }\n\n return m;\n }\n\n // Plugins that add properties should also add the key here (null value),\n // so we can properly clone ourselves.\n var momentProperties = (hooks.momentProperties = []),\n updateInProgress = false;\n\n function copyConfig(to, from) {\n var i,\n prop,\n val,\n momentPropertiesLen = momentProperties.length;\n\n if (!isUndefined(from._isAMomentObject)) {\n to._isAMomentObject = from._isAMomentObject;\n }\n if (!isUndefined(from._i)) {\n to._i = from._i;\n }\n if (!isUndefined(from._f)) {\n to._f = from._f;\n }\n if (!isUndefined(from._l)) {\n to._l = from._l;\n }\n if (!isUndefined(from._strict)) {\n to._strict = from._strict;\n }\n if (!isUndefined(from._tzm)) {\n to._tzm = from._tzm;\n }\n if (!isUndefined(from._isUTC)) {\n to._isUTC = from._isUTC;\n }\n if (!isUndefined(from._offset)) {\n to._offset = from._offset;\n }\n if (!isUndefined(from._pf)) {\n to._pf = getParsingFlags(from);\n }\n if (!isUndefined(from._locale)) {\n to._locale = from._locale;\n }\n\n if (momentPropertiesLen > 0) {\n for (i = 0; i < momentPropertiesLen; i++) {\n prop = momentProperties[i];\n val = from[prop];\n if (!isUndefined(val)) {\n to[prop] = val;\n }\n }\n }\n\n return to;\n }\n\n // Moment prototype object\n function Moment(config) {\n copyConfig(this, config);\n this._d = new Date(config._d != null ? config._d.getTime() : NaN);\n if (!this.isValid()) {\n this._d = new Date(NaN);\n }\n // Prevent infinite loop in case updateOffset creates new moment\n // objects.\n if (updateInProgress === false) {\n updateInProgress = true;\n hooks.updateOffset(this);\n updateInProgress = false;\n }\n }\n\n function isMoment(obj) {\n return (\n obj instanceof Moment || (obj != null && obj._isAMomentObject != null)\n );\n }\n\n function warn(msg) {\n if (\n hooks.suppressDeprecationWarnings === false &&\n typeof console !== 'undefined' &&\n console.warn\n ) {\n console.warn('Deprecation warning: ' + msg);\n }\n }\n\n function deprecate(msg, fn) {\n var firstTime = true;\n\n return extend(function () {\n if (hooks.deprecationHandler != null) {\n hooks.deprecationHandler(null, msg);\n }\n if (firstTime) {\n var args = [],\n arg,\n i,\n key,\n argLen = arguments.length;\n for (i = 0; i < argLen; i++) {\n arg = '';\n if (typeof arguments[i] === 'object') {\n arg += '\\n[' + i + '] ';\n for (key in arguments[0]) {\n if (hasOwnProp(arguments[0], key)) {\n arg += key + ': ' + arguments[0][key] + ', ';\n }\n }\n arg = arg.slice(0, -2); // Remove trailing comma and space\n } else {\n arg = arguments[i];\n }\n args.push(arg);\n }\n warn(\n msg +\n '\\nArguments: ' +\n Array.prototype.slice.call(args).join('') +\n '\\n' +\n new Error().stack\n );\n firstTime = false;\n }\n return fn.apply(this, arguments);\n }, fn);\n }\n\n var deprecations = {};\n\n function deprecateSimple(name, msg) {\n if (hooks.deprecationHandler != null) {\n hooks.deprecationHandler(name, msg);\n }\n if (!deprecations[name]) {\n warn(msg);\n deprecations[name] = true;\n }\n }\n\n hooks.suppressDeprecationWarnings = false;\n hooks.deprecationHandler = null;\n\n function isFunction(input) {\n return (\n (typeof Function !== 'undefined' && input instanceof Function) ||\n Object.prototype.toString.call(input) === '[object Function]'\n );\n }\n\n function set(config) {\n var prop, i;\n for (i in config) {\n if (hasOwnProp(config, i)) {\n prop = config[i];\n if (isFunction(prop)) {\n this[i] = prop;\n } else {\n this['_' + i] = prop;\n }\n }\n }\n this._config = config;\n // Lenient ordinal parsing accepts just a number in addition to\n // number + (possibly) stuff coming from _dayOfMonthOrdinalParse.\n // TODO: Remove \"ordinalParse\" fallback in next major release.\n this._dayOfMonthOrdinalParseLenient = new RegExp(\n (this._dayOfMonthOrdinalParse.source || this._ordinalParse.source) +\n '|' +\n /\\d{1,2}/.source\n );\n }\n\n function mergeConfigs(parentConfig, childConfig) {\n var res = extend({}, parentConfig),\n prop;\n for (prop in childConfig) {\n if (hasOwnProp(childConfig, prop)) {\n if (isObject(parentConfig[prop]) && isObject(childConfig[prop])) {\n res[prop] = {};\n extend(res[prop], parentConfig[prop]);\n extend(res[prop], childConfig[prop]);\n } else if (childConfig[prop] != null) {\n res[prop] = childConfig[prop];\n } else {\n delete res[prop];\n }\n }\n }\n for (prop in parentConfig) {\n if (\n hasOwnProp(parentConfig, prop) &&\n !hasOwnProp(childConfig, prop) &&\n isObject(parentConfig[prop])\n ) {\n // make sure changes to properties don't modify parent config\n res[prop] = extend({}, res[prop]);\n }\n }\n return res;\n }\n\n function Locale(config) {\n if (config != null) {\n this.set(config);\n }\n }\n\n var keys;\n\n if (Object.keys) {\n keys = Object.keys;\n } else {\n keys = function (obj) {\n var i,\n res = [];\n for (i in obj) {\n if (hasOwnProp(obj, i)) {\n res.push(i);\n }\n }\n return res;\n };\n }\n\n var defaultCalendar = {\n sameDay: '[Today at] LT',\n nextDay: '[Tomorrow at] LT',\n nextWeek: 'dddd [at] LT',\n lastDay: '[Yesterday at] LT',\n lastWeek: '[Last] dddd [at] LT',\n sameElse: 'L',\n };\n\n function calendar(key, mom, now) {\n var output = this._calendar[key] || this._calendar['sameElse'];\n return isFunction(output) ? output.call(mom, now) : output;\n }\n\n function zeroFill(number, targetLength, forceSign) {\n var absNumber = '' + Math.abs(number),\n zerosToFill = targetLength - absNumber.length,\n sign = number >= 0;\n return (\n (sign ? (forceSign ? '+' : '') : '-') +\n Math.pow(10, Math.max(0, zerosToFill)).toString().substr(1) +\n absNumber\n );\n }\n\n var formattingTokens =\n /(\\[[^\\[]*\\])|(\\\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,\n localFormattingTokens = /(\\[[^\\[]*\\])|(\\\\)?(LTS|LT|LL?L?L?|l{1,4})/g,\n formatFunctions = {},\n formatTokenFunctions = {};\n\n // token: 'M'\n // padded: ['MM', 2]\n // ordinal: 'Mo'\n // callback: function () { this.month() + 1 }\n function addFormatToken(token, padded, ordinal, callback) {\n var func = callback;\n if (typeof callback === 'string') {\n func = function () {\n return this[callback]();\n };\n }\n if (token) {\n formatTokenFunctions[token] = func;\n }\n if (padded) {\n formatTokenFunctions[padded[0]] = function () {\n return zeroFill(func.apply(this, arguments), padded[1], padded[2]);\n };\n }\n if (ordinal) {\n formatTokenFunctions[ordinal] = function () {\n return this.localeData().ordinal(\n func.apply(this, arguments),\n token\n );\n };\n }\n }\n\n function removeFormattingTokens(input) {\n if (input.match(/\\[[\\s\\S]/)) {\n return input.replace(/^\\[|\\]$/g, '');\n }\n return input.replace(/\\\\/g, '');\n }\n\n function makeFormatFunction(format) {\n var array = format.match(formattingTokens),\n i,\n length;\n\n for (i = 0, length = array.length; i < length; i++) {\n if (formatTokenFunctions[array[i]]) {\n array[i] = formatTokenFunctions[array[i]];\n } else {\n array[i] = removeFormattingTokens(array[i]);\n }\n }\n\n return function (mom) {\n var output = '',\n i;\n for (i = 0; i < length; i++) {\n output += isFunction(array[i])\n ? array[i].call(mom, format)\n : array[i];\n }\n return output;\n };\n }\n\n // format date using native date object\n function formatMoment(m, format) {\n if (!m.isValid()) {\n return m.localeData().invalidDate();\n }\n\n format = expandFormat(format, m.localeData());\n formatFunctions[format] =\n formatFunctions[format] || makeFormatFunction(format);\n\n return formatFunctions[format](m);\n }\n\n function expandFormat(format, locale) {\n var i = 5;\n\n function replaceLongDateFormatTokens(input) {\n return locale.longDateFormat(input) || input;\n }\n\n localFormattingTokens.lastIndex = 0;\n while (i >= 0 && localFormattingTokens.test(format)) {\n format = format.replace(\n localFormattingTokens,\n replaceLongDateFormatTokens\n );\n localFormattingTokens.lastIndex = 0;\n i -= 1;\n }\n\n return format;\n }\n\n var defaultLongDateFormat = {\n LTS: 'h:mm:ss A',\n LT: 'h:mm A',\n L: 'MM/DD/YYYY',\n LL: 'MMMM D, YYYY',\n LLL: 'MMMM D, YYYY h:mm A',\n LLLL: 'dddd, MMMM D, YYYY h:mm A',\n };\n\n function longDateFormat(key) {\n var format = this._longDateFormat[key],\n formatUpper = this._longDateFormat[key.toUpperCase()];\n\n if (format || !formatUpper) {\n return format;\n }\n\n this._longDateFormat[key] = formatUpper\n .match(formattingTokens)\n .map(function (tok) {\n if (\n tok === 'MMMM' ||\n tok === 'MM' ||\n tok === 'DD' ||\n tok === 'dddd'\n ) {\n return tok.slice(1);\n }\n return tok;\n })\n .join('');\n\n return this._longDateFormat[key];\n }\n\n var defaultInvalidDate = 'Invalid date';\n\n function invalidDate() {\n return this._invalidDate;\n }\n\n var defaultOrdinal = '%d',\n defaultDayOfMonthOrdinalParse = /\\d{1,2}/;\n\n function ordinal(number) {\n return this._ordinal.replace('%d', number);\n }\n\n var defaultRelativeTime = {\n future: 'in %s',\n past: '%s ago',\n s: 'a few seconds',\n ss: '%d seconds',\n m: 'a minute',\n mm: '%d minutes',\n h: 'an hour',\n hh: '%d hours',\n d: 'a day',\n dd: '%d days',\n w: 'a week',\n ww: '%d weeks',\n M: 'a month',\n MM: '%d months',\n y: 'a year',\n yy: '%d years',\n };\n\n function relativeTime(number, withoutSuffix, string, isFuture) {\n var output = this._relativeTime[string];\n return isFunction(output)\n ? output(number, withoutSuffix, string, isFuture)\n : output.replace(/%d/i, number);\n }\n\n function pastFuture(diff, output) {\n var format = this._relativeTime[diff > 0 ? 'future' : 'past'];\n return isFunction(format) ? format(output) : format.replace(/%s/i, output);\n }\n\n var aliases = {\n D: 'date',\n dates: 'date',\n date: 'date',\n d: 'day',\n days: 'day',\n day: 'day',\n e: 'weekday',\n weekdays: 'weekday',\n weekday: 'weekday',\n E: 'isoWeekday',\n isoweekdays: 'isoWeekday',\n isoweekday: 'isoWeekday',\n DDD: 'dayOfYear',\n dayofyears: 'dayOfYear',\n dayofyear: 'dayOfYear',\n h: 'hour',\n hours: 'hour',\n hour: 'hour',\n ms: 'millisecond',\n milliseconds: 'millisecond',\n millisecond: 'millisecond',\n m: 'minute',\n minutes: 'minute',\n minute: 'minute',\n M: 'month',\n months: 'month',\n month: 'month',\n Q: 'quarter',\n quarters: 'quarter',\n quarter: 'quarter',\n s: 'second',\n seconds: 'second',\n second: 'second',\n gg: 'weekYear',\n weekyears: 'weekYear',\n weekyear: 'weekYear',\n GG: 'isoWeekYear',\n isoweekyears: 'isoWeekYear',\n isoweekyear: 'isoWeekYear',\n w: 'week',\n weeks: 'week',\n week: 'week',\n W: 'isoWeek',\n isoweeks: 'isoWeek',\n isoweek: 'isoWeek',\n y: 'year',\n years: 'year',\n year: 'year',\n };\n\n function normalizeUnits(units) {\n return typeof units === 'string'\n ? aliases[units] || aliases[units.toLowerCase()]\n : undefined;\n }\n\n function normalizeObjectUnits(inputObject) {\n var normalizedInput = {},\n normalizedProp,\n prop;\n\n for (prop in inputObject) {\n if (hasOwnProp(inputObject, prop)) {\n normalizedProp = normalizeUnits(prop);\n if (normalizedProp) {\n normalizedInput[normalizedProp] = inputObject[prop];\n }\n }\n }\n\n return normalizedInput;\n }\n\n var priorities = {\n date: 9,\n day: 11,\n weekday: 11,\n isoWeekday: 11,\n dayOfYear: 4,\n hour: 13,\n millisecond: 16,\n minute: 14,\n month: 8,\n quarter: 7,\n second: 15,\n weekYear: 1,\n isoWeekYear: 1,\n week: 5,\n isoWeek: 5,\n year: 1,\n };\n\n function getPrioritizedUnits(unitsObj) {\n var units = [],\n u;\n for (u in unitsObj) {\n if (hasOwnProp(unitsObj, u)) {\n units.push({ unit: u, priority: priorities[u] });\n }\n }\n units.sort(function (a, b) {\n return a.priority - b.priority;\n });\n return units;\n }\n\n var match1 = /\\d/, // 0 - 9\n match2 = /\\d\\d/, // 00 - 99\n match3 = /\\d{3}/, // 000 - 999\n match4 = /\\d{4}/, // 0000 - 9999\n match6 = /[+-]?\\d{6}/, // -999999 - 999999\n match1to2 = /\\d\\d?/, // 0 - 99\n match3to4 = /\\d\\d\\d\\d?/, // 999 - 9999\n match5to6 = /\\d\\d\\d\\d\\d\\d?/, // 99999 - 999999\n match1to3 = /\\d{1,3}/, // 0 - 999\n match1to4 = /\\d{1,4}/, // 0 - 9999\n match1to6 = /[+-]?\\d{1,6}/, // -999999 - 999999\n matchUnsigned = /\\d+/, // 0 - inf\n matchSigned = /[+-]?\\d+/, // -inf - inf\n matchOffset = /Z|[+-]\\d\\d:?\\d\\d/gi, // +00:00 -00:00 +0000 -0000 or Z\n matchShortOffset = /Z|[+-]\\d\\d(?::?\\d\\d)?/gi, // +00 -00 +00:00 -00:00 +0000 -0000 or Z\n matchTimestamp = /[+-]?\\d+(\\.\\d{1,3})?/, // 123456789 123456789.123\n // any word (or two) characters or numbers including two/three word month in arabic.\n // includes scottish gaelic two word and hyphenated months\n matchWord =\n /[0-9]{0,256}['a-z\\u00A0-\\u05FF\\u0700-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFF07\\uFF10-\\uFFEF]{1,256}|[\\u0600-\\u06FF\\/]{1,256}(\\s*?[\\u0600-\\u06FF]{1,256}){1,2}/i,\n match1to2NoLeadingZero = /^[1-9]\\d?/, // 1-99\n match1to2HasZero = /^([1-9]\\d|\\d)/, // 0-99\n regexes;\n\n regexes = {};\n\n function addRegexToken(token, regex, strictRegex) {\n regexes[token] = isFunction(regex)\n ? regex\n : function (isStrict, localeData) {\n return isStrict && strictRegex ? strictRegex : regex;\n };\n }\n\n function getParseRegexForToken(token, config) {\n if (!hasOwnProp(regexes, token)) {\n return new RegExp(unescapeFormat(token));\n }\n\n return regexes[token](config._strict, config._locale);\n }\n\n // Code from http://stackoverflow.com/questions/3561493/is-there-a-regexp-escape-function-in-javascript\n function unescapeFormat(s) {\n return regexEscape(\n s\n .replace('\\\\', '')\n .replace(\n /\\\\(\\[)|\\\\(\\])|\\[([^\\]\\[]*)\\]|\\\\(.)/g,\n function (matched, p1, p2, p3, p4) {\n return p1 || p2 || p3 || p4;\n }\n )\n );\n }\n\n function regexEscape(s) {\n return s.replace(/[-\\/\\\\^$*+?.()|[\\]{}]/g, '\\\\$&');\n }\n\n function absFloor(number) {\n if (number < 0) {\n // -0 -> 0\n return Math.ceil(number) || 0;\n } else {\n return Math.floor(number);\n }\n }\n\n function toInt(argumentForCoercion) {\n var coercedNumber = +argumentForCoercion,\n value = 0;\n\n if (coercedNumber !== 0 && isFinite(coercedNumber)) {\n value = absFloor(coercedNumber);\n }\n\n return value;\n }\n\n var tokens = {};\n\n function addParseToken(token, callback) {\n var i,\n func = callback,\n tokenLen;\n if (typeof token === 'string') {\n token = [token];\n }\n if (isNumber(callback)) {\n func = function (input, array) {\n array[callback] = toInt(input);\n };\n }\n tokenLen = token.length;\n for (i = 0; i < tokenLen; i++) {\n tokens[token[i]] = func;\n }\n }\n\n function addWeekParseToken(token, callback) {\n addParseToken(token, function (input, array, config, token) {\n config._w = config._w || {};\n callback(input, config._w, config, token);\n });\n }\n\n function addTimeToArrayFromToken(token, input, config) {\n if (input != null && hasOwnProp(tokens, token)) {\n tokens[token](input, config._a, config, token);\n }\n }\n\n function isLeapYear(year) {\n return (year % 4 === 0 && year % 100 !== 0) || year % 400 === 0;\n }\n\n var YEAR = 0,\n MONTH = 1,\n DATE = 2,\n HOUR = 3,\n MINUTE = 4,\n SECOND = 5,\n MILLISECOND = 6,\n WEEK = 7,\n WEEKDAY = 8;\n\n // FORMATTING\n\n addFormatToken('Y', 0, 0, function () {\n var y = this.year();\n return y <= 9999 ? zeroFill(y, 4) : '+' + y;\n });\n\n addFormatToken(0, ['YY', 2], 0, function () {\n return this.year() % 100;\n });\n\n addFormatToken(0, ['YYYY', 4], 0, 'year');\n addFormatToken(0, ['YYYYY', 5], 0, 'year');\n addFormatToken(0, ['YYYYYY', 6, true], 0, 'year');\n\n // PARSING\n\n addRegexToken('Y', matchSigned);\n addRegexToken('YY', match1to2, match2);\n addRegexToken('YYYY', match1to4, match4);\n addRegexToken('YYYYY', match1to6, match6);\n addRegexToken('YYYYYY', match1to6, match6);\n\n addParseToken(['YYYYY', 'YYYYYY'], YEAR);\n addParseToken('YYYY', function (input, array) {\n array[YEAR] =\n input.length === 2 ? hooks.parseTwoDigitYear(input) : toInt(input);\n });\n addParseToken('YY', function (input, array) {\n array[YEAR] = hooks.parseTwoDigitYear(input);\n });\n addParseToken('Y', function (input, array) {\n array[YEAR] = parseInt(input, 10);\n });\n\n // HELPERS\n\n function daysInYear(year) {\n return isLeapYear(year) ? 366 : 365;\n }\n\n // HOOKS\n\n hooks.parseTwoDigitYear = function (input) {\n return toInt(input) + (toInt(input) > 68 ? 1900 : 2000);\n };\n\n // MOMENTS\n\n var getSetYear = makeGetSet('FullYear', true);\n\n function getIsLeapYear() {\n return isLeapYear(this.year());\n }\n\n function makeGetSet(unit, keepTime) {\n return function (value) {\n if (value != null) {\n set$1(this, unit, value);\n hooks.updateOffset(this, keepTime);\n return this;\n } else {\n return get(this, unit);\n }\n };\n }\n\n function get(mom, unit) {\n if (!mom.isValid()) {\n return NaN;\n }\n\n var d = mom._d,\n isUTC = mom._isUTC;\n\n switch (unit) {\n case 'Milliseconds':\n return isUTC ? d.getUTCMilliseconds() : d.getMilliseconds();\n case 'Seconds':\n return isUTC ? d.getUTCSeconds() : d.getSeconds();\n case 'Minutes':\n return isUTC ? d.getUTCMinutes() : d.getMinutes();\n case 'Hours':\n return isUTC ? d.getUTCHours() : d.getHours();\n case 'Date':\n return isUTC ? d.getUTCDate() : d.getDate();\n case 'Day':\n return isUTC ? d.getUTCDay() : d.getDay();\n case 'Month':\n return isUTC ? d.getUTCMonth() : d.getMonth();\n case 'FullYear':\n return isUTC ? d.getUTCFullYear() : d.getFullYear();\n default:\n return NaN; // Just in case\n }\n }\n\n function set$1(mom, unit, value) {\n var d, isUTC, year, month, date;\n\n if (!mom.isValid() || isNaN(value)) {\n return;\n }\n\n d = mom._d;\n isUTC = mom._isUTC;\n\n switch (unit) {\n case 'Milliseconds':\n return void (isUTC\n ? d.setUTCMilliseconds(value)\n : d.setMilliseconds(value));\n case 'Seconds':\n return void (isUTC ? d.setUTCSeconds(value) : d.setSeconds(value));\n case 'Minutes':\n return void (isUTC ? d.setUTCMinutes(value) : d.setMinutes(value));\n case 'Hours':\n return void (isUTC ? d.setUTCHours(value) : d.setHours(value));\n case 'Date':\n return void (isUTC ? d.setUTCDate(value) : d.setDate(value));\n // case 'Day': // Not real\n // return void (isUTC ? d.setUTCDay(value) : d.setDay(value));\n // case 'Month': // Not used because we need to pass two variables\n // return void (isUTC ? d.setUTCMonth(value) : d.setMonth(value));\n case 'FullYear':\n break; // See below ...\n default:\n return; // Just in case\n }\n\n year = value;\n month = mom.month();\n date = mom.date();\n date = date === 29 && month === 1 && !isLeapYear(year) ? 28 : date;\n void (isUTC\n ? d.setUTCFullYear(year, month, date)\n : d.setFullYear(year, month, date));\n }\n\n // MOMENTS\n\n function stringGet(units) {\n units = normalizeUnits(units);\n if (isFunction(this[units])) {\n return this[units]();\n }\n return this;\n }\n\n function stringSet(units, value) {\n if (typeof units === 'object') {\n units = normalizeObjectUnits(units);\n var prioritized = getPrioritizedUnits(units),\n i,\n prioritizedLen = prioritized.length;\n for (i = 0; i < prioritizedLen; i++) {\n this[prioritized[i].unit](units[prioritized[i].unit]);\n }\n } else {\n units = normalizeUnits(units);\n if (isFunction(this[units])) {\n return this[units](value);\n }\n }\n return this;\n }\n\n function mod(n, x) {\n return ((n % x) + x) % x;\n }\n\n var indexOf;\n\n if (Array.prototype.indexOf) {\n indexOf = Array.prototype.indexOf;\n } else {\n indexOf = function (o) {\n // I know\n var i;\n for (i = 0; i < this.length; ++i) {\n if (this[i] === o) {\n return i;\n }\n }\n return -1;\n };\n }\n\n function daysInMonth(year, month) {\n if (isNaN(year) || isNaN(month)) {\n return NaN;\n }\n var modMonth = mod(month, 12);\n year += (month - modMonth) / 12;\n return modMonth === 1\n ? isLeapYear(year)\n ? 29\n : 28\n : 31 - ((modMonth % 7) % 2);\n }\n\n // FORMATTING\n\n addFormatToken('M', ['MM', 2], 'Mo', function () {\n return this.month() + 1;\n });\n\n addFormatToken('MMM', 0, 0, function (format) {\n return this.localeData().monthsShort(this, format);\n });\n\n addFormatToken('MMMM', 0, 0, function (format) {\n return this.localeData().months(this, format);\n });\n\n // PARSING\n\n addRegexToken('M', match1to2, match1to2NoLeadingZero);\n addRegexToken('MM', match1to2, match2);\n addRegexToken('MMM', function (isStrict, locale) {\n return locale.monthsShortRegex(isStrict);\n });\n addRegexToken('MMMM', function (isStrict, locale) {\n return locale.monthsRegex(isStrict);\n });\n\n addParseToken(['M', 'MM'], function (input, array) {\n array[MONTH] = toInt(input) - 1;\n });\n\n addParseToken(['MMM', 'MMMM'], function (input, array, config, token) {\n var month = config._locale.monthsParse(input, token, config._strict);\n // if we didn't find a month name, mark the date as invalid.\n if (month != null) {\n array[MONTH] = month;\n } else {\n getParsingFlags(config).invalidMonth = input;\n }\n });\n\n // LOCALES\n\n var defaultLocaleMonths =\n 'January_February_March_April_May_June_July_August_September_October_November_December'.split(\n '_'\n ),\n defaultLocaleMonthsShort =\n 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),\n MONTHS_IN_FORMAT = /D[oD]?(\\[[^\\[\\]]*\\]|\\s)+MMMM?/,\n defaultMonthsShortRegex = matchWord,\n defaultMonthsRegex = matchWord;\n\n function localeMonths(m, format) {\n if (!m) {\n return isArray(this._months)\n ? this._months\n : this._months['standalone'];\n }\n return isArray(this._months)\n ? this._months[m.month()]\n : this._months[\n (this._months.isFormat || MONTHS_IN_FORMAT).test(format)\n ? 'format'\n : 'standalone'\n ][m.month()];\n }\n\n function localeMonthsShort(m, format) {\n if (!m) {\n return isArray(this._monthsShort)\n ? this._monthsShort\n : this._monthsShort['standalone'];\n }\n return isArray(this._monthsShort)\n ? this._monthsShort[m.month()]\n : this._monthsShort[\n MONTHS_IN_FORMAT.test(format) ? 'format' : 'standalone'\n ][m.month()];\n }\n\n function handleStrictParse(monthName, format, strict) {\n var i,\n ii,\n mom,\n llc = monthName.toLocaleLowerCase();\n if (!this._monthsParse) {\n // this is not used\n this._monthsParse = [];\n this._longMonthsParse = [];\n this._shortMonthsParse = [];\n for (i = 0; i < 12; ++i) {\n mom = createUTC([2000, i]);\n this._shortMonthsParse[i] = this.monthsShort(\n mom,\n ''\n ).toLocaleLowerCase();\n this._longMonthsParse[i] = this.months(mom, '').toLocaleLowerCase();\n }\n }\n\n if (strict) {\n if (format === 'MMM') {\n ii = indexOf.call(this._shortMonthsParse, llc);\n return ii !== -1 ? ii : null;\n } else {\n ii = indexOf.call(this._longMonthsParse, llc);\n return ii !== -1 ? ii : null;\n }\n } else {\n if (format === 'MMM') {\n ii = indexOf.call(this._shortMonthsParse, llc);\n if (ii !== -1) {\n return ii;\n }\n ii = indexOf.call(this._longMonthsParse, llc);\n return ii !== -1 ? ii : null;\n } else {\n ii = indexOf.call(this._longMonthsParse, llc);\n if (ii !== -1) {\n return ii;\n }\n ii = indexOf.call(this._shortMonthsParse, llc);\n return ii !== -1 ? ii : null;\n }\n }\n }\n\n function localeMonthsParse(monthName, format, strict) {\n var i, mom, regex;\n\n if (this._monthsParseExact) {\n return handleStrictParse.call(this, monthName, format, strict);\n }\n\n if (!this._monthsParse) {\n this._monthsParse = [];\n this._longMonthsParse = [];\n this._shortMonthsParse = [];\n }\n\n // TODO: add sorting\n // Sorting makes sure if one month (or abbr) is a prefix of another\n // see sorting in computeMonthsParse\n for (i = 0; i < 12; i++) {\n // make the regex if we don't have it already\n mom = createUTC([2000, i]);\n if (strict && !this._longMonthsParse[i]) {\n this._longMonthsParse[i] = new RegExp(\n '^' + this.months(mom, '').replace('.', '') + '$',\n 'i'\n );\n this._shortMonthsParse[i] = new RegExp(\n '^' + this.monthsShort(mom, '').replace('.', '') + '$',\n 'i'\n );\n }\n if (!strict && !this._monthsParse[i]) {\n regex =\n '^' + this.months(mom, '') + '|^' + this.monthsShort(mom, '');\n this._monthsParse[i] = new RegExp(regex.replace('.', ''), 'i');\n }\n // test the regex\n if (\n strict &&\n format === 'MMMM' &&\n this._longMonthsParse[i].test(monthName)\n ) {\n return i;\n } else if (\n strict &&\n format === 'MMM' &&\n this._shortMonthsParse[i].test(monthName)\n ) {\n return i;\n } else if (!strict && this._monthsParse[i].test(monthName)) {\n return i;\n }\n }\n }\n\n // MOMENTS\n\n function setMonth(mom, value) {\n if (!mom.isValid()) {\n // No op\n return mom;\n }\n\n if (typeof value === 'string') {\n if (/^\\d+$/.test(value)) {\n value = toInt(value);\n } else {\n value = mom.localeData().monthsParse(value);\n // TODO: Another silent failure?\n if (!isNumber(value)) {\n return mom;\n }\n }\n }\n\n var month = value,\n date = mom.date();\n\n date = date < 29 ? date : Math.min(date, daysInMonth(mom.year(), month));\n void (mom._isUTC\n ? mom._d.setUTCMonth(month, date)\n : mom._d.setMonth(month, date));\n return mom;\n }\n\n function getSetMonth(value) {\n if (value != null) {\n setMonth(this, value);\n hooks.updateOffset(this, true);\n return this;\n } else {\n return get(this, 'Month');\n }\n }\n\n function getDaysInMonth() {\n return daysInMonth(this.year(), this.month());\n }\n\n function monthsShortRegex(isStrict) {\n if (this._monthsParseExact) {\n if (!hasOwnProp(this, '_monthsRegex')) {\n computeMonthsParse.call(this);\n }\n if (isStrict) {\n return this._monthsShortStrictRegex;\n } else {\n return this._monthsShortRegex;\n }\n } else {\n if (!hasOwnProp(this, '_monthsShortRegex')) {\n this._monthsShortRegex = defaultMonthsShortRegex;\n }\n return this._monthsShortStrictRegex && isStrict\n ? this._monthsShortStrictRegex\n : this._monthsShortRegex;\n }\n }\n\n function monthsRegex(isStrict) {\n if (this._monthsParseExact) {\n if (!hasOwnProp(this, '_monthsRegex')) {\n computeMonthsParse.call(this);\n }\n if (isStrict) {\n return this._monthsStrictRegex;\n } else {\n return this._monthsRegex;\n }\n } else {\n if (!hasOwnProp(this, '_monthsRegex')) {\n this._monthsRegex = defaultMonthsRegex;\n }\n return this._monthsStrictRegex && isStrict\n ? this._monthsStrictRegex\n : this._monthsRegex;\n }\n }\n\n function computeMonthsParse() {\n function cmpLenRev(a, b) {\n return b.length - a.length;\n }\n\n var shortPieces = [],\n longPieces = [],\n mixedPieces = [],\n i,\n mom,\n shortP,\n longP;\n for (i = 0; i < 12; i++) {\n // make the regex if we don't have it already\n mom = createUTC([2000, i]);\n shortP = regexEscape(this.monthsShort(mom, ''));\n longP = regexEscape(this.months(mom, ''));\n shortPieces.push(shortP);\n longPieces.push(longP);\n mixedPieces.push(longP);\n mixedPieces.push(shortP);\n }\n // Sorting makes sure if one month (or abbr) is a prefix of another it\n // will match the longer piece.\n shortPieces.sort(cmpLenRev);\n longPieces.sort(cmpLenRev);\n mixedPieces.sort(cmpLenRev);\n\n this._monthsRegex = new RegExp('^(' + mixedPieces.join('|') + ')', 'i');\n this._monthsShortRegex = this._monthsRegex;\n this._monthsStrictRegex = new RegExp(\n '^(' + longPieces.join('|') + ')',\n 'i'\n );\n this._monthsShortStrictRegex = new RegExp(\n '^(' + shortPieces.join('|') + ')',\n 'i'\n );\n }\n\n function createDate(y, m, d, h, M, s, ms) {\n // can't just apply() to create a date:\n // https://stackoverflow.com/q/181348\n var date;\n // the date constructor remaps years 0-99 to 1900-1999\n if (y < 100 && y >= 0) {\n // preserve leap years using a full 400 year cycle, then reset\n date = new Date(y + 400, m, d, h, M, s, ms);\n if (isFinite(date.getFullYear())) {\n date.setFullYear(y);\n }\n } else {\n date = new Date(y, m, d, h, M, s, ms);\n }\n\n return date;\n }\n\n function createUTCDate(y) {\n var date, args;\n // the Date.UTC function remaps years 0-99 to 1900-1999\n if (y < 100 && y >= 0) {\n args = Array.prototype.slice.call(arguments);\n // preserve leap years using a full 400 year cycle, then reset\n args[0] = y + 400;\n date = new Date(Date.UTC.apply(null, args));\n if (isFinite(date.getUTCFullYear())) {\n date.setUTCFullYear(y);\n }\n } else {\n date = new Date(Date.UTC.apply(null, arguments));\n }\n\n return date;\n }\n\n // start-of-first-week - start-of-year\n function firstWeekOffset(year, dow, doy) {\n var // first-week day -- which january is always in the first week (4 for iso, 1 for other)\n fwd = 7 + dow - doy,\n // first-week day local weekday -- which local weekday is fwd\n fwdlw = (7 + createUTCDate(year, 0, fwd).getUTCDay() - dow) % 7;\n\n return -fwdlw + fwd - 1;\n }\n\n // https://en.wikipedia.org/wiki/ISO_week_date#Calculating_a_date_given_the_year.2C_week_number_and_weekday\n function dayOfYearFromWeeks(year, week, weekday, dow, doy) {\n var localWeekday = (7 + weekday - dow) % 7,\n weekOffset = firstWeekOffset(year, dow, doy),\n dayOfYear = 1 + 7 * (week - 1) + localWeekday + weekOffset,\n resYear,\n resDayOfYear;\n\n if (dayOfYear <= 0) {\n resYear = year - 1;\n resDayOfYear = daysInYear(resYear) + dayOfYear;\n } else if (dayOfYear > daysInYear(year)) {\n resYear = year + 1;\n resDayOfYear = dayOfYear - daysInYear(year);\n } else {\n resYear = year;\n resDayOfYear = dayOfYear;\n }\n\n return {\n year: resYear,\n dayOfYear: resDayOfYear,\n };\n }\n\n function weekOfYear(mom, dow, doy) {\n var weekOffset = firstWeekOffset(mom.year(), dow, doy),\n week = Math.floor((mom.dayOfYear() - weekOffset - 1) / 7) + 1,\n resWeek,\n resYear;\n\n if (week < 1) {\n resYear = mom.year() - 1;\n resWeek = week + weeksInYear(resYear, dow, doy);\n } else if (week > weeksInYear(mom.year(), dow, doy)) {\n resWeek = week - weeksInYear(mom.year(), dow, doy);\n resYear = mom.year() + 1;\n } else {\n resYear = mom.year();\n resWeek = week;\n }\n\n return {\n week: resWeek,\n year: resYear,\n };\n }\n\n function weeksInYear(year, dow, doy) {\n var weekOffset = firstWeekOffset(year, dow, doy),\n weekOffsetNext = firstWeekOffset(year + 1, dow, doy);\n return (daysInYear(year) - weekOffset + weekOffsetNext) / 7;\n }\n\n // FORMATTING\n\n addFormatToken('w', ['ww', 2], 'wo', 'week');\n addFormatToken('W', ['WW', 2], 'Wo', 'isoWeek');\n\n // PARSING\n\n addRegexToken('w', match1to2, match1to2NoLeadingZero);\n addRegexToken('ww', match1to2, match2);\n addRegexToken('W', match1to2, match1to2NoLeadingZero);\n addRegexToken('WW', match1to2, match2);\n\n addWeekParseToken(\n ['w', 'ww', 'W', 'WW'],\n function (input, week, config, token) {\n week[token.substr(0, 1)] = toInt(input);\n }\n );\n\n // HELPERS\n\n // LOCALES\n\n function localeWeek(mom) {\n return weekOfYear(mom, this._week.dow, this._week.doy).week;\n }\n\n var defaultLocaleWeek = {\n dow: 0, // Sunday is the first day of the week.\n doy: 6, // The week that contains Jan 6th is the first week of the year.\n };\n\n function localeFirstDayOfWeek() {\n return this._week.dow;\n }\n\n function localeFirstDayOfYear() {\n return this._week.doy;\n }\n\n // MOMENTS\n\n function getSetWeek(input) {\n var week = this.localeData().week(this);\n return input == null ? week : this.add((input - week) * 7, 'd');\n }\n\n function getSetISOWeek(input) {\n var week = weekOfYear(this, 1, 4).week;\n return input == null ? week : this.add((input - week) * 7, 'd');\n }\n\n // FORMATTING\n\n addFormatToken('d', 0, 'do', 'day');\n\n addFormatToken('dd', 0, 0, function (format) {\n return this.localeData().weekdaysMin(this, format);\n });\n\n addFormatToken('ddd', 0, 0, function (format) {\n return this.localeData().weekdaysShort(this, format);\n });\n\n addFormatToken('dddd', 0, 0, function (format) {\n return this.localeData().weekdays(this, format);\n });\n\n addFormatToken('e', 0, 0, 'weekday');\n addFormatToken('E', 0, 0, 'isoWeekday');\n\n // PARSING\n\n addRegexToken('d', match1to2);\n addRegexToken('e', match1to2);\n addRegexToken('E', match1to2);\n addRegexToken('dd', function (isStrict, locale) {\n return locale.weekdaysMinRegex(isStrict);\n });\n addRegexToken('ddd', function (isStrict, locale) {\n return locale.weekdaysShortRegex(isStrict);\n });\n addRegexToken('dddd', function (isStrict, locale) {\n return locale.weekdaysRegex(isStrict);\n });\n\n addWeekParseToken(['dd', 'ddd', 'dddd'], function (input, week, config, token) {\n var weekday = config._locale.weekdaysParse(input, token, config._strict);\n // if we didn't get a weekday name, mark the date as invalid\n if (weekday != null) {\n week.d = weekday;\n } else {\n getParsingFlags(config).invalidWeekday = input;\n }\n });\n\n addWeekParseToken(['d', 'e', 'E'], function (input, week, config, token) {\n week[token] = toInt(input);\n });\n\n // HELPERS\n\n function parseWeekday(input, locale) {\n if (typeof input !== 'string') {\n return input;\n }\n\n if (!isNaN(input)) {\n return parseInt(input, 10);\n }\n\n input = locale.weekdaysParse(input);\n if (typeof input === 'number') {\n return input;\n }\n\n return null;\n }\n\n function parseIsoWeekday(input, locale) {\n if (typeof input === 'string') {\n return locale.weekdaysParse(input) % 7 || 7;\n }\n return isNaN(input) ? null : input;\n }\n\n // LOCALES\n function shiftWeekdays(ws, n) {\n return ws.slice(n, 7).concat(ws.slice(0, n));\n }\n\n var defaultLocaleWeekdays =\n 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'),\n defaultLocaleWeekdaysShort = 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),\n defaultLocaleWeekdaysMin = 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),\n defaultWeekdaysRegex = matchWord,\n defaultWeekdaysShortRegex = matchWord,\n defaultWeekdaysMinRegex = matchWord;\n\n function localeWeekdays(m, format) {\n var weekdays = isArray(this._weekdays)\n ? this._weekdays\n : this._weekdays[\n m && m !== true && this._weekdays.isFormat.test(format)\n ? 'format'\n : 'standalone'\n ];\n return m === true\n ? shiftWeekdays(weekdays, this._week.dow)\n : m\n ? weekdays[m.day()]\n : weekdays;\n }\n\n function localeWeekdaysShort(m) {\n return m === true\n ? shiftWeekdays(this._weekdaysShort, this._week.dow)\n : m\n ? this._weekdaysShort[m.day()]\n : this._weekdaysShort;\n }\n\n function localeWeekdaysMin(m) {\n return m === true\n ? shiftWeekdays(this._weekdaysMin, this._week.dow)\n : m\n ? this._weekdaysMin[m.day()]\n : this._weekdaysMin;\n }\n\n function handleStrictParse$1(weekdayName, format, strict) {\n var i,\n ii,\n mom,\n llc = weekdayName.toLocaleLowerCase();\n if (!this._weekdaysParse) {\n this._weekdaysParse = [];\n this._shortWeekdaysParse = [];\n this._minWeekdaysParse = [];\n\n for (i = 0; i < 7; ++i) {\n mom = createUTC([2000, 1]).day(i);\n this._minWeekdaysParse[i] = this.weekdaysMin(\n mom,\n ''\n ).toLocaleLowerCase();\n this._shortWeekdaysParse[i] = this.weekdaysShort(\n mom,\n ''\n ).toLocaleLowerCase();\n this._weekdaysParse[i] = this.weekdays(mom, '').toLocaleLowerCase();\n }\n }\n\n if (strict) {\n if (format === 'dddd') {\n ii = indexOf.call(this._weekdaysParse, llc);\n return ii !== -1 ? ii : null;\n } else if (format === 'ddd') {\n ii = indexOf.call(this._shortWeekdaysParse, llc);\n return ii !== -1 ? ii : null;\n } else {\n ii = indexOf.call(this._minWeekdaysParse, llc);\n return ii !== -1 ? ii : null;\n }\n } else {\n if (format === 'dddd') {\n ii = indexOf.call(this._weekdaysParse, llc);\n if (ii !== -1) {\n return ii;\n }\n ii = indexOf.call(this._shortWeekdaysParse, llc);\n if (ii !== -1) {\n return ii;\n }\n ii = indexOf.call(this._minWeekdaysParse, llc);\n return ii !== -1 ? ii : null;\n } else if (format === 'ddd') {\n ii = indexOf.call(this._shortWeekdaysParse, llc);\n if (ii !== -1) {\n return ii;\n }\n ii = indexOf.call(this._weekdaysParse, llc);\n if (ii !== -1) {\n return ii;\n }\n ii = indexOf.call(this._minWeekdaysParse, llc);\n return ii !== -1 ? ii : null;\n } else {\n ii = indexOf.call(this._minWeekdaysParse, llc);\n if (ii !== -1) {\n return ii;\n }\n ii = indexOf.call(this._weekdaysParse, llc);\n if (ii !== -1) {\n return ii;\n }\n ii = indexOf.call(this._shortWeekdaysParse, llc);\n return ii !== -1 ? ii : null;\n }\n }\n }\n\n function localeWeekdaysParse(weekdayName, format, strict) {\n var i, mom, regex;\n\n if (this._weekdaysParseExact) {\n return handleStrictParse$1.call(this, weekdayName, format, strict);\n }\n\n if (!this._weekdaysParse) {\n this._weekdaysParse = [];\n this._minWeekdaysParse = [];\n this._shortWeekdaysParse = [];\n this._fullWeekdaysParse = [];\n }\n\n for (i = 0; i < 7; i++) {\n // make the regex if we don't have it already\n\n mom = createUTC([2000, 1]).day(i);\n if (strict && !this._fullWeekdaysParse[i]) {\n this._fullWeekdaysParse[i] = new RegExp(\n '^' + this.weekdays(mom, '').replace('.', '\\\\.?') + '$',\n 'i'\n );\n this._shortWeekdaysParse[i] = new RegExp(\n '^' + this.weekdaysShort(mom, '').replace('.', '\\\\.?') + '$',\n 'i'\n );\n this._minWeekdaysParse[i] = new RegExp(\n '^' + this.weekdaysMin(mom, '').replace('.', '\\\\.?') + '$',\n 'i'\n );\n }\n if (!this._weekdaysParse[i]) {\n regex =\n '^' +\n this.weekdays(mom, '') +\n '|^' +\n this.weekdaysShort(mom, '') +\n '|^' +\n this.weekdaysMin(mom, '');\n this._weekdaysParse[i] = new RegExp(regex.replace('.', ''), 'i');\n }\n // test the regex\n if (\n strict &&\n format === 'dddd' &&\n this._fullWeekdaysParse[i].test(weekdayName)\n ) {\n return i;\n } else if (\n strict &&\n format === 'ddd' &&\n this._shortWeekdaysParse[i].test(weekdayName)\n ) {\n return i;\n } else if (\n strict &&\n format === 'dd' &&\n this._minWeekdaysParse[i].test(weekdayName)\n ) {\n return i;\n } else if (!strict && this._weekdaysParse[i].test(weekdayName)) {\n return i;\n }\n }\n }\n\n // MOMENTS\n\n function getSetDayOfWeek(input) {\n if (!this.isValid()) {\n return input != null ? this : NaN;\n }\n\n var day = get(this, 'Day');\n if (input != null) {\n input = parseWeekday(input, this.localeData());\n return this.add(input - day, 'd');\n } else {\n return day;\n }\n }\n\n function getSetLocaleDayOfWeek(input) {\n if (!this.isValid()) {\n return input != null ? this : NaN;\n }\n var weekday = (this.day() + 7 - this.localeData()._week.dow) % 7;\n return input == null ? weekday : this.add(input - weekday, 'd');\n }\n\n function getSetISODayOfWeek(input) {\n if (!this.isValid()) {\n return input != null ? this : NaN;\n }\n\n // behaves the same as moment#day except\n // as a getter, returns 7 instead of 0 (1-7 range instead of 0-6)\n // as a setter, sunday should belong to the previous week.\n\n if (input != null) {\n var weekday = parseIsoWeekday(input, this.localeData());\n return this.day(this.day() % 7 ? weekday : weekday - 7);\n } else {\n return this.day() || 7;\n }\n }\n\n function weekdaysRegex(isStrict) {\n if (this._weekdaysParseExact) {\n if (!hasOwnProp(this, '_weekdaysRegex')) {\n computeWeekdaysParse.call(this);\n }\n if (isStrict) {\n return this._weekdaysStrictRegex;\n } else {\n return this._weekdaysRegex;\n }\n } else {\n if (!hasOwnProp(this, '_weekdaysRegex')) {\n this._weekdaysRegex = defaultWeekdaysRegex;\n }\n return this._weekdaysStrictRegex && isStrict\n ? this._weekdaysStrictRegex\n : this._weekdaysRegex;\n }\n }\n\n function weekdaysShortRegex(isStrict) {\n if (this._weekdaysParseExact) {\n if (!hasOwnProp(this, '_weekdaysRegex')) {\n computeWeekdaysParse.call(this);\n }\n if (isStrict) {\n return this._weekdaysShortStrictRegex;\n } else {\n return this._weekdaysShortRegex;\n }\n } else {\n if (!hasOwnProp(this, '_weekdaysShortRegex')) {\n this._weekdaysShortRegex = defaultWeekdaysShortRegex;\n }\n return this._weekdaysShortStrictRegex && isStrict\n ? this._weekdaysShortStrictRegex\n : this._weekdaysShortRegex;\n }\n }\n\n function weekdaysMinRegex(isStrict) {\n if (this._weekdaysParseExact) {\n if (!hasOwnProp(this, '_weekdaysRegex')) {\n computeWeekdaysParse.call(this);\n }\n if (isStrict) {\n return this._weekdaysMinStrictRegex;\n } else {\n return this._weekdaysMinRegex;\n }\n } else {\n if (!hasOwnProp(this, '_weekdaysMinRegex')) {\n this._weekdaysMinRegex = defaultWeekdaysMinRegex;\n }\n return this._weekdaysMinStrictRegex && isStrict\n ? this._weekdaysMinStrictRegex\n : this._weekdaysMinRegex;\n }\n }\n\n function computeWeekdaysParse() {\n function cmpLenRev(a, b) {\n return b.length - a.length;\n }\n\n var minPieces = [],\n shortPieces = [],\n longPieces = [],\n mixedPieces = [],\n i,\n mom,\n minp,\n shortp,\n longp;\n for (i = 0; i < 7; i++) {\n // make the regex if we don't have it already\n mom = createUTC([2000, 1]).day(i);\n minp = regexEscape(this.weekdaysMin(mom, ''));\n shortp = regexEscape(this.weekdaysShort(mom, ''));\n longp = regexEscape(this.weekdays(mom, ''));\n minPieces.push(minp);\n shortPieces.push(shortp);\n longPieces.push(longp);\n mixedPieces.push(minp);\n mixedPieces.push(shortp);\n mixedPieces.push(longp);\n }\n // Sorting makes sure if one weekday (or abbr) is a prefix of another it\n // will match the longer piece.\n minPieces.sort(cmpLenRev);\n shortPieces.sort(cmpLenRev);\n longPieces.sort(cmpLenRev);\n mixedPieces.sort(cmpLenRev);\n\n this._weekdaysRegex = new RegExp('^(' + mixedPieces.join('|') + ')', 'i');\n this._weekdaysShortRegex = this._weekdaysRegex;\n this._weekdaysMinRegex = this._weekdaysRegex;\n\n this._weekdaysStrictRegex = new RegExp(\n '^(' + longPieces.join('|') + ')',\n 'i'\n );\n this._weekdaysShortStrictRegex = new RegExp(\n '^(' + shortPieces.join('|') + ')',\n 'i'\n );\n this._weekdaysMinStrictRegex = new RegExp(\n '^(' + minPieces.join('|') + ')',\n 'i'\n );\n }\n\n // FORMATTING\n\n function hFormat() {\n return this.hours() % 12 || 12;\n }\n\n function kFormat() {\n return this.hours() || 24;\n }\n\n addFormatToken('H', ['HH', 2], 0, 'hour');\n addFormatToken('h', ['hh', 2], 0, hFormat);\n addFormatToken('k', ['kk', 2], 0, kFormat);\n\n addFormatToken('hmm', 0, 0, function () {\n return '' + hFormat.apply(this) + zeroFill(this.minutes(), 2);\n });\n\n addFormatToken('hmmss', 0, 0, function () {\n return (\n '' +\n hFormat.apply(this) +\n zeroFill(this.minutes(), 2) +\n zeroFill(this.seconds(), 2)\n );\n });\n\n addFormatToken('Hmm', 0, 0, function () {\n return '' + this.hours() + zeroFill(this.minutes(), 2);\n });\n\n addFormatToken('Hmmss', 0, 0, function () {\n return (\n '' +\n this.hours() +\n zeroFill(this.minutes(), 2) +\n zeroFill(this.seconds(), 2)\n );\n });\n\n function meridiem(token, lowercase) {\n addFormatToken(token, 0, 0, function () {\n return this.localeData().meridiem(\n this.hours(),\n this.minutes(),\n lowercase\n );\n });\n }\n\n meridiem('a', true);\n meridiem('A', false);\n\n // PARSING\n\n function matchMeridiem(isStrict, locale) {\n return locale._meridiemParse;\n }\n\n addRegexToken('a', matchMeridiem);\n addRegexToken('A', matchMeridiem);\n addRegexToken('H', match1to2, match1to2HasZero);\n addRegexToken('h', match1to2, match1to2NoLeadingZero);\n addRegexToken('k', match1to2, match1to2NoLeadingZero);\n addRegexToken('HH', match1to2, match2);\n addRegexToken('hh', match1to2, match2);\n addRegexToken('kk', match1to2, match2);\n\n addRegexToken('hmm', match3to4);\n addRegexToken('hmmss', match5to6);\n addRegexToken('Hmm', match3to4);\n addRegexToken('Hmmss', match5to6);\n\n addParseToken(['H', 'HH'], HOUR);\n addParseToken(['k', 'kk'], function (input, array, config) {\n var kInput = toInt(input);\n array[HOUR] = kInput === 24 ? 0 : kInput;\n });\n addParseToken(['a', 'A'], function (input, array, config) {\n config._isPm = config._locale.isPM(input);\n config._meridiem = input;\n });\n addParseToken(['h', 'hh'], function (input, array, config) {\n array[HOUR] = toInt(input);\n getParsingFlags(config).bigHour = true;\n });\n addParseToken('hmm', function (input, array, config) {\n var pos = input.length - 2;\n array[HOUR] = toInt(input.substr(0, pos));\n array[MINUTE] = toInt(input.substr(pos));\n getParsingFlags(config).bigHour = true;\n });\n addParseToken('hmmss', function (input, array, config) {\n var pos1 = input.length - 4,\n pos2 = input.length - 2;\n array[HOUR] = toInt(input.substr(0, pos1));\n array[MINUTE] = toInt(input.substr(pos1, 2));\n array[SECOND] = toInt(input.substr(pos2));\n getParsingFlags(config).bigHour = true;\n });\n addParseToken('Hmm', function (input, array, config) {\n var pos = input.length - 2;\n array[HOUR] = toInt(input.substr(0, pos));\n array[MINUTE] = toInt(input.substr(pos));\n });\n addParseToken('Hmmss', function (input, array, config) {\n var pos1 = input.length - 4,\n pos2 = input.length - 2;\n array[HOUR] = toInt(input.substr(0, pos1));\n array[MINUTE] = toInt(input.substr(pos1, 2));\n array[SECOND] = toInt(input.substr(pos2));\n });\n\n // LOCALES\n\n function localeIsPM(input) {\n // IE8 Quirks Mode & IE7 Standards Mode do not allow accessing strings like arrays\n // Using charAt should be more compatible.\n return (input + '').toLowerCase().charAt(0) === 'p';\n }\n\n var defaultLocaleMeridiemParse = /[ap]\\.?m?\\.?/i,\n // Setting the hour should keep the time, because the user explicitly\n // specified which hour they want. So trying to maintain the same hour (in\n // a new timezone) makes sense. Adding/subtracting hours does not follow\n // this rule.\n getSetHour = makeGetSet('Hours', true);\n\n function localeMeridiem(hours, minutes, isLower) {\n if (hours > 11) {\n return isLower ? 'pm' : 'PM';\n } else {\n return isLower ? 'am' : 'AM';\n }\n }\n\n var baseConfig = {\n calendar: defaultCalendar,\n longDateFormat: defaultLongDateFormat,\n invalidDate: defaultInvalidDate,\n ordinal: defaultOrdinal,\n dayOfMonthOrdinalParse: defaultDayOfMonthOrdinalParse,\n relativeTime: defaultRelativeTime,\n\n months: defaultLocaleMonths,\n monthsShort: defaultLocaleMonthsShort,\n\n week: defaultLocaleWeek,\n\n weekdays: defaultLocaleWeekdays,\n weekdaysMin: defaultLocaleWeekdaysMin,\n weekdaysShort: defaultLocaleWeekdaysShort,\n\n meridiemParse: defaultLocaleMeridiemParse,\n };\n\n // internal storage for locale config files\n var locales = {},\n localeFamilies = {},\n globalLocale;\n\n function commonPrefix(arr1, arr2) {\n var i,\n minl = Math.min(arr1.length, arr2.length);\n for (i = 0; i < minl; i += 1) {\n if (arr1[i] !== arr2[i]) {\n return i;\n }\n }\n return minl;\n }\n\n function normalizeLocale(key) {\n return key ? key.toLowerCase().replace('_', '-') : key;\n }\n\n // pick the locale from the array\n // try ['en-au', 'en-gb'] as 'en-au', 'en-gb', 'en', as in move through the list trying each\n // substring from most specific to least, but move to the next array item if it's a more specific variant than the current root\n function chooseLocale(names) {\n var i = 0,\n j,\n next,\n locale,\n split;\n\n while (i < names.length) {\n split = normalizeLocale(names[i]).split('-');\n j = split.length;\n next = normalizeLocale(names[i + 1]);\n next = next ? next.split('-') : null;\n while (j > 0) {\n locale = loadLocale(split.slice(0, j).join('-'));\n if (locale) {\n return locale;\n }\n if (\n next &&\n next.length >= j &&\n commonPrefix(split, next) >= j - 1\n ) {\n //the next array item is better than a shallower substring of this one\n break;\n }\n j--;\n }\n i++;\n }\n return globalLocale;\n }\n\n function isLocaleNameSane(name) {\n // Prevent names that look like filesystem paths, i.e contain '/' or '\\'\n // Ensure name is available and function returns boolean\n return !!(name && name.match('^[^/\\\\\\\\]*$'));\n }\n\n function loadLocale(name) {\n var oldLocale = null,\n aliasedRequire;\n // TODO: Find a better way to register and load all the locales in Node\n if (\n locales[name] === undefined &&\n typeof module !== 'undefined' &&\n module &&\n module.exports &&\n isLocaleNameSane(name)\n ) {\n try {\n oldLocale = globalLocale._abbr;\n aliasedRequire = require;\n aliasedRequire('./locale/' + name);\n getSetGlobalLocale(oldLocale);\n } catch (e) {\n // mark as not found to avoid repeating expensive file require call causing high CPU\n // when trying to find en-US, en_US, en-us for every format call\n locales[name] = null; // null means not found\n }\n }\n return locales[name];\n }\n\n // This function will load locale and then set the global locale. If\n // no arguments are passed in, it will simply return the current global\n // locale key.\n function getSetGlobalLocale(key, values) {\n var data;\n if (key) {\n if (isUndefined(values)) {\n data = getLocale(key);\n } else {\n data = defineLocale(key, values);\n }\n\n if (data) {\n // moment.duration._locale = moment._locale = data;\n globalLocale = data;\n } else {\n if (typeof console !== 'undefined' && console.warn) {\n //warn user if arguments are passed but the locale could not be set\n console.warn(\n 'Locale ' + key + ' not found. Did you forget to load it?'\n );\n }\n }\n }\n\n return globalLocale._abbr;\n }\n\n function defineLocale(name, config) {\n if (config !== null) {\n var locale,\n parentConfig = baseConfig;\n config.abbr = name;\n if (locales[name] != null) {\n deprecateSimple(\n 'defineLocaleOverride',\n 'use moment.updateLocale(localeName, config) to change ' +\n 'an existing locale. moment.defineLocale(localeName, ' +\n 'config) should only be used for creating a new locale ' +\n 'See http://momentjs.com/guides/#/warnings/define-locale/ for more info.'\n );\n parentConfig = locales[name]._config;\n } else if (config.parentLocale != null) {\n if (locales[config.parentLocale] != null) {\n parentConfig = locales[config.parentLocale]._config;\n } else {\n locale = loadLocale(config.parentLocale);\n if (locale != null) {\n parentConfig = locale._config;\n } else {\n if (!localeFamilies[config.parentLocale]) {\n localeFamilies[config.parentLocale] = [];\n }\n localeFamilies[config.parentLocale].push({\n name: name,\n config: config,\n });\n return null;\n }\n }\n }\n locales[name] = new Locale(mergeConfigs(parentConfig, config));\n\n if (localeFamilies[name]) {\n localeFamilies[name].forEach(function (x) {\n defineLocale(x.name, x.config);\n });\n }\n\n // backwards compat for now: also set the locale\n // make sure we set the locale AFTER all child locales have been\n // created, so we won't end up with the child locale set.\n getSetGlobalLocale(name);\n\n return locales[name];\n } else {\n // useful for testing\n delete locales[name];\n return null;\n }\n }\n\n function updateLocale(name, config) {\n if (config != null) {\n var locale,\n tmpLocale,\n parentConfig = baseConfig;\n\n if (locales[name] != null && locales[name].parentLocale != null) {\n // Update existing child locale in-place to avoid memory-leaks\n locales[name].set(mergeConfigs(locales[name]._config, config));\n } else {\n // MERGE\n tmpLocale = loadLocale(name);\n if (tmpLocale != null) {\n parentConfig = tmpLocale._config;\n }\n config = mergeConfigs(parentConfig, config);\n if (tmpLocale == null) {\n // updateLocale is called for creating a new locale\n // Set abbr so it will have a name (getters return\n // undefined otherwise).\n config.abbr = name;\n }\n locale = new Locale(config);\n locale.parentLocale = locales[name];\n locales[name] = locale;\n }\n\n // backwards compat for now: also set the locale\n getSetGlobalLocale(name);\n } else {\n // pass null for config to unupdate, useful for tests\n if (locales[name] != null) {\n if (locales[name].parentLocale != null) {\n locales[name] = locales[name].parentLocale;\n if (name === getSetGlobalLocale()) {\n getSetGlobalLocale(name);\n }\n } else if (locales[name] != null) {\n delete locales[name];\n }\n }\n }\n return locales[name];\n }\n\n // returns locale data\n function getLocale(key) {\n var locale;\n\n if (key && key._locale && key._locale._abbr) {\n key = key._locale._abbr;\n }\n\n if (!key) {\n return globalLocale;\n }\n\n if (!isArray(key)) {\n //short-circuit everything else\n locale = loadLocale(key);\n if (locale) {\n return locale;\n }\n key = [key];\n }\n\n return chooseLocale(key);\n }\n\n function listLocales() {\n return keys(locales);\n }\n\n function checkOverflow(m) {\n var overflow,\n a = m._a;\n\n if (a && getParsingFlags(m).overflow === -2) {\n overflow =\n a[MONTH] < 0 || a[MONTH] > 11\n ? MONTH\n : a[DATE] < 1 || a[DATE] > daysInMonth(a[YEAR], a[MONTH])\n ? DATE\n : a[HOUR] < 0 ||\n a[HOUR] > 24 ||\n (a[HOUR] === 24 &&\n (a[MINUTE] !== 0 ||\n a[SECOND] !== 0 ||\n a[MILLISECOND] !== 0))\n ? HOUR\n : a[MINUTE] < 0 || a[MINUTE] > 59\n ? MINUTE\n : a[SECOND] < 0 || a[SECOND] > 59\n ? SECOND\n : a[MILLISECOND] < 0 || a[MILLISECOND] > 999\n ? MILLISECOND\n : -1;\n\n if (\n getParsingFlags(m)._overflowDayOfYear &&\n (overflow < YEAR || overflow > DATE)\n ) {\n overflow = DATE;\n }\n if (getParsingFlags(m)._overflowWeeks && overflow === -1) {\n overflow = WEEK;\n }\n if (getParsingFlags(m)._overflowWeekday && overflow === -1) {\n overflow = WEEKDAY;\n }\n\n getParsingFlags(m).overflow = overflow;\n }\n\n return m;\n }\n\n // iso 8601 regex\n // 0000-00-00 0000-W00 or 0000-W00-0 + T + 00 or 00:00 or 00:00:00 or 00:00:00.000 + +00:00 or +0000 or +00)\n var extendedIsoRegex =\n /^\\s*((?:[+-]\\d{6}|\\d{4})-(?:\\d\\d-\\d\\d|W\\d\\d-\\d|W\\d\\d|\\d\\d\\d|\\d\\d))(?:(T| )(\\d\\d(?::\\d\\d(?::\\d\\d(?:[.,]\\d+)?)?)?)([+-]\\d\\d(?::?\\d\\d)?|\\s*Z)?)?$/,\n basicIsoRegex =\n /^\\s*((?:[+-]\\d{6}|\\d{4})(?:\\d\\d\\d\\d|W\\d\\d\\d|W\\d\\d|\\d\\d\\d|\\d\\d|))(?:(T| )(\\d\\d(?:\\d\\d(?:\\d\\d(?:[.,]\\d+)?)?)?)([+-]\\d\\d(?::?\\d\\d)?|\\s*Z)?)?$/,\n tzRegex = /Z|[+-]\\d\\d(?::?\\d\\d)?/,\n isoDates = [\n ['YYYYYY-MM-DD', /[+-]\\d{6}-\\d\\d-\\d\\d/],\n ['YYYY-MM-DD', /\\d{4}-\\d\\d-\\d\\d/],\n ['GGGG-[W]WW-E', /\\d{4}-W\\d\\d-\\d/],\n ['GGGG-[W]WW', /\\d{4}-W\\d\\d/, false],\n ['YYYY-DDD', /\\d{4}-\\d{3}/],\n ['YYYY-MM', /\\d{4}-\\d\\d/, false],\n ['YYYYYYMMDD', /[+-]\\d{10}/],\n ['YYYYMMDD', /\\d{8}/],\n ['GGGG[W]WWE', /\\d{4}W\\d{3}/],\n ['GGGG[W]WW', /\\d{4}W\\d{2}/, false],\n ['YYYYDDD', /\\d{7}/],\n ['YYYYMM', /\\d{6}/, false],\n ['YYYY', /\\d{4}/, false],\n ],\n // iso time formats and regexes\n isoTimes = [\n ['HH:mm:ss.SSSS', /\\d\\d:\\d\\d:\\d\\d\\.\\d+/],\n ['HH:mm:ss,SSSS', /\\d\\d:\\d\\d:\\d\\d,\\d+/],\n ['HH:mm:ss', /\\d\\d:\\d\\d:\\d\\d/],\n ['HH:mm', /\\d\\d:\\d\\d/],\n ['HHmmss.SSSS', /\\d\\d\\d\\d\\d\\d\\.\\d+/],\n ['HHmmss,SSSS', /\\d\\d\\d\\d\\d\\d,\\d+/],\n ['HHmmss', /\\d\\d\\d\\d\\d\\d/],\n ['HHmm', /\\d\\d\\d\\d/],\n ['HH', /\\d\\d/],\n ],\n aspNetJsonRegex = /^\\/?Date\\((-?\\d+)/i,\n // RFC 2822 regex: For details see https://tools.ietf.org/html/rfc2822#section-3.3\n rfc2822 =\n /^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\\s)?(\\d{1,2})\\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\\s(\\d{2,4})\\s(\\d\\d):(\\d\\d)(?::(\\d\\d))?\\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\\d{4}))$/,\n obsOffsets = {\n UT: 0,\n GMT: 0,\n EDT: -4 * 60,\n EST: -5 * 60,\n CDT: -5 * 60,\n CST: -6 * 60,\n MDT: -6 * 60,\n MST: -7 * 60,\n PDT: -7 * 60,\n PST: -8 * 60,\n };\n\n // date from iso format\n function configFromISO(config) {\n var i,\n l,\n string = config._i,\n match = extendedIsoRegex.exec(string) || basicIsoRegex.exec(string),\n allowTime,\n dateFormat,\n timeFormat,\n tzFormat,\n isoDatesLen = isoDates.length,\n isoTimesLen = isoTimes.length;\n\n if (match) {\n getParsingFlags(config).iso = true;\n for (i = 0, l = isoDatesLen; i < l; i++) {\n if (isoDates[i][1].exec(match[1])) {\n dateFormat = isoDates[i][0];\n allowTime = isoDates[i][2] !== false;\n break;\n }\n }\n if (dateFormat == null) {\n config._isValid = false;\n return;\n }\n if (match[3]) {\n for (i = 0, l = isoTimesLen; i < l; i++) {\n if (isoTimes[i][1].exec(match[3])) {\n // match[2] should be 'T' or space\n timeFormat = (match[2] || ' ') + isoTimes[i][0];\n break;\n }\n }\n if (timeFormat == null) {\n config._isValid = false;\n return;\n }\n }\n if (!allowTime && timeFormat != null) {\n config._isValid = false;\n return;\n }\n if (match[4]) {\n if (tzRegex.exec(match[4])) {\n tzFormat = 'Z';\n } else {\n config._isValid = false;\n return;\n }\n }\n config._f = dateFormat + (timeFormat || '') + (tzFormat || '');\n configFromStringAndFormat(config);\n } else {\n config._isValid = false;\n }\n }\n\n function extractFromRFC2822Strings(\n yearStr,\n monthStr,\n dayStr,\n hourStr,\n minuteStr,\n secondStr\n ) {\n var result = [\n untruncateYear(yearStr),\n defaultLocaleMonthsShort.indexOf(monthStr),\n parseInt(dayStr, 10),\n parseInt(hourStr, 10),\n parseInt(minuteStr, 10),\n ];\n\n if (secondStr) {\n result.push(parseInt(secondStr, 10));\n }\n\n return result;\n }\n\n function untruncateYear(yearStr) {\n var year = parseInt(yearStr, 10);\n if (year <= 49) {\n return 2000 + year;\n } else if (year <= 999) {\n return 1900 + year;\n }\n return year;\n }\n\n function preprocessRFC2822(s) {\n // Remove comments and folding whitespace and replace multiple-spaces with a single space\n return s\n .replace(/\\([^()]*\\)|[\\n\\t]/g, ' ')\n .replace(/(\\s\\s+)/g, ' ')\n .replace(/^\\s\\s*/, '')\n .replace(/\\s\\s*$/, '');\n }\n\n function checkWeekday(weekdayStr, parsedInput, config) {\n if (weekdayStr) {\n // TODO: Replace the vanilla JS Date object with an independent day-of-week check.\n var weekdayProvided = defaultLocaleWeekdaysShort.indexOf(weekdayStr),\n weekdayActual = new Date(\n parsedInput[0],\n parsedInput[1],\n parsedInput[2]\n ).getDay();\n if (weekdayProvided !== weekdayActual) {\n getParsingFlags(config).weekdayMismatch = true;\n config._isValid = false;\n return false;\n }\n }\n return true;\n }\n\n function calculateOffset(obsOffset, militaryOffset, numOffset) {\n if (obsOffset) {\n return obsOffsets[obsOffset];\n } else if (militaryOffset) {\n // the only allowed military tz is Z\n return 0;\n } else {\n var hm = parseInt(numOffset, 10),\n m = hm % 100,\n h = (hm - m) / 100;\n return h * 60 + m;\n }\n }\n\n // date and time from ref 2822 format\n function configFromRFC2822(config) {\n var match = rfc2822.exec(preprocessRFC2822(config._i)),\n parsedArray;\n if (match) {\n parsedArray = extractFromRFC2822Strings(\n match[4],\n match[3],\n match[2],\n match[5],\n match[6],\n match[7]\n );\n if (!checkWeekday(match[1], parsedArray, config)) {\n return;\n }\n\n config._a = parsedArray;\n config._tzm = calculateOffset(match[8], match[9], match[10]);\n\n config._d = createUTCDate.apply(null, config._a);\n config._d.setUTCMinutes(config._d.getUTCMinutes() - config._tzm);\n\n getParsingFlags(config).rfc2822 = true;\n } else {\n config._isValid = false;\n }\n }\n\n // date from 1) ASP.NET, 2) ISO, 3) RFC 2822 formats, or 4) optional fallback if parsing isn't strict\n function configFromString(config) {\n var matched = aspNetJsonRegex.exec(config._i);\n if (matched !== null) {\n config._d = new Date(+matched[1]);\n return;\n }\n\n configFromISO(config);\n if (config._isValid === false) {\n delete config._isValid;\n } else {\n return;\n }\n\n configFromRFC2822(config);\n if (config._isValid === false) {\n delete config._isValid;\n } else {\n return;\n }\n\n if (config._strict) {\n config._isValid = false;\n } else {\n // Final attempt, use Input Fallback\n hooks.createFromInputFallback(config);\n }\n }\n\n hooks.createFromInputFallback = deprecate(\n 'value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), ' +\n 'which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are ' +\n 'discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.',\n function (config) {\n config._d = new Date(config._i + (config._useUTC ? ' UTC' : ''));\n }\n );\n\n // Pick the first defined of two or three arguments.\n function defaults(a, b, c) {\n if (a != null) {\n return a;\n }\n if (b != null) {\n return b;\n }\n return c;\n }\n\n function currentDateArray(config) {\n // hooks is actually the exported moment object\n var nowValue = new Date(hooks.now());\n if (config._useUTC) {\n return [\n nowValue.getUTCFullYear(),\n nowValue.getUTCMonth(),\n nowValue.getUTCDate(),\n ];\n }\n return [nowValue.getFullYear(), nowValue.getMonth(), nowValue.getDate()];\n }\n\n // convert an array to a date.\n // the array should mirror the parameters below\n // note: all values past the year are optional and will default to the lowest possible value.\n // [year, month, day , hour, minute, second, millisecond]\n function configFromArray(config) {\n var i,\n date,\n input = [],\n currentDate,\n expectedWeekday,\n yearToUse;\n\n if (config._d) {\n return;\n }\n\n currentDate = currentDateArray(config);\n\n //compute day of the year from weeks and weekdays\n if (config._w && config._a[DATE] == null && config._a[MONTH] == null) {\n dayOfYearFromWeekInfo(config);\n }\n\n //if the day of the year is set, figure out what it is\n if (config._dayOfYear != null) {\n yearToUse = defaults(config._a[YEAR], currentDate[YEAR]);\n\n if (\n config._dayOfYear > daysInYear(yearToUse) ||\n config._dayOfYear === 0\n ) {\n getParsingFlags(config)._overflowDayOfYear = true;\n }\n\n date = createUTCDate(yearToUse, 0, config._dayOfYear);\n config._a[MONTH] = date.getUTCMonth();\n config._a[DATE] = date.getUTCDate();\n }\n\n // Default to current date.\n // * if no year, month, day of month are given, default to today\n // * if day of month is given, default month and year\n // * if month is given, default only year\n // * if year is given, don't default anything\n for (i = 0; i < 3 && config._a[i] == null; ++i) {\n config._a[i] = input[i] = currentDate[i];\n }\n\n // Zero out whatever was not defaulted, including time\n for (; i < 7; i++) {\n config._a[i] = input[i] =\n config._a[i] == null ? (i === 2 ? 1 : 0) : config._a[i];\n }\n\n // Check for 24:00:00.000\n if (\n config._a[HOUR] === 24 &&\n config._a[MINUTE] === 0 &&\n config._a[SECOND] === 0 &&\n config._a[MILLISECOND] === 0\n ) {\n config._nextDay = true;\n config._a[HOUR] = 0;\n }\n\n config._d = (config._useUTC ? createUTCDate : createDate).apply(\n null,\n input\n );\n expectedWeekday = config._useUTC\n ? config._d.getUTCDay()\n : config._d.getDay();\n\n // Apply timezone offset from input. The actual utcOffset can be changed\n // with parseZone.\n if (config._tzm != null) {\n config._d.setUTCMinutes(config._d.getUTCMinutes() - config._tzm);\n }\n\n if (config._nextDay) {\n config._a[HOUR] = 24;\n }\n\n // check for mismatching day of week\n if (\n config._w &&\n typeof config._w.d !== 'undefined' &&\n config._w.d !== expectedWeekday\n ) {\n getParsingFlags(config).weekdayMismatch = true;\n }\n }\n\n function dayOfYearFromWeekInfo(config) {\n var w, weekYear, week, weekday, dow, doy, temp, weekdayOverflow, curWeek;\n\n w = config._w;\n if (w.GG != null || w.W != null || w.E != null) {\n dow = 1;\n doy = 4;\n\n // TODO: We need to take the current isoWeekYear, but that depends on\n // how we interpret now (local, utc, fixed offset). So create\n // a now version of current config (take local/utc/offset flags, and\n // create now).\n weekYear = defaults(\n w.GG,\n config._a[YEAR],\n weekOfYear(createLocal(), 1, 4).year\n );\n week = defaults(w.W, 1);\n weekday = defaults(w.E, 1);\n if (weekday < 1 || weekday > 7) {\n weekdayOverflow = true;\n }\n } else {\n dow = config._locale._week.dow;\n doy = config._locale._week.doy;\n\n curWeek = weekOfYear(createLocal(), dow, doy);\n\n weekYear = defaults(w.gg, config._a[YEAR], curWeek.year);\n\n // Default to current week.\n week = defaults(w.w, curWeek.week);\n\n if (w.d != null) {\n // weekday -- low day numbers are considered next week\n weekday = w.d;\n if (weekday < 0 || weekday > 6) {\n weekdayOverflow = true;\n }\n } else if (w.e != null) {\n // local weekday -- counting starts from beginning of week\n weekday = w.e + dow;\n if (w.e < 0 || w.e > 6) {\n weekdayOverflow = true;\n }\n } else {\n // default to beginning of week\n weekday = dow;\n }\n }\n if (week < 1 || week > weeksInYear(weekYear, dow, doy)) {\n getParsingFlags(config)._overflowWeeks = true;\n } else if (weekdayOverflow != null) {\n getParsingFlags(config)._overflowWeekday = true;\n } else {\n temp = dayOfYearFromWeeks(weekYear, week, weekday, dow, doy);\n config._a[YEAR] = temp.year;\n config._dayOfYear = temp.dayOfYear;\n }\n }\n\n // constant that refers to the ISO standard\n hooks.ISO_8601 = function () {};\n\n // constant that refers to the RFC 2822 form\n hooks.RFC_2822 = function () {};\n\n // date from string and format string\n function configFromStringAndFormat(config) {\n // TODO: Move this to another part of the creation flow to prevent circular deps\n if (config._f === hooks.ISO_8601) {\n configFromISO(config);\n return;\n }\n if (config._f === hooks.RFC_2822) {\n configFromRFC2822(config);\n return;\n }\n config._a = [];\n getParsingFlags(config).empty = true;\n\n // This array is used to make a Date, either with `new Date` or `Date.UTC`\n var string = '' + config._i,\n i,\n parsedInput,\n tokens,\n token,\n skipped,\n stringLength = string.length,\n totalParsedInputLength = 0,\n era,\n tokenLen;\n\n tokens =\n expandFormat(config._f, config._locale).match(formattingTokens) || [];\n tokenLen = tokens.length;\n for (i = 0; i < tokenLen; i++) {\n token = tokens[i];\n parsedInput = (string.match(getParseRegexForToken(token, config)) ||\n [])[0];\n if (parsedInput) {\n skipped = string.substr(0, string.indexOf(parsedInput));\n if (skipped.length > 0) {\n getParsingFlags(config).unusedInput.push(skipped);\n }\n string = string.slice(\n string.indexOf(parsedInput) + parsedInput.length\n );\n totalParsedInputLength += parsedInput.length;\n }\n // don't parse if it's not a known token\n if (formatTokenFunctions[token]) {\n if (parsedInput) {\n getParsingFlags(config).empty = false;\n } else {\n getParsingFlags(config).unusedTokens.push(token);\n }\n addTimeToArrayFromToken(token, parsedInput, config);\n } else if (config._strict && !parsedInput) {\n getParsingFlags(config).unusedTokens.push(token);\n }\n }\n\n // add remaining unparsed input length to the string\n getParsingFlags(config).charsLeftOver =\n stringLength - totalParsedInputLength;\n if (string.length > 0) {\n getParsingFlags(config).unusedInput.push(string);\n }\n\n // clear _12h flag if hour is <= 12\n if (\n config._a[HOUR] <= 12 &&\n getParsingFlags(config).bigHour === true &&\n config._a[HOUR] > 0\n ) {\n getParsingFlags(config).bigHour = undefined;\n }\n\n getParsingFlags(config).parsedDateParts = config._a.slice(0);\n getParsingFlags(config).meridiem = config._meridiem;\n // handle meridiem\n config._a[HOUR] = meridiemFixWrap(\n config._locale,\n config._a[HOUR],\n config._meridiem\n );\n\n // handle era\n era = getParsingFlags(config).era;\n if (era !== null) {\n config._a[YEAR] = config._locale.erasConvertYear(era, config._a[YEAR]);\n }\n\n configFromArray(config);\n checkOverflow(config);\n }\n\n function meridiemFixWrap(locale, hour, meridiem) {\n var isPm;\n\n if (meridiem == null) {\n // nothing to do\n return hour;\n }\n if (locale.meridiemHour != null) {\n return locale.meridiemHour(hour, meridiem);\n } else if (locale.isPM != null) {\n // Fallback\n isPm = locale.isPM(meridiem);\n if (isPm && hour < 12) {\n hour += 12;\n }\n if (!isPm && hour === 12) {\n hour = 0;\n }\n return hour;\n } else {\n // this is not supposed to happen\n return hour;\n }\n }\n\n // date from string and array of format strings\n function configFromStringAndArray(config) {\n var tempConfig,\n bestMoment,\n scoreToBeat,\n i,\n currentScore,\n validFormatFound,\n bestFormatIsValid = false,\n configfLen = config._f.length;\n\n if (configfLen === 0) {\n getParsingFlags(config).invalidFormat = true;\n config._d = new Date(NaN);\n return;\n }\n\n for (i = 0; i < configfLen; i++) {\n currentScore = 0;\n validFormatFound = false;\n tempConfig = copyConfig({}, config);\n if (config._useUTC != null) {\n tempConfig._useUTC = config._useUTC;\n }\n tempConfig._f = config._f[i];\n configFromStringAndFormat(tempConfig);\n\n if (isValid(tempConfig)) {\n validFormatFound = true;\n }\n\n // if there is any input that was not parsed add a penalty for that format\n currentScore += getParsingFlags(tempConfig).charsLeftOver;\n\n //or tokens\n currentScore += getParsingFlags(tempConfig).unusedTokens.length * 10;\n\n getParsingFlags(tempConfig).score = currentScore;\n\n if (!bestFormatIsValid) {\n if (\n scoreToBeat == null ||\n currentScore < scoreToBeat ||\n validFormatFound\n ) {\n scoreToBeat = currentScore;\n bestMoment = tempConfig;\n if (validFormatFound) {\n bestFormatIsValid = true;\n }\n }\n } else {\n if (currentScore < scoreToBeat) {\n scoreToBeat = currentScore;\n bestMoment = tempConfig;\n }\n }\n }\n\n extend(config, bestMoment || tempConfig);\n }\n\n function configFromObject(config) {\n if (config._d) {\n return;\n }\n\n var i = normalizeObjectUnits(config._i),\n dayOrDate = i.day === undefined ? i.date : i.day;\n config._a = map(\n [i.year, i.month, dayOrDate, i.hour, i.minute, i.second, i.millisecond],\n function (obj) {\n return obj && parseInt(obj, 10);\n }\n );\n\n configFromArray(config);\n }\n\n function createFromConfig(config) {\n var res = new Moment(checkOverflow(prepareConfig(config)));\n if (res._nextDay) {\n // Adding is smart enough around DST\n res.add(1, 'd');\n res._nextDay = undefined;\n }\n\n return res;\n }\n\n function prepareConfig(config) {\n var input = config._i,\n format = config._f;\n\n config._locale = config._locale || getLocale(config._l);\n\n if (input === null || (format === undefined && input === '')) {\n return createInvalid({ nullInput: true });\n }\n\n if (typeof input === 'string') {\n config._i = input = config._locale.preparse(input);\n }\n\n if (isMoment(input)) {\n return new Moment(checkOverflow(input));\n } else if (isDate(input)) {\n config._d = input;\n } else if (isArray(format)) {\n configFromStringAndArray(config);\n } else if (format) {\n configFromStringAndFormat(config);\n } else {\n configFromInput(config);\n }\n\n if (!isValid(config)) {\n config._d = null;\n }\n\n return config;\n }\n\n function configFromInput(config) {\n var input = config._i;\n if (isUndefined(input)) {\n config._d = new Date(hooks.now());\n } else if (isDate(input)) {\n config._d = new Date(input.valueOf());\n } else if (typeof input === 'string') {\n configFromString(config);\n } else if (isArray(input)) {\n config._a = map(input.slice(0), function (obj) {\n return parseInt(obj, 10);\n });\n configFromArray(config);\n } else if (isObject(input)) {\n configFromObject(config);\n } else if (isNumber(input)) {\n // from milliseconds\n config._d = new Date(input);\n } else {\n hooks.createFromInputFallback(config);\n }\n }\n\n function createLocalOrUTC(input, format, locale, strict, isUTC) {\n var c = {};\n\n if (format === true || format === false) {\n strict = format;\n format = undefined;\n }\n\n if (locale === true || locale === false) {\n strict = locale;\n locale = undefined;\n }\n\n if (\n (isObject(input) && isObjectEmpty(input)) ||\n (isArray(input) && input.length === 0)\n ) {\n input = undefined;\n }\n // object construction must be done this way.\n // https://github.com/moment/moment/issues/1423\n c._isAMomentObject = true;\n c._useUTC = c._isUTC = isUTC;\n c._l = locale;\n c._i = input;\n c._f = format;\n c._strict = strict;\n\n return createFromConfig(c);\n }\n\n function createLocal(input, format, locale, strict) {\n return createLocalOrUTC(input, format, locale, strict, false);\n }\n\n var prototypeMin = deprecate(\n 'moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/',\n function () {\n var other = createLocal.apply(null, arguments);\n if (this.isValid() && other.isValid()) {\n return other < this ? this : other;\n } else {\n return createInvalid();\n }\n }\n ),\n prototypeMax = deprecate(\n 'moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/',\n function () {\n var other = createLocal.apply(null, arguments);\n if (this.isValid() && other.isValid()) {\n return other > this ? this : other;\n } else {\n return createInvalid();\n }\n }\n );\n\n // Pick a moment m from moments so that m[fn](other) is true for all\n // other. This relies on the function fn to be transitive.\n //\n // moments should either be an array of moment objects or an array, whose\n // first element is an array of moment objects.\n function pickBy(fn, moments) {\n var res, i;\n if (moments.length === 1 && isArray(moments[0])) {\n moments = moments[0];\n }\n if (!moments.length) {\n return createLocal();\n }\n res = moments[0];\n for (i = 1; i < moments.length; ++i) {\n if (!moments[i].isValid() || moments[i][fn](res)) {\n res = moments[i];\n }\n }\n return res;\n }\n\n // TODO: Use [].sort instead?\n function min() {\n var args = [].slice.call(arguments, 0);\n\n return pickBy('isBefore', args);\n }\n\n function max() {\n var args = [].slice.call(arguments, 0);\n\n return pickBy('isAfter', args);\n }\n\n var now = function () {\n return Date.now ? Date.now() : +new Date();\n };\n\n var ordering = [\n 'year',\n 'quarter',\n 'month',\n 'week',\n 'day',\n 'hour',\n 'minute',\n 'second',\n 'millisecond',\n ];\n\n function isDurationValid(m) {\n var key,\n unitHasDecimal = false,\n i,\n orderLen = ordering.length;\n for (key in m) {\n if (\n hasOwnProp(m, key) &&\n !(\n indexOf.call(ordering, key) !== -1 &&\n (m[key] == null || !isNaN(m[key]))\n )\n ) {\n return false;\n }\n }\n\n for (i = 0; i < orderLen; ++i) {\n if (m[ordering[i]]) {\n if (unitHasDecimal) {\n return false; // only allow non-integers for smallest unit\n }\n if (parseFloat(m[ordering[i]]) !== toInt(m[ordering[i]])) {\n unitHasDecimal = true;\n }\n }\n }\n\n return true;\n }\n\n function isValid$1() {\n return this._isValid;\n }\n\n function createInvalid$1() {\n return createDuration(NaN);\n }\n\n function Duration(duration) {\n var normalizedInput = normalizeObjectUnits(duration),\n years = normalizedInput.year || 0,\n quarters = normalizedInput.quarter || 0,\n months = normalizedInput.month || 0,\n weeks = normalizedInput.week || normalizedInput.isoWeek || 0,\n days = normalizedInput.day || 0,\n hours = normalizedInput.hour || 0,\n minutes = normalizedInput.minute || 0,\n seconds = normalizedInput.second || 0,\n milliseconds = normalizedInput.millisecond || 0;\n\n this._isValid = isDurationValid(normalizedInput);\n\n // representation for dateAddRemove\n this._milliseconds =\n +milliseconds +\n seconds * 1e3 + // 1000\n minutes * 6e4 + // 1000 * 60\n hours * 1000 * 60 * 60; //using 1000 * 60 * 60 instead of 36e5 to avoid floating point rounding errors https://github.com/moment/moment/issues/2978\n // Because of dateAddRemove treats 24 hours as different from a\n // day when working around DST, we need to store them separately\n this._days = +days + weeks * 7;\n // It is impossible to translate months into days without knowing\n // which months you are are talking about, so we have to store\n // it separately.\n this._months = +months + quarters * 3 + years * 12;\n\n this._data = {};\n\n this._locale = getLocale();\n\n this._bubble();\n }\n\n function isDuration(obj) {\n return obj instanceof Duration;\n }\n\n function absRound(number) {\n if (number < 0) {\n return Math.round(-1 * number) * -1;\n } else {\n return Math.round(number);\n }\n }\n\n // compare two arrays, return the number of differences\n function compareArrays(array1, array2, dontConvert) {\n var len = Math.min(array1.length, array2.length),\n lengthDiff = Math.abs(array1.length - array2.length),\n diffs = 0,\n i;\n for (i = 0; i < len; i++) {\n if (\n (dontConvert && array1[i] !== array2[i]) ||\n (!dontConvert && toInt(array1[i]) !== toInt(array2[i]))\n ) {\n diffs++;\n }\n }\n return diffs + lengthDiff;\n }\n\n // FORMATTING\n\n function offset(token, separator) {\n addFormatToken(token, 0, 0, function () {\n var offset = this.utcOffset(),\n sign = '+';\n if (offset < 0) {\n offset = -offset;\n sign = '-';\n }\n return (\n sign +\n zeroFill(~~(offset / 60), 2) +\n separator +\n zeroFill(~~offset % 60, 2)\n );\n });\n }\n\n offset('Z', ':');\n offset('ZZ', '');\n\n // PARSING\n\n addRegexToken('Z', matchShortOffset);\n addRegexToken('ZZ', matchShortOffset);\n addParseToken(['Z', 'ZZ'], function (input, array, config) {\n config._useUTC = true;\n config._tzm = offsetFromString(matchShortOffset, input);\n });\n\n // HELPERS\n\n // timezone chunker\n // '+10:00' > ['10', '00']\n // '-1530' > ['-15', '30']\n var chunkOffset = /([\\+\\-]|\\d\\d)/gi;\n\n function offsetFromString(matcher, string) {\n var matches = (string || '').match(matcher),\n chunk,\n parts,\n minutes;\n\n if (matches === null) {\n return null;\n }\n\n chunk = matches[matches.length - 1] || [];\n parts = (chunk + '').match(chunkOffset) || ['-', 0, 0];\n minutes = +(parts[1] * 60) + toInt(parts[2]);\n\n return minutes === 0 ? 0 : parts[0] === '+' ? minutes : -minutes;\n }\n\n // Return a moment from input, that is local/utc/zone equivalent to model.\n function cloneWithOffset(input, model) {\n var res, diff;\n if (model._isUTC) {\n res = model.clone();\n diff =\n (isMoment(input) || isDate(input)\n ? input.valueOf()\n : createLocal(input).valueOf()) - res.valueOf();\n // Use low-level api, because this fn is low-level api.\n res._d.setTime(res._d.valueOf() + diff);\n hooks.updateOffset(res, false);\n return res;\n } else {\n return createLocal(input).local();\n }\n }\n\n function getDateOffset(m) {\n // On Firefox.24 Date#getTimezoneOffset returns a floating point.\n // https://github.com/moment/moment/pull/1871\n return -Math.round(m._d.getTimezoneOffset());\n }\n\n // HOOKS\n\n // This function will be called whenever a moment is mutated.\n // It is intended to keep the offset in sync with the timezone.\n hooks.updateOffset = function () {};\n\n // MOMENTS\n\n // keepLocalTime = true means only change the timezone, without\n // affecting the local hour. So 5:31:26 +0300 --[utcOffset(2, true)]-->\n // 5:31:26 +0200 It is possible that 5:31:26 doesn't exist with offset\n // +0200, so we adjust the time as needed, to be valid.\n //\n // Keeping the time actually adds/subtracts (one hour)\n // from the actual represented time. That is why we call updateOffset\n // a second time. In case it wants us to change the offset again\n // _changeInProgress == true case, then we have to adjust, because\n // there is no such time in the given timezone.\n function getSetOffset(input, keepLocalTime, keepMinutes) {\n var offset = this._offset || 0,\n localAdjust;\n if (!this.isValid()) {\n return input != null ? this : NaN;\n }\n if (input != null) {\n if (typeof input === 'string') {\n input = offsetFromString(matchShortOffset, input);\n if (input === null) {\n return this;\n }\n } else if (Math.abs(input) < 16 && !keepMinutes) {\n input = input * 60;\n }\n if (!this._isUTC && keepLocalTime) {\n localAdjust = getDateOffset(this);\n }\n this._offset = input;\n this._isUTC = true;\n if (localAdjust != null) {\n this.add(localAdjust, 'm');\n }\n if (offset !== input) {\n if (!keepLocalTime || this._changeInProgress) {\n addSubtract(\n this,\n createDuration(input - offset, 'm'),\n 1,\n false\n );\n } else if (!this._changeInProgress) {\n this._changeInProgress = true;\n hooks.updateOffset(this, true);\n this._changeInProgress = null;\n }\n }\n return this;\n } else {\n return this._isUTC ? offset : getDateOffset(this);\n }\n }\n\n function getSetZone(input, keepLocalTime) {\n if (input != null) {\n if (typeof input !== 'string') {\n input = -input;\n }\n\n this.utcOffset(input, keepLocalTime);\n\n return this;\n } else {\n return -this.utcOffset();\n }\n }\n\n function setOffsetToUTC(keepLocalTime) {\n return this.utcOffset(0, keepLocalTime);\n }\n\n function setOffsetToLocal(keepLocalTime) {\n if (this._isUTC) {\n this.utcOffset(0, keepLocalTime);\n this._isUTC = false;\n\n if (keepLocalTime) {\n this.subtract(getDateOffset(this), 'm');\n }\n }\n return this;\n }\n\n function setOffsetToParsedOffset() {\n if (this._tzm != null) {\n this.utcOffset(this._tzm, false, true);\n } else if (typeof this._i === 'string') {\n var tZone = offsetFromString(matchOffset, this._i);\n if (tZone != null) {\n this.utcOffset(tZone);\n } else {\n this.utcOffset(0, true);\n }\n }\n return this;\n }\n\n function hasAlignedHourOffset(input) {\n if (!this.isValid()) {\n return false;\n }\n input = input ? createLocal(input).utcOffset() : 0;\n\n return (this.utcOffset() - input) % 60 === 0;\n }\n\n function isDaylightSavingTime() {\n return (\n this.utcOffset() > this.clone().month(0).utcOffset() ||\n this.utcOffset() > this.clone().month(5).utcOffset()\n );\n }\n\n function isDaylightSavingTimeShifted() {\n if (!isUndefined(this._isDSTShifted)) {\n return this._isDSTShifted;\n }\n\n var c = {},\n other;\n\n copyConfig(c, this);\n c = prepareConfig(c);\n\n if (c._a) {\n other = c._isUTC ? createUTC(c._a) : createLocal(c._a);\n this._isDSTShifted =\n this.isValid() && compareArrays(c._a, other.toArray()) > 0;\n } else {\n this._isDSTShifted = false;\n }\n\n return this._isDSTShifted;\n }\n\n function isLocal() {\n return this.isValid() ? !this._isUTC : false;\n }\n\n function isUtcOffset() {\n return this.isValid() ? this._isUTC : false;\n }\n\n function isUtc() {\n return this.isValid() ? this._isUTC && this._offset === 0 : false;\n }\n\n // ASP.NET json date format regex\n var aspNetRegex = /^(-|\\+)?(?:(\\d*)[. ])?(\\d+):(\\d+)(?::(\\d+)(\\.\\d*)?)?$/,\n // from http://docs.closure-library.googlecode.com/git/closure_goog_date_date.js.source.html\n // somewhat more in line with 4.4.3.2 2004 spec, but allows decimal anywhere\n // and further modified to allow for strings containing both week and day\n isoRegex =\n /^(-|\\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;\n\n function createDuration(input, key) {\n var duration = input,\n // matching against regexp is expensive, do it on demand\n match = null,\n sign,\n ret,\n diffRes;\n\n if (isDuration(input)) {\n duration = {\n ms: input._milliseconds,\n d: input._days,\n M: input._months,\n };\n } else if (isNumber(input) || !isNaN(+input)) {\n duration = {};\n if (key) {\n duration[key] = +input;\n } else {\n duration.milliseconds = +input;\n }\n } else if ((match = aspNetRegex.exec(input))) {\n sign = match[1] === '-' ? -1 : 1;\n duration = {\n y: 0,\n d: toInt(match[DATE]) * sign,\n h: toInt(match[HOUR]) * sign,\n m: toInt(match[MINUTE]) * sign,\n s: toInt(match[SECOND]) * sign,\n ms: toInt(absRound(match[MILLISECOND] * 1000)) * sign, // the millisecond decimal point is included in the match\n };\n } else if ((match = isoRegex.exec(input))) {\n sign = match[1] === '-' ? -1 : 1;\n duration = {\n y: parseIso(match[2], sign),\n M: parseIso(match[3], sign),\n w: parseIso(match[4], sign),\n d: parseIso(match[5], sign),\n h: parseIso(match[6], sign),\n m: parseIso(match[7], sign),\n s: parseIso(match[8], sign),\n };\n } else if (duration == null) {\n // checks for null or undefined\n duration = {};\n } else if (\n typeof duration === 'object' &&\n ('from' in duration || 'to' in duration)\n ) {\n diffRes = momentsDifference(\n createLocal(duration.from),\n createLocal(duration.to)\n );\n\n duration = {};\n duration.ms = diffRes.milliseconds;\n duration.M = diffRes.months;\n }\n\n ret = new Duration(duration);\n\n if (isDuration(input) && hasOwnProp(input, '_locale')) {\n ret._locale = input._locale;\n }\n\n if (isDuration(input) && hasOwnProp(input, '_isValid')) {\n ret._isValid = input._isValid;\n }\n\n return ret;\n }\n\n createDuration.fn = Duration.prototype;\n createDuration.invalid = createInvalid$1;\n\n function parseIso(inp, sign) {\n // We'd normally use ~~inp for this, but unfortunately it also\n // converts floats to ints.\n // inp may be undefined, so careful calling replace on it.\n var res = inp && parseFloat(inp.replace(',', '.'));\n // apply sign while we're at it\n return (isNaN(res) ? 0 : res) * sign;\n }\n\n function positiveMomentsDifference(base, other) {\n var res = {};\n\n res.months =\n other.month() - base.month() + (other.year() - base.year()) * 12;\n if (base.clone().add(res.months, 'M').isAfter(other)) {\n --res.months;\n }\n\n res.milliseconds = +other - +base.clone().add(res.months, 'M');\n\n return res;\n }\n\n function momentsDifference(base, other) {\n var res;\n if (!(base.isValid() && other.isValid())) {\n return { milliseconds: 0, months: 0 };\n }\n\n other = cloneWithOffset(other, base);\n if (base.isBefore(other)) {\n res = positiveMomentsDifference(base, other);\n } else {\n res = positiveMomentsDifference(other, base);\n res.milliseconds = -res.milliseconds;\n res.months = -res.months;\n }\n\n return res;\n }\n\n // TODO: remove 'name' arg after deprecation is removed\n function createAdder(direction, name) {\n return function (val, period) {\n var dur, tmp;\n //invert the arguments, but complain about it\n if (period !== null && !isNaN(+period)) {\n deprecateSimple(\n name,\n 'moment().' +\n name +\n '(period, number) is deprecated. Please use moment().' +\n name +\n '(number, period). ' +\n 'See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info.'\n );\n tmp = val;\n val = period;\n period = tmp;\n }\n\n dur = createDuration(val, period);\n addSubtract(this, dur, direction);\n return this;\n };\n }\n\n function addSubtract(mom, duration, isAdding, updateOffset) {\n var milliseconds = duration._milliseconds,\n days = absRound(duration._days),\n months = absRound(duration._months);\n\n if (!mom.isValid()) {\n // No op\n return;\n }\n\n updateOffset = updateOffset == null ? true : updateOffset;\n\n if (months) {\n setMonth(mom, get(mom, 'Month') + months * isAdding);\n }\n if (days) {\n set$1(mom, 'Date', get(mom, 'Date') + days * isAdding);\n }\n if (milliseconds) {\n mom._d.setTime(mom._d.valueOf() + milliseconds * isAdding);\n }\n if (updateOffset) {\n hooks.updateOffset(mom, days || months);\n }\n }\n\n var add = createAdder(1, 'add'),\n subtract = createAdder(-1, 'subtract');\n\n function isString(input) {\n return typeof input === 'string' || input instanceof String;\n }\n\n // type MomentInput = Moment | Date | string | number | (number | string)[] | MomentInputObject | void; // null | undefined\n function isMomentInput(input) {\n return (\n isMoment(input) ||\n isDate(input) ||\n isString(input) ||\n isNumber(input) ||\n isNumberOrStringArray(input) ||\n isMomentInputObject(input) ||\n input === null ||\n input === undefined\n );\n }\n\n function isMomentInputObject(input) {\n var objectTest = isObject(input) && !isObjectEmpty(input),\n propertyTest = false,\n properties = [\n 'years',\n 'year',\n 'y',\n 'months',\n 'month',\n 'M',\n 'days',\n 'day',\n 'd',\n 'dates',\n 'date',\n 'D',\n 'hours',\n 'hour',\n 'h',\n 'minutes',\n 'minute',\n 'm',\n 'seconds',\n 'second',\n 's',\n 'milliseconds',\n 'millisecond',\n 'ms',\n ],\n i,\n property,\n propertyLen = properties.length;\n\n for (i = 0; i < propertyLen; i += 1) {\n property = properties[i];\n propertyTest = propertyTest || hasOwnProp(input, property);\n }\n\n return objectTest && propertyTest;\n }\n\n function isNumberOrStringArray(input) {\n var arrayTest = isArray(input),\n dataTypeTest = false;\n if (arrayTest) {\n dataTypeTest =\n input.filter(function (item) {\n return !isNumber(item) && isString(input);\n }).length === 0;\n }\n return arrayTest && dataTypeTest;\n }\n\n function isCalendarSpec(input) {\n var objectTest = isObject(input) && !isObjectEmpty(input),\n propertyTest = false,\n properties = [\n 'sameDay',\n 'nextDay',\n 'lastDay',\n 'nextWeek',\n 'lastWeek',\n 'sameElse',\n ],\n i,\n property;\n\n for (i = 0; i < properties.length; i += 1) {\n property = properties[i];\n propertyTest = propertyTest || hasOwnProp(input, property);\n }\n\n return objectTest && propertyTest;\n }\n\n function getCalendarFormat(myMoment, now) {\n var diff = myMoment.diff(now, 'days', true);\n return diff < -6\n ? 'sameElse'\n : diff < -1\n ? 'lastWeek'\n : diff < 0\n ? 'lastDay'\n : diff < 1\n ? 'sameDay'\n : diff < 2\n ? 'nextDay'\n : diff < 7\n ? 'nextWeek'\n : 'sameElse';\n }\n\n function calendar$1(time, formats) {\n // Support for single parameter, formats only overload to the calendar function\n if (arguments.length === 1) {\n if (!arguments[0]) {\n time = undefined;\n formats = undefined;\n } else if (isMomentInput(arguments[0])) {\n time = arguments[0];\n formats = undefined;\n } else if (isCalendarSpec(arguments[0])) {\n formats = arguments[0];\n time = undefined;\n }\n }\n // We want to compare the start of today, vs this.\n // Getting start-of-today depends on whether we're local/utc/offset or not.\n var now = time || createLocal(),\n sod = cloneWithOffset(now, this).startOf('day'),\n format = hooks.calendarFormat(this, sod) || 'sameElse',\n output =\n formats &&\n (isFunction(formats[format])\n ? formats[format].call(this, now)\n : formats[format]);\n\n return this.format(\n output || this.localeData().calendar(format, this, createLocal(now))\n );\n }\n\n function clone() {\n return new Moment(this);\n }\n\n function isAfter(input, units) {\n var localInput = isMoment(input) ? input : createLocal(input);\n if (!(this.isValid() && localInput.isValid())) {\n return false;\n }\n units = normalizeUnits(units) || 'millisecond';\n if (units === 'millisecond') {\n return this.valueOf() > localInput.valueOf();\n } else {\n return localInput.valueOf() < this.clone().startOf(units).valueOf();\n }\n }\n\n function isBefore(input, units) {\n var localInput = isMoment(input) ? input : createLocal(input);\n if (!(this.isValid() && localInput.isValid())) {\n return false;\n }\n units = normalizeUnits(units) || 'millisecond';\n if (units === 'millisecond') {\n return this.valueOf() < localInput.valueOf();\n } else {\n return this.clone().endOf(units).valueOf() < localInput.valueOf();\n }\n }\n\n function isBetween(from, to, units, inclusivity) {\n var localFrom = isMoment(from) ? from : createLocal(from),\n localTo = isMoment(to) ? to : createLocal(to);\n if (!(this.isValid() && localFrom.isValid() && localTo.isValid())) {\n return false;\n }\n inclusivity = inclusivity || '()';\n return (\n (inclusivity[0] === '('\n ? this.isAfter(localFrom, units)\n : !this.isBefore(localFrom, units)) &&\n (inclusivity[1] === ')'\n ? this.isBefore(localTo, units)\n : !this.isAfter(localTo, units))\n );\n }\n\n function isSame(input, units) {\n var localInput = isMoment(input) ? input : createLocal(input),\n inputMs;\n if (!(this.isValid() && localInput.isValid())) {\n return false;\n }\n units = normalizeUnits(units) || 'millisecond';\n if (units === 'millisecond') {\n return this.valueOf() === localInput.valueOf();\n } else {\n inputMs = localInput.valueOf();\n return (\n this.clone().startOf(units).valueOf() <= inputMs &&\n inputMs <= this.clone().endOf(units).valueOf()\n );\n }\n }\n\n function isSameOrAfter(input, units) {\n return this.isSame(input, units) || this.isAfter(input, units);\n }\n\n function isSameOrBefore(input, units) {\n return this.isSame(input, units) || this.isBefore(input, units);\n }\n\n function diff(input, units, asFloat) {\n var that, zoneDelta, output;\n\n if (!this.isValid()) {\n return NaN;\n }\n\n that = cloneWithOffset(input, this);\n\n if (!that.isValid()) {\n return NaN;\n }\n\n zoneDelta = (that.utcOffset() - this.utcOffset()) * 6e4;\n\n units = normalizeUnits(units);\n\n switch (units) {\n case 'year':\n output = monthDiff(this, that) / 12;\n break;\n case 'month':\n output = monthDiff(this, that);\n break;\n case 'quarter':\n output = monthDiff(this, that) / 3;\n break;\n case 'second':\n output = (this - that) / 1e3;\n break; // 1000\n case 'minute':\n output = (this - that) / 6e4;\n break; // 1000 * 60\n case 'hour':\n output = (this - that) / 36e5;\n break; // 1000 * 60 * 60\n case 'day':\n output = (this - that - zoneDelta) / 864e5;\n break; // 1000 * 60 * 60 * 24, negate dst\n case 'week':\n output = (this - that - zoneDelta) / 6048e5;\n break; // 1000 * 60 * 60 * 24 * 7, negate dst\n default:\n output = this - that;\n }\n\n return asFloat ? output : absFloor(output);\n }\n\n function monthDiff(a, b) {\n if (a.date() < b.date()) {\n // end-of-month calculations work correct when the start month has more\n // days than the end month.\n return -monthDiff(b, a);\n }\n // difference in months\n var wholeMonthDiff = (b.year() - a.year()) * 12 + (b.month() - a.month()),\n // b is in (anchor - 1 month, anchor + 1 month)\n anchor = a.clone().add(wholeMonthDiff, 'months'),\n anchor2,\n adjust;\n\n if (b - anchor < 0) {\n anchor2 = a.clone().add(wholeMonthDiff - 1, 'months');\n // linear across the month\n adjust = (b - anchor) / (anchor - anchor2);\n } else {\n anchor2 = a.clone().add(wholeMonthDiff + 1, 'months');\n // linear across the month\n adjust = (b - anchor) / (anchor2 - anchor);\n }\n\n //check for negative zero, return zero if negative zero\n return -(wholeMonthDiff + adjust) || 0;\n }\n\n hooks.defaultFormat = 'YYYY-MM-DDTHH:mm:ssZ';\n hooks.defaultFormatUtc = 'YYYY-MM-DDTHH:mm:ss[Z]';\n\n function toString() {\n return this.clone().locale('en').format('ddd MMM DD YYYY HH:mm:ss [GMT]ZZ');\n }\n\n function toISOString(keepOffset) {\n if (!this.isValid()) {\n return null;\n }\n var utc = keepOffset !== true,\n m = utc ? this.clone().utc() : this;\n if (m.year() < 0 || m.year() > 9999) {\n return formatMoment(\n m,\n utc\n ? 'YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]'\n : 'YYYYYY-MM-DD[T]HH:mm:ss.SSSZ'\n );\n }\n if (isFunction(Date.prototype.toISOString)) {\n // native implementation is ~50x faster, use it when we can\n if (utc) {\n return this.toDate().toISOString();\n } else {\n return new Date(this.valueOf() + this.utcOffset() * 60 * 1000)\n .toISOString()\n .replace('Z', formatMoment(m, 'Z'));\n }\n }\n return formatMoment(\n m,\n utc ? 'YYYY-MM-DD[T]HH:mm:ss.SSS[Z]' : 'YYYY-MM-DD[T]HH:mm:ss.SSSZ'\n );\n }\n\n /**\n * Return a human readable representation of a moment that can\n * also be evaluated to get a new moment which is the same\n *\n * @link https://nodejs.org/dist/latest/docs/api/util.html#util_custom_inspect_function_on_objects\n */\n function inspect() {\n if (!this.isValid()) {\n return 'moment.invalid(/* ' + this._i + ' */)';\n }\n var func = 'moment',\n zone = '',\n prefix,\n year,\n datetime,\n suffix;\n if (!this.isLocal()) {\n func = this.utcOffset() === 0 ? 'moment.utc' : 'moment.parseZone';\n zone = 'Z';\n }\n prefix = '[' + func + '(\"]';\n year = 0 <= this.year() && this.year() <= 9999 ? 'YYYY' : 'YYYYYY';\n datetime = '-MM-DD[T]HH:mm:ss.SSS';\n suffix = zone + '[\")]';\n\n return this.format(prefix + year + datetime + suffix);\n }\n\n function format(inputString) {\n if (!inputString) {\n inputString = this.isUtc()\n ? hooks.defaultFormatUtc\n : hooks.defaultFormat;\n }\n var output = formatMoment(this, inputString);\n return this.localeData().postformat(output);\n }\n\n function from(time, withoutSuffix) {\n if (\n this.isValid() &&\n ((isMoment(time) && time.isValid()) || createLocal(time).isValid())\n ) {\n return createDuration({ to: this, from: time })\n .locale(this.locale())\n .humanize(!withoutSuffix);\n } else {\n return this.localeData().invalidDate();\n }\n }\n\n function fromNow(withoutSuffix) {\n return this.from(createLocal(), withoutSuffix);\n }\n\n function to(time, withoutSuffix) {\n if (\n this.isValid() &&\n ((isMoment(time) && time.isValid()) || createLocal(time).isValid())\n ) {\n return createDuration({ from: this, to: time })\n .locale(this.locale())\n .humanize(!withoutSuffix);\n } else {\n return this.localeData().invalidDate();\n }\n }\n\n function toNow(withoutSuffix) {\n return this.to(createLocal(), withoutSuffix);\n }\n\n // If passed a locale key, it will set the locale for this\n // instance. Otherwise, it will return the locale configuration\n // variables for this instance.\n function locale(key) {\n var newLocaleData;\n\n if (key === undefined) {\n return this._locale._abbr;\n } else {\n newLocaleData = getLocale(key);\n if (newLocaleData != null) {\n this._locale = newLocaleData;\n }\n return this;\n }\n }\n\n var lang = deprecate(\n 'moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.',\n function (key) {\n if (key === undefined) {\n return this.localeData();\n } else {\n return this.locale(key);\n }\n }\n );\n\n function localeData() {\n return this._locale;\n }\n\n var MS_PER_SECOND = 1000,\n MS_PER_MINUTE = 60 * MS_PER_SECOND,\n MS_PER_HOUR = 60 * MS_PER_MINUTE,\n MS_PER_400_YEARS = (365 * 400 + 97) * 24 * MS_PER_HOUR;\n\n // actual modulo - handles negative numbers (for dates before 1970):\n function mod$1(dividend, divisor) {\n return ((dividend % divisor) + divisor) % divisor;\n }\n\n function localStartOfDate(y, m, d) {\n // the date constructor remaps years 0-99 to 1900-1999\n if (y < 100 && y >= 0) {\n // preserve leap years using a full 400 year cycle, then reset\n return new Date(y + 400, m, d) - MS_PER_400_YEARS;\n } else {\n return new Date(y, m, d).valueOf();\n }\n }\n\n function utcStartOfDate(y, m, d) {\n // Date.UTC remaps years 0-99 to 1900-1999\n if (y < 100 && y >= 0) {\n // preserve leap years using a full 400 year cycle, then reset\n return Date.UTC(y + 400, m, d) - MS_PER_400_YEARS;\n } else {\n return Date.UTC(y, m, d);\n }\n }\n\n function startOf(units) {\n var time, startOfDate;\n units = normalizeUnits(units);\n if (units === undefined || units === 'millisecond' || !this.isValid()) {\n return this;\n }\n\n startOfDate = this._isUTC ? utcStartOfDate : localStartOfDate;\n\n switch (units) {\n case 'year':\n time = startOfDate(this.year(), 0, 1);\n break;\n case 'quarter':\n time = startOfDate(\n this.year(),\n this.month() - (this.month() % 3),\n 1\n );\n break;\n case 'month':\n time = startOfDate(this.year(), this.month(), 1);\n break;\n case 'week':\n time = startOfDate(\n this.year(),\n this.month(),\n this.date() - this.weekday()\n );\n break;\n case 'isoWeek':\n time = startOfDate(\n this.year(),\n this.month(),\n this.date() - (this.isoWeekday() - 1)\n );\n break;\n case 'day':\n case 'date':\n time = startOfDate(this.year(), this.month(), this.date());\n break;\n case 'hour':\n time = this._d.valueOf();\n time -= mod$1(\n time + (this._isUTC ? 0 : this.utcOffset() * MS_PER_MINUTE),\n MS_PER_HOUR\n );\n break;\n case 'minute':\n time = this._d.valueOf();\n time -= mod$1(time, MS_PER_MINUTE);\n break;\n case 'second':\n time = this._d.valueOf();\n time -= mod$1(time, MS_PER_SECOND);\n break;\n }\n\n this._d.setTime(time);\n hooks.updateOffset(this, true);\n return this;\n }\n\n function endOf(units) {\n var time, startOfDate;\n units = normalizeUnits(units);\n if (units === undefined || units === 'millisecond' || !this.isValid()) {\n return this;\n }\n\n startOfDate = this._isUTC ? utcStartOfDate : localStartOfDate;\n\n switch (units) {\n case 'year':\n time = startOfDate(this.year() + 1, 0, 1) - 1;\n break;\n case 'quarter':\n time =\n startOfDate(\n this.year(),\n this.month() - (this.month() % 3) + 3,\n 1\n ) - 1;\n break;\n case 'month':\n time = startOfDate(this.year(), this.month() + 1, 1) - 1;\n break;\n case 'week':\n time =\n startOfDate(\n this.year(),\n this.month(),\n this.date() - this.weekday() + 7\n ) - 1;\n break;\n case 'isoWeek':\n time =\n startOfDate(\n this.year(),\n this.month(),\n this.date() - (this.isoWeekday() - 1) + 7\n ) - 1;\n break;\n case 'day':\n case 'date':\n time = startOfDate(this.year(), this.month(), this.date() + 1) - 1;\n break;\n case 'hour':\n time = this._d.valueOf();\n time +=\n MS_PER_HOUR -\n mod$1(\n time + (this._isUTC ? 0 : this.utcOffset() * MS_PER_MINUTE),\n MS_PER_HOUR\n ) -\n 1;\n break;\n case 'minute':\n time = this._d.valueOf();\n time += MS_PER_MINUTE - mod$1(time, MS_PER_MINUTE) - 1;\n break;\n case 'second':\n time = this._d.valueOf();\n time += MS_PER_SECOND - mod$1(time, MS_PER_SECOND) - 1;\n break;\n }\n\n this._d.setTime(time);\n hooks.updateOffset(this, true);\n return this;\n }\n\n function valueOf() {\n return this._d.valueOf() - (this._offset || 0) * 60000;\n }\n\n function unix() {\n return Math.floor(this.valueOf() / 1000);\n }\n\n function toDate() {\n return new Date(this.valueOf());\n }\n\n function toArray() {\n var m = this;\n return [\n m.year(),\n m.month(),\n m.date(),\n m.hour(),\n m.minute(),\n m.second(),\n m.millisecond(),\n ];\n }\n\n function toObject() {\n var m = this;\n return {\n years: m.year(),\n months: m.month(),\n date: m.date(),\n hours: m.hours(),\n minutes: m.minutes(),\n seconds: m.seconds(),\n milliseconds: m.milliseconds(),\n };\n }\n\n function toJSON() {\n // new Date(NaN).toJSON() === null\n return this.isValid() ? this.toISOString() : null;\n }\n\n function isValid$2() {\n return isValid(this);\n }\n\n function parsingFlags() {\n return extend({}, getParsingFlags(this));\n }\n\n function invalidAt() {\n return getParsingFlags(this).overflow;\n }\n\n function creationData() {\n return {\n input: this._i,\n format: this._f,\n locale: this._locale,\n isUTC: this._isUTC,\n strict: this._strict,\n };\n }\n\n addFormatToken('N', 0, 0, 'eraAbbr');\n addFormatToken('NN', 0, 0, 'eraAbbr');\n addFormatToken('NNN', 0, 0, 'eraAbbr');\n addFormatToken('NNNN', 0, 0, 'eraName');\n addFormatToken('NNNNN', 0, 0, 'eraNarrow');\n\n addFormatToken('y', ['y', 1], 'yo', 'eraYear');\n addFormatToken('y', ['yy', 2], 0, 'eraYear');\n addFormatToken('y', ['yyy', 3], 0, 'eraYear');\n addFormatToken('y', ['yyyy', 4], 0, 'eraYear');\n\n addRegexToken('N', matchEraAbbr);\n addRegexToken('NN', matchEraAbbr);\n addRegexToken('NNN', matchEraAbbr);\n addRegexToken('NNNN', matchEraName);\n addRegexToken('NNNNN', matchEraNarrow);\n\n addParseToken(\n ['N', 'NN', 'NNN', 'NNNN', 'NNNNN'],\n function (input, array, config, token) {\n var era = config._locale.erasParse(input, token, config._strict);\n if (era) {\n getParsingFlags(config).era = era;\n } else {\n getParsingFlags(config).invalidEra = input;\n }\n }\n );\n\n addRegexToken('y', matchUnsigned);\n addRegexToken('yy', matchUnsigned);\n addRegexToken('yyy', matchUnsigned);\n addRegexToken('yyyy', matchUnsigned);\n addRegexToken('yo', matchEraYearOrdinal);\n\n addParseToken(['y', 'yy', 'yyy', 'yyyy'], YEAR);\n addParseToken(['yo'], function (input, array, config, token) {\n var match;\n if (config._locale._eraYearOrdinalRegex) {\n match = input.match(config._locale._eraYearOrdinalRegex);\n }\n\n if (config._locale.eraYearOrdinalParse) {\n array[YEAR] = config._locale.eraYearOrdinalParse(input, match);\n } else {\n array[YEAR] = parseInt(input, 10);\n }\n });\n\n function localeEras(m, format) {\n var i,\n l,\n date,\n eras = this._eras || getLocale('en')._eras;\n for (i = 0, l = eras.length; i < l; ++i) {\n switch (typeof eras[i].since) {\n case 'string':\n // truncate time\n date = hooks(eras[i].since).startOf('day');\n eras[i].since = date.valueOf();\n break;\n }\n\n switch (typeof eras[i].until) {\n case 'undefined':\n eras[i].until = +Infinity;\n break;\n case 'string':\n // truncate time\n date = hooks(eras[i].until).startOf('day').valueOf();\n eras[i].until = date.valueOf();\n break;\n }\n }\n return eras;\n }\n\n function localeErasParse(eraName, format, strict) {\n var i,\n l,\n eras = this.eras(),\n name,\n abbr,\n narrow;\n eraName = eraName.toUpperCase();\n\n for (i = 0, l = eras.length; i < l; ++i) {\n name = eras[i].name.toUpperCase();\n abbr = eras[i].abbr.toUpperCase();\n narrow = eras[i].narrow.toUpperCase();\n\n if (strict) {\n switch (format) {\n case 'N':\n case 'NN':\n case 'NNN':\n if (abbr === eraName) {\n return eras[i];\n }\n break;\n\n case 'NNNN':\n if (name === eraName) {\n return eras[i];\n }\n break;\n\n case 'NNNNN':\n if (narrow === eraName) {\n return eras[i];\n }\n break;\n }\n } else if ([name, abbr, narrow].indexOf(eraName) >= 0) {\n return eras[i];\n }\n }\n }\n\n function localeErasConvertYear(era, year) {\n var dir = era.since <= era.until ? +1 : -1;\n if (year === undefined) {\n return hooks(era.since).year();\n } else {\n return hooks(era.since).year() + (year - era.offset) * dir;\n }\n }\n\n function getEraName() {\n var i,\n l,\n val,\n eras = this.localeData().eras();\n for (i = 0, l = eras.length; i < l; ++i) {\n // truncate time\n val = this.clone().startOf('day').valueOf();\n\n if (eras[i].since <= val && val <= eras[i].until) {\n return eras[i].name;\n }\n if (eras[i].until <= val && val <= eras[i].since) {\n return eras[i].name;\n }\n }\n\n return '';\n }\n\n function getEraNarrow() {\n var i,\n l,\n val,\n eras = this.localeData().eras();\n for (i = 0, l = eras.length; i < l; ++i) {\n // truncate time\n val = this.clone().startOf('day').valueOf();\n\n if (eras[i].since <= val && val <= eras[i].until) {\n return eras[i].narrow;\n }\n if (eras[i].until <= val && val <= eras[i].since) {\n return eras[i].narrow;\n }\n }\n\n return '';\n }\n\n function getEraAbbr() {\n var i,\n l,\n val,\n eras = this.localeData().eras();\n for (i = 0, l = eras.length; i < l; ++i) {\n // truncate time\n val = this.clone().startOf('day').valueOf();\n\n if (eras[i].since <= val && val <= eras[i].until) {\n return eras[i].abbr;\n }\n if (eras[i].until <= val && val <= eras[i].since) {\n return eras[i].abbr;\n }\n }\n\n return '';\n }\n\n function getEraYear() {\n var i,\n l,\n dir,\n val,\n eras = this.localeData().eras();\n for (i = 0, l = eras.length; i < l; ++i) {\n dir = eras[i].since <= eras[i].until ? +1 : -1;\n\n // truncate time\n val = this.clone().startOf('day').valueOf();\n\n if (\n (eras[i].since <= val && val <= eras[i].until) ||\n (eras[i].until <= val && val <= eras[i].since)\n ) {\n return (\n (this.year() - hooks(eras[i].since).year()) * dir +\n eras[i].offset\n );\n }\n }\n\n return this.year();\n }\n\n function erasNameRegex(isStrict) {\n if (!hasOwnProp(this, '_erasNameRegex')) {\n computeErasParse.call(this);\n }\n return isStrict ? this._erasNameRegex : this._erasRegex;\n }\n\n function erasAbbrRegex(isStrict) {\n if (!hasOwnProp(this, '_erasAbbrRegex')) {\n computeErasParse.call(this);\n }\n return isStrict ? this._erasAbbrRegex : this._erasRegex;\n }\n\n function erasNarrowRegex(isStrict) {\n if (!hasOwnProp(this, '_erasNarrowRegex')) {\n computeErasParse.call(this);\n }\n return isStrict ? this._erasNarrowRegex : this._erasRegex;\n }\n\n function matchEraAbbr(isStrict, locale) {\n return locale.erasAbbrRegex(isStrict);\n }\n\n function matchEraName(isStrict, locale) {\n return locale.erasNameRegex(isStrict);\n }\n\n function matchEraNarrow(isStrict, locale) {\n return locale.erasNarrowRegex(isStrict);\n }\n\n function matchEraYearOrdinal(isStrict, locale) {\n return locale._eraYearOrdinalRegex || matchUnsigned;\n }\n\n function computeErasParse() {\n var abbrPieces = [],\n namePieces = [],\n narrowPieces = [],\n mixedPieces = [],\n i,\n l,\n erasName,\n erasAbbr,\n erasNarrow,\n eras = this.eras();\n\n for (i = 0, l = eras.length; i < l; ++i) {\n erasName = regexEscape(eras[i].name);\n erasAbbr = regexEscape(eras[i].abbr);\n erasNarrow = regexEscape(eras[i].narrow);\n\n namePieces.push(erasName);\n abbrPieces.push(erasAbbr);\n narrowPieces.push(erasNarrow);\n mixedPieces.push(erasName);\n mixedPieces.push(erasAbbr);\n mixedPieces.push(erasNarrow);\n }\n\n this._erasRegex = new RegExp('^(' + mixedPieces.join('|') + ')', 'i');\n this._erasNameRegex = new RegExp('^(' + namePieces.join('|') + ')', 'i');\n this._erasAbbrRegex = new RegExp('^(' + abbrPieces.join('|') + ')', 'i');\n this._erasNarrowRegex = new RegExp(\n '^(' + narrowPieces.join('|') + ')',\n 'i'\n );\n }\n\n // FORMATTING\n\n addFormatToken(0, ['gg', 2], 0, function () {\n return this.weekYear() % 100;\n });\n\n addFormatToken(0, ['GG', 2], 0, function () {\n return this.isoWeekYear() % 100;\n });\n\n function addWeekYearFormatToken(token, getter) {\n addFormatToken(0, [token, token.length], 0, getter);\n }\n\n addWeekYearFormatToken('gggg', 'weekYear');\n addWeekYearFormatToken('ggggg', 'weekYear');\n addWeekYearFormatToken('GGGG', 'isoWeekYear');\n addWeekYearFormatToken('GGGGG', 'isoWeekYear');\n\n // ALIASES\n\n // PARSING\n\n addRegexToken('G', matchSigned);\n addRegexToken('g', matchSigned);\n addRegexToken('GG', match1to2, match2);\n addRegexToken('gg', match1to2, match2);\n addRegexToken('GGGG', match1to4, match4);\n addRegexToken('gggg', match1to4, match4);\n addRegexToken('GGGGG', match1to6, match6);\n addRegexToken('ggggg', match1to6, match6);\n\n addWeekParseToken(\n ['gggg', 'ggggg', 'GGGG', 'GGGGG'],\n function (input, week, config, token) {\n week[token.substr(0, 2)] = toInt(input);\n }\n );\n\n addWeekParseToken(['gg', 'GG'], function (input, week, config, token) {\n week[token] = hooks.parseTwoDigitYear(input);\n });\n\n // MOMENTS\n\n function getSetWeekYear(input) {\n return getSetWeekYearHelper.call(\n this,\n input,\n this.week(),\n this.weekday() + this.localeData()._week.dow,\n this.localeData()._week.dow,\n this.localeData()._week.doy\n );\n }\n\n function getSetISOWeekYear(input) {\n return getSetWeekYearHelper.call(\n this,\n input,\n this.isoWeek(),\n this.isoWeekday(),\n 1,\n 4\n );\n }\n\n function getISOWeeksInYear() {\n return weeksInYear(this.year(), 1, 4);\n }\n\n function getISOWeeksInISOWeekYear() {\n return weeksInYear(this.isoWeekYear(), 1, 4);\n }\n\n function getWeeksInYear() {\n var weekInfo = this.localeData()._week;\n return weeksInYear(this.year(), weekInfo.dow, weekInfo.doy);\n }\n\n function getWeeksInWeekYear() {\n var weekInfo = this.localeData()._week;\n return weeksInYear(this.weekYear(), weekInfo.dow, weekInfo.doy);\n }\n\n function getSetWeekYearHelper(input, week, weekday, dow, doy) {\n var weeksTarget;\n if (input == null) {\n return weekOfYear(this, dow, doy).year;\n } else {\n weeksTarget = weeksInYear(input, dow, doy);\n if (week > weeksTarget) {\n week = weeksTarget;\n }\n return setWeekAll.call(this, input, week, weekday, dow, doy);\n }\n }\n\n function setWeekAll(weekYear, week, weekday, dow, doy) {\n var dayOfYearData = dayOfYearFromWeeks(weekYear, week, weekday, dow, doy),\n date = createUTCDate(dayOfYearData.year, 0, dayOfYearData.dayOfYear);\n\n this.year(date.getUTCFullYear());\n this.month(date.getUTCMonth());\n this.date(date.getUTCDate());\n return this;\n }\n\n // FORMATTING\n\n addFormatToken('Q', 0, 'Qo', 'quarter');\n\n // PARSING\n\n addRegexToken('Q', match1);\n addParseToken('Q', function (input, array) {\n array[MONTH] = (toInt(input) - 1) * 3;\n });\n\n // MOMENTS\n\n function getSetQuarter(input) {\n return input == null\n ? Math.ceil((this.month() + 1) / 3)\n : this.month((input - 1) * 3 + (this.month() % 3));\n }\n\n // FORMATTING\n\n addFormatToken('D', ['DD', 2], 'Do', 'date');\n\n // PARSING\n\n addRegexToken('D', match1to2, match1to2NoLeadingZero);\n addRegexToken('DD', match1to2, match2);\n addRegexToken('Do', function (isStrict, locale) {\n // TODO: Remove \"ordinalParse\" fallback in next major release.\n return isStrict\n ? locale._dayOfMonthOrdinalParse || locale._ordinalParse\n : locale._dayOfMonthOrdinalParseLenient;\n });\n\n addParseToken(['D', 'DD'], DATE);\n addParseToken('Do', function (input, array) {\n array[DATE] = toInt(input.match(match1to2)[0]);\n });\n\n // MOMENTS\n\n var getSetDayOfMonth = makeGetSet('Date', true);\n\n // FORMATTING\n\n addFormatToken('DDD', ['DDDD', 3], 'DDDo', 'dayOfYear');\n\n // PARSING\n\n addRegexToken('DDD', match1to3);\n addRegexToken('DDDD', match3);\n addParseToken(['DDD', 'DDDD'], function (input, array, config) {\n config._dayOfYear = toInt(input);\n });\n\n // HELPERS\n\n // MOMENTS\n\n function getSetDayOfYear(input) {\n var dayOfYear =\n Math.round(\n (this.clone().startOf('day') - this.clone().startOf('year')) / 864e5\n ) + 1;\n return input == null ? dayOfYear : this.add(input - dayOfYear, 'd');\n }\n\n // FORMATTING\n\n addFormatToken('m', ['mm', 2], 0, 'minute');\n\n // PARSING\n\n addRegexToken('m', match1to2, match1to2HasZero);\n addRegexToken('mm', match1to2, match2);\n addParseToken(['m', 'mm'], MINUTE);\n\n // MOMENTS\n\n var getSetMinute = makeGetSet('Minutes', false);\n\n // FORMATTING\n\n addFormatToken('s', ['ss', 2], 0, 'second');\n\n // PARSING\n\n addRegexToken('s', match1to2, match1to2HasZero);\n addRegexToken('ss', match1to2, match2);\n addParseToken(['s', 'ss'], SECOND);\n\n // MOMENTS\n\n var getSetSecond = makeGetSet('Seconds', false);\n\n // FORMATTING\n\n addFormatToken('S', 0, 0, function () {\n return ~~(this.millisecond() / 100);\n });\n\n addFormatToken(0, ['SS', 2], 0, function () {\n return ~~(this.millisecond() / 10);\n });\n\n addFormatToken(0, ['SSS', 3], 0, 'millisecond');\n addFormatToken(0, ['SSSS', 4], 0, function () {\n return this.millisecond() * 10;\n });\n addFormatToken(0, ['SSSSS', 5], 0, function () {\n return this.millisecond() * 100;\n });\n addFormatToken(0, ['SSSSSS', 6], 0, function () {\n return this.millisecond() * 1000;\n });\n addFormatToken(0, ['SSSSSSS', 7], 0, function () {\n return this.millisecond() * 10000;\n });\n addFormatToken(0, ['SSSSSSSS', 8], 0, function () {\n return this.millisecond() * 100000;\n });\n addFormatToken(0, ['SSSSSSSSS', 9], 0, function () {\n return this.millisecond() * 1000000;\n });\n\n // PARSING\n\n addRegexToken('S', match1to3, match1);\n addRegexToken('SS', match1to3, match2);\n addRegexToken('SSS', match1to3, match3);\n\n var token, getSetMillisecond;\n for (token = 'SSSS'; token.length <= 9; token += 'S') {\n addRegexToken(token, matchUnsigned);\n }\n\n function parseMs(input, array) {\n array[MILLISECOND] = toInt(('0.' + input) * 1000);\n }\n\n for (token = 'S'; token.length <= 9; token += 'S') {\n addParseToken(token, parseMs);\n }\n\n getSetMillisecond = makeGetSet('Milliseconds', false);\n\n // FORMATTING\n\n addFormatToken('z', 0, 0, 'zoneAbbr');\n addFormatToken('zz', 0, 0, 'zoneName');\n\n // MOMENTS\n\n function getZoneAbbr() {\n return this._isUTC ? 'UTC' : '';\n }\n\n function getZoneName() {\n return this._isUTC ? 'Coordinated Universal Time' : '';\n }\n\n var proto = Moment.prototype;\n\n proto.add = add;\n proto.calendar = calendar$1;\n proto.clone = clone;\n proto.diff = diff;\n proto.endOf = endOf;\n proto.format = format;\n proto.from = from;\n proto.fromNow = fromNow;\n proto.to = to;\n proto.toNow = toNow;\n proto.get = stringGet;\n proto.invalidAt = invalidAt;\n proto.isAfter = isAfter;\n proto.isBefore = isBefore;\n proto.isBetween = isBetween;\n proto.isSame = isSame;\n proto.isSameOrAfter = isSameOrAfter;\n proto.isSameOrBefore = isSameOrBefore;\n proto.isValid = isValid$2;\n proto.lang = lang;\n proto.locale = locale;\n proto.localeData = localeData;\n proto.max = prototypeMax;\n proto.min = prototypeMin;\n proto.parsingFlags = parsingFlags;\n proto.set = stringSet;\n proto.startOf = startOf;\n proto.subtract = subtract;\n proto.toArray = toArray;\n proto.toObject = toObject;\n proto.toDate = toDate;\n proto.toISOString = toISOString;\n proto.inspect = inspect;\n if (typeof Symbol !== 'undefined' && Symbol.for != null) {\n proto[Symbol.for('nodejs.util.inspect.custom')] = function () {\n return 'Moment<' + this.format() + '>';\n };\n }\n proto.toJSON = toJSON;\n proto.toString = toString;\n proto.unix = unix;\n proto.valueOf = valueOf;\n proto.creationData = creationData;\n proto.eraName = getEraName;\n proto.eraNarrow = getEraNarrow;\n proto.eraAbbr = getEraAbbr;\n proto.eraYear = getEraYear;\n proto.year = getSetYear;\n proto.isLeapYear = getIsLeapYear;\n proto.weekYear = getSetWeekYear;\n proto.isoWeekYear = getSetISOWeekYear;\n proto.quarter = proto.quarters = getSetQuarter;\n proto.month = getSetMonth;\n proto.daysInMonth = getDaysInMonth;\n proto.week = proto.weeks = getSetWeek;\n proto.isoWeek = proto.isoWeeks = getSetISOWeek;\n proto.weeksInYear = getWeeksInYear;\n proto.weeksInWeekYear = getWeeksInWeekYear;\n proto.isoWeeksInYear = getISOWeeksInYear;\n proto.isoWeeksInISOWeekYear = getISOWeeksInISOWeekYear;\n proto.date = getSetDayOfMonth;\n proto.day = proto.days = getSetDayOfWeek;\n proto.weekday = getSetLocaleDayOfWeek;\n proto.isoWeekday = getSetISODayOfWeek;\n proto.dayOfYear = getSetDayOfYear;\n proto.hour = proto.hours = getSetHour;\n proto.minute = proto.minutes = getSetMinute;\n proto.second = proto.seconds = getSetSecond;\n proto.millisecond = proto.milliseconds = getSetMillisecond;\n proto.utcOffset = getSetOffset;\n proto.utc = setOffsetToUTC;\n proto.local = setOffsetToLocal;\n proto.parseZone = setOffsetToParsedOffset;\n proto.hasAlignedHourOffset = hasAlignedHourOffset;\n proto.isDST = isDaylightSavingTime;\n proto.isLocal = isLocal;\n proto.isUtcOffset = isUtcOffset;\n proto.isUtc = isUtc;\n proto.isUTC = isUtc;\n proto.zoneAbbr = getZoneAbbr;\n proto.zoneName = getZoneName;\n proto.dates = deprecate(\n 'dates accessor is deprecated. Use date instead.',\n getSetDayOfMonth\n );\n proto.months = deprecate(\n 'months accessor is deprecated. Use month instead',\n getSetMonth\n );\n proto.years = deprecate(\n 'years accessor is deprecated. Use year instead',\n getSetYear\n );\n proto.zone = deprecate(\n 'moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/',\n getSetZone\n );\n proto.isDSTShifted = deprecate(\n 'isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information',\n isDaylightSavingTimeShifted\n );\n\n function createUnix(input) {\n return createLocal(input * 1000);\n }\n\n function createInZone() {\n return createLocal.apply(null, arguments).parseZone();\n }\n\n function preParsePostFormat(string) {\n return string;\n }\n\n var proto$1 = Locale.prototype;\n\n proto$1.calendar = calendar;\n proto$1.longDateFormat = longDateFormat;\n proto$1.invalidDate = invalidDate;\n proto$1.ordinal = ordinal;\n proto$1.preparse = preParsePostFormat;\n proto$1.postformat = preParsePostFormat;\n proto$1.relativeTime = relativeTime;\n proto$1.pastFuture = pastFuture;\n proto$1.set = set;\n proto$1.eras = localeEras;\n proto$1.erasParse = localeErasParse;\n proto$1.erasConvertYear = localeErasConvertYear;\n proto$1.erasAbbrRegex = erasAbbrRegex;\n proto$1.erasNameRegex = erasNameRegex;\n proto$1.erasNarrowRegex = erasNarrowRegex;\n\n proto$1.months = localeMonths;\n proto$1.monthsShort = localeMonthsShort;\n proto$1.monthsParse = localeMonthsParse;\n proto$1.monthsRegex = monthsRegex;\n proto$1.monthsShortRegex = monthsShortRegex;\n proto$1.week = localeWeek;\n proto$1.firstDayOfYear = localeFirstDayOfYear;\n proto$1.firstDayOfWeek = localeFirstDayOfWeek;\n\n proto$1.weekdays = localeWeekdays;\n proto$1.weekdaysMin = localeWeekdaysMin;\n proto$1.weekdaysShort = localeWeekdaysShort;\n proto$1.weekdaysParse = localeWeekdaysParse;\n\n proto$1.weekdaysRegex = weekdaysRegex;\n proto$1.weekdaysShortRegex = weekdaysShortRegex;\n proto$1.weekdaysMinRegex = weekdaysMinRegex;\n\n proto$1.isPM = localeIsPM;\n proto$1.meridiem = localeMeridiem;\n\n function get$1(format, index, field, setter) {\n var locale = getLocale(),\n utc = createUTC().set(setter, index);\n return locale[field](utc, format);\n }\n\n function listMonthsImpl(format, index, field) {\n if (isNumber(format)) {\n index = format;\n format = undefined;\n }\n\n format = format || '';\n\n if (index != null) {\n return get$1(format, index, field, 'month');\n }\n\n var i,\n out = [];\n for (i = 0; i < 12; i++) {\n out[i] = get$1(format, i, field, 'month');\n }\n return out;\n }\n\n // ()\n // (5)\n // (fmt, 5)\n // (fmt)\n // (true)\n // (true, 5)\n // (true, fmt, 5)\n // (true, fmt)\n function listWeekdaysImpl(localeSorted, format, index, field) {\n if (typeof localeSorted === 'boolean') {\n if (isNumber(format)) {\n index = format;\n format = undefined;\n }\n\n format = format || '';\n } else {\n format = localeSorted;\n index = format;\n localeSorted = false;\n\n if (isNumber(format)) {\n index = format;\n format = undefined;\n }\n\n format = format || '';\n }\n\n var locale = getLocale(),\n shift = localeSorted ? locale._week.dow : 0,\n i,\n out = [];\n\n if (index != null) {\n return get$1(format, (index + shift) % 7, field, 'day');\n }\n\n for (i = 0; i < 7; i++) {\n out[i] = get$1(format, (i + shift) % 7, field, 'day');\n }\n return out;\n }\n\n function listMonths(format, index) {\n return listMonthsImpl(format, index, 'months');\n }\n\n function listMonthsShort(format, index) {\n return listMonthsImpl(format, index, 'monthsShort');\n }\n\n function listWeekdays(localeSorted, format, index) {\n return listWeekdaysImpl(localeSorted, format, index, 'weekdays');\n }\n\n function listWeekdaysShort(localeSorted, format, index) {\n return listWeekdaysImpl(localeSorted, format, index, 'weekdaysShort');\n }\n\n function listWeekdaysMin(localeSorted, format, index) {\n return listWeekdaysImpl(localeSorted, format, index, 'weekdaysMin');\n }\n\n getSetGlobalLocale('en', {\n eras: [\n {\n since: '0001-01-01',\n until: +Infinity,\n offset: 1,\n name: 'Anno Domini',\n narrow: 'AD',\n abbr: 'AD',\n },\n {\n since: '0000-12-31',\n until: -Infinity,\n offset: 1,\n name: 'Before Christ',\n narrow: 'BC',\n abbr: 'BC',\n },\n ],\n dayOfMonthOrdinalParse: /\\d{1,2}(th|st|nd|rd)/,\n ordinal: function (number) {\n var b = number % 10,\n output =\n toInt((number % 100) / 10) === 1\n ? 'th'\n : b === 1\n ? 'st'\n : b === 2\n ? 'nd'\n : b === 3\n ? 'rd'\n : 'th';\n return number + output;\n },\n });\n\n // Side effect imports\n\n hooks.lang = deprecate(\n 'moment.lang is deprecated. Use moment.locale instead.',\n getSetGlobalLocale\n );\n hooks.langData = deprecate(\n 'moment.langData is deprecated. Use moment.localeData instead.',\n getLocale\n );\n\n var mathAbs = Math.abs;\n\n function abs() {\n var data = this._data;\n\n this._milliseconds = mathAbs(this._milliseconds);\n this._days = mathAbs(this._days);\n this._months = mathAbs(this._months);\n\n data.milliseconds = mathAbs(data.milliseconds);\n data.seconds = mathAbs(data.seconds);\n data.minutes = mathAbs(data.minutes);\n data.hours = mathAbs(data.hours);\n data.months = mathAbs(data.months);\n data.years = mathAbs(data.years);\n\n return this;\n }\n\n function addSubtract$1(duration, input, value, direction) {\n var other = createDuration(input, value);\n\n duration._milliseconds += direction * other._milliseconds;\n duration._days += direction * other._days;\n duration._months += direction * other._months;\n\n return duration._bubble();\n }\n\n // supports only 2.0-style add(1, 's') or add(duration)\n function add$1(input, value) {\n return addSubtract$1(this, input, value, 1);\n }\n\n // supports only 2.0-style subtract(1, 's') or subtract(duration)\n function subtract$1(input, value) {\n return addSubtract$1(this, input, value, -1);\n }\n\n function absCeil(number) {\n if (number < 0) {\n return Math.floor(number);\n } else {\n return Math.ceil(number);\n }\n }\n\n function bubble() {\n var milliseconds = this._milliseconds,\n days = this._days,\n months = this._months,\n data = this._data,\n seconds,\n minutes,\n hours,\n years,\n monthsFromDays;\n\n // if we have a mix of positive and negative values, bubble down first\n // check: https://github.com/moment/moment/issues/2166\n if (\n !(\n (milliseconds >= 0 && days >= 0 && months >= 0) ||\n (milliseconds <= 0 && days <= 0 && months <= 0)\n )\n ) {\n milliseconds += absCeil(monthsToDays(months) + days) * 864e5;\n days = 0;\n months = 0;\n }\n\n // The following code bubbles up values, see the tests for\n // examples of what that means.\n data.milliseconds = milliseconds % 1000;\n\n seconds = absFloor(milliseconds / 1000);\n data.seconds = seconds % 60;\n\n minutes = absFloor(seconds / 60);\n data.minutes = minutes % 60;\n\n hours = absFloor(minutes / 60);\n data.hours = hours % 24;\n\n days += absFloor(hours / 24);\n\n // convert days to months\n monthsFromDays = absFloor(daysToMonths(days));\n months += monthsFromDays;\n days -= absCeil(monthsToDays(monthsFromDays));\n\n // 12 months -> 1 year\n years = absFloor(months / 12);\n months %= 12;\n\n data.days = days;\n data.months = months;\n data.years = years;\n\n return this;\n }\n\n function daysToMonths(days) {\n // 400 years have 146097 days (taking into account leap year rules)\n // 400 years have 12 months === 4800\n return (days * 4800) / 146097;\n }\n\n function monthsToDays(months) {\n // the reverse of daysToMonths\n return (months * 146097) / 4800;\n }\n\n function as(units) {\n if (!this.isValid()) {\n return NaN;\n }\n var days,\n months,\n milliseconds = this._milliseconds;\n\n units = normalizeUnits(units);\n\n if (units === 'month' || units === 'quarter' || units === 'year') {\n days = this._days + milliseconds / 864e5;\n months = this._months + daysToMonths(days);\n switch (units) {\n case 'month':\n return months;\n case 'quarter':\n return months / 3;\n case 'year':\n return months / 12;\n }\n } else {\n // handle milliseconds separately because of floating point math errors (issue #1867)\n days = this._days + Math.round(monthsToDays(this._months));\n switch (units) {\n case 'week':\n return days / 7 + milliseconds / 6048e5;\n case 'day':\n return days + milliseconds / 864e5;\n case 'hour':\n return days * 24 + milliseconds / 36e5;\n case 'minute':\n return days * 1440 + milliseconds / 6e4;\n case 'second':\n return days * 86400 + milliseconds / 1000;\n // Math.floor prevents floating point math errors here\n case 'millisecond':\n return Math.floor(days * 864e5) + milliseconds;\n default:\n throw new Error('Unknown unit ' + units);\n }\n }\n }\n\n function makeAs(alias) {\n return function () {\n return this.as(alias);\n };\n }\n\n var asMilliseconds = makeAs('ms'),\n asSeconds = makeAs('s'),\n asMinutes = makeAs('m'),\n asHours = makeAs('h'),\n asDays = makeAs('d'),\n asWeeks = makeAs('w'),\n asMonths = makeAs('M'),\n asQuarters = makeAs('Q'),\n asYears = makeAs('y'),\n valueOf$1 = asMilliseconds;\n\n function clone$1() {\n return createDuration(this);\n }\n\n function get$2(units) {\n units = normalizeUnits(units);\n return this.isValid() ? this[units + 's']() : NaN;\n }\n\n function makeGetter(name) {\n return function () {\n return this.isValid() ? this._data[name] : NaN;\n };\n }\n\n var milliseconds = makeGetter('milliseconds'),\n seconds = makeGetter('seconds'),\n minutes = makeGetter('minutes'),\n hours = makeGetter('hours'),\n days = makeGetter('days'),\n months = makeGetter('months'),\n years = makeGetter('years');\n\n function weeks() {\n return absFloor(this.days() / 7);\n }\n\n var round = Math.round,\n thresholds = {\n ss: 44, // a few seconds to seconds\n s: 45, // seconds to minute\n m: 45, // minutes to hour\n h: 22, // hours to day\n d: 26, // days to month/week\n w: null, // weeks to month\n M: 11, // months to year\n };\n\n // helper function for moment.fn.from, moment.fn.fromNow, and moment.duration.fn.humanize\n function substituteTimeAgo(string, number, withoutSuffix, isFuture, locale) {\n return locale.relativeTime(number || 1, !!withoutSuffix, string, isFuture);\n }\n\n function relativeTime$1(posNegDuration, withoutSuffix, thresholds, locale) {\n var duration = createDuration(posNegDuration).abs(),\n seconds = round(duration.as('s')),\n minutes = round(duration.as('m')),\n hours = round(duration.as('h')),\n days = round(duration.as('d')),\n months = round(duration.as('M')),\n weeks = round(duration.as('w')),\n years = round(duration.as('y')),\n a =\n (seconds <= thresholds.ss && ['s', seconds]) ||\n (seconds < thresholds.s && ['ss', seconds]) ||\n (minutes <= 1 && ['m']) ||\n (minutes < thresholds.m && ['mm', minutes]) ||\n (hours <= 1 && ['h']) ||\n (hours < thresholds.h && ['hh', hours]) ||\n (days <= 1 && ['d']) ||\n (days < thresholds.d && ['dd', days]);\n\n if (thresholds.w != null) {\n a =\n a ||\n (weeks <= 1 && ['w']) ||\n (weeks < thresholds.w && ['ww', weeks]);\n }\n a = a ||\n (months <= 1 && ['M']) ||\n (months < thresholds.M && ['MM', months]) ||\n (years <= 1 && ['y']) || ['yy', years];\n\n a[2] = withoutSuffix;\n a[3] = +posNegDuration > 0;\n a[4] = locale;\n return substituteTimeAgo.apply(null, a);\n }\n\n // This function allows you to set the rounding function for relative time strings\n function getSetRelativeTimeRounding(roundingFunction) {\n if (roundingFunction === undefined) {\n return round;\n }\n if (typeof roundingFunction === 'function') {\n round = roundingFunction;\n return true;\n }\n return false;\n }\n\n // This function allows you to set a threshold for relative time strings\n function getSetRelativeTimeThreshold(threshold, limit) {\n if (thresholds[threshold] === undefined) {\n return false;\n }\n if (limit === undefined) {\n return thresholds[threshold];\n }\n thresholds[threshold] = limit;\n if (threshold === 's') {\n thresholds.ss = limit - 1;\n }\n return true;\n }\n\n function humanize(argWithSuffix, argThresholds) {\n if (!this.isValid()) {\n return this.localeData().invalidDate();\n }\n\n var withSuffix = false,\n th = thresholds,\n locale,\n output;\n\n if (typeof argWithSuffix === 'object') {\n argThresholds = argWithSuffix;\n argWithSuffix = false;\n }\n if (typeof argWithSuffix === 'boolean') {\n withSuffix = argWithSuffix;\n }\n if (typeof argThresholds === 'object') {\n th = Object.assign({}, thresholds, argThresholds);\n if (argThresholds.s != null && argThresholds.ss == null) {\n th.ss = argThresholds.s - 1;\n }\n }\n\n locale = this.localeData();\n output = relativeTime$1(this, !withSuffix, th, locale);\n\n if (withSuffix) {\n output = locale.pastFuture(+this, output);\n }\n\n return locale.postformat(output);\n }\n\n var abs$1 = Math.abs;\n\n function sign(x) {\n return (x > 0) - (x < 0) || +x;\n }\n\n function toISOString$1() {\n // for ISO strings we do not use the normal bubbling rules:\n // * milliseconds bubble up until they become hours\n // * days do not bubble at all\n // * months bubble up until they become years\n // This is because there is no context-free conversion between hours and days\n // (think of clock changes)\n // and also not between days and months (28-31 days per month)\n if (!this.isValid()) {\n return this.localeData().invalidDate();\n }\n\n var seconds = abs$1(this._milliseconds) / 1000,\n days = abs$1(this._days),\n months = abs$1(this._months),\n minutes,\n hours,\n years,\n s,\n total = this.asSeconds(),\n totalSign,\n ymSign,\n daysSign,\n hmsSign;\n\n if (!total) {\n // this is the same as C#'s (Noda) and python (isodate)...\n // but not other JS (goog.date)\n return 'P0D';\n }\n\n // 3600 seconds -> 60 minutes -> 1 hour\n minutes = absFloor(seconds / 60);\n hours = absFloor(minutes / 60);\n seconds %= 60;\n minutes %= 60;\n\n // 12 months -> 1 year\n years = absFloor(months / 12);\n months %= 12;\n\n // inspired by https://github.com/dordille/moment-isoduration/blob/master/moment.isoduration.js\n s = seconds ? seconds.toFixed(3).replace(/\\.?0+$/, '') : '';\n\n totalSign = total < 0 ? '-' : '';\n ymSign = sign(this._months) !== sign(total) ? '-' : '';\n daysSign = sign(this._days) !== sign(total) ? '-' : '';\n hmsSign = sign(this._milliseconds) !== sign(total) ? '-' : '';\n\n return (\n totalSign +\n 'P' +\n (years ? ymSign + years + 'Y' : '') +\n (months ? ymSign + months + 'M' : '') +\n (days ? daysSign + days + 'D' : '') +\n (hours || minutes || seconds ? 'T' : '') +\n (hours ? hmsSign + hours + 'H' : '') +\n (minutes ? hmsSign + minutes + 'M' : '') +\n (seconds ? hmsSign + s + 'S' : '')\n );\n }\n\n var proto$2 = Duration.prototype;\n\n proto$2.isValid = isValid$1;\n proto$2.abs = abs;\n proto$2.add = add$1;\n proto$2.subtract = subtract$1;\n proto$2.as = as;\n proto$2.asMilliseconds = asMilliseconds;\n proto$2.asSeconds = asSeconds;\n proto$2.asMinutes = asMinutes;\n proto$2.asHours = asHours;\n proto$2.asDays = asDays;\n proto$2.asWeeks = asWeeks;\n proto$2.asMonths = asMonths;\n proto$2.asQuarters = asQuarters;\n proto$2.asYears = asYears;\n proto$2.valueOf = valueOf$1;\n proto$2._bubble = bubble;\n proto$2.clone = clone$1;\n proto$2.get = get$2;\n proto$2.milliseconds = milliseconds;\n proto$2.seconds = seconds;\n proto$2.minutes = minutes;\n proto$2.hours = hours;\n proto$2.days = days;\n proto$2.weeks = weeks;\n proto$2.months = months;\n proto$2.years = years;\n proto$2.humanize = humanize;\n proto$2.toISOString = toISOString$1;\n proto$2.toString = toISOString$1;\n proto$2.toJSON = toISOString$1;\n proto$2.locale = locale;\n proto$2.localeData = localeData;\n\n proto$2.toIsoString = deprecate(\n 'toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)',\n toISOString$1\n );\n proto$2.lang = lang;\n\n // FORMATTING\n\n addFormatToken('X', 0, 0, 'unix');\n addFormatToken('x', 0, 0, 'valueOf');\n\n // PARSING\n\n addRegexToken('x', matchSigned);\n addRegexToken('X', matchTimestamp);\n addParseToken('X', function (input, array, config) {\n config._d = new Date(parseFloat(input) * 1000);\n });\n addParseToken('x', function (input, array, config) {\n config._d = new Date(toInt(input));\n });\n\n //! moment.js\n\n hooks.version = '2.30.1';\n\n setHookCallback(createLocal);\n\n hooks.fn = proto;\n hooks.min = min;\n hooks.max = max;\n hooks.now = now;\n hooks.utc = createUTC;\n hooks.unix = createUnix;\n hooks.months = listMonths;\n hooks.isDate = isDate;\n hooks.locale = getSetGlobalLocale;\n hooks.invalid = createInvalid;\n hooks.duration = createDuration;\n hooks.isMoment = isMoment;\n hooks.weekdays = listWeekdays;\n hooks.parseZone = createInZone;\n hooks.localeData = getLocale;\n hooks.isDuration = isDuration;\n hooks.monthsShort = listMonthsShort;\n hooks.weekdaysMin = listWeekdaysMin;\n hooks.defineLocale = defineLocale;\n hooks.updateLocale = updateLocale;\n hooks.locales = listLocales;\n hooks.weekdaysShort = listWeekdaysShort;\n hooks.normalizeUnits = normalizeUnits;\n hooks.relativeTimeRounding = getSetRelativeTimeRounding;\n hooks.relativeTimeThreshold = getSetRelativeTimeThreshold;\n hooks.calendarFormat = getCalendarFormat;\n hooks.prototype = proto;\n\n // currently HTML5 input type only supports 24-hour formats\n hooks.HTML5_FMT = {\n DATETIME_LOCAL: 'YYYY-MM-DDTHH:mm', // \n DATETIME_LOCAL_SECONDS: 'YYYY-MM-DDTHH:mm:ss', // \n DATETIME_LOCAL_MS: 'YYYY-MM-DDTHH:mm:ss.SSS', // \n DATE: 'YYYY-MM-DD', // \n TIME: 'HH:mm', // \n TIME_SECONDS: 'HH:mm:ss', // \n TIME_MS: 'HH:mm:ss.SSS', // \n WEEK: 'GGGG-[W]WW', // \n MONTH: 'YYYY-MM', // \n };\n\n return hooks;\n\n})));\n","function r(e){var t,f,n=\"\";if(\"string\"==typeof e||\"number\"==typeof e)n+=e;else if(\"object\"==typeof e)if(Array.isArray(e))for(t=0;t\"object\"==typeof window?((t?t.querySelector(\"#_goober\"):window._goober)||Object.assign((t||document.head).appendChild(document.createElement(\"style\")),{innerHTML:\" \",id:\"_goober\"})).firstChild:t||e,r=e=>{let r=t(e),l=r.data;return r.data=\"\",l},l=/(?:([\\u0080-\\uFFFF\\w-%@]+) *:? *([^{;]+?);|([^;}{]*?) *{)|(}\\s*)/g,a=/\\/\\*[^]*?\\*\\/| +/g,n=/\\n+/g,o=(e,t)=>{let r=\"\",l=\"\",a=\"\";for(let n in e){let c=e[n];\"@\"==n[0]?\"i\"==n[1]?r=n+\" \"+c+\";\":l+=\"f\"==n[1]?o(c,n):n+\"{\"+o(c,\"k\"==n[1]?\"\":t)+\"}\":\"object\"==typeof c?l+=o(c,t?t.replace(/([^,])+/g,e=>n.replace(/([^,]*:\\S+\\([^)]*\\))|([^,])+/g,t=>/&/.test(t)?t.replace(/&/g,e):e?e+\" \"+t:t)):n):null!=c&&(n=/^--/.test(n)?n:n.replace(/[A-Z]/g,\"-$&\").toLowerCase(),a+=o.p?o.p(n,c):n+\":\"+c+\";\")}return r+(t&&a?t+\"{\"+a+\"}\":a)+l},c={},s=e=>{if(\"object\"==typeof e){let t=\"\";for(let r in e)t+=r+s(e[r]);return t}return e},i=(e,t,r,i,p)=>{let u=s(e),d=c[u]||(c[u]=(e=>{let t=0,r=11;for(;t>>0;return\"go\"+r})(u));if(!c[d]){let t=u!==e?e:(e=>{let t,r,o=[{}];for(;t=l.exec(e.replace(a,\"\"));)t[4]?o.shift():t[3]?(r=t[3].replace(n,\" \").trim(),o.unshift(o[0][r]=o[0][r]||{})):o[0][t[1]]=t[2].replace(n,\" \").trim();return o[0]})(e);c[d]=o(p?{[\"@keyframes \"+d]:t}:t,r?\"\":\".\"+d)}let f=r&&c.g?c.g:null;return r&&(c.g=c[d]),((e,t,r,l)=>{l?t.data=t.data.replace(l,e):-1===t.data.indexOf(e)&&(t.data=r?e+t.data:t.data+e)})(c[d],t,i,f),d},p=(e,t,r)=>e.reduce((e,l,a)=>{let n=t[a];if(n&&n.call){let e=n(r),t=e&&e.props&&e.props.className||/^go/.test(e)&&e;n=t?\".\"+t:e&&\"object\"==typeof e?e.props?\"\":o(e,\"\"):!1===e?\"\":e}return e+l+(null==n?\"\":n)},\"\");function u(e){let r=this||{},l=e.call?e(r.p):e;return i(l.unshift?l.raw?p(l,[].slice.call(arguments,1),r.p):l.reduce((e,t)=>Object.assign(e,t&&t.call?t(r.p):t),{}):l,t(r.target),r.g,r.o,r.k)}let d,f,g,b=u.bind({g:1}),h=u.bind({k:1});function m(e,t,r,l){o.p=t,d=e,f=r,g=l}function j(e,t){let r=this||{};return function(){let l=arguments;function a(n,o){let c=Object.assign({},n),s=c.className||a.className;r.p=Object.assign({theme:f&&f()},c),r.o=/ *go\\d+/.test(s),c.className=u.apply(r,l)+(s?\" \"+s:\"\"),t&&(c.ref=o);let i=e;return e[0]&&(i=c.as||e,delete c.as),g&&i[0]&&g(c),d(i,c)}return t?t(a):a}}export{u as css,r as extractCss,b as glob,h as keyframes,m as setup,j as styled};\n","import React from 'react';\nimport { ProviderContext } from './types';\n\nconst noOp = () => {\n return '';\n};\n\nexport default React.createContext({\n enqueueSnackbar: noOp,\n closeSnackbar: noOp,\n});\n","import { InternalSnack } from '../types';\n\nexport const breakpoints = {\n downXs: '@media (max-width:599.95px)',\n upSm: '@media (min-width:600px)',\n};\n\nconst capitalise = (text: string): string => text.charAt(0).toUpperCase() + text.slice(1);\n\nexport const originKeyExtractor = (anchor: InternalSnack['anchorOrigin']): string =>\n `${capitalise(anchor.vertical)}${capitalise(anchor.horizontal)}`;\n\nexport const isDefined = (value: string | null | undefined | number): boolean => !!value || value === 0;\n","/**\n * BSD 3-Clause License\n *\n * Copyright (c) 2018, React Community\n * Forked from React (https://github.com/facebook/react) Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following conditions are met:\n *\n * * Redistributions of source code must retain the above copyright notice, this\n * list of conditions and the following disclaimer.\n *\n * * Redistributions in binary form must reproduce the above copyright notice,\n * this list of conditions and the following disclaimer in the documentation\n * and/or other materials provided with the distribution.\n *\n * * Neither the name of the copyright holder nor the names of its\n * contributors may be used to endorse or promote products derived from\n * this software without specific prior written permission.\n *\n * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\"\n * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\n * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE\n * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\n * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\n * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\n * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\n * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n */\nimport React from 'react';\nimport { TransitionComponentProps, TransitionStatus } from '../../types';\n\nconst UNMOUNTED = 'unmounted';\nconst EXITED = 'exited';\nconst ENTERING = 'entering';\nconst ENTERED = 'entered';\nconst EXITING = 'exiting';\n\ninterface State {\n status: TransitionStatus;\n}\n\ninterface NextCallback {\n (): void;\n cancel?: () => void;\n}\n\nclass Transition extends React.Component {\n appearStatus: TransitionStatus | null;\n\n nextCallback: NextCallback | null;\n\n constructor(props: TransitionComponentProps) {\n super(props);\n\n const { appear } = props;\n\n let initialStatus: TransitionStatus;\n\n this.appearStatus = null;\n\n if (props.in) {\n if (appear) {\n initialStatus = EXITED;\n this.appearStatus = ENTERING;\n } else {\n initialStatus = ENTERED;\n }\n } else if (props.unmountOnExit || props.mountOnEnter) {\n initialStatus = UNMOUNTED;\n } else {\n initialStatus = EXITED;\n }\n\n this.state = { status: initialStatus };\n\n this.nextCallback = null;\n }\n\n static getDerivedStateFromProps({ in: nextIn }: TransitionComponentProps, prevState: State) {\n if (nextIn && prevState.status === UNMOUNTED) {\n return { status: EXITED };\n }\n return null;\n }\n\n componentDidMount() {\n this.updateStatus(true, this.appearStatus);\n }\n\n componentDidUpdate(prevProps: TransitionComponentProps) {\n let nextStatus: TransitionStatus | null = null;\n if (prevProps !== this.props) {\n const { status } = this.state;\n\n if (this.props.in) {\n if (status !== ENTERING && status !== ENTERED) {\n nextStatus = ENTERING;\n }\n } else if (status === ENTERING || status === ENTERED) {\n nextStatus = EXITING;\n }\n }\n this.updateStatus(false, nextStatus);\n }\n\n componentWillUnmount() {\n this.cancelNextCallback();\n }\n\n getTimeouts(): { exit: number; enter: number } {\n const { timeout } = this.props;\n let enter = timeout;\n let exit = timeout;\n\n if (timeout != null && typeof timeout !== 'number' && typeof timeout !== 'string') {\n exit = timeout.exit;\n enter = timeout.enter;\n }\n return {\n exit: exit as number,\n enter: enter as number,\n };\n }\n\n updateStatus(mounting = false, nextStatus: TransitionStatus | null) {\n if (nextStatus !== null) {\n this.cancelNextCallback();\n\n if (nextStatus === ENTERING) {\n this.performEnter(mounting);\n } else {\n this.performExit();\n }\n } else if (this.props.unmountOnExit && this.state.status === EXITED) {\n this.setState({ status: UNMOUNTED });\n }\n }\n\n get node() {\n const node = this.props.nodeRef?.current;\n if (!node) {\n throw new Error('notistack - Custom snackbar is not refForwarding');\n }\n return node;\n }\n\n performEnter(mounting: boolean) {\n const { enter } = this.props;\n const isAppearing = mounting;\n\n const timeouts = this.getTimeouts();\n\n if (!mounting && !enter) {\n this.safeSetState({ status: ENTERED }, () => {\n if (this.props.onEntered) {\n this.props.onEntered(this.node, isAppearing);\n }\n });\n return;\n }\n\n if (this.props.onEnter) {\n this.props.onEnter(this.node, isAppearing);\n }\n\n this.safeSetState({ status: ENTERING }, () => {\n if (this.props.onEntering) {\n this.props.onEntering(this.node, isAppearing);\n }\n\n this.onTransitionEnd(timeouts.enter, () => {\n this.safeSetState({ status: ENTERED }, () => {\n if (this.props.onEntered) {\n this.props.onEntered(this.node, isAppearing);\n }\n });\n });\n });\n }\n\n performExit() {\n const { exit } = this.props;\n const timeouts = this.getTimeouts();\n\n // no exit animation skip right to EXITED\n if (!exit) {\n this.safeSetState({ status: EXITED }, () => {\n if (this.props.onExited) {\n this.props.onExited(this.node);\n }\n });\n return;\n }\n\n if (this.props.onExit) {\n this.props.onExit(this.node);\n }\n\n this.safeSetState({ status: EXITING }, () => {\n if (this.props.onExiting) {\n this.props.onExiting(this.node);\n }\n\n this.onTransitionEnd(timeouts.exit, () => {\n this.safeSetState({ status: EXITED }, () => {\n if (this.props.onExited) {\n this.props.onExited(this.node);\n }\n });\n });\n });\n }\n\n cancelNextCallback() {\n if (this.nextCallback !== null && this.nextCallback.cancel) {\n this.nextCallback.cancel();\n this.nextCallback = null;\n }\n }\n\n safeSetState(nextState: State, callback: () => void) {\n callback = this.setNextCallback(callback);\n this.setState(nextState, callback);\n }\n\n setNextCallback(callback: () => void) {\n let active = true;\n\n this.nextCallback = () => {\n if (active) {\n active = false;\n this.nextCallback = null;\n\n callback();\n }\n };\n\n (this.nextCallback as NextCallback).cancel = () => {\n active = false;\n };\n\n return this.nextCallback;\n }\n\n onTransitionEnd(timeout: number, handler: () => void) {\n this.setNextCallback(handler);\n const doesNotHaveTimeoutOrListener = timeout == null && !this.props.addEndListener;\n if (!this.node || doesNotHaveTimeoutOrListener) {\n setTimeout(this.nextCallback as NextCallback, 0);\n return;\n }\n\n if (this.props.addEndListener) {\n this.props.addEndListener(this.node, this.nextCallback as NextCallback);\n }\n\n if (timeout != null) {\n setTimeout(this.nextCallback as NextCallback, timeout);\n }\n }\n\n render() {\n const { status } = this.state;\n\n if (status === UNMOUNTED) {\n return null;\n }\n\n const {\n children,\n // filter props for `Transition`\n in: _in,\n mountOnEnter: _mountOnEnter,\n unmountOnExit: _unmountOnExit,\n appear: _appear,\n enter: _enter,\n exit: _exit,\n timeout: _timeout,\n addEndListener: _addEndListener,\n onEnter: _onEnter,\n onEntering: _onEntering,\n onEntered: _onEntered,\n onExit: _onExit,\n onExiting: _onExiting,\n onExited: _onExited,\n nodeRef: _nodeRef,\n ...childProps\n } = this.props;\n\n return children(status, childProps);\n }\n}\n\nfunction noop() {\n //\n}\n\n(Transition as any).defaultProps = {\n in: false,\n mountOnEnter: false,\n unmountOnExit: false,\n appear: false,\n enter: true,\n exit: true,\n\n onEnter: noop,\n onEntering: noop,\n onEntered: noop,\n\n onExit: noop,\n onExiting: noop,\n onExited: noop,\n};\n\nexport default Transition;\n","/**\n * Credit to MUI team @ https://mui.com\n */\nimport * as React from 'react';\n\n/**\n * passes {value} to {ref}\n *\n * Useful if you want to expose the ref of an inner component to the public API\n * while still using it inside the component.\n * @param ref A ref callback or ref object. If anything falsy, this is a no-op.\n */\nfunction setRef(\n ref: React.MutableRefObject | ((instance: T | null) => void) | null | undefined,\n value: T | null\n): void {\n if (typeof ref === 'function') {\n ref(value);\n } else if (ref) {\n ref.current = value;\n }\n}\n\nexport default function useForkRef(\n refA: React.Ref | null | undefined,\n refB: React.Ref | null | undefined\n): React.Ref | null {\n /**\n * This will create a new function if the ref props change and are defined.\n * This means react will call the old forkRef with `null` and the new forkRef\n * with the ref. Cleanup naturally emerges from this behavior.\n */\n return React.useMemo(() => {\n if (refA == null && refB == null) {\n return null;\n }\n return (refValue) => {\n setRef(refA, refValue);\n setRef(refB, refValue);\n };\n }, [refA, refB]);\n}\n","import { TransitionDuration } from '../types';\n\ninterface ComponentProps {\n style?: React.CSSProperties | undefined;\n /**\n * number: 400\n * TransitionDuration: { enter: 200, exit: 400 }\n */\n timeout: number | TransitionDuration;\n mode: 'enter' | 'exit';\n}\n\ninterface TransitionPropsReturnType {\n duration: number;\n easing: string | undefined;\n delay: string | undefined;\n}\n\nexport default function getTransitionProps(props: ComponentProps): TransitionPropsReturnType {\n const { timeout, style = {}, mode } = props;\n return {\n duration: typeof timeout === 'object' ? timeout[mode] || 0 : timeout,\n easing: style.transitionTimingFunction,\n delay: style.transitionDelay,\n };\n}\n","/**\n * Credit to MUI team @ https://mui.com\n */\nexport const defaultEasing = {\n // This is the most common easing curve.\n easeInOut: 'cubic-bezier(0.4, 0, 0.2, 1)',\n // Objects enter the screen at full velocity from off-screen and\n // slowly decelerate to a resting point.\n easeOut: 'cubic-bezier(0.0, 0, 0.2, 1)',\n // Objects leave the screen at full velocity. They do not decelerate when off-screen.\n easeIn: 'cubic-bezier(0.4, 0, 1, 1)',\n // The sharp curve is used by objects that may return to the screen at any time.\n sharp: 'cubic-bezier(0.4, 0, 0.6, 1)',\n};\n\n/**\n * CSS hack to force a repaint\n */\nexport const reflow = (node: Element): void => {\n // We have to do something with node.scrollTop.\n // Otherwise it's removed from the compiled code by optimisers\n // eslint-disable-next-line no-self-assign\n node.scrollTop = node.scrollTop;\n};\n","import { defaultEasing } from './utils';\n\ninterface CreateTransitionOptions {\n duration: string | number;\n easing?: string;\n delay?: string | number;\n}\n\nconst formatMs = (milliseconds: number) => `${Math.round(milliseconds)}ms`;\n\nexport default function createTransition(\n props: string | string[] = ['all'],\n options?: CreateTransitionOptions\n): string {\n const { duration = 300, easing = defaultEasing.easeInOut, delay = 0 } = options || {};\n\n const properties = Array.isArray(props) ? props : [props];\n\n return properties\n .map((animatedProp) => {\n const formattedDuration = typeof duration === 'string' ? duration : formatMs(duration);\n const formattedDelay = typeof delay === 'string' ? delay : formatMs(delay);\n return `${animatedProp} ${formattedDuration} ${easing} ${formattedDelay}`;\n })\n .join(',');\n}\n","/**\n * Credit to MUI team @ https://mui.com\n */\nimport * as React from 'react';\nimport TransitionComponent from '../Transition';\nimport useForkRef from '../useForkRef';\nimport getTransitionProps from '../getTransitionProps';\nimport createTransition from '../createTransition';\nimport { defaultEasing, reflow } from '../utils';\nimport { SlideTransitionDirection, TransitionProps } from '../../types';\n\nfunction ownerDocument(node: Node | null | undefined): Document {\n return (node && node.ownerDocument) || document;\n}\n\nfunction ownerWindow(node: Node | null): Window {\n const doc = ownerDocument(node);\n return doc.defaultView || window;\n}\n\n/**\n * Corresponds to 10 frames at 60 Hz.\n * A few bytes payload overhead when lodash/debounce is ~3 kB and debounce ~300 B.\n */\nfunction debounce(func: () => void, wait = 166) {\n let timeout: ReturnType;\n function debounced(...args: any[]) {\n const later = () => {\n // @ts-ignore\n func.apply(this, args);\n };\n clearTimeout(timeout);\n timeout = setTimeout(later, wait);\n }\n\n debounced.clear = () => {\n clearTimeout(timeout);\n };\n\n return debounced;\n}\n\n/**\n * Translate the node so it can't be seen on the screen.\n * Later, we're going to translate the node back to its original location with `none`.\n */\nfunction getTranslateValue(\n direction: SlideTransitionDirection,\n node: HTMLElement & { fakeTransform?: string }\n): string {\n const rect = node.getBoundingClientRect();\n const containerWindow = ownerWindow(node);\n let transform;\n\n if (node.fakeTransform) {\n transform = node.fakeTransform;\n } else {\n const computedStyle = containerWindow.getComputedStyle(node);\n transform = computedStyle.getPropertyValue('-webkit-transform') || computedStyle.getPropertyValue('transform');\n }\n\n let offsetX = 0;\n let offsetY = 0;\n\n if (transform && transform !== 'none' && typeof transform === 'string') {\n const transformValues = transform.split('(')[1].split(')')[0].split(',');\n offsetX = parseInt(transformValues[4], 10);\n offsetY = parseInt(transformValues[5], 10);\n }\n\n switch (direction) {\n case 'left':\n return `translateX(${containerWindow.innerWidth + offsetX - rect.left}px)`;\n case 'right':\n return `translateX(-${rect.left + rect.width - offsetX}px)`;\n case 'up':\n return `translateY(${containerWindow.innerHeight + offsetY - rect.top}px)`;\n default:\n // down\n return `translateY(-${rect.top + rect.height - offsetY}px)`;\n }\n}\n\nfunction setTranslateValue(direction: SlideTransitionDirection, node: HTMLElement | null): void {\n if (!node) return;\n const transform = getTranslateValue(direction, node);\n if (transform) {\n node.style.webkitTransform = transform;\n node.style.transform = transform;\n }\n}\n\nconst Slide = React.forwardRef((props, ref) => {\n const {\n children,\n direction = 'down',\n in: inProp,\n style,\n timeout = 0,\n onEnter,\n onEntered,\n onExit,\n onExited,\n ...other\n } = props;\n\n const nodeRef = React.useRef(null);\n const handleRefIntermediary = useForkRef((children as any).ref, nodeRef);\n const handleRef = useForkRef(handleRefIntermediary, ref);\n\n const handleEnter: TransitionProps['onEnter'] = (node, isAppearing) => {\n setTranslateValue(direction, node);\n reflow(node);\n\n if (onEnter) {\n onEnter(node, isAppearing);\n }\n };\n\n const handleEntering = (node: HTMLElement) => {\n const easing = style?.transitionTimingFunction || defaultEasing.easeOut;\n const transitionProps = getTransitionProps({\n timeout,\n mode: 'enter',\n style: { ...style, transitionTimingFunction: easing },\n });\n\n node.style.webkitTransition = createTransition('-webkit-transform', transitionProps);\n node.style.transition = createTransition('transform', transitionProps);\n\n node.style.webkitTransform = 'none';\n node.style.transform = 'none';\n };\n\n const handleExit: TransitionProps['onExit'] = (node) => {\n const easing = style?.transitionTimingFunction || defaultEasing.sharp;\n const transitionProps = getTransitionProps({\n timeout,\n mode: 'exit',\n style: { ...style, transitionTimingFunction: easing },\n });\n\n node.style.webkitTransition = createTransition('-webkit-transform', transitionProps);\n node.style.transition = createTransition('transform', transitionProps);\n\n setTranslateValue(direction, node);\n\n if (onExit) {\n onExit(node);\n }\n };\n\n const handleExited: TransitionProps['onExited'] = (node) => {\n // No need for transitions when the component is hidden\n node.style.webkitTransition = '';\n node.style.transition = '';\n\n if (onExited) {\n onExited(node);\n }\n };\n\n const updatePosition = React.useCallback(() => {\n if (nodeRef.current) {\n setTranslateValue(direction, nodeRef.current);\n }\n }, [direction]);\n\n React.useEffect(() => {\n // Skip configuration where the position is screen size invariant.\n if (inProp || direction === 'down' || direction === 'right') {\n return undefined;\n }\n\n const handleResize = debounce(() => {\n if (nodeRef.current) {\n setTranslateValue(direction, nodeRef.current);\n }\n });\n\n const containerWindow = ownerWindow(nodeRef.current);\n containerWindow.addEventListener('resize', handleResize);\n return () => {\n handleResize.clear();\n containerWindow.removeEventListener('resize', handleResize);\n };\n }, [direction, inProp]);\n\n React.useEffect(() => {\n if (!inProp) {\n // We need to update the position of the drawer when the direction change and\n // when it's hidden.\n updatePosition();\n }\n }, [inProp, updatePosition]);\n\n return (\n \n {(state, childProps) =>\n React.cloneElement(children as any, {\n ref: handleRef,\n style: {\n visibility: state === 'exited' && !inProp ? 'hidden' : undefined,\n ...style,\n ...(children as any).props.style,\n },\n ...childProps,\n })\n }\n \n );\n});\n\nSlide.displayName = 'Slide';\n\nexport default Slide;\n","import React from 'react';\n\nconst SvgIcon = (props: { children: JSX.Element }) => (\n \n);\n\nconst CheckIcon: React.FC = () => (\n \n \n \n);\n\nconst WarningIcon: React.FC = () => (\n \n \n \n);\n\nconst ErrorIcon: React.FC = () => (\n \n \n \n);\n\nconst InfoIcon: React.FC = () => (\n \n \n \n);\n\nconst defaultIconVariants: Record = {\n default: undefined,\n success: ,\n warning: ,\n error: ,\n info: ,\n};\n\nexport default defaultIconVariants;\n","import Slide from '../transitions/Slide';\nimport defaultIconVariants from '../utils/defaultIconVariants';\nimport { InternalSnack } from '../types';\n\nexport const defaults = {\n maxSnack: 3,\n persist: false,\n hideIconVariant: false,\n disableWindowBlurListener: false,\n variant: 'default',\n autoHideDuration: 5000,\n iconVariant: defaultIconVariants,\n anchorOrigin: { vertical: 'bottom', horizontal: 'left' },\n TransitionComponent: Slide,\n transitionDuration: {\n enter: 225,\n exit: 195,\n },\n};\n\n/**\n * Derives the right autoHideDuration taking into account the following\n * prority order: 1: Options, 2: Props, 3: default fallback\n */\nconst getAutoHideDuration = (optionsDuration: any, propsDuration: any) => {\n const isNumberOrNull = (numberish: number | null) => typeof numberish === 'number' || numberish === null;\n\n if (isNumberOrNull(optionsDuration)) return optionsDuration;\n if (isNumberOrNull(propsDuration)) return propsDuration;\n return defaults.autoHideDuration;\n};\n\n/**\n * Derives the right transitionDuration taking into account the following\n * prority order: 1: Options, 2: Props, 3: default fallback\n */\nconst getTransitionDuration = (optionsDuration: any, propsDuration: any) => {\n const is = (item: any, types: string[]) => types.some((t) => typeof item === t);\n\n if (is(optionsDuration, ['string', 'number'])) {\n return optionsDuration;\n }\n\n if (is(optionsDuration, ['object'])) {\n return {\n ...defaults.transitionDuration,\n ...(is(propsDuration, ['object']) && propsDuration),\n ...optionsDuration,\n };\n }\n\n if (is(propsDuration, ['string', 'number'])) {\n return propsDuration;\n }\n\n if (is(propsDuration, ['object'])) {\n return {\n ...defaults.transitionDuration,\n ...propsDuration,\n };\n }\n\n return defaults.transitionDuration;\n};\n\nexport const merge =\n (options: any, props: any) =>\n (name: keyof InternalSnack, shouldObjectMerge = false): any => {\n if (shouldObjectMerge) {\n return {\n ...(defaults as any)[name],\n ...props[name],\n ...options[name],\n };\n }\n\n if (name === 'autoHideDuration') {\n return getAutoHideDuration(options.autoHideDuration, props.autoHideDuration);\n }\n\n if (name === 'transitionDuration') {\n return getTransitionDuration(options.transitionDuration, props.transitionDuration);\n }\n\n return options[name] || props[name] || (defaults as any)[name];\n };\n","import { css, CSSAttribute } from 'goober';\n\nexport function makeStyles(\n styles: S\n): { [key in K]: string } {\n return Object.entries(styles).reduce(\n (acc, [key, value]) => ({\n ...acc,\n [key]: css(value),\n }),\n {} as { [key in K]: string }\n );\n}\n\nexport const ComponentClasses = {\n SnackbarContainer: 'notistack-SnackbarContainer',\n Snackbar: 'notistack-Snackbar',\n CollapseWrapper: 'notistack-CollapseWrapper',\n MuiContent: 'notistack-MuiContent',\n MuiContentVariant: (variant: string) => `notistack-MuiContent-${variant}`,\n};\n","/**\n * Credit to MUI team @ https://mui.com\n */\nimport * as React from 'react';\nimport clsx from 'clsx';\nimport { reflow } from '../utils';\nimport TransitionComponent from '../Transition';\nimport useForkRef from '../useForkRef';\nimport { TransitionProps } from '../../types';\nimport getTransitionProps from '../getTransitionProps';\nimport createTransition from '../createTransition';\nimport { ComponentClasses, makeStyles } from '../../utils/styles';\n\nconst classes = makeStyles({\n root: {\n height: 0,\n },\n entered: {\n height: 'auto',\n },\n});\n\nconst collapsedSize = '0px';\nconst timeout = 175;\n\ninterface CollapseProps {\n children: JSX.Element;\n in: boolean;\n onExited: TransitionProps['onExited'];\n}\n\nconst Collapse = React.forwardRef((props, ref) => {\n const { children, in: inProp, onExited } = props;\n\n const wrapperRef = React.useRef(null);\n\n const nodeRef = React.useRef(null);\n const handleRef = useForkRef(ref, nodeRef);\n\n const getWrapperSize = () => (wrapperRef.current ? wrapperRef.current.clientHeight : 0);\n\n const handleEnter: TransitionProps['onEnter'] = (node) => {\n node.style.height = collapsedSize;\n };\n\n const handleEntering = (node: HTMLElement) => {\n const wrapperSize = getWrapperSize();\n\n const { duration: transitionDuration, easing } = getTransitionProps({\n timeout,\n mode: 'enter',\n });\n\n node.style.transitionDuration =\n typeof transitionDuration === 'string' ? transitionDuration : `${transitionDuration}ms`;\n\n node.style.height = `${wrapperSize}px`;\n node.style.transitionTimingFunction = easing || '';\n };\n\n const handleEntered: TransitionProps['onEntered'] = (node) => {\n node.style.height = 'auto';\n };\n\n const handleExit: TransitionProps['onExit'] = (node) => {\n node.style.height = `${getWrapperSize()}px`;\n };\n\n const handleExiting = (node: HTMLElement) => {\n reflow(node);\n\n const { duration: transitionDuration, easing } = getTransitionProps({\n timeout,\n mode: 'exit',\n });\n\n node.style.transitionDuration =\n typeof transitionDuration === 'string' ? transitionDuration : `${transitionDuration}ms`;\n node.style.height = collapsedSize;\n node.style.transitionTimingFunction = easing || '';\n };\n\n return (\n \n {(state, childProps) => (\n \n \n {children}\n
\n
\n )}\n \n );\n});\n\nCollapse.displayName = 'Collapse';\n\nexport default Collapse;\n","import {\n InternalSnack,\n SlideTransitionDirection,\n SnackbarOrigin,\n SnackbarClassKey,\n SnackbarProviderProps,\n ClassNameMap,\n ContainerClassKey,\n} from '../types';\nimport { originKeyExtractor } from '../utils';\n\nconst direction: Record = {\n right: 'left',\n left: 'right',\n bottom: 'up',\n top: 'down',\n};\n\nexport const getSlideDirection = (anchorOrigin: InternalSnack['anchorOrigin']): SlideTransitionDirection => {\n if (anchorOrigin.horizontal !== 'center') {\n return direction[anchorOrigin.horizontal];\n }\n return direction[anchorOrigin.vertical];\n};\n\n/** Tranforms classes name */\nexport const toSnackbarAnchorOrigin = (anchorOrigin: SnackbarOrigin): SnackbarClassKey =>\n `anchorOrigin${originKeyExtractor(anchorOrigin)}` as SnackbarClassKey;\n\n/**\n * Omit SnackbarContainer class keys that are not needed for SnackbarItem\n */\nexport const keepSnackbarClassKeys = (\n classes: SnackbarProviderProps['classes'] = {}\n): Partial> => {\n const containerClasses: Record = {\n containerRoot: true,\n containerAnchorOriginTopCenter: true,\n containerAnchorOriginBottomCenter: true,\n containerAnchorOriginTopRight: true,\n containerAnchorOriginBottomRight: true,\n containerAnchorOriginTopLeft: true,\n containerAnchorOriginBottomLeft: true,\n };\n return (Object.keys(classes) as ContainerClassKey[])\n .filter((key) => !containerClasses[key])\n .reduce((obj, key) => ({ ...obj, [key]: classes[key] }), {});\n};\n","import { SnackbarKey } from 'src/types';\n\nconst noOp = () => {\n /* */\n};\n\n/**\n * Credit to MUI team @ https://mui.com\n * Safe chained function.\n *\n * Will only create a new function if needed,\n * otherwise will pass back existing functions or null.\n */\nexport default function createChainedFunction(\n funcs: Array<((this: This, ...args: Args) => any) | undefined>,\n snackbarId?: SnackbarKey\n): (this: This, ...args: Args) => void {\n // @ts-ignore\n return funcs.reduce((acc, func) => {\n if (func === null || func === undefined) {\n return acc;\n }\n\n return function chainedFunction(...args) {\n const argums = [...args] as any;\n if (snackbarId && argums.indexOf(snackbarId) === -1) {\n argums.push(snackbarId);\n }\n // @ts-ignore\n acc.apply(this, argums);\n func.apply(this, argums);\n };\n }, noOp);\n}\n","/**\n * Credit to MUI team @ https://mui.com\n * https://github.com/facebook/react/issues/14099#issuecomment-440013892\n */\nimport * as React from 'react';\n\nconst useEnhancedEffect = typeof window !== 'undefined' ? React.useLayoutEffect : React.useEffect;\n\nexport default function useEventCallback(\n fn: (...args: Args) => Return\n): (...args: Args) => Return {\n const ref = React.useRef(fn);\n useEnhancedEffect(() => {\n ref.current = fn;\n });\n return React.useCallback(\n (...args: Args) =>\n // @ts-expect-error hide `this`\n (0, ref.current)(...args),\n []\n );\n}\n","/**\n * Credit to MUI team @ https://mui.com\n */\nimport * as React from 'react';\nimport clsx from 'clsx';\nimport useEventCallback from '../utils/useEventCallback';\nimport { CloseReason, SharedProps, SnackbarKey } from '../types';\nimport { ComponentClasses } from '../utils/styles';\n\ninterface SnackbarProps extends Required> {\n open: boolean;\n id: SnackbarKey;\n className: string;\n children: JSX.Element;\n autoHideDuration: number | null | undefined;\n SnackbarProps: SharedProps['SnackbarProps'];\n}\n\nconst Snackbar = React.forwardRef((props, ref) => {\n const {\n children,\n className,\n autoHideDuration,\n disableWindowBlurListener = false,\n onClose,\n id,\n open,\n SnackbarProps = {},\n } = props;\n\n const timerAutoHide = React.useRef>();\n\n const handleClose = useEventCallback((...args: [null, CloseReason, SnackbarKey]) => {\n if (onClose) {\n onClose(...args);\n }\n });\n\n const setAutoHideTimer = useEventCallback((autoHideDurationParam?: number | null) => {\n if (!onClose || autoHideDurationParam == null) {\n return;\n }\n\n if (timerAutoHide.current) {\n clearTimeout(timerAutoHide.current);\n }\n timerAutoHide.current = setTimeout(() => {\n handleClose(null, 'timeout', id);\n }, autoHideDurationParam);\n });\n\n React.useEffect(() => {\n if (open) {\n setAutoHideTimer(autoHideDuration);\n }\n\n return () => {\n if (timerAutoHide.current) {\n clearTimeout(timerAutoHide.current);\n }\n };\n }, [open, autoHideDuration, setAutoHideTimer]);\n\n /**\n * Pause the timer when the user is interacting with the Snackbar\n * or when the user hide the window.\n */\n const handlePause = () => {\n if (timerAutoHide.current) {\n clearTimeout(timerAutoHide.current);\n }\n };\n\n /**\n * Restart the timer when the user is no longer interacting with the Snackbar\n * or when the window is shown back.\n */\n const handleResume = React.useCallback(() => {\n if (autoHideDuration != null) {\n setAutoHideTimer(autoHideDuration * 0.5);\n }\n }, [autoHideDuration, setAutoHideTimer]);\n\n const handleMouseEnter: React.MouseEventHandler = (event) => {\n if (SnackbarProps.onMouseEnter) {\n SnackbarProps.onMouseEnter(event);\n }\n handlePause();\n };\n\n const handleMouseLeave: React.MouseEventHandler = (event) => {\n if (SnackbarProps.onMouseLeave) {\n SnackbarProps.onMouseLeave(event);\n }\n handleResume();\n };\n\n React.useEffect(() => {\n if (!disableWindowBlurListener && open) {\n window.addEventListener('focus', handleResume);\n window.addEventListener('blur', handlePause);\n\n return () => {\n window.removeEventListener('focus', handleResume);\n window.removeEventListener('blur', handlePause);\n };\n }\n\n return undefined;\n }, [disableWindowBlurListener, handleResume, open]);\n\n return (\n \n {children}\n
\n );\n});\n\nSnackbar.displayName = 'Snackbar';\n\nexport default Snackbar;\n","import React, { forwardRef } from 'react';\nimport clsx from 'clsx';\nimport { SnackbarContentProps } from '../types';\nimport { breakpoints } from '../utils';\nimport { makeStyles } from '../utils/styles';\n\nconst classes = makeStyles({\n root: {\n display: 'flex',\n flexWrap: 'wrap',\n flexGrow: 1,\n [breakpoints.upSm]: {\n flexGrow: 'initial',\n minWidth: '288px',\n },\n },\n});\n\nconst SnackbarContent = forwardRef(({ className, ...props }, ref) => (\n
\n));\n\nSnackbarContent.displayName = 'SnackbarContent';\n\nexport default SnackbarContent;\n","import React, { memo, forwardRef } from 'react';\nimport clsx from 'clsx';\nimport SnackbarContent from '../../SnackbarContent';\nimport { CustomContentProps } from '../../types';\nimport { ComponentClasses, makeStyles } from '../../utils/styles';\n\nconst classes = makeStyles({\n root: {\n backgroundColor: '#313131', // dark grey\n fontSize: '0.875rem',\n lineHeight: 1.43,\n letterSpacing: '0.01071em',\n color: '#fff',\n alignItems: 'center',\n padding: '6px 16px',\n borderRadius: '4px',\n boxShadow:\n '0px 3px 5px -1px rgba(0,0,0,0.2),0px 6px 10px 0px rgba(0,0,0,0.14),0px 1px 18px 0px rgba(0,0,0,0.12)',\n },\n lessPadding: {\n paddingLeft: `${8 * 2.5}px`,\n },\n default: {\n backgroundColor: '#313131', // dark grey\n },\n success: {\n backgroundColor: '#43a047', // green\n },\n error: {\n backgroundColor: '#d32f2f', // dark red\n },\n warning: {\n backgroundColor: '#ff9800', // amber\n },\n info: {\n backgroundColor: '#2196f3', // nice blue\n },\n message: {\n display: 'flex',\n alignItems: 'center',\n padding: '8px 0',\n },\n action: {\n display: 'flex',\n alignItems: 'center',\n marginLeft: 'auto',\n paddingLeft: '16px',\n marginRight: '-8px',\n },\n});\n\nconst ariaDescribedby = 'notistack-snackbar';\n\nconst MaterialDesignContent = forwardRef((props, forwardedRef) => {\n const {\n id,\n message,\n action: componentOrFunctionAction,\n iconVariant,\n variant,\n hideIconVariant,\n style,\n className,\n } = props;\n\n const icon = iconVariant[variant];\n\n let action = componentOrFunctionAction;\n if (typeof action === 'function') {\n action = action(id);\n }\n\n return (\n \n
\n {!hideIconVariant ? icon : null}\n {message}\n
\n {action &&
{action}
}\n \n );\n});\n\nMaterialDesignContent.displayName = 'MaterialDesignContent';\n\nexport default memo(MaterialDesignContent);\n","import React, { Component, isValidElement } from 'react';\nimport { createPortal } from 'react-dom';\nimport clsx from 'clsx';\nimport SnackbarContext from '../SnackbarContext';\nimport { originKeyExtractor, isDefined } from '../utils';\nimport { defaults, merge } from './merger';\nimport SnackbarItem from '../SnackbarItem';\nimport SnackbarContainer from '../SnackbarContainer';\nimport warning from '../utils/warning';\nimport {\n SnackbarProviderProps,\n SnackbarKey,\n ProviderContext,\n TransitionHandlerProps,\n InternalSnack,\n OptionsObject,\n SharedProps,\n SnackbarMessage,\n} from '../types';\nimport createChainedFunction from '../utils/createChainedFunction';\n\nconst isOptions = (\n messageOrOptions: SnackbarMessage | (OptionsObject & { message?: SnackbarMessage })\n): messageOrOptions is OptionsObject & { message?: SnackbarMessage } => {\n const isMessage = typeof messageOrOptions === 'string' || isValidElement(messageOrOptions);\n return !isMessage;\n};\n\ntype Reducer = (state: State) => State;\ntype SnacksByPosition = { [key: string]: InternalSnack[] };\n\ninterface State {\n snacks: InternalSnack[];\n queue: InternalSnack[];\n contextValue: ProviderContext;\n}\n\nexport let enqueueSnackbar: ProviderContext['enqueueSnackbar'];\nexport let closeSnackbar: ProviderContext['closeSnackbar'];\n\nclass SnackbarProvider extends Component {\n constructor(props: SnackbarProviderProps) {\n super(props);\n enqueueSnackbar = this.enqueueSnackbar;\n closeSnackbar = this.closeSnackbar;\n\n this.state = {\n snacks: [],\n queue: [],\n contextValue: {\n enqueueSnackbar: this.enqueueSnackbar.bind(this),\n closeSnackbar: this.closeSnackbar.bind(this),\n },\n };\n }\n\n get maxSnack(): number {\n return this.props.maxSnack || defaults.maxSnack;\n }\n\n /**\n * Adds a new snackbar to the queue to be presented.\n * Returns generated or user defined key referencing the new snackbar or null\n */\n enqueueSnackbar = (\n messageOrOptions: SnackbarMessage | (OptionsObject & { message?: SnackbarMessage }),\n optsOrUndefined: OptionsObject = {}\n ): SnackbarKey => {\n if (messageOrOptions === undefined || messageOrOptions === null) {\n throw new Error('enqueueSnackbar called with invalid argument');\n }\n\n const opts = isOptions(messageOrOptions) ? messageOrOptions : optsOrUndefined;\n\n const message: SnackbarMessage | undefined = isOptions(messageOrOptions)\n ? messageOrOptions.message\n : messageOrOptions;\n\n const { key, preventDuplicate, ...options } = opts;\n\n const hasSpecifiedKey = isDefined(key);\n const id = hasSpecifiedKey ? (key as SnackbarKey) : new Date().getTime() + Math.random();\n\n const merger = merge(options, this.props);\n const snack: InternalSnack = {\n id,\n ...options,\n message,\n open: true,\n entered: false,\n requestClose: false,\n persist: merger('persist'),\n action: merger('action'),\n content: merger('content'),\n variant: merger('variant'),\n anchorOrigin: merger('anchorOrigin'),\n disableWindowBlurListener: merger('disableWindowBlurListener'),\n autoHideDuration: merger('autoHideDuration'),\n hideIconVariant: merger('hideIconVariant'),\n TransitionComponent: merger('TransitionComponent'),\n transitionDuration: merger('transitionDuration'),\n TransitionProps: merger('TransitionProps', true),\n iconVariant: merger('iconVariant', true),\n style: merger('style', true),\n SnackbarProps: merger('SnackbarProps', true),\n className: clsx(this.props.className, options.className),\n };\n\n if (snack.persist) {\n snack.autoHideDuration = undefined;\n }\n\n this.setState((state) => {\n if ((preventDuplicate === undefined && this.props.preventDuplicate) || preventDuplicate) {\n const compareFunction = (item: InternalSnack): boolean =>\n hasSpecifiedKey ? item.id === id : item.message === message;\n\n const inQueue = state.queue.findIndex(compareFunction) > -1;\n const inView = state.snacks.findIndex(compareFunction) > -1;\n if (inQueue || inView) {\n return state;\n }\n }\n\n return this.handleDisplaySnack({\n ...state,\n queue: [...state.queue, snack],\n });\n });\n\n return id;\n };\n\n /**\n * Reducer: Display snack if there's space for it. Otherwise, immediately\n * begin dismissing the oldest message to start showing the new one.\n */\n handleDisplaySnack: Reducer = (state) => {\n const { snacks } = state;\n if (snacks.length >= this.maxSnack) {\n return this.handleDismissOldest(state);\n }\n return this.processQueue(state);\n };\n\n /**\n * Reducer: Display items (notifications) in the queue if there's space for them.\n */\n processQueue: Reducer = (state) => {\n const { queue, snacks } = state;\n if (queue.length > 0) {\n return {\n ...state,\n snacks: [...snacks, queue[0]],\n queue: queue.slice(1, queue.length),\n };\n }\n return state;\n };\n\n /**\n * Reducer: Hide oldest snackbar on the screen because there exists a new one which we have to display.\n * (ignoring the one with 'persist' flag. i.e. explicitly told by user not to get dismissed).\n *\n * Note 1: If there is already a message leaving the screen, no new messages are dismissed.\n * Note 2: If the oldest message has not yet entered the screen, only a request to close the\n * snackbar is made. Once it entered the screen, it will be immediately dismissed.\n */\n handleDismissOldest: Reducer = (state) => {\n if (state.snacks.some((item) => !item.open || item.requestClose)) {\n return state;\n }\n\n let popped = false;\n let ignore = false;\n\n const persistentCount = state.snacks.reduce(\n (acc, current) => acc + (current.open && current.persist ? 1 : 0),\n 0\n );\n\n if (persistentCount === this.maxSnack) {\n warning('NO_PERSIST_ALL');\n ignore = true;\n }\n\n const snacks = state.snacks.map((item) => {\n if (!popped && (!item.persist || ignore)) {\n popped = true;\n\n if (!item.entered) {\n return {\n ...item,\n requestClose: true,\n };\n }\n\n if (item.onClose) {\n item.onClose(null, 'maxsnack', item.id);\n }\n\n if (this.props.onClose) {\n this.props.onClose(null, 'maxsnack', item.id);\n }\n\n return {\n ...item,\n open: false,\n };\n }\n\n return { ...item };\n });\n\n return { ...state, snacks };\n };\n\n /**\n * Set the entered state of the snackbar with the given key.\n */\n handleEnteredSnack: TransitionHandlerProps['onEntered'] = (node, isAppearing, key) => {\n if (!isDefined(key)) {\n throw new Error('handleEnteredSnack Cannot be called with undefined key');\n }\n\n this.setState(({ snacks }) => ({\n snacks: snacks.map((item) => (item.id === key ? { ...item, entered: true } : { ...item })),\n }));\n };\n\n /**\n * Hide a snackbar after its timeout.\n */\n handleCloseSnack: NonNullable = (event, reason, key) => {\n // should not use createChainedFunction for onClose.\n // because this.closeSnackbar called this function\n if (this.props.onClose) {\n this.props.onClose(event, reason, key);\n }\n\n const shouldCloseAll = key === undefined;\n\n this.setState(({ snacks, queue }) => ({\n snacks: snacks.map((item) => {\n if (!shouldCloseAll && item.id !== key) {\n return { ...item };\n }\n\n return item.entered ? { ...item, open: false } : { ...item, requestClose: true };\n }),\n queue: queue.filter((item) => item.id !== key),\n }));\n };\n\n /**\n * Close snackbar with the given key\n */\n closeSnackbar: ProviderContext['closeSnackbar'] = (key) => {\n // call individual snackbar onClose callback passed through options parameter\n const toBeClosed = this.state.snacks.find((item) => item.id === key);\n if (isDefined(key) && toBeClosed && toBeClosed.onClose) {\n toBeClosed.onClose(null, 'instructed', key);\n }\n\n this.handleCloseSnack(null, 'instructed', key);\n };\n\n /**\n * When we set open attribute of a snackbar to false (i.e. after we hide a snackbar),\n * it leaves the screen and immediately after leaving animation is done, this method\n * gets called. We remove the hidden snackbar from state and then display notifications\n * waiting in the queue (if any). If after this process the queue is not empty, the\n * oldest message is dismissed.\n */\n handleExitedSnack: TransitionHandlerProps['onExited'] = (node, key) => {\n if (!isDefined(key)) {\n throw new Error('handleExitedSnack Cannot be called with undefined key');\n }\n\n this.setState((state) => {\n const newState = this.processQueue({\n ...state,\n snacks: state.snacks.filter((item) => item.id !== key),\n });\n\n if (newState.queue.length === 0) {\n return newState;\n }\n\n return this.handleDismissOldest(newState);\n });\n };\n\n render(): JSX.Element {\n const { contextValue } = this.state;\n const { domRoot, children, dense = false, Components = {}, classes } = this.props;\n\n const categ = this.state.snacks.reduce((acc, current) => {\n const category = originKeyExtractor(current.anchorOrigin);\n const existingOfCategory = acc[category] || [];\n return {\n ...acc,\n [category]: [...existingOfCategory, current],\n };\n }, {});\n\n const snackbars = Object.keys(categ).map((origin) => {\n const snacks = categ[origin];\n const [nomineeSnack] = snacks;\n return (\n \n {snacks.map((snack) => (\n \n ))}\n \n );\n });\n\n return (\n \n {children}\n {domRoot ? createPortal(snackbars, domRoot) : snackbars}\n \n );\n }\n}\n\nexport default SnackbarProvider;\n","import React, { useState, useEffect, useRef, useCallback, useMemo } from 'react';\nimport clsx from 'clsx';\nimport Collapse from '../transitions/Collapse';\nimport { getSlideDirection, toSnackbarAnchorOrigin, keepSnackbarClassKeys } from './utils';\nimport {\n TransitionHandlerProps,\n SnackbarProviderProps,\n CustomContentProps,\n InternalSnack,\n SharedProps,\n} from '../types';\nimport createChainedFunction from '../utils/createChainedFunction';\nimport Snackbar from './Snackbar';\nimport { makeStyles } from '../utils/styles';\nimport MaterialDesignContent from '../ui/MaterialDesignContent';\n\nconst styles = makeStyles({\n wrappedRoot: {\n width: '100%',\n position: 'relative',\n transform: 'translateX(0)',\n top: 0,\n right: 0,\n bottom: 0,\n left: 0,\n minWidth: '288px',\n },\n});\n\ninterface SnackbarItemProps extends Required> {\n snack: InternalSnack;\n classes: SnackbarProviderProps['classes'];\n onEnter: SnackbarProviderProps['onEnter'];\n onExit: SnackbarProviderProps['onExit'];\n Component?: React.ComponentType;\n}\n\nconst SnackbarItem: React.FC = (props) => {\n const timeout = useRef>();\n const [collapsed, setCollapsed] = useState(true);\n\n const handleClose: NonNullable = createChainedFunction([\n props.snack.onClose,\n props.onClose,\n ]);\n\n const handleEntered: TransitionHandlerProps['onEntered'] = () => {\n if (props.snack.requestClose) {\n handleClose(null, 'instructed', props.snack.id);\n }\n };\n\n const handleExitedScreen = useCallback((): void => {\n timeout.current = setTimeout(() => {\n setCollapsed((col) => !col);\n }, 125);\n }, []);\n\n useEffect(\n () => (): void => {\n if (timeout.current) {\n clearTimeout(timeout.current);\n }\n },\n []\n );\n\n const { snack, classes: allClasses, Component = MaterialDesignContent } = props;\n\n const classes = useMemo(() => keepSnackbarClassKeys(allClasses), [allClasses]);\n\n const {\n open,\n SnackbarProps,\n TransitionComponent,\n TransitionProps,\n transitionDuration,\n disableWindowBlurListener,\n content: componentOrFunctionContent,\n entered: ignoredEntered,\n requestClose: ignoredRequestClose,\n onEnter: ignoreOnEnter,\n onEntered: ignoreOnEntered,\n onExit: ignoreOnExit,\n onExited: ignoreOnExited,\n ...otherSnack\n } = snack;\n\n const transitionProps = {\n direction: getSlideDirection(otherSnack.anchorOrigin),\n timeout: transitionDuration,\n ...TransitionProps,\n };\n\n let content = componentOrFunctionContent;\n if (typeof content === 'function') {\n content = content(otherSnack.id, otherSnack.message);\n }\n\n const callbacks: { [key in keyof TransitionHandlerProps]?: any } = (\n ['onEnter', 'onEntered', 'onExit', 'onExited'] as (keyof TransitionHandlerProps)[]\n ).reduce(\n (acc, cbName) => ({\n ...acc,\n [cbName]: createChainedFunction([props.snack[cbName] as any, props[cbName] as any], otherSnack.id),\n }),\n {}\n );\n\n return (\n \n \n \n {(content as React.ReactElement) || }\n \n \n \n );\n};\n\nexport default SnackbarItem;\n","import React, { memo } from 'react';\nimport clsx from 'clsx';\nimport createTransition from '../transitions/createTransition';\nimport { makeStyles, ComponentClasses } from '../utils/styles';\nimport { breakpoints, originKeyExtractor } from '../utils';\nimport { ContainerClassKey, SnackbarProviderProps } from '../types';\n\nconst indents = {\n view: { default: 20, dense: 4 },\n snackbar: { default: 6, dense: 2 },\n};\n\nconst collapseWrapper = `.${ComponentClasses.CollapseWrapper}`;\n\nconst xsWidthMargin = 16;\n\nconst styles = makeStyles({\n root: {\n boxSizing: 'border-box',\n display: 'flex',\n maxHeight: '100%',\n position: 'fixed',\n zIndex: 1400,\n height: 'auto',\n width: 'auto',\n transition: createTransition(['top', 'right', 'bottom', 'left', 'max-width'], {\n duration: 300,\n easing: 'ease',\n }),\n // container itself is invisible and should not block clicks, clicks should be passed to its children\n // a pointerEvents: all is applied in the collapse component\n pointerEvents: 'none',\n [collapseWrapper]: {\n padding: `${indents.snackbar.default}px 0px`,\n transition: 'padding 300ms ease 0ms',\n },\n maxWidth: `calc(100% - ${indents.view.default * 2}px)`,\n [breakpoints.downXs]: {\n width: '100%',\n maxWidth: `calc(100% - ${xsWidthMargin * 2}px)`,\n },\n },\n rootDense: {\n [collapseWrapper]: {\n padding: `${indents.snackbar.dense}px 0px`,\n },\n },\n top: {\n top: `${indents.view.default - indents.snackbar.default}px`,\n flexDirection: 'column',\n },\n bottom: {\n bottom: `${indents.view.default - indents.snackbar.default}px`,\n flexDirection: 'column-reverse',\n },\n left: {\n left: `${indents.view.default}px`,\n [breakpoints.upSm]: {\n alignItems: 'flex-start',\n },\n [breakpoints.downXs]: {\n left: `${xsWidthMargin}px`,\n },\n },\n right: {\n right: `${indents.view.default}px`,\n [breakpoints.upSm]: {\n alignItems: 'flex-end',\n },\n [breakpoints.downXs]: {\n right: `${xsWidthMargin}px`,\n },\n },\n center: {\n left: '50%',\n transform: 'translateX(-50%)',\n [breakpoints.upSm]: {\n alignItems: 'center',\n },\n },\n});\n\ninterface SnackbarContainerProps {\n children: React.ReactNode;\n dense: SnackbarProviderProps['dense'];\n anchorOrigin: NonNullable;\n classes: SnackbarProviderProps['classes'];\n}\n\nconst SnackbarContainer: React.FC = (props) => {\n const { classes = {}, anchorOrigin, dense, children } = props;\n\n const combinedClassname = clsx(\n ComponentClasses.SnackbarContainer,\n styles[anchorOrigin.vertical],\n styles[anchorOrigin.horizontal],\n { [styles.rootDense]: dense },\n styles.root, // root should come after others to override maxWidth\n classes.containerRoot,\n classes[`containerAnchorOrigin${originKeyExtractor(anchorOrigin)}` as ContainerClassKey]\n );\n\n return
{children}
;\n};\n\nexport default memo(SnackbarContainer);\n","import { useContext } from 'react';\nimport SnackbarContext from './SnackbarContext';\nimport { ProviderContext } from './types';\n\nexport default (): ProviderContext => useContext(SnackbarContext);\n","var isarray = require('isarray')\n\n/**\n * Expose `pathToRegexp`.\n */\nmodule.exports = pathToRegexp\nmodule.exports.parse = parse\nmodule.exports.compile = compile\nmodule.exports.tokensToFunction = tokensToFunction\nmodule.exports.tokensToRegExp = tokensToRegExp\n\n/**\n * The main path matching regexp utility.\n *\n * @type {RegExp}\n */\nvar PATH_REGEXP = new RegExp([\n // Match escaped characters that would otherwise appear in future matches.\n // This allows the user to escape special characters that won't transform.\n '(\\\\\\\\.)',\n // Match Express-style parameters and un-named parameters with a prefix\n // and optional suffixes. Matches appear as:\n //\n // \"/:test(\\\\d+)?\" => [\"/\", \"test\", \"\\d+\", undefined, \"?\", undefined]\n // \"/route(\\\\d+)\" => [undefined, undefined, undefined, \"\\d+\", undefined, undefined]\n // \"/*\" => [\"/\", undefined, undefined, undefined, undefined, \"*\"]\n '([\\\\/.])?(?:(?:\\\\:(\\\\w+)(?:\\\\(((?:\\\\\\\\.|[^\\\\\\\\()])+)\\\\))?|\\\\(((?:\\\\\\\\.|[^\\\\\\\\()])+)\\\\))([+*?])?|(\\\\*))'\n].join('|'), 'g')\n\n/**\n * Parse a string for the raw tokens.\n *\n * @param {string} str\n * @param {Object=} options\n * @return {!Array}\n */\nfunction parse (str, options) {\n var tokens = []\n var key = 0\n var index = 0\n var path = ''\n var defaultDelimiter = options && options.delimiter || '/'\n var res\n\n while ((res = PATH_REGEXP.exec(str)) != null) {\n var m = res[0]\n var escaped = res[1]\n var offset = res.index\n path += str.slice(index, offset)\n index = offset + m.length\n\n // Ignore already escaped sequences.\n if (escaped) {\n path += escaped[1]\n continue\n }\n\n var next = str[index]\n var prefix = res[2]\n var name = res[3]\n var capture = res[4]\n var group = res[5]\n var modifier = res[6]\n var asterisk = res[7]\n\n // Push the current path onto the tokens.\n if (path) {\n tokens.push(path)\n path = ''\n }\n\n var partial = prefix != null && next != null && next !== prefix\n var repeat = modifier === '+' || modifier === '*'\n var optional = modifier === '?' || modifier === '*'\n var delimiter = prefix || defaultDelimiter\n var pattern = capture || group\n var prevText = prefix || (typeof tokens[tokens.length - 1] === 'string' ? tokens[tokens.length - 1] : '')\n\n tokens.push({\n name: name || key++,\n prefix: prefix || '',\n delimiter: delimiter,\n optional: optional,\n repeat: repeat,\n partial: partial,\n asterisk: !!asterisk,\n pattern: pattern ? escapeGroup(pattern) : (asterisk ? '.*' : restrictBacktrack(delimiter, prevText))\n })\n }\n\n // Match any characters still remaining.\n if (index < str.length) {\n path += str.substr(index)\n }\n\n // If the path exists, push it onto the end.\n if (path) {\n tokens.push(path)\n }\n\n return tokens\n}\n\nfunction restrictBacktrack(delimiter, prevText) {\n if (!prevText || prevText.indexOf(delimiter) > -1) {\n return '[^' + escapeString(delimiter) + ']+?'\n }\n\n return escapeString(prevText) + '|(?:(?!' + escapeString(prevText) + ')[^' + escapeString(delimiter) + '])+?'\n}\n\n/**\n * Compile a string to a template function for the path.\n *\n * @param {string} str\n * @param {Object=} options\n * @return {!function(Object=, Object=)}\n */\nfunction compile (str, options) {\n return tokensToFunction(parse(str, options), options)\n}\n\n/**\n * Prettier encoding of URI path segments.\n *\n * @param {string}\n * @return {string}\n */\nfunction encodeURIComponentPretty (str) {\n return encodeURI(str).replace(/[\\/?#]/g, function (c) {\n return '%' + c.charCodeAt(0).toString(16).toUpperCase()\n })\n}\n\n/**\n * Encode the asterisk parameter. Similar to `pretty`, but allows slashes.\n *\n * @param {string}\n * @return {string}\n */\nfunction encodeAsterisk (str) {\n return encodeURI(str).replace(/[?#]/g, function (c) {\n return '%' + c.charCodeAt(0).toString(16).toUpperCase()\n })\n}\n\n/**\n * Expose a method for transforming tokens into the path function.\n */\nfunction tokensToFunction (tokens, options) {\n // Compile all the tokens into regexps.\n var matches = new Array(tokens.length)\n\n // Compile all the patterns before compilation.\n for (var i = 0; i < tokens.length; i++) {\n if (typeof tokens[i] === 'object') {\n matches[i] = new RegExp('^(?:' + tokens[i].pattern + ')$', flags(options))\n }\n }\n\n return function (obj, opts) {\n var path = ''\n var data = obj || {}\n var options = opts || {}\n var encode = options.pretty ? encodeURIComponentPretty : encodeURIComponent\n\n for (var i = 0; i < tokens.length; i++) {\n var token = tokens[i]\n\n if (typeof token === 'string') {\n path += token\n\n continue\n }\n\n var value = data[token.name]\n var segment\n\n if (value == null) {\n if (token.optional) {\n // Prepend partial segment prefixes.\n if (token.partial) {\n path += token.prefix\n }\n\n continue\n } else {\n throw new TypeError('Expected \"' + token.name + '\" to be defined')\n }\n }\n\n if (isarray(value)) {\n if (!token.repeat) {\n throw new TypeError('Expected \"' + token.name + '\" to not repeat, but received `' + JSON.stringify(value) + '`')\n }\n\n if (value.length === 0) {\n if (token.optional) {\n continue\n } else {\n throw new TypeError('Expected \"' + token.name + '\" to not be empty')\n }\n }\n\n for (var j = 0; j < value.length; j++) {\n segment = encode(value[j])\n\n if (!matches[i].test(segment)) {\n throw new TypeError('Expected all \"' + token.name + '\" to match \"' + token.pattern + '\", but received `' + JSON.stringify(segment) + '`')\n }\n\n path += (j === 0 ? token.prefix : token.delimiter) + segment\n }\n\n continue\n }\n\n segment = token.asterisk ? encodeAsterisk(value) : encode(value)\n\n if (!matches[i].test(segment)) {\n throw new TypeError('Expected \"' + token.name + '\" to match \"' + token.pattern + '\", but received \"' + segment + '\"')\n }\n\n path += token.prefix + segment\n }\n\n return path\n }\n}\n\n/**\n * Escape a regular expression string.\n *\n * @param {string} str\n * @return {string}\n */\nfunction escapeString (str) {\n return str.replace(/([.+*?=^!:${}()[\\]|\\/\\\\])/g, '\\\\$1')\n}\n\n/**\n * Escape the capturing group by escaping special characters and meaning.\n *\n * @param {string} group\n * @return {string}\n */\nfunction escapeGroup (group) {\n return group.replace(/([=!:$\\/()])/g, '\\\\$1')\n}\n\n/**\n * Attach the keys as a property of the regexp.\n *\n * @param {!RegExp} re\n * @param {Array} keys\n * @return {!RegExp}\n */\nfunction attachKeys (re, keys) {\n re.keys = keys\n return re\n}\n\n/**\n * Get the flags for a regexp from the options.\n *\n * @param {Object} options\n * @return {string}\n */\nfunction flags (options) {\n return options && options.sensitive ? '' : 'i'\n}\n\n/**\n * Pull out keys from a regexp.\n *\n * @param {!RegExp} path\n * @param {!Array} keys\n * @return {!RegExp}\n */\nfunction regexpToRegexp (path, keys) {\n // Use a negative lookahead to match only capturing groups.\n var groups = path.source.match(/\\((?!\\?)/g)\n\n if (groups) {\n for (var i = 0; i < groups.length; i++) {\n keys.push({\n name: i,\n prefix: null,\n delimiter: null,\n optional: false,\n repeat: false,\n partial: false,\n asterisk: false,\n pattern: null\n })\n }\n }\n\n return attachKeys(path, keys)\n}\n\n/**\n * Transform an array into a regexp.\n *\n * @param {!Array} path\n * @param {Array} keys\n * @param {!Object} options\n * @return {!RegExp}\n */\nfunction arrayToRegexp (path, keys, options) {\n var parts = []\n\n for (var i = 0; i < path.length; i++) {\n parts.push(pathToRegexp(path[i], keys, options).source)\n }\n\n var regexp = new RegExp('(?:' + parts.join('|') + ')', flags(options))\n\n return attachKeys(regexp, keys)\n}\n\n/**\n * Create a path regexp from string input.\n *\n * @param {string} path\n * @param {!Array} keys\n * @param {!Object} options\n * @return {!RegExp}\n */\nfunction stringToRegexp (path, keys, options) {\n return tokensToRegExp(parse(path, options), keys, options)\n}\n\n/**\n * Expose a function for taking tokens and returning a RegExp.\n *\n * @param {!Array} tokens\n * @param {(Array|Object)=} keys\n * @param {Object=} options\n * @return {!RegExp}\n */\nfunction tokensToRegExp (tokens, keys, options) {\n if (!isarray(keys)) {\n options = /** @type {!Object} */ (keys || options)\n keys = []\n }\n\n options = options || {}\n\n var strict = options.strict\n var end = options.end !== false\n var route = ''\n\n // Iterate over the tokens and create our regexp string.\n for (var i = 0; i < tokens.length; i++) {\n var token = tokens[i]\n\n if (typeof token === 'string') {\n route += escapeString(token)\n } else {\n var prefix = escapeString(token.prefix)\n var capture = '(?:' + token.pattern + ')'\n\n keys.push(token)\n\n if (token.repeat) {\n capture += '(?:' + prefix + capture + ')*'\n }\n\n if (token.optional) {\n if (!token.partial) {\n capture = '(?:' + prefix + '(' + capture + '))?'\n } else {\n capture = prefix + '(' + capture + ')?'\n }\n } else {\n capture = prefix + '(' + capture + ')'\n }\n\n route += capture\n }\n }\n\n var delimiter = escapeString(options.delimiter || '/')\n var endsWithDelimiter = route.slice(-delimiter.length) === delimiter\n\n // In non-strict mode we allow a slash at the end of match. If the path to\n // match already ends with a slash, we remove it for consistency. The slash\n // is valid at the end of a path match, not in the middle. This is important\n // in non-ending mode, where \"/test/\" shouldn't match \"/test//route\".\n if (!strict) {\n route = (endsWithDelimiter ? route.slice(0, -delimiter.length) : route) + '(?:' + delimiter + '(?=$))?'\n }\n\n if (end) {\n route += '$'\n } else {\n // In non-ending mode, we need the capturing groups to match as much as\n // possible by using a positive lookahead to the end or next path segment.\n route += strict && endsWithDelimiter ? '' : '(?=' + delimiter + '|$)'\n }\n\n return attachKeys(new RegExp('^' + route, flags(options)), keys)\n}\n\n/**\n * Normalize the given path string, returning a regular expression.\n *\n * An empty array can be passed in for the keys, which will hold the\n * placeholder key descriptions. For example, using `/user/:id`, `keys` will\n * contain `[{ name: 'id', delimiter: '/', optional: false, repeat: false }]`.\n *\n * @param {(string|RegExp|Array)} path\n * @param {(Array|Object)=} keys\n * @param {Object=} options\n * @return {!RegExp}\n */\nfunction pathToRegexp (path, keys, options) {\n if (!isarray(keys)) {\n options = /** @type {!Object} */ (keys || options)\n keys = []\n }\n\n options = options || {}\n\n if (path instanceof RegExp) {\n return regexpToRegexp(path, /** @type {!Array} */ (keys))\n }\n\n if (isarray(path)) {\n return arrayToRegexp(/** @type {!Array} */ (path), /** @type {!Array} */ (keys), options)\n }\n\n return stringToRegexp(/** @type {string} */ (path), /** @type {!Array} */ (keys), options)\n}\n","module.exports = Array.isArray || function (arr) {\n return Object.prototype.toString.call(arr) == '[object Array]';\n};\n","// shim for using process in browser\nvar process = module.exports = {};\n\n// cached from whatever global is present so that test runners that stub it\n// don't break things. But we need to wrap it in a try catch in case it is\n// wrapped in strict mode code which doesn't define any globals. It's inside a\n// function because try/catches deoptimize in certain engines.\n\nvar cachedSetTimeout;\nvar cachedClearTimeout;\n\nfunction defaultSetTimout() {\n throw new Error('setTimeout has not been defined');\n}\nfunction defaultClearTimeout () {\n throw new Error('clearTimeout has not been defined');\n}\n(function () {\n try {\n if (typeof setTimeout === 'function') {\n cachedSetTimeout = setTimeout;\n } else {\n cachedSetTimeout = defaultSetTimout;\n }\n } catch (e) {\n cachedSetTimeout = defaultSetTimout;\n }\n try {\n if (typeof clearTimeout === 'function') {\n cachedClearTimeout = clearTimeout;\n } else {\n cachedClearTimeout = defaultClearTimeout;\n }\n } catch (e) {\n cachedClearTimeout = defaultClearTimeout;\n }\n} ())\nfunction runTimeout(fun) {\n if (cachedSetTimeout === setTimeout) {\n //normal enviroments in sane situations\n return setTimeout(fun, 0);\n }\n // if setTimeout wasn't available but was latter defined\n if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) {\n cachedSetTimeout = setTimeout;\n return setTimeout(fun, 0);\n }\n try {\n // when when somebody has screwed with setTimeout but no I.E. maddness\n return cachedSetTimeout(fun, 0);\n } catch(e){\n try {\n // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n return cachedSetTimeout.call(null, fun, 0);\n } catch(e){\n // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error\n return cachedSetTimeout.call(this, fun, 0);\n }\n }\n\n\n}\nfunction runClearTimeout(marker) {\n if (cachedClearTimeout === clearTimeout) {\n //normal enviroments in sane situations\n return clearTimeout(marker);\n }\n // if clearTimeout wasn't available but was latter defined\n if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) {\n cachedClearTimeout = clearTimeout;\n return clearTimeout(marker);\n }\n try {\n // when when somebody has screwed with setTimeout but no I.E. maddness\n return cachedClearTimeout(marker);\n } catch (e){\n try {\n // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n return cachedClearTimeout.call(null, marker);\n } catch (e){\n // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error.\n // Some versions of I.E. have different rules for clearTimeout vs setTimeout\n return cachedClearTimeout.call(this, marker);\n }\n }\n\n\n\n}\nvar queue = [];\nvar draining = false;\nvar currentQueue;\nvar queueIndex = -1;\n\nfunction cleanUpNextTick() {\n if (!draining || !currentQueue) {\n return;\n }\n draining = false;\n if (currentQueue.length) {\n queue = currentQueue.concat(queue);\n } else {\n queueIndex = -1;\n }\n if (queue.length) {\n drainQueue();\n }\n}\n\nfunction drainQueue() {\n if (draining) {\n return;\n }\n var timeout = runTimeout(cleanUpNextTick);\n draining = true;\n\n var len = queue.length;\n while(len) {\n currentQueue = queue;\n queue = [];\n while (++queueIndex < len) {\n if (currentQueue) {\n currentQueue[queueIndex].run();\n }\n }\n queueIndex = -1;\n len = queue.length;\n }\n currentQueue = null;\n draining = false;\n runClearTimeout(timeout);\n}\n\nprocess.nextTick = function (fun) {\n var args = new Array(arguments.length - 1);\n if (arguments.length > 1) {\n for (var i = 1; i < arguments.length; i++) {\n args[i - 1] = arguments[i];\n }\n }\n queue.push(new Item(fun, args));\n if (queue.length === 1 && !draining) {\n runTimeout(drainQueue);\n }\n};\n\n// v8 likes predictible objects\nfunction Item(fun, array) {\n this.fun = fun;\n this.array = array;\n}\nItem.prototype.run = function () {\n this.fun.apply(null, this.array);\n};\nprocess.title = 'browser';\nprocess.browser = true;\nprocess.env = {};\nprocess.argv = [];\nprocess.version = ''; // empty string to avoid regexp issues\nprocess.versions = {};\n\nfunction noop() {}\n\nprocess.on = noop;\nprocess.addListener = noop;\nprocess.once = noop;\nprocess.off = noop;\nprocess.removeListener = noop;\nprocess.removeAllListeners = noop;\nprocess.emit = noop;\nprocess.prependListener = noop;\nprocess.prependOnceListener = noop;\n\nprocess.listeners = function (name) { return [] }\n\nprocess.binding = function (name) {\n throw new Error('process.binding is not supported');\n};\n\nprocess.cwd = function () { return '/' };\nprocess.chdir = function (dir) {\n throw new Error('process.chdir is not supported');\n};\nprocess.umask = function() { return 0; };\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nvar ReactPropTypesSecret = require('./lib/ReactPropTypesSecret');\n\nfunction emptyFunction() {}\nfunction emptyFunctionWithReset() {}\nemptyFunctionWithReset.resetWarningCache = emptyFunction;\n\nmodule.exports = function() {\n function shim(props, propName, componentName, location, propFullName, secret) {\n if (secret === ReactPropTypesSecret) {\n // It is still safe when called from React.\n return;\n }\n var err = new Error(\n 'Calling PropTypes validators directly is not supported by the `prop-types` package. ' +\n 'Use PropTypes.checkPropTypes() to call them. ' +\n 'Read more at http://fb.me/use-check-prop-types'\n );\n err.name = 'Invariant Violation';\n throw err;\n };\n shim.isRequired = shim;\n function getShim() {\n return shim;\n };\n // Important!\n // Keep this list in sync with production version in `./factoryWithTypeCheckers.js`.\n var ReactPropTypes = {\n array: shim,\n bigint: shim,\n bool: shim,\n func: shim,\n number: shim,\n object: shim,\n string: shim,\n symbol: shim,\n\n any: shim,\n arrayOf: getShim,\n element: shim,\n elementType: shim,\n instanceOf: getShim,\n node: shim,\n objectOf: getShim,\n oneOf: getShim,\n oneOfType: getShim,\n shape: getShim,\n exact: getShim,\n\n checkPropTypes: emptyFunctionWithReset,\n resetWarningCache: emptyFunction\n };\n\n ReactPropTypes.PropTypes = ReactPropTypes;\n\n return ReactPropTypes;\n};\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nif (process.env.NODE_ENV !== 'production') {\n var ReactIs = require('react-is');\n\n // By explicitly using `prop-types` you are opting into new development behavior.\n // http://fb.me/prop-types-in-prod\n var throwOnDirectAccess = true;\n module.exports = require('./factoryWithTypeCheckers')(ReactIs.isElement, throwOnDirectAccess);\n} else {\n // By explicitly using `prop-types` you are opting into new production behavior.\n // http://fb.me/prop-types-in-prod\n module.exports = require('./factoryWithThrowingShims')();\n}\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nvar ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';\n\nmodule.exports = ReactPropTypesSecret;\n","'use strict';\n\nObject.defineProperty(exports, '__esModule', { value: true });\n\nfunction _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }\n\nvar React = require('react');\nvar React__default = _interopDefault(React);\n\nvar UAParser = require('ua-parser-js/dist/ua-parser.min');\n\nvar ClientUAInstance = new UAParser();\nvar browser = ClientUAInstance.getBrowser();\nvar cpu = ClientUAInstance.getCPU();\nvar device = ClientUAInstance.getDevice();\nvar engine = ClientUAInstance.getEngine();\nvar os = ClientUAInstance.getOS();\nvar ua = ClientUAInstance.getUA();\nvar setUa = function setUa(userAgentString) {\n return ClientUAInstance.setUA(userAgentString);\n};\nvar parseUserAgent = function parseUserAgent(userAgent) {\n if (!userAgent) {\n console.error('No userAgent string was provided');\n return;\n }\n\n var UserAgentInstance = new UAParser(userAgent);\n return {\n UA: UserAgentInstance,\n browser: UserAgentInstance.getBrowser(),\n cpu: UserAgentInstance.getCPU(),\n device: UserAgentInstance.getDevice(),\n engine: UserAgentInstance.getEngine(),\n os: UserAgentInstance.getOS(),\n ua: UserAgentInstance.getUA(),\n setUserAgent: function setUserAgent(userAgentString) {\n return UserAgentInstance.setUA(userAgentString);\n }\n };\n};\n\nvar UAHelper = /*#__PURE__*/Object.freeze({\n ClientUAInstance: ClientUAInstance,\n browser: browser,\n cpu: cpu,\n device: device,\n engine: engine,\n os: os,\n ua: ua,\n setUa: setUa,\n parseUserAgent: parseUserAgent\n});\n\nfunction ownKeys(object, enumerableOnly) {\n var keys = Object.keys(object);\n\n if (Object.getOwnPropertySymbols) {\n var symbols = Object.getOwnPropertySymbols(object);\n\n if (enumerableOnly) {\n symbols = symbols.filter(function (sym) {\n return Object.getOwnPropertyDescriptor(object, sym).enumerable;\n });\n }\n\n keys.push.apply(keys, symbols);\n }\n\n return keys;\n}\n\nfunction _objectSpread2(target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i] != null ? arguments[i] : {};\n\n if (i % 2) {\n ownKeys(Object(source), true).forEach(function (key) {\n _defineProperty(target, key, source[key]);\n });\n } else if (Object.getOwnPropertyDescriptors) {\n Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));\n } else {\n ownKeys(Object(source)).forEach(function (key) {\n Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));\n });\n }\n }\n\n return target;\n}\n\nfunction _typeof(obj) {\n \"@babel/helpers - typeof\";\n\n if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") {\n _typeof = function (obj) {\n return typeof obj;\n };\n } else {\n _typeof = function (obj) {\n return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n };\n }\n\n return _typeof(obj);\n}\n\nfunction _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n}\n\nfunction _defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if (\"value\" in descriptor) descriptor.writable = true;\n Object.defineProperty(target, descriptor.key, descriptor);\n }\n}\n\nfunction _createClass(Constructor, protoProps, staticProps) {\n if (protoProps) _defineProperties(Constructor.prototype, protoProps);\n if (staticProps) _defineProperties(Constructor, staticProps);\n return Constructor;\n}\n\nfunction _defineProperty(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n\n return obj;\n}\n\nfunction _extends() {\n _extends = Object.assign || function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n\n return target;\n };\n\n return _extends.apply(this, arguments);\n}\n\nfunction _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n writable: true,\n configurable: true\n }\n });\n if (superClass) _setPrototypeOf(subClass, superClass);\n}\n\nfunction _getPrototypeOf(o) {\n _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n };\n return _getPrototypeOf(o);\n}\n\nfunction _setPrototypeOf(o, p) {\n _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n\n return _setPrototypeOf(o, p);\n}\n\nfunction _objectWithoutPropertiesLoose(source, excluded) {\n if (source == null) return {};\n var target = {};\n var sourceKeys = Object.keys(source);\n var key, i;\n\n for (i = 0; i < sourceKeys.length; i++) {\n key = sourceKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n target[key] = source[key];\n }\n\n return target;\n}\n\nfunction _objectWithoutProperties(source, excluded) {\n if (source == null) return {};\n\n var target = _objectWithoutPropertiesLoose(source, excluded);\n\n var key, i;\n\n if (Object.getOwnPropertySymbols) {\n var sourceSymbolKeys = Object.getOwnPropertySymbols(source);\n\n for (i = 0; i < sourceSymbolKeys.length; i++) {\n key = sourceSymbolKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;\n target[key] = source[key];\n }\n }\n\n return target;\n}\n\nfunction _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n\n return self;\n}\n\nfunction _possibleConstructorReturn(self, call) {\n if (call && (typeof call === \"object\" || typeof call === \"function\")) {\n return call;\n } else if (call !== void 0) {\n throw new TypeError(\"Derived constructors may only return object or undefined\");\n }\n\n return _assertThisInitialized(self);\n}\n\nfunction _slicedToArray(arr, i) {\n return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();\n}\n\nfunction _arrayWithHoles(arr) {\n if (Array.isArray(arr)) return arr;\n}\n\nfunction _iterableToArrayLimit(arr, i) {\n var _i = arr == null ? null : typeof Symbol !== \"undefined\" && arr[Symbol.iterator] || arr[\"@@iterator\"];\n\n if (_i == null) return;\n var _arr = [];\n var _n = true;\n var _d = false;\n\n var _s, _e;\n\n try {\n for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) {\n _arr.push(_s.value);\n\n if (i && _arr.length === i) break;\n }\n } catch (err) {\n _d = true;\n _e = err;\n } finally {\n try {\n if (!_n && _i[\"return\"] != null) _i[\"return\"]();\n } finally {\n if (_d) throw _e;\n }\n }\n\n return _arr;\n}\n\nfunction _unsupportedIterableToArray(o, minLen) {\n if (!o) return;\n if (typeof o === \"string\") return _arrayLikeToArray(o, minLen);\n var n = Object.prototype.toString.call(o).slice(8, -1);\n if (n === \"Object\" && o.constructor) n = o.constructor.name;\n if (n === \"Map\" || n === \"Set\") return Array.from(o);\n if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);\n}\n\nfunction _arrayLikeToArray(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n\n for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];\n\n return arr2;\n}\n\nfunction _nonIterableRest() {\n throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}\n\nvar DeviceTypes = {\n Mobile: 'mobile',\n Tablet: 'tablet',\n SmartTv: 'smarttv',\n Console: 'console',\n Wearable: 'wearable',\n Embedded: 'embedded',\n Browser: undefined\n};\nvar BrowserTypes = {\n Chrome: 'Chrome',\n Firefox: 'Firefox',\n Opera: 'Opera',\n Yandex: 'Yandex',\n Safari: 'Safari',\n InternetExplorer: 'Internet Explorer',\n Edge: 'Edge',\n Chromium: 'Chromium',\n Ie: 'IE',\n MobileSafari: 'Mobile Safari',\n EdgeChromium: 'Edge Chromium',\n MIUI: 'MIUI Browser',\n SamsungBrowser: 'Samsung Browser'\n};\nvar OsTypes = {\n IOS: 'iOS',\n Android: 'Android',\n WindowsPhone: 'Windows Phone',\n Windows: 'Windows',\n MAC_OS: 'Mac OS'\n};\nvar InitialDeviceTypes = {\n isMobile: false,\n isTablet: false,\n isBrowser: false,\n isSmartTV: false,\n isConsole: false,\n isWearable: false\n};\n\nvar checkDeviceType = function checkDeviceType(type) {\n switch (type) {\n case DeviceTypes.Mobile:\n return {\n isMobile: true\n };\n\n case DeviceTypes.Tablet:\n return {\n isTablet: true\n };\n\n case DeviceTypes.SmartTv:\n return {\n isSmartTV: true\n };\n\n case DeviceTypes.Console:\n return {\n isConsole: true\n };\n\n case DeviceTypes.Wearable:\n return {\n isWearable: true\n };\n\n case DeviceTypes.Browser:\n return {\n isBrowser: true\n };\n\n case DeviceTypes.Embedded:\n return {\n isEmbedded: true\n };\n\n default:\n return InitialDeviceTypes;\n }\n};\nvar setUserAgent = function setUserAgent(userAgent) {\n return setUa(userAgent);\n};\nvar setDefaults = function setDefaults(p) {\n var d = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'none';\n return p ? p : d;\n};\nvar getNavigatorInstance = function getNavigatorInstance() {\n if (typeof window !== 'undefined') {\n if (window.navigator || navigator) {\n return window.navigator || navigator;\n }\n }\n\n return false;\n};\nvar isIOS13Check = function isIOS13Check(type) {\n var nav = getNavigatorInstance();\n return nav && nav.platform && (nav.platform.indexOf(type) !== -1 || nav.platform === 'MacIntel' && nav.maxTouchPoints > 1 && !window.MSStream);\n};\n\nvar browserPayload = function browserPayload(isBrowser, browser, engine, os, ua) {\n return {\n isBrowser: isBrowser,\n browserMajorVersion: setDefaults(browser.major),\n browserFullVersion: setDefaults(browser.version),\n browserName: setDefaults(browser.name),\n engineName: setDefaults(engine.name),\n engineVersion: setDefaults(engine.version),\n osName: setDefaults(os.name),\n osVersion: setDefaults(os.version),\n userAgent: setDefaults(ua)\n };\n};\nvar mobilePayload = function mobilePayload(type, device, os, ua) {\n return _objectSpread2({}, type, {\n vendor: setDefaults(device.vendor),\n model: setDefaults(device.model),\n os: setDefaults(os.name),\n osVersion: setDefaults(os.version),\n ua: setDefaults(ua)\n });\n};\nvar smartTvPayload = function smartTvPayload(isSmartTV, engine, os, ua) {\n return {\n isSmartTV: isSmartTV,\n engineName: setDefaults(engine.name),\n engineVersion: setDefaults(engine.version),\n osName: setDefaults(os.name),\n osVersion: setDefaults(os.version),\n userAgent: setDefaults(ua)\n };\n};\nvar consolePayload = function consolePayload(isConsole, engine, os, ua) {\n return {\n isConsole: isConsole,\n engineName: setDefaults(engine.name),\n engineVersion: setDefaults(engine.version),\n osName: setDefaults(os.name),\n osVersion: setDefaults(os.version),\n userAgent: setDefaults(ua)\n };\n};\nvar wearablePayload = function wearablePayload(isWearable, engine, os, ua) {\n return {\n isWearable: isWearable,\n engineName: setDefaults(engine.name),\n engineVersion: setDefaults(engine.version),\n osName: setDefaults(os.name),\n osVersion: setDefaults(os.version),\n userAgent: setDefaults(ua)\n };\n};\nvar embeddedPayload = function embeddedPayload(isEmbedded, device, engine, os, ua) {\n return {\n isEmbedded: isEmbedded,\n vendor: setDefaults(device.vendor),\n model: setDefaults(device.model),\n engineName: setDefaults(engine.name),\n engineVersion: setDefaults(engine.version),\n osName: setDefaults(os.name),\n osVersion: setDefaults(os.version),\n userAgent: setDefaults(ua)\n };\n};\n\nfunction deviceDetect(userAgent) {\n var _ref = userAgent ? parseUserAgent(userAgent) : UAHelper,\n device = _ref.device,\n browser = _ref.browser,\n engine = _ref.engine,\n os = _ref.os,\n ua = _ref.ua;\n\n var type = checkDeviceType(device.type);\n var isBrowser = type.isBrowser,\n isMobile = type.isMobile,\n isTablet = type.isTablet,\n isSmartTV = type.isSmartTV,\n isConsole = type.isConsole,\n isWearable = type.isWearable,\n isEmbedded = type.isEmbedded;\n\n if (isBrowser) {\n return browserPayload(isBrowser, browser, engine, os, ua);\n }\n\n if (isSmartTV) {\n return smartTvPayload(isSmartTV, engine, os, ua);\n }\n\n if (isConsole) {\n return consolePayload(isConsole, engine, os, ua);\n }\n\n if (isMobile) {\n return mobilePayload(type, device, os, ua);\n }\n\n if (isTablet) {\n return mobilePayload(type, device, os, ua);\n }\n\n if (isWearable) {\n return wearablePayload(isWearable, engine, os, ua);\n }\n\n if (isEmbedded) {\n return embeddedPayload(isEmbedded, device, engine, os, ua);\n }\n}\n\nvar isMobileType = function isMobileType(_ref) {\n var type = _ref.type;\n return type === DeviceTypes.Mobile;\n};\nvar isTabletType = function isTabletType(_ref2) {\n var type = _ref2.type;\n return type === DeviceTypes.Tablet;\n};\nvar isMobileAndTabletType = function isMobileAndTabletType(_ref3) {\n var type = _ref3.type;\n return type === DeviceTypes.Mobile || type === DeviceTypes.Tablet;\n};\nvar isSmartTVType = function isSmartTVType(_ref4) {\n var type = _ref4.type;\n return type === DeviceTypes.SmartTv;\n};\nvar isBrowserType = function isBrowserType(_ref5) {\n var type = _ref5.type;\n return type === DeviceTypes.Browser;\n};\nvar isWearableType = function isWearableType(_ref6) {\n var type = _ref6.type;\n return type === DeviceTypes.Wearable;\n};\nvar isConsoleType = function isConsoleType(_ref7) {\n var type = _ref7.type;\n return type === DeviceTypes.Console;\n};\nvar isEmbeddedType = function isEmbeddedType(_ref8) {\n var type = _ref8.type;\n return type === DeviceTypes.Embedded;\n};\nvar getMobileVendor = function getMobileVendor(_ref9) {\n var vendor = _ref9.vendor;\n return setDefaults(vendor);\n};\nvar getMobileModel = function getMobileModel(_ref10) {\n var model = _ref10.model;\n return setDefaults(model);\n};\nvar getDeviceType = function getDeviceType(_ref11) {\n var type = _ref11.type;\n return setDefaults(type, 'browser');\n}; // os types\n\nvar isAndroidType = function isAndroidType(_ref12) {\n var name = _ref12.name;\n return name === OsTypes.Android;\n};\nvar isWindowsType = function isWindowsType(_ref13) {\n var name = _ref13.name;\n return name === OsTypes.Windows;\n};\nvar isMacOsType = function isMacOsType(_ref14) {\n var name = _ref14.name;\n return name === OsTypes.MAC_OS;\n};\nvar isWinPhoneType = function isWinPhoneType(_ref15) {\n var name = _ref15.name;\n return name === OsTypes.WindowsPhone;\n};\nvar isIOSType = function isIOSType(_ref16) {\n var name = _ref16.name;\n return name === OsTypes.IOS;\n};\nvar getOsVersion = function getOsVersion(_ref17) {\n var version = _ref17.version;\n return setDefaults(version);\n};\nvar getOsName = function getOsName(_ref18) {\n var name = _ref18.name;\n return setDefaults(name);\n}; // browser types\n\nvar isChromeType = function isChromeType(_ref19) {\n var name = _ref19.name;\n return name === BrowserTypes.Chrome;\n};\nvar isFirefoxType = function isFirefoxType(_ref20) {\n var name = _ref20.name;\n return name === BrowserTypes.Firefox;\n};\nvar isChromiumType = function isChromiumType(_ref21) {\n var name = _ref21.name;\n return name === BrowserTypes.Chromium;\n};\nvar isEdgeType = function isEdgeType(_ref22) {\n var name = _ref22.name;\n return name === BrowserTypes.Edge;\n};\nvar isYandexType = function isYandexType(_ref23) {\n var name = _ref23.name;\n return name === BrowserTypes.Yandex;\n};\nvar isSafariType = function isSafariType(_ref24) {\n var name = _ref24.name;\n return name === BrowserTypes.Safari || name === BrowserTypes.MobileSafari;\n};\nvar isMobileSafariType = function isMobileSafariType(_ref25) {\n var name = _ref25.name;\n return name === BrowserTypes.MobileSafari;\n};\nvar isOperaType = function isOperaType(_ref26) {\n var name = _ref26.name;\n return name === BrowserTypes.Opera;\n};\nvar isIEType = function isIEType(_ref27) {\n var name = _ref27.name;\n return name === BrowserTypes.InternetExplorer || name === BrowserTypes.Ie;\n};\nvar isMIUIType = function isMIUIType(_ref28) {\n var name = _ref28.name;\n return name === BrowserTypes.MIUI;\n};\nvar isSamsungBrowserType = function isSamsungBrowserType(_ref29) {\n var name = _ref29.name;\n return name === BrowserTypes.SamsungBrowser;\n};\nvar getBrowserFullVersion = function getBrowserFullVersion(_ref30) {\n var version = _ref30.version;\n return setDefaults(version);\n};\nvar getBrowserVersion = function getBrowserVersion(_ref31) {\n var major = _ref31.major;\n return setDefaults(major);\n};\nvar getBrowserName = function getBrowserName(_ref32) {\n var name = _ref32.name;\n return setDefaults(name);\n}; // engine types\n\nvar getEngineName = function getEngineName(_ref33) {\n var name = _ref33.name;\n return setDefaults(name);\n};\nvar getEngineVersion = function getEngineVersion(_ref34) {\n var version = _ref34.version;\n return setDefaults(version);\n};\nvar isElectronType = function isElectronType() {\n var nav = getNavigatorInstance();\n var ua = nav && nav.userAgent && nav.userAgent.toLowerCase();\n return typeof ua === 'string' ? /electron/.test(ua) : false;\n};\nvar isEdgeChromiumType = function isEdgeChromiumType(ua) {\n return typeof ua === 'string' && ua.indexOf('Edg/') !== -1;\n};\nvar getIOS13 = function getIOS13() {\n var nav = getNavigatorInstance();\n return nav && (/iPad|iPhone|iPod/.test(nav.platform) || nav.platform === 'MacIntel' && nav.maxTouchPoints > 1) && !window.MSStream;\n};\nvar getIPad13 = function getIPad13() {\n return isIOS13Check('iPad');\n};\nvar getIphone13 = function getIphone13() {\n return isIOS13Check('iPhone');\n};\nvar getIPod13 = function getIPod13() {\n return isIOS13Check('iPod');\n};\nvar getUseragent = function getUseragent(userAg) {\n return setDefaults(userAg);\n};\n\nfunction buildSelectorsObject(options) {\n var _ref = options ? options : UAHelper,\n device = _ref.device,\n browser = _ref.browser,\n os = _ref.os,\n engine = _ref.engine,\n ua = _ref.ua;\n\n return {\n isSmartTV: isSmartTVType(device),\n isConsole: isConsoleType(device),\n isWearable: isWearableType(device),\n isEmbedded: isEmbeddedType(device),\n isMobileSafari: isMobileSafariType(browser) || getIPad13(),\n isChromium: isChromiumType(browser),\n isMobile: isMobileAndTabletType(device) || getIPad13(),\n isMobileOnly: isMobileType(device),\n isTablet: isTabletType(device) || getIPad13(),\n isBrowser: isBrowserType(device),\n isDesktop: isBrowserType(device),\n isAndroid: isAndroidType(os),\n isWinPhone: isWinPhoneType(os),\n isIOS: isIOSType(os) || getIPad13(),\n isChrome: isChromeType(browser),\n isFirefox: isFirefoxType(browser),\n isSafari: isSafariType(browser),\n isOpera: isOperaType(browser),\n isIE: isIEType(browser),\n osVersion: getOsVersion(os),\n osName: getOsName(os),\n fullBrowserVersion: getBrowserFullVersion(browser),\n browserVersion: getBrowserVersion(browser),\n browserName: getBrowserName(browser),\n mobileVendor: getMobileVendor(device),\n mobileModel: getMobileModel(device),\n engineName: getEngineName(engine),\n engineVersion: getEngineVersion(engine),\n getUA: getUseragent(ua),\n isEdge: isEdgeType(browser) || isEdgeChromiumType(ua),\n isYandex: isYandexType(browser),\n deviceType: getDeviceType(device),\n isIOS13: getIOS13(),\n isIPad13: getIPad13(),\n isIPhone13: getIphone13(),\n isIPod13: getIPod13(),\n isElectron: isElectronType(),\n isEdgeChromium: isEdgeChromiumType(ua),\n isLegacyEdge: isEdgeType(browser) && !isEdgeChromiumType(ua),\n isWindows: isWindowsType(os),\n isMacOs: isMacOsType(os),\n isMIUI: isMIUIType(browser),\n isSamsungBrowser: isSamsungBrowserType(browser)\n };\n}\n\nvar isSmartTV = isSmartTVType(device);\nvar isConsole = isConsoleType(device);\nvar isWearable = isWearableType(device);\nvar isEmbedded = isEmbeddedType(device);\nvar isMobileSafari = isMobileSafariType(browser) || getIPad13();\nvar isChromium = isChromiumType(browser);\nvar isMobile = isMobileAndTabletType(device) || getIPad13();\nvar isMobileOnly = isMobileType(device);\nvar isTablet = isTabletType(device) || getIPad13();\nvar isBrowser = isBrowserType(device);\nvar isDesktop = isBrowserType(device);\nvar isAndroid = isAndroidType(os);\nvar isWinPhone = isWinPhoneType(os);\nvar isIOS = isIOSType(os) || getIPad13();\nvar isChrome = isChromeType(browser);\nvar isFirefox = isFirefoxType(browser);\nvar isSafari = isSafariType(browser);\nvar isOpera = isOperaType(browser);\nvar isIE = isIEType(browser);\nvar osVersion = getOsVersion(os);\nvar osName = getOsName(os);\nvar fullBrowserVersion = getBrowserFullVersion(browser);\nvar browserVersion = getBrowserVersion(browser);\nvar browserName = getBrowserName(browser);\nvar mobileVendor = getMobileVendor(device);\nvar mobileModel = getMobileModel(device);\nvar engineName = getEngineName(engine);\nvar engineVersion = getEngineVersion(engine);\nvar getUA = getUseragent(ua);\nvar isEdge = isEdgeType(browser) || isEdgeChromiumType(ua);\nvar isYandex = isYandexType(browser);\nvar deviceType = getDeviceType(device);\nvar isIOS13 = getIOS13();\nvar isIPad13 = getIPad13();\nvar isIPhone13 = getIphone13();\nvar isIPod13 = getIPod13();\nvar isElectron = isElectronType();\nvar isEdgeChromium = isEdgeChromiumType(ua);\nvar isLegacyEdge = isEdgeType(browser) && !isEdgeChromiumType(ua);\nvar isWindows = isWindowsType(os);\nvar isMacOs = isMacOsType(os);\nvar isMIUI = isMIUIType(browser);\nvar isSamsungBrowser = isSamsungBrowserType(browser);\nvar getSelectorsByUserAgent = function getSelectorsByUserAgent(userAgent) {\n if (!userAgent || typeof userAgent !== 'string') {\n console.error('No valid user agent string was provided');\n return;\n }\n\n var _UAHelper$parseUserAg = parseUserAgent(userAgent),\n device = _UAHelper$parseUserAg.device,\n browser = _UAHelper$parseUserAg.browser,\n os = _UAHelper$parseUserAg.os,\n engine = _UAHelper$parseUserAg.engine,\n ua = _UAHelper$parseUserAg.ua;\n\n return buildSelectorsObject({\n device: device,\n browser: browser,\n os: os,\n engine: engine,\n ua: ua\n });\n};\n\nvar AndroidView = function AndroidView(_ref) {\n var renderWithFragment = _ref.renderWithFragment,\n children = _ref.children,\n props = _objectWithoutProperties(_ref, [\"renderWithFragment\", \"children\"]);\n\n return isAndroid ? renderWithFragment ? React__default.createElement(React.Fragment, null, children) : React__default.createElement(\"div\", props, children) : null;\n};\nvar BrowserView = function BrowserView(_ref2) {\n var renderWithFragment = _ref2.renderWithFragment,\n children = _ref2.children,\n props = _objectWithoutProperties(_ref2, [\"renderWithFragment\", \"children\"]);\n\n return isBrowser ? renderWithFragment ? React__default.createElement(React.Fragment, null, children) : React__default.createElement(\"div\", props, children) : null;\n};\nvar IEView = function IEView(_ref3) {\n var renderWithFragment = _ref3.renderWithFragment,\n children = _ref3.children,\n props = _objectWithoutProperties(_ref3, [\"renderWithFragment\", \"children\"]);\n\n return isIE ? renderWithFragment ? React__default.createElement(React.Fragment, null, children) : React__default.createElement(\"div\", props, children) : null;\n};\nvar IOSView = function IOSView(_ref4) {\n var renderWithFragment = _ref4.renderWithFragment,\n children = _ref4.children,\n props = _objectWithoutProperties(_ref4, [\"renderWithFragment\", \"children\"]);\n\n return isIOS ? renderWithFragment ? React__default.createElement(React.Fragment, null, children) : React__default.createElement(\"div\", props, children) : null;\n};\nvar MobileView = function MobileView(_ref5) {\n var renderWithFragment = _ref5.renderWithFragment,\n children = _ref5.children,\n props = _objectWithoutProperties(_ref5, [\"renderWithFragment\", \"children\"]);\n\n return isMobile ? renderWithFragment ? React__default.createElement(React.Fragment, null, children) : React__default.createElement(\"div\", props, children) : null;\n};\nvar TabletView = function TabletView(_ref6) {\n var renderWithFragment = _ref6.renderWithFragment,\n children = _ref6.children,\n props = _objectWithoutProperties(_ref6, [\"renderWithFragment\", \"children\"]);\n\n return isTablet ? renderWithFragment ? React__default.createElement(React.Fragment, null, children) : React__default.createElement(\"div\", props, children) : null;\n};\nvar WinPhoneView = function WinPhoneView(_ref7) {\n var renderWithFragment = _ref7.renderWithFragment,\n children = _ref7.children,\n props = _objectWithoutProperties(_ref7, [\"renderWithFragment\", \"children\"]);\n\n return isWinPhone ? renderWithFragment ? React__default.createElement(React.Fragment, null, children) : React__default.createElement(\"div\", props, children) : null;\n};\nvar MobileOnlyView = function MobileOnlyView(_ref8) {\n var renderWithFragment = _ref8.renderWithFragment,\n children = _ref8.children,\n viewClassName = _ref8.viewClassName,\n style = _ref8.style,\n props = _objectWithoutProperties(_ref8, [\"renderWithFragment\", \"children\", \"viewClassName\", \"style\"]);\n\n return isMobileOnly ? renderWithFragment ? React__default.createElement(React.Fragment, null, children) : React__default.createElement(\"div\", props, children) : null;\n};\nvar SmartTVView = function SmartTVView(_ref9) {\n var renderWithFragment = _ref9.renderWithFragment,\n children = _ref9.children,\n props = _objectWithoutProperties(_ref9, [\"renderWithFragment\", \"children\"]);\n\n return isSmartTV ? renderWithFragment ? React__default.createElement(React.Fragment, null, children) : React__default.createElement(\"div\", props, children) : null;\n};\nvar ConsoleView = function ConsoleView(_ref10) {\n var renderWithFragment = _ref10.renderWithFragment,\n children = _ref10.children,\n props = _objectWithoutProperties(_ref10, [\"renderWithFragment\", \"children\"]);\n\n return isConsole ? renderWithFragment ? React__default.createElement(React.Fragment, null, children) : React__default.createElement(\"div\", props, children) : null;\n};\nvar WearableView = function WearableView(_ref11) {\n var renderWithFragment = _ref11.renderWithFragment,\n children = _ref11.children,\n props = _objectWithoutProperties(_ref11, [\"renderWithFragment\", \"children\"]);\n\n return isWearable ? renderWithFragment ? React__default.createElement(React.Fragment, null, children) : React__default.createElement(\"div\", props, children) : null;\n};\nvar CustomView = function CustomView(_ref12) {\n var renderWithFragment = _ref12.renderWithFragment,\n children = _ref12.children,\n viewClassName = _ref12.viewClassName,\n style = _ref12.style,\n condition = _ref12.condition,\n props = _objectWithoutProperties(_ref12, [\"renderWithFragment\", \"children\", \"viewClassName\", \"style\", \"condition\"]);\n\n return condition ? renderWithFragment ? React__default.createElement(React.Fragment, null, children) : React__default.createElement(\"div\", props, children) : null;\n};\n\nfunction withOrientationChange(WrappedComponent) {\n return /*#__PURE__*/function (_React$Component) {\n _inherits(_class, _React$Component);\n\n function _class(props) {\n var _this;\n\n _classCallCheck(this, _class);\n\n _this = _possibleConstructorReturn(this, _getPrototypeOf(_class).call(this, props));\n _this.isEventListenerAdded = false;\n _this.handleOrientationChange = _this.handleOrientationChange.bind(_assertThisInitialized(_this));\n _this.onOrientationChange = _this.onOrientationChange.bind(_assertThisInitialized(_this));\n _this.onPageLoad = _this.onPageLoad.bind(_assertThisInitialized(_this));\n _this.state = {\n isLandscape: false,\n isPortrait: false\n };\n return _this;\n }\n\n _createClass(_class, [{\n key: \"handleOrientationChange\",\n value: function handleOrientationChange() {\n if (!this.isEventListenerAdded) {\n this.isEventListenerAdded = true;\n }\n\n var orientation = window.innerWidth > window.innerHeight ? 90 : 0;\n this.setState({\n isPortrait: orientation === 0,\n isLandscape: orientation === 90\n });\n }\n }, {\n key: \"onOrientationChange\",\n value: function onOrientationChange() {\n this.handleOrientationChange();\n }\n }, {\n key: \"onPageLoad\",\n value: function onPageLoad() {\n this.handleOrientationChange();\n }\n }, {\n key: \"componentDidMount\",\n value: function componentDidMount() {\n if ((typeof window === \"undefined\" ? \"undefined\" : _typeof(window)) !== undefined && isMobile) {\n if (!this.isEventListenerAdded) {\n this.handleOrientationChange();\n window.addEventListener(\"load\", this.onPageLoad, false);\n } else {\n window.removeEventListener(\"load\", this.onPageLoad, false);\n }\n\n window.addEventListener(\"resize\", this.onOrientationChange, false);\n }\n }\n }, {\n key: \"componentWillUnmount\",\n value: function componentWillUnmount() {\n window.removeEventListener(\"resize\", this.onOrientationChange, false);\n }\n }, {\n key: \"render\",\n value: function render() {\n return React__default.createElement(WrappedComponent, _extends({}, this.props, {\n isLandscape: this.state.isLandscape,\n isPortrait: this.state.isPortrait\n }));\n }\n }]);\n\n return _class;\n }(React__default.Component);\n}\n\nfunction useMobileOrientation() {\n var _useState = React.useState(function () {\n var orientation = window.innerWidth > window.innerHeight ? 90 : 0;\n return {\n isPortrait: orientation === 0,\n isLandscape: orientation === 90,\n orientation: orientation === 0 ? 'portrait' : 'landscape'\n };\n }),\n _useState2 = _slicedToArray(_useState, 2),\n state = _useState2[0],\n setState = _useState2[1];\n\n var handleOrientationChange = React.useCallback(function () {\n var orientation = window.innerWidth > window.innerHeight ? 90 : 0;\n var next = {\n isPortrait: orientation === 0,\n isLandscape: orientation === 90,\n orientation: orientation === 0 ? 'portrait' : 'landscape'\n };\n state.orientation !== next.orientation && setState(next);\n }, [state.orientation]);\n React.useEffect(function () {\n if ((typeof window === \"undefined\" ? \"undefined\" : _typeof(window)) !== undefined && isMobile) {\n handleOrientationChange();\n window.addEventListener(\"load\", handleOrientationChange, false);\n window.addEventListener(\"resize\", handleOrientationChange, false);\n }\n\n return function () {\n window.removeEventListener(\"resize\", handleOrientationChange, false);\n window.removeEventListener(\"load\", handleOrientationChange, false);\n };\n }, [handleOrientationChange]);\n return state;\n}\n\nfunction useDeviceData(userAgent) {\n var hookUserAgent = userAgent ? userAgent : window.navigator.userAgent;\n return parseUserAgent(hookUserAgent);\n}\n\nfunction useDeviceSelectors(userAgent) {\n var hookUserAgent = userAgent ? userAgent : window.navigator.userAgent;\n var deviceData = useDeviceData(hookUserAgent);\n var selectors = buildSelectorsObject(deviceData);\n return [selectors, deviceData];\n}\n\nexports.AndroidView = AndroidView;\nexports.BrowserTypes = BrowserTypes;\nexports.BrowserView = BrowserView;\nexports.ConsoleView = ConsoleView;\nexports.CustomView = CustomView;\nexports.IEView = IEView;\nexports.IOSView = IOSView;\nexports.MobileOnlyView = MobileOnlyView;\nexports.MobileView = MobileView;\nexports.OsTypes = OsTypes;\nexports.SmartTVView = SmartTVView;\nexports.TabletView = TabletView;\nexports.WearableView = WearableView;\nexports.WinPhoneView = WinPhoneView;\nexports.browserName = browserName;\nexports.browserVersion = browserVersion;\nexports.deviceDetect = deviceDetect;\nexports.deviceType = deviceType;\nexports.engineName = engineName;\nexports.engineVersion = engineVersion;\nexports.fullBrowserVersion = fullBrowserVersion;\nexports.getSelectorsByUserAgent = getSelectorsByUserAgent;\nexports.getUA = getUA;\nexports.isAndroid = isAndroid;\nexports.isBrowser = isBrowser;\nexports.isChrome = isChrome;\nexports.isChromium = isChromium;\nexports.isConsole = isConsole;\nexports.isDesktop = isDesktop;\nexports.isEdge = isEdge;\nexports.isEdgeChromium = isEdgeChromium;\nexports.isElectron = isElectron;\nexports.isEmbedded = isEmbedded;\nexports.isFirefox = isFirefox;\nexports.isIE = isIE;\nexports.isIOS = isIOS;\nexports.isIOS13 = isIOS13;\nexports.isIPad13 = isIPad13;\nexports.isIPhone13 = isIPhone13;\nexports.isIPod13 = isIPod13;\nexports.isLegacyEdge = isLegacyEdge;\nexports.isMIUI = isMIUI;\nexports.isMacOs = isMacOs;\nexports.isMobile = isMobile;\nexports.isMobileOnly = isMobileOnly;\nexports.isMobileSafari = isMobileSafari;\nexports.isOpera = isOpera;\nexports.isSafari = isSafari;\nexports.isSamsungBrowser = isSamsungBrowser;\nexports.isSmartTV = isSmartTV;\nexports.isTablet = isTablet;\nexports.isWearable = isWearable;\nexports.isWinPhone = isWinPhone;\nexports.isWindows = isWindows;\nexports.isYandex = isYandex;\nexports.mobileModel = mobileModel;\nexports.mobileVendor = mobileVendor;\nexports.osName = osName;\nexports.osVersion = osVersion;\nexports.parseUserAgent = parseUserAgent;\nexports.setUserAgent = setUserAgent;\nexports.useDeviceData = useDeviceData;\nexports.useDeviceSelectors = useDeviceSelectors;\nexports.useMobileOrientation = useMobileOrientation;\nexports.withOrientationChange = withOrientationChange;\n","/**\n * @license React\n * react-dom.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n/*\n Modernizr 3.0.0pre (Custom Build) | MIT\n*/\n'use strict';var aa=require(\"react\"),ca=require(\"scheduler\");function p(a){for(var b=\"https://reactjs.org/docs/error-decoder.html?invariant=\"+a,c=1;cb}return!1}function v(a,b,c,d,e,f,g){this.acceptsBooleans=2===b||3===b||4===b;this.attributeName=d;this.attributeNamespace=e;this.mustUseProperty=c;this.propertyName=a;this.type=b;this.sanitizeURL=f;this.removeEmptyString=g}var z={};\n\"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style\".split(\" \").forEach(function(a){z[a]=new v(a,0,!1,a,null,!1,!1)});[[\"acceptCharset\",\"accept-charset\"],[\"className\",\"class\"],[\"htmlFor\",\"for\"],[\"httpEquiv\",\"http-equiv\"]].forEach(function(a){var b=a[0];z[b]=new v(b,1,!1,a[1],null,!1,!1)});[\"contentEditable\",\"draggable\",\"spellCheck\",\"value\"].forEach(function(a){z[a]=new v(a,2,!1,a.toLowerCase(),null,!1,!1)});\n[\"autoReverse\",\"externalResourcesRequired\",\"focusable\",\"preserveAlpha\"].forEach(function(a){z[a]=new v(a,2,!1,a,null,!1,!1)});\"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope\".split(\" \").forEach(function(a){z[a]=new v(a,3,!1,a.toLowerCase(),null,!1,!1)});\n[\"checked\",\"multiple\",\"muted\",\"selected\"].forEach(function(a){z[a]=new v(a,3,!0,a,null,!1,!1)});[\"capture\",\"download\"].forEach(function(a){z[a]=new v(a,4,!1,a,null,!1,!1)});[\"cols\",\"rows\",\"size\",\"span\"].forEach(function(a){z[a]=new v(a,6,!1,a,null,!1,!1)});[\"rowSpan\",\"start\"].forEach(function(a){z[a]=new v(a,5,!1,a.toLowerCase(),null,!1,!1)});var ra=/[\\-:]([a-z])/g;function sa(a){return a[1].toUpperCase()}\n\"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height\".split(\" \").forEach(function(a){var b=a.replace(ra,\nsa);z[b]=new v(b,1,!1,a,null,!1,!1)});\"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type\".split(\" \").forEach(function(a){var b=a.replace(ra,sa);z[b]=new v(b,1,!1,a,\"http://www.w3.org/1999/xlink\",!1,!1)});[\"xml:base\",\"xml:lang\",\"xml:space\"].forEach(function(a){var b=a.replace(ra,sa);z[b]=new v(b,1,!1,a,\"http://www.w3.org/XML/1998/namespace\",!1,!1)});[\"tabIndex\",\"crossOrigin\"].forEach(function(a){z[a]=new v(a,1,!1,a.toLowerCase(),null,!1,!1)});\nz.xlinkHref=new v(\"xlinkHref\",1,!1,\"xlink:href\",\"http://www.w3.org/1999/xlink\",!0,!1);[\"src\",\"href\",\"action\",\"formAction\"].forEach(function(a){z[a]=new v(a,1,!1,a.toLowerCase(),null,!0,!0)});\nfunction ta(a,b,c,d){var e=z.hasOwnProperty(b)?z[b]:null;if(null!==e?0!==e.type:d||!(2h||e[g]!==f[h]){var k=\"\\n\"+e[g].replace(\" at new \",\" at \");a.displayName&&k.includes(\"\")&&(k=k.replace(\"\",a.displayName));return k}while(1<=g&&0<=h)}break}}}finally{Na=!1,Error.prepareStackTrace=c}return(a=a?a.displayName||a.name:\"\")?Ma(a):\"\"}\nfunction Pa(a){switch(a.tag){case 5:return Ma(a.type);case 16:return Ma(\"Lazy\");case 13:return Ma(\"Suspense\");case 19:return Ma(\"SuspenseList\");case 0:case 2:case 15:return a=Oa(a.type,!1),a;case 11:return a=Oa(a.type.render,!1),a;case 1:return a=Oa(a.type,!0),a;default:return\"\"}}\nfunction Qa(a){if(null==a)return null;if(\"function\"===typeof a)return a.displayName||a.name||null;if(\"string\"===typeof a)return a;switch(a){case ya:return\"Fragment\";case wa:return\"Portal\";case Aa:return\"Profiler\";case za:return\"StrictMode\";case Ea:return\"Suspense\";case Fa:return\"SuspenseList\"}if(\"object\"===typeof a)switch(a.$$typeof){case Ca:return(a.displayName||\"Context\")+\".Consumer\";case Ba:return(a._context.displayName||\"Context\")+\".Provider\";case Da:var b=a.render;a=a.displayName;a||(a=b.displayName||\nb.name||\"\",a=\"\"!==a?\"ForwardRef(\"+a+\")\":\"ForwardRef\");return a;case Ga:return b=a.displayName||null,null!==b?b:Qa(a.type)||\"Memo\";case Ha:b=a._payload;a=a._init;try{return Qa(a(b))}catch(c){}}return null}\nfunction Ra(a){var b=a.type;switch(a.tag){case 24:return\"Cache\";case 9:return(b.displayName||\"Context\")+\".Consumer\";case 10:return(b._context.displayName||\"Context\")+\".Provider\";case 18:return\"DehydratedFragment\";case 11:return a=b.render,a=a.displayName||a.name||\"\",b.displayName||(\"\"!==a?\"ForwardRef(\"+a+\")\":\"ForwardRef\");case 7:return\"Fragment\";case 5:return b;case 4:return\"Portal\";case 3:return\"Root\";case 6:return\"Text\";case 16:return Qa(b);case 8:return b===za?\"StrictMode\":\"Mode\";case 22:return\"Offscreen\";\ncase 12:return\"Profiler\";case 21:return\"Scope\";case 13:return\"Suspense\";case 19:return\"SuspenseList\";case 25:return\"TracingMarker\";case 1:case 0:case 17:case 2:case 14:case 15:if(\"function\"===typeof b)return b.displayName||b.name||null;if(\"string\"===typeof b)return b}return null}function Sa(a){switch(typeof a){case \"boolean\":case \"number\":case \"string\":case \"undefined\":return a;case \"object\":return a;default:return\"\"}}\nfunction Ta(a){var b=a.type;return(a=a.nodeName)&&\"input\"===a.toLowerCase()&&(\"checkbox\"===b||\"radio\"===b)}\nfunction Ua(a){var b=Ta(a)?\"checked\":\"value\",c=Object.getOwnPropertyDescriptor(a.constructor.prototype,b),d=\"\"+a[b];if(!a.hasOwnProperty(b)&&\"undefined\"!==typeof c&&\"function\"===typeof c.get&&\"function\"===typeof c.set){var e=c.get,f=c.set;Object.defineProperty(a,b,{configurable:!0,get:function(){return e.call(this)},set:function(a){d=\"\"+a;f.call(this,a)}});Object.defineProperty(a,b,{enumerable:c.enumerable});return{getValue:function(){return d},setValue:function(a){d=\"\"+a},stopTracking:function(){a._valueTracker=\nnull;delete a[b]}}}}function Va(a){a._valueTracker||(a._valueTracker=Ua(a))}function Wa(a){if(!a)return!1;var b=a._valueTracker;if(!b)return!0;var c=b.getValue();var d=\"\";a&&(d=Ta(a)?a.checked?\"true\":\"false\":a.value);a=d;return a!==c?(b.setValue(a),!0):!1}function Xa(a){a=a||(\"undefined\"!==typeof document?document:void 0);if(\"undefined\"===typeof a)return null;try{return a.activeElement||a.body}catch(b){return a.body}}\nfunction Ya(a,b){var c=b.checked;return A({},b,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=c?c:a._wrapperState.initialChecked})}function Za(a,b){var c=null==b.defaultValue?\"\":b.defaultValue,d=null!=b.checked?b.checked:b.defaultChecked;c=Sa(null!=b.value?b.value:c);a._wrapperState={initialChecked:d,initialValue:c,controlled:\"checkbox\"===b.type||\"radio\"===b.type?null!=b.checked:null!=b.value}}function ab(a,b){b=b.checked;null!=b&&ta(a,\"checked\",b,!1)}\nfunction bb(a,b){ab(a,b);var c=Sa(b.value),d=b.type;if(null!=c)if(\"number\"===d){if(0===c&&\"\"===a.value||a.value!=c)a.value=\"\"+c}else a.value!==\"\"+c&&(a.value=\"\"+c);else if(\"submit\"===d||\"reset\"===d){a.removeAttribute(\"value\");return}b.hasOwnProperty(\"value\")?cb(a,b.type,c):b.hasOwnProperty(\"defaultValue\")&&cb(a,b.type,Sa(b.defaultValue));null==b.checked&&null!=b.defaultChecked&&(a.defaultChecked=!!b.defaultChecked)}\nfunction db(a,b,c){if(b.hasOwnProperty(\"value\")||b.hasOwnProperty(\"defaultValue\")){var d=b.type;if(!(\"submit\"!==d&&\"reset\"!==d||void 0!==b.value&&null!==b.value))return;b=\"\"+a._wrapperState.initialValue;c||b===a.value||(a.value=b);a.defaultValue=b}c=a.name;\"\"!==c&&(a.name=\"\");a.defaultChecked=!!a._wrapperState.initialChecked;\"\"!==c&&(a.name=c)}\nfunction cb(a,b,c){if(\"number\"!==b||Xa(a.ownerDocument)!==a)null==c?a.defaultValue=\"\"+a._wrapperState.initialValue:a.defaultValue!==\"\"+c&&(a.defaultValue=\"\"+c)}var eb=Array.isArray;\nfunction fb(a,b,c,d){a=a.options;if(b){b={};for(var e=0;e\"+b.valueOf().toString()+\"\";for(b=mb.firstChild;a.firstChild;)a.removeChild(a.firstChild);for(;b.firstChild;)a.appendChild(b.firstChild)}});\nfunction ob(a,b){if(b){var c=a.firstChild;if(c&&c===a.lastChild&&3===c.nodeType){c.nodeValue=b;return}}a.textContent=b}\nvar pb={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,\nzoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},qb=[\"Webkit\",\"ms\",\"Moz\",\"O\"];Object.keys(pb).forEach(function(a){qb.forEach(function(b){b=b+a.charAt(0).toUpperCase()+a.substring(1);pb[b]=pb[a]})});function rb(a,b,c){return null==b||\"boolean\"===typeof b||\"\"===b?\"\":c||\"number\"!==typeof b||0===b||pb.hasOwnProperty(a)&&pb[a]?(\"\"+b).trim():b+\"px\"}\nfunction sb(a,b){a=a.style;for(var c in b)if(b.hasOwnProperty(c)){var d=0===c.indexOf(\"--\"),e=rb(c,b[c],d);\"float\"===c&&(c=\"cssFloat\");d?a.setProperty(c,e):a[c]=e}}var tb=A({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});\nfunction ub(a,b){if(b){if(tb[a]&&(null!=b.children||null!=b.dangerouslySetInnerHTML))throw Error(p(137,a));if(null!=b.dangerouslySetInnerHTML){if(null!=b.children)throw Error(p(60));if(\"object\"!==typeof b.dangerouslySetInnerHTML||!(\"__html\"in b.dangerouslySetInnerHTML))throw Error(p(61));}if(null!=b.style&&\"object\"!==typeof b.style)throw Error(p(62));}}\nfunction vb(a,b){if(-1===a.indexOf(\"-\"))return\"string\"===typeof b.is;switch(a){case \"annotation-xml\":case \"color-profile\":case \"font-face\":case \"font-face-src\":case \"font-face-uri\":case \"font-face-format\":case \"font-face-name\":case \"missing-glyph\":return!1;default:return!0}}var wb=null;function xb(a){a=a.target||a.srcElement||window;a.correspondingUseElement&&(a=a.correspondingUseElement);return 3===a.nodeType?a.parentNode:a}var yb=null,zb=null,Ab=null;\nfunction Bb(a){if(a=Cb(a)){if(\"function\"!==typeof yb)throw Error(p(280));var b=a.stateNode;b&&(b=Db(b),yb(a.stateNode,a.type,b))}}function Eb(a){zb?Ab?Ab.push(a):Ab=[a]:zb=a}function Fb(){if(zb){var a=zb,b=Ab;Ab=zb=null;Bb(a);if(b)for(a=0;a>>=0;return 0===a?32:31-(pc(a)/qc|0)|0}var rc=64,sc=4194304;\nfunction tc(a){switch(a&-a){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return a&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return a&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;\ndefault:return a}}function uc(a,b){var c=a.pendingLanes;if(0===c)return 0;var d=0,e=a.suspendedLanes,f=a.pingedLanes,g=c&268435455;if(0!==g){var h=g&~e;0!==h?d=tc(h):(f&=g,0!==f&&(d=tc(f)))}else g=c&~e,0!==g?d=tc(g):0!==f&&(d=tc(f));if(0===d)return 0;if(0!==b&&b!==d&&0===(b&e)&&(e=d&-d,f=b&-b,e>=f||16===e&&0!==(f&4194240)))return b;0!==(d&4)&&(d|=c&16);b=a.entangledLanes;if(0!==b)for(a=a.entanglements,b&=d;0c;c++)b.push(a);return b}\nfunction Ac(a,b,c){a.pendingLanes|=b;536870912!==b&&(a.suspendedLanes=0,a.pingedLanes=0);a=a.eventTimes;b=31-oc(b);a[b]=c}function Bc(a,b){var c=a.pendingLanes&~b;a.pendingLanes=b;a.suspendedLanes=0;a.pingedLanes=0;a.expiredLanes&=b;a.mutableReadLanes&=b;a.entangledLanes&=b;b=a.entanglements;var d=a.eventTimes;for(a=a.expirationTimes;0=be),ee=String.fromCharCode(32),fe=!1;\nfunction ge(a,b){switch(a){case \"keyup\":return-1!==$d.indexOf(b.keyCode);case \"keydown\":return 229!==b.keyCode;case \"keypress\":case \"mousedown\":case \"focusout\":return!0;default:return!1}}function he(a){a=a.detail;return\"object\"===typeof a&&\"data\"in a?a.data:null}var ie=!1;function je(a,b){switch(a){case \"compositionend\":return he(b);case \"keypress\":if(32!==b.which)return null;fe=!0;return ee;case \"textInput\":return a=b.data,a===ee&&fe?null:a;default:return null}}\nfunction ke(a,b){if(ie)return\"compositionend\"===a||!ae&&ge(a,b)?(a=nd(),md=ld=kd=null,ie=!1,a):null;switch(a){case \"paste\":return null;case \"keypress\":if(!(b.ctrlKey||b.altKey||b.metaKey)||b.ctrlKey&&b.altKey){if(b.char&&1=b)return{node:c,offset:b-a};a=d}a:{for(;c;){if(c.nextSibling){c=c.nextSibling;break a}c=c.parentNode}c=void 0}c=Je(c)}}function Le(a,b){return a&&b?a===b?!0:a&&3===a.nodeType?!1:b&&3===b.nodeType?Le(a,b.parentNode):\"contains\"in a?a.contains(b):a.compareDocumentPosition?!!(a.compareDocumentPosition(b)&16):!1:!1}\nfunction Me(){for(var a=window,b=Xa();b instanceof a.HTMLIFrameElement;){try{var c=\"string\"===typeof b.contentWindow.location.href}catch(d){c=!1}if(c)a=b.contentWindow;else break;b=Xa(a.document)}return b}function Ne(a){var b=a&&a.nodeName&&a.nodeName.toLowerCase();return b&&(\"input\"===b&&(\"text\"===a.type||\"search\"===a.type||\"tel\"===a.type||\"url\"===a.type||\"password\"===a.type)||\"textarea\"===b||\"true\"===a.contentEditable)}\nfunction Oe(a){var b=Me(),c=a.focusedElem,d=a.selectionRange;if(b!==c&&c&&c.ownerDocument&&Le(c.ownerDocument.documentElement,c)){if(null!==d&&Ne(c))if(b=d.start,a=d.end,void 0===a&&(a=b),\"selectionStart\"in c)c.selectionStart=b,c.selectionEnd=Math.min(a,c.value.length);else if(a=(b=c.ownerDocument||document)&&b.defaultView||window,a.getSelection){a=a.getSelection();var e=c.textContent.length,f=Math.min(d.start,e);d=void 0===d.end?f:Math.min(d.end,e);!a.extend&&f>d&&(e=d,d=f,f=e);e=Ke(c,f);var g=Ke(c,\nd);e&&g&&(1!==a.rangeCount||a.anchorNode!==e.node||a.anchorOffset!==e.offset||a.focusNode!==g.node||a.focusOffset!==g.offset)&&(b=b.createRange(),b.setStart(e.node,e.offset),a.removeAllRanges(),f>d?(a.addRange(b),a.extend(g.node,g.offset)):(b.setEnd(g.node,g.offset),a.addRange(b)))}b=[];for(a=c;a=a.parentNode;)1===a.nodeType&&b.push({element:a,left:a.scrollLeft,top:a.scrollTop});\"function\"===typeof c.focus&&c.focus();for(c=0;c=document.documentMode,Qe=null,Re=null,Se=null,Te=!1;\nfunction Ue(a,b,c){var d=c.window===c?c.document:9===c.nodeType?c:c.ownerDocument;Te||null==Qe||Qe!==Xa(d)||(d=Qe,\"selectionStart\"in d&&Ne(d)?d={start:d.selectionStart,end:d.selectionEnd}:(d=(d.ownerDocument&&d.ownerDocument.defaultView||window).getSelection(),d={anchorNode:d.anchorNode,anchorOffset:d.anchorOffset,focusNode:d.focusNode,focusOffset:d.focusOffset}),Se&&Ie(Se,d)||(Se=d,d=oe(Re,\"onSelect\"),0Tf||(a.current=Sf[Tf],Sf[Tf]=null,Tf--)}function G(a,b){Tf++;Sf[Tf]=a.current;a.current=b}var Vf={},H=Uf(Vf),Wf=Uf(!1),Xf=Vf;function Yf(a,b){var c=a.type.contextTypes;if(!c)return Vf;var d=a.stateNode;if(d&&d.__reactInternalMemoizedUnmaskedChildContext===b)return d.__reactInternalMemoizedMaskedChildContext;var e={},f;for(f in c)e[f]=b[f];d&&(a=a.stateNode,a.__reactInternalMemoizedUnmaskedChildContext=b,a.__reactInternalMemoizedMaskedChildContext=e);return e}\nfunction Zf(a){a=a.childContextTypes;return null!==a&&void 0!==a}function $f(){E(Wf);E(H)}function ag(a,b,c){if(H.current!==Vf)throw Error(p(168));G(H,b);G(Wf,c)}function bg(a,b,c){var d=a.stateNode;b=b.childContextTypes;if(\"function\"!==typeof d.getChildContext)return c;d=d.getChildContext();for(var e in d)if(!(e in b))throw Error(p(108,Ra(a)||\"Unknown\",e));return A({},c,d)}\nfunction cg(a){a=(a=a.stateNode)&&a.__reactInternalMemoizedMergedChildContext||Vf;Xf=H.current;G(H,a);G(Wf,Wf.current);return!0}function dg(a,b,c){var d=a.stateNode;if(!d)throw Error(p(169));c?(a=bg(a,b,Xf),d.__reactInternalMemoizedMergedChildContext=a,E(Wf),E(H),G(H,a)):E(Wf);G(Wf,c)}var eg=null,fg=!1,gg=!1;function hg(a){null===eg?eg=[a]:eg.push(a)}function ig(a){fg=!0;hg(a)}\nfunction jg(){if(!gg&&null!==eg){gg=!0;var a=0,b=C;try{var c=eg;for(C=1;a>=g;e-=g;rg=1<<32-oc(b)+e|c<w?(x=u,u=null):x=u.sibling;var n=r(e,u,h[w],k);if(null===n){null===u&&(u=x);break}a&&u&&null===n.alternate&&b(e,u);g=f(n,g,w);null===m?l=n:m.sibling=n;m=n;u=x}if(w===h.length)return c(e,u),I&&tg(e,w),l;if(null===u){for(;ww?(x=m,m=null):x=m.sibling;var t=r(e,m,n.value,k);if(null===t){null===m&&(m=x);break}a&&m&&null===t.alternate&&b(e,m);g=f(t,g,w);null===u?l=t:u.sibling=t;u=t;m=x}if(n.done)return c(e,\nm),I&&tg(e,w),l;if(null===m){for(;!n.done;w++,n=h.next())n=q(e,n.value,k),null!==n&&(g=f(n,g,w),null===u?l=n:u.sibling=n,u=n);I&&tg(e,w);return l}for(m=d(e,m);!n.done;w++,n=h.next())n=y(m,e,w,n.value,k),null!==n&&(a&&null!==n.alternate&&m.delete(null===n.key?w:n.key),g=f(n,g,w),null===u?l=n:u.sibling=n,u=n);a&&m.forEach(function(a){return b(e,a)});I&&tg(e,w);return l}function J(a,d,f,h){\"object\"===typeof f&&null!==f&&f.type===ya&&null===f.key&&(f=f.props.children);if(\"object\"===typeof f&&null!==f){switch(f.$$typeof){case va:a:{for(var k=\nf.key,l=d;null!==l;){if(l.key===k){k=f.type;if(k===ya){if(7===l.tag){c(a,l.sibling);d=e(l,f.props.children);d.return=a;a=d;break a}}else if(l.elementType===k||\"object\"===typeof k&&null!==k&&k.$$typeof===Ha&&Ng(k)===l.type){c(a,l.sibling);d=e(l,f.props);d.ref=Lg(a,l,f);d.return=a;a=d;break a}c(a,l);break}else b(a,l);l=l.sibling}f.type===ya?(d=Tg(f.props.children,a.mode,h,f.key),d.return=a,a=d):(h=Rg(f.type,f.key,f.props,null,a.mode,h),h.ref=Lg(a,d,f),h.return=a,a=h)}return g(a);case wa:a:{for(l=f.key;null!==\nd;){if(d.key===l)if(4===d.tag&&d.stateNode.containerInfo===f.containerInfo&&d.stateNode.implementation===f.implementation){c(a,d.sibling);d=e(d,f.children||[]);d.return=a;a=d;break a}else{c(a,d);break}else b(a,d);d=d.sibling}d=Sg(f,a.mode,h);d.return=a;a=d}return g(a);case Ha:return l=f._init,J(a,d,l(f._payload),h)}if(eb(f))return n(a,d,f,h);if(Ka(f))return t(a,d,f,h);Mg(a,f)}return\"string\"===typeof f&&\"\"!==f||\"number\"===typeof f?(f=\"\"+f,null!==d&&6===d.tag?(c(a,d.sibling),d=e(d,f),d.return=a,a=d):\n(c(a,d),d=Qg(f,a.mode,h),d.return=a,a=d),g(a)):c(a,d)}return J}var Ug=Og(!0),Vg=Og(!1),Wg=Uf(null),Xg=null,Yg=null,Zg=null;function $g(){Zg=Yg=Xg=null}function ah(a){var b=Wg.current;E(Wg);a._currentValue=b}function bh(a,b,c){for(;null!==a;){var d=a.alternate;(a.childLanes&b)!==b?(a.childLanes|=b,null!==d&&(d.childLanes|=b)):null!==d&&(d.childLanes&b)!==b&&(d.childLanes|=b);if(a===c)break;a=a.return}}\nfunction ch(a,b){Xg=a;Zg=Yg=null;a=a.dependencies;null!==a&&null!==a.firstContext&&(0!==(a.lanes&b)&&(dh=!0),a.firstContext=null)}function eh(a){var b=a._currentValue;if(Zg!==a)if(a={context:a,memoizedValue:b,next:null},null===Yg){if(null===Xg)throw Error(p(308));Yg=a;Xg.dependencies={lanes:0,firstContext:a}}else Yg=Yg.next=a;return b}var fh=null;function gh(a){null===fh?fh=[a]:fh.push(a)}\nfunction hh(a,b,c,d){var e=b.interleaved;null===e?(c.next=c,gh(b)):(c.next=e.next,e.next=c);b.interleaved=c;return ih(a,d)}function ih(a,b){a.lanes|=b;var c=a.alternate;null!==c&&(c.lanes|=b);c=a;for(a=a.return;null!==a;)a.childLanes|=b,c=a.alternate,null!==c&&(c.childLanes|=b),c=a,a=a.return;return 3===c.tag?c.stateNode:null}var jh=!1;function kh(a){a.updateQueue={baseState:a.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}\nfunction lh(a,b){a=a.updateQueue;b.updateQueue===a&&(b.updateQueue={baseState:a.baseState,firstBaseUpdate:a.firstBaseUpdate,lastBaseUpdate:a.lastBaseUpdate,shared:a.shared,effects:a.effects})}function mh(a,b){return{eventTime:a,lane:b,tag:0,payload:null,callback:null,next:null}}\nfunction nh(a,b,c){var d=a.updateQueue;if(null===d)return null;d=d.shared;if(0!==(K&2)){var e=d.pending;null===e?b.next=b:(b.next=e.next,e.next=b);d.pending=b;return ih(a,c)}e=d.interleaved;null===e?(b.next=b,gh(d)):(b.next=e.next,e.next=b);d.interleaved=b;return ih(a,c)}function oh(a,b,c){b=b.updateQueue;if(null!==b&&(b=b.shared,0!==(c&4194240))){var d=b.lanes;d&=a.pendingLanes;c|=d;b.lanes=c;Cc(a,c)}}\nfunction ph(a,b){var c=a.updateQueue,d=a.alternate;if(null!==d&&(d=d.updateQueue,c===d)){var e=null,f=null;c=c.firstBaseUpdate;if(null!==c){do{var g={eventTime:c.eventTime,lane:c.lane,tag:c.tag,payload:c.payload,callback:c.callback,next:null};null===f?e=f=g:f=f.next=g;c=c.next}while(null!==c);null===f?e=f=b:f=f.next=b}else e=f=b;c={baseState:d.baseState,firstBaseUpdate:e,lastBaseUpdate:f,shared:d.shared,effects:d.effects};a.updateQueue=c;return}a=c.lastBaseUpdate;null===a?c.firstBaseUpdate=b:a.next=\nb;c.lastBaseUpdate=b}\nfunction qh(a,b,c,d){var e=a.updateQueue;jh=!1;var f=e.firstBaseUpdate,g=e.lastBaseUpdate,h=e.shared.pending;if(null!==h){e.shared.pending=null;var k=h,l=k.next;k.next=null;null===g?f=l:g.next=l;g=k;var m=a.alternate;null!==m&&(m=m.updateQueue,h=m.lastBaseUpdate,h!==g&&(null===h?m.firstBaseUpdate=l:h.next=l,m.lastBaseUpdate=k))}if(null!==f){var q=e.baseState;g=0;m=l=k=null;h=f;do{var r=h.lane,y=h.eventTime;if((d&r)===r){null!==m&&(m=m.next={eventTime:y,lane:0,tag:h.tag,payload:h.payload,callback:h.callback,\nnext:null});a:{var n=a,t=h;r=b;y=c;switch(t.tag){case 1:n=t.payload;if(\"function\"===typeof n){q=n.call(y,q,r);break a}q=n;break a;case 3:n.flags=n.flags&-65537|128;case 0:n=t.payload;r=\"function\"===typeof n?n.call(y,q,r):n;if(null===r||void 0===r)break a;q=A({},q,r);break a;case 2:jh=!0}}null!==h.callback&&0!==h.lane&&(a.flags|=64,r=e.effects,null===r?e.effects=[h]:r.push(h))}else y={eventTime:y,lane:r,tag:h.tag,payload:h.payload,callback:h.callback,next:null},null===m?(l=m=y,k=q):m=m.next=y,g|=r;\nh=h.next;if(null===h)if(h=e.shared.pending,null===h)break;else r=h,h=r.next,r.next=null,e.lastBaseUpdate=r,e.shared.pending=null}while(1);null===m&&(k=q);e.baseState=k;e.firstBaseUpdate=l;e.lastBaseUpdate=m;b=e.shared.interleaved;if(null!==b){e=b;do g|=e.lane,e=e.next;while(e!==b)}else null===f&&(e.shared.lanes=0);rh|=g;a.lanes=g;a.memoizedState=q}}\nfunction sh(a,b,c){a=b.effects;b.effects=null;if(null!==a)for(b=0;bc?c:4;a(!0);var d=Gh.transition;Gh.transition={};try{a(!1),b()}finally{C=c,Gh.transition=d}}function wi(){return Uh().memoizedState}\nfunction xi(a,b,c){var d=yi(a);c={lane:d,action:c,hasEagerState:!1,eagerState:null,next:null};if(zi(a))Ai(b,c);else if(c=hh(a,b,c,d),null!==c){var e=R();gi(c,a,d,e);Bi(c,b,d)}}\nfunction ii(a,b,c){var d=yi(a),e={lane:d,action:c,hasEagerState:!1,eagerState:null,next:null};if(zi(a))Ai(b,e);else{var f=a.alternate;if(0===a.lanes&&(null===f||0===f.lanes)&&(f=b.lastRenderedReducer,null!==f))try{var g=b.lastRenderedState,h=f(g,c);e.hasEagerState=!0;e.eagerState=h;if(He(h,g)){var k=b.interleaved;null===k?(e.next=e,gh(b)):(e.next=k.next,k.next=e);b.interleaved=e;return}}catch(l){}finally{}c=hh(a,b,e,d);null!==c&&(e=R(),gi(c,a,d,e),Bi(c,b,d))}}\nfunction zi(a){var b=a.alternate;return a===M||null!==b&&b===M}function Ai(a,b){Jh=Ih=!0;var c=a.pending;null===c?b.next=b:(b.next=c.next,c.next=b);a.pending=b}function Bi(a,b,c){if(0!==(c&4194240)){var d=b.lanes;d&=a.pendingLanes;c|=d;b.lanes=c;Cc(a,c)}}\nvar Rh={readContext:eh,useCallback:P,useContext:P,useEffect:P,useImperativeHandle:P,useInsertionEffect:P,useLayoutEffect:P,useMemo:P,useReducer:P,useRef:P,useState:P,useDebugValue:P,useDeferredValue:P,useTransition:P,useMutableSource:P,useSyncExternalStore:P,useId:P,unstable_isNewReconciler:!1},Oh={readContext:eh,useCallback:function(a,b){Th().memoizedState=[a,void 0===b?null:b];return a},useContext:eh,useEffect:mi,useImperativeHandle:function(a,b,c){c=null!==c&&void 0!==c?c.concat([a]):null;return ki(4194308,\n4,pi.bind(null,b,a),c)},useLayoutEffect:function(a,b){return ki(4194308,4,a,b)},useInsertionEffect:function(a,b){return ki(4,2,a,b)},useMemo:function(a,b){var c=Th();b=void 0===b?null:b;a=a();c.memoizedState=[a,b];return a},useReducer:function(a,b,c){var d=Th();b=void 0!==c?c(b):b;d.memoizedState=d.baseState=b;a={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:a,lastRenderedState:b};d.queue=a;a=a.dispatch=xi.bind(null,M,a);return[d.memoizedState,a]},useRef:function(a){var b=\nTh();a={current:a};return b.memoizedState=a},useState:hi,useDebugValue:ri,useDeferredValue:function(a){return Th().memoizedState=a},useTransition:function(){var a=hi(!1),b=a[0];a=vi.bind(null,a[1]);Th().memoizedState=a;return[b,a]},useMutableSource:function(){},useSyncExternalStore:function(a,b,c){var d=M,e=Th();if(I){if(void 0===c)throw Error(p(407));c=c()}else{c=b();if(null===Q)throw Error(p(349));0!==(Hh&30)||di(d,b,c)}e.memoizedState=c;var f={value:c,getSnapshot:b};e.queue=f;mi(ai.bind(null,d,\nf,a),[a]);d.flags|=2048;bi(9,ci.bind(null,d,f,c,b),void 0,null);return c},useId:function(){var a=Th(),b=Q.identifierPrefix;if(I){var c=sg;var d=rg;c=(d&~(1<<32-oc(d)-1)).toString(32)+c;b=\":\"+b+\"R\"+c;c=Kh++;0\\x3c/script>\",a=a.removeChild(a.firstChild)):\n\"string\"===typeof d.is?a=g.createElement(c,{is:d.is}):(a=g.createElement(c),\"select\"===c&&(g=a,d.multiple?g.multiple=!0:d.size&&(g.size=d.size))):a=g.createElementNS(a,c);a[Of]=b;a[Pf]=d;zj(a,b,!1,!1);b.stateNode=a;a:{g=vb(c,d);switch(c){case \"dialog\":D(\"cancel\",a);D(\"close\",a);e=d;break;case \"iframe\":case \"object\":case \"embed\":D(\"load\",a);e=d;break;case \"video\":case \"audio\":for(e=0;eGj&&(b.flags|=128,d=!0,Dj(f,!1),b.lanes=4194304)}else{if(!d)if(a=Ch(g),null!==a){if(b.flags|=128,d=!0,c=a.updateQueue,null!==c&&(b.updateQueue=c,b.flags|=4),Dj(f,!0),null===f.tail&&\"hidden\"===f.tailMode&&!g.alternate&&!I)return S(b),null}else 2*B()-f.renderingStartTime>Gj&&1073741824!==c&&(b.flags|=128,d=!0,Dj(f,!1),b.lanes=4194304);f.isBackwards?(g.sibling=b.child,b.child=g):(c=f.last,null!==c?c.sibling=g:b.child=g,f.last=g)}if(null!==f.tail)return b=f.tail,f.rendering=\nb,f.tail=b.sibling,f.renderingStartTime=B(),b.sibling=null,c=L.current,G(L,d?c&1|2:c&1),b;S(b);return null;case 22:case 23:return Hj(),d=null!==b.memoizedState,null!==a&&null!==a.memoizedState!==d&&(b.flags|=8192),d&&0!==(b.mode&1)?0!==(fj&1073741824)&&(S(b),b.subtreeFlags&6&&(b.flags|=8192)):S(b),null;case 24:return null;case 25:return null}throw Error(p(156,b.tag));}\nfunction Ij(a,b){wg(b);switch(b.tag){case 1:return Zf(b.type)&&$f(),a=b.flags,a&65536?(b.flags=a&-65537|128,b):null;case 3:return zh(),E(Wf),E(H),Eh(),a=b.flags,0!==(a&65536)&&0===(a&128)?(b.flags=a&-65537|128,b):null;case 5:return Bh(b),null;case 13:E(L);a=b.memoizedState;if(null!==a&&null!==a.dehydrated){if(null===b.alternate)throw Error(p(340));Ig()}a=b.flags;return a&65536?(b.flags=a&-65537|128,b):null;case 19:return E(L),null;case 4:return zh(),null;case 10:return ah(b.type._context),null;case 22:case 23:return Hj(),\nnull;case 24:return null;default:return null}}var Jj=!1,U=!1,Kj=\"function\"===typeof WeakSet?WeakSet:Set,V=null;function Lj(a,b){var c=a.ref;if(null!==c)if(\"function\"===typeof c)try{c(null)}catch(d){W(a,b,d)}else c.current=null}function Mj(a,b,c){try{c()}catch(d){W(a,b,d)}}var Nj=!1;\nfunction Oj(a,b){Cf=dd;a=Me();if(Ne(a)){if(\"selectionStart\"in a)var c={start:a.selectionStart,end:a.selectionEnd};else a:{c=(c=a.ownerDocument)&&c.defaultView||window;var d=c.getSelection&&c.getSelection();if(d&&0!==d.rangeCount){c=d.anchorNode;var e=d.anchorOffset,f=d.focusNode;d=d.focusOffset;try{c.nodeType,f.nodeType}catch(F){c=null;break a}var g=0,h=-1,k=-1,l=0,m=0,q=a,r=null;b:for(;;){for(var y;;){q!==c||0!==e&&3!==q.nodeType||(h=g+e);q!==f||0!==d&&3!==q.nodeType||(k=g+d);3===q.nodeType&&(g+=\nq.nodeValue.length);if(null===(y=q.firstChild))break;r=q;q=y}for(;;){if(q===a)break b;r===c&&++l===e&&(h=g);r===f&&++m===d&&(k=g);if(null!==(y=q.nextSibling))break;q=r;r=q.parentNode}q=y}c=-1===h||-1===k?null:{start:h,end:k}}else c=null}c=c||{start:0,end:0}}else c=null;Df={focusedElem:a,selectionRange:c};dd=!1;for(V=b;null!==V;)if(b=V,a=b.child,0!==(b.subtreeFlags&1028)&&null!==a)a.return=b,V=a;else for(;null!==V;){b=V;try{var n=b.alternate;if(0!==(b.flags&1024))switch(b.tag){case 0:case 11:case 15:break;\ncase 1:if(null!==n){var t=n.memoizedProps,J=n.memoizedState,x=b.stateNode,w=x.getSnapshotBeforeUpdate(b.elementType===b.type?t:Ci(b.type,t),J);x.__reactInternalSnapshotBeforeUpdate=w}break;case 3:var u=b.stateNode.containerInfo;1===u.nodeType?u.textContent=\"\":9===u.nodeType&&u.documentElement&&u.removeChild(u.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(p(163));}}catch(F){W(b,b.return,F)}a=b.sibling;if(null!==a){a.return=b.return;V=a;break}V=b.return}n=Nj;Nj=!1;return n}\nfunction Pj(a,b,c){var d=b.updateQueue;d=null!==d?d.lastEffect:null;if(null!==d){var e=d=d.next;do{if((e.tag&a)===a){var f=e.destroy;e.destroy=void 0;void 0!==f&&Mj(b,c,f)}e=e.next}while(e!==d)}}function Qj(a,b){b=b.updateQueue;b=null!==b?b.lastEffect:null;if(null!==b){var c=b=b.next;do{if((c.tag&a)===a){var d=c.create;c.destroy=d()}c=c.next}while(c!==b)}}function Rj(a){var b=a.ref;if(null!==b){var c=a.stateNode;switch(a.tag){case 5:a=c;break;default:a=c}\"function\"===typeof b?b(a):b.current=a}}\nfunction Sj(a){var b=a.alternate;null!==b&&(a.alternate=null,Sj(b));a.child=null;a.deletions=null;a.sibling=null;5===a.tag&&(b=a.stateNode,null!==b&&(delete b[Of],delete b[Pf],delete b[of],delete b[Qf],delete b[Rf]));a.stateNode=null;a.return=null;a.dependencies=null;a.memoizedProps=null;a.memoizedState=null;a.pendingProps=null;a.stateNode=null;a.updateQueue=null}function Tj(a){return 5===a.tag||3===a.tag||4===a.tag}\nfunction Uj(a){a:for(;;){for(;null===a.sibling;){if(null===a.return||Tj(a.return))return null;a=a.return}a.sibling.return=a.return;for(a=a.sibling;5!==a.tag&&6!==a.tag&&18!==a.tag;){if(a.flags&2)continue a;if(null===a.child||4===a.tag)continue a;else a.child.return=a,a=a.child}if(!(a.flags&2))return a.stateNode}}\nfunction Vj(a,b,c){var d=a.tag;if(5===d||6===d)a=a.stateNode,b?8===c.nodeType?c.parentNode.insertBefore(a,b):c.insertBefore(a,b):(8===c.nodeType?(b=c.parentNode,b.insertBefore(a,c)):(b=c,b.appendChild(a)),c=c._reactRootContainer,null!==c&&void 0!==c||null!==b.onclick||(b.onclick=Bf));else if(4!==d&&(a=a.child,null!==a))for(Vj(a,b,c),a=a.sibling;null!==a;)Vj(a,b,c),a=a.sibling}\nfunction Wj(a,b,c){var d=a.tag;if(5===d||6===d)a=a.stateNode,b?c.insertBefore(a,b):c.appendChild(a);else if(4!==d&&(a=a.child,null!==a))for(Wj(a,b,c),a=a.sibling;null!==a;)Wj(a,b,c),a=a.sibling}var X=null,Xj=!1;function Yj(a,b,c){for(c=c.child;null!==c;)Zj(a,b,c),c=c.sibling}\nfunction Zj(a,b,c){if(lc&&\"function\"===typeof lc.onCommitFiberUnmount)try{lc.onCommitFiberUnmount(kc,c)}catch(h){}switch(c.tag){case 5:U||Lj(c,b);case 6:var d=X,e=Xj;X=null;Yj(a,b,c);X=d;Xj=e;null!==X&&(Xj?(a=X,c=c.stateNode,8===a.nodeType?a.parentNode.removeChild(c):a.removeChild(c)):X.removeChild(c.stateNode));break;case 18:null!==X&&(Xj?(a=X,c=c.stateNode,8===a.nodeType?Kf(a.parentNode,c):1===a.nodeType&&Kf(a,c),bd(a)):Kf(X,c.stateNode));break;case 4:d=X;e=Xj;X=c.stateNode.containerInfo;Xj=!0;\nYj(a,b,c);X=d;Xj=e;break;case 0:case 11:case 14:case 15:if(!U&&(d=c.updateQueue,null!==d&&(d=d.lastEffect,null!==d))){e=d=d.next;do{var f=e,g=f.destroy;f=f.tag;void 0!==g&&(0!==(f&2)?Mj(c,b,g):0!==(f&4)&&Mj(c,b,g));e=e.next}while(e!==d)}Yj(a,b,c);break;case 1:if(!U&&(Lj(c,b),d=c.stateNode,\"function\"===typeof d.componentWillUnmount))try{d.props=c.memoizedProps,d.state=c.memoizedState,d.componentWillUnmount()}catch(h){W(c,b,h)}Yj(a,b,c);break;case 21:Yj(a,b,c);break;case 22:c.mode&1?(U=(d=U)||null!==\nc.memoizedState,Yj(a,b,c),U=d):Yj(a,b,c);break;default:Yj(a,b,c)}}function ak(a){var b=a.updateQueue;if(null!==b){a.updateQueue=null;var c=a.stateNode;null===c&&(c=a.stateNode=new Kj);b.forEach(function(b){var d=bk.bind(null,a,b);c.has(b)||(c.add(b),b.then(d,d))})}}\nfunction ck(a,b){var c=b.deletions;if(null!==c)for(var d=0;de&&(e=g);d&=~f}d=e;d=B()-d;d=(120>d?120:480>d?480:1080>d?1080:1920>d?1920:3E3>d?3E3:4320>d?4320:1960*lk(d/1960))-d;if(10a?16:a;if(null===wk)var d=!1;else{a=wk;wk=null;xk=0;if(0!==(K&6))throw Error(p(331));var e=K;K|=4;for(V=a.current;null!==V;){var f=V,g=f.child;if(0!==(V.flags&16)){var h=f.deletions;if(null!==h){for(var k=0;kB()-fk?Kk(a,0):rk|=c);Dk(a,b)}function Yk(a,b){0===b&&(0===(a.mode&1)?b=1:(b=sc,sc<<=1,0===(sc&130023424)&&(sc=4194304)));var c=R();a=ih(a,b);null!==a&&(Ac(a,b,c),Dk(a,c))}function uj(a){var b=a.memoizedState,c=0;null!==b&&(c=b.retryLane);Yk(a,c)}\nfunction bk(a,b){var c=0;switch(a.tag){case 13:var d=a.stateNode;var e=a.memoizedState;null!==e&&(c=e.retryLane);break;case 19:d=a.stateNode;break;default:throw Error(p(314));}null!==d&&d.delete(b);Yk(a,c)}var Vk;\nVk=function(a,b,c){if(null!==a)if(a.memoizedProps!==b.pendingProps||Wf.current)dh=!0;else{if(0===(a.lanes&c)&&0===(b.flags&128))return dh=!1,yj(a,b,c);dh=0!==(a.flags&131072)?!0:!1}else dh=!1,I&&0!==(b.flags&1048576)&&ug(b,ng,b.index);b.lanes=0;switch(b.tag){case 2:var d=b.type;ij(a,b);a=b.pendingProps;var e=Yf(b,H.current);ch(b,c);e=Nh(null,b,d,a,e,c);var f=Sh();b.flags|=1;\"object\"===typeof e&&null!==e&&\"function\"===typeof e.render&&void 0===e.$$typeof?(b.tag=1,b.memoizedState=null,b.updateQueue=\nnull,Zf(d)?(f=!0,cg(b)):f=!1,b.memoizedState=null!==e.state&&void 0!==e.state?e.state:null,kh(b),e.updater=Ei,b.stateNode=e,e._reactInternals=b,Ii(b,d,a,c),b=jj(null,b,d,!0,f,c)):(b.tag=0,I&&f&&vg(b),Xi(null,b,e,c),b=b.child);return b;case 16:d=b.elementType;a:{ij(a,b);a=b.pendingProps;e=d._init;d=e(d._payload);b.type=d;e=b.tag=Zk(d);a=Ci(d,a);switch(e){case 0:b=cj(null,b,d,a,c);break a;case 1:b=hj(null,b,d,a,c);break a;case 11:b=Yi(null,b,d,a,c);break a;case 14:b=$i(null,b,d,Ci(d.type,a),c);break a}throw Error(p(306,\nd,\"\"));}return b;case 0:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:Ci(d,e),cj(a,b,d,e,c);case 1:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:Ci(d,e),hj(a,b,d,e,c);case 3:a:{kj(b);if(null===a)throw Error(p(387));d=b.pendingProps;f=b.memoizedState;e=f.element;lh(a,b);qh(b,d,null,c);var g=b.memoizedState;d=g.element;if(f.isDehydrated)if(f={element:d,isDehydrated:!1,cache:g.cache,pendingSuspenseBoundaries:g.pendingSuspenseBoundaries,transitions:g.transitions},b.updateQueue.baseState=\nf,b.memoizedState=f,b.flags&256){e=Ji(Error(p(423)),b);b=lj(a,b,d,c,e);break a}else if(d!==e){e=Ji(Error(p(424)),b);b=lj(a,b,d,c,e);break a}else for(yg=Lf(b.stateNode.containerInfo.firstChild),xg=b,I=!0,zg=null,c=Vg(b,null,d,c),b.child=c;c;)c.flags=c.flags&-3|4096,c=c.sibling;else{Ig();if(d===e){b=Zi(a,b,c);break a}Xi(a,b,d,c)}b=b.child}return b;case 5:return Ah(b),null===a&&Eg(b),d=b.type,e=b.pendingProps,f=null!==a?a.memoizedProps:null,g=e.children,Ef(d,e)?g=null:null!==f&&Ef(d,f)&&(b.flags|=32),\ngj(a,b),Xi(a,b,g,c),b.child;case 6:return null===a&&Eg(b),null;case 13:return oj(a,b,c);case 4:return yh(b,b.stateNode.containerInfo),d=b.pendingProps,null===a?b.child=Ug(b,null,d,c):Xi(a,b,d,c),b.child;case 11:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:Ci(d,e),Yi(a,b,d,e,c);case 7:return Xi(a,b,b.pendingProps,c),b.child;case 8:return Xi(a,b,b.pendingProps.children,c),b.child;case 12:return Xi(a,b,b.pendingProps.children,c),b.child;case 10:a:{d=b.type._context;e=b.pendingProps;f=b.memoizedProps;\ng=e.value;G(Wg,d._currentValue);d._currentValue=g;if(null!==f)if(He(f.value,g)){if(f.children===e.children&&!Wf.current){b=Zi(a,b,c);break a}}else for(f=b.child,null!==f&&(f.return=b);null!==f;){var h=f.dependencies;if(null!==h){g=f.child;for(var k=h.firstContext;null!==k;){if(k.context===d){if(1===f.tag){k=mh(-1,c&-c);k.tag=2;var l=f.updateQueue;if(null!==l){l=l.shared;var m=l.pending;null===m?k.next=k:(k.next=m.next,m.next=k);l.pending=k}}f.lanes|=c;k=f.alternate;null!==k&&(k.lanes|=c);bh(f.return,\nc,b);h.lanes|=c;break}k=k.next}}else if(10===f.tag)g=f.type===b.type?null:f.child;else if(18===f.tag){g=f.return;if(null===g)throw Error(p(341));g.lanes|=c;h=g.alternate;null!==h&&(h.lanes|=c);bh(g,c,b);g=f.sibling}else g=f.child;if(null!==g)g.return=f;else for(g=f;null!==g;){if(g===b){g=null;break}f=g.sibling;if(null!==f){f.return=g.return;g=f;break}g=g.return}f=g}Xi(a,b,e.children,c);b=b.child}return b;case 9:return e=b.type,d=b.pendingProps.children,ch(b,c),e=eh(e),d=d(e),b.flags|=1,Xi(a,b,d,c),\nb.child;case 14:return d=b.type,e=Ci(d,b.pendingProps),e=Ci(d.type,e),$i(a,b,d,e,c);case 15:return bj(a,b,b.type,b.pendingProps,c);case 17:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:Ci(d,e),ij(a,b),b.tag=1,Zf(d)?(a=!0,cg(b)):a=!1,ch(b,c),Gi(b,d,e),Ii(b,d,e,c),jj(null,b,d,!0,a,c);case 19:return xj(a,b,c);case 22:return dj(a,b,c)}throw Error(p(156,b.tag));};function Fk(a,b){return ac(a,b)}\nfunction $k(a,b,c,d){this.tag=a;this.key=c;this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null;this.index=0;this.ref=null;this.pendingProps=b;this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null;this.mode=d;this.subtreeFlags=this.flags=0;this.deletions=null;this.childLanes=this.lanes=0;this.alternate=null}function Bg(a,b,c,d){return new $k(a,b,c,d)}function aj(a){a=a.prototype;return!(!a||!a.isReactComponent)}\nfunction Zk(a){if(\"function\"===typeof a)return aj(a)?1:0;if(void 0!==a&&null!==a){a=a.$$typeof;if(a===Da)return 11;if(a===Ga)return 14}return 2}\nfunction Pg(a,b){var c=a.alternate;null===c?(c=Bg(a.tag,b,a.key,a.mode),c.elementType=a.elementType,c.type=a.type,c.stateNode=a.stateNode,c.alternate=a,a.alternate=c):(c.pendingProps=b,c.type=a.type,c.flags=0,c.subtreeFlags=0,c.deletions=null);c.flags=a.flags&14680064;c.childLanes=a.childLanes;c.lanes=a.lanes;c.child=a.child;c.memoizedProps=a.memoizedProps;c.memoizedState=a.memoizedState;c.updateQueue=a.updateQueue;b=a.dependencies;c.dependencies=null===b?null:{lanes:b.lanes,firstContext:b.firstContext};\nc.sibling=a.sibling;c.index=a.index;c.ref=a.ref;return c}\nfunction Rg(a,b,c,d,e,f){var g=2;d=a;if(\"function\"===typeof a)aj(a)&&(g=1);else if(\"string\"===typeof a)g=5;else a:switch(a){case ya:return Tg(c.children,e,f,b);case za:g=8;e|=8;break;case Aa:return a=Bg(12,c,b,e|2),a.elementType=Aa,a.lanes=f,a;case Ea:return a=Bg(13,c,b,e),a.elementType=Ea,a.lanes=f,a;case Fa:return a=Bg(19,c,b,e),a.elementType=Fa,a.lanes=f,a;case Ia:return pj(c,e,f,b);default:if(\"object\"===typeof a&&null!==a)switch(a.$$typeof){case Ba:g=10;break a;case Ca:g=9;break a;case Da:g=11;\nbreak a;case Ga:g=14;break a;case Ha:g=16;d=null;break a}throw Error(p(130,null==a?a:typeof a,\"\"));}b=Bg(g,c,b,e);b.elementType=a;b.type=d;b.lanes=f;return b}function Tg(a,b,c,d){a=Bg(7,a,d,b);a.lanes=c;return a}function pj(a,b,c,d){a=Bg(22,a,d,b);a.elementType=Ia;a.lanes=c;a.stateNode={isHidden:!1};return a}function Qg(a,b,c){a=Bg(6,a,null,b);a.lanes=c;return a}\nfunction Sg(a,b,c){b=Bg(4,null!==a.children?a.children:[],a.key,b);b.lanes=c;b.stateNode={containerInfo:a.containerInfo,pendingChildren:null,implementation:a.implementation};return b}\nfunction al(a,b,c,d,e){this.tag=b;this.containerInfo=a;this.finishedWork=this.pingCache=this.current=this.pendingChildren=null;this.timeoutHandle=-1;this.callbackNode=this.pendingContext=this.context=null;this.callbackPriority=0;this.eventTimes=zc(0);this.expirationTimes=zc(-1);this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0;this.entanglements=zc(0);this.identifierPrefix=d;this.onRecoverableError=e;this.mutableSourceEagerHydrationData=\nnull}function bl(a,b,c,d,e,f,g,h,k){a=new al(a,b,c,h,k);1===b?(b=1,!0===f&&(b|=8)):b=0;f=Bg(3,null,null,b);a.current=f;f.stateNode=a;f.memoizedState={element:d,isDehydrated:c,cache:null,transitions:null,pendingSuspenseBoundaries:null};kh(f);return a}function cl(a,b,c){var d=3';\n\n var script = '\\n (function(w,d,s,l,i){w[l]=w[l]||[];\\n w[l].push({\\'gtm.start\\': new Date().getTime(),event:\\'gtm.js\\', ' + JSON.stringify(events).slice(1, -1) + '});\\n var f=d.getElementsByTagName(s)[0],j=d.createElement(s),dl=l!=\\'dataLayer\\'?\\'&l=\\'+l:\\'\\';\\n j.async=true;j.src=\\'https://www.googletagmanager.com/gtm.js?id=\\'+i+dl+\\'' + gtm_auth + gtm_preview + '>m_cookies_win=x\\';\\n f.parentNode.insertBefore(j,f);\\n })(window,document,\\'script\\',\\'' + dataLayerName + '\\',\\'' + id + '\\');';\n\n var dataLayerVar = this.dataLayer(dataLayer, dataLayerName);\n\n return {\n iframe: iframe,\n script: script,\n dataLayerVar: dataLayerVar\n };\n },\n dataLayer: function dataLayer(_dataLayer, dataLayerName) {\n return '\\n window.' + dataLayerName + ' = window.' + dataLayerName + ' || [];\\n window.' + dataLayerName + '.push(' + JSON.stringify(_dataLayer) + ')';\n }\n};\n\nmodule.exports = Snippets;","'use strict';\n\nvar _Snippets = require('./Snippets');\n\nvar _Snippets2 = _interopRequireDefault(_Snippets);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar TagManager = {\n dataScript: function dataScript(dataLayer) {\n var script = document.createElement('script');\n script.innerHTML = dataLayer;\n return script;\n },\n gtm: function gtm(args) {\n var snippets = _Snippets2.default.tags(args);\n\n var noScript = function noScript() {\n var noscript = document.createElement('noscript');\n noscript.innerHTML = snippets.iframe;\n return noscript;\n };\n\n var script = function script() {\n var script = document.createElement('script');\n script.innerHTML = snippets.script;\n return script;\n };\n\n var dataScript = this.dataScript(snippets.dataLayerVar);\n\n return {\n noScript: noScript,\n script: script,\n dataScript: dataScript\n };\n },\n initialize: function initialize(_ref) {\n var gtmId = _ref.gtmId,\n _ref$events = _ref.events,\n events = _ref$events === undefined ? {} : _ref$events,\n dataLayer = _ref.dataLayer,\n _ref$dataLayerName = _ref.dataLayerName,\n dataLayerName = _ref$dataLayerName === undefined ? 'dataLayer' : _ref$dataLayerName,\n _ref$auth = _ref.auth,\n auth = _ref$auth === undefined ? '' : _ref$auth,\n _ref$preview = _ref.preview,\n preview = _ref$preview === undefined ? '' : _ref$preview;\n\n var gtm = this.gtm({\n id: gtmId,\n events: events,\n dataLayer: dataLayer || undefined,\n dataLayerName: dataLayerName,\n auth: auth,\n preview: preview\n });\n if (dataLayer) document.head.appendChild(gtm.dataScript);\n document.head.insertBefore(gtm.script(), document.head.childNodes[0]);\n document.body.insertBefore(gtm.noScript(), document.body.childNodes[0]);\n },\n dataLayer: function dataLayer(_ref2) {\n var _dataLayer = _ref2.dataLayer,\n _ref2$dataLayerName = _ref2.dataLayerName,\n dataLayerName = _ref2$dataLayerName === undefined ? 'dataLayer' : _ref2$dataLayerName;\n\n if (window[dataLayerName]) return window[dataLayerName].push(_dataLayer);\n var snippets = _Snippets2.default.dataLayer(_dataLayer, dataLayerName);\n var dataScript = this.dataScript(snippets);\n document.head.insertBefore(dataScript, document.head.childNodes[0]);\n }\n};\n\nmodule.exports = TagManager;","'use strict';\n\nvar _TagManager = require('./TagManager');\n\nvar _TagManager2 = _interopRequireDefault(_TagManager);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nmodule.exports = _TagManager2.default;","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar warn = function warn(s) {\n console.warn('[react-gtm]', s);\n};\n\nexports.default = warn;","/**\n * @license React\n * react-is.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n'use strict';var b=Symbol.for(\"react.element\"),c=Symbol.for(\"react.portal\"),d=Symbol.for(\"react.fragment\"),e=Symbol.for(\"react.strict_mode\"),f=Symbol.for(\"react.profiler\"),g=Symbol.for(\"react.provider\"),h=Symbol.for(\"react.context\"),k=Symbol.for(\"react.server_context\"),l=Symbol.for(\"react.forward_ref\"),m=Symbol.for(\"react.suspense\"),n=Symbol.for(\"react.suspense_list\"),p=Symbol.for(\"react.memo\"),q=Symbol.for(\"react.lazy\"),t=Symbol.for(\"react.offscreen\"),u;u=Symbol.for(\"react.module.reference\");\nfunction v(a){if(\"object\"===typeof a&&null!==a){var r=a.$$typeof;switch(r){case b:switch(a=a.type,a){case d:case f:case e:case m:case n:return a;default:switch(a=a&&a.$$typeof,a){case k:case h:case l:case q:case p:case g:return a;default:return r}}case c:return r}}}exports.ContextConsumer=h;exports.ContextProvider=g;exports.Element=b;exports.ForwardRef=l;exports.Fragment=d;exports.Lazy=q;exports.Memo=p;exports.Portal=c;exports.Profiler=f;exports.StrictMode=e;exports.Suspense=m;\nexports.SuspenseList=n;exports.isAsyncMode=function(){return!1};exports.isConcurrentMode=function(){return!1};exports.isContextConsumer=function(a){return v(a)===h};exports.isContextProvider=function(a){return v(a)===g};exports.isElement=function(a){return\"object\"===typeof a&&null!==a&&a.$$typeof===b};exports.isForwardRef=function(a){return v(a)===l};exports.isFragment=function(a){return v(a)===d};exports.isLazy=function(a){return v(a)===q};exports.isMemo=function(a){return v(a)===p};\nexports.isPortal=function(a){return v(a)===c};exports.isProfiler=function(a){return v(a)===f};exports.isStrictMode=function(a){return v(a)===e};exports.isSuspense=function(a){return v(a)===m};exports.isSuspenseList=function(a){return v(a)===n};\nexports.isValidElementType=function(a){return\"string\"===typeof a||\"function\"===typeof a||a===d||a===f||a===e||a===m||a===n||a===t||\"object\"===typeof a&&null!==a&&(a.$$typeof===q||a.$$typeof===p||a.$$typeof===g||a.$$typeof===h||a.$$typeof===l||a.$$typeof===u||void 0!==a.getModuleId)?!0:!1};exports.typeOf=v;\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react-is.production.min.js');\n} else {\n module.exports = require('./cjs/react-is.development.js');\n}\n","import React from \"react\";\nimport { Router } from \"react-router\";\nimport { createBrowserHistory as createHistory } from \"history\";\nimport PropTypes from \"prop-types\";\nimport warning from \"tiny-warning\";\n\n/**\n * The public API for a that uses HTML5 history.\n */\nclass BrowserRouter extends React.Component {\n history = createHistory(this.props);\n\n render() {\n return ;\n }\n}\n\nif (__DEV__) {\n BrowserRouter.propTypes = {\n basename: PropTypes.string,\n children: PropTypes.node,\n forceRefresh: PropTypes.bool,\n getUserConfirmation: PropTypes.func,\n keyLength: PropTypes.number\n };\n\n BrowserRouter.prototype.componentDidMount = function() {\n warning(\n !this.props.history,\n \" ignores the history prop. To use a custom history, \" +\n \"use `import { Router }` instead of `import { BrowserRouter as Router }`.\"\n );\n };\n}\n\nexport default BrowserRouter;\n","import React from \"react\";\nimport { Router } from \"react-router\";\nimport { createHashHistory as createHistory } from \"history\";\nimport PropTypes from \"prop-types\";\nimport warning from \"tiny-warning\";\n\n/**\n * The public API for a that uses window.location.hash.\n */\nclass HashRouter extends React.Component {\n history = createHistory(this.props);\n\n render() {\n return ;\n }\n}\n\nif (__DEV__) {\n HashRouter.propTypes = {\n basename: PropTypes.string,\n children: PropTypes.node,\n getUserConfirmation: PropTypes.func,\n hashType: PropTypes.oneOf([\"hashbang\", \"noslash\", \"slash\"])\n };\n\n HashRouter.prototype.componentDidMount = function() {\n warning(\n !this.props.history,\n \" ignores the history prop. To use a custom history, \" +\n \"use `import { Router }` instead of `import { HashRouter as Router }`.\"\n );\n };\n}\n\nexport default HashRouter;\n","import { createLocation } from \"history\";\n\nexport const resolveToLocation = (to, currentLocation) =>\n typeof to === \"function\" ? to(currentLocation) : to;\n\nexport const normalizeToLocation = (to, currentLocation) => {\n return typeof to === \"string\"\n ? createLocation(to, null, null, currentLocation)\n : to;\n};\n","import React from \"react\";\nimport { __RouterContext as RouterContext } from \"react-router\";\nimport { createPath } from 'history';\nimport PropTypes from \"prop-types\";\nimport invariant from \"tiny-invariant\";\nimport {\n resolveToLocation,\n normalizeToLocation\n} from \"./utils/locationUtils.js\";\n\n// React 15 compat\nconst forwardRefShim = C => C;\nlet { forwardRef } = React;\nif (typeof forwardRef === \"undefined\") {\n forwardRef = forwardRefShim;\n}\n\nfunction isModifiedEvent(event) {\n return !!(event.metaKey || event.altKey || event.ctrlKey || event.shiftKey);\n}\n\nconst LinkAnchor = forwardRef(\n (\n {\n innerRef, // TODO: deprecate\n navigate,\n onClick,\n ...rest\n },\n forwardedRef\n ) => {\n const { target } = rest;\n\n let props = {\n ...rest,\n onClick: event => {\n try {\n if (onClick) onClick(event);\n } catch (ex) {\n event.preventDefault();\n throw ex;\n }\n\n if (\n !event.defaultPrevented && // onClick prevented default\n event.button === 0 && // ignore everything but left clicks\n (!target || target === \"_self\") && // let browser handle \"target=_blank\" etc.\n !isModifiedEvent(event) // ignore clicks with modifier keys\n ) {\n event.preventDefault();\n navigate();\n }\n }\n };\n\n // React 15 compat\n if (forwardRefShim !== forwardRef) {\n props.ref = forwardedRef || innerRef;\n } else {\n props.ref = innerRef;\n }\n\n /* eslint-disable-next-line jsx-a11y/anchor-has-content */\n return
;\n }\n);\n\nif (__DEV__) {\n LinkAnchor.displayName = \"LinkAnchor\";\n}\n\n/**\n * The public API for rendering a history-aware .\n */\nconst Link = forwardRef(\n (\n {\n component = LinkAnchor,\n replace,\n to,\n innerRef, // TODO: deprecate\n ...rest\n },\n forwardedRef\n ) => {\n return (\n \n {context => {\n invariant(context, \"You should not use outside a \");\n\n const { history } = context;\n\n const location = normalizeToLocation(\n resolveToLocation(to, context.location),\n context.location\n );\n\n const href = location ? history.createHref(location) : \"\";\n const props = {\n ...rest,\n href,\n navigate() {\n const location = resolveToLocation(to, context.location);\n const isDuplicateNavigation = createPath(context.location) === createPath(normalizeToLocation(location));\n const method = (replace || isDuplicateNavigation) ? history.replace : history.push;\n\n method(location);\n }\n };\n\n // React 15 compat\n if (forwardRefShim !== forwardRef) {\n props.ref = forwardedRef || innerRef;\n } else {\n props.innerRef = innerRef;\n }\n\n return React.createElement(component, props);\n }}\n \n );\n }\n);\n\nif (__DEV__) {\n const toType = PropTypes.oneOfType([\n PropTypes.string,\n PropTypes.object,\n PropTypes.func\n ]);\n const refType = PropTypes.oneOfType([\n PropTypes.string,\n PropTypes.func,\n PropTypes.shape({ current: PropTypes.any })\n ]);\n\n Link.displayName = \"Link\";\n\n Link.propTypes = {\n innerRef: refType,\n onClick: PropTypes.func,\n replace: PropTypes.bool,\n target: PropTypes.string,\n to: toType.isRequired\n };\n}\n\nexport default Link;\n","import React from \"react\";\nimport { __RouterContext as RouterContext, matchPath } from \"react-router\";\nimport PropTypes from \"prop-types\";\nimport invariant from \"tiny-invariant\";\nimport Link from \"./Link.js\";\nimport {\n resolveToLocation,\n normalizeToLocation\n} from \"./utils/locationUtils.js\";\n\n// React 15 compat\nconst forwardRefShim = C => C;\nlet { forwardRef } = React;\nif (typeof forwardRef === \"undefined\") {\n forwardRef = forwardRefShim;\n}\n\nfunction joinClassnames(...classnames) {\n return classnames.filter(i => i).join(\" \");\n}\n\n/**\n * A wrapper that knows if it's \"active\" or not.\n */\nconst NavLink = forwardRef(\n (\n {\n \"aria-current\": ariaCurrent = \"page\",\n activeClassName = \"active\", // TODO: deprecate\n activeStyle, // TODO: deprecate\n className: classNameProp,\n exact,\n isActive: isActiveProp,\n location: locationProp,\n sensitive,\n strict,\n style: styleProp,\n to,\n innerRef, // TODO: deprecate\n ...rest\n },\n forwardedRef\n ) => {\n return (\n \n {context => {\n invariant(context, \"You should not use outside a \");\n\n const currentLocation = locationProp || context.location;\n const toLocation = normalizeToLocation(\n resolveToLocation(to, currentLocation),\n currentLocation\n );\n const { pathname: path } = toLocation;\n // Regex taken from: https://github.com/pillarjs/path-to-regexp/blob/master/index.js#L202\n const escapedPath =\n path && path.replace(/([.+*?=^!:${}()[\\]|/\\\\])/g, \"\\\\$1\");\n\n const match = escapedPath\n ? matchPath(currentLocation.pathname, {\n path: escapedPath,\n exact,\n sensitive,\n strict\n })\n : null;\n const isActive = !!(isActiveProp\n ? isActiveProp(match, currentLocation)\n : match);\n\n let className =\n typeof classNameProp === \"function\"\n ? classNameProp(isActive)\n : classNameProp;\n\n let style =\n typeof styleProp === \"function\" ? styleProp(isActive) : styleProp;\n\n if (isActive) {\n className = joinClassnames(className, activeClassName);\n style = { ...style, ...activeStyle };\n }\n\n const props = {\n \"aria-current\": (isActive && ariaCurrent) || null,\n className,\n style,\n to: toLocation,\n ...rest\n };\n\n // React 15 compat\n if (forwardRefShim !== forwardRef) {\n props.ref = forwardedRef || innerRef;\n } else {\n props.innerRef = innerRef;\n }\n\n return ;\n }}\n \n );\n }\n);\n\nif (__DEV__) {\n NavLink.displayName = \"NavLink\";\n\n const ariaCurrentType = PropTypes.oneOf([\n \"page\",\n \"step\",\n \"location\",\n \"date\",\n \"time\",\n \"true\",\n \"false\"\n ]);\n\n NavLink.propTypes = {\n ...Link.propTypes,\n \"aria-current\": ariaCurrentType,\n activeClassName: PropTypes.string,\n activeStyle: PropTypes.object,\n className: PropTypes.oneOfType([PropTypes.string, PropTypes.func]),\n exact: PropTypes.bool,\n isActive: PropTypes.func,\n location: PropTypes.object,\n sensitive: PropTypes.bool,\n strict: PropTypes.bool,\n style: PropTypes.oneOfType([PropTypes.object, PropTypes.func])\n };\n}\n\nexport default NavLink;\n","// MIT License\n// Copyright (c) 2019-present StringEpsilon \n// Copyright (c) 2017-2019 James Kyle \n// https://github.com/StringEpsilon/mini-create-react-context\nimport React from \"react\";\nimport PropTypes from \"prop-types\";\nimport warning from \"tiny-warning\";\n\nconst MAX_SIGNED_31_BIT_INT = 1073741823;\n\nconst commonjsGlobal =\n typeof globalThis !== \"undefined\" // 'global proper'\n ? // eslint-disable-next-line no-undef\n globalThis\n : typeof window !== \"undefined\"\n ? window // Browser\n : typeof global !== \"undefined\"\n ? global // node.js\n : {};\n\nfunction getUniqueId() {\n let key = \"__global_unique_id__\";\n return (commonjsGlobal[key] = (commonjsGlobal[key] || 0) + 1);\n}\n\n// Inlined Object.is polyfill.\n// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is\nfunction objectIs(x, y) {\n if (x === y) {\n return x !== 0 || 1 / x === 1 / y;\n } else {\n // eslint-disable-next-line no-self-compare\n return x !== x && y !== y;\n }\n}\n\nfunction createEventEmitter(value) {\n let handlers = [];\n return {\n on(handler) {\n handlers.push(handler);\n },\n\n off(handler) {\n handlers = handlers.filter(h => h !== handler);\n },\n\n get() {\n return value;\n },\n\n set(newValue, changedBits) {\n value = newValue;\n handlers.forEach(handler => handler(value, changedBits));\n }\n };\n}\n\nfunction onlyChild(children) {\n return Array.isArray(children) ? children[0] : children;\n}\n\nexport default function createReactContext(defaultValue, calculateChangedBits) {\n const contextProp = \"__create-react-context-\" + getUniqueId() + \"__\";\n\n class Provider extends React.Component {\n emitter = createEventEmitter(this.props.value);\n\n static childContextTypes = {\n [contextProp]: PropTypes.object.isRequired\n };\n\n getChildContext() {\n return {\n [contextProp]: this.emitter\n };\n }\n\n componentWillReceiveProps(nextProps) {\n if (this.props.value !== nextProps.value) {\n let oldValue = this.props.value;\n let newValue = nextProps.value;\n let changedBits;\n\n if (objectIs(oldValue, newValue)) {\n changedBits = 0; // No change\n } else {\n changedBits =\n typeof calculateChangedBits === \"function\"\n ? calculateChangedBits(oldValue, newValue)\n : MAX_SIGNED_31_BIT_INT;\n if (process.env.NODE_ENV !== \"production\") {\n warning(\n (changedBits & MAX_SIGNED_31_BIT_INT) === changedBits,\n \"calculateChangedBits: Expected the return value to be a \" +\n \"31-bit integer. Instead received: \" +\n changedBits\n );\n }\n\n changedBits |= 0;\n\n if (changedBits !== 0) {\n this.emitter.set(nextProps.value, changedBits);\n }\n }\n }\n }\n\n render() {\n return this.props.children;\n }\n }\n\n class Consumer extends React.Component {\n static contextTypes = {\n [contextProp]: PropTypes.object\n };\n\n observedBits;\n\n state = {\n value: this.getValue()\n };\n\n componentWillReceiveProps(nextProps) {\n let { observedBits } = nextProps;\n this.observedBits =\n observedBits === undefined || observedBits === null\n ? MAX_SIGNED_31_BIT_INT // Subscribe to all changes by default\n : observedBits;\n }\n\n componentDidMount() {\n if (this.context[contextProp]) {\n this.context[contextProp].on(this.onUpdate);\n }\n let { observedBits } = this.props;\n this.observedBits =\n observedBits === undefined || observedBits === null\n ? MAX_SIGNED_31_BIT_INT // Subscribe to all changes by default\n : observedBits;\n }\n\n componentWillUnmount() {\n if (this.context[contextProp]) {\n this.context[contextProp].off(this.onUpdate);\n }\n }\n\n getValue() {\n if (this.context[contextProp]) {\n return this.context[contextProp].get();\n } else {\n return defaultValue;\n }\n }\n\n onUpdate = (newValue, changedBits) => {\n const observedBits = this.observedBits | 0;\n if ((observedBits & changedBits) !== 0) {\n this.setState({ value: this.getValue() });\n }\n };\n\n render() {\n return onlyChild(this.props.children)(this.state.value);\n }\n }\n\n return {\n Provider,\n Consumer\n };\n}\n","// MIT License\n// Copyright (c) 2019-present StringEpsilon \n// Copyright (c) 2017-2019 James Kyle \n// https://github.com/StringEpsilon/mini-create-react-context\nimport React from \"react\";\nimport createReactContext from \"./miniCreateReactContext\";\n\nexport default React.createContext || createReactContext;\n","// TODO: Replace with React.createContext once we can assume React 16+\nimport createContext from \"./createContext\";\n\nconst createNamedContext = name => {\n const context = createContext();\n context.displayName = name;\n\n return context;\n};\n\nexport default createNamedContext;\n","import createNamedContext from \"./createNamedContext\";\n\nconst historyContext = /*#__PURE__*/ createNamedContext(\"Router-History\");\nexport default historyContext;\n","import createNamedContext from \"./createNamedContext\";\n\nconst context = /*#__PURE__*/ createNamedContext(\"Router\");\nexport default context;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport warning from \"tiny-warning\";\n\nimport HistoryContext from \"./HistoryContext.js\";\nimport RouterContext from \"./RouterContext.js\";\n\n/**\n * The public API for putting history on context.\n */\nclass Router extends React.Component {\n static computeRootMatch(pathname) {\n return { path: \"/\", url: \"/\", params: {}, isExact: pathname === \"/\" };\n }\n\n constructor(props) {\n super(props);\n\n this.state = {\n location: props.history.location\n };\n\n // This is a bit of a hack. We have to start listening for location\n // changes here in the constructor in case there are any s\n // on the initial render. If there are, they will replace/push when\n // they mount and since cDM fires in children before parents, we may\n // get a new location before the is mounted.\n this._isMounted = false;\n this._pendingLocation = null;\n\n if (!props.staticContext) {\n this.unlisten = props.history.listen(location => {\n this._pendingLocation = location;\n });\n }\n }\n\n componentDidMount() {\n this._isMounted = true;\n\n if (this.unlisten) {\n // Any pre-mount location changes have been captured at\n // this point, so unregister the listener.\n this.unlisten();\n }\n if (!this.props.staticContext) {\n this.unlisten = this.props.history.listen(location => {\n if (this._isMounted) {\n this.setState({ location });\n }\n });\n }\n if (this._pendingLocation) {\n this.setState({ location: this._pendingLocation });\n }\n }\n\n componentWillUnmount() {\n if (this.unlisten) {\n this.unlisten();\n this._isMounted = false;\n this._pendingLocation = null;\n }\n }\n\n render() {\n return (\n \n \n \n );\n }\n}\n\nif (__DEV__) {\n Router.propTypes = {\n children: PropTypes.node,\n history: PropTypes.object.isRequired,\n staticContext: PropTypes.object\n };\n\n Router.prototype.componentDidUpdate = function(prevProps) {\n warning(\n prevProps.history === this.props.history,\n \"You cannot change \"\n );\n };\n}\n\nexport default Router;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { createMemoryHistory as createHistory } from \"history\";\nimport warning from \"tiny-warning\";\n\nimport Router from \"./Router.js\";\n\n/**\n * The public API for a that stores location in memory.\n */\nclass MemoryRouter extends React.Component {\n history = createHistory(this.props);\n\n render() {\n return ;\n }\n}\n\nif (__DEV__) {\n MemoryRouter.propTypes = {\n initialEntries: PropTypes.array,\n initialIndex: PropTypes.number,\n getUserConfirmation: PropTypes.func,\n keyLength: PropTypes.number,\n children: PropTypes.node\n };\n\n MemoryRouter.prototype.componentDidMount = function() {\n warning(\n !this.props.history,\n \" ignores the history prop. To use a custom history, \" +\n \"use `import { Router }` instead of `import { MemoryRouter as Router }`.\"\n );\n };\n}\n\nexport default MemoryRouter;\n","import React from \"react\";\n\nclass Lifecycle extends React.Component {\n componentDidMount() {\n if (this.props.onMount) this.props.onMount.call(this, this);\n }\n\n componentDidUpdate(prevProps) {\n if (this.props.onUpdate) this.props.onUpdate.call(this, this, prevProps);\n }\n\n componentWillUnmount() {\n if (this.props.onUnmount) this.props.onUnmount.call(this, this);\n }\n\n render() {\n return null;\n }\n}\n\nexport default Lifecycle;\n","import pathToRegexp from \"path-to-regexp\";\n\nconst cache = {};\nconst cacheLimit = 10000;\nlet cacheCount = 0;\n\nfunction compilePath(path) {\n if (cache[path]) return cache[path];\n\n const generator = pathToRegexp.compile(path);\n\n if (cacheCount < cacheLimit) {\n cache[path] = generator;\n cacheCount++;\n }\n\n return generator;\n}\n\n/**\n * Public API for generating a URL pathname from a path and parameters.\n */\nfunction generatePath(path = \"/\", params = {}) {\n return path === \"/\" ? path : compilePath(path)(params, { pretty: true });\n}\n\nexport default generatePath;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { createLocation, locationsAreEqual } from \"history\";\nimport invariant from \"tiny-invariant\";\n\nimport Lifecycle from \"./Lifecycle.js\";\nimport RouterContext from \"./RouterContext.js\";\nimport generatePath from \"./generatePath.js\";\n\n/**\n * The public API for navigating programmatically with a component.\n */\nfunction Redirect({ computedMatch, to, push = false }) {\n return (\n \n {context => {\n invariant(context, \"You should not use outside a \");\n\n const { history, staticContext } = context;\n\n const method = push ? history.push : history.replace;\n const location = createLocation(\n computedMatch\n ? typeof to === \"string\"\n ? generatePath(to, computedMatch.params)\n : {\n ...to,\n pathname: generatePath(to.pathname, computedMatch.params)\n }\n : to\n );\n\n // When rendering in a static context,\n // set the new location immediately.\n if (staticContext) {\n method(location);\n return null;\n }\n\n return (\n {\n method(location);\n }}\n onUpdate={(self, prevProps) => {\n const prevLocation = createLocation(prevProps.to);\n if (\n !locationsAreEqual(prevLocation, {\n ...location,\n key: prevLocation.key\n })\n ) {\n method(location);\n }\n }}\n to={to}\n />\n );\n }}\n \n );\n}\n\nif (__DEV__) {\n Redirect.propTypes = {\n push: PropTypes.bool,\n from: PropTypes.string,\n to: PropTypes.oneOfType([PropTypes.string, PropTypes.object]).isRequired\n };\n}\n\nexport default Redirect;\n","import pathToRegexp from \"path-to-regexp\";\n\nconst cache = {};\nconst cacheLimit = 10000;\nlet cacheCount = 0;\n\nfunction compilePath(path, options) {\n const cacheKey = `${options.end}${options.strict}${options.sensitive}`;\n const pathCache = cache[cacheKey] || (cache[cacheKey] = {});\n\n if (pathCache[path]) return pathCache[path];\n\n const keys = [];\n const regexp = pathToRegexp(path, keys, options);\n const result = { regexp, keys };\n\n if (cacheCount < cacheLimit) {\n pathCache[path] = result;\n cacheCount++;\n }\n\n return result;\n}\n\n/**\n * Public API for matching a URL pathname to a path.\n */\nfunction matchPath(pathname, options = {}) {\n if (typeof options === \"string\" || Array.isArray(options)) {\n options = { path: options };\n }\n\n const { path, exact = false, strict = false, sensitive = false } = options;\n\n const paths = [].concat(path);\n\n return paths.reduce((matched, path) => {\n if (!path && path !== \"\") return null;\n if (matched) return matched;\n\n const { regexp, keys } = compilePath(path, {\n end: exact,\n strict,\n sensitive\n });\n const match = regexp.exec(pathname);\n\n if (!match) return null;\n\n const [url, ...values] = match;\n const isExact = pathname === url;\n\n if (exact && !isExact) return null;\n\n return {\n path, // the path used to match\n url: path === \"/\" && url === \"\" ? \"/\" : url, // the matched portion of the URL\n isExact, // whether or not we matched exactly\n params: keys.reduce((memo, key, index) => {\n memo[key.name] = values[index];\n return memo;\n }, {})\n };\n }, null);\n}\n\nexport default matchPath;\n","import React from \"react\";\nimport { isValidElementType } from \"react-is\";\nimport PropTypes from \"prop-types\";\nimport invariant from \"tiny-invariant\";\nimport warning from \"tiny-warning\";\n\nimport RouterContext from \"./RouterContext.js\";\nimport matchPath from \"./matchPath.js\";\n\nfunction isEmptyChildren(children) {\n return React.Children.count(children) === 0;\n}\n\nfunction evalChildrenDev(children, props, path) {\n const value = children(props);\n\n warning(\n value !== undefined,\n \"You returned `undefined` from the `children` function of \" +\n `, but you ` +\n \"should have returned a React element or `null`\"\n );\n\n return value || null;\n}\n\n/**\n * The public API for matching a single path and rendering.\n */\nclass Route extends React.Component {\n render() {\n return (\n \n {context => {\n invariant(context, \"You should not use outside a \");\n\n const location = this.props.location || context.location;\n const match = this.props.computedMatch\n ? this.props.computedMatch // already computed the match for us\n : this.props.path\n ? matchPath(location.pathname, this.props)\n : context.match;\n\n const props = { ...context, location, match };\n\n let { children, component, render } = this.props;\n\n // Preact uses an empty array as children by\n // default, so use null if that's the case.\n if (Array.isArray(children) && isEmptyChildren(children)) {\n children = null;\n }\n\n return (\n \n {props.match\n ? children\n ? typeof children === \"function\"\n ? __DEV__\n ? evalChildrenDev(children, props, this.props.path)\n : children(props)\n : children\n : component\n ? React.createElement(component, props)\n : render\n ? render(props)\n : null\n : typeof children === \"function\"\n ? __DEV__\n ? evalChildrenDev(children, props, this.props.path)\n : children(props)\n : null}\n \n );\n }}\n \n );\n }\n}\n\nif (__DEV__) {\n Route.propTypes = {\n children: PropTypes.oneOfType([PropTypes.func, PropTypes.node]),\n component: (props, propName) => {\n if (props[propName] && !isValidElementType(props[propName])) {\n return new Error(\n `Invalid prop 'component' supplied to 'Route': the prop is not a valid React component`\n );\n }\n },\n exact: PropTypes.bool,\n location: PropTypes.object,\n path: PropTypes.oneOfType([\n PropTypes.string,\n PropTypes.arrayOf(PropTypes.string)\n ]),\n render: PropTypes.func,\n sensitive: PropTypes.bool,\n strict: PropTypes.bool\n };\n\n Route.prototype.componentDidMount = function() {\n warning(\n !(\n this.props.children &&\n !isEmptyChildren(this.props.children) &&\n this.props.component\n ),\n \"You should not use and in the same route; will be ignored\"\n );\n\n warning(\n !(\n this.props.children &&\n !isEmptyChildren(this.props.children) &&\n this.props.render\n ),\n \"You should not use and in the same route; will be ignored\"\n );\n\n warning(\n !(this.props.component && this.props.render),\n \"You should not use and in the same route; will be ignored\"\n );\n };\n\n Route.prototype.componentDidUpdate = function(prevProps) {\n warning(\n !(this.props.location && !prevProps.location),\n ' elements should not change from uncontrolled to controlled (or vice versa). You initially used no \"location\" prop and then provided one on a subsequent render.'\n );\n\n warning(\n !(!this.props.location && prevProps.location),\n ' elements should not change from controlled to uncontrolled (or vice versa). You provided a \"location\" prop initially but omitted it on a subsequent render.'\n );\n };\n}\n\nexport default Route;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { createLocation, createPath } from \"history\";\nimport invariant from \"tiny-invariant\";\nimport warning from \"tiny-warning\";\n\nimport Router from \"./Router.js\";\n\nfunction addLeadingSlash(path) {\n return path.charAt(0) === \"/\" ? path : \"/\" + path;\n}\n\nfunction addBasename(basename, location) {\n if (!basename) return location;\n\n return {\n ...location,\n pathname: addLeadingSlash(basename) + location.pathname\n };\n}\n\nfunction stripBasename(basename, location) {\n if (!basename) return location;\n\n const base = addLeadingSlash(basename);\n\n if (location.pathname.indexOf(base) !== 0) return location;\n\n return {\n ...location,\n pathname: location.pathname.substr(base.length)\n };\n}\n\nfunction createURL(location) {\n return typeof location === \"string\" ? location : createPath(location);\n}\n\nfunction staticHandler(methodName) {\n return () => {\n invariant(false, \"You cannot %s with \", methodName);\n };\n}\n\nfunction noop() {}\n\n/**\n * The public top-level API for a \"static\" , so-called because it\n * can't actually change the current location. Instead, it just records\n * location changes in a context object. Useful mainly in testing and\n * server-rendering scenarios.\n */\nclass StaticRouter extends React.Component {\n navigateTo(location, action) {\n const { basename = \"\", context = {} } = this.props;\n context.action = action;\n context.location = addBasename(basename, createLocation(location));\n context.url = createURL(context.location);\n }\n\n handlePush = location => this.navigateTo(location, \"PUSH\");\n handleReplace = location => this.navigateTo(location, \"REPLACE\");\n handleListen = () => noop;\n handleBlock = () => noop;\n\n render() {\n const { basename = \"\", context = {}, location = \"/\", ...rest } = this.props;\n\n const history = {\n createHref: path => addLeadingSlash(basename + createURL(path)),\n action: \"POP\",\n location: stripBasename(basename, createLocation(location)),\n push: this.handlePush,\n replace: this.handleReplace,\n go: staticHandler(\"go\"),\n goBack: staticHandler(\"goBack\"),\n goForward: staticHandler(\"goForward\"),\n listen: this.handleListen,\n block: this.handleBlock\n };\n\n return ;\n }\n}\n\nif (__DEV__) {\n StaticRouter.propTypes = {\n basename: PropTypes.string,\n context: PropTypes.object,\n location: PropTypes.oneOfType([PropTypes.string, PropTypes.object])\n };\n\n StaticRouter.prototype.componentDidMount = function() {\n warning(\n !this.props.history,\n \" ignores the history prop. To use a custom history, \" +\n \"use `import { Router }` instead of `import { StaticRouter as Router }`.\"\n );\n };\n}\n\nexport default StaticRouter;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport invariant from \"tiny-invariant\";\nimport warning from \"tiny-warning\";\n\nimport RouterContext from \"./RouterContext.js\";\nimport matchPath from \"./matchPath.js\";\n\n/**\n * The public API for rendering the first that matches.\n */\nclass Switch extends React.Component {\n render() {\n return (\n \n {context => {\n invariant(context, \"You should not use outside a \");\n\n const location = this.props.location || context.location;\n\n let element, match;\n\n // We use React.Children.forEach instead of React.Children.toArray().find()\n // here because toArray adds keys to all child elements and we do not want\n // to trigger an unmount/remount for two s that render the same\n // component at different URLs.\n React.Children.forEach(this.props.children, child => {\n if (match == null && React.isValidElement(child)) {\n element = child;\n\n const path = child.props.path || child.props.from;\n\n match = path\n ? matchPath(location.pathname, { ...child.props, path })\n : context.match;\n }\n });\n\n return match\n ? React.cloneElement(element, { location, computedMatch: match })\n : null;\n }}\n \n );\n }\n}\n\nif (__DEV__) {\n Switch.propTypes = {\n children: PropTypes.node,\n location: PropTypes.object\n };\n\n Switch.prototype.componentDidUpdate = function(prevProps) {\n warning(\n !(this.props.location && !prevProps.location),\n ' elements should not change from uncontrolled to controlled (or vice versa). You initially used no \"location\" prop and then provided one on a subsequent render.'\n );\n\n warning(\n !(!this.props.location && prevProps.location),\n ' elements should not change from controlled to uncontrolled (or vice versa). You provided a \"location\" prop initially but omitted it on a subsequent render.'\n );\n };\n}\n\nexport default Switch;\n","import React from \"react\";\nimport invariant from \"tiny-invariant\";\n\nimport RouterContext from \"./RouterContext.js\";\nimport HistoryContext from \"./HistoryContext.js\";\nimport matchPath from \"./matchPath.js\";\n\nconst useContext = React.useContext;\n\nexport function useHistory() {\n if (__DEV__) {\n invariant(\n typeof useContext === \"function\",\n \"You must use React >= 16.8 in order to use useHistory()\"\n );\n }\n\n return useContext(HistoryContext);\n}\n\nexport function useLocation() {\n if (__DEV__) {\n invariant(\n typeof useContext === \"function\",\n \"You must use React >= 16.8 in order to use useLocation()\"\n );\n }\n\n return useContext(RouterContext).location;\n}\n\nexport function useParams() {\n if (__DEV__) {\n invariant(\n typeof useContext === \"function\",\n \"You must use React >= 16.8 in order to use useParams()\"\n );\n }\n\n const match = useContext(RouterContext).match;\n return match ? match.params : {};\n}\n\nexport function useRouteMatch(path) {\n if (__DEV__) {\n invariant(\n typeof useContext === \"function\",\n \"You must use React >= 16.8 in order to use useRouteMatch()\"\n );\n }\n\n const location = useLocation();\n const match = useContext(RouterContext).match;\n return path ? matchPath(location.pathname, path) : match;\n}\n","/** @license React v16.13.1\n * react-is.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';var b=\"function\"===typeof Symbol&&Symbol.for,c=b?Symbol.for(\"react.element\"):60103,d=b?Symbol.for(\"react.portal\"):60106,e=b?Symbol.for(\"react.fragment\"):60107,f=b?Symbol.for(\"react.strict_mode\"):60108,g=b?Symbol.for(\"react.profiler\"):60114,h=b?Symbol.for(\"react.provider\"):60109,k=b?Symbol.for(\"react.context\"):60110,l=b?Symbol.for(\"react.async_mode\"):60111,m=b?Symbol.for(\"react.concurrent_mode\"):60111,n=b?Symbol.for(\"react.forward_ref\"):60112,p=b?Symbol.for(\"react.suspense\"):60113,q=b?\nSymbol.for(\"react.suspense_list\"):60120,r=b?Symbol.for(\"react.memo\"):60115,t=b?Symbol.for(\"react.lazy\"):60116,v=b?Symbol.for(\"react.block\"):60121,w=b?Symbol.for(\"react.fundamental\"):60117,x=b?Symbol.for(\"react.responder\"):60118,y=b?Symbol.for(\"react.scope\"):60119;\nfunction z(a){if(\"object\"===typeof a&&null!==a){var u=a.$$typeof;switch(u){case c:switch(a=a.type,a){case l:case m:case e:case g:case f:case p:return a;default:switch(a=a&&a.$$typeof,a){case k:case n:case t:case r:case h:return a;default:return u}}case d:return u}}}function A(a){return z(a)===m}exports.AsyncMode=l;exports.ConcurrentMode=m;exports.ContextConsumer=k;exports.ContextProvider=h;exports.Element=c;exports.ForwardRef=n;exports.Fragment=e;exports.Lazy=t;exports.Memo=r;exports.Portal=d;\nexports.Profiler=g;exports.StrictMode=f;exports.Suspense=p;exports.isAsyncMode=function(a){return A(a)||z(a)===l};exports.isConcurrentMode=A;exports.isContextConsumer=function(a){return z(a)===k};exports.isContextProvider=function(a){return z(a)===h};exports.isElement=function(a){return\"object\"===typeof a&&null!==a&&a.$$typeof===c};exports.isForwardRef=function(a){return z(a)===n};exports.isFragment=function(a){return z(a)===e};exports.isLazy=function(a){return z(a)===t};\nexports.isMemo=function(a){return z(a)===r};exports.isPortal=function(a){return z(a)===d};exports.isProfiler=function(a){return z(a)===g};exports.isStrictMode=function(a){return z(a)===f};exports.isSuspense=function(a){return z(a)===p};\nexports.isValidElementType=function(a){return\"string\"===typeof a||\"function\"===typeof a||a===e||a===m||a===g||a===f||a===p||a===q||\"object\"===typeof a&&null!==a&&(a.$$typeof===t||a.$$typeof===r||a.$$typeof===h||a.$$typeof===k||a.$$typeof===n||a.$$typeof===w||a.$$typeof===x||a.$$typeof===y||a.$$typeof===v)};exports.typeOf=z;\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react-is.production.min.js');\n} else {\n module.exports = require('./cjs/react-is.development.js');\n}\n","!function(e,t){\"object\"==typeof exports&&\"object\"==typeof module?module.exports=t(require(\"prop-types\"),require(\"react\"),require(\"signature_pad\"),require(\"trim-canvas\")):\"function\"==typeof define&&define.amd?define([\"prop-types\",\"react\",\"signature_pad\",\"trim-canvas\"],t):\"object\"==typeof exports?exports.SignatureCanvas=t(require(\"prop-types\"),require(\"react\"),require(\"signature_pad\"),require(\"trim-canvas\")):e.SignatureCanvas=t(e[\"prop-types\"],e.react,e.signature_pad,e[\"trim-canvas\"])}(this,function(e,t,n,r){return function(e){function t(r){if(n[r])return n[r].exports;var a=n[r]={exports:{},id:r,loaded:!1};return e[r].call(a.exports,a,a.exports,t),a.loaded=!0,a.exports}var n={};return t.m=e,t.c=n,t.p=\"\",t(0)}([function(e,t,n){\"use strict\";function r(e){return e&&e.__esModule?e:{default:e}}function a(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function o(e,t){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")}function i(e,t){if(!e)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return!t||\"object\"!=typeof t&&\"function\"!=typeof t?e:t}function u(e,t){if(\"function\"!=typeof t&&null!==t)throw new TypeError(\"Super expression must either be null or a function, not \"+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,\"__esModule\",{value:!0});var s=Object.assign||function(e){for(var t=1;t (\n * \n * {state => (\n *
\n * I'm a fade Transition!\n *
\n * )}\n *
\n * );\n * ```\n *\n * There are 4 main states a Transition can be in:\n * - `'entering'`\n * - `'entered'`\n * - `'exiting'`\n * - `'exited'`\n *\n * Transition state is toggled via the `in` prop. When `true` the component\n * begins the \"Enter\" stage. During this stage, the component will shift from\n * its current transition state, to `'entering'` for the duration of the\n * transition and then to the `'entered'` stage once it's complete. Let's take\n * the following example (we'll use the\n * [useState](https://reactjs.org/docs/hooks-reference.html#usestate) hook):\n *\n * ```jsx\n * function App() {\n * const [inProp, setInProp] = useState(false);\n * return (\n *
\n * \n * {state => (\n * // ...\n * )}\n * \n * \n *
\n * );\n * }\n * ```\n *\n * When the button is clicked the component will shift to the `'entering'` state\n * and stay there for 500ms (the value of `timeout`) before it finally switches\n * to `'entered'`.\n *\n * When `in` is `false` the same thing happens except the state moves from\n * `'exiting'` to `'exited'`.\n */\n\nvar Transition = /*#__PURE__*/function (_React$Component) {\n _inheritsLoose(Transition, _React$Component);\n\n function Transition(props, context) {\n var _this;\n\n _this = _React$Component.call(this, props, context) || this;\n var parentGroup = context; // In the context of a TransitionGroup all enters are really appears\n\n var appear = parentGroup && !parentGroup.isMounting ? props.enter : props.appear;\n var initialStatus;\n _this.appearStatus = null;\n\n if (props.in) {\n if (appear) {\n initialStatus = EXITED;\n _this.appearStatus = ENTERING;\n } else {\n initialStatus = ENTERED;\n }\n } else {\n if (props.unmountOnExit || props.mountOnEnter) {\n initialStatus = UNMOUNTED;\n } else {\n initialStatus = EXITED;\n }\n }\n\n _this.state = {\n status: initialStatus\n };\n _this.nextCallback = null;\n return _this;\n }\n\n Transition.getDerivedStateFromProps = function getDerivedStateFromProps(_ref, prevState) {\n var nextIn = _ref.in;\n\n if (nextIn && prevState.status === UNMOUNTED) {\n return {\n status: EXITED\n };\n }\n\n return null;\n } // getSnapshotBeforeUpdate(prevProps) {\n // let nextStatus = null\n // if (prevProps !== this.props) {\n // const { status } = this.state\n // if (this.props.in) {\n // if (status !== ENTERING && status !== ENTERED) {\n // nextStatus = ENTERING\n // }\n // } else {\n // if (status === ENTERING || status === ENTERED) {\n // nextStatus = EXITING\n // }\n // }\n // }\n // return { nextStatus }\n // }\n ;\n\n var _proto = Transition.prototype;\n\n _proto.componentDidMount = function componentDidMount() {\n this.updateStatus(true, this.appearStatus);\n };\n\n _proto.componentDidUpdate = function componentDidUpdate(prevProps) {\n var nextStatus = null;\n\n if (prevProps !== this.props) {\n var status = this.state.status;\n\n if (this.props.in) {\n if (status !== ENTERING && status !== ENTERED) {\n nextStatus = ENTERING;\n }\n } else {\n if (status === ENTERING || status === ENTERED) {\n nextStatus = EXITING;\n }\n }\n }\n\n this.updateStatus(false, nextStatus);\n };\n\n _proto.componentWillUnmount = function componentWillUnmount() {\n this.cancelNextCallback();\n };\n\n _proto.getTimeouts = function getTimeouts() {\n var timeout = this.props.timeout;\n var exit, enter, appear;\n exit = enter = appear = timeout;\n\n if (timeout != null && typeof timeout !== 'number') {\n exit = timeout.exit;\n enter = timeout.enter; // TODO: remove fallback for next major\n\n appear = timeout.appear !== undefined ? timeout.appear : enter;\n }\n\n return {\n exit: exit,\n enter: enter,\n appear: appear\n };\n };\n\n _proto.updateStatus = function updateStatus(mounting, nextStatus) {\n if (mounting === void 0) {\n mounting = false;\n }\n\n if (nextStatus !== null) {\n // nextStatus will always be ENTERING or EXITING.\n this.cancelNextCallback();\n\n if (nextStatus === ENTERING) {\n if (this.props.unmountOnExit || this.props.mountOnEnter) {\n var node = this.props.nodeRef ? this.props.nodeRef.current : ReactDOM.findDOMNode(this); // https://github.com/reactjs/react-transition-group/pull/749\n // With unmountOnExit or mountOnEnter, the enter animation should happen at the transition between `exited` and `entering`.\n // To make the animation happen, we have to separate each rendering and avoid being processed as batched.\n\n if (node) forceReflow(node);\n }\n\n this.performEnter(mounting);\n } else {\n this.performExit();\n }\n } else if (this.props.unmountOnExit && this.state.status === EXITED) {\n this.setState({\n status: UNMOUNTED\n });\n }\n };\n\n _proto.performEnter = function performEnter(mounting) {\n var _this2 = this;\n\n var enter = this.props.enter;\n var appearing = this.context ? this.context.isMounting : mounting;\n\n var _ref2 = this.props.nodeRef ? [appearing] : [ReactDOM.findDOMNode(this), appearing],\n maybeNode = _ref2[0],\n maybeAppearing = _ref2[1];\n\n var timeouts = this.getTimeouts();\n var enterTimeout = appearing ? timeouts.appear : timeouts.enter; // no enter animation skip right to ENTERED\n // if we are mounting and running this it means appear _must_ be set\n\n if (!mounting && !enter || config.disabled) {\n this.safeSetState({\n status: ENTERED\n }, function () {\n _this2.props.onEntered(maybeNode);\n });\n return;\n }\n\n this.props.onEnter(maybeNode, maybeAppearing);\n this.safeSetState({\n status: ENTERING\n }, function () {\n _this2.props.onEntering(maybeNode, maybeAppearing);\n\n _this2.onTransitionEnd(enterTimeout, function () {\n _this2.safeSetState({\n status: ENTERED\n }, function () {\n _this2.props.onEntered(maybeNode, maybeAppearing);\n });\n });\n });\n };\n\n _proto.performExit = function performExit() {\n var _this3 = this;\n\n var exit = this.props.exit;\n var timeouts = this.getTimeouts();\n var maybeNode = this.props.nodeRef ? undefined : ReactDOM.findDOMNode(this); // no exit animation skip right to EXITED\n\n if (!exit || config.disabled) {\n this.safeSetState({\n status: EXITED\n }, function () {\n _this3.props.onExited(maybeNode);\n });\n return;\n }\n\n this.props.onExit(maybeNode);\n this.safeSetState({\n status: EXITING\n }, function () {\n _this3.props.onExiting(maybeNode);\n\n _this3.onTransitionEnd(timeouts.exit, function () {\n _this3.safeSetState({\n status: EXITED\n }, function () {\n _this3.props.onExited(maybeNode);\n });\n });\n });\n };\n\n _proto.cancelNextCallback = function cancelNextCallback() {\n if (this.nextCallback !== null) {\n this.nextCallback.cancel();\n this.nextCallback = null;\n }\n };\n\n _proto.safeSetState = function safeSetState(nextState, callback) {\n // This shouldn't be necessary, but there are weird race conditions with\n // setState callbacks and unmounting in testing, so always make sure that\n // we can cancel any pending setState callbacks after we unmount.\n callback = this.setNextCallback(callback);\n this.setState(nextState, callback);\n };\n\n _proto.setNextCallback = function setNextCallback(callback) {\n var _this4 = this;\n\n var active = true;\n\n this.nextCallback = function (event) {\n if (active) {\n active = false;\n _this4.nextCallback = null;\n callback(event);\n }\n };\n\n this.nextCallback.cancel = function () {\n active = false;\n };\n\n return this.nextCallback;\n };\n\n _proto.onTransitionEnd = function onTransitionEnd(timeout, handler) {\n this.setNextCallback(handler);\n var node = this.props.nodeRef ? this.props.nodeRef.current : ReactDOM.findDOMNode(this);\n var doesNotHaveTimeoutOrListener = timeout == null && !this.props.addEndListener;\n\n if (!node || doesNotHaveTimeoutOrListener) {\n setTimeout(this.nextCallback, 0);\n return;\n }\n\n if (this.props.addEndListener) {\n var _ref3 = this.props.nodeRef ? [this.nextCallback] : [node, this.nextCallback],\n maybeNode = _ref3[0],\n maybeNextCallback = _ref3[1];\n\n this.props.addEndListener(maybeNode, maybeNextCallback);\n }\n\n if (timeout != null) {\n setTimeout(this.nextCallback, timeout);\n }\n };\n\n _proto.render = function render() {\n var status = this.state.status;\n\n if (status === UNMOUNTED) {\n return null;\n }\n\n var _this$props = this.props,\n children = _this$props.children,\n _in = _this$props.in,\n _mountOnEnter = _this$props.mountOnEnter,\n _unmountOnExit = _this$props.unmountOnExit,\n _appear = _this$props.appear,\n _enter = _this$props.enter,\n _exit = _this$props.exit,\n _timeout = _this$props.timeout,\n _addEndListener = _this$props.addEndListener,\n _onEnter = _this$props.onEnter,\n _onEntering = _this$props.onEntering,\n _onEntered = _this$props.onEntered,\n _onExit = _this$props.onExit,\n _onExiting = _this$props.onExiting,\n _onExited = _this$props.onExited,\n _nodeRef = _this$props.nodeRef,\n childProps = _objectWithoutPropertiesLoose(_this$props, [\"children\", \"in\", \"mountOnEnter\", \"unmountOnExit\", \"appear\", \"enter\", \"exit\", \"timeout\", \"addEndListener\", \"onEnter\", \"onEntering\", \"onEntered\", \"onExit\", \"onExiting\", \"onExited\", \"nodeRef\"]);\n\n return (\n /*#__PURE__*/\n // allows for nested Transitions\n React.createElement(TransitionGroupContext.Provider, {\n value: null\n }, typeof children === 'function' ? children(status, childProps) : React.cloneElement(React.Children.only(children), childProps))\n );\n };\n\n return Transition;\n}(React.Component);\n\nTransition.contextType = TransitionGroupContext;\nTransition.propTypes = process.env.NODE_ENV !== \"production\" ? {\n /**\n * A React reference to DOM element that need to transition:\n * https://stackoverflow.com/a/51127130/4671932\n *\n * - When `nodeRef` prop is used, `node` is not passed to callback functions\n * (e.g. `onEnter`) because user already has direct access to the node.\n * - When changing `key` prop of `Transition` in a `TransitionGroup` a new\n * `nodeRef` need to be provided to `Transition` with changed `key` prop\n * (see\n * [test/CSSTransition-test.js](https://github.com/reactjs/react-transition-group/blob/13435f897b3ab71f6e19d724f145596f5910581c/test/CSSTransition-test.js#L362-L437)).\n */\n nodeRef: PropTypes.shape({\n current: typeof Element === 'undefined' ? PropTypes.any : function (propValue, key, componentName, location, propFullName, secret) {\n var value = propValue[key];\n return PropTypes.instanceOf(value && 'ownerDocument' in value ? value.ownerDocument.defaultView.Element : Element)(propValue, key, componentName, location, propFullName, secret);\n }\n }),\n\n /**\n * A `function` child can be used instead of a React element. This function is\n * called with the current transition status (`'entering'`, `'entered'`,\n * `'exiting'`, `'exited'`), which can be used to apply context\n * specific props to a component.\n *\n * ```jsx\n * \n * {state => (\n * \n * )}\n * \n * ```\n */\n children: PropTypes.oneOfType([PropTypes.func.isRequired, PropTypes.element.isRequired]).isRequired,\n\n /**\n * Show the component; triggers the enter or exit states\n */\n in: PropTypes.bool,\n\n /**\n * By default the child component is mounted immediately along with\n * the parent `Transition` component. If you want to \"lazy mount\" the component on the\n * first `in={true}` you can set `mountOnEnter`. After the first enter transition the component will stay\n * mounted, even on \"exited\", unless you also specify `unmountOnExit`.\n */\n mountOnEnter: PropTypes.bool,\n\n /**\n * By default the child component stays mounted after it reaches the `'exited'` state.\n * Set `unmountOnExit` if you'd prefer to unmount the component after it finishes exiting.\n */\n unmountOnExit: PropTypes.bool,\n\n /**\n * By default the child component does not perform the enter transition when\n * it first mounts, regardless of the value of `in`. If you want this\n * behavior, set both `appear` and `in` to `true`.\n *\n * > **Note**: there are no special appear states like `appearing`/`appeared`, this prop\n * > only adds an additional enter transition. However, in the\n * > `` component that first enter transition does result in\n * > additional `.appear-*` classes, that way you can choose to style it\n * > differently.\n */\n appear: PropTypes.bool,\n\n /**\n * Enable or disable enter transitions.\n */\n enter: PropTypes.bool,\n\n /**\n * Enable or disable exit transitions.\n */\n exit: PropTypes.bool,\n\n /**\n * The duration of the transition, in milliseconds.\n * Required unless `addEndListener` is provided.\n *\n * You may specify a single timeout for all transitions:\n *\n * ```jsx\n * timeout={500}\n * ```\n *\n * or individually:\n *\n * ```jsx\n * timeout={{\n * appear: 500,\n * enter: 300,\n * exit: 500,\n * }}\n * ```\n *\n * - `appear` defaults to the value of `enter`\n * - `enter` defaults to `0`\n * - `exit` defaults to `0`\n *\n * @type {number | { enter?: number, exit?: number, appear?: number }}\n */\n timeout: function timeout(props) {\n var pt = timeoutsShape;\n if (!props.addEndListener) pt = pt.isRequired;\n\n for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n args[_key - 1] = arguments[_key];\n }\n\n return pt.apply(void 0, [props].concat(args));\n },\n\n /**\n * Add a custom transition end trigger. Called with the transitioning\n * DOM node and a `done` callback. Allows for more fine grained transition end\n * logic. Timeouts are still used as a fallback if provided.\n *\n * **Note**: when `nodeRef` prop is passed, `node` is not passed.\n *\n * ```jsx\n * addEndListener={(node, done) => {\n * // use the css transitionend event to mark the finish of a transition\n * node.addEventListener('transitionend', done, false);\n * }}\n * ```\n */\n addEndListener: PropTypes.func,\n\n /**\n * Callback fired before the \"entering\" status is applied. An extra parameter\n * `isAppearing` is supplied to indicate if the enter stage is occurring on the initial mount\n *\n * **Note**: when `nodeRef` prop is passed, `node` is not passed.\n *\n * @type Function(node: HtmlElement, isAppearing: bool) -> void\n */\n onEnter: PropTypes.func,\n\n /**\n * Callback fired after the \"entering\" status is applied. An extra parameter\n * `isAppearing` is supplied to indicate if the enter stage is occurring on the initial mount\n *\n * **Note**: when `nodeRef` prop is passed, `node` is not passed.\n *\n * @type Function(node: HtmlElement, isAppearing: bool)\n */\n onEntering: PropTypes.func,\n\n /**\n * Callback fired after the \"entered\" status is applied. An extra parameter\n * `isAppearing` is supplied to indicate if the enter stage is occurring on the initial mount\n *\n * **Note**: when `nodeRef` prop is passed, `node` is not passed.\n *\n * @type Function(node: HtmlElement, isAppearing: bool) -> void\n */\n onEntered: PropTypes.func,\n\n /**\n * Callback fired before the \"exiting\" status is applied.\n *\n * **Note**: when `nodeRef` prop is passed, `node` is not passed.\n *\n * @type Function(node: HtmlElement) -> void\n */\n onExit: PropTypes.func,\n\n /**\n * Callback fired after the \"exiting\" status is applied.\n *\n * **Note**: when `nodeRef` prop is passed, `node` is not passed.\n *\n * @type Function(node: HtmlElement) -> void\n */\n onExiting: PropTypes.func,\n\n /**\n * Callback fired after the \"exited\" status is applied.\n *\n * **Note**: when `nodeRef` prop is passed, `node` is not passed\n *\n * @type Function(node: HtmlElement) -> void\n */\n onExited: PropTypes.func\n} : {}; // Name the function so it is clearer in the documentation\n\nfunction noop() {}\n\nTransition.defaultProps = {\n in: false,\n mountOnEnter: false,\n unmountOnExit: false,\n appear: false,\n enter: true,\n exit: true,\n onEnter: noop,\n onEntering: noop,\n onEntered: noop,\n onExit: noop,\n onExiting: noop,\n onExited: noop\n};\nTransition.UNMOUNTED = UNMOUNTED;\nTransition.EXITED = EXITED;\nTransition.ENTERING = ENTERING;\nTransition.ENTERED = ENTERED;\nTransition.EXITING = EXITING;\nexport default Transition;","import { Children, cloneElement, isValidElement } from 'react';\n/**\n * Given `this.props.children`, return an object mapping key to child.\n *\n * @param {*} children `this.props.children`\n * @return {object} Mapping of key to child\n */\n\nexport function getChildMapping(children, mapFn) {\n var mapper = function mapper(child) {\n return mapFn && isValidElement(child) ? mapFn(child) : child;\n };\n\n var result = Object.create(null);\n if (children) Children.map(children, function (c) {\n return c;\n }).forEach(function (child) {\n // run the map function here instead so that the key is the computed one\n result[child.key] = mapper(child);\n });\n return result;\n}\n/**\n * When you're adding or removing children some may be added or removed in the\n * same render pass. We want to show *both* since we want to simultaneously\n * animate elements in and out. This function takes a previous set of keys\n * and a new set of keys and merges them with its best guess of the correct\n * ordering. In the future we may expose some of the utilities in\n * ReactMultiChild to make this easy, but for now React itself does not\n * directly have this concept of the union of prevChildren and nextChildren\n * so we implement it here.\n *\n * @param {object} prev prev children as returned from\n * `ReactTransitionChildMapping.getChildMapping()`.\n * @param {object} next next children as returned from\n * `ReactTransitionChildMapping.getChildMapping()`.\n * @return {object} a key set that contains all keys in `prev` and all keys\n * in `next` in a reasonable order.\n */\n\nexport function mergeChildMappings(prev, next) {\n prev = prev || {};\n next = next || {};\n\n function getValueForKey(key) {\n return key in next ? next[key] : prev[key];\n } // For each key of `next`, the list of keys to insert before that key in\n // the combined list\n\n\n var nextKeysPending = Object.create(null);\n var pendingKeys = [];\n\n for (var prevKey in prev) {\n if (prevKey in next) {\n if (pendingKeys.length) {\n nextKeysPending[prevKey] = pendingKeys;\n pendingKeys = [];\n }\n } else {\n pendingKeys.push(prevKey);\n }\n }\n\n var i;\n var childMapping = {};\n\n for (var nextKey in next) {\n if (nextKeysPending[nextKey]) {\n for (i = 0; i < nextKeysPending[nextKey].length; i++) {\n var pendingNextKey = nextKeysPending[nextKey][i];\n childMapping[nextKeysPending[nextKey][i]] = getValueForKey(pendingNextKey);\n }\n }\n\n childMapping[nextKey] = getValueForKey(nextKey);\n } // Finally, add the keys which didn't appear before any key in `next`\n\n\n for (i = 0; i < pendingKeys.length; i++) {\n childMapping[pendingKeys[i]] = getValueForKey(pendingKeys[i]);\n }\n\n return childMapping;\n}\n\nfunction getProp(child, prop, props) {\n return props[prop] != null ? props[prop] : child.props[prop];\n}\n\nexport function getInitialChildMapping(props, onExited) {\n return getChildMapping(props.children, function (child) {\n return cloneElement(child, {\n onExited: onExited.bind(null, child),\n in: true,\n appear: getProp(child, 'appear', props),\n enter: getProp(child, 'enter', props),\n exit: getProp(child, 'exit', props)\n });\n });\n}\nexport function getNextChildMapping(nextProps, prevChildMapping, onExited) {\n var nextChildMapping = getChildMapping(nextProps.children);\n var children = mergeChildMappings(prevChildMapping, nextChildMapping);\n Object.keys(children).forEach(function (key) {\n var child = children[key];\n if (!isValidElement(child)) return;\n var hasPrev = (key in prevChildMapping);\n var hasNext = (key in nextChildMapping);\n var prevChild = prevChildMapping[key];\n var isLeaving = isValidElement(prevChild) && !prevChild.props.in; // item is new (entering)\n\n if (hasNext && (!hasPrev || isLeaving)) {\n // console.log('entering', key)\n children[key] = cloneElement(child, {\n onExited: onExited.bind(null, child),\n in: true,\n exit: getProp(child, 'exit', nextProps),\n enter: getProp(child, 'enter', nextProps)\n });\n } else if (!hasNext && hasPrev && !isLeaving) {\n // item is old (exiting)\n // console.log('leaving', key)\n children[key] = cloneElement(child, {\n in: false\n });\n } else if (hasNext && hasPrev && isValidElement(prevChild)) {\n // item hasn't changed transition states\n // copy over the last transition props;\n // console.log('unchanged', key)\n children[key] = cloneElement(child, {\n onExited: onExited.bind(null, child),\n in: prevChild.props.in,\n exit: getProp(child, 'exit', nextProps),\n enter: getProp(child, 'enter', nextProps)\n });\n }\n });\n return children;\n}","import _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _assertThisInitialized from \"@babel/runtime/helpers/esm/assertThisInitialized\";\nimport _inheritsLoose from \"@babel/runtime/helpers/esm/inheritsLoose\";\nimport PropTypes from 'prop-types';\nimport React from 'react';\nimport TransitionGroupContext from './TransitionGroupContext';\nimport { getChildMapping, getInitialChildMapping, getNextChildMapping } from './utils/ChildMapping';\n\nvar values = Object.values || function (obj) {\n return Object.keys(obj).map(function (k) {\n return obj[k];\n });\n};\n\nvar defaultProps = {\n component: 'div',\n childFactory: function childFactory(child) {\n return child;\n }\n};\n/**\n * The `` component manages a set of transition components\n * (`` and ``) in a list. Like with the transition\n * components, `` is a state machine for managing the mounting\n * and unmounting of components over time.\n *\n * Consider the example below. As items are removed or added to the TodoList the\n * `in` prop is toggled automatically by the ``.\n *\n * Note that `` does not define any animation behavior!\n * Exactly _how_ a list item animates is up to the individual transition\n * component. This means you can mix and match animations across different list\n * items.\n */\n\nvar TransitionGroup = /*#__PURE__*/function (_React$Component) {\n _inheritsLoose(TransitionGroup, _React$Component);\n\n function TransitionGroup(props, context) {\n var _this;\n\n _this = _React$Component.call(this, props, context) || this;\n\n var handleExited = _this.handleExited.bind(_assertThisInitialized(_this)); // Initial children should all be entering, dependent on appear\n\n\n _this.state = {\n contextValue: {\n isMounting: true\n },\n handleExited: handleExited,\n firstRender: true\n };\n return _this;\n }\n\n var _proto = TransitionGroup.prototype;\n\n _proto.componentDidMount = function componentDidMount() {\n this.mounted = true;\n this.setState({\n contextValue: {\n isMounting: false\n }\n });\n };\n\n _proto.componentWillUnmount = function componentWillUnmount() {\n this.mounted = false;\n };\n\n TransitionGroup.getDerivedStateFromProps = function getDerivedStateFromProps(nextProps, _ref) {\n var prevChildMapping = _ref.children,\n handleExited = _ref.handleExited,\n firstRender = _ref.firstRender;\n return {\n children: firstRender ? getInitialChildMapping(nextProps, handleExited) : getNextChildMapping(nextProps, prevChildMapping, handleExited),\n firstRender: false\n };\n } // node is `undefined` when user provided `nodeRef` prop\n ;\n\n _proto.handleExited = function handleExited(child, node) {\n var currentChildMapping = getChildMapping(this.props.children);\n if (child.key in currentChildMapping) return;\n\n if (child.props.onExited) {\n child.props.onExited(node);\n }\n\n if (this.mounted) {\n this.setState(function (state) {\n var children = _extends({}, state.children);\n\n delete children[child.key];\n return {\n children: children\n };\n });\n }\n };\n\n _proto.render = function render() {\n var _this$props = this.props,\n Component = _this$props.component,\n childFactory = _this$props.childFactory,\n props = _objectWithoutPropertiesLoose(_this$props, [\"component\", \"childFactory\"]);\n\n var contextValue = this.state.contextValue;\n var children = values(this.state.children).map(childFactory);\n delete props.appear;\n delete props.enter;\n delete props.exit;\n\n if (Component === null) {\n return /*#__PURE__*/React.createElement(TransitionGroupContext.Provider, {\n value: contextValue\n }, children);\n }\n\n return /*#__PURE__*/React.createElement(TransitionGroupContext.Provider, {\n value: contextValue\n }, /*#__PURE__*/React.createElement(Component, props, children));\n };\n\n return TransitionGroup;\n}(React.Component);\n\nTransitionGroup.propTypes = process.env.NODE_ENV !== \"production\" ? {\n /**\n * `` renders a `
` by default. You can change this\n * behavior by providing a `component` prop.\n * If you use React v16+ and would like to avoid a wrapping `
` element\n * you can pass in `component={null}`. This is useful if the wrapping div\n * borks your css styles.\n */\n component: PropTypes.any,\n\n /**\n * A set of `` components, that are toggled `in` and out as they\n * leave. the `` will inject specific transition props, so\n * remember to spread them through if you are wrapping the `` as\n * with our `` example.\n *\n * While this component is meant for multiple `Transition` or `CSSTransition`\n * children, sometimes you may want to have a single transition child with\n * content that you want to be transitioned out and in when you change it\n * (e.g. routes, images etc.) In that case you can change the `key` prop of\n * the transition child as you change its content, this will cause\n * `TransitionGroup` to transition the child out and back in.\n */\n children: PropTypes.node,\n\n /**\n * A convenience prop that enables or disables appear animations\n * for all children. Note that specifying this will override any defaults set\n * on individual children Transitions.\n */\n appear: PropTypes.bool,\n\n /**\n * A convenience prop that enables or disables enter animations\n * for all children. Note that specifying this will override any defaults set\n * on individual children Transitions.\n */\n enter: PropTypes.bool,\n\n /**\n * A convenience prop that enables or disables exit animations\n * for all children. Note that specifying this will override any defaults set\n * on individual children Transitions.\n */\n exit: PropTypes.bool,\n\n /**\n * You may need to apply reactive updates to a child as it is exiting.\n * This is generally done by using `cloneElement` however in the case of an exiting\n * child the element has already been removed and not accessible to the consumer.\n *\n * If you do need to update a child as it leaves you can provide a `childFactory`\n * to wrap every child, even the ones that are leaving.\n *\n * @type Function(child: ReactElement) -> ReactElement\n */\n childFactory: PropTypes.func\n} : {};\nTransitionGroup.defaultProps = defaultProps;\nexport default TransitionGroup;","import React from 'react';\nexport default React.createContext(null);","export var forceReflow = function forceReflow(node) {\n return node.scrollTop;\n};","/**\n * @license React\n * react-jsx-runtime.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n'use strict';var f=require(\"react\"),k=Symbol.for(\"react.element\"),l=Symbol.for(\"react.fragment\"),m=Object.prototype.hasOwnProperty,n=f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,p={key:!0,ref:!0,__self:!0,__source:!0};\nfunction q(c,a,g){var b,d={},e=null,h=null;void 0!==g&&(e=\"\"+g);void 0!==a.key&&(e=\"\"+a.key);void 0!==a.ref&&(h=a.ref);for(b in a)m.call(a,b)&&!p.hasOwnProperty(b)&&(d[b]=a[b]);if(c&&c.defaultProps)for(b in a=c.defaultProps,a)void 0===d[b]&&(d[b]=a[b]);return{$$typeof:k,type:c,key:e,ref:h,props:d,_owner:n.current}}exports.Fragment=l;exports.jsx=q;exports.jsxs=q;\n","/**\n * @license React\n * react.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n'use strict';var l=Symbol.for(\"react.element\"),n=Symbol.for(\"react.portal\"),p=Symbol.for(\"react.fragment\"),q=Symbol.for(\"react.strict_mode\"),r=Symbol.for(\"react.profiler\"),t=Symbol.for(\"react.provider\"),u=Symbol.for(\"react.context\"),v=Symbol.for(\"react.forward_ref\"),w=Symbol.for(\"react.suspense\"),x=Symbol.for(\"react.memo\"),y=Symbol.for(\"react.lazy\"),z=Symbol.iterator;function A(a){if(null===a||\"object\"!==typeof a)return null;a=z&&a[z]||a[\"@@iterator\"];return\"function\"===typeof a?a:null}\nvar B={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},C=Object.assign,D={};function E(a,b,e){this.props=a;this.context=b;this.refs=D;this.updater=e||B}E.prototype.isReactComponent={};\nE.prototype.setState=function(a,b){if(\"object\"!==typeof a&&\"function\"!==typeof a&&null!=a)throw Error(\"setState(...): takes an object of state variables to update or a function which returns an object of state variables.\");this.updater.enqueueSetState(this,a,b,\"setState\")};E.prototype.forceUpdate=function(a){this.updater.enqueueForceUpdate(this,a,\"forceUpdate\")};function F(){}F.prototype=E.prototype;function G(a,b,e){this.props=a;this.context=b;this.refs=D;this.updater=e||B}var H=G.prototype=new F;\nH.constructor=G;C(H,E.prototype);H.isPureReactComponent=!0;var I=Array.isArray,J=Object.prototype.hasOwnProperty,K={current:null},L={key:!0,ref:!0,__self:!0,__source:!0};\nfunction M(a,b,e){var d,c={},k=null,h=null;if(null!=b)for(d in void 0!==b.ref&&(h=b.ref),void 0!==b.key&&(k=\"\"+b.key),b)J.call(b,d)&&!L.hasOwnProperty(d)&&(c[d]=b[d]);var g=arguments.length-2;if(1===g)c.children=e;else if(1>>1,e=a[d];if(0>>1;dg(C,c))ng(x,C)?(a[d]=x,a[n]=c,d=n):(a[d]=C,a[m]=c,d=m);else if(ng(x,c))a[d]=x,a[n]=c,d=n;else break a}}return b}\nfunction g(a,b){var c=a.sortIndex-b.sortIndex;return 0!==c?c:a.id-b.id}if(\"object\"===typeof performance&&\"function\"===typeof performance.now){var l=performance;exports.unstable_now=function(){return l.now()}}else{var p=Date,q=p.now();exports.unstable_now=function(){return p.now()-q}}var r=[],t=[],u=1,v=null,y=3,z=!1,A=!1,B=!1,D=\"function\"===typeof setTimeout?setTimeout:null,E=\"function\"===typeof clearTimeout?clearTimeout:null,F=\"undefined\"!==typeof setImmediate?setImmediate:null;\n\"undefined\"!==typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function G(a){for(var b=h(t);null!==b;){if(null===b.callback)k(t);else if(b.startTime<=a)k(t),b.sortIndex=b.expirationTime,f(r,b);else break;b=h(t)}}function H(a){B=!1;G(a);if(!A)if(null!==h(r))A=!0,I(J);else{var b=h(t);null!==b&&K(H,b.startTime-a)}}\nfunction J(a,b){A=!1;B&&(B=!1,E(L),L=-1);z=!0;var c=y;try{G(b);for(v=h(r);null!==v&&(!(v.expirationTime>b)||a&&!M());){var d=v.callback;if(\"function\"===typeof d){v.callback=null;y=v.priorityLevel;var e=d(v.expirationTime<=b);b=exports.unstable_now();\"function\"===typeof e?v.callback=e:v===h(r)&&k(r);G(b)}else k(r);v=h(r)}if(null!==v)var w=!0;else{var m=h(t);null!==m&&K(H,m.startTime-b);w=!1}return w}finally{v=null,y=c,z=!1}}var N=!1,O=null,L=-1,P=5,Q=-1;\nfunction M(){return exports.unstable_now()-Qa||125d?(a.sortIndex=c,f(t,a),null===h(r)&&a===h(t)&&(B?(E(L),L=-1):B=!0,K(H,c-d))):(a.sortIndex=e,f(r,a),A||z||(A=!0,I(J)));return a};\nexports.unstable_shouldYield=M;exports.unstable_wrapCallback=function(a){var b=y;return function(){var c=y;y=b;try{return a.apply(this,arguments)}finally{y=c}}};\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/scheduler.production.min.js');\n} else {\n module.exports = require('./cjs/scheduler.development.js');\n}\n","!function(e,t){\"object\"==typeof exports&&\"object\"==typeof module?module.exports=t():\"function\"==typeof define&&define.amd?define([],t):\"object\"==typeof exports?exports.trimCanvas=t():e.trimCanvas=t()}(this,function(){return function(e){function t(n){if(r[n])return r[n].exports;var o=r[n]={exports:{},id:n,loaded:!1};return e[n].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var r={};return t.m=e,t.c=r,t.p=\"\",t(0)}([function(e,t){\"use strict\";function r(e){var t=e.getContext(\"2d\"),r=e.width,n=e.height,o=t.getImageData(0,0,r,n).data,f=a(!0,r,n,o),i=a(!1,r,n,o),c=u(!0,r,n,o),d=u(!1,r,n,o),p=d-c+1,l=i-f+1,s=t.getImageData(c,f,p,l);return e.width=p,e.height=l,t.clearRect(0,0,p,l),t.putImageData(s,0,0),e}function n(e,t,r,n){return{red:n[4*(r*t+e)],green:n[4*(r*t+e)+1],blue:n[4*(r*t+e)+2],alpha:n[4*(r*t+e)+3]}}function o(e,t,r,o){return n(e,t,r,o).alpha}function a(e,t,r,n){for(var a=e?1:-1,u=e?0:r-1,f=u;e?f-1;f+=a)for(var i=0;i-1;f+=a)for(var i=0;i\n MIT License */\n(function(window,undefined){\"use strict\";var LIBVERSION=\"1.0.39\",EMPTY=\"\",UNKNOWN=\"?\",FUNC_TYPE=\"function\",UNDEF_TYPE=\"undefined\",OBJ_TYPE=\"object\",STR_TYPE=\"string\",MAJOR=\"major\",MODEL=\"model\",NAME=\"name\",TYPE=\"type\",VENDOR=\"vendor\",VERSION=\"version\",ARCHITECTURE=\"architecture\",CONSOLE=\"console\",MOBILE=\"mobile\",TABLET=\"tablet\",SMARTTV=\"smarttv\",WEARABLE=\"wearable\",EMBEDDED=\"embedded\",UA_MAX_LENGTH=500;var AMAZON=\"Amazon\",APPLE=\"Apple\",ASUS=\"ASUS\",BLACKBERRY=\"BlackBerry\",BROWSER=\"Browser\",CHROME=\"Chrome\",EDGE=\"Edge\",FIREFOX=\"Firefox\",GOOGLE=\"Google\",HUAWEI=\"Huawei\",LG=\"LG\",MICROSOFT=\"Microsoft\",MOTOROLA=\"Motorola\",OPERA=\"Opera\",SAMSUNG=\"Samsung\",SHARP=\"Sharp\",SONY=\"Sony\",XIAOMI=\"Xiaomi\",ZEBRA=\"Zebra\",FACEBOOK=\"Facebook\",CHROMIUM_OS=\"Chromium OS\",MAC_OS=\"Mac OS\",SUFFIX_BROWSER=\" Browser\";var extend=function(regexes,extensions){var mergedRegexes={};for(var i in regexes){if(extensions[i]&&extensions[i].length%2===0){mergedRegexes[i]=extensions[i].concat(regexes[i])}else{mergedRegexes[i]=regexes[i]}}return mergedRegexes},enumerize=function(arr){var enums={};for(var i=0;i0){if(q.length===2){if(typeof q[1]==FUNC_TYPE){this[q[0]]=q[1].call(this,match)}else{this[q[0]]=q[1]}}else if(q.length===3){if(typeof q[1]===FUNC_TYPE&&!(q[1].exec&&q[1].test)){this[q[0]]=match?q[1].call(this,match,q[2]):undefined}else{this[q[0]]=match?match.replace(q[1],q[2]):undefined}}else if(q.length===4){this[q[0]]=match?q[3].call(this,match.replace(q[1],q[2])):undefined}}else{this[q]=match?match:undefined}}}}i+=2}},strMapper=function(str,map){for(var i in map){if(typeof map[i]===OBJ_TYPE&&map[i].length>0){for(var j=0;j2){_device[MODEL]=\"iPad\";_device[TYPE]=TABLET}return _device};this.getEngine=function(){var _engine={};_engine[NAME]=undefined;_engine[VERSION]=undefined;rgxMapper.call(_engine,_ua,_rgxmap.engine);return _engine};this.getOS=function(){var _os={};_os[NAME]=undefined;_os[VERSION]=undefined;rgxMapper.call(_os,_ua,_rgxmap.os);if(_isSelfNav&&!_os[NAME]&&_uach&&_uach.platform&&_uach.platform!=\"Unknown\"){_os[NAME]=_uach.platform.replace(/chrome os/i,CHROMIUM_OS).replace(/macos/i,MAC_OS)}return _os};this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}};this.getUA=function(){return _ua};this.setUA=function(ua){_ua=typeof ua===STR_TYPE&&ua.length>UA_MAX_LENGTH?trim(ua,UA_MAX_LENGTH):ua;return this};this.setUA(_ua);return this};UAParser.VERSION=LIBVERSION;UAParser.BROWSER=enumerize([NAME,VERSION,MAJOR]);UAParser.CPU=enumerize([ARCHITECTURE]);UAParser.DEVICE=enumerize([MODEL,VENDOR,TYPE,CONSOLE,MOBILE,SMARTTV,TABLET,WEARABLE,EMBEDDED]);UAParser.ENGINE=UAParser.OS=enumerize([NAME,VERSION]);if(typeof exports!==UNDEF_TYPE){if(typeof module!==UNDEF_TYPE&&module.exports){exports=module.exports=UAParser}exports.UAParser=UAParser}else{if(typeof define===FUNC_TYPE&&define.amd){define(function(){return UAParser})}else if(typeof window!==UNDEF_TYPE){window.UAParser=UAParser}}var $=typeof window!==UNDEF_TYPE&&(window.jQuery||window.Zepto);if($&&!$.ua){var parser=new UAParser;$.ua=parser.getResult();$.ua.get=function(){return parser.getUA()};$.ua.set=function(ua){parser.setUA(ua);var result=parser.getResult();for(var prop in result){$.ua[prop]=result[prop]}}}})(typeof window===\"object\"?window:this);","/**\n * This file automatically generated from `pre-publish.js`.\n * Do not manually edit.\n */\n\nmodule.exports = {\n \"area\": true,\n \"base\": true,\n \"br\": true,\n \"col\": true,\n \"embed\": true,\n \"hr\": true,\n \"img\": true,\n \"input\": true,\n \"link\": true,\n \"meta\": true,\n \"param\": true,\n \"source\": true,\n \"track\": true,\n \"wbr\": true\n};\n","function _extends() {\n return module.exports = _extends = Object.assign ? Object.assign.bind() : function (n) {\n for (var e = 1; e < arguments.length; e++) {\n var t = arguments[e];\n for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);\n }\n return n;\n }, module.exports.__esModule = true, module.exports[\"default\"] = module.exports, _extends.apply(null, arguments);\n}\nmodule.exports = _extends, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","function _interopRequireDefault(e) {\n return e && e.__esModule ? e : {\n \"default\": e\n };\n}\nmodule.exports = _interopRequireDefault, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","function _objectWithoutPropertiesLoose(r, e) {\n if (null == r) return {};\n var t = {};\n for (var n in r) if ({}.hasOwnProperty.call(r, n)) {\n if (e.includes(n)) continue;\n t[n] = r[n];\n }\n return t;\n}\nmodule.exports = _objectWithoutPropertiesLoose, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","function _assertThisInitialized(e) {\n if (void 0 === e) throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n return e;\n}\nexport { _assertThisInitialized as default };","function _extends() {\n return _extends = Object.assign ? Object.assign.bind() : function (n) {\n for (var e = 1; e < arguments.length; e++) {\n var t = arguments[e];\n for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);\n }\n return n;\n }, _extends.apply(null, arguments);\n}\nexport { _extends as default };","function _setPrototypeOf(t, e) {\n return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) {\n return t.__proto__ = e, t;\n }, _setPrototypeOf(t, e);\n}\nexport { _setPrototypeOf as default };","import setPrototypeOf from \"./setPrototypeOf.js\";\nfunction _inheritsLoose(t, o) {\n t.prototype = Object.create(o.prototype), t.prototype.constructor = t, setPrototypeOf(t, o);\n}\nexport { _inheritsLoose as default };","function _objectWithoutPropertiesLoose(r, e) {\n if (null == r) return {};\n var t = {};\n for (var n in r) if ({}.hasOwnProperty.call(r, n)) {\n if (e.includes(n)) continue;\n t[n] = r[n];\n }\n return t;\n}\nexport { _objectWithoutPropertiesLoose as default };","import { Subscribable } from './subscribable'\nimport { isServer } from './utils'\n\ntype SetupFn = (\n setFocused: (focused?: boolean) => void,\n) => (() => void) | undefined\n\nexport class FocusManager extends Subscribable {\n private focused?: boolean\n private cleanup?: () => void\n\n private setup: SetupFn\n\n constructor() {\n super()\n this.setup = (onFocus) => {\n // addEventListener does not exist in React Native, but window does\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n if (!isServer && window.addEventListener) {\n const listener = () => onFocus()\n // Listen to visibillitychange and focus\n window.addEventListener('visibilitychange', listener, false)\n window.addEventListener('focus', listener, false)\n\n return () => {\n // Be sure to unsubscribe if a new handler is set\n window.removeEventListener('visibilitychange', listener)\n window.removeEventListener('focus', listener)\n }\n }\n return\n }\n }\n\n protected onSubscribe(): void {\n if (!this.cleanup) {\n this.setEventListener(this.setup)\n }\n }\n\n protected onUnsubscribe() {\n if (!this.hasListeners()) {\n this.cleanup?.()\n this.cleanup = undefined\n }\n }\n\n setEventListener(setup: SetupFn): void {\n this.setup = setup\n this.cleanup?.()\n this.cleanup = setup((focused) => {\n if (typeof focused === 'boolean') {\n this.setFocused(focused)\n } else {\n this.onFocus()\n }\n })\n }\n\n setFocused(focused?: boolean): void {\n const changed = this.focused !== focused\n if (changed) {\n this.focused = focused\n this.onFocus()\n }\n }\n\n onFocus(): void {\n this.listeners.forEach(({ listener }) => {\n listener()\n })\n }\n\n isFocused(): boolean {\n if (typeof this.focused === 'boolean') {\n return this.focused\n }\n\n // document global can be unavailable in react native\n if (typeof document === 'undefined') {\n return true\n }\n\n return [undefined, 'visible', 'prerender'].includes(\n document.visibilityState,\n )\n }\n}\n\nexport const focusManager = new FocusManager()\n","import { scheduleMicrotask } from './utils'\n\n// TYPES\n\ntype NotifyCallback = () => void\n\ntype NotifyFunction = (callback: () => void) => void\n\ntype BatchNotifyFunction = (callback: () => void) => void\n\ntype BatchCallsCallback = (...args: T) => void\n\nexport function createNotifyManager() {\n let queue: NotifyCallback[] = []\n let transactions = 0\n let notifyFn: NotifyFunction = (callback) => {\n callback()\n }\n let batchNotifyFn: BatchNotifyFunction = (callback: () => void) => {\n callback()\n }\n\n const batch = (callback: () => T): T => {\n let result\n transactions++\n try {\n result = callback()\n } finally {\n transactions--\n if (!transactions) {\n flush()\n }\n }\n return result\n }\n\n const schedule = (callback: NotifyCallback): void => {\n if (transactions) {\n queue.push(callback)\n } else {\n scheduleMicrotask(() => {\n notifyFn(callback)\n })\n }\n }\n\n /**\n * All calls to the wrapped function will be batched.\n */\n const batchCalls = (\n callback: BatchCallsCallback,\n ): BatchCallsCallback => {\n return (...args) => {\n schedule(() => {\n callback(...args)\n })\n }\n }\n\n const flush = (): void => {\n const originalQueue = queue\n queue = []\n if (originalQueue.length) {\n scheduleMicrotask(() => {\n batchNotifyFn(() => {\n originalQueue.forEach((callback) => {\n notifyFn(callback)\n })\n })\n })\n }\n }\n\n /**\n * Use this method to set a custom notify function.\n * This can be used to for example wrap notifications with `React.act` while running tests.\n */\n const setNotifyFunction = (fn: NotifyFunction) => {\n notifyFn = fn\n }\n\n /**\n * Use this method to set a custom function to batch notifications together into a single tick.\n * By default React Query will use the batch function provided by ReactDOM or React Native.\n */\n const setBatchNotifyFunction = (fn: BatchNotifyFunction) => {\n batchNotifyFn = fn\n }\n\n return {\n batch,\n batchCalls,\n schedule,\n setNotifyFunction,\n setBatchNotifyFunction,\n } as const\n}\n\n// SINGLETON\nexport const notifyManager = createNotifyManager()\n","import { Subscribable } from './subscribable'\nimport { isServer } from './utils'\n\ntype SetupFn = (\n setOnline: (online?: boolean) => void,\n) => (() => void) | undefined\n\nconst onlineEvents = ['online', 'offline'] as const\n\nexport class OnlineManager extends Subscribable {\n private online?: boolean\n private cleanup?: () => void\n\n private setup: SetupFn\n\n constructor() {\n super()\n this.setup = (onOnline) => {\n // addEventListener does not exist in React Native, but window does\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n if (!isServer && window.addEventListener) {\n const listener = () => onOnline()\n // Listen to online\n onlineEvents.forEach((event) => {\n window.addEventListener(event, listener, false)\n })\n\n return () => {\n // Be sure to unsubscribe if a new handler is set\n onlineEvents.forEach((event) => {\n window.removeEventListener(event, listener)\n })\n }\n }\n\n return\n }\n }\n\n protected onSubscribe(): void {\n if (!this.cleanup) {\n this.setEventListener(this.setup)\n }\n }\n\n protected onUnsubscribe() {\n if (!this.hasListeners()) {\n this.cleanup?.()\n this.cleanup = undefined\n }\n }\n\n setEventListener(setup: SetupFn): void {\n this.setup = setup\n this.cleanup?.()\n this.cleanup = setup((online?: boolean) => {\n if (typeof online === 'boolean') {\n this.setOnline(online)\n } else {\n this.onOnline()\n }\n })\n }\n\n setOnline(online?: boolean): void {\n const changed = this.online !== online\n\n if (changed) {\n this.online = online\n this.onOnline()\n }\n }\n\n onOnline(): void {\n this.listeners.forEach(({ listener }) => {\n listener()\n })\n }\n\n isOnline(): boolean {\n if (typeof this.online === 'boolean') {\n return this.online\n }\n\n if (\n typeof navigator === 'undefined' ||\n typeof navigator.onLine === 'undefined'\n ) {\n return true\n }\n\n return navigator.onLine\n }\n}\n\nexport const onlineManager = new OnlineManager()\n","import { focusManager } from './focusManager'\nimport { onlineManager } from './onlineManager'\nimport { sleep } from './utils'\nimport type { CancelOptions, NetworkMode } from './types'\n\n// TYPES\n\ninterface RetryerConfig {\n fn: () => TData | Promise\n abort?: () => void\n onError?: (error: TError) => void\n onSuccess?: (data: TData) => void\n onFail?: (failureCount: number, error: TError) => void\n onPause?: () => void\n onContinue?: () => void\n retry?: RetryValue\n retryDelay?: RetryDelayValue\n networkMode: NetworkMode | undefined\n}\n\nexport interface Retryer {\n promise: Promise\n cancel: (cancelOptions?: CancelOptions) => void\n continue: () => Promise\n cancelRetry: () => void\n continueRetry: () => void\n}\n\nexport type RetryValue = boolean | number | ShouldRetryFunction\n\ntype ShouldRetryFunction = (\n failureCount: number,\n error: TError,\n) => boolean\n\nexport type RetryDelayValue = number | RetryDelayFunction\n\ntype RetryDelayFunction = (\n failureCount: number,\n error: TError,\n) => number\n\nfunction defaultRetryDelay(failureCount: number) {\n return Math.min(1000 * 2 ** failureCount, 30000)\n}\n\nexport function canFetch(networkMode: NetworkMode | undefined): boolean {\n return (networkMode ?? 'online') === 'online'\n ? onlineManager.isOnline()\n : true\n}\n\nexport class CancelledError {\n revert?: boolean\n silent?: boolean\n constructor(options?: CancelOptions) {\n this.revert = options?.revert\n this.silent = options?.silent\n }\n}\n\nexport function isCancelledError(value: any): value is CancelledError {\n return value instanceof CancelledError\n}\n\nexport function createRetryer(\n config: RetryerConfig,\n): Retryer {\n let isRetryCancelled = false\n let failureCount = 0\n let isResolved = false\n let continueFn: ((value?: unknown) => boolean) | undefined\n let promiseResolve: (data: TData) => void\n let promiseReject: (error: TError) => void\n\n const promise = new Promise((outerResolve, outerReject) => {\n promiseResolve = outerResolve\n promiseReject = outerReject\n })\n\n const cancel = (cancelOptions?: CancelOptions): void => {\n if (!isResolved) {\n reject(new CancelledError(cancelOptions))\n\n config.abort?.()\n }\n }\n const cancelRetry = () => {\n isRetryCancelled = true\n }\n\n const continueRetry = () => {\n isRetryCancelled = false\n }\n\n const shouldPause = () =>\n !focusManager.isFocused() ||\n (config.networkMode !== 'always' && !onlineManager.isOnline())\n\n const resolve = (value: any) => {\n if (!isResolved) {\n isResolved = true\n config.onSuccess?.(value)\n continueFn?.()\n promiseResolve(value)\n }\n }\n\n const reject = (value: any) => {\n if (!isResolved) {\n isResolved = true\n config.onError?.(value)\n continueFn?.()\n promiseReject(value)\n }\n }\n\n const pause = () => {\n return new Promise((continueResolve) => {\n continueFn = (value) => {\n const canContinue = isResolved || !shouldPause()\n if (canContinue) {\n continueResolve(value)\n }\n return canContinue\n }\n config.onPause?.()\n }).then(() => {\n continueFn = undefined\n if (!isResolved) {\n config.onContinue?.()\n }\n })\n }\n\n // Create loop function\n const run = () => {\n // Do nothing if already resolved\n if (isResolved) {\n return\n }\n\n let promiseOrValue: any\n\n // Execute query\n try {\n promiseOrValue = config.fn()\n } catch (error) {\n promiseOrValue = Promise.reject(error)\n }\n\n Promise.resolve(promiseOrValue)\n .then(resolve)\n .catch((error) => {\n // Stop if the fetch is already resolved\n if (isResolved) {\n return\n }\n\n // Do we need to retry the request?\n const retry = config.retry ?? 3\n const retryDelay = config.retryDelay ?? defaultRetryDelay\n const delay =\n typeof retryDelay === 'function'\n ? retryDelay(failureCount, error)\n : retryDelay\n const shouldRetry =\n retry === true ||\n (typeof retry === 'number' && failureCount < retry) ||\n (typeof retry === 'function' && retry(failureCount, error))\n\n if (isRetryCancelled || !shouldRetry) {\n // We are done if the query does not need to be retried\n reject(error)\n return\n }\n\n failureCount++\n\n // Notify on fail\n config.onFail?.(failureCount, error)\n\n // Delay\n sleep(delay)\n // Pause if the document is not visible or when the device is offline\n .then(() => {\n if (shouldPause()) {\n return pause()\n }\n return\n })\n .then(() => {\n if (isRetryCancelled) {\n reject(error)\n } else {\n run()\n }\n })\n })\n }\n\n // Start loop\n if (canFetch(config.networkMode)) {\n run()\n } else {\n pause().then(run)\n }\n\n return {\n promise,\n cancel,\n continue: () => {\n const didContinue = continueFn?.()\n return didContinue ? promise : Promise.resolve()\n },\n cancelRetry,\n continueRetry,\n }\n}\n","type Listener = () => void\n\nexport class Subscribable {\n protected listeners: Set<{ listener: TListener }>\n\n constructor() {\n this.listeners = new Set()\n this.subscribe = this.subscribe.bind(this)\n }\n\n subscribe(listener: TListener): () => void {\n const identity = { listener }\n this.listeners.add(identity)\n\n this.onSubscribe()\n\n return () => {\n this.listeners.delete(identity)\n this.onUnsubscribe()\n }\n }\n\n hasListeners(): boolean {\n return this.listeners.size > 0\n }\n\n protected onSubscribe(): void {\n // Do nothing\n }\n\n protected onUnsubscribe(): void {\n // Do nothing\n }\n}\n","import type { Mutation } from './mutation'\nimport type { Query } from './query'\nimport type {\n FetchStatus,\n MutationFunction,\n MutationKey,\n MutationOptions,\n QueryFunction,\n QueryKey,\n QueryOptions,\n} from './types'\n\n// TYPES\n\nexport interface QueryFilters {\n /**\n * Filter to active queries, inactive queries or all queries\n */\n type?: QueryTypeFilter\n /**\n * Match query key exactly\n */\n exact?: boolean\n /**\n * Include queries matching this predicate function\n */\n predicate?: (query: Query) => boolean\n /**\n * Include queries matching this query key\n */\n queryKey?: QueryKey\n /**\n * Include or exclude stale queries\n */\n stale?: boolean\n /**\n * Include queries matching their fetchStatus\n */\n fetchStatus?: FetchStatus\n}\n\nexport interface MutationFilters {\n /**\n * Match mutation key exactly\n */\n exact?: boolean\n /**\n * Include mutations matching this predicate function\n */\n predicate?: (mutation: Mutation) => boolean\n /**\n * Include mutations matching this mutation key\n */\n mutationKey?: MutationKey\n /**\n * Include or exclude fetching mutations\n */\n fetching?: boolean\n}\n\nexport type DataUpdateFunction = (input: TInput) => TOutput\n\nexport type Updater =\n | TOutput\n | DataUpdateFunction\n\nexport type QueryTypeFilter = 'all' | 'active' | 'inactive'\n\n// UTILS\n\nexport const isServer = typeof window === 'undefined' || 'Deno' in window\n\nexport function noop(): undefined {\n return undefined\n}\n\nexport function functionalUpdate(\n updater: Updater,\n input: TInput,\n): TOutput {\n return typeof updater === 'function'\n ? (updater as DataUpdateFunction)(input)\n : updater\n}\n\nexport function isValidTimeout(value: unknown): value is number {\n return typeof value === 'number' && value >= 0 && value !== Infinity\n}\n\nexport function difference(array1: T[], array2: T[]): T[] {\n return array1.filter((x) => !array2.includes(x))\n}\n\nexport function replaceAt(array: T[], index: number, value: T): T[] {\n const copy = array.slice(0)\n copy[index] = value\n return copy\n}\n\nexport function timeUntilStale(updatedAt: number, staleTime?: number): number {\n return Math.max(updatedAt + (staleTime || 0) - Date.now(), 0)\n}\n\nexport function parseQueryArgs<\n TOptions extends QueryOptions,\n TQueryKey extends QueryKey = QueryKey,\n>(\n arg1: TQueryKey | TOptions,\n arg2?: QueryFunction | TOptions,\n arg3?: TOptions,\n): TOptions {\n if (!isQueryKey(arg1)) {\n return arg1 as TOptions\n }\n\n if (typeof arg2 === 'function') {\n return { ...arg3, queryKey: arg1, queryFn: arg2 } as TOptions\n }\n\n return { ...arg2, queryKey: arg1 } as TOptions\n}\n\nexport function parseMutationArgs<\n TOptions extends MutationOptions,\n>(\n arg1: MutationKey | MutationFunction | TOptions,\n arg2?: MutationFunction | TOptions,\n arg3?: TOptions,\n): TOptions {\n if (isQueryKey(arg1)) {\n if (typeof arg2 === 'function') {\n return { ...arg3, mutationKey: arg1, mutationFn: arg2 } as TOptions\n }\n return { ...arg2, mutationKey: arg1 } as TOptions\n }\n\n if (typeof arg1 === 'function') {\n return { ...arg2, mutationFn: arg1 } as TOptions\n }\n\n return { ...arg1 } as TOptions\n}\n\nexport function parseFilterArgs<\n TFilters extends QueryFilters,\n TOptions = unknown,\n>(\n arg1?: QueryKey | TFilters,\n arg2?: TFilters | TOptions,\n arg3?: TOptions,\n): [TFilters, TOptions | undefined] {\n return (\n isQueryKey(arg1) ? [{ ...arg2, queryKey: arg1 }, arg3] : [arg1 || {}, arg2]\n ) as [TFilters, TOptions]\n}\n\nexport function parseMutationFilterArgs<\n TFilters extends MutationFilters,\n TOptions = unknown,\n>(\n arg1?: QueryKey | TFilters,\n arg2?: TFilters | TOptions,\n arg3?: TOptions,\n): [TFilters, TOptions | undefined] {\n return (\n isQueryKey(arg1)\n ? [{ ...arg2, mutationKey: arg1 }, arg3]\n : [arg1 || {}, arg2]\n ) as [TFilters, TOptions]\n}\n\nexport function matchQuery(\n filters: QueryFilters,\n query: Query,\n): boolean {\n const {\n type = 'all',\n exact,\n fetchStatus,\n predicate,\n queryKey,\n stale,\n } = filters\n\n if (isQueryKey(queryKey)) {\n if (exact) {\n if (query.queryHash !== hashQueryKeyByOptions(queryKey, query.options)) {\n return false\n }\n } else if (!partialMatchKey(query.queryKey, queryKey)) {\n return false\n }\n }\n\n if (type !== 'all') {\n const isActive = query.isActive()\n if (type === 'active' && !isActive) {\n return false\n }\n if (type === 'inactive' && isActive) {\n return false\n }\n }\n\n if (typeof stale === 'boolean' && query.isStale() !== stale) {\n return false\n }\n\n if (\n typeof fetchStatus !== 'undefined' &&\n fetchStatus !== query.state.fetchStatus\n ) {\n return false\n }\n\n if (predicate && !predicate(query)) {\n return false\n }\n\n return true\n}\n\nexport function matchMutation(\n filters: MutationFilters,\n mutation: Mutation,\n): boolean {\n const { exact, fetching, predicate, mutationKey } = filters\n if (isQueryKey(mutationKey)) {\n if (!mutation.options.mutationKey) {\n return false\n }\n if (exact) {\n if (\n hashQueryKey(mutation.options.mutationKey) !== hashQueryKey(mutationKey)\n ) {\n return false\n }\n } else if (!partialMatchKey(mutation.options.mutationKey, mutationKey)) {\n return false\n }\n }\n\n if (\n typeof fetching === 'boolean' &&\n (mutation.state.status === 'loading') !== fetching\n ) {\n return false\n }\n\n if (predicate && !predicate(mutation)) {\n return false\n }\n\n return true\n}\n\nexport function hashQueryKeyByOptions(\n queryKey: TQueryKey,\n options?: QueryOptions,\n): string {\n const hashFn = options?.queryKeyHashFn || hashQueryKey\n return hashFn(queryKey)\n}\n\n/**\n * Default query keys hash function.\n * Hashes the value into a stable hash.\n */\nexport function hashQueryKey(queryKey: QueryKey): string {\n return JSON.stringify(queryKey, (_, val) =>\n isPlainObject(val)\n ? Object.keys(val)\n .sort()\n .reduce((result, key) => {\n result[key] = val[key]\n return result\n }, {} as any)\n : val,\n )\n}\n\n/**\n * Checks if key `b` partially matches with key `a`.\n */\nexport function partialMatchKey(a: QueryKey, b: QueryKey): boolean {\n return partialDeepEqual(a, b)\n}\n\n/**\n * Checks if `b` partially matches with `a`.\n */\nexport function partialDeepEqual(a: any, b: any): boolean {\n if (a === b) {\n return true\n }\n\n if (typeof a !== typeof b) {\n return false\n }\n\n if (a && b && typeof a === 'object' && typeof b === 'object') {\n return !Object.keys(b).some((key) => !partialDeepEqual(a[key], b[key]))\n }\n\n return false\n}\n\n/**\n * This function returns `a` if `b` is deeply equal.\n * If not, it will replace any deeply equal children of `b` with those of `a`.\n * This can be used for structural sharing between JSON values for example.\n */\nexport function replaceEqualDeep(a: unknown, b: T): T\nexport function replaceEqualDeep(a: any, b: any): any {\n if (a === b) {\n return a\n }\n\n const array = isPlainArray(a) && isPlainArray(b)\n\n if (array || (isPlainObject(a) && isPlainObject(b))) {\n const aSize = array ? a.length : Object.keys(a).length\n const bItems = array ? b : Object.keys(b)\n const bSize = bItems.length\n const copy: any = array ? [] : {}\n\n let equalItems = 0\n\n for (let i = 0; i < bSize; i++) {\n const key = array ? i : bItems[i]\n copy[key] = replaceEqualDeep(a[key], b[key])\n if (copy[key] === a[key]) {\n equalItems++\n }\n }\n\n return aSize === bSize && equalItems === aSize ? a : copy\n }\n\n return b\n}\n\n/**\n * Shallow compare objects. Only works with objects that always have the same properties.\n */\nexport function shallowEqualObjects(a: T, b: T): boolean {\n if ((a && !b) || (b && !a)) {\n return false\n }\n\n for (const key in a) {\n if (a[key] !== b[key]) {\n return false\n }\n }\n\n return true\n}\n\nexport function isPlainArray(value: unknown) {\n return Array.isArray(value) && value.length === Object.keys(value).length\n}\n\n// Copied from: https://github.com/jonschlinkert/is-plain-object\nexport function isPlainObject(o: any): o is Object {\n if (!hasObjectPrototype(o)) {\n return false\n }\n\n // If has modified constructor\n const ctor = o.constructor\n if (typeof ctor === 'undefined') {\n return true\n }\n\n // If has modified prototype\n const prot = ctor.prototype\n if (!hasObjectPrototype(prot)) {\n return false\n }\n\n // If constructor does not have an Object-specific method\n if (!prot.hasOwnProperty('isPrototypeOf')) {\n return false\n }\n\n // Most likely a plain Object\n return true\n}\n\nfunction hasObjectPrototype(o: any): boolean {\n return Object.prototype.toString.call(o) === '[object Object]'\n}\n\nexport function isQueryKey(value: unknown): value is QueryKey {\n return Array.isArray(value)\n}\n\nexport function isError(value: any): value is Error {\n return value instanceof Error\n}\n\nexport function sleep(timeout: number): Promise {\n return new Promise((resolve) => {\n setTimeout(resolve, timeout)\n })\n}\n\n/**\n * Schedules a microtask.\n * This can be useful to schedule state updates after rendering.\n */\nexport function scheduleMicrotask(callback: () => void) {\n sleep(0).then(callback)\n}\n\nexport function getAbortController(): AbortController | undefined {\n if (typeof AbortController === 'function') {\n return new AbortController()\n }\n return\n}\n\nexport function replaceData<\n TData,\n TOptions extends QueryOptions,\n>(prevData: TData | undefined, data: TData, options: TOptions): TData {\n // Use prev data if an isDataEqual function is defined and returns `true`\n if (options.isDataEqual?.(prevData, data)) {\n return prevData as TData\n } else if (typeof options.structuralSharing === 'function') {\n return options.structuralSharing(prevData, data)\n } else if (options.structuralSharing !== false) {\n // Structurally share data between prev and new data if needed\n return replaceEqualDeep(prevData, data)\n }\n return data\n}\n","'use client'\nimport * as React from 'react'\n\nimport type { QueryClient } from '@tanstack/query-core'\nimport type { ContextOptions } from './types'\n\ndeclare global {\n interface Window {\n ReactQueryClientContext?: React.Context\n }\n}\n\nexport const defaultContext = React.createContext(\n undefined,\n)\nconst QueryClientSharingContext = React.createContext(false)\n\n// If we are given a context, we will use it.\n// Otherwise, if contextSharing is on, we share the first and at least one\n// instance of the context across the window\n// to ensure that if React Query is used across\n// different bundles or microfrontends they will\n// all use the same **instance** of context, regardless\n// of module scoping.\nfunction getQueryClientContext(\n context: React.Context | undefined,\n contextSharing: boolean,\n) {\n if (context) {\n return context\n }\n if (contextSharing && typeof window !== 'undefined') {\n if (!window.ReactQueryClientContext) {\n window.ReactQueryClientContext = defaultContext\n }\n\n return window.ReactQueryClientContext\n }\n\n return defaultContext\n}\n\nexport const useQueryClient = ({ context }: ContextOptions = {}) => {\n const queryClient = React.useContext(\n getQueryClientContext(context, React.useContext(QueryClientSharingContext)),\n )\n\n if (!queryClient) {\n throw new Error('No QueryClient set, use QueryClientProvider to set one')\n }\n\n return queryClient\n}\n\ntype QueryClientProviderPropsBase = {\n client: QueryClient\n children?: React.ReactNode\n}\ntype QueryClientProviderPropsWithContext = ContextOptions & {\n contextSharing?: never\n} & QueryClientProviderPropsBase\ntype QueryClientProviderPropsWithContextSharing = {\n context?: never\n contextSharing?: boolean\n} & QueryClientProviderPropsBase\n\nexport type QueryClientProviderProps =\n | QueryClientProviderPropsWithContext\n | QueryClientProviderPropsWithContextSharing\n\nexport const QueryClientProvider = ({\n client,\n children,\n context,\n contextSharing = false,\n}: QueryClientProviderProps): JSX.Element => {\n React.useEffect(() => {\n client.mount()\n return () => {\n client.unmount()\n }\n }, [client])\n\n if (process.env.NODE_ENV !== 'production' && contextSharing) {\n client\n .getLogger()\n .error(\n `The contextSharing option has been deprecated and will be removed in the next major version`,\n )\n }\n\n const Context = getQueryClientContext(context, contextSharing)\n\n return (\n \n {children}\n \n )\n}\n","function r(e){var t,f,n=\"\";if(\"string\"==typeof e||\"number\"==typeof e)n+=e;else if(\"object\"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t 1 && arguments[1] !== undefined ? arguments[1] : {};\n this.init(concreteLogger, options);\n }\n init(concreteLogger) {\n let options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n this.prefix = options.prefix || 'i18next:';\n this.logger = concreteLogger || consoleLogger;\n this.options = options;\n this.debug = options.debug;\n }\n log() {\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n return this.forward(args, 'log', '', true);\n }\n warn() {\n for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n args[_key2] = arguments[_key2];\n }\n return this.forward(args, 'warn', '', true);\n }\n error() {\n for (var _len3 = arguments.length, args = new Array(_len3), _key3 = 0; _key3 < _len3; _key3++) {\n args[_key3] = arguments[_key3];\n }\n return this.forward(args, 'error', '');\n }\n deprecate() {\n for (var _len4 = arguments.length, args = new Array(_len4), _key4 = 0; _key4 < _len4; _key4++) {\n args[_key4] = arguments[_key4];\n }\n return this.forward(args, 'warn', 'WARNING DEPRECATED: ', true);\n }\n forward(args, lvl, prefix, debugOnly) {\n if (debugOnly && !this.debug) return null;\n if (typeof args[0] === 'string') args[0] = `${prefix}${this.prefix} ${args[0]}`;\n return this.logger[lvl](args);\n }\n create(moduleName) {\n return new Logger(this.logger, {\n ...{\n prefix: `${this.prefix}:${moduleName}:`\n },\n ...this.options\n });\n }\n clone(options) {\n options = options || this.options;\n options.prefix = options.prefix || this.prefix;\n return new Logger(this.logger, options);\n }\n}\nvar baseLogger = new Logger();\n\nclass EventEmitter {\n constructor() {\n this.observers = {};\n }\n on(events, listener) {\n events.split(' ').forEach(event => {\n if (!this.observers[event]) this.observers[event] = new Map();\n const numListeners = this.observers[event].get(listener) || 0;\n this.observers[event].set(listener, numListeners + 1);\n });\n return this;\n }\n off(event, listener) {\n if (!this.observers[event]) return;\n if (!listener) {\n delete this.observers[event];\n return;\n }\n this.observers[event].delete(listener);\n }\n emit(event) {\n for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n args[_key - 1] = arguments[_key];\n }\n if (this.observers[event]) {\n const cloned = Array.from(this.observers[event].entries());\n cloned.forEach(_ref => {\n let [observer, numTimesAdded] = _ref;\n for (let i = 0; i < numTimesAdded; i++) {\n observer(...args);\n }\n });\n }\n if (this.observers['*']) {\n const cloned = Array.from(this.observers['*'].entries());\n cloned.forEach(_ref2 => {\n let [observer, numTimesAdded] = _ref2;\n for (let i = 0; i < numTimesAdded; i++) {\n observer.apply(observer, [event, ...args]);\n }\n });\n }\n }\n}\n\nconst defer = () => {\n let res;\n let rej;\n const promise = new Promise((resolve, reject) => {\n res = resolve;\n rej = reject;\n });\n promise.resolve = res;\n promise.reject = rej;\n return promise;\n};\nconst makeString = object => {\n if (object == null) return '';\n return '' + object;\n};\nconst copy = (a, s, t) => {\n a.forEach(m => {\n if (s[m]) t[m] = s[m];\n });\n};\nconst lastOfPathSeparatorRegExp = /###/g;\nconst cleanKey = key => key && key.indexOf('###') > -1 ? key.replace(lastOfPathSeparatorRegExp, '.') : key;\nconst canNotTraverseDeeper = object => !object || typeof object === 'string';\nconst getLastOfPath = (object, path, Empty) => {\n const stack = typeof path !== 'string' ? path : path.split('.');\n let stackIndex = 0;\n while (stackIndex < stack.length - 1) {\n if (canNotTraverseDeeper(object)) return {};\n const key = cleanKey(stack[stackIndex]);\n if (!object[key] && Empty) object[key] = new Empty();\n if (Object.prototype.hasOwnProperty.call(object, key)) {\n object = object[key];\n } else {\n object = {};\n }\n ++stackIndex;\n }\n if (canNotTraverseDeeper(object)) return {};\n return {\n obj: object,\n k: cleanKey(stack[stackIndex])\n };\n};\nconst setPath = (object, path, newValue) => {\n const {\n obj,\n k\n } = getLastOfPath(object, path, Object);\n if (obj !== undefined || path.length === 1) {\n obj[k] = newValue;\n return;\n }\n let e = path[path.length - 1];\n let p = path.slice(0, path.length - 1);\n let last = getLastOfPath(object, p, Object);\n while (last.obj === undefined && p.length) {\n e = `${p[p.length - 1]}.${e}`;\n p = p.slice(0, p.length - 1);\n last = getLastOfPath(object, p, Object);\n if (last && last.obj && typeof last.obj[`${last.k}.${e}`] !== 'undefined') {\n last.obj = undefined;\n }\n }\n last.obj[`${last.k}.${e}`] = newValue;\n};\nconst pushPath = (object, path, newValue, concat) => {\n const {\n obj,\n k\n } = getLastOfPath(object, path, Object);\n obj[k] = obj[k] || [];\n obj[k].push(newValue);\n};\nconst getPath = (object, path) => {\n const {\n obj,\n k\n } = getLastOfPath(object, path);\n if (!obj) return undefined;\n return obj[k];\n};\nconst getPathWithDefaults = (data, defaultData, key) => {\n const value = getPath(data, key);\n if (value !== undefined) {\n return value;\n }\n return getPath(defaultData, key);\n};\nconst deepExtend = (target, source, overwrite) => {\n for (const prop in source) {\n if (prop !== '__proto__' && prop !== 'constructor') {\n if (prop in target) {\n if (typeof target[prop] === 'string' || target[prop] instanceof String || typeof source[prop] === 'string' || source[prop] instanceof String) {\n if (overwrite) target[prop] = source[prop];\n } else {\n deepExtend(target[prop], source[prop], overwrite);\n }\n } else {\n target[prop] = source[prop];\n }\n }\n }\n return target;\n};\nconst regexEscape = str => str.replace(/[\\-\\[\\]\\/\\{\\}\\(\\)\\*\\+\\?\\.\\\\\\^\\$\\|]/g, '\\\\$&');\nvar _entityMap = {\n '&': '&',\n '<': '<',\n '>': '>',\n '\"': '"',\n \"'\": ''',\n '/': '/'\n};\nconst escape = data => {\n if (typeof data === 'string') {\n return data.replace(/[&<>\"'\\/]/g, s => _entityMap[s]);\n }\n return data;\n};\nclass RegExpCache {\n constructor(capacity) {\n this.capacity = capacity;\n this.regExpMap = new Map();\n this.regExpQueue = [];\n }\n getRegExp(pattern) {\n const regExpFromCache = this.regExpMap.get(pattern);\n if (regExpFromCache !== undefined) {\n return regExpFromCache;\n }\n const regExpNew = new RegExp(pattern);\n if (this.regExpQueue.length === this.capacity) {\n this.regExpMap.delete(this.regExpQueue.shift());\n }\n this.regExpMap.set(pattern, regExpNew);\n this.regExpQueue.push(pattern);\n return regExpNew;\n }\n}\nconst chars = [' ', ',', '?', '!', ';'];\nconst looksLikeObjectPathRegExpCache = new RegExpCache(20);\nconst looksLikeObjectPath = (key, nsSeparator, keySeparator) => {\n nsSeparator = nsSeparator || '';\n keySeparator = keySeparator || '';\n const possibleChars = chars.filter(c => nsSeparator.indexOf(c) < 0 && keySeparator.indexOf(c) < 0);\n if (possibleChars.length === 0) return true;\n const r = looksLikeObjectPathRegExpCache.getRegExp(`(${possibleChars.map(c => c === '?' ? '\\\\?' : c).join('|')})`);\n let matched = !r.test(key);\n if (!matched) {\n const ki = key.indexOf(keySeparator);\n if (ki > 0 && !r.test(key.substring(0, ki))) {\n matched = true;\n }\n }\n return matched;\n};\nconst deepFind = function (obj, path) {\n let keySeparator = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : '.';\n if (!obj) return undefined;\n if (obj[path]) return obj[path];\n const tokens = path.split(keySeparator);\n let current = obj;\n for (let i = 0; i < tokens.length;) {\n if (!current || typeof current !== 'object') {\n return undefined;\n }\n let next;\n let nextPath = '';\n for (let j = i; j < tokens.length; ++j) {\n if (j !== i) {\n nextPath += keySeparator;\n }\n nextPath += tokens[j];\n next = current[nextPath];\n if (next !== undefined) {\n if (['string', 'number', 'boolean'].indexOf(typeof next) > -1 && j < tokens.length - 1) {\n continue;\n }\n i += j - i + 1;\n break;\n }\n }\n current = next;\n }\n return current;\n};\nconst getCleanedCode = code => code && code.replace('_', '-');\n\nclass ResourceStore extends EventEmitter {\n constructor(data) {\n let options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {\n ns: ['translation'],\n defaultNS: 'translation'\n };\n super();\n this.data = data || {};\n this.options = options;\n if (this.options.keySeparator === undefined) {\n this.options.keySeparator = '.';\n }\n if (this.options.ignoreJSONStructure === undefined) {\n this.options.ignoreJSONStructure = true;\n }\n }\n addNamespaces(ns) {\n if (this.options.ns.indexOf(ns) < 0) {\n this.options.ns.push(ns);\n }\n }\n removeNamespaces(ns) {\n const index = this.options.ns.indexOf(ns);\n if (index > -1) {\n this.options.ns.splice(index, 1);\n }\n }\n getResource(lng, ns, key) {\n let options = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {};\n const keySeparator = options.keySeparator !== undefined ? options.keySeparator : this.options.keySeparator;\n const ignoreJSONStructure = options.ignoreJSONStructure !== undefined ? options.ignoreJSONStructure : this.options.ignoreJSONStructure;\n let path;\n if (lng.indexOf('.') > -1) {\n path = lng.split('.');\n } else {\n path = [lng, ns];\n if (key) {\n if (Array.isArray(key)) {\n path.push(...key);\n } else if (typeof key === 'string' && keySeparator) {\n path.push(...key.split(keySeparator));\n } else {\n path.push(key);\n }\n }\n }\n const result = getPath(this.data, path);\n if (!result && !ns && !key && lng.indexOf('.') > -1) {\n lng = path[0];\n ns = path[1];\n key = path.slice(2).join('.');\n }\n if (result || !ignoreJSONStructure || typeof key !== 'string') return result;\n return deepFind(this.data && this.data[lng] && this.data[lng][ns], key, keySeparator);\n }\n addResource(lng, ns, key, value) {\n let options = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : {\n silent: false\n };\n const keySeparator = options.keySeparator !== undefined ? options.keySeparator : this.options.keySeparator;\n let path = [lng, ns];\n if (key) path = path.concat(keySeparator ? key.split(keySeparator) : key);\n if (lng.indexOf('.') > -1) {\n path = lng.split('.');\n value = ns;\n ns = path[1];\n }\n this.addNamespaces(ns);\n setPath(this.data, path, value);\n if (!options.silent) this.emit('added', lng, ns, key, value);\n }\n addResources(lng, ns, resources) {\n let options = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {\n silent: false\n };\n for (const m in resources) {\n if (typeof resources[m] === 'string' || Array.isArray(resources[m])) this.addResource(lng, ns, m, resources[m], {\n silent: true\n });\n }\n if (!options.silent) this.emit('added', lng, ns, resources);\n }\n addResourceBundle(lng, ns, resources, deep, overwrite) {\n let options = arguments.length > 5 && arguments[5] !== undefined ? arguments[5] : {\n silent: false,\n skipCopy: false\n };\n let path = [lng, ns];\n if (lng.indexOf('.') > -1) {\n path = lng.split('.');\n deep = resources;\n resources = ns;\n ns = path[1];\n }\n this.addNamespaces(ns);\n let pack = getPath(this.data, path) || {};\n if (!options.skipCopy) resources = JSON.parse(JSON.stringify(resources));\n if (deep) {\n deepExtend(pack, resources, overwrite);\n } else {\n pack = {\n ...pack,\n ...resources\n };\n }\n setPath(this.data, path, pack);\n if (!options.silent) this.emit('added', lng, ns, resources);\n }\n removeResourceBundle(lng, ns) {\n if (this.hasResourceBundle(lng, ns)) {\n delete this.data[lng][ns];\n }\n this.removeNamespaces(ns);\n this.emit('removed', lng, ns);\n }\n hasResourceBundle(lng, ns) {\n return this.getResource(lng, ns) !== undefined;\n }\n getResourceBundle(lng, ns) {\n if (!ns) ns = this.options.defaultNS;\n if (this.options.compatibilityAPI === 'v1') return {\n ...{},\n ...this.getResource(lng, ns)\n };\n return this.getResource(lng, ns);\n }\n getDataByLanguage(lng) {\n return this.data[lng];\n }\n hasLanguageSomeTranslations(lng) {\n const data = this.getDataByLanguage(lng);\n const n = data && Object.keys(data) || [];\n return !!n.find(v => data[v] && Object.keys(data[v]).length > 0);\n }\n toJSON() {\n return this.data;\n }\n}\n\nvar postProcessor = {\n processors: {},\n addPostProcessor(module) {\n this.processors[module.name] = module;\n },\n handle(processors, value, key, options, translator) {\n processors.forEach(processor => {\n if (this.processors[processor]) value = this.processors[processor].process(value, key, options, translator);\n });\n return value;\n }\n};\n\nconst checkedLoadedFor = {};\nclass Translator extends EventEmitter {\n constructor(services) {\n let options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n super();\n copy(['resourceStore', 'languageUtils', 'pluralResolver', 'interpolator', 'backendConnector', 'i18nFormat', 'utils'], services, this);\n this.options = options;\n if (this.options.keySeparator === undefined) {\n this.options.keySeparator = '.';\n }\n this.logger = baseLogger.create('translator');\n }\n changeLanguage(lng) {\n if (lng) this.language = lng;\n }\n exists(key) {\n let options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {\n interpolation: {}\n };\n if (key === undefined || key === null) {\n return false;\n }\n const resolved = this.resolve(key, options);\n return resolved && resolved.res !== undefined;\n }\n extractFromKey(key, options) {\n let nsSeparator = options.nsSeparator !== undefined ? options.nsSeparator : this.options.nsSeparator;\n if (nsSeparator === undefined) nsSeparator = ':';\n const keySeparator = options.keySeparator !== undefined ? options.keySeparator : this.options.keySeparator;\n let namespaces = options.ns || this.options.defaultNS || [];\n const wouldCheckForNsInKey = nsSeparator && key.indexOf(nsSeparator) > -1;\n const seemsNaturalLanguage = !this.options.userDefinedKeySeparator && !options.keySeparator && !this.options.userDefinedNsSeparator && !options.nsSeparator && !looksLikeObjectPath(key, nsSeparator, keySeparator);\n if (wouldCheckForNsInKey && !seemsNaturalLanguage) {\n const m = key.match(this.interpolator.nestingRegexp);\n if (m && m.length > 0) {\n return {\n key,\n namespaces\n };\n }\n const parts = key.split(nsSeparator);\n if (nsSeparator !== keySeparator || nsSeparator === keySeparator && this.options.ns.indexOf(parts[0]) > -1) namespaces = parts.shift();\n key = parts.join(keySeparator);\n }\n if (typeof namespaces === 'string') namespaces = [namespaces];\n return {\n key,\n namespaces\n };\n }\n translate(keys, options, lastKey) {\n if (typeof options !== 'object' && this.options.overloadTranslationOptionHandler) {\n options = this.options.overloadTranslationOptionHandler(arguments);\n }\n if (typeof options === 'object') options = {\n ...options\n };\n if (!options) options = {};\n if (keys === undefined || keys === null) return '';\n if (!Array.isArray(keys)) keys = [String(keys)];\n const returnDetails = options.returnDetails !== undefined ? options.returnDetails : this.options.returnDetails;\n const keySeparator = options.keySeparator !== undefined ? options.keySeparator : this.options.keySeparator;\n const {\n key,\n namespaces\n } = this.extractFromKey(keys[keys.length - 1], options);\n const namespace = namespaces[namespaces.length - 1];\n const lng = options.lng || this.language;\n const appendNamespaceToCIMode = options.appendNamespaceToCIMode || this.options.appendNamespaceToCIMode;\n if (lng && lng.toLowerCase() === 'cimode') {\n if (appendNamespaceToCIMode) {\n const nsSeparator = options.nsSeparator || this.options.nsSeparator;\n if (returnDetails) {\n return {\n res: `${namespace}${nsSeparator}${key}`,\n usedKey: key,\n exactUsedKey: key,\n usedLng: lng,\n usedNS: namespace,\n usedParams: this.getUsedParamsDetails(options)\n };\n }\n return `${namespace}${nsSeparator}${key}`;\n }\n if (returnDetails) {\n return {\n res: key,\n usedKey: key,\n exactUsedKey: key,\n usedLng: lng,\n usedNS: namespace,\n usedParams: this.getUsedParamsDetails(options)\n };\n }\n return key;\n }\n const resolved = this.resolve(keys, options);\n let res = resolved && resolved.res;\n const resUsedKey = resolved && resolved.usedKey || key;\n const resExactUsedKey = resolved && resolved.exactUsedKey || key;\n const resType = Object.prototype.toString.apply(res);\n const noObject = ['[object Number]', '[object Function]', '[object RegExp]'];\n const joinArrays = options.joinArrays !== undefined ? options.joinArrays : this.options.joinArrays;\n const handleAsObjectInI18nFormat = !this.i18nFormat || this.i18nFormat.handleAsObject;\n const handleAsObject = typeof res !== 'string' && typeof res !== 'boolean' && typeof res !== 'number';\n if (handleAsObjectInI18nFormat && res && handleAsObject && noObject.indexOf(resType) < 0 && !(typeof joinArrays === 'string' && Array.isArray(res))) {\n if (!options.returnObjects && !this.options.returnObjects) {\n if (!this.options.returnedObjectHandler) {\n this.logger.warn('accessing an object - but returnObjects options is not enabled!');\n }\n const r = this.options.returnedObjectHandler ? this.options.returnedObjectHandler(resUsedKey, res, {\n ...options,\n ns: namespaces\n }) : `key '${key} (${this.language})' returned an object instead of string.`;\n if (returnDetails) {\n resolved.res = r;\n resolved.usedParams = this.getUsedParamsDetails(options);\n return resolved;\n }\n return r;\n }\n if (keySeparator) {\n const resTypeIsArray = Array.isArray(res);\n const copy = resTypeIsArray ? [] : {};\n const newKeyToUse = resTypeIsArray ? resExactUsedKey : resUsedKey;\n for (const m in res) {\n if (Object.prototype.hasOwnProperty.call(res, m)) {\n const deepKey = `${newKeyToUse}${keySeparator}${m}`;\n copy[m] = this.translate(deepKey, {\n ...options,\n ...{\n joinArrays: false,\n ns: namespaces\n }\n });\n if (copy[m] === deepKey) copy[m] = res[m];\n }\n }\n res = copy;\n }\n } else if (handleAsObjectInI18nFormat && typeof joinArrays === 'string' && Array.isArray(res)) {\n res = res.join(joinArrays);\n if (res) res = this.extendTranslation(res, keys, options, lastKey);\n } else {\n let usedDefault = false;\n let usedKey = false;\n const needsPluralHandling = options.count !== undefined && typeof options.count !== 'string';\n const hasDefaultValue = Translator.hasDefaultValue(options);\n const defaultValueSuffix = needsPluralHandling ? this.pluralResolver.getSuffix(lng, options.count, options) : '';\n const defaultValueSuffixOrdinalFallback = options.ordinal && needsPluralHandling ? this.pluralResolver.getSuffix(lng, options.count, {\n ordinal: false\n }) : '';\n const needsZeroSuffixLookup = needsPluralHandling && !options.ordinal && options.count === 0 && this.pluralResolver.shouldUseIntlApi();\n const defaultValue = needsZeroSuffixLookup && options[`defaultValue${this.options.pluralSeparator}zero`] || options[`defaultValue${defaultValueSuffix}`] || options[`defaultValue${defaultValueSuffixOrdinalFallback}`] || options.defaultValue;\n if (!this.isValidLookup(res) && hasDefaultValue) {\n usedDefault = true;\n res = defaultValue;\n }\n if (!this.isValidLookup(res)) {\n usedKey = true;\n res = key;\n }\n const missingKeyNoValueFallbackToKey = options.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey;\n const resForMissing = missingKeyNoValueFallbackToKey && usedKey ? undefined : res;\n const updateMissing = hasDefaultValue && defaultValue !== res && this.options.updateMissing;\n if (usedKey || usedDefault || updateMissing) {\n this.logger.log(updateMissing ? 'updateKey' : 'missingKey', lng, namespace, key, updateMissing ? defaultValue : res);\n if (keySeparator) {\n const fk = this.resolve(key, {\n ...options,\n keySeparator: false\n });\n if (fk && fk.res) this.logger.warn('Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.');\n }\n let lngs = [];\n const fallbackLngs = this.languageUtils.getFallbackCodes(this.options.fallbackLng, options.lng || this.language);\n if (this.options.saveMissingTo === 'fallback' && fallbackLngs && fallbackLngs[0]) {\n for (let i = 0; i < fallbackLngs.length; i++) {\n lngs.push(fallbackLngs[i]);\n }\n } else if (this.options.saveMissingTo === 'all') {\n lngs = this.languageUtils.toResolveHierarchy(options.lng || this.language);\n } else {\n lngs.push(options.lng || this.language);\n }\n const send = (l, k, specificDefaultValue) => {\n const defaultForMissing = hasDefaultValue && specificDefaultValue !== res ? specificDefaultValue : resForMissing;\n if (this.options.missingKeyHandler) {\n this.options.missingKeyHandler(l, namespace, k, defaultForMissing, updateMissing, options);\n } else if (this.backendConnector && this.backendConnector.saveMissing) {\n this.backendConnector.saveMissing(l, namespace, k, defaultForMissing, updateMissing, options);\n }\n this.emit('missingKey', l, namespace, k, res);\n };\n if (this.options.saveMissing) {\n if (this.options.saveMissingPlurals && needsPluralHandling) {\n lngs.forEach(language => {\n const suffixes = this.pluralResolver.getSuffixes(language, options);\n if (needsZeroSuffixLookup && options[`defaultValue${this.options.pluralSeparator}zero`] && suffixes.indexOf(`${this.options.pluralSeparator}zero`) < 0) {\n suffixes.push(`${this.options.pluralSeparator}zero`);\n }\n suffixes.forEach(suffix => {\n send([language], key + suffix, options[`defaultValue${suffix}`] || defaultValue);\n });\n });\n } else {\n send(lngs, key, defaultValue);\n }\n }\n }\n res = this.extendTranslation(res, keys, options, resolved, lastKey);\n if (usedKey && res === key && this.options.appendNamespaceToMissingKey) res = `${namespace}:${key}`;\n if ((usedKey || usedDefault) && this.options.parseMissingKeyHandler) {\n if (this.options.compatibilityAPI !== 'v1') {\n res = this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey ? `${namespace}:${key}` : key, usedDefault ? res : undefined);\n } else {\n res = this.options.parseMissingKeyHandler(res);\n }\n }\n }\n if (returnDetails) {\n resolved.res = res;\n resolved.usedParams = this.getUsedParamsDetails(options);\n return resolved;\n }\n return res;\n }\n extendTranslation(res, key, options, resolved, lastKey) {\n var _this = this;\n if (this.i18nFormat && this.i18nFormat.parse) {\n res = this.i18nFormat.parse(res, {\n ...this.options.interpolation.defaultVariables,\n ...options\n }, options.lng || this.language || resolved.usedLng, resolved.usedNS, resolved.usedKey, {\n resolved\n });\n } else if (!options.skipInterpolation) {\n if (options.interpolation) this.interpolator.init({\n ...options,\n ...{\n interpolation: {\n ...this.options.interpolation,\n ...options.interpolation\n }\n }\n });\n const skipOnVariables = typeof res === 'string' && (options && options.interpolation && options.interpolation.skipOnVariables !== undefined ? options.interpolation.skipOnVariables : this.options.interpolation.skipOnVariables);\n let nestBef;\n if (skipOnVariables) {\n const nb = res.match(this.interpolator.nestingRegexp);\n nestBef = nb && nb.length;\n }\n let data = options.replace && typeof options.replace !== 'string' ? options.replace : options;\n if (this.options.interpolation.defaultVariables) data = {\n ...this.options.interpolation.defaultVariables,\n ...data\n };\n res = this.interpolator.interpolate(res, data, options.lng || this.language || resolved.usedLng, options);\n if (skipOnVariables) {\n const na = res.match(this.interpolator.nestingRegexp);\n const nestAft = na && na.length;\n if (nestBef < nestAft) options.nest = false;\n }\n if (!options.lng && this.options.compatibilityAPI !== 'v1' && resolved && resolved.res) options.lng = this.language || resolved.usedLng;\n if (options.nest !== false) res = this.interpolator.nest(res, function () {\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n if (lastKey && lastKey[0] === args[0] && !options.context) {\n _this.logger.warn(`It seems you are nesting recursively key: ${args[0]} in key: ${key[0]}`);\n return null;\n }\n return _this.translate(...args, key);\n }, options);\n if (options.interpolation) this.interpolator.reset();\n }\n const postProcess = options.postProcess || this.options.postProcess;\n const postProcessorNames = typeof postProcess === 'string' ? [postProcess] : postProcess;\n if (res !== undefined && res !== null && postProcessorNames && postProcessorNames.length && options.applyPostProcessor !== false) {\n res = postProcessor.handle(postProcessorNames, res, key, this.options && this.options.postProcessPassResolved ? {\n i18nResolved: {\n ...resolved,\n usedParams: this.getUsedParamsDetails(options)\n },\n ...options\n } : options, this);\n }\n return res;\n }\n resolve(keys) {\n let options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n let found;\n let usedKey;\n let exactUsedKey;\n let usedLng;\n let usedNS;\n if (typeof keys === 'string') keys = [keys];\n keys.forEach(k => {\n if (this.isValidLookup(found)) return;\n const extracted = this.extractFromKey(k, options);\n const key = extracted.key;\n usedKey = key;\n let namespaces = extracted.namespaces;\n if (this.options.fallbackNS) namespaces = namespaces.concat(this.options.fallbackNS);\n const needsPluralHandling = options.count !== undefined && typeof options.count !== 'string';\n const needsZeroSuffixLookup = needsPluralHandling && !options.ordinal && options.count === 0 && this.pluralResolver.shouldUseIntlApi();\n const needsContextHandling = options.context !== undefined && (typeof options.context === 'string' || typeof options.context === 'number') && options.context !== '';\n const codes = options.lngs ? options.lngs : this.languageUtils.toResolveHierarchy(options.lng || this.language, options.fallbackLng);\n namespaces.forEach(ns => {\n if (this.isValidLookup(found)) return;\n usedNS = ns;\n if (!checkedLoadedFor[`${codes[0]}-${ns}`] && this.utils && this.utils.hasLoadedNamespace && !this.utils.hasLoadedNamespace(usedNS)) {\n checkedLoadedFor[`${codes[0]}-${ns}`] = true;\n this.logger.warn(`key \"${usedKey}\" for languages \"${codes.join(', ')}\" won't get resolved as namespace \"${usedNS}\" was not yet loaded`, 'This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!');\n }\n codes.forEach(code => {\n if (this.isValidLookup(found)) return;\n usedLng = code;\n const finalKeys = [key];\n if (this.i18nFormat && this.i18nFormat.addLookupKeys) {\n this.i18nFormat.addLookupKeys(finalKeys, key, code, ns, options);\n } else {\n let pluralSuffix;\n if (needsPluralHandling) pluralSuffix = this.pluralResolver.getSuffix(code, options.count, options);\n const zeroSuffix = `${this.options.pluralSeparator}zero`;\n const ordinalPrefix = `${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;\n if (needsPluralHandling) {\n finalKeys.push(key + pluralSuffix);\n if (options.ordinal && pluralSuffix.indexOf(ordinalPrefix) === 0) {\n finalKeys.push(key + pluralSuffix.replace(ordinalPrefix, this.options.pluralSeparator));\n }\n if (needsZeroSuffixLookup) {\n finalKeys.push(key + zeroSuffix);\n }\n }\n if (needsContextHandling) {\n const contextKey = `${key}${this.options.contextSeparator}${options.context}`;\n finalKeys.push(contextKey);\n if (needsPluralHandling) {\n finalKeys.push(contextKey + pluralSuffix);\n if (options.ordinal && pluralSuffix.indexOf(ordinalPrefix) === 0) {\n finalKeys.push(contextKey + pluralSuffix.replace(ordinalPrefix, this.options.pluralSeparator));\n }\n if (needsZeroSuffixLookup) {\n finalKeys.push(contextKey + zeroSuffix);\n }\n }\n }\n }\n let possibleKey;\n while (possibleKey = finalKeys.pop()) {\n if (!this.isValidLookup(found)) {\n exactUsedKey = possibleKey;\n found = this.getResource(code, ns, possibleKey, options);\n }\n }\n });\n });\n });\n return {\n res: found,\n usedKey,\n exactUsedKey,\n usedLng,\n usedNS\n };\n }\n isValidLookup(res) {\n return res !== undefined && !(!this.options.returnNull && res === null) && !(!this.options.returnEmptyString && res === '');\n }\n getResource(code, ns, key) {\n let options = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {};\n if (this.i18nFormat && this.i18nFormat.getResource) return this.i18nFormat.getResource(code, ns, key, options);\n return this.resourceStore.getResource(code, ns, key, options);\n }\n getUsedParamsDetails() {\n let options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n const optionsKeys = ['defaultValue', 'ordinal', 'context', 'replace', 'lng', 'lngs', 'fallbackLng', 'ns', 'keySeparator', 'nsSeparator', 'returnObjects', 'returnDetails', 'joinArrays', 'postProcess', 'interpolation'];\n const useOptionsReplaceForData = options.replace && typeof options.replace !== 'string';\n let data = useOptionsReplaceForData ? options.replace : options;\n if (useOptionsReplaceForData && typeof options.count !== 'undefined') {\n data.count = options.count;\n }\n if (this.options.interpolation.defaultVariables) {\n data = {\n ...this.options.interpolation.defaultVariables,\n ...data\n };\n }\n if (!useOptionsReplaceForData) {\n data = {\n ...data\n };\n for (const key of optionsKeys) {\n delete data[key];\n }\n }\n return data;\n }\n static hasDefaultValue(options) {\n const prefix = 'defaultValue';\n for (const option in options) {\n if (Object.prototype.hasOwnProperty.call(options, option) && prefix === option.substring(0, prefix.length) && undefined !== options[option]) {\n return true;\n }\n }\n return false;\n }\n}\n\nconst capitalize = string => string.charAt(0).toUpperCase() + string.slice(1);\nclass LanguageUtil {\n constructor(options) {\n this.options = options;\n this.supportedLngs = this.options.supportedLngs || false;\n this.logger = baseLogger.create('languageUtils');\n }\n getScriptPartFromCode(code) {\n code = getCleanedCode(code);\n if (!code || code.indexOf('-') < 0) return null;\n const p = code.split('-');\n if (p.length === 2) return null;\n p.pop();\n if (p[p.length - 1].toLowerCase() === 'x') return null;\n return this.formatLanguageCode(p.join('-'));\n }\n getLanguagePartFromCode(code) {\n code = getCleanedCode(code);\n if (!code || code.indexOf('-') < 0) return code;\n const p = code.split('-');\n return this.formatLanguageCode(p[0]);\n }\n formatLanguageCode(code) {\n if (typeof code === 'string' && code.indexOf('-') > -1) {\n if (typeof Intl !== 'undefined' && typeof Intl.getCanonicalLocales !== 'undefined') {\n try {\n let formattedCode = Intl.getCanonicalLocales(code)[0];\n if (formattedCode && this.options.lowerCaseLng) {\n formattedCode = formattedCode.toLowerCase();\n }\n if (formattedCode) return formattedCode;\n } catch (e) {}\n }\n const specialCases = ['hans', 'hant', 'latn', 'cyrl', 'cans', 'mong', 'arab'];\n let p = code.split('-');\n if (this.options.lowerCaseLng) {\n p = p.map(part => part.toLowerCase());\n } else if (p.length === 2) {\n p[0] = p[0].toLowerCase();\n p[1] = p[1].toUpperCase();\n if (specialCases.indexOf(p[1].toLowerCase()) > -1) p[1] = capitalize(p[1].toLowerCase());\n } else if (p.length === 3) {\n p[0] = p[0].toLowerCase();\n if (p[1].length === 2) p[1] = p[1].toUpperCase();\n if (p[0] !== 'sgn' && p[2].length === 2) p[2] = p[2].toUpperCase();\n if (specialCases.indexOf(p[1].toLowerCase()) > -1) p[1] = capitalize(p[1].toLowerCase());\n if (specialCases.indexOf(p[2].toLowerCase()) > -1) p[2] = capitalize(p[2].toLowerCase());\n }\n return p.join('-');\n }\n return this.options.cleanCode || this.options.lowerCaseLng ? code.toLowerCase() : code;\n }\n isSupportedCode(code) {\n if (this.options.load === 'languageOnly' || this.options.nonExplicitSupportedLngs) {\n code = this.getLanguagePartFromCode(code);\n }\n return !this.supportedLngs || !this.supportedLngs.length || this.supportedLngs.indexOf(code) > -1;\n }\n getBestMatchFromCodes(codes) {\n if (!codes) return null;\n let found;\n codes.forEach(code => {\n if (found) return;\n const cleanedLng = this.formatLanguageCode(code);\n if (!this.options.supportedLngs || this.isSupportedCode(cleanedLng)) found = cleanedLng;\n });\n if (!found && this.options.supportedLngs) {\n codes.forEach(code => {\n if (found) return;\n const lngOnly = this.getLanguagePartFromCode(code);\n if (this.isSupportedCode(lngOnly)) return found = lngOnly;\n found = this.options.supportedLngs.find(supportedLng => {\n if (supportedLng === lngOnly) return supportedLng;\n if (supportedLng.indexOf('-') < 0 && lngOnly.indexOf('-') < 0) return;\n if (supportedLng.indexOf('-') > 0 && lngOnly.indexOf('-') < 0 && supportedLng.substring(0, supportedLng.indexOf('-')) === lngOnly) return supportedLng;\n if (supportedLng.indexOf(lngOnly) === 0 && lngOnly.length > 1) return supportedLng;\n });\n });\n }\n if (!found) found = this.getFallbackCodes(this.options.fallbackLng)[0];\n return found;\n }\n getFallbackCodes(fallbacks, code) {\n if (!fallbacks) return [];\n if (typeof fallbacks === 'function') fallbacks = fallbacks(code);\n if (typeof fallbacks === 'string') fallbacks = [fallbacks];\n if (Array.isArray(fallbacks)) return fallbacks;\n if (!code) return fallbacks.default || [];\n let found = fallbacks[code];\n if (!found) found = fallbacks[this.getScriptPartFromCode(code)];\n if (!found) found = fallbacks[this.formatLanguageCode(code)];\n if (!found) found = fallbacks[this.getLanguagePartFromCode(code)];\n if (!found) found = fallbacks.default;\n return found || [];\n }\n toResolveHierarchy(code, fallbackCode) {\n const fallbackCodes = this.getFallbackCodes(fallbackCode || this.options.fallbackLng || [], code);\n const codes = [];\n const addCode = c => {\n if (!c) return;\n if (this.isSupportedCode(c)) {\n codes.push(c);\n } else {\n this.logger.warn(`rejecting language code not found in supportedLngs: ${c}`);\n }\n };\n if (typeof code === 'string' && (code.indexOf('-') > -1 || code.indexOf('_') > -1)) {\n if (this.options.load !== 'languageOnly') addCode(this.formatLanguageCode(code));\n if (this.options.load !== 'languageOnly' && this.options.load !== 'currentOnly') addCode(this.getScriptPartFromCode(code));\n if (this.options.load !== 'currentOnly') addCode(this.getLanguagePartFromCode(code));\n } else if (typeof code === 'string') {\n addCode(this.formatLanguageCode(code));\n }\n fallbackCodes.forEach(fc => {\n if (codes.indexOf(fc) < 0) addCode(this.formatLanguageCode(fc));\n });\n return codes;\n }\n}\n\nlet sets = [{\n lngs: ['ach', 'ak', 'am', 'arn', 'br', 'fil', 'gun', 'ln', 'mfe', 'mg', 'mi', 'oc', 'pt', 'pt-BR', 'tg', 'tl', 'ti', 'tr', 'uz', 'wa'],\n nr: [1, 2],\n fc: 1\n}, {\n lngs: ['af', 'an', 'ast', 'az', 'bg', 'bn', 'ca', 'da', 'de', 'dev', 'el', 'en', 'eo', 'es', 'et', 'eu', 'fi', 'fo', 'fur', 'fy', 'gl', 'gu', 'ha', 'hi', 'hu', 'hy', 'ia', 'it', 'kk', 'kn', 'ku', 'lb', 'mai', 'ml', 'mn', 'mr', 'nah', 'nap', 'nb', 'ne', 'nl', 'nn', 'no', 'nso', 'pa', 'pap', 'pms', 'ps', 'pt-PT', 'rm', 'sco', 'se', 'si', 'so', 'son', 'sq', 'sv', 'sw', 'ta', 'te', 'tk', 'ur', 'yo'],\n nr: [1, 2],\n fc: 2\n}, {\n lngs: ['ay', 'bo', 'cgg', 'fa', 'ht', 'id', 'ja', 'jbo', 'ka', 'km', 'ko', 'ky', 'lo', 'ms', 'sah', 'su', 'th', 'tt', 'ug', 'vi', 'wo', 'zh'],\n nr: [1],\n fc: 3\n}, {\n lngs: ['be', 'bs', 'cnr', 'dz', 'hr', 'ru', 'sr', 'uk'],\n nr: [1, 2, 5],\n fc: 4\n}, {\n lngs: ['ar'],\n nr: [0, 1, 2, 3, 11, 100],\n fc: 5\n}, {\n lngs: ['cs', 'sk'],\n nr: [1, 2, 5],\n fc: 6\n}, {\n lngs: ['csb', 'pl'],\n nr: [1, 2, 5],\n fc: 7\n}, {\n lngs: ['cy'],\n nr: [1, 2, 3, 8],\n fc: 8\n}, {\n lngs: ['fr'],\n nr: [1, 2],\n fc: 9\n}, {\n lngs: ['ga'],\n nr: [1, 2, 3, 7, 11],\n fc: 10\n}, {\n lngs: ['gd'],\n nr: [1, 2, 3, 20],\n fc: 11\n}, {\n lngs: ['is'],\n nr: [1, 2],\n fc: 12\n}, {\n lngs: ['jv'],\n nr: [0, 1],\n fc: 13\n}, {\n lngs: ['kw'],\n nr: [1, 2, 3, 4],\n fc: 14\n}, {\n lngs: ['lt'],\n nr: [1, 2, 10],\n fc: 15\n}, {\n lngs: ['lv'],\n nr: [1, 2, 0],\n fc: 16\n}, {\n lngs: ['mk'],\n nr: [1, 2],\n fc: 17\n}, {\n lngs: ['mnk'],\n nr: [0, 1, 2],\n fc: 18\n}, {\n lngs: ['mt'],\n nr: [1, 2, 11, 20],\n fc: 19\n}, {\n lngs: ['or'],\n nr: [2, 1],\n fc: 2\n}, {\n lngs: ['ro'],\n nr: [1, 2, 20],\n fc: 20\n}, {\n lngs: ['sl'],\n nr: [5, 1, 2, 3],\n fc: 21\n}, {\n lngs: ['he', 'iw'],\n nr: [1, 2, 20, 21],\n fc: 22\n}];\nlet _rulesPluralsTypes = {\n 1: n => Number(n > 1),\n 2: n => Number(n != 1),\n 3: n => 0,\n 4: n => Number(n % 10 == 1 && n % 100 != 11 ? 0 : n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 10 || n % 100 >= 20) ? 1 : 2),\n 5: n => Number(n == 0 ? 0 : n == 1 ? 1 : n == 2 ? 2 : n % 100 >= 3 && n % 100 <= 10 ? 3 : n % 100 >= 11 ? 4 : 5),\n 6: n => Number(n == 1 ? 0 : n >= 2 && n <= 4 ? 1 : 2),\n 7: n => Number(n == 1 ? 0 : n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 10 || n % 100 >= 20) ? 1 : 2),\n 8: n => Number(n == 1 ? 0 : n == 2 ? 1 : n != 8 && n != 11 ? 2 : 3),\n 9: n => Number(n >= 2),\n 10: n => Number(n == 1 ? 0 : n == 2 ? 1 : n < 7 ? 2 : n < 11 ? 3 : 4),\n 11: n => Number(n == 1 || n == 11 ? 0 : n == 2 || n == 12 ? 1 : n > 2 && n < 20 ? 2 : 3),\n 12: n => Number(n % 10 != 1 || n % 100 == 11),\n 13: n => Number(n !== 0),\n 14: n => Number(n == 1 ? 0 : n == 2 ? 1 : n == 3 ? 2 : 3),\n 15: n => Number(n % 10 == 1 && n % 100 != 11 ? 0 : n % 10 >= 2 && (n % 100 < 10 || n % 100 >= 20) ? 1 : 2),\n 16: n => Number(n % 10 == 1 && n % 100 != 11 ? 0 : n !== 0 ? 1 : 2),\n 17: n => Number(n == 1 || n % 10 == 1 && n % 100 != 11 ? 0 : 1),\n 18: n => Number(n == 0 ? 0 : n == 1 ? 1 : 2),\n 19: n => Number(n == 1 ? 0 : n == 0 || n % 100 > 1 && n % 100 < 11 ? 1 : n % 100 > 10 && n % 100 < 20 ? 2 : 3),\n 20: n => Number(n == 1 ? 0 : n == 0 || n % 100 > 0 && n % 100 < 20 ? 1 : 2),\n 21: n => Number(n % 100 == 1 ? 1 : n % 100 == 2 ? 2 : n % 100 == 3 || n % 100 == 4 ? 3 : 0),\n 22: n => Number(n == 1 ? 0 : n == 2 ? 1 : (n < 0 || n > 10) && n % 10 == 0 ? 2 : 3)\n};\nconst nonIntlVersions = ['v1', 'v2', 'v3'];\nconst intlVersions = ['v4'];\nconst suffixesOrder = {\n zero: 0,\n one: 1,\n two: 2,\n few: 3,\n many: 4,\n other: 5\n};\nconst createRules = () => {\n const rules = {};\n sets.forEach(set => {\n set.lngs.forEach(l => {\n rules[l] = {\n numbers: set.nr,\n plurals: _rulesPluralsTypes[set.fc]\n };\n });\n });\n return rules;\n};\nclass PluralResolver {\n constructor(languageUtils) {\n let options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n this.languageUtils = languageUtils;\n this.options = options;\n this.logger = baseLogger.create('pluralResolver');\n if ((!this.options.compatibilityJSON || intlVersions.includes(this.options.compatibilityJSON)) && (typeof Intl === 'undefined' || !Intl.PluralRules)) {\n this.options.compatibilityJSON = 'v3';\n this.logger.error('Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.');\n }\n this.rules = createRules();\n this.pluralRulesCache = {};\n }\n addRule(lng, obj) {\n this.rules[lng] = obj;\n }\n clearCache() {\n this.pluralRulesCache = {};\n }\n getRule(code) {\n let options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n if (this.shouldUseIntlApi()) {\n try {\n const cleanedCode = getCleanedCode(code === 'dev' ? 'en' : code);\n const type = options.ordinal ? 'ordinal' : 'cardinal';\n const cacheKey = JSON.stringify({\n cleanedCode,\n type\n });\n if (cacheKey in this.pluralRulesCache) {\n return this.pluralRulesCache[cacheKey];\n }\n const rule = new Intl.PluralRules(cleanedCode, {\n type\n });\n this.pluralRulesCache[cacheKey] = rule;\n return rule;\n } catch (err) {\n return;\n }\n }\n return this.rules[code] || this.rules[this.languageUtils.getLanguagePartFromCode(code)];\n }\n needsPlural(code) {\n let options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n const rule = this.getRule(code, options);\n if (this.shouldUseIntlApi()) {\n return rule && rule.resolvedOptions().pluralCategories.length > 1;\n }\n return rule && rule.numbers.length > 1;\n }\n getPluralFormsOfKey(code, key) {\n let options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n return this.getSuffixes(code, options).map(suffix => `${key}${suffix}`);\n }\n getSuffixes(code) {\n let options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n const rule = this.getRule(code, options);\n if (!rule) {\n return [];\n }\n if (this.shouldUseIntlApi()) {\n return rule.resolvedOptions().pluralCategories.sort((pluralCategory1, pluralCategory2) => suffixesOrder[pluralCategory1] - suffixesOrder[pluralCategory2]).map(pluralCategory => `${this.options.prepend}${options.ordinal ? `ordinal${this.options.prepend}` : ''}${pluralCategory}`);\n }\n return rule.numbers.map(number => this.getSuffix(code, number, options));\n }\n getSuffix(code, count) {\n let options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n const rule = this.getRule(code, options);\n if (rule) {\n if (this.shouldUseIntlApi()) {\n return `${this.options.prepend}${options.ordinal ? `ordinal${this.options.prepend}` : ''}${rule.select(count)}`;\n }\n return this.getSuffixRetroCompatible(rule, count);\n }\n this.logger.warn(`no plural rule found for: ${code}`);\n return '';\n }\n getSuffixRetroCompatible(rule, count) {\n const idx = rule.noAbs ? rule.plurals(count) : rule.plurals(Math.abs(count));\n let suffix = rule.numbers[idx];\n if (this.options.simplifyPluralSuffix && rule.numbers.length === 2 && rule.numbers[0] === 1) {\n if (suffix === 2) {\n suffix = 'plural';\n } else if (suffix === 1) {\n suffix = '';\n }\n }\n const returnSuffix = () => this.options.prepend && suffix.toString() ? this.options.prepend + suffix.toString() : suffix.toString();\n if (this.options.compatibilityJSON === 'v1') {\n if (suffix === 1) return '';\n if (typeof suffix === 'number') return `_plural_${suffix.toString()}`;\n return returnSuffix();\n } else if (this.options.compatibilityJSON === 'v2') {\n return returnSuffix();\n } else if (this.options.simplifyPluralSuffix && rule.numbers.length === 2 && rule.numbers[0] === 1) {\n return returnSuffix();\n }\n return this.options.prepend && idx.toString() ? this.options.prepend + idx.toString() : idx.toString();\n }\n shouldUseIntlApi() {\n return !nonIntlVersions.includes(this.options.compatibilityJSON);\n }\n}\n\nconst deepFindWithDefaults = function (data, defaultData, key) {\n let keySeparator = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : '.';\n let ignoreJSONStructure = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : true;\n let path = getPathWithDefaults(data, defaultData, key);\n if (!path && ignoreJSONStructure && typeof key === 'string') {\n path = deepFind(data, key, keySeparator);\n if (path === undefined) path = deepFind(defaultData, key, keySeparator);\n }\n return path;\n};\nconst regexSafe = val => val.replace(/\\$/g, '$$$$');\nclass Interpolator {\n constructor() {\n let options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n this.logger = baseLogger.create('interpolator');\n this.options = options;\n this.format = options.interpolation && options.interpolation.format || (value => value);\n this.init(options);\n }\n init() {\n let options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n if (!options.interpolation) options.interpolation = {\n escapeValue: true\n };\n const {\n escape: escape$1,\n escapeValue,\n useRawValueToEscape,\n prefix,\n prefixEscaped,\n suffix,\n suffixEscaped,\n formatSeparator,\n unescapeSuffix,\n unescapePrefix,\n nestingPrefix,\n nestingPrefixEscaped,\n nestingSuffix,\n nestingSuffixEscaped,\n nestingOptionsSeparator,\n maxReplaces,\n alwaysFormat\n } = options.interpolation;\n this.escape = escape$1 !== undefined ? escape$1 : escape;\n this.escapeValue = escapeValue !== undefined ? escapeValue : true;\n this.useRawValueToEscape = useRawValueToEscape !== undefined ? useRawValueToEscape : false;\n this.prefix = prefix ? regexEscape(prefix) : prefixEscaped || '{{';\n this.suffix = suffix ? regexEscape(suffix) : suffixEscaped || '}}';\n this.formatSeparator = formatSeparator || ',';\n this.unescapePrefix = unescapeSuffix ? '' : unescapePrefix || '-';\n this.unescapeSuffix = this.unescapePrefix ? '' : unescapeSuffix || '';\n this.nestingPrefix = nestingPrefix ? regexEscape(nestingPrefix) : nestingPrefixEscaped || regexEscape('$t(');\n this.nestingSuffix = nestingSuffix ? regexEscape(nestingSuffix) : nestingSuffixEscaped || regexEscape(')');\n this.nestingOptionsSeparator = nestingOptionsSeparator || ',';\n this.maxReplaces = maxReplaces || 1000;\n this.alwaysFormat = alwaysFormat !== undefined ? alwaysFormat : false;\n this.resetRegExp();\n }\n reset() {\n if (this.options) this.init(this.options);\n }\n resetRegExp() {\n const getOrResetRegExp = (existingRegExp, pattern) => {\n if (existingRegExp && existingRegExp.source === pattern) {\n existingRegExp.lastIndex = 0;\n return existingRegExp;\n }\n return new RegExp(pattern, 'g');\n };\n this.regexp = getOrResetRegExp(this.regexp, `${this.prefix}(.+?)${this.suffix}`);\n this.regexpUnescape = getOrResetRegExp(this.regexpUnescape, `${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`);\n this.nestingRegexp = getOrResetRegExp(this.nestingRegexp, `${this.nestingPrefix}(.+?)${this.nestingSuffix}`);\n }\n interpolate(str, data, lng, options) {\n let match;\n let value;\n let replaces;\n const defaultData = this.options && this.options.interpolation && this.options.interpolation.defaultVariables || {};\n const handleFormat = key => {\n if (key.indexOf(this.formatSeparator) < 0) {\n const path = deepFindWithDefaults(data, defaultData, key, this.options.keySeparator, this.options.ignoreJSONStructure);\n return this.alwaysFormat ? this.format(path, undefined, lng, {\n ...options,\n ...data,\n interpolationkey: key\n }) : path;\n }\n const p = key.split(this.formatSeparator);\n const k = p.shift().trim();\n const f = p.join(this.formatSeparator).trim();\n return this.format(deepFindWithDefaults(data, defaultData, k, this.options.keySeparator, this.options.ignoreJSONStructure), f, lng, {\n ...options,\n ...data,\n interpolationkey: k\n });\n };\n this.resetRegExp();\n const missingInterpolationHandler = options && options.missingInterpolationHandler || this.options.missingInterpolationHandler;\n const skipOnVariables = options && options.interpolation && options.interpolation.skipOnVariables !== undefined ? options.interpolation.skipOnVariables : this.options.interpolation.skipOnVariables;\n const todos = [{\n regex: this.regexpUnescape,\n safeValue: val => regexSafe(val)\n }, {\n regex: this.regexp,\n safeValue: val => this.escapeValue ? regexSafe(this.escape(val)) : regexSafe(val)\n }];\n todos.forEach(todo => {\n replaces = 0;\n while (match = todo.regex.exec(str)) {\n const matchedVar = match[1].trim();\n value = handleFormat(matchedVar);\n if (value === undefined) {\n if (typeof missingInterpolationHandler === 'function') {\n const temp = missingInterpolationHandler(str, match, options);\n value = typeof temp === 'string' ? temp : '';\n } else if (options && Object.prototype.hasOwnProperty.call(options, matchedVar)) {\n value = '';\n } else if (skipOnVariables) {\n value = match[0];\n continue;\n } else {\n this.logger.warn(`missed to pass in variable ${matchedVar} for interpolating ${str}`);\n value = '';\n }\n } else if (typeof value !== 'string' && !this.useRawValueToEscape) {\n value = makeString(value);\n }\n const safeValue = todo.safeValue(value);\n str = str.replace(match[0], safeValue);\n if (skipOnVariables) {\n todo.regex.lastIndex += value.length;\n todo.regex.lastIndex -= match[0].length;\n } else {\n todo.regex.lastIndex = 0;\n }\n replaces++;\n if (replaces >= this.maxReplaces) {\n break;\n }\n }\n });\n return str;\n }\n nest(str, fc) {\n let options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n let match;\n let value;\n let clonedOptions;\n const handleHasOptions = (key, inheritedOptions) => {\n const sep = this.nestingOptionsSeparator;\n if (key.indexOf(sep) < 0) return key;\n const c = key.split(new RegExp(`${sep}[ ]*{`));\n let optionsString = `{${c[1]}`;\n key = c[0];\n optionsString = this.interpolate(optionsString, clonedOptions);\n const matchedSingleQuotes = optionsString.match(/'/g);\n const matchedDoubleQuotes = optionsString.match(/\"/g);\n if (matchedSingleQuotes && matchedSingleQuotes.length % 2 === 0 && !matchedDoubleQuotes || matchedDoubleQuotes.length % 2 !== 0) {\n optionsString = optionsString.replace(/'/g, '\"');\n }\n try {\n clonedOptions = JSON.parse(optionsString);\n if (inheritedOptions) clonedOptions = {\n ...inheritedOptions,\n ...clonedOptions\n };\n } catch (e) {\n this.logger.warn(`failed parsing options string in nesting for key ${key}`, e);\n return `${key}${sep}${optionsString}`;\n }\n if (clonedOptions.defaultValue && clonedOptions.defaultValue.indexOf(this.prefix) > -1) delete clonedOptions.defaultValue;\n return key;\n };\n while (match = this.nestingRegexp.exec(str)) {\n let formatters = [];\n clonedOptions = {\n ...options\n };\n clonedOptions = clonedOptions.replace && typeof clonedOptions.replace !== 'string' ? clonedOptions.replace : clonedOptions;\n clonedOptions.applyPostProcessor = false;\n delete clonedOptions.defaultValue;\n let doReduce = false;\n if (match[0].indexOf(this.formatSeparator) !== -1 && !/{.*}/.test(match[1])) {\n const r = match[1].split(this.formatSeparator).map(elem => elem.trim());\n match[1] = r.shift();\n formatters = r;\n doReduce = true;\n }\n value = fc(handleHasOptions.call(this, match[1].trim(), clonedOptions), clonedOptions);\n if (value && match[0] === str && typeof value !== 'string') return value;\n if (typeof value !== 'string') value = makeString(value);\n if (!value) {\n this.logger.warn(`missed to resolve ${match[1]} for nesting ${str}`);\n value = '';\n }\n if (doReduce) {\n value = formatters.reduce((v, f) => this.format(v, f, options.lng, {\n ...options,\n interpolationkey: match[1].trim()\n }), value.trim());\n }\n str = str.replace(match[0], value);\n this.regexp.lastIndex = 0;\n }\n return str;\n }\n}\n\nconst parseFormatStr = formatStr => {\n let formatName = formatStr.toLowerCase().trim();\n const formatOptions = {};\n if (formatStr.indexOf('(') > -1) {\n const p = formatStr.split('(');\n formatName = p[0].toLowerCase().trim();\n const optStr = p[1].substring(0, p[1].length - 1);\n if (formatName === 'currency' && optStr.indexOf(':') < 0) {\n if (!formatOptions.currency) formatOptions.currency = optStr.trim();\n } else if (formatName === 'relativetime' && optStr.indexOf(':') < 0) {\n if (!formatOptions.range) formatOptions.range = optStr.trim();\n } else {\n const opts = optStr.split(';');\n opts.forEach(opt => {\n if (opt) {\n const [key, ...rest] = opt.split(':');\n const val = rest.join(':').trim().replace(/^'+|'+$/g, '');\n const trimmedKey = key.trim();\n if (!formatOptions[trimmedKey]) formatOptions[trimmedKey] = val;\n if (val === 'false') formatOptions[trimmedKey] = false;\n if (val === 'true') formatOptions[trimmedKey] = true;\n if (!isNaN(val)) formatOptions[trimmedKey] = parseInt(val, 10);\n }\n });\n }\n }\n return {\n formatName,\n formatOptions\n };\n};\nconst createCachedFormatter = fn => {\n const cache = {};\n return (val, lng, options) => {\n let optForCache = options;\n if (options && options.interpolationkey && options.formatParams && options.formatParams[options.interpolationkey] && options[options.interpolationkey]) {\n optForCache = {\n ...optForCache,\n [options.interpolationkey]: undefined\n };\n }\n const key = lng + JSON.stringify(optForCache);\n let formatter = cache[key];\n if (!formatter) {\n formatter = fn(getCleanedCode(lng), options);\n cache[key] = formatter;\n }\n return formatter(val);\n };\n};\nclass Formatter {\n constructor() {\n let options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n this.logger = baseLogger.create('formatter');\n this.options = options;\n this.formats = {\n number: createCachedFormatter((lng, opt) => {\n const formatter = new Intl.NumberFormat(lng, {\n ...opt\n });\n return val => formatter.format(val);\n }),\n currency: createCachedFormatter((lng, opt) => {\n const formatter = new Intl.NumberFormat(lng, {\n ...opt,\n style: 'currency'\n });\n return val => formatter.format(val);\n }),\n datetime: createCachedFormatter((lng, opt) => {\n const formatter = new Intl.DateTimeFormat(lng, {\n ...opt\n });\n return val => formatter.format(val);\n }),\n relativetime: createCachedFormatter((lng, opt) => {\n const formatter = new Intl.RelativeTimeFormat(lng, {\n ...opt\n });\n return val => formatter.format(val, opt.range || 'day');\n }),\n list: createCachedFormatter((lng, opt) => {\n const formatter = new Intl.ListFormat(lng, {\n ...opt\n });\n return val => formatter.format(val);\n })\n };\n this.init(options);\n }\n init(services) {\n let options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {\n interpolation: {}\n };\n const iOpts = options.interpolation;\n this.formatSeparator = iOpts.formatSeparator ? iOpts.formatSeparator : iOpts.formatSeparator || ',';\n }\n add(name, fc) {\n this.formats[name.toLowerCase().trim()] = fc;\n }\n addCached(name, fc) {\n this.formats[name.toLowerCase().trim()] = createCachedFormatter(fc);\n }\n format(value, format, lng) {\n let options = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {};\n const formats = format.split(this.formatSeparator);\n if (formats.length > 1 && formats[0].indexOf('(') > 1 && formats[0].indexOf(')') < 0 && formats.find(f => f.indexOf(')') > -1)) {\n const lastIndex = formats.findIndex(f => f.indexOf(')') > -1);\n formats[0] = [formats[0], ...formats.splice(1, lastIndex)].join(this.formatSeparator);\n }\n const result = formats.reduce((mem, f) => {\n const {\n formatName,\n formatOptions\n } = parseFormatStr(f);\n if (this.formats[formatName]) {\n let formatted = mem;\n try {\n const valOptions = options && options.formatParams && options.formatParams[options.interpolationkey] || {};\n const l = valOptions.locale || valOptions.lng || options.locale || options.lng || lng;\n formatted = this.formats[formatName](mem, l, {\n ...formatOptions,\n ...options,\n ...valOptions\n });\n } catch (error) {\n this.logger.warn(error);\n }\n return formatted;\n } else {\n this.logger.warn(`there was no format function for ${formatName}`);\n }\n return mem;\n }, value);\n return result;\n }\n}\n\nconst removePending = (q, name) => {\n if (q.pending[name] !== undefined) {\n delete q.pending[name];\n q.pendingCount--;\n }\n};\nclass Connector extends EventEmitter {\n constructor(backend, store, services) {\n let options = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {};\n super();\n this.backend = backend;\n this.store = store;\n this.services = services;\n this.languageUtils = services.languageUtils;\n this.options = options;\n this.logger = baseLogger.create('backendConnector');\n this.waitingReads = [];\n this.maxParallelReads = options.maxParallelReads || 10;\n this.readingCalls = 0;\n this.maxRetries = options.maxRetries >= 0 ? options.maxRetries : 5;\n this.retryTimeout = options.retryTimeout >= 1 ? options.retryTimeout : 350;\n this.state = {};\n this.queue = [];\n if (this.backend && this.backend.init) {\n this.backend.init(services, options.backend, options);\n }\n }\n queueLoad(languages, namespaces, options, callback) {\n const toLoad = {};\n const pending = {};\n const toLoadLanguages = {};\n const toLoadNamespaces = {};\n languages.forEach(lng => {\n let hasAllNamespaces = true;\n namespaces.forEach(ns => {\n const name = `${lng}|${ns}`;\n if (!options.reload && this.store.hasResourceBundle(lng, ns)) {\n this.state[name] = 2;\n } else if (this.state[name] < 0) ; else if (this.state[name] === 1) {\n if (pending[name] === undefined) pending[name] = true;\n } else {\n this.state[name] = 1;\n hasAllNamespaces = false;\n if (pending[name] === undefined) pending[name] = true;\n if (toLoad[name] === undefined) toLoad[name] = true;\n if (toLoadNamespaces[ns] === undefined) toLoadNamespaces[ns] = true;\n }\n });\n if (!hasAllNamespaces) toLoadLanguages[lng] = true;\n });\n if (Object.keys(toLoad).length || Object.keys(pending).length) {\n this.queue.push({\n pending,\n pendingCount: Object.keys(pending).length,\n loaded: {},\n errors: [],\n callback\n });\n }\n return {\n toLoad: Object.keys(toLoad),\n pending: Object.keys(pending),\n toLoadLanguages: Object.keys(toLoadLanguages),\n toLoadNamespaces: Object.keys(toLoadNamespaces)\n };\n }\n loaded(name, err, data) {\n const s = name.split('|');\n const lng = s[0];\n const ns = s[1];\n if (err) this.emit('failedLoading', lng, ns, err);\n if (!err && data) {\n this.store.addResourceBundle(lng, ns, data, undefined, undefined, {\n skipCopy: true\n });\n }\n this.state[name] = err ? -1 : 2;\n if (err && data) this.state[name] = 0;\n const loaded = {};\n this.queue.forEach(q => {\n pushPath(q.loaded, [lng], ns);\n removePending(q, name);\n if (err) q.errors.push(err);\n if (q.pendingCount === 0 && !q.done) {\n Object.keys(q.loaded).forEach(l => {\n if (!loaded[l]) loaded[l] = {};\n const loadedKeys = q.loaded[l];\n if (loadedKeys.length) {\n loadedKeys.forEach(n => {\n if (loaded[l][n] === undefined) loaded[l][n] = true;\n });\n }\n });\n q.done = true;\n if (q.errors.length) {\n q.callback(q.errors);\n } else {\n q.callback();\n }\n }\n });\n this.emit('loaded', loaded);\n this.queue = this.queue.filter(q => !q.done);\n }\n read(lng, ns, fcName) {\n let tried = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : 0;\n let wait = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : this.retryTimeout;\n let callback = arguments.length > 5 ? arguments[5] : undefined;\n if (!lng.length) return callback(null, {});\n if (this.readingCalls >= this.maxParallelReads) {\n this.waitingReads.push({\n lng,\n ns,\n fcName,\n tried,\n wait,\n callback\n });\n return;\n }\n this.readingCalls++;\n const resolver = (err, data) => {\n this.readingCalls--;\n if (this.waitingReads.length > 0) {\n const next = this.waitingReads.shift();\n this.read(next.lng, next.ns, next.fcName, next.tried, next.wait, next.callback);\n }\n if (err && data && tried < this.maxRetries) {\n setTimeout(() => {\n this.read.call(this, lng, ns, fcName, tried + 1, wait * 2, callback);\n }, wait);\n return;\n }\n callback(err, data);\n };\n const fc = this.backend[fcName].bind(this.backend);\n if (fc.length === 2) {\n try {\n const r = fc(lng, ns);\n if (r && typeof r.then === 'function') {\n r.then(data => resolver(null, data)).catch(resolver);\n } else {\n resolver(null, r);\n }\n } catch (err) {\n resolver(err);\n }\n return;\n }\n return fc(lng, ns, resolver);\n }\n prepareLoading(languages, namespaces) {\n let options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n let callback = arguments.length > 3 ? arguments[3] : undefined;\n if (!this.backend) {\n this.logger.warn('No backend was added via i18next.use. Will not load resources.');\n return callback && callback();\n }\n if (typeof languages === 'string') languages = this.languageUtils.toResolveHierarchy(languages);\n if (typeof namespaces === 'string') namespaces = [namespaces];\n const toLoad = this.queueLoad(languages, namespaces, options, callback);\n if (!toLoad.toLoad.length) {\n if (!toLoad.pending.length) callback();\n return null;\n }\n toLoad.toLoad.forEach(name => {\n this.loadOne(name);\n });\n }\n load(languages, namespaces, callback) {\n this.prepareLoading(languages, namespaces, {}, callback);\n }\n reload(languages, namespaces, callback) {\n this.prepareLoading(languages, namespaces, {\n reload: true\n }, callback);\n }\n loadOne(name) {\n let prefix = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';\n const s = name.split('|');\n const lng = s[0];\n const ns = s[1];\n this.read(lng, ns, 'read', undefined, undefined, (err, data) => {\n if (err) this.logger.warn(`${prefix}loading namespace ${ns} for language ${lng} failed`, err);\n if (!err && data) this.logger.log(`${prefix}loaded namespace ${ns} for language ${lng}`, data);\n this.loaded(name, err, data);\n });\n }\n saveMissing(languages, namespace, key, fallbackValue, isUpdate) {\n let options = arguments.length > 5 && arguments[5] !== undefined ? arguments[5] : {};\n let clb = arguments.length > 6 && arguments[6] !== undefined ? arguments[6] : () => {};\n if (this.services.utils && this.services.utils.hasLoadedNamespace && !this.services.utils.hasLoadedNamespace(namespace)) {\n this.logger.warn(`did not save key \"${key}\" as the namespace \"${namespace}\" was not yet loaded`, 'This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!');\n return;\n }\n if (key === undefined || key === null || key === '') return;\n if (this.backend && this.backend.create) {\n const opts = {\n ...options,\n isUpdate\n };\n const fc = this.backend.create.bind(this.backend);\n if (fc.length < 6) {\n try {\n let r;\n if (fc.length === 5) {\n r = fc(languages, namespace, key, fallbackValue, opts);\n } else {\n r = fc(languages, namespace, key, fallbackValue);\n }\n if (r && typeof r.then === 'function') {\n r.then(data => clb(null, data)).catch(clb);\n } else {\n clb(null, r);\n }\n } catch (err) {\n clb(err);\n }\n } else {\n fc(languages, namespace, key, fallbackValue, clb, opts);\n }\n }\n if (!languages || !languages[0]) return;\n this.store.addResource(languages[0], namespace, key, fallbackValue);\n }\n}\n\nconst get = () => ({\n debug: false,\n initImmediate: true,\n ns: ['translation'],\n defaultNS: ['translation'],\n fallbackLng: ['dev'],\n fallbackNS: false,\n supportedLngs: false,\n nonExplicitSupportedLngs: false,\n load: 'all',\n preload: false,\n simplifyPluralSuffix: true,\n keySeparator: '.',\n nsSeparator: ':',\n pluralSeparator: '_',\n contextSeparator: '_',\n partialBundledLanguages: false,\n saveMissing: false,\n updateMissing: false,\n saveMissingTo: 'fallback',\n saveMissingPlurals: true,\n missingKeyHandler: false,\n missingInterpolationHandler: false,\n postProcess: false,\n postProcessPassResolved: false,\n returnNull: false,\n returnEmptyString: true,\n returnObjects: false,\n joinArrays: false,\n returnedObjectHandler: false,\n parseMissingKeyHandler: false,\n appendNamespaceToMissingKey: false,\n appendNamespaceToCIMode: false,\n overloadTranslationOptionHandler: args => {\n let ret = {};\n if (typeof args[1] === 'object') ret = args[1];\n if (typeof args[1] === 'string') ret.defaultValue = args[1];\n if (typeof args[2] === 'string') ret.tDescription = args[2];\n if (typeof args[2] === 'object' || typeof args[3] === 'object') {\n const options = args[3] || args[2];\n Object.keys(options).forEach(key => {\n ret[key] = options[key];\n });\n }\n return ret;\n },\n interpolation: {\n escapeValue: true,\n format: value => value,\n prefix: '{{',\n suffix: '}}',\n formatSeparator: ',',\n unescapePrefix: '-',\n nestingPrefix: '$t(',\n nestingSuffix: ')',\n nestingOptionsSeparator: ',',\n maxReplaces: 1000,\n skipOnVariables: true\n }\n});\nconst transformOptions = options => {\n if (typeof options.ns === 'string') options.ns = [options.ns];\n if (typeof options.fallbackLng === 'string') options.fallbackLng = [options.fallbackLng];\n if (typeof options.fallbackNS === 'string') options.fallbackNS = [options.fallbackNS];\n if (options.supportedLngs && options.supportedLngs.indexOf('cimode') < 0) {\n options.supportedLngs = options.supportedLngs.concat(['cimode']);\n }\n return options;\n};\n\nconst noop = () => {};\nconst bindMemberFunctions = inst => {\n const mems = Object.getOwnPropertyNames(Object.getPrototypeOf(inst));\n mems.forEach(mem => {\n if (typeof inst[mem] === 'function') {\n inst[mem] = inst[mem].bind(inst);\n }\n });\n};\nclass I18n extends EventEmitter {\n constructor() {\n let options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n let callback = arguments.length > 1 ? arguments[1] : undefined;\n super();\n this.options = transformOptions(options);\n this.services = {};\n this.logger = baseLogger;\n this.modules = {\n external: []\n };\n bindMemberFunctions(this);\n if (callback && !this.isInitialized && !options.isClone) {\n if (!this.options.initImmediate) {\n this.init(options, callback);\n return this;\n }\n setTimeout(() => {\n this.init(options, callback);\n }, 0);\n }\n }\n init() {\n var _this = this;\n let options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n let callback = arguments.length > 1 ? arguments[1] : undefined;\n this.isInitializing = true;\n if (typeof options === 'function') {\n callback = options;\n options = {};\n }\n if (!options.defaultNS && options.defaultNS !== false && options.ns) {\n if (typeof options.ns === 'string') {\n options.defaultNS = options.ns;\n } else if (options.ns.indexOf('translation') < 0) {\n options.defaultNS = options.ns[0];\n }\n }\n const defOpts = get();\n this.options = {\n ...defOpts,\n ...this.options,\n ...transformOptions(options)\n };\n if (this.options.compatibilityAPI !== 'v1') {\n this.options.interpolation = {\n ...defOpts.interpolation,\n ...this.options.interpolation\n };\n }\n if (options.keySeparator !== undefined) {\n this.options.userDefinedKeySeparator = options.keySeparator;\n }\n if (options.nsSeparator !== undefined) {\n this.options.userDefinedNsSeparator = options.nsSeparator;\n }\n const createClassOnDemand = ClassOrObject => {\n if (!ClassOrObject) return null;\n if (typeof ClassOrObject === 'function') return new ClassOrObject();\n return ClassOrObject;\n };\n if (!this.options.isClone) {\n if (this.modules.logger) {\n baseLogger.init(createClassOnDemand(this.modules.logger), this.options);\n } else {\n baseLogger.init(null, this.options);\n }\n let formatter;\n if (this.modules.formatter) {\n formatter = this.modules.formatter;\n } else if (typeof Intl !== 'undefined') {\n formatter = Formatter;\n }\n const lu = new LanguageUtil(this.options);\n this.store = new ResourceStore(this.options.resources, this.options);\n const s = this.services;\n s.logger = baseLogger;\n s.resourceStore = this.store;\n s.languageUtils = lu;\n s.pluralResolver = new PluralResolver(lu, {\n prepend: this.options.pluralSeparator,\n compatibilityJSON: this.options.compatibilityJSON,\n simplifyPluralSuffix: this.options.simplifyPluralSuffix\n });\n if (formatter && (!this.options.interpolation.format || this.options.interpolation.format === defOpts.interpolation.format)) {\n s.formatter = createClassOnDemand(formatter);\n s.formatter.init(s, this.options);\n this.options.interpolation.format = s.formatter.format.bind(s.formatter);\n }\n s.interpolator = new Interpolator(this.options);\n s.utils = {\n hasLoadedNamespace: this.hasLoadedNamespace.bind(this)\n };\n s.backendConnector = new Connector(createClassOnDemand(this.modules.backend), s.resourceStore, s, this.options);\n s.backendConnector.on('*', function (event) {\n for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n args[_key - 1] = arguments[_key];\n }\n _this.emit(event, ...args);\n });\n if (this.modules.languageDetector) {\n s.languageDetector = createClassOnDemand(this.modules.languageDetector);\n if (s.languageDetector.init) s.languageDetector.init(s, this.options.detection, this.options);\n }\n if (this.modules.i18nFormat) {\n s.i18nFormat = createClassOnDemand(this.modules.i18nFormat);\n if (s.i18nFormat.init) s.i18nFormat.init(this);\n }\n this.translator = new Translator(this.services, this.options);\n this.translator.on('*', function (event) {\n for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {\n args[_key2 - 1] = arguments[_key2];\n }\n _this.emit(event, ...args);\n });\n this.modules.external.forEach(m => {\n if (m.init) m.init(this);\n });\n }\n this.format = this.options.interpolation.format;\n if (!callback) callback = noop;\n if (this.options.fallbackLng && !this.services.languageDetector && !this.options.lng) {\n const codes = this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);\n if (codes.length > 0 && codes[0] !== 'dev') this.options.lng = codes[0];\n }\n if (!this.services.languageDetector && !this.options.lng) {\n this.logger.warn('init: no languageDetector is used and no lng is defined');\n }\n const storeApi = ['getResource', 'hasResourceBundle', 'getResourceBundle', 'getDataByLanguage'];\n storeApi.forEach(fcName => {\n this[fcName] = function () {\n return _this.store[fcName](...arguments);\n };\n });\n const storeApiChained = ['addResource', 'addResources', 'addResourceBundle', 'removeResourceBundle'];\n storeApiChained.forEach(fcName => {\n this[fcName] = function () {\n _this.store[fcName](...arguments);\n return _this;\n };\n });\n const deferred = defer();\n const load = () => {\n const finish = (err, t) => {\n this.isInitializing = false;\n if (this.isInitialized && !this.initializedStoreOnce) this.logger.warn('init: i18next is already initialized. You should call init just once!');\n this.isInitialized = true;\n if (!this.options.isClone) this.logger.log('initialized', this.options);\n this.emit('initialized', this.options);\n deferred.resolve(t);\n callback(err, t);\n };\n if (this.languages && this.options.compatibilityAPI !== 'v1' && !this.isInitialized) return finish(null, this.t.bind(this));\n this.changeLanguage(this.options.lng, finish);\n };\n if (this.options.resources || !this.options.initImmediate) {\n load();\n } else {\n setTimeout(load, 0);\n }\n return deferred;\n }\n loadResources(language) {\n let callback = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : noop;\n let usedCallback = callback;\n const usedLng = typeof language === 'string' ? language : this.language;\n if (typeof language === 'function') usedCallback = language;\n if (!this.options.resources || this.options.partialBundledLanguages) {\n if (usedLng && usedLng.toLowerCase() === 'cimode' && (!this.options.preload || this.options.preload.length === 0)) return usedCallback();\n const toLoad = [];\n const append = lng => {\n if (!lng) return;\n if (lng === 'cimode') return;\n const lngs = this.services.languageUtils.toResolveHierarchy(lng);\n lngs.forEach(l => {\n if (l === 'cimode') return;\n if (toLoad.indexOf(l) < 0) toLoad.push(l);\n });\n };\n if (!usedLng) {\n const fallbacks = this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);\n fallbacks.forEach(l => append(l));\n } else {\n append(usedLng);\n }\n if (this.options.preload) {\n this.options.preload.forEach(l => append(l));\n }\n this.services.backendConnector.load(toLoad, this.options.ns, e => {\n if (!e && !this.resolvedLanguage && this.language) this.setResolvedLanguage(this.language);\n usedCallback(e);\n });\n } else {\n usedCallback(null);\n }\n }\n reloadResources(lngs, ns, callback) {\n const deferred = defer();\n if (typeof lngs === 'function') {\n callback = lngs;\n lngs = undefined;\n }\n if (typeof ns === 'function') {\n callback = ns;\n ns = undefined;\n }\n if (!lngs) lngs = this.languages;\n if (!ns) ns = this.options.ns;\n if (!callback) callback = noop;\n this.services.backendConnector.reload(lngs, ns, err => {\n deferred.resolve();\n callback(err);\n });\n return deferred;\n }\n use(module) {\n if (!module) throw new Error('You are passing an undefined module! Please check the object you are passing to i18next.use()');\n if (!module.type) throw new Error('You are passing a wrong module! Please check the object you are passing to i18next.use()');\n if (module.type === 'backend') {\n this.modules.backend = module;\n }\n if (module.type === 'logger' || module.log && module.warn && module.error) {\n this.modules.logger = module;\n }\n if (module.type === 'languageDetector') {\n this.modules.languageDetector = module;\n }\n if (module.type === 'i18nFormat') {\n this.modules.i18nFormat = module;\n }\n if (module.type === 'postProcessor') {\n postProcessor.addPostProcessor(module);\n }\n if (module.type === 'formatter') {\n this.modules.formatter = module;\n }\n if (module.type === '3rdParty') {\n this.modules.external.push(module);\n }\n return this;\n }\n setResolvedLanguage(l) {\n if (!l || !this.languages) return;\n if (['cimode', 'dev'].indexOf(l) > -1) return;\n for (let li = 0; li < this.languages.length; li++) {\n const lngInLngs = this.languages[li];\n if (['cimode', 'dev'].indexOf(lngInLngs) > -1) continue;\n if (this.store.hasLanguageSomeTranslations(lngInLngs)) {\n this.resolvedLanguage = lngInLngs;\n break;\n }\n }\n }\n changeLanguage(lng, callback) {\n var _this2 = this;\n this.isLanguageChangingTo = lng;\n const deferred = defer();\n this.emit('languageChanging', lng);\n const setLngProps = l => {\n this.language = l;\n this.languages = this.services.languageUtils.toResolveHierarchy(l);\n this.resolvedLanguage = undefined;\n this.setResolvedLanguage(l);\n };\n const done = (err, l) => {\n if (l) {\n setLngProps(l);\n this.translator.changeLanguage(l);\n this.isLanguageChangingTo = undefined;\n this.emit('languageChanged', l);\n this.logger.log('languageChanged', l);\n } else {\n this.isLanguageChangingTo = undefined;\n }\n deferred.resolve(function () {\n return _this2.t(...arguments);\n });\n if (callback) callback(err, function () {\n return _this2.t(...arguments);\n });\n };\n const setLng = lngs => {\n if (!lng && !lngs && this.services.languageDetector) lngs = [];\n const l = typeof lngs === 'string' ? lngs : this.services.languageUtils.getBestMatchFromCodes(lngs);\n if (l) {\n if (!this.language) {\n setLngProps(l);\n }\n if (!this.translator.language) this.translator.changeLanguage(l);\n if (this.services.languageDetector && this.services.languageDetector.cacheUserLanguage) this.services.languageDetector.cacheUserLanguage(l);\n }\n this.loadResources(l, err => {\n done(err, l);\n });\n };\n if (!lng && this.services.languageDetector && !this.services.languageDetector.async) {\n setLng(this.services.languageDetector.detect());\n } else if (!lng && this.services.languageDetector && this.services.languageDetector.async) {\n if (this.services.languageDetector.detect.length === 0) {\n this.services.languageDetector.detect().then(setLng);\n } else {\n this.services.languageDetector.detect(setLng);\n }\n } else {\n setLng(lng);\n }\n return deferred;\n }\n getFixedT(lng, ns, keyPrefix) {\n var _this3 = this;\n const fixedT = function (key, opts) {\n let options;\n if (typeof opts !== 'object') {\n for (var _len3 = arguments.length, rest = new Array(_len3 > 2 ? _len3 - 2 : 0), _key3 = 2; _key3 < _len3; _key3++) {\n rest[_key3 - 2] = arguments[_key3];\n }\n options = _this3.options.overloadTranslationOptionHandler([key, opts].concat(rest));\n } else {\n options = {\n ...opts\n };\n }\n options.lng = options.lng || fixedT.lng;\n options.lngs = options.lngs || fixedT.lngs;\n options.ns = options.ns || fixedT.ns;\n if (options.keyPrefix !== '') options.keyPrefix = options.keyPrefix || keyPrefix || fixedT.keyPrefix;\n const keySeparator = _this3.options.keySeparator || '.';\n let resultKey;\n if (options.keyPrefix && Array.isArray(key)) {\n resultKey = key.map(k => `${options.keyPrefix}${keySeparator}${k}`);\n } else {\n resultKey = options.keyPrefix ? `${options.keyPrefix}${keySeparator}${key}` : key;\n }\n return _this3.t(resultKey, options);\n };\n if (typeof lng === 'string') {\n fixedT.lng = lng;\n } else {\n fixedT.lngs = lng;\n }\n fixedT.ns = ns;\n fixedT.keyPrefix = keyPrefix;\n return fixedT;\n }\n t() {\n return this.translator && this.translator.translate(...arguments);\n }\n exists() {\n return this.translator && this.translator.exists(...arguments);\n }\n setDefaultNamespace(ns) {\n this.options.defaultNS = ns;\n }\n hasLoadedNamespace(ns) {\n let options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n if (!this.isInitialized) {\n this.logger.warn('hasLoadedNamespace: i18next was not initialized', this.languages);\n return false;\n }\n if (!this.languages || !this.languages.length) {\n this.logger.warn('hasLoadedNamespace: i18n.languages were undefined or empty', this.languages);\n return false;\n }\n const lng = options.lng || this.resolvedLanguage || this.languages[0];\n const fallbackLng = this.options ? this.options.fallbackLng : false;\n const lastLng = this.languages[this.languages.length - 1];\n if (lng.toLowerCase() === 'cimode') return true;\n const loadNotPending = (l, n) => {\n const loadState = this.services.backendConnector.state[`${l}|${n}`];\n return loadState === -1 || loadState === 0 || loadState === 2;\n };\n if (options.precheck) {\n const preResult = options.precheck(this, loadNotPending);\n if (preResult !== undefined) return preResult;\n }\n if (this.hasResourceBundle(lng, ns)) return true;\n if (!this.services.backendConnector.backend || this.options.resources && !this.options.partialBundledLanguages) return true;\n if (loadNotPending(lng, ns) && (!fallbackLng || loadNotPending(lastLng, ns))) return true;\n return false;\n }\n loadNamespaces(ns, callback) {\n const deferred = defer();\n if (!this.options.ns) {\n if (callback) callback();\n return Promise.resolve();\n }\n if (typeof ns === 'string') ns = [ns];\n ns.forEach(n => {\n if (this.options.ns.indexOf(n) < 0) this.options.ns.push(n);\n });\n this.loadResources(err => {\n deferred.resolve();\n if (callback) callback(err);\n });\n return deferred;\n }\n loadLanguages(lngs, callback) {\n const deferred = defer();\n if (typeof lngs === 'string') lngs = [lngs];\n const preloaded = this.options.preload || [];\n const newLngs = lngs.filter(lng => preloaded.indexOf(lng) < 0 && this.services.languageUtils.isSupportedCode(lng));\n if (!newLngs.length) {\n if (callback) callback();\n return Promise.resolve();\n }\n this.options.preload = preloaded.concat(newLngs);\n this.loadResources(err => {\n deferred.resolve();\n if (callback) callback(err);\n });\n return deferred;\n }\n dir(lng) {\n if (!lng) lng = this.resolvedLanguage || (this.languages && this.languages.length > 0 ? this.languages[0] : this.language);\n if (!lng) return 'rtl';\n const rtlLngs = ['ar', 'shu', 'sqr', 'ssh', 'xaa', 'yhd', 'yud', 'aao', 'abh', 'abv', 'acm', 'acq', 'acw', 'acx', 'acy', 'adf', 'ads', 'aeb', 'aec', 'afb', 'ajp', 'apc', 'apd', 'arb', 'arq', 'ars', 'ary', 'arz', 'auz', 'avl', 'ayh', 'ayl', 'ayn', 'ayp', 'bbz', 'pga', 'he', 'iw', 'ps', 'pbt', 'pbu', 'pst', 'prp', 'prd', 'ug', 'ur', 'ydd', 'yds', 'yih', 'ji', 'yi', 'hbo', 'men', 'xmn', 'fa', 'jpr', 'peo', 'pes', 'prs', 'dv', 'sam', 'ckb'];\n const languageUtils = this.services && this.services.languageUtils || new LanguageUtil(get());\n return rtlLngs.indexOf(languageUtils.getLanguagePartFromCode(lng)) > -1 || lng.toLowerCase().indexOf('-arab') > 1 ? 'rtl' : 'ltr';\n }\n static createInstance() {\n let options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n let callback = arguments.length > 1 ? arguments[1] : undefined;\n return new I18n(options, callback);\n }\n cloneInstance() {\n let options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n let callback = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : noop;\n const forkResourceStore = options.forkResourceStore;\n if (forkResourceStore) delete options.forkResourceStore;\n const mergedOptions = {\n ...this.options,\n ...options,\n ...{\n isClone: true\n }\n };\n const clone = new I18n(mergedOptions);\n if (options.debug !== undefined || options.prefix !== undefined) {\n clone.logger = clone.logger.clone(options);\n }\n const membersToCopy = ['store', 'services', 'language'];\n membersToCopy.forEach(m => {\n clone[m] = this[m];\n });\n clone.services = {\n ...this.services\n };\n clone.services.utils = {\n hasLoadedNamespace: clone.hasLoadedNamespace.bind(clone)\n };\n if (forkResourceStore) {\n clone.store = new ResourceStore(this.store.data, mergedOptions);\n clone.services.resourceStore = clone.store;\n }\n clone.translator = new Translator(clone.services, mergedOptions);\n clone.translator.on('*', function (event) {\n for (var _len4 = arguments.length, args = new Array(_len4 > 1 ? _len4 - 1 : 0), _key4 = 1; _key4 < _len4; _key4++) {\n args[_key4 - 1] = arguments[_key4];\n }\n clone.emit(event, ...args);\n });\n clone.init(mergedOptions, callback);\n clone.translator.options = mergedOptions;\n clone.translator.backendConnector.services.utils = {\n hasLoadedNamespace: clone.hasLoadedNamespace.bind(clone)\n };\n return clone;\n }\n toJSON() {\n return {\n options: this.options,\n store: this.store,\n language: this.language,\n languages: this.languages,\n resolvedLanguage: this.resolvedLanguage\n };\n }\n}\nconst instance = I18n.createInstance();\ninstance.createInstance = I18n.createInstance;\n\nconst createInstance = instance.createInstance;\nconst dir = instance.dir;\nconst init = instance.init;\nconst loadResources = instance.loadResources;\nconst reloadResources = instance.reloadResources;\nconst use = instance.use;\nconst changeLanguage = instance.changeLanguage;\nconst getFixedT = instance.getFixedT;\nconst t = instance.t;\nconst exists = instance.exists;\nconst setDefaultNamespace = instance.setDefaultNamespace;\nconst hasLoadedNamespace = instance.hasLoadedNamespace;\nconst loadNamespaces = instance.loadNamespaces;\nconst loadLanguages = instance.loadLanguages;\n\nexport { changeLanguage, createInstance, instance as default, dir, exists, getFixedT, hasLoadedNamespace, init, loadLanguages, loadNamespaces, loadResources, reloadResources, setDefaultNamespace, t, use };\n","/*!\n * Signature Pad v2.3.2\n * https://github.com/szimek/signature_pad\n *\n * Copyright 2017 Szymon Nowak\n * Released under the MIT license\n *\n * The main idea and some parts of the code (e.g. drawing variable width Bézier curve) are taken from:\n * http://corner.squareup.com/2012/07/smoother-signatures.html\n *\n * Implementation of interpolation using cubic Bézier curves is taken from:\n * http://benknowscode.wordpress.com/2012/09/14/path-interpolation-using-cubic-bezier-and-control-point-estimation-in-javascript\n *\n * Algorithm for approximated length of a Bézier curve is taken from:\n * http://www.lemoda.net/maths/bezier-length/index.html\n *\n */\n\nfunction Point(x, y, time) {\n this.x = x;\n this.y = y;\n this.time = time || new Date().getTime();\n}\n\nPoint.prototype.velocityFrom = function (start) {\n return this.time !== start.time ? this.distanceTo(start) / (this.time - start.time) : 1;\n};\n\nPoint.prototype.distanceTo = function (start) {\n return Math.sqrt(Math.pow(this.x - start.x, 2) + Math.pow(this.y - start.y, 2));\n};\n\nPoint.prototype.equals = function (other) {\n return this.x === other.x && this.y === other.y && this.time === other.time;\n};\n\nfunction Bezier(startPoint, control1, control2, endPoint) {\n this.startPoint = startPoint;\n this.control1 = control1;\n this.control2 = control2;\n this.endPoint = endPoint;\n}\n\n// Returns approximated length.\nBezier.prototype.length = function () {\n var steps = 10;\n var length = 0;\n var px = void 0;\n var py = void 0;\n\n for (var i = 0; i <= steps; i += 1) {\n var t = i / steps;\n var cx = this._point(t, this.startPoint.x, this.control1.x, this.control2.x, this.endPoint.x);\n var cy = this._point(t, this.startPoint.y, this.control1.y, this.control2.y, this.endPoint.y);\n if (i > 0) {\n var xdiff = cx - px;\n var ydiff = cy - py;\n length += Math.sqrt(xdiff * xdiff + ydiff * ydiff);\n }\n px = cx;\n py = cy;\n }\n\n return length;\n};\n\n/* eslint-disable no-multi-spaces, space-in-parens */\nBezier.prototype._point = function (t, start, c1, c2, end) {\n return start * (1.0 - t) * (1.0 - t) * (1.0 - t) + 3.0 * c1 * (1.0 - t) * (1.0 - t) * t + 3.0 * c2 * (1.0 - t) * t * t + end * t * t * t;\n};\n\n/* eslint-disable */\n\n// http://stackoverflow.com/a/27078401/815507\nfunction throttle(func, wait, options) {\n var context, args, result;\n var timeout = null;\n var previous = 0;\n if (!options) options = {};\n var later = function later() {\n previous = options.leading === false ? 0 : Date.now();\n timeout = null;\n result = func.apply(context, args);\n if (!timeout) context = args = null;\n };\n return function () {\n var now = Date.now();\n if (!previous && options.leading === false) previous = now;\n var remaining = wait - (now - previous);\n context = this;\n args = arguments;\n if (remaining <= 0 || remaining > wait) {\n if (timeout) {\n clearTimeout(timeout);\n timeout = null;\n }\n previous = now;\n result = func.apply(context, args);\n if (!timeout) context = args = null;\n } else if (!timeout && options.trailing !== false) {\n timeout = setTimeout(later, remaining);\n }\n return result;\n };\n}\n\nfunction SignaturePad(canvas, options) {\n var self = this;\n var opts = options || {};\n\n this.velocityFilterWeight = opts.velocityFilterWeight || 0.7;\n this.minWidth = opts.minWidth || 0.5;\n this.maxWidth = opts.maxWidth || 2.5;\n this.throttle = 'throttle' in opts ? opts.throttle : 16; // in miliseconds\n this.minDistance = 'minDistance' in opts ? opts.minDistance : 5;\n\n if (this.throttle) {\n this._strokeMoveUpdate = throttle(SignaturePad.prototype._strokeUpdate, this.throttle);\n } else {\n this._strokeMoveUpdate = SignaturePad.prototype._strokeUpdate;\n }\n\n this.dotSize = opts.dotSize || function () {\n return (this.minWidth + this.maxWidth) / 2;\n };\n this.penColor = opts.penColor || 'black';\n this.backgroundColor = opts.backgroundColor || 'rgba(0,0,0,0)';\n this.onBegin = opts.onBegin;\n this.onEnd = opts.onEnd;\n\n this._canvas = canvas;\n this._ctx = canvas.getContext('2d');\n this.clear();\n\n // We need add these inline so they are available to unbind while still having\n // access to 'self' we could use _.bind but it's not worth adding a dependency.\n this._handleMouseDown = function (event) {\n if (event.which === 1) {\n self._mouseButtonDown = true;\n self._strokeBegin(event);\n }\n };\n\n this._handleMouseMove = function (event) {\n if (self._mouseButtonDown) {\n self._strokeMoveUpdate(event);\n }\n };\n\n this._handleMouseUp = function (event) {\n if (event.which === 1 && self._mouseButtonDown) {\n self._mouseButtonDown = false;\n self._strokeEnd(event);\n }\n };\n\n this._handleTouchStart = function (event) {\n if (event.targetTouches.length === 1) {\n var touch = event.changedTouches[0];\n self._strokeBegin(touch);\n }\n };\n\n this._handleTouchMove = function (event) {\n // Prevent scrolling.\n event.preventDefault();\n\n var touch = event.targetTouches[0];\n self._strokeMoveUpdate(touch);\n };\n\n this._handleTouchEnd = function (event) {\n var wasCanvasTouched = event.target === self._canvas;\n if (wasCanvasTouched) {\n event.preventDefault();\n self._strokeEnd(event);\n }\n };\n\n // Enable mouse and touch event handlers\n this.on();\n}\n\n// Public methods\nSignaturePad.prototype.clear = function () {\n var ctx = this._ctx;\n var canvas = this._canvas;\n\n ctx.fillStyle = this.backgroundColor;\n ctx.clearRect(0, 0, canvas.width, canvas.height);\n ctx.fillRect(0, 0, canvas.width, canvas.height);\n\n this._data = [];\n this._reset();\n this._isEmpty = true;\n};\n\nSignaturePad.prototype.fromDataURL = function (dataUrl) {\n var _this = this;\n\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\n var image = new Image();\n var ratio = options.ratio || window.devicePixelRatio || 1;\n var width = options.width || this._canvas.width / ratio;\n var height = options.height || this._canvas.height / ratio;\n\n this._reset();\n image.src = dataUrl;\n image.onload = function () {\n _this._ctx.drawImage(image, 0, 0, width, height);\n };\n this._isEmpty = false;\n};\n\nSignaturePad.prototype.toDataURL = function (type) {\n var _canvas;\n\n switch (type) {\n case 'image/svg+xml':\n return this._toSVG();\n default:\n for (var _len = arguments.length, options = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n options[_key - 1] = arguments[_key];\n }\n\n return (_canvas = this._canvas).toDataURL.apply(_canvas, [type].concat(options));\n }\n};\n\nSignaturePad.prototype.on = function () {\n this._handleMouseEvents();\n this._handleTouchEvents();\n};\n\nSignaturePad.prototype.off = function () {\n this._canvas.removeEventListener('mousedown', this._handleMouseDown);\n this._canvas.removeEventListener('mousemove', this._handleMouseMove);\n document.removeEventListener('mouseup', this._handleMouseUp);\n\n this._canvas.removeEventListener('touchstart', this._handleTouchStart);\n this._canvas.removeEventListener('touchmove', this._handleTouchMove);\n this._canvas.removeEventListener('touchend', this._handleTouchEnd);\n};\n\nSignaturePad.prototype.isEmpty = function () {\n return this._isEmpty;\n};\n\n// Private methods\nSignaturePad.prototype._strokeBegin = function (event) {\n this._data.push([]);\n this._reset();\n this._strokeUpdate(event);\n\n if (typeof this.onBegin === 'function') {\n this.onBegin(event);\n }\n};\n\nSignaturePad.prototype._strokeUpdate = function (event) {\n var x = event.clientX;\n var y = event.clientY;\n\n var point = this._createPoint(x, y);\n var lastPointGroup = this._data[this._data.length - 1];\n var lastPoint = lastPointGroup && lastPointGroup[lastPointGroup.length - 1];\n var isLastPointTooClose = lastPoint && point.distanceTo(lastPoint) < this.minDistance;\n\n // Skip this point if it's too close to the previous one\n if (!(lastPoint && isLastPointTooClose)) {\n var _addPoint = this._addPoint(point),\n curve = _addPoint.curve,\n widths = _addPoint.widths;\n\n if (curve && widths) {\n this._drawCurve(curve, widths.start, widths.end);\n }\n\n this._data[this._data.length - 1].push({\n x: point.x,\n y: point.y,\n time: point.time,\n color: this.penColor\n });\n }\n};\n\nSignaturePad.prototype._strokeEnd = function (event) {\n var canDrawCurve = this.points.length > 2;\n var point = this.points[0]; // Point instance\n\n if (!canDrawCurve && point) {\n this._drawDot(point);\n }\n\n if (point) {\n var lastPointGroup = this._data[this._data.length - 1];\n var lastPoint = lastPointGroup[lastPointGroup.length - 1]; // plain object\n\n // When drawing a dot, there's only one point in a group, so without this check\n // such group would end up with exactly the same 2 points.\n if (!point.equals(lastPoint)) {\n lastPointGroup.push({\n x: point.x,\n y: point.y,\n time: point.time,\n color: this.penColor\n });\n }\n }\n\n if (typeof this.onEnd === 'function') {\n this.onEnd(event);\n }\n};\n\nSignaturePad.prototype._handleMouseEvents = function () {\n this._mouseButtonDown = false;\n\n this._canvas.addEventListener('mousedown', this._handleMouseDown);\n this._canvas.addEventListener('mousemove', this._handleMouseMove);\n document.addEventListener('mouseup', this._handleMouseUp);\n};\n\nSignaturePad.prototype._handleTouchEvents = function () {\n // Pass touch events to canvas element on mobile IE11 and Edge.\n this._canvas.style.msTouchAction = 'none';\n this._canvas.style.touchAction = 'none';\n\n this._canvas.addEventListener('touchstart', this._handleTouchStart);\n this._canvas.addEventListener('touchmove', this._handleTouchMove);\n this._canvas.addEventListener('touchend', this._handleTouchEnd);\n};\n\nSignaturePad.prototype._reset = function () {\n this.points = [];\n this._lastVelocity = 0;\n this._lastWidth = (this.minWidth + this.maxWidth) / 2;\n this._ctx.fillStyle = this.penColor;\n};\n\nSignaturePad.prototype._createPoint = function (x, y, time) {\n var rect = this._canvas.getBoundingClientRect();\n\n return new Point(x - rect.left, y - rect.top, time || new Date().getTime());\n};\n\nSignaturePad.prototype._addPoint = function (point) {\n var points = this.points;\n var tmp = void 0;\n\n points.push(point);\n\n if (points.length > 2) {\n // To reduce the initial lag make it work with 3 points\n // by copying the first point to the beginning.\n if (points.length === 3) points.unshift(points[0]);\n\n tmp = this._calculateCurveControlPoints(points[0], points[1], points[2]);\n var c2 = tmp.c2;\n tmp = this._calculateCurveControlPoints(points[1], points[2], points[3]);\n var c3 = tmp.c1;\n var curve = new Bezier(points[1], c2, c3, points[2]);\n var widths = this._calculateCurveWidths(curve);\n\n // Remove the first element from the list,\n // so that we always have no more than 4 points in points array.\n points.shift();\n\n return { curve: curve, widths: widths };\n }\n\n return {};\n};\n\nSignaturePad.prototype._calculateCurveControlPoints = function (s1, s2, s3) {\n var dx1 = s1.x - s2.x;\n var dy1 = s1.y - s2.y;\n var dx2 = s2.x - s3.x;\n var dy2 = s2.y - s3.y;\n\n var m1 = { x: (s1.x + s2.x) / 2.0, y: (s1.y + s2.y) / 2.0 };\n var m2 = { x: (s2.x + s3.x) / 2.0, y: (s2.y + s3.y) / 2.0 };\n\n var l1 = Math.sqrt(dx1 * dx1 + dy1 * dy1);\n var l2 = Math.sqrt(dx2 * dx2 + dy2 * dy2);\n\n var dxm = m1.x - m2.x;\n var dym = m1.y - m2.y;\n\n var k = l2 / (l1 + l2);\n var cm = { x: m2.x + dxm * k, y: m2.y + dym * k };\n\n var tx = s2.x - cm.x;\n var ty = s2.y - cm.y;\n\n return {\n c1: new Point(m1.x + tx, m1.y + ty),\n c2: new Point(m2.x + tx, m2.y + ty)\n };\n};\n\nSignaturePad.prototype._calculateCurveWidths = function (curve) {\n var startPoint = curve.startPoint;\n var endPoint = curve.endPoint;\n var widths = { start: null, end: null };\n\n var velocity = this.velocityFilterWeight * endPoint.velocityFrom(startPoint) + (1 - this.velocityFilterWeight) * this._lastVelocity;\n\n var newWidth = this._strokeWidth(velocity);\n\n widths.start = this._lastWidth;\n widths.end = newWidth;\n\n this._lastVelocity = velocity;\n this._lastWidth = newWidth;\n\n return widths;\n};\n\nSignaturePad.prototype._strokeWidth = function (velocity) {\n return Math.max(this.maxWidth / (velocity + 1), this.minWidth);\n};\n\nSignaturePad.prototype._drawPoint = function (x, y, size) {\n var ctx = this._ctx;\n\n ctx.moveTo(x, y);\n ctx.arc(x, y, size, 0, 2 * Math.PI, false);\n this._isEmpty = false;\n};\n\nSignaturePad.prototype._drawCurve = function (curve, startWidth, endWidth) {\n var ctx = this._ctx;\n var widthDelta = endWidth - startWidth;\n var drawSteps = Math.floor(curve.length());\n\n ctx.beginPath();\n\n for (var i = 0; i < drawSteps; i += 1) {\n // Calculate the Bezier (x, y) coordinate for this step.\n var t = i / drawSteps;\n var tt = t * t;\n var ttt = tt * t;\n var u = 1 - t;\n var uu = u * u;\n var uuu = uu * u;\n\n var x = uuu * curve.startPoint.x;\n x += 3 * uu * t * curve.control1.x;\n x += 3 * u * tt * curve.control2.x;\n x += ttt * curve.endPoint.x;\n\n var y = uuu * curve.startPoint.y;\n y += 3 * uu * t * curve.control1.y;\n y += 3 * u * tt * curve.control2.y;\n y += ttt * curve.endPoint.y;\n\n var width = startWidth + ttt * widthDelta;\n this._drawPoint(x, y, width);\n }\n\n ctx.closePath();\n ctx.fill();\n};\n\nSignaturePad.prototype._drawDot = function (point) {\n var ctx = this._ctx;\n var width = typeof this.dotSize === 'function' ? this.dotSize() : this.dotSize;\n\n ctx.beginPath();\n this._drawPoint(point.x, point.y, width);\n ctx.closePath();\n ctx.fill();\n};\n\nSignaturePad.prototype._fromData = function (pointGroups, drawCurve, drawDot) {\n for (var i = 0; i < pointGroups.length; i += 1) {\n var group = pointGroups[i];\n\n if (group.length > 1) {\n for (var j = 0; j < group.length; j += 1) {\n var rawPoint = group[j];\n var point = new Point(rawPoint.x, rawPoint.y, rawPoint.time);\n var color = rawPoint.color;\n\n if (j === 0) {\n // First point in a group. Nothing to draw yet.\n\n // All points in the group have the same color, so it's enough to set\n // penColor just at the beginning.\n this.penColor = color;\n this._reset();\n\n this._addPoint(point);\n } else if (j !== group.length - 1) {\n // Middle point in a group.\n var _addPoint2 = this._addPoint(point),\n curve = _addPoint2.curve,\n widths = _addPoint2.widths;\n\n if (curve && widths) {\n drawCurve(curve, widths, color);\n }\n } else {\n // Last point in a group. Do nothing.\n }\n }\n } else {\n this._reset();\n var _rawPoint = group[0];\n drawDot(_rawPoint);\n }\n }\n};\n\nSignaturePad.prototype._toSVG = function () {\n var _this2 = this;\n\n var pointGroups = this._data;\n var canvas = this._canvas;\n var ratio = Math.max(window.devicePixelRatio || 1, 1);\n var minX = 0;\n var minY = 0;\n var maxX = canvas.width / ratio;\n var maxY = canvas.height / ratio;\n var svg = document.createElementNS('http://www.w3.org/2000/svg', 'svg');\n\n svg.setAttributeNS(null, 'width', canvas.width);\n svg.setAttributeNS(null, 'height', canvas.height);\n\n this._fromData(pointGroups, function (curve, widths, color) {\n var path = document.createElement('path');\n\n // Need to check curve for NaN values, these pop up when drawing\n // lines on the canvas that are not continuous. E.g. Sharp corners\n // or stopping mid-stroke and than continuing without lifting mouse.\n if (!isNaN(curve.control1.x) && !isNaN(curve.control1.y) && !isNaN(curve.control2.x) && !isNaN(curve.control2.y)) {\n var attr = 'M ' + curve.startPoint.x.toFixed(3) + ',' + curve.startPoint.y.toFixed(3) + ' ' + ('C ' + curve.control1.x.toFixed(3) + ',' + curve.control1.y.toFixed(3) + ' ') + (curve.control2.x.toFixed(3) + ',' + curve.control2.y.toFixed(3) + ' ') + (curve.endPoint.x.toFixed(3) + ',' + curve.endPoint.y.toFixed(3));\n\n path.setAttribute('d', attr);\n path.setAttribute('stroke-width', (widths.end * 2.25).toFixed(3));\n path.setAttribute('stroke', color);\n path.setAttribute('fill', 'none');\n path.setAttribute('stroke-linecap', 'round');\n\n svg.appendChild(path);\n }\n }, function (rawPoint) {\n var circle = document.createElement('circle');\n var dotSize = typeof _this2.dotSize === 'function' ? _this2.dotSize() : _this2.dotSize;\n circle.setAttribute('r', dotSize);\n circle.setAttribute('cx', rawPoint.x);\n circle.setAttribute('cy', rawPoint.y);\n circle.setAttribute('fill', rawPoint.color);\n\n svg.appendChild(circle);\n });\n\n var prefix = 'data:image/svg+xml;base64,';\n var header = '';\n var body = svg.innerHTML;\n\n // IE hack for missing innerHTML property on SVGElement\n if (body === undefined) {\n var dummy = document.createElement('dummy');\n var nodes = svg.childNodes;\n dummy.innerHTML = '';\n\n for (var i = 0; i < nodes.length; i += 1) {\n dummy.appendChild(nodes[i].cloneNode(true));\n }\n\n body = dummy.innerHTML;\n }\n\n var footer = '';\n var data = header + body + footer;\n\n return prefix + btoa(data);\n};\n\nSignaturePad.prototype.fromData = function (pointGroups) {\n var _this3 = this;\n\n this.clear();\n\n this._fromData(pointGroups, function (curve, widths) {\n return _this3._drawCurve(curve, widths.start, widths.end);\n }, function (rawPoint) {\n return _this3._drawDot(rawPoint);\n });\n\n this._data = pointGroups;\n};\n\nSignaturePad.prototype.toData = function () {\n return this._data;\n};\n\nexport default SignaturePad;\n","var isProduction = process.env.NODE_ENV === 'production';\nvar prefix = 'Invariant failed';\nfunction invariant(condition, message) {\n if (condition) {\n return;\n }\n if (isProduction) {\n throw new Error(prefix);\n }\n var provided = typeof message === 'function' ? message() : message;\n var value = provided ? \"\".concat(prefix, \": \").concat(provided) : prefix;\n throw new Error(value);\n}\n\nexport { invariant as default };\n","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\tid: moduleId,\n\t\tloaded: false,\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Flag the module as loaded\n\tmodule.loaded = true;\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n","__webpack_require__.amdO = {};","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","var getProto = Object.getPrototypeOf ? (obj) => (Object.getPrototypeOf(obj)) : (obj) => (obj.__proto__);\nvar leafPrototypes;\n// create a fake namespace object\n// mode & 1: value is a module id, require it\n// mode & 2: merge all properties of value into the ns\n// mode & 4: return value when already ns object\n// mode & 16: return value when it's Promise-like\n// mode & 8|1: behave like require\n__webpack_require__.t = function(value, mode) {\n\tif(mode & 1) value = this(value);\n\tif(mode & 8) return value;\n\tif(typeof value === 'object' && value) {\n\t\tif((mode & 4) && value.__esModule) return value;\n\t\tif((mode & 16) && typeof value.then === 'function') return value;\n\t}\n\tvar ns = Object.create(null);\n\t__webpack_require__.r(ns);\n\tvar def = {};\n\tleafPrototypes = leafPrototypes || [null, getProto({}), getProto([]), getProto(getProto)];\n\tfor(var current = mode & 2 && value; typeof current == 'object' && !~leafPrototypes.indexOf(current); current = getProto(current)) {\n\t\tObject.getOwnPropertyNames(current).forEach((key) => (def[key] = () => (value[key])));\n\t}\n\tdef['default'] = () => (value);\n\t__webpack_require__.d(ns, def);\n\treturn ns;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.f = {};\n// This file contains only the entry chunk.\n// The chunk loading function for additional chunks\n__webpack_require__.e = (chunkId) => {\n\treturn Promise.all(Object.keys(__webpack_require__.f).reduce((promises, key) => {\n\t\t__webpack_require__.f[key](chunkId, promises);\n\t\treturn promises;\n\t}, []));\n};","// This function allow to reference async chunks\n__webpack_require__.u = (chunkId) => {\n\t// return url for filenames based on template\n\treturn \"static/js/\" + chunkId + \".\" + {\"171\":\"4ffc6992\",\"206\":\"0d88e220\",\"307\":\"92663871\",\"633\":\"2558a16c\",\"657\":\"1749e541\",\"732\":\"73389bda\"}[chunkId] + \".chunk.js\";\n};","// This function allow to reference async chunks\n__webpack_require__.miniCssF = (chunkId) => {\n\t// return url for filenames based on template\n\treturn \"static/css/\" + chunkId + \".\" + {\"307\":\"44e38039\",\"732\":\"9e7cefc9\"}[chunkId] + \".chunk.css\";\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","var inProgress = {};\nvar dataWebpackPrefix = \"core-portal:\";\n// loadScript function to load a script via script tag\n__webpack_require__.l = (url, done, key, chunkId) => {\n\tif(inProgress[url]) { inProgress[url].push(done); return; }\n\tvar script, needAttach;\n\tif(key !== undefined) {\n\t\tvar scripts = document.getElementsByTagName(\"script\");\n\t\tfor(var i = 0; i < scripts.length; i++) {\n\t\t\tvar s = scripts[i];\n\t\t\tif(s.getAttribute(\"src\") == url || s.getAttribute(\"data-webpack\") == dataWebpackPrefix + key) { script = s; break; }\n\t\t}\n\t}\n\tif(!script) {\n\t\tneedAttach = true;\n\t\tscript = document.createElement('script');\n\n\t\tscript.charset = 'utf-8';\n\t\tscript.timeout = 120;\n\t\tif (__webpack_require__.nc) {\n\t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n\t\t}\n\t\tscript.setAttribute(\"data-webpack\", dataWebpackPrefix + key);\n\n\t\tscript.src = url;\n\t}\n\tinProgress[url] = [done];\n\tvar onScriptComplete = (prev, event) => {\n\t\t// avoid mem leaks in IE.\n\t\tscript.onerror = script.onload = null;\n\t\tclearTimeout(timeout);\n\t\tvar doneFns = inProgress[url];\n\t\tdelete inProgress[url];\n\t\tscript.parentNode && script.parentNode.removeChild(script);\n\t\tdoneFns && doneFns.forEach((fn) => (fn(event)));\n\t\tif(prev) return prev(event);\n\t}\n\tvar timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000);\n\tscript.onerror = onScriptComplete.bind(null, script.onerror);\n\tscript.onload = onScriptComplete.bind(null, script.onload);\n\tneedAttach && document.head.appendChild(script);\n};","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.nmd = (module) => {\n\tmodule.paths = [];\n\tif (!module.children) module.children = [];\n\treturn module;\n};","__webpack_require__.p = \"/\";","if (typeof document === \"undefined\") return;\nvar createStylesheet = (chunkId, fullhref, oldTag, resolve, reject) => {\n\tvar linkTag = document.createElement(\"link\");\n\n\tlinkTag.rel = \"stylesheet\";\n\tlinkTag.type = \"text/css\";\n\tif (__webpack_require__.nc) {\n\t\tlinkTag.nonce = __webpack_require__.nc;\n\t}\n\tvar onLinkComplete = (event) => {\n\t\t// avoid mem leaks.\n\t\tlinkTag.onerror = linkTag.onload = null;\n\t\tif (event.type === 'load') {\n\t\t\tresolve();\n\t\t} else {\n\t\t\tvar errorType = event && event.type;\n\t\t\tvar realHref = event && event.target && event.target.href || fullhref;\n\t\t\tvar err = new Error(\"Loading CSS chunk \" + chunkId + \" failed.\\n(\" + errorType + \": \" + realHref + \")\");\n\t\t\terr.name = \"ChunkLoadError\";\n\t\t\terr.code = \"CSS_CHUNK_LOAD_FAILED\";\n\t\t\terr.type = errorType;\n\t\t\terr.request = realHref;\n\t\t\tif (linkTag.parentNode) linkTag.parentNode.removeChild(linkTag)\n\t\t\treject(err);\n\t\t}\n\t}\n\tlinkTag.onerror = linkTag.onload = onLinkComplete;\n\tlinkTag.href = fullhref;\n\n\n\tif (oldTag) {\n\t\toldTag.parentNode.insertBefore(linkTag, oldTag.nextSibling);\n\t} else {\n\t\tdocument.head.appendChild(linkTag);\n\t}\n\treturn linkTag;\n};\nvar findStylesheet = (href, fullhref) => {\n\tvar existingLinkTags = document.getElementsByTagName(\"link\");\n\tfor(var i = 0; i < existingLinkTags.length; i++) {\n\t\tvar tag = existingLinkTags[i];\n\t\tvar dataHref = tag.getAttribute(\"data-href\") || tag.getAttribute(\"href\");\n\t\tif(tag.rel === \"stylesheet\" && (dataHref === href || dataHref === fullhref)) return tag;\n\t}\n\tvar existingStyleTags = document.getElementsByTagName(\"style\");\n\tfor(var i = 0; i < existingStyleTags.length; i++) {\n\t\tvar tag = existingStyleTags[i];\n\t\tvar dataHref = tag.getAttribute(\"data-href\");\n\t\tif(dataHref === href || dataHref === fullhref) return tag;\n\t}\n};\nvar loadStylesheet = (chunkId) => {\n\treturn new Promise((resolve, reject) => {\n\t\tvar href = __webpack_require__.miniCssF(chunkId);\n\t\tvar fullhref = __webpack_require__.p + href;\n\t\tif(findStylesheet(href, fullhref)) return resolve();\n\t\tcreateStylesheet(chunkId, fullhref, null, resolve, reject);\n\t});\n}\n// object to store loaded CSS chunks\nvar installedCssChunks = {\n\t792: 0\n};\n\n__webpack_require__.f.miniCss = (chunkId, promises) => {\n\tvar cssChunks = {\"307\":1,\"732\":1};\n\tif(installedCssChunks[chunkId]) promises.push(installedCssChunks[chunkId]);\n\telse if(installedCssChunks[chunkId] !== 0 && cssChunks[chunkId]) {\n\t\tpromises.push(installedCssChunks[chunkId] = loadStylesheet(chunkId).then(() => {\n\t\t\tinstalledCssChunks[chunkId] = 0;\n\t\t}, (e) => {\n\t\t\tdelete installedCssChunks[chunkId];\n\t\t\tthrow e;\n\t\t}));\n\t}\n};\n\n// no hmr\n\n// no prefetching\n\n// no preloaded","// no baseURI\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t792: 0\n};\n\n__webpack_require__.f.j = (chunkId, promises) => {\n\t\t// JSONP chunk loading for javascript\n\t\tvar installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;\n\t\tif(installedChunkData !== 0) { // 0 means \"already installed\".\n\n\t\t\t// a Promise means \"currently loading\".\n\t\t\tif(installedChunkData) {\n\t\t\t\tpromises.push(installedChunkData[2]);\n\t\t\t} else {\n\t\t\t\tif(true) { // all chunks have JS\n\t\t\t\t\t// setup Promise in chunk cache\n\t\t\t\t\tvar promise = new Promise((resolve, reject) => (installedChunkData = installedChunks[chunkId] = [resolve, reject]));\n\t\t\t\t\tpromises.push(installedChunkData[2] = promise);\n\n\t\t\t\t\t// start chunk loading\n\t\t\t\t\tvar url = __webpack_require__.p + __webpack_require__.u(chunkId);\n\t\t\t\t\t// create error before stack unwound to get useful stacktrace later\n\t\t\t\t\tvar error = new Error();\n\t\t\t\t\tvar loadingEnded = (event) => {\n\t\t\t\t\t\tif(__webpack_require__.o(installedChunks, chunkId)) {\n\t\t\t\t\t\t\tinstalledChunkData = installedChunks[chunkId];\n\t\t\t\t\t\t\tif(installedChunkData !== 0) installedChunks[chunkId] = undefined;\n\t\t\t\t\t\t\tif(installedChunkData) {\n\t\t\t\t\t\t\t\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\n\t\t\t\t\t\t\t\tvar realSrc = event && event.target && event.target.src;\n\t\t\t\t\t\t\t\terror.message = 'Loading chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';\n\t\t\t\t\t\t\t\terror.name = 'ChunkLoadError';\n\t\t\t\t\t\t\t\terror.type = errorType;\n\t\t\t\t\t\t\t\terror.request = realSrc;\n\t\t\t\t\t\t\t\tinstalledChunkData[1](error);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\t__webpack_require__.l(url, loadingEnded, \"chunk-\" + chunkId, chunkId);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n};\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n// no on chunks loaded\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = (parentChunkLoadingFunction, data) => {\n\tvar chunkIds = data[0];\n\tvar moreModules = data[1];\n\tvar runtime = data[2];\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some((id) => (installedChunks[id] !== 0))) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkId] = 0;\n\t}\n\n}\n\nvar chunkLoadingGlobal = self[\"webpackChunkcore_portal\"] = self[\"webpackChunkcore_portal\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","import CssBaseline from '@mui/material/CssBaseline';\nimport { StyledEngineProvider, Theme } from '@mui/material/styles';\nimport { createRoot } from 'react-dom/client';\nimport { BrowserRouter } from 'react-router-dom';\n\nimport { LabelSource } from 'functions/Hooks/useLabel';\n\nimport App from './App';\nimport { UserSource } from './functions/Hooks/useUser';\n\nimport 'index.css';\nimport './i18n';\ndeclare module '@mui/styles/defaultTheme' {\n interface DefaultTheme extends Theme {}\n}\n\ndeclare module '@mui/styles/defaultTheme' {\n interface DefaultTheme extends Theme {}\n}\n\nconst container = document.getElementById('root');\nconst root = createRoot(container!); // createRoot(container!) if you use TypeScript\n\nroot.render(\n \n \n \n \n \n \n \n \n \n \n \n \n);\n"],"names":["defaultLogger","console","Removable","destroy","this","clearGcTimeout","scheduleGc","isValidTimeout","cacheTime","gcTimeout","setTimeout","optionalRemove","updateCacheTime","newCacheTime","Math","max","isServer","Infinity","clearTimeout","undefined","Query","constructor","config","super","abortSignalConsumed","defaultOptions","setOptions","options","observers","cache","logger","queryKey","queryHash","initialState","state","data","initialData","hasData","initialDataUpdatedAt","dataUpdateCount","dataUpdatedAt","Date","now","error","errorUpdateCount","errorUpdatedAt","fetchFailureCount","fetchFailureReason","fetchMeta","isInvalidated","status","fetchStatus","getDefaultState","meta","length","remove","setData","newData","replaceData","dispatch","type","updatedAt","manual","setState","setStateOptions","cancel","_this$retryer","promise","retryer","then","noop","catch","Promise","resolve","silent","reset","isActive","some","observer","enabled","isDisabled","getObserversCount","isStale","getCurrentResult","isStaleByTime","staleTime","arguments","timeUntilStale","onFocus","_this$retryer2","find","x","shouldFetchOnWindowFocus","refetch","cancelRefetch","continue","onOnline","_this$retryer3","shouldFetchOnReconnect","addObserver","includes","push","notify","query","removeObserver","filter","revert","cancelRetry","invalidate","fetch","fetchOptions","_this$options$behavio","_context$fetchOptions","_this$retryer4","continueRetry","queryFn","abortController","getAbortController","queryFnContext","pageParam","addSignalProperty","object","Object","defineProperty","enumerable","get","signal","context","fetchFn","reject","_context$fetchOptions2","behavior","onFetch","revertState","onError","_this$cache$config$on","_this$cache$config","_this$cache$config$on2","_this$cache$config2","isCancelledError","call","onSettled","isFetchingOptimistic","createRetryer","fn","abort","bind","onSuccess","_this$cache$config$on3","_this$cache$config3","_this$cache$config$on4","_this$cache$config4","Error","onFail","failureCount","onPause","onContinue","retry","retryDelay","networkMode","action","_action$meta","_action$dataUpdatedAt","canFetch","reducer","notifyManager","batch","forEach","onQueryUpdate","QueryCache","Subscribable","queries","queriesMap","build","client","_options$queryHash","hashQueryKeyByOptions","getLogger","defaultQueryOptions","getQueryDefaults","add","queryInMap","clear","getAll","arg1","arg2","filters","parseFilterArgs","exact","matchQuery","findAll","keys","event","listeners","_ref","listener","Mutation","mutationId","mutationCache","failureReason","isPaused","variables","mutation","_this$retryer$continu","execute","executeMutation","_this$options$retry","mutationFn","restored","_this$mutationCache$c3","_this$mutationCache$c4","_this$options$onSucce","_this$options2","_this$mutationCache$c5","_this$mutationCache$c6","_this$options$onSettl","_this$options3","_this$mutationCache$c","_this$mutationCache$c2","_this$options$onMutat","_this$options","onMutate","_this$mutationCache$c7","_this$mutationCache$c8","_this$options$onError","_this$options4","_this$mutationCache$c9","_this$mutationCache$c10","_this$options$onSettl2","_this$options5","onMutationUpdate","MutationCache","mutations","defaultMutationOptions","mutationKey","getMutationDefaults","matchMutation","resumePausedMutations","_this$resuming","resuming","pausedMutations","reduce","infiniteQueryBehavior","_context$fetchOptions3","_context$fetchOptions4","_context$state$data","_context$state$data2","refetchPage","fetchMore","isFetchingNextPage","direction","isFetchingPreviousPage","oldPages","pages","oldPageParams","pageParams","newPageParams","cancelled","buildNewPages","param","page","previous","fetchPage","_context$signal","_context$signal2","aborted","addEventListener","queryFnResult","getNextPageParam","getPreviousPageParam","i","QueryClient","queryCache","queryDefaults","mutationDefaults","mountCount","mount","unsubscribeFocus","focusManager","subscribe","isFocused","unsubscribeOnline","onlineManager","isOnline","unmount","_this$unsubscribeFocu","_this$unsubscribeOnli","isFetching","isMutating","fetching","getQueryData","_this$queryCache$find","ensureQueryData","arg3","parsedOptions","parseQueryArgs","cachedData","fetchQuery","getQueriesData","queryKeyOrFilters","getQueryCache","map","_ref2","setQueryData","updater","prevData","functionalUpdate","defaultedOptions","setQueriesData","_ref3","getQueryState","_this$queryCache$find2","removeQueries","resetQueries","refetchFilters","refetchQueries","cancelQueries","cancelOptions","promises","all","invalidateQueries","_filters$refetchType","refetchType","_options$cancelRefetc","throwOnError","prefetchQuery","fetchInfiniteQuery","prefetchInfiniteQuery","getMutationCache","getDefaultOptions","setDefaultOptions","setQueryDefaults","result","hashQueryKey","firstMatchingDefaults","partialMatchKey","setMutationDefaults","_defaulted","refetchOnReconnect","useErrorBoundary","suspense","WrapperClient","BaseHttpRequest","axiosInstance","axios","baseURL","process","timeout","interceptors","request","use","async","accessToken","localStorage","getItem","requestConfig","headers","authorization","response","emitter","emit","_","__request","handleSubmit","password","passwordComfirm","setPassword","setPasswordComfirm","label","useLabel","logo","setLogo","useState","height","setHeight","React","name","logoSW","logoVBL","logoBEU","logoOB","_jsx","Card","elevation","children","CardContent","_jsxs","Grid","container","item","md","src","style","objectFit","CardHeader","title","Typography","variant","color","sx","fontSize","lineHeight","Translation","i18nKey","values","component","t","subheader","marginTop","paddingLeft","xs","noValidate","onSubmit","TextField","margin","required","fullWidth","id","onChange","target","value","autoComplete","Alert","severity","LinearProgress","Button","ChangePasswordImageWIndow","backgroundLogo","setBackgroundLogo","collage","setCollage","opacity","setOpacity","BackgroundSWLogo","CollageSW","BackgroundVBLogo","CollageVBL","BackgroundBULogo","CollageBEU","BackgroundOBLogo","CollageOB","sm","background","light_color","main_color","position","theme","breakpoints","up","Box","width","backgroundSize","zIndex","alignItems","padding","window","innerWidth","textAlign","ChangePasswordFormDesktop","ChangePasswordImageWindow","paddingTop","marginLeft","ChangePasswordMobileTopHeader","ChangePasswordFormMobile","ChangePassword","currentWidth","useWidth","token","useParams","eventL","preventDefault","appClient","auth","postAuthResetUserPassword","res","_Fragment","ChangePasswordMobile","ChangePasswordDesktop","setPasswordConfirm","e","CreatePasswordImageWindow","CreatePasswordFormDesktop","CreatePasswordMobileTopHeader","CreatePasswordFormMobile","CreatePassword","CreatePasswordMobile","CreatePasswordDesktop","createSvgIcon","d","qrcodegen","__defProp","__getOwnPropSymbols","getOwnPropertySymbols","__hasOwnProp","prototype","hasOwnProperty","__propIsEnum","propertyIsEnumerable","__defNormalProp","obj","key","configurable","writable","__spreadValues","a","b","prop","__objRest","source","exclude","indexOf","qrcodegen2","_QrCode","version","errorCorrectionLevel","dataCodewords","msk","modules","isFunction","MIN_VERSION","MAX_VERSION","RangeError","size","row","slice","drawFunctionPatterns","allCodewords","addEccAndInterleave","drawCodewords","minPenalty","applyMask","drawFormatBits","penalty","getPenaltyScore","assert","mask","encodeText","text","ecl","segs","QrSegment","makeSegments","encodeSegments","encodeBinary","seg","makeBytes","dataUsedBits","minVersion","maxVersion","boostEcl","dataCapacityBits2","getNumDataCodewords","usedBits","getTotalBits","newEcl","Ecc","MEDIUM","QUARTILE","HIGH","bb","appendBits","mode","modeBits","numChars","numCharCountBits","getData","dataCapacityBits","min","padByte","getModule","y","getModules","setFunctionModule","drawFinderPattern","alignPatPos","getAlignmentPatternPositions","numAlign","j","drawAlignmentPattern","drawVersion","formatBits","rem","bits","getBit","floor","dy","dx","dist","abs","xx","yy","isDark","ver","numBlocks","NUM_ERROR_CORRECTION_BLOCKS","ordinal","blockEccLen","ECC_CODEWORDS_PER_BLOCK","rawCodewords","getNumRawDataModules","numShortBlocks","shortBlockLen","blocks","rsDiv","reedSolomonComputeDivisor","k","dat","ecc","reedSolomonComputeRemainder","concat","block","right","vert","invert","runColor","runX","runHistory","PENALTY_N1","finderPenaltyAddHistory","finderPenaltyCountPatterns","PENALTY_N3","finderPenaltyTerminateAndCount","runY","PENALTY_N2","dark","sum","total","ceil","PENALTY_N4","step","pos","splice","degree","root","reedSolomonMultiply","divisor","factor","shift","coef","z","n","core","currentRunColor","currentRunLength","pop","unshift","QrCode","val","len","cond","_QrSegment","bitData","Mode","BYTE","makeNumeric","digits","isNumeric","parseInt","substr","NUMERIC","makeAlphanumeric","isAlphanumeric","temp","ALPHANUMERIC_CHARSET","charAt","ALPHANUMERIC","toUtf8ByteArray","makeEci","assignVal","ECI","NUMERIC_REGEX","test","ALPHANUMERIC_REGEX","ccbits","str","encodeURI","charCodeAt","QrCode2","_Ecc","LOW","QrSegment2","_Mode","numBitsCharCount","KANJI","qrcodegen_default","ERROR_LEVEL_MAP","L","M","Q","H","DEFAULT_SIZE","DEFAULT_LEVEL","DEFAULT_BGCOLOR","DEFAULT_FGCOLOR","DEFAULT_INCLUDEMARGIN","generatePath","ops","start","cell","join","excavateModules","excavation","h","w","getImageSettings","cells","includeMargin","imageSettings","numCells","defaultSize","scale","excavate","floorX","floorY","SUPPORTS_PATH2D","Path2D","addPath","QRCodeCanvas","props","_a","level","bgColor","fgColor","otherProps","imgSrc","_canvas","_image","isImgLoaded","setIsImageLoaded","current","canvas","ctx","getContext","calculatedImageSettings","image","haveImageToRender","complete","naturalHeight","naturalWidth","pixelRatio","devicePixelRatio","fillStyle","fillRect","fill","rdx","cdx","drawImage","canvasStyle","img","display","onLoad","ref","QRCodeSVG","xlinkHref","preserveAspectRatio","fgPath","viewBox","shapeRendering","QRCode","renderAs","qrCode","setQrCode","useEffect","getAuthGetSecret","patchAuthGetSecret","r","postAuthGetQrUri","Modal","open","Paper","formdata","FormData","currentTarget","postAuthLoginWithMfa","mfa","access_token","jwt","setItem","location","reload","top","left","transform","justifyContent","uri","CardActions","ml","p","blocked","setStatus","showPassword","setShowPassword","isLoadingUser","useUser","disabled","autoFocus","InputProps","endAdornment","InputAdornment","IconButton","onClick","onMouseDown","edge","VisibilityOff","Visibility","Collapse","in","Link","href","TwoFPSetup","onClose","LoginImageWIndow","LoginFormDesktop","textDecoration","LoginMobileTopHeader","LoginFormMobile","setError","setBlocked","signIn","loginCredatials","username","history","LoginMobile","LoginDesktop","email","setEmail","toLowerCase","helperText","spacing","ResetImageWIndow","components","ResetMobileTopHeader","Reset","email_address","postAuthRequestUserPasswordReset","ResetMobile","ResetDesktop","formatDate","capitalizeFirstLetter","date","toLocaleDateString","weekday","day","month","start_time","substring","end_time","CoachJobPage","_jobMatch$job$shifts2","jobToken","jobMatch","setJobMatch","branchGone","setBranchGone","chosen","setChosen","setOpen","handleClose","Reply","spJobs","patchSPJobsReplyToJobMatchUuidCoach","getSPJobsGetInfoByUuidCoach","ContactCard","Dialog","borderRadius","boxShadow","alignContent","ContactText","ChoiceModal","_jobMatch$job$shifts","yes","mb","job","backgroundColor","LocationOnIcon","street","zipcode","city","fontWeight","description","overflowY","shifts","ContactStack","Stack","cursor","PhoneIcon","ContactMailIcon","swLogo","alt","maxWidth","maxHeight","gutterBottom","mt","minHeight","minWidth","_job$shifts","_coach$user","_coach$user2","_coach$user3","coach","coachAccepted","titleTypographyProps","primary","main","LocationOn","profile_picture","Avatar","user","first_name","AccountCircle","last_name","font","letterSpacing","user_locations","Dashboard","sector","_coach$user4","match","setSelectedCoach","setCoachAccepted","branchToken","marginRight","patchSPJobsReplyToJobMatchUuidBranch","competences","sort","localeCompare","competence","Check","ProviderJobPage","setJob","matches","setMatches","selectedCoach","screenSize","setScreenSize","getCurrentDimension","innerHeight","updateDimension","removeEventListener","getSPJobsGetInfoByUuidBranch","job_matches","Container","paddingRight","AcceptModal","AccessTimeIcon","moment","format","toLocaleUpperCase","m","paddingBottom","index","CoachCard","Availability","setUser_locations","availability","setAvailability","enqueueSnackbar","useSnackbar","handleNext","detail","document","_user$coach","coaches","getCoachesViewCoachViaId","_coach$availabilities","availabilities","day_number","marginBottom","AvailabilityGrid","onDelete","availabilityItem","deleteCoachesDeleteAvailability","search","onAdd","_user$coach2","_availabilityItem$use","postCoachesAddAvailabilityToCoach","user_location","CoachProfile","setCoach","patchCoachesEditCoach","avatar","_e$target","_e$target$files","patchCoachesAddProfilePicture","attachment","files","accept","multiple","htmlFor","Divider","bio","multiline","minRows","getListItemAvatarUtilityClass","slot","generateUtilityClass","generateUtilityClasses","_excluded","ListItemAvatarRoot","styled","overridesResolver","styles","ownerState","alignItemsFlexStart","_extends","flexShrink","inProps","useDefaultProps","className","other","_objectWithoutPropertiesLoose","ListContext","classes","slots","composeClasses","useUtilityClasses","clsx","Explanation","useHistory","patchAuthCompleteFirstLanding","first_landing_status","ListItem","ListItemAvatar","Schedule","ListItemText","secondary","ViewAgenda","EventAvailable","Feedback","GuardianAvailabilities","students","setStudents","_user$guardian","guardians","getGuardiansViewGuardianSimple","guardian","student","deleteGuardiansDeleteAvailability","postGuardiansAddAvailabilityToStudent","GuardianLessons","guardianCoaches","setGuardianCoaches","getGuardiansViewGuardianCoaches","FormControl","RadioGroup","FormControlLabel","control","Radio","flexWrap","Call","Person","ComponentsWhenEditing","ComponentsWhenNotEditing","restProps","isEditing","setIsEditing","Close","Edit","userInfoToCheck","coachInfoToCheck","propsToValidate","checkMail","phone_number","checkPhone","checkZip","bsn","checkBSN","GuardianPersonalDetails","userChange","setUserChange","setGuardian","patchAuthEditUser","postGuardiansEditGuardian","getAuthGetCurrentUser","baseGuardian","getGuardiansViewPrivateGuardian","privateGuardian","handleChange","replace","EditForm","Boolean","Warning","noWrap","iban","checkIBAN","PersonalDetails","coachChange","setCoachChange","baseCoach","getCoachesViewCoachViaIdAdvancedPrivate","privateCoach","id_card_back_key","id_card_front_key","contract","select","gender","MenuItem","FormHelperText","SchoolDetails","possibleDisciplines","setPossibleDisciplines","disciplines","setDisciplines","school_level","is_pabo","patchCoachesBulkRemoveDisciplinesFromCoach","patchCoachesBulkAddDisciplinesToCoach","lessons","getLessonsViewDisciplines","checked","schoolVakkenRadio","discipline","lg","findIndex","handleDisciplineChange","SchoolLevelCoachEnum","Checkbox","_coach$school_level","defaultValue","studentInfoToCheck","StudentDetails","jIndex","_student$user_locatio","_student$user_locatio2","_student$disciplines","_student$disciplines2","_student$disciplines3","patchGuardiansEditStudent","patchGuardiansBulkRemoveDisciplinesFromStudent","patchGuardiansBulkAddDisciplinesToStudent","change","Number","_student$disciplines4","date_of_birth","school_year","_student$disciplines5","align","_student$disciplines6","LocationList","onPost","locationIn","country","postGuardiansAddStudentLocation","_r$user_locations","_r$user_locations2","onPatch","patchGuardiansEditUserLocation","deleteGuardiansDeleteUserLocation","TutoringQuestions","getCoachesViewCoachStudents","s","School","Welcome","SupervisorAccount","Badge","Landing","setPages","Component","currentIndex","setCurrentIndex","currentPage","trigger","setTrigger","handleScroll","scrolled","documentElement","scrollTop","scrollTo","offsetTop","whiteLabelLogo","SWLogo","BEULogo","OBLogo","OELogo","VBLLogo","float","AppBar","backgroundImage","whiteLabelBanner","SWBanner","BEUBanner","OBBanner","VBLBanner","subheaderTypographyProps","borderRight","ProgressSpinner","textColor","circularProgressProps","CustomEvent","dispatchEvent","secondContract","setAllowSign","setStep","frameBorder","setSignature","allowSign","sigPad","setSigPad","borderStyle","clearSignature","DeleteIcon","undoSignature","toData","fromData","getTrimmedCanvas","toDataURL","UndoIcon","SignatureCanvas","onEnd","penColor","canvasProps","setIsTransfering","isTransfering","setContract","setSecondContract","signature","useTheme","secretkey","SkipContract","canDownload","setCanDownload","fetchContract","stubs","getStubsGetStubContract","mainContract","object_key_render_url","fetchAWSContract","url","callback","blob","URL","createObjectURL","info","data_bundle","copy","street_number","postStubsUpdateStub","patchStubsTransferStub","postStubsAddSignature","dataURItoBlob","DownloadContract","blobURL","createElement","body","appendChild","download","click","revokeObjectURL","square","AutorenewIcon","borderLeft","borderWidth","borderColor","palette","DualContractView","Signature","fillRule","cx","cy","FinishPage","Timeline","TimelineItem","TimelineSeparator","TimelineDot","Event","TimelineConnector","TimelineContent","Savings","PeopleAlt","People","backgroundPosition","backgroundRepeat","CloseIcon","DoneIcon","_data$data_bundle","_data$data_bundle2","_data$data_bundle3","_data$data_bundle4","themeColor","spinner","setSpinner","themeMessage","setTheme","errorMessage","setErrorMessage","errorCount","setErrorCount","isOpen","setIsOpen","setField","file","API_ENDPOINT","XMLHttpRequest","formData","onreadystatechange","readyState","newState","JSON","parse","responseText","append","send","getBase64","Popup","Help","border","PermIdentityIcon","Fab","bottom","hidden","Upload","objectConstructor","isObject","normalizeArguments","args","metadata","_Array$prototype$slic2","_slicedToArray","Array","arg_1","arg_2","arg_3","arg_4","TypeError","_objectSpread","defaultCountry","VALID_DIGITS","VALID_PUNCTUATION","ParseError","code","_this","_classCallCheck","_super","setPrototypeOf","_assertThisInitialized","split","pa","pb","na","nb","isNaN","DEFAULT_EXT_PREFIX","CALLING_CODE_REG_EXP","Metadata","countries","typeOf","validateMetadata","setVersion","countryCode","v1","v2","v3","nonGeographic","nonGeographical","getCountryMetadata","callingCode","getCountryCodesForCallingCode","countryCodes","countryCallingCodes","selectNumberingPlan","hasCountry","numberingPlan","NumberingPlan","hasCallingCode","getNumberingPlanMetadata","getCountryCodeForCallingCode","IDDPrefix","defaultIDDPrefix","nationalNumberPattern","possibleLengths","formats","nationalPrefixForParsing","nationalPrefixTransformRule","leadingDigits","hasTypes","_type","ext","country_phone_code_to_countries","country_calling_codes","globalMetadataObject","_getFormats","getDefaultCountryMetadataForRegion","Format","_getNationalPrefixFormattingRule","_nationalPrefixForParsing","nationalPrefix","_getNationalPrefixIsOptionalWhenFormatting","types","_type2","getType","Type","_format","nationalPrefixFormattingRule","nationalPrefixIsOptionalWhenFormattingInNationalFormat","usesNationalPrefix","FIRST_GROUP_ONLY_PREFIX_PATTERN","_typeof","getCountryCallingCode","countryCallingCode","v4","compare","getExtensionDigitsPattern","maxLength","createExtensionPattern","purpose","possibleSeparatorsBetweenNumberAndExtLabel","possibleCharsAfterExtLabel","optionalExtnSuffix","possibleSeparatorsNumberExtLabelNoComma","MIN_LENGTH_PHONE_NUMBER_PATTERN","VALID_PHONE_NUMBER","VALID_PHONE_NUMBER_START_REG_EXP","RegExp","VALID_PHONE_NUMBER_WITH_EXTENSION","VALID_PHONE_NUMBER_PATTERN","EXTN_PATTERN","DIGITS","parseDigit","character","parseIncompletePhoneNumber","string","_step","_iterator","_createForOfIteratorHelperLoose","done","parsePhoneNumberCharacter","prevParsedCharacters","emitEvent","checkNumberLength","nationalNumber","checkNumberLengthForType","type_info","possible_lengths","mobile_type","merged","element","mergeArrays","actual_length","minimum_length","isPossibleNumber","matchesEntirely","regular_expression","NON_FIXED_LINE_PHONE_TYPES","getNumberType","input","phone","isNumberTypeEqualTo","pattern","getPossibleCountriesForNumber","possibleCountries","_metadata","couldNationalNumberBelongToCountry","FIRST_GROUP_PATTERN","formatNationalNumberUsingFormat","number","useInternationalFormat","withNationalPrefix","formattedNumber","carrierCode","internationalFormat","trim","applyInternationalSeparatorStyle","SINGLE_IDD_PREFIX_REG_EXP","DEFAULT_OPTIONS","formatExtension","extension","formatNumber","addExtension","formatNationalNumber","formatRFC3966","fromCountry","fromCountryCallingCode","iddPrefix","countryMetadata","getIddPrefix","formatIDD","formatAs","availableFormats","nationalNnumber","leadingDigitsPatterns","lastLeadingDigitsPattern","chooseFormatForNumber","PhoneNumber","countryOrCountryCallingCode","_getCountryAndCountry","metadataJson","isCountryCode","getCountryAndCountryCallingCode","getMetadata","isNonGeographicCallingCode","phoneNumber","CAPTURING_DIGIT_PATTERN","extractNationalNumber","_extractNationalNumbe","prefixPattern","prefixMatch","exec","capturedGroupsCount","hasCapturedGroups","prefixBeforeNationalNumber","possiblePositionOfTheFirstCapturedGroup","extractNationalNumberFromPossiblyIncompleteNumber","nationalNumberBefore","nationalNumberAfter","shouldHaveExtractedNationalPrefix","isPossibleIncompleteNationalNumber","extractCountryCallingCode","isNumberWithIddPrefix","numberWithoutIDD","IDDPrefixPattern","matchedGroups","stripIddPrefix","_extractCountryCallin","possibleShorterNumber","possibleShorterNationalNumber","extractCountryCallingCodeFromInternationalNumberWithoutPlusSign","shorterNumber","countryCallingCodeSource","_countryCallingCode","getCountryByCallingCode","nationalPhoneNumber","getCountryByNationalNumber","RFC3966_PHONE_DIGIT_","RFC3966_GLOBAL_NUMBER_DIGITS_PATTERN_","RFC3966_DOMAINNAME_PATTERN_","RFC3966_PREFIX_","RFC3966_PHONE_CONTEXT_","extractFormattedPhoneNumberFromPossibleRfc3966NumberUri","numberToParse","phoneNumberString","extractFormattedPhoneNumber","phoneContext","numberToExtractFrom","indexOfPhoneContext","phoneContextStart","phoneContextEnd","extractPhoneContext","isPhoneContextValid","indexOfNationalNumber","indexOfRfc3966Prefix","indexOfIsdn","PHONE_NUMBER_START_PATTERN","AFTER_PHONE_NUMBER_END_PATTERN","_parseInput","extract","startsAt","_extractFormattedPhoneNumber","isViablePhoneNumber","isViablePhoneNumberStart","withExtensionStripped","numberWithoutExtension","extractExtension","parseInput","formattedPhoneNumber","_parsePhoneNumber","defaultCallingCode","exactCountry","parsePhoneNumber","hasSelectedNumberingPlan","__countryCallingCodeSource","valid","extended","possible","isSupportedCountry","parsePhoneNumberWithError","isValidPhoneNumber","_normalizeArguments","isValid","func","_arguments","apply","withMetadataArgument","_isValidPhoneNumber","emergency_phone_number","previousEmail","useRef","saveData","capitalize","toUpperCase","emailValidation","validateEmailSendGrid","checkCity","verdict","anchorOrigin","vertical","horizontal","isMobile","justify","dontShowBorder","inputProps","InputLabelProps","shrink","option","update","setUpdate","subjects","setSubjects","setVak","vak","_change$data_bundle$d","_change$data_bundle$d2","vakken","toReturn","filteredSubjects","is_primary_school","ammountLimmit","column","_data$data_bundle$dis","tempData","setTempData","uploadedFileName","setUploadedFileName","is_kdv","is_coach","grades","finished_current_study","toggleSubjects","SchoolLevelSelect","saveKey","saveSchoolLevelParent","defaultSchoolLevel","schoolLevelVariant","marginY","current_study_level","current_study","toString","UploadButton","buttonTranslation","postStubsAddAttachement","secret_key","endIcon","UploadIcon","fontStyle","SubjectPage","StyledTimeLine","down","AvailabilityGrid_V2","handleAdd","handleRemove","comment","StartPage","toPipe","PersoonlijkeGegevensPage","PreferencePage","PaspoortPage","ContractPage","getStubsReadStub","contract_key","String","random","postStubsChangePipeSimple","CircularProgress","bundle","setBundle","handlePref","setSkipAdvice","setSkipPayment","setPayLater","handlePrefClick","skip_advice","handleSkipEvent","handleSkipAdvice","package","tempBundle","handleSkipPackage","skip_package","textDecorationColor","handleButtonClick","handlePrimaryButton","selectedPackage","paymentMethod","showPaymentMethod","paymentMethodSting","GuardianContext","GuardianContextProvider","guardianId","SetGuardianId","Provider","ProductsContext","ProductsContextProvider","Products","SetProducts","CheckFirstName","validateError","CheckLastName","CheckGender","CheckDateOfBirth","CheckZipCode","CheckHouseNumber","CheckStreetName","CheckCity","CheckPhone","useStyles","makeStyles","_data$data_bundle$stu5","_data$data_bundle$stu6","_data$data_bundle8","_data$data_bundle8$st","_data$data_bundle8$st2","_data$data_bundle9","_data$data_bundle9$st","_data$data_bundle9$st2","_data$data_bundle10","_data$data_bundle10$s","_data$data_bundle10$s2","_data$data_bundle11","_data$data_bundle11$s","_data$data_bundle11$s2","_data$data_bundle$stu7","_data$data_bundle$stu8","_data$data_bundle$stu9","_data$data_bundle$stu12","_data$data_bundle$stu13","_data$data_bundle12","_data$data_bundle13","_data$data_bundle14","_data$data_bundle15","_data$data_bundle16","_data$data_bundle17","_data$data_bundle18","_data$data_bundle19","_data$data_bundle20","_data$data_bundle21","_data$data_bundle22","_data$data_bundle23","_data$data_bundle24","_data$data_bundle25","_data$data_bundle26","setMailExist","updateDom","setUpdateDom","emailResponse","setEmailResponse","setValidateError","dateToMoment","momentDate","dateSeparated","dateOfBirth","setDateOfBirth","_data$data_bundle$stu","_data$data_bundle$stu2","_data$data_bundle$stu3","_data$data_bundle$stu4","emailData","postAuthValidateEmailAddress","saveDataChild","_change$data_bundle","_change$data_bundle$s","_data$data_bundle2$st","_data$data_bundle2$st2","_data$data_bundle3$st","_data$data_bundle3$st2","_data$data_bundle5","_data$data_bundle6","_data$data_bundle7","house_number","checkDateYMD","cityity","ValidateEmail","found","LocalizationProvider","dateAdapter","AdapterMoment","adapterLocale","DatePicker","textField","params","_data$data_bundle$stu10","_data$data_bundle$stu11","disableOpenPicker","localeText","fieldYearPlaceholder","repeat","digitAmount","slotProps","onBlur","dayString","disableUnderline","bgcolor","onAccept","_moment","PackageCalculator","score","setScore","getGradeScore","getYearScore","getMultipleChildScore","getScore","grade","getDateScore","dayDiv","date_of_test","dayOfYear","getSubjectScore","disciplinesLength","maxYears","toDate","getMonth","getBackpackScore","c","toLocaleLowerCase","multiple_children","_subjects$find3","subjectId","subjectGrade","setGrade","show","setShow","_subjects$find","_subjects$find2","subject","Slider","newValue","subjectObject","foundIndex","marks","_bundle$data_bundle$s","multipleChild","setMultipleChild","selectedButton","setSelectedButton","hours","setHours","tempdata","pc","dataSpread","tempHours","handleCheckMulitpleChilds","ev","showSubjects","subid1","subid2","borderBottomLeftRadius","mr","fiene","startIcon","LessonSubjectCard","BootstrapDialog","_bundle$data_bundle","skipPayment","SetPaymentModalOpen","setPaymentMethod","cardBool","setCardBool","ibanCheckIconVisible","setIbanCheckIconVisible","handlePaymentMethodChange","payment_method","accept_incasso","json","BootstrapDialogTitle","DialogTitle","grey","InfoIcon","IBAN","handleIBAN","CheckIcon","term","handleTermSelect","DialogContent","dividers","_product$bundle_detai","_product$bundle_detai2","_product$bundle_detai3","selected","advice","skipAdvice","product","losseLes","setLosseles","strippenkaarten","flexDirection","sw_background","beu_background","ob_background","bundle_details","round","price","total_hours","toFixed","word","borderTopLeftRadius","selectedProducts","setSelectedProducts","products","setProducts","advicedPackage","setAdvicedPackage","loading","setLoading","getProductsGetPublicProducts","prod","is_active","normalePackages","isAdviced","div","num","getSelected","pt","pname","showPackageName","PackageCardMobile","selectedDate","setSelectedDate","start_date","handleLocation","online_tutoring","tagManagerArgs","dataLayer","dataLayerName","TagManager","StartDatesEnum","handleStarttDate","replaceAll","placeholder","rows","lesson_comment","setLessonComment","setLeerjaar","_tempdata$data_bundle2","_tempdata$data_bundle3","_tempdata$data_bundle4","_tempdata$data_bundle5","_tempdata$data_bundle6","_tempdata$data_bundle","setNiveau","SchoolLevelEnum_Output","returnGrade","items","years","SWPackages","discount","maxScore","displayMatch","priority","minScore","OBPackages","VBPackages","noMatch","BEUPackages","_bundle$data_bundle$s2","_bundle$data_bundle$s3","_bundle$data_bundle$s4","_bundle$data_bundle$s5","_bundle$data_bundle$s6","_bundle$data_bundle$s7","_bundle$data_bundle$s8","calculateHeight","_document$getElementB","getElementById","offsetHeight","getDisiplinesNames","disipline","MailIcon","setVakken","packages","setPackages","setPhone","ListItemSUMM","orientation","splitMail","SummaryDesktop","ThankYouPage","isTransfered","setIsTransfered","InformationPage","to","SchedulePage","LessonPrefrences","PersonalAdvice","SummaryPage","indexInit","setIndexInit","setSecretkey","setCurrentPage","mailExist","payLater","packageModalOpen","setPackageModalOpen","paymentModalOpen","setPaymentModalOpen","maySwitchPage","setMaySwitchPage","flowroutes","init","getBaseUrl","path","pathname","pageObj","gtmId","gtm_id","origin","StubType","GUARDIAN","label_id","comments","postStubsCreateStub","getStubsGetSecretKeyType","updateStub","baseUrl","overflowX","Switch","Route","SetPackageModalOpen","PaymentMethodPageOld","FooterButtons","terms","transferStub","isFinalizing","postGuardiansSelectBundle","changePipe","PackageModal","handlePackageModalClose","PaymentModal","handlePaymentModalClose","Maintenance","Lottie","animationData","LottieJson","maintenance","loop","autoplay","rendererSettings","PaymentStateContex","PaymentStateProvider","AppClient","EventEmitter","DefaultLayout","Page404","Page500","getUser","standardTheme","currentLabel","prevMonth","subtract","queryClient","mobile","on","checkIfAuthenticated","userData","hrefSplit","getCoachesViewCoachToAccord","year","lessonSchema","paletteTemp","typographyTemp","typography","createPalette","light","dark_color","contrastText","contrast_color","tagManager","createTypography","fontFamily","h1","textTransform","h2","h3","h4","h5","body1","body2","button","subtitle2","createTheme","ThemeProvider","QueryClientProvider","NavContextProvider","ProductStoreContextProvider","SnackbarProvider","maxSnack","CustomModal","fallback","render","Login","PaymentStatusPage","SignUpFlowCoaches","SignUpFlowGuardians","Redirect","from","CollectionPaymentPage","InvoicePaymentPage","HashRouter","ApiError","message","statusText","_classPrivateFieldBase","_classPrivateFieldKey","CancelError","isCancelled","_isResolved","_classPrivateFieldLooseKey","_isRejected","_isCancelled","_cancelHandlers","_promise","_resolve","_reject","CancelablePromise","executor","_classPrivateFieldLooseBase","onCancel","cancelHandler","reason","Symbol","toStringTag","onFulfilled","onRejected","finally","onFinally","warn","isDefined","isString","isStringWithValue","isBlob","stream","arrayBuffer","getQueryString","qs","isArray","v","entries","encodeURIComponent","resolver","getHeaders","additionalHeaders","TOKEN","USERNAME","PASSWORD","HEADERS","formHeaders","Accept","_ref5","_ref6","credentials","btoa","err","Buffer","base64","mediaType","axiosClient","getUrl","encoder","ENCODE_PATH","VERSION","group","_options$path","BASE","stringify","_ref4","getFormData","getRequestBody","method","withCredentials","WITH_CREDENTIALS","cancelToken","axiosError","sendRequest","responseBody","getResponseBody","responseHeader","getResponseHeader","content","ok","catchErrorCodes","errors","_result$status","_result$statusText","errorStatus","errorStatusText","errorBody","AxiosHttpRequest","AccordationService","httpRequest","patchFspAccordShifts","coachId","patchFspAccordShiftsVLatest","AuthService","postAuthCreate","requestBody","postAuthCreateGroup","postAuthCreateRole","getAuthGetAllRoles","getAuthSearchAllRoles","searchTerm","getAuthGetAllGroups","getAuthGetAllUsers","offset","limit","getAuthSearchAllGroups","getAuthGetAllPermissions","getAuthGetSingleRole","roleId","patchAuthEditSingleRole","getAuthGetSingleRoleMembers","getAuthGetSingleGroup","groupId","patchAuthEditSingleGroup","patchAuthPromoteUserToGroup","userId","patchAuthDemoteUserFromGroup","patchAuthPromoteUserToRole","patchAuthDemoteUserFromRole","patchAuthBulkAttachPermissionsToRole","patchAuthBulkRemovePermissionsFromRole","getAuthGetNotifications","getAuthGetUnreadNotifications","getAuthGetSingleNotification","notificationId","patchAuthMarkNotificationRead","getAuthGetCurrentUserPermissions","getAuthGetUser","patchAuthEditUserAdvanced","getAuthGetUserCount","postAuthLoginForAccessToken","postAuthGetAccessFromRefreshToken","patchAuthChangePreferredOrderType","orderType","deleteAuthDisableUser","postAuthCreateVLatest","postAuthRequestUserPasswordResetVLatest","postAuthResetUserPasswordVLatest","getAuthGetSecretVLatest","postAuthGetQrUriVLatest","patchAuthGetSecretVLatest","postAuthLoginWithMfaVLatest","postAuthCreateGroupVLatest","postAuthCreateRoleVLatest","getAuthGetAllRolesVLatest","getAuthSearchAllRolesVLatest","getAuthGetAllGroupsVLatest","getAuthGetAllUsersVLatest","getAuthSearchAllGroupsVLatest","getAuthGetAllPermissionsVLatest","getAuthGetSingleRoleVLatest","patchAuthEditSingleRoleVLatest","getAuthGetSingleRoleMembersVLatest","getAuthGetSingleGroupVLatest","patchAuthEditSingleGroupVLatest","patchAuthPromoteUserToGroupVLatest","patchAuthDemoteUserFromGroupVLatest","patchAuthPromoteUserToRoleVLatest","patchAuthDemoteUserFromRoleVLatest","patchAuthBulkAttachPermissionsToRoleVLatest","patchAuthBulkRemovePermissionsFromRoleVLatest","getAuthGetNotificationsVLatest","getAuthGetUnreadNotificationsVLatest","getAuthGetSingleNotificationVLatest","patchAuthMarkNotificationReadVLatest","getAuthGetCurrentUserVLatest","getAuthGetCurrentUserPermissionsVLatest","getAuthGetUserVLatest","patchAuthEditUserVLatest","patchAuthEditUserAdvancedVLatest","patchAuthCompleteFirstLandingVLatest","getAuthGetUserCountVLatest","postAuthValidateEmailAddressVLatest","postAuthLoginForAccessTokenVLatest","postAuthGetAccessFromRefreshTokenVLatest","patchAuthChangePreferredOrderTypeVLatest","deleteAuthDisableUserVLatest","BundlesService","getBundlesGetBundle","bundleId","patchBundlesUpdateBundle","endDate","totalHours","getBundlesGetBundles","getBundlesGetBundleLessons","getBundlesGetAssociatedLessons","postBundlesAssociateLesson","lessonId","getBundlesGetBundleVLatest","patchBundlesUpdateBundleVLatest","getBundlesGetBundlesVLatest","getBundlesGetBundleLessonsVLatest","getBundlesGetAssociatedLessonsVLatest","postBundlesAssociateLessonVLatest","CoachesService","getFspGetCoachSalary","salaryType","patchFspEditCoachSalary","salary","postCoachesCreateCoach","postCoachesAddLocationToCoach","postCoachesAddStudentToCoach","studentId","getCoachesViewCoachViaIdAdvanced","patchCoachesEditCoachAdvanced","getCoachesViewCoachViaKey","getCoachesViewCoachViaKeyAdvanced","userLocationId","postCoachesUpdateAvailabilityToCoach","patchCoachesEditUserLocation","deleteCoachesDeleteUserLocation","patchCoachesSetCoachToInactive","patchCoachesEditAvailability","availabilityId","patchCoachesChangeAvailabilityLocation","patchCoachesChangePipeForCoach","pipeId","patchCoachesPinCoach","patchCoachesUnpinCoach","patchCoachesSetCoachUnvisible","patchCoachesSetCoachVisible","getCoachesGetPipeLog","getCoachesViewCoachSchedule","end","postCoachesTagCoach","tagId","deleteCoachesUntagCoach","getCoachesViewAllTags","postCoachesAddProfilePictureBase64","deleteCoachesRemoveProfilePicture","getCoachesViewCoachLessonsCount","getCoachesViewCoachStudentsFinancial","showDisputed","getCoachesViewCoachStudentsFinancialUnaccordedMonths","postCoachesCoachAccordance","force","getCoachesCoachAccordanceSnapshots","patchCoachesCoachUnaccordance","getCoachesViewUnaccordedCoaches","patchCoachesUpdateCoachStudent","getCoachesViewCoachStudent","getCoachesViewStudentCoach","getCoachesViewSalary","getCoachesViewCoachNotes","postCoachesAddCoachNote","getCoachesViewCoachIcal","icalToken","getCoachesViewAllCoaches","postCoachesOpenStudentRequest","lessonRequestId","postCoachesCloseStudentRequest","studentRequestId","approve","getCoachesViewStudentRequest","getCoachesViewOpenStudentRequests","getCoachesViewAllStudentRequests","getCoachesViewCoachHours","getCoachesViewCoachHoursDownload","needCancelled","needAccorded","getCoachesViewCoachOverview","getCoachesGenerateCoachContract","isLaborContract","postCoachesSignCoachContract","getCoachesViewContracts","getCoachesViewCompleteContracts","postCoachesRejectContract","getCoachesVerifyCoach","verify","postCoachesResetContract","postCoachesAddIdCardAttachment","isFront","patchCoachesRemoveId","patchCoachesAddGradesAttachment","getCoachesViewCoachAccordanceLogs","startDate","getCoachesGetCoachKvkNumber","patchCoachesEditCoachKvkNumber","kvkNumber","getCoachesGetCoachVatNumber","patchCoachesEditCoachVatNumber","vatNumber","getCoachesGetCoachFavoriteLocations","patchCoachesEditCoachActive","getFspGetCoachSalaryVLatest","patchFspEditCoachSalaryVLatest","postCoachesCreateCoachVLatest","patchCoachesBulkAddDisciplinesToCoachVLatest","patchCoachesBulkRemoveDisciplinesFromCoachVLatest","postCoachesAddLocationToCoachVLatest","postCoachesAddStudentToCoachVLatest","getCoachesViewCoachViaIdVLatest","patchCoachesEditCoachVLatest","getCoachesViewCoachViaIdAdvancedVLatest","patchCoachesEditCoachAdvancedVLatest","getCoachesViewCoachViaKeyVLatest","getCoachesViewCoachViaKeyAdvancedVLatest","postCoachesAddAvailabilityToCoachVLatest","postCoachesUpdateAvailabilityToCoachVLatest","patchCoachesEditUserLocationVLatest","deleteCoachesDeleteUserLocationVLatest","patchCoachesSetCoachToInactiveVLatest","patchCoachesEditAvailabilityVLatest","patchCoachesChangeAvailabilityLocationVLatest","deleteCoachesDeleteAvailabilityVLatest","patchCoachesChangePipeForCoachVLatest","patchCoachesPinCoachVLatest","patchCoachesUnpinCoachVLatest","patchCoachesSetCoachUnvisibleVLatest","patchCoachesSetCoachVisibleVLatest","getCoachesGetPipeLogVLatest","getCoachesViewCoachScheduleVLatest","postCoachesTagCoachVLatest","deleteCoachesUntagCoachVLatest","getCoachesViewAllTagsVLatest","patchCoachesAddProfilePictureVLatest","postCoachesAddProfilePictureBase64VLatest","deleteCoachesRemoveProfilePictureVLatest","getCoachesViewCoachStudentsVLatest","getCoachesViewCoachLessonsCountVLatest","getCoachesViewCoachStudentsFinancialVLatest","getCoachesViewCoachStudentsFinancialUnaccordedMonthsVLatest","getCoachesViewCoachToAccordVLatest","postCoachesCoachAccordanceVLatest","getCoachesCoachAccordanceSnapshotsVLatest","patchCoachesCoachUnaccordanceVLatest","getCoachesViewUnaccordedCoachesVLatest","patchCoachesUpdateCoachStudentVLatest","getCoachesViewCoachStudentVLatest","getCoachesViewStudentCoachVLatest","getCoachesViewSalaryVLatest","getCoachesViewCoachNotesVLatest","postCoachesAddCoachNoteVLatest","getCoachesViewCoachIcalVLatest","getCoachesViewAllCoachesVLatest","postCoachesOpenStudentRequestVLatest","postCoachesCloseStudentRequestVLatest","getCoachesViewCoachViaIdAdvancedPrivateVLatest","getCoachesViewStudentRequestVLatest","getCoachesViewOpenStudentRequestsVLatest","getCoachesViewAllStudentRequestsVLatest","getCoachesViewCoachHoursVLatest","getCoachesViewCoachHoursDownloadVLatest","getCoachesViewCoachOverviewVLatest","getCoachesGenerateCoachContractVLatest","postCoachesSignCoachContractVLatest","getCoachesViewContractsVLatest","getCoachesViewCompleteContractsVLatest","postCoachesRejectContractVLatest","getCoachesVerifyCoachVLatest","postCoachesResetContractVLatest","postCoachesAddIdCardAttachmentVLatest","patchCoachesRemoveIdVLatest","patchCoachesAddGradesAttachmentVLatest","getCoachesViewCoachAccordanceLogsVLatest","getCoachesGetCoachKvkNumberVLatest","patchCoachesEditCoachKvkNumberVLatest","getCoachesGetCoachVatNumberVLatest","patchCoachesEditCoachVatNumberVLatest","getCoachesGetCoachFavoriteLocationsVLatest","patchCoachesEditCoachActiveVLatest","DeclarationsService","getFspGetDeclarations","declarationStatus","getFspGetCoachDeclarations","postFspCreateCoachDeclaration","putFspUploadDeclarationFile","declarationId","putFspUploadDeclarationFileBase64","deleteFspDeleteDeclaration","patchFspReviewDeclaration","reviewStatus","patchFspEditDeclaration","getFspGetDeclarationsVLatest","getFspGetCoachDeclarationsVLatest","postFspCreateCoachDeclarationVLatest","putFspUploadDeclarationFileVLatest","putFspUploadDeclarationFileBase64VLatest","deleteFspDeleteDeclarationVLatest","patchFspReviewDeclarationVLatest","patchFspEditDeclarationVLatest","DefaultService","getRoot","postLoginForAccessToken","getStatusCode","statusCode","DefaultTariffService","getDefaultTariffGetCurrentDefaultTariff","tariffType","getDefaultTariffGetAllDefaultTariffs","getDefaultTariffGetDefaultTariffById","defaultTariffId","patchDefaultTariffEditDefaultTariff","getDefaultTariffGetCurrentDefaultTariffVLatest","getDefaultTariffGetAllDefaultTariffsVLatest","getDefaultTariffGetDefaultTariffByIdVLatest","patchDefaultTariffEditDefaultTariffVLatest","ExternalService","getExternalGetUserDataOnEmail","emailAddress","getExternalGetUserDataOnPhonenumber","getExternalGetUserDataOnEmailVLatest","getExternalGetUserDataOnPhonenumberVLatest","FacturationService","postFspBuildFacturationCsv","week","postFspBuildFacturationCsvMonth","getFspGetCollaborationFacturationCsvStringTask","taskId","postFspBuildFacturationCsvVLatest","postFspBuildFacturationCsvMonthVLatest","getFspGetCollaborationFacturationCsvStringTaskVLatest","FlagsService","getFlagsGetAllFlags","getFlagsViewFlag","flagId","deleteFlagsDeleteFlag","postFlagsCreateFlag","patchFlagsUpdateFlag","getFlagsGetFlag","getFlagsGetAllFlagsVLatest","getFlagsViewFlagVLatest","deleteFlagsDeleteFlagVLatest","postFlagsCreateFlagVLatest","patchFlagsUpdateFlagVLatest","getFlagsGetFlagVLatest","FspService","patchFspEditShiftWorkedHoursAndBreakTime","shiftId","editReason","patchFspRemoveCoachFromShift","postFspAddShiftToAccord","branchId","sectorId","patchFspEditShiftWorkedHoursAndBreakTimeVLatest","patchFspRemoveCoachFromShiftVLatest","postFspAddShiftToAccordVLatest","GuardiansService","postGuardiansCreateGuardian","labelId","postGuardiansChangeGuardianLabel","getGuardiansViewGuardian","getGuardiansViewGuardianNotes","postGuardiansAddGuardianNote","getGuardiansViewStudentNotes","postGuardiansAddStudentNote","postGuardiansAddStudentToGuardian","getGuardiansViewStudent","patchGuardiansEditAvailability","patchGuardiansChangeAvailabilityLocation","getGuardiansViewStudentAdvanced","deleteGuardiansDeleteCoachFromStudent","getGuardiansViewStudentCoaches","getGuardiansViewGuardianIcal","getGuardiansViewStudentSchedule","patchGuardiansChangePipeForStudent","getGuardiansGetPipeLog","patchGuardiansPinStudent","patchGuardiansUnpinStudent","postGuardiansTagStudent","deleteGuardiansUntagStudent","getGuardiansViewAllTags","postGuardiansHideInactive","getGuardiansViewStudentProfile","deleteGuardiansDeleteGuardian","deleteGuardiansDeleteStudent","getGuardiansGetBundles","getGuardiansViewNewClients","getGuardiansGetLessonsAccorded","getGuardiansGetLessonsFromGuardian","accorded","isLegacy","getGuardiansGetLessonsAccordedMonths","postGuardiansCreateGuardianVLatest","postGuardiansEditGuardianVLatest","postGuardiansChangeGuardianLabelVLatest","getGuardiansViewGuardianVLatest","getGuardiansViewGuardianSimpleVLatest","getGuardiansViewGuardianNotesVLatest","postGuardiansAddGuardianNoteVLatest","postGuardiansAddStudentLocationVLatest","getGuardiansViewStudentNotesVLatest","postGuardiansAddStudentNoteVLatest","postGuardiansAddStudentToGuardianVLatest","patchGuardiansBulkAddDisciplinesToStudentVLatest","patchGuardiansBulkRemoveDisciplinesFromStudentVLatest","patchGuardiansEditStudentVLatest","getGuardiansViewStudentVLatest","patchGuardiansEditAvailabilityVLatest","patchGuardiansChangeAvailabilityLocationVLatest","deleteGuardiansDeleteAvailabilityVLatest","getGuardiansViewStudentAdvancedVLatest","deleteGuardiansDeleteCoachFromStudentVLatest","getGuardiansViewStudentCoachesVLatest","getGuardiansViewGuardianCoachesVLatest","getGuardiansViewGuardianIcalVLatest","getGuardiansViewStudentScheduleVLatest","postGuardiansAddAvailabilityToStudentVLatest","patchGuardiansEditUserLocationVLatest","deleteGuardiansDeleteUserLocationVLatest","patchGuardiansChangePipeForStudentVLatest","getGuardiansGetPipeLogVLatest","patchGuardiansPinStudentVLatest","patchGuardiansUnpinStudentVLatest","postGuardiansTagStudentVLatest","deleteGuardiansUntagStudentVLatest","getGuardiansViewAllTagsVLatest","postGuardiansHideInactiveVLatest","getGuardiansViewPrivateGuardianVLatest","getGuardiansViewStudentProfileVLatest","deleteGuardiansDeleteGuardianVLatest","deleteGuardiansDeleteStudentVLatest","postGuardiansSelectBundleVLatest","getGuardiansGetBundlesVLatest","getGuardiansViewNewClientsVLatest","getGuardiansGetLessonsAccordedVLatest","getGuardiansGetLessonsFromGuardianVLatest","getGuardiansGetLessonsAccordedMonthsVLatest","LabelsService","getLabelsViewLabel","patchLabelsEditLabel","deleteLabelsDeleteLabel","getLabelsViewAllLabels","postLabelsCreateLabel","patchLabelsAttachLogo","getLabelsViewLabelVLatest","patchLabelsEditLabelVLatest","deleteLabelsDeleteLabelVLatest","getLabelsViewAllLabelsVLatest","postLabelsCreateLabelVLatest","patchLabelsAttachLogoVLatest","LessonsService","postLessonsNewLessonRequest","getLessonsViewLastLessonRequest","getLessonsViewAllLessonRequest","postLessonsScheduleLesson","postLessonsScheduleLessonAdvanced","accordate","patchLessonsCancelLesson","cancelCode","getLessonsViewLesson","getLessonsViewLessonAdvanced","patchLessonsEditLesson","patchLessonsAdvancedEditLesson","patchLessonsDisputeLesson","patchLessonsResolveDisputeLesson","getLessonsViewDisputedLessons","getLessonsOpenLessonRequests","patchLessonsCloseLessonRequest","patchLessonsEditLessonRequest","patchLessonsTransferHoursToBundle","postLessonsNewLessonRequestVLatest","getLessonsViewLastLessonRequestVLatest","getLessonsViewAllLessonRequestVLatest","postLessonsScheduleLessonVLatest","postLessonsScheduleLessonAdvancedVLatest","patchLessonsCancelLessonVLatest","getLessonsViewLessonVLatest","getLessonsViewLessonAdvancedVLatest","patchLessonsEditLessonVLatest","patchLessonsAdvancedEditLessonVLatest","patchLessonsDisputeLessonVLatest","patchLessonsResolveDisputeLessonVLatest","getLessonsViewDisputedLessonsVLatest","getLessonsOpenLessonRequestsVLatest","patchLessonsCloseLessonRequestVLatest","patchLessonsEditLessonRequestVLatest","getLessonsViewDisciplinesVLatest","patchLessonsTransferHoursToBundleVLatest","LogsService","getLogsGetLatestLogs","getLogsGetLatestLogsOfUser","getLogsGetLatestLogsOfTemplate","logTemplateId","getLogsGetLatestLogsVLatest","getLogsGetLatestLogsOfUserVLatest","getLogsGetLatestLogsOfTemplateVLatest","MatcherService","getMatcherMatchStudent","filterCoachLevel","getMatcherFindNearForStudentOld","postMatcherFindNearForStudentNewWithFilters","postMatcherFindNearForCoachRadius","getMatcherFindNearForCoachCount","getMatcherFindLessonRequests","getMatcherMatchStudentVLatest","getMatcherFindNearForStudentOldVLatest","postMatcherFindNearForStudentNewWithFiltersVLatest","postMatcherFindNearForCoachRadiusVLatest","getMatcherFindNearForCoachCountVLatest","getMatcherFindLessonRequestsVLatest","NotesService","patchNotesEditNote","noteId","patchNotesAddAttachment","deleteNotesRemoveAttachment","deleteNotesRemoveNote","patchNotesRestoreNote","patchNotesPinNote","patchNotesUnpinNote","patchNotesEditNoteVLatest","patchNotesAddAttachmentVLatest","deleteNotesRemoveAttachmentVLatest","deleteNotesRemoveNoteVLatest","patchNotesRestoreNoteVLatest","patchNotesPinNoteVLatest","patchNotesUnpinNoteVLatest","OrdersService","getOrdersGetOrder","orderId","getOrdersGetOrderItems","getOrdersGetOrdersForUser","getOrdersGetOrdersCountForUser","postOrdersCreateOrder","customerUserId","patchOrdersCancelOrder","postOrdersMollieWebhook","getOrdersGetFinanceOrders","processedByAdmin","lessonsOnly","searchName","postOrdersProcessOrders","postOrdersCreateCustomOrder","postOrdersLessonsToOrder","getOrdersGetLessonsToOrder","postOrdersImportLegacyBundles","guardianIdColumnName","remainingHoursColumnName","endDateColumnName","getOrdersGetGuardianFromOrder","getOrdersPaymentRedirectFromUuid","uuid","getOrdersGetOrderVLatest","getOrdersGetOrderItemsVLatest","getOrdersGetOrdersForUserVLatest","getOrdersGetOrdersCountForUserVLatest","postOrdersCreateOrderVLatest","patchOrdersCancelOrderVLatest","postOrdersMollieWebhookVLatest","getOrdersGetFinanceOrdersVLatest","postOrdersProcessOrdersVLatest","postOrdersCreateCustomOrderVLatest","postOrdersLessonsToOrderVLatest","getOrdersGetLessonsToOrderVLatest","postOrdersImportLegacyBundlesVLatest","getOrdersGetGuardianFromOrderVLatest","getOrdersPaymentRedirectFromUuidVLatest","PipesService","getPipesViewCoachStages","getPipesViewGuardianStages","getPipesViewStubStages","getPipesViewPipe","postPipesViewCoaches","postPipesViewStudents","postPipesViewStubs","patchPipesEditPipe","postPipesCreatePipe","stageId","postPipesCreateStage","patchPipesEditStage","patchPipesChangePipe","newPipeId","getPipesViewCoachStagesVLatest","getPipesViewGuardianStagesVLatest","getPipesViewStubStagesVLatest","getPipesViewPipeVLatest","postPipesViewCoachesVLatest","postPipesViewStudentsVLatest","postPipesViewStubsVLatest","patchPipesEditPipeVLatest","postPipesCreatePipeVLatest","postPipesCreateStageVLatest","patchPipesEditStageVLatest","patchPipesChangePipeVLatest","ProductsService","getProductsGetProduct","productId","patchProductsUpdateProduct","getProductsGetProducts","getProductsGetProductsAdvanced","postProductsCreateProduct","patchProductsAddImageToProduct","getProductsGetProductVLatest","patchProductsUpdateProductVLatest","getProductsGetProductsVLatest","getProductsGetPublicProductsVLatest","getProductsGetProductsAdvancedVLatest","postProductsCreateProductVLatest","patchProductsAddImageToProductVLatest","PushNotificationsService","postPushNotificationsRegisterPushNotificationToken","app","getPushNotificationsGetPushNotificationTokens","deletePushNotificationsDeletePushNotificationTokenById","pushNotificationTokenId","deletePushNotificationsDeletePushNotificationTokenByToken","pushNotificationTokenString","postPushNotificationsRegisterPushNotificationTokenVLatest","getPushNotificationsGetPushNotificationTokensVLatest","deletePushNotificationsDeletePushNotificationTokenByIdVLatest","deletePushNotificationsDeletePushNotificationTokenByTokenVLatest","SearchService","getSearchSearchInactiveStudents","getSearchSearchInactiveStudentsCount","getSearchSearchCoaches","fieldName","getSearchSearchGuardians","getSearchSearchGuardiansByName","getSearchSearchGuardiansByEmail","getSearchSearchCoachesByName","getSearchSearchCoachesByEmail","postSearchStudentSearchByDisciplines","postSearchStudentSearchByName","postSearchCoachSearchByDisciplines","postSearchUserSearchByName","postSearchUserSearchByEmail","postSearchCoachSearchByProvincesAndTags","postSearchCoachSearchByProvincesAndTagsDownload","getSearchSearchStubs","getSearchSearch","objectType","postSearchGetSuggestedCoachesForJob","jobId","postSearchGetSuggestedCoachesForParams","getSearchSearchInactiveStudentsVLatest","getSearchSearchInactiveStudentsCountVLatest","getSearchSearchCoachesVLatest","getSearchSearchGuardiansVLatest","getSearchSearchGuardiansByNameVLatest","getSearchSearchGuardiansByEmailVLatest","getSearchSearchCoachesByNameVLatest","getSearchSearchCoachesByEmailVLatest","postSearchStudentSearchByDisciplinesVLatest","postSearchStudentSearchByNameVLatest","postSearchCoachSearchByDisciplinesVLatest","postSearchUserSearchByNameVLatest","postSearchUserSearchByEmailVLatest","postSearchCoachSearchByProvincesAndTagsVLatest","postSearchCoachSearchByProvincesAndTagsDownloadVLatest","getSearchSearchStubsVLatest","getSearchSearchVLatest","postSearchGetSuggestedCoachesForJobVLatest","postSearchGetSuggestedCoachesForParamsVLatest","SeleniumService","postSeleniumImportJobsOpen","postSeleniumScheduleShiftConfirmation","postSeleniumImportCostCodesJson","postSeleniumImportJobsOpenVLatest","postSeleniumScheduleShiftConfirmationVLatest","postSeleniumImportCostCodesJsonVLatest","ShiftsService","SPCoachesService","postSPCoachesAddCalendarEntryToCoach","postSPCoachesViewCalendarEntryConflictsWhenAdding","getSPCoachesGetCalendarEntriesFromCoach","postSPCoachesSearchCalendarEntries","patchSPCoachesChangeCalendarEntryLocation","calendarEntryId","patchSPCoachesChangeCalendarEntry","deleteSPCoachesDeleteCalendarEntry","postSPCoachesAddCompetenceToCoach","competenceId","deleteSPCoachesRemoveCompetenceFromCoach","postSPCoachesAddFavouriteBranchToCoach","deleteSPCoachesRemoveFavouriteBranchFromCoach","patchSPCoachesAddCompetenceToCoachBulk","deleteSPCoachesRemoveCompetenceFromCoachBulk","getSPCoachesGetCoachSp","getSPCoachesGetShiftsByCoach","getSPCoachesGetReservedShiftsByCoach","postSPCoachesGetLocationOfSearchQueryInMapView","postSPCoachesGetCoachesInMapView","postSpAddCalendarEntryToCoachVLatest","postSpViewCalendarEntryConflictsWhenAddingVLatest","getSpGetCalendarEntriesFromCoachVLatest","postSpSearchCalendarEntriesVLatest","patchSpChangeCalendarEntryLocationVLatest","patchSpChangeCalendarEntryVLatest","deleteSpDeleteCalendarEntryVLatest","postSpAddCompetenceToCoachVLatest","deleteSpRemoveCompetenceFromCoachVLatest","postSpAddFavouriteBranchToCoachVLatest","deleteSpRemoveFavouriteBranchFromCoachVLatest","patchSpAddCompetenceToCoachBulkVLatest","deleteSpRemoveCompetenceFromCoachBulkVLatest","getSpGetCoachSpVLatest","getSpGetShiftsByCoachVLatest","getSpGetReservedShiftsByCoachVLatest","postSpGetLocationOfSearchQueryInMapViewVLatest","postSpGetCoachesInMapViewVLatest","SPCompetencesService","getSPCompetencesGetAllCompetences","getSPCompetencesGetAllGeneralCompetences","getSPCompetencesGetAllCompetencesBySector","getSPCompetencesGetAllCompetencesByCoach","getSPCompetencesGetCompetences","patchSPCompetencesEditCompetence","deleteSPCompetencesDeleteCompetence","postSPCompetencesCreateCompetence","patchSPCompetencesEditCompetenceSector","getSpGetAllCompetencesVLatest","getSpGetAllGeneralCompetencesVLatest","getSpGetAllCompetencesBySectorVLatest","getSpGetAllCompetencesByCoachVLatest","getSpGetCompetencesVLatest","patchSpEditCompetenceVLatest","deleteSpDeleteCompetenceVLatest","postSpCreateCompetenceVLatest","patchSpEditCompetenceSectorVLatest","SPJobsService","getSPJobsGetJobs","getSPJobsGetJobsByProvider","providerId","getSPJobsGetJobsByBranch","getSPJobsGetBranchAvailableJobs","postSPJobsGetJobsSearch","orderBy","orderAscending","dateStart","dateEnd","postSPJobsGetJobsSearchCount","postSPJobsGetJobsSearchDownloadInCsv","getSPJobsGetJobById","patchSPJobsEditJob","deleteSPJobsDeleteJob","getSPJobsGetJobByIdPrivate","getSPJobsGetJobByIdDetailed","postSPJobsCreateNewJob","postSPJobsImportJobs","commit","patchSPJobsEditJobBranch","patchSPJobsEditJobCoach","patchSPJobsSplitJob","patchSPJobsEditJobLocation","patchSPJobsEditJobSector","patchSPJobsCloseJob","ignoreJobMatches","getSPJobsGetJobShifts","getSPJobsGetShift","patchSPJobsEditShift","deleteSPJobsDeleteShift","getSPJobsGetShiftDetailed","postSPJobsCreateNewShift","patchSPJobsEditShiftJob","getSPJobsGetJobMatches","postSPJobsRequestJobForJobMatch","getSPJobsGetJobMatch","jobMatchId","patchSPJobsCancelPlannedJobMatch","getSPJobsGetJobMatchDetailed","postSPJobsCreateNewJobMatch","postSPJobsNotifyCoachAboutJobMatch","sendNotification","anonymous","jobMatchCoachToken","patchSPJobsReplyToJobMatchIdCoach","postSPJobsNotifyBranchAboutJobMatches","jobBranchToken","patchSPJobsCloseJobByUuidBranch","patchSPJobsScheduleJobMatch","skipBranchAwaiting","autoCloseOverlapping","postSPJobsGetJobMatches","requestedByCoach","postSPJobsAddCompetenceToJob","deleteSPJobsRemoveCompetenceFromJob","patchSPJobsAddCompetenceToJobBulk","deleteSPJobsRemoveCompetenceFromJobBulk","getSPJobsGetAvailableJobs","filterStartDate","filterEndDate","radius","getSPJobsGetFirstUpcomingJob","getSPJobsGetProcessedJobs","getSPJobsGetProcessedJobsCount","getSpGetJobsVLatest","getSpGetJobsByProviderVLatest","getSpGetJobsByBranchVLatest","getSpGetBranchAvailableJobsVLatest","postSpGetJobsSearchVLatest","postSpGetJobsSearchCountVLatest","postSpGetJobsSearchDownloadInCsvVLatest","getSpGetJobByIdVLatest","patchSpEditJobVLatest","deleteSpDeleteJobVLatest","getSpGetJobByIdPrivateVLatest","getSpGetJobByIdDetailedVLatest","postSpCreateNewJobVLatest","postSpImportJobsVLatest","patchSpEditJobBranchVLatest","patchSpEditJobCoachVLatest","patchSpSplitJobVLatest","patchSpEditJobLocationVLatest","patchSpEditJobSectorVLatest","patchSpCloseJobVLatest","getSpGetJobShiftsVLatest","getSpGetShiftVLatest","patchSpEditShiftVLatest","deleteSpDeleteShiftVLatest","getSpGetShiftDetailedVLatest","postSpCreateNewShiftVLatest","patchSpEditShiftJobVLatest","getSpGetJobMatchesVLatest","postSpRequestJobForJobMatchVLatest","getSpGetJobMatchVLatest","patchSpCancelPlannedJobMatchVLatest","getSpGetJobMatchDetailedVLatest","postSpCreateNewJobMatchVLatest","postSpNotifyCoachAboutJobMatchVLatest","patchSpReplyToJobMatchUuidCoachVLatest","patchSpReplyToJobMatchIdCoachVLatest","getSpGetInfoByUuidCoachVLatest","postSpNotifyBranchAboutJobMatchesVLatest","patchSpReplyToJobMatchUuidBranchVLatest","patchSpCloseJobByUuidBranchVLatest","getSpGetInfoByUuidBranchVLatest","patchSpScheduleJobMatchVLatest","postSpGetJobMatchesVLatest","postSpAddCompetenceToJobVLatest","deleteSpRemoveCompetenceFromJobVLatest","patchSpAddCompetenceToJobBulkVLatest","deleteSpRemoveCompetenceFromJobBulkVLatest","getSpGetAvailableJobsVLatest","getSpGetFirstUpcomingJobVLatest","getSpGetProcessedJobsVLatest","getSpGetProcessedJobsCountVLatest","SPProvidersService","getSPProvidersGetProviders","nameSearch","showInactive","getSPProvidersGetProvider","patchSPProvidersEditProvider","deleteSPProvidersDeleteProvider","getSPProvidersGetProviderActiveOrInactive","getSPProvidersGetProviderDetailed","getSPProvidersGetBranchesFromProvider","branchName","postSPProvidersCreateProvider","patchSPProvidersAddProviderPicture","getSPProvidersGetProviderBranches","getSPProvidersGetBranches","lat","lon","distance","allowIncomplete","getSPProvidersGetBranch","patchSPProvidersEditBranch","deleteSPProvidersDeleteBranch","getSPProvidersGetBranchDetailed","postSPProvidersCreateBranch","delayLocation","patchSPProvidersChangeBranchProvider","patchSPProvidersChangeBranchLocation","getSPProvidersGetAllIncompleteBranches","patchSPProvidersMakeBranchComplete","patchSPProvidersAddDepartmentToBranch","newDepartmentName","newDepartmentCostCode","getSPProvidersGetWorkedBranches","getSpGetProvidersVLatest","getSpGetProviderVLatest","patchSpEditProviderVLatest","deleteSpDeleteProviderVLatest","getSpGetProviderActiveOrInactiveVLatest","getSpGetProviderDetailedVLatest","getSpGetBranchesFromProviderVLatest","postSpCreateProviderVLatest","patchSpAddProviderPictureVLatest","getSpGetProviderBranchesVLatest","getSpGetBranchesVLatest","getSpGetBranchVLatest","patchSpEditBranchVLatest","deleteSpDeleteBranchVLatest","getSpGetBranchDetailedVLatest","postSpCreateBranchVLatest","patchSpChangeBranchProviderVLatest","patchSpChangeBranchLocationVLatest","getSpGetAllIncompleteBranchesVLatest","patchSpMakeBranchCompleteVLatest","patchSpAddDepartmentToBranchVLatest","getSpGetWorkedBranchesVLatest","SPSectorsService","getSPSectorsGetAllSectors","includeInactive","getSPSectorsGetSector","patchSPSectorsEditSector","deleteSPSectorsDeleteSector","getSPSectorsGetSectorDetailed","postSPSectorsCreateSector","patchSPSectorsEditSectorSector","getSpGetAllSectorsVLatest","getSpGetSectorVLatest","patchSpEditSectorVLatest","deleteSpDeleteSectorVLatest","getSpGetSectorDetailedVLatest","postSpCreateSectorVLatest","patchSpEditSectorSectorVLatest","StubsService","postStubsCreateCoachStub","postStubsCreateGuardianStub","stubSecretKey","postStubsDeleteStub","postStubsChangePipe","postStubsTagStub","deleteStubsUntagStub","dictKey","getStubsReadStubAdvanced","getStubsReadStubByIdAdvanced","stubId","getStubsViewContracts","getStubsViewCompleteContracts","getStubsViewAllTags","getStubsViewStubNotes","postStubsAddStubNote","getStubsGetPipeLog","postStubsIncompleteTransfer","secretKey","postStubsCreateStubVLatest","postStubsCreateCoachStubVLatest","postStubsCreateGuardianStubVLatest","postStubsUpdateStubVLatest","postStubsDeleteStubVLatest","postStubsChangePipeVLatest","postStubsChangePipeSimpleVLatest","postStubsTagStubVLatest","deleteStubsUntagStubVLatest","postStubsAddAttachementVLatest","getStubsReadStubVLatest","getStubsReadStubAdvancedVLatest","getStubsReadStubByIdAdvancedVLatest","getStubsGetStubContractVLatest","postStubsAddSignatureVLatest","getStubsViewContractsVLatest","getStubsViewCompleteContractsVLatest","patchStubsTransferStubVLatest","getStubsViewAllTagsVLatest","getStubsViewStubNotesVLatest","postStubsAddStubNoteVLatest","getStubsGetPipeLogVLatest","postStubsIncompleteTransferVLatest","getStubsGetSecretKeyTypeVLatest","SupportService","getSupportLoginViaToken","getSupportLoginViaTokenVLatest","TagsService","getTagsViewTag","patchTagsEditTag","deleteTagsDeleteTag","postTagsCreateTag","getTagsViewTagVLatest","patchTagsEditTagVLatest","deleteTagsDeleteTagVLatest","postTagsCreateTagVLatest","TasksService","getTasksViewTask","getTasksViewTaskVLatest","WebhooksService","getWebhooksReturnChallengeFromFacebook","hubVerifyToken","hubChallenge","postWebhooksGetDataFromFacebookLeadgenWebhook","getWebhooksGetLongLivedUserToken","shortLivedUserToken","getWebhooksGetLongLivedPageToken","longLivedUserToken","postWebhooksRegisterFacebookWebhook","getWebhooksGetSubscribedApps","getWebhooksReturnChallengeFromFacebookVLatest","postWebhooksGetDataFromFacebookLeadgenWebhookVLatest","getWebhooksGetLongLivedUserTokenVLatest","getWebhooksGetLongLivedPageTokenVLatest","postWebhooksRegisterFacebookWebhookVLatest","getWebhooksGetSubscribedAppsVLatest","_config$BASE","_config$VERSION","_config$WITH_CREDENTI","_config$CREDENTIALS","HttpRequest","accordation","bundles","declarations","default","defaultTariff","external","facturation","flags","fsp","labels","logs","matcher","notes","orders","pipes","pushNotifications","selenium","spCoaches","spCompetences","spProviders","spSectors","support","tags","tasks","webhooks","CREDENTIALS","AllCoachCancelCodes","CalendarEntryStatusEnum","CurrentStudyLevelCoachEnum","DisputeCategory","EnumBundleStatus","EnumDeclarationReviewStatus","EnumOrderType","EnumPaymentStatus","GenderEnum","JobImportType","JobMatchStatusEnum","JobStatusEnum","NoteTypeEnum","OrderByJobsEnum","OrderByProvidersEnum","ProductType","Provinces","SalaryTypeEnum","schemas__disciplines__SchoolLevelEnum","TagTypeEnum","TaskStatus","MuiCard","textFieldProps","MuiTextField","formLabelProps","formHelperTextProps","textfieldProps","FormLabel","LoadingButton","Select","MuiSelect","MenuItemSelect","dense","MuiDatePicker","Cell","BorderedCell","CheckBoxRound","icon","Lens","checkedIcon","CheckCircleRounded","_props$user_locations","_props$user_locations2","_props$user_locations3","_props$user_locations4","_props$user_locations5","_props$user_locations6","_props$user_locations7","setCurrentWidth","locations","setLocations","anchorEl","setAnchorEl","isSaving","setIsSaving","days","handleCheckboxChange","dayPart","toDelete","avObject","handleClick","offsetWidth","av","tempAvailabilties","filterAvailabilties","_availability$index$l","textOverflow","ArrowDropDown","_availability$index$l2","_e","_ref7","_ref8","_ref9","_ref10","_ref11","_ref12","Popover","transformOrigin","handleLocationChange","borderTopRightRadius","index_dayPart","borderBottomRightRadius","times","handleClickAvailability","checkAvailability","time","AvailabilityGridHeader","whiteSpace","AvailabilityGridRaster","newAvailabilityData","f","inputType","buttonProps","InputLabel","onSucces","keyMap","cityName","filterByValue","array","navigator","geolocation","getCurrentPosition","coords","latitude","lng","longitude","settings","crossDomain","handleResponse","features","place_name","xhr","handleStateChange","alert","responseType","initialize","readOnly","onEdit","onSave","validAdressError","isNew","selectedLocation","setSelectedLocation","oldData","setOldData","findMyLocation","MyLocation","Place","ListItemButton","submitEvent","setValidAdressError","handleSave","checkZipcode","requestOptions","Authorization","List","LocationItem","otherIndex","handleDeletion","handleEdit","old","handleCancel","created_at","toISOString","updated_at","Add","setSchoolLevelParent","selectProps","schoolLevels","schoolLevelOptions","setSchoolLevelOptions","schoolLevel","setSchoolLevel","levels","CustomModalContext","useCustomModal","setTitle","subHeader","setSubHeader","setContent","actions","setActions","handleOpen","Backdrop","disableSpacing","AD","AE","AT","AZ","BA","BE","BG","BH","BR","CH","CR","CY","CZ","DE","DK","DO","EE","ES","FI","FO","FR","GB","GI","GL","GR","GT","HR","HU","IE","IL","IS","IT","JO","KW","KZ","LB","LI","LT","LU","LV","MC","MD","ME","MK","MR","MT","MU","NL","NO","PK","PL","PS","PT","QA","RO","RS","SA","SE","SI","SK","SM","TN","TR","AL","BY","EG","GE","IQ","LC","SC","ST","SV","TL","UA","VA","VG","XK","fragment","checksum","mod97","letter","validEmail","mail","dataURI","byteString","atob","mimeString","ab","ArrayBuffer","ia","Uint8Array","Blob","shortenString","lowerCaseFirstLetter","reverse","output","useMediaQuery","tempLabel","domain","LabelContext","LabelSource","setLabels","setCurrentLabel","useContext","NavContex","useNavContext","ProductStoreContex","setProducsts","useProductStoreContex","UserContext","setUser","UserSource","setIsLoadingUser","isValidUser","shiftsProvider","setShiftsProvider","login","emailValue","o","iterator","hasXMLHttpRequest","fetchApi","XmlHttpRequestApi","ActiveXObjectApi","ownKeys","getOwnPropertyDescriptor","_defineProperty","getOwnPropertyDescriptors","defineProperties","toPrimitive","_toPrimitive","_toPropertyKey","global","ActiveXObject","fetchNode","addQueryString","queryString","paramName","fetchIt","altFetch","altResponse","omitFetchOptions","payload","queryStringParams","customHeaders","versions","node","platform","arch","reqOptions","alternateFetch","opt","requestWithFetch","setRequestHeader","overrideMimeType","log","requestWithXmlHttpRequest","_defineProperties","Backend","_createClass","services","allOptions","loadPath","parsePayload","namespace","fallbackValue","parseLoadPayload","languages","namespaces","reloadInterval","timer","setInterval","unref","_readAny","language","loadUrlLanguages","loadUrlNamespaces","maybePromise","_this2","isPromise","resolvedLoadPath","interpolator","interpolate","ns","loadUrl","_this3","ret","parseErr","_this4","finished","dataArray","resArray","_this5","_this$services","backendConnector","languageUtils","currentLanguage","toLoad","toResolveHierarchy","l","preload","read","loaded","voidElement","attrs","startsWith","lastIndex","create","u","g","_len","_key","alreadyWarned","warnOnce","_len2","_key2","matchHtmlEntity","htmlEntities","unescapeHtmlEntity","i18nInstance","bindI18n","bindI18nStore","transEmptyNodeValue","transSupportBasicHtmlNodes","transWrapTextNodes","transKeepBasicHtmlNodesFor","useSuspense","unescape","getI18n","hasChildren","checkLength","base","getChildren","i18nIsDynamicList","getAsArray","nodesToString","i18nOptions","stringNode","childrenArray","keepArray","child","childIndex","isValidElement","childPropsCount","shouldKeepChild","childChildren","clone","renderNodes","targetString","i18n","combinedTOpts","shouldUnescape","emptyChildrenButNeedsHandling","keep","childs","assign","ast","HTML","opts","renderInner","rootReactNode","mappedChildren","mapAST","every","hasValidReactChildren","pushTranslatedJSX","inner","mem","isVoid","dummy","cloneElement","Children","reactNode","astNode","reactNodes","translationContent","tmp","newTarget","mergeProps","isElement","isValidTranslationWithChildren","isEmptyTransWithHTML","isKnownComponent","parseFloat","wrapTextNodes","Trans","count","parent","tOptions","defaults","i18nFromProps","tFromProps","additionalProps","reactI18nextOptions","react","defaultNS","nodeAsString","hashTransKey","interpolation","defaultVariables","interpolationOverride","prefix","suffix","translation","comp","useAsParent","defaultTransParent","initReactI18next","instance","setDefaults","setI18n","I18nContext","createContext","i18nFromContext","defaultNSFromContext","TransWithoutContext","resources","nl_NL","en_UK","fallbackLng","debug","keySeparator","escapeValue","compatibilityJSON","empty","require","vacation","relaxing","getPaid","confirmCalendar","white","lightGrey","darkGrey","red","blue","A400","paper","CollectionPaymentCard","NavProvider","setName","setIBAN","nameOf","setNameOf","setTerms","productStore","loadingIBAN","setLoadingIBAN","guardianData","ibanData","fetchGuardianData","borderTop","max_terms","buildTerms","handlePaymentEvent","OrderItem","product_id","orderData","order_type","INVOICE","collection_terms","InvoicePaymentHeader","handleBack","ChevronLeft","CollectionPaymentHeader","InvoicePaymentCard","setMail","house","setHouse","zipCode","setZipcode","setCity","order","errorPayment","justifyItems","retryIdealPayment","payment_details","details","links","checkout","PaymentSuccesCard","check","latestOrder","setLatestOrder","diff","payment_status","EXPIRED_OR_FAILED","PaymentFailedCard","OPEN","PAID","StyleSheet","_insertTag","tag","before","insertionPoint","nextSibling","prepend","firstChild","insertBefore","isSpeedy","speedy","ctr","nonce","_proto","hydrate","nodes","insert","rule","setAttribute","createTextNode","createStyleElement","sheet","styleSheets","ownerNode","sheetForTag","insertRule","cssRules","flush","_tag$parentNode","parentNode","removeChild","fromCharCode","replacement","indexof","charat","begin","strlen","sizeof","line","characters","return","prev","next","peek","caret","alloc","dealloc","delimit","delimiter","whitespace","escaping","commenter","identifier","MS","MOZ","WEBKIT","COMMENT","RULESET","DECLARATION","KEYFRAMES","serialize","compile","rules","rulesets","pseudo","points","atrule","property","variable","scanning","ampersand","reference","declaration","ruleset","post","identifierWithPointTracking","getRules","parsed","toRules","fixedElements","WeakMap","compat","isImplicitRule","set","parentRules","removeLabel","hash","defaultStylisPlugins","combine","createCache","ssrStyles","querySelectorAll","getAttribute","head","_insert","stylisPlugins","inserted","nodesToHydrate","attrib","currentSheet","finalizingPlugins","serializer","collection","middleware","selector","serialized","shouldCache","registered","memoize","arg","EmotionCacheContext","HTMLElement","CacheProvider","withEmotionCache","forwardRef","ThemeContext","Global","serializeStyles","sheetRef","useInsertionEffectWithLayoutFallback","rehydrating","querySelector","sheetRefCurrent","insertStyles","nextElementSibling","css","keyframes","insertable","anim","unitlessKeys","animationIterationCount","aspectRatio","borderImageOutset","borderImageSlice","borderImageWidth","boxFlex","boxFlexGroup","boxOrdinalGroup","columnCount","columns","flex","flexGrow","flexPositive","flexNegative","flexOrder","gridRow","gridRowEnd","gridRowSpan","gridRowStart","gridColumn","gridColumnEnd","gridColumnSpan","gridColumnStart","msGridRow","msGridRowSpan","msGridColumn","msGridColumnSpan","orphans","tabSize","widows","zoom","WebkitLineClamp","fillOpacity","floodOpacity","stopOpacity","strokeDasharray","strokeDashoffset","strokeMiterlimit","strokeOpacity","strokeWidth","isDevelopment","hyphenateRegex","animationRegex","isCustomProperty","isProcessableValue","processStyleName","styleName","processStyleValue","p1","p2","unitless","noComponentSelectorMessage","handleInterpolation","mergedProps","componentSelector","__emotion_styles","serializedStyles","asString","interpolated","_i","createStringFromObject","previousCursor","cached","labelPattern","stringMode","strings","raw","identifierName","hashString","useInsertionEffect","useInsertionEffectAlwaysWithSyncFallback","getRegisteredStyles","registeredStyles","classNames","rawClassName","registerStyles","isStringTag","excludeKeys","setRef","useForkRef","refs","elementType","isHostComponent","parameters","getSlotProps","externalSlotProps","externalForwardedProps","joinedClasses","mergedStyle","internalRef","eventHandlers","extractEventHandlers","componentsPropsWithoutEventHandlers","omitEventHandlers","otherPropsWithoutEventHandlers","internalSlotProps","componentProps","slotState","skipResolvingSlotProps","resolvedComponentsProps","resolveComponentProps","mergeSlotProps","appendOwnerState","_interopRequireDefault","exports","_createSvgIcon","_jsxRuntime","jsx","_utils","getLoadingButtonUtilityClass","LoadingButtonRoot","shouldForwardProp","rootShouldForwardProp","startIconLoadingStart","loadingButtonClasses","endIconLoadingEnd","transition","transitions","duration","short","loadingPosition","LoadingButtonLoadingIndicator","loadingIndicator","visibility","vars","contextProps","ButtonGroupContext","resolvedProps","resolveProps","idProp","loadingIndicatorProp","useId","composedClasses","loadingButtonLoadingIndicator","getTimelineUtilityClass","TimelineRoot","convertTimelinePositionToClass","useThemeProps","contextValue","TimelineContext","getTimelineConnectorUtilityClass","TimelineConnectorRoot","TimelineContentRoot","positionContext","getTimelineContentUtilityClass","getTimelineDotUtilityClass","TimelineDotRoot","alignSelf","shadows","getTimelineItemUtilityClass","TimelineItemRoot","listStyle","timelineContentClasses","timelineOppositeContentClasses","hasOppositeContent","positionProp","isMuiElement","getTimelineSeparatorUtilityClass","TimelineSeparatorRoot","getAlertUtilityClass","AlertRoot","getColor","darken","lighten","getBackgroundColor","variants","colorSeverity","alertClasses","fontWeightMedium","getContrastText","AlertIcon","AlertMessage","overflow","AlertAction","defaultIconMapping","success","SuccessOutlinedIcon","warning","ReportProblemOutlinedIcon","ErrorOutlineIcon","InfoOutlinedIcon","closeText","componentsProps","iconMapping","role","closeButton","CloseButton","closeIcon","CloseButtonSlot","closeButtonProps","useSlot","CloseIconSlot","closeIconProps","getAppBarUtilityClass","joinVars","var1","var2","AppBarRoot","backgroundColorDefault","boxSizing","appBar","enableColorOnDark","defaultBg","darkBg","darkColor","AvatarRoot","colorDefault","pxToRem","userSelect","shape","applyStyles","AvatarImg","textIndent","AvatarFallback","childrenProp","imgProps","sizes","srcSet","crossOrigin","referrerPolicy","setLoaded","active","Image","onload","onerror","srcset","useLoaded","hasImg","hasImgNotFailing","getAvatarUtilityClass","ImgSlot","imgSlotProps","as","getBackdropUtilityClass","BackdropRoot","invisible","WebkitTapHighlightColor","_slotProps$root","_slots$root","TransitionComponent","Fade","transitionDuration","rootSlotProps","Root","defaultTheme","createBox","themeId","THEME_ID","defaultClassName","boxClasses","generateClassName","ClassNameGenerator","generate","getButtonUtilityClass","commonIconStyles","ButtonRoot","ButtonBase","colorInherit","disableElevation","_theme$palette$getCon","_theme$palette","inheritContainedBackgroundColor","inheritContainedHoverBackgroundColor","A100","primaryChannel","hoverOpacity","alpha","mainChannel","inheritContainedHoverBg","buttonClasses","focusVisible","disabledBackground","inheritContainedBg","ButtonStartIcon","ButtonEndIcon","buttonGroupButtonContextPositionClassName","ButtonGroupButtonContext","disableFocusRipple","endIconProp","focusVisibleClassName","startIconProp","positionClassName","focusRipple","pulsate","rippleX","rippleY","rippleSize","inProp","onExited","leaving","setLeaving","rippleClassName","ripple","rippleVisible","ripplePulsate","rippleStyles","childClassName","childLeaving","childPulsate","timeoutId","_t","_t2","_t3","_t4","enterKeyframe","exitKeyframe","pulsateKeyframe","TouchRippleRoot","pointerEvents","TouchRippleRipple","Ripple","touchRippleClasses","easing","easeInOut","shorter","center","centerProp","ripples","setRipples","nextKey","rippleCallback","ignoringMouseDown","startTimer","useTimeout","startTimerCommit","startCommit","cb","oldRipples","fakeElement","rect","getBoundingClientRect","clientX","clientY","touches","sqrt","sizeX","clientWidth","sizeY","clientHeight","stop","TransitionGroup","exit","getButtonBaseUtilityClass","ButtonBaseRoot","outline","verticalAlign","MozAppearance","WebkitAppearance","buttonBaseClasses","colorAdjust","centerRipple","disableRipple","disableTouchRipple","LinkComponent","onContextMenu","onDragLeave","onFocusVisible","onKeyDown","onKeyUp","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","tabIndex","TouchRippleProps","touchRippleRef","buttonRef","rippleRef","handleRippleRef","isFocusVisibleRef","handleFocusVisible","handleBlurVisible","focusVisibleRef","useIsFocusVisible","setFocusVisible","focus","mountedState","setMountedState","enableTouchRipple","useRippleHandler","rippleAction","eventCallback","skipRippleAction","useEventCallback","handleMouseDown","handleContextMenu","handleDragLeave","handleMouseUp","handleMouseLeave","handleTouchStart","handleTouchEnd","handleTouchMove","handleBlur","handleFocus","isNonNativeButton","tagName","keydownRef","handleKeyDown","handleKeyUp","defaultPrevented","ComponentProp","handleRef","TouchRipple","getCardUtilityClass","CardRoot","raised","getCardActionsUtilityClass","CardActionsRoot","getCardContentUtilityClass","CardContentRoot","getCardHeaderUtilityClass","CardHeaderRoot","cardHeaderClasses","CardHeaderAvatar","CardHeaderAction","CardHeaderContent","disableTypography","subheaderProp","titleProp","CheckboxRoot","SwitchBase","indeterminate","activeChannel","checkboxClasses","defaultCheckedIcon","CheckBoxIcon","defaultIcon","CheckBoxOutlineBlankIcon","defaultIndeterminateIcon","IndeterminateCheckBoxIcon","_icon$props$fontSize","_indeterminateIcon$pr","iconProp","indeterminateIcon","indeterminateIconProp","getCheckboxUtilityClass","getChipUtilityClass","ChipRoot","iconColor","clickable","chipClasses","deleteIcon","deletable","disabledOpacity","Chip","defaultAvatarColor","avatarColorPrimary","avatarColorSecondary","avatarSmall","defaultIconColor","contrastTextChannel","selectedChannel","selectedOpacity","focusOpacity","defaultBorder","hover","iconSmall","deleteIconSmall","ChipLabel","isDeleteKeyboardEvent","keyboardEvent","avatarProp","clickableProp","deleteIconProp","skipFocusWhenDisabled","chipRef","handleDeleteIconClick","stopPropagation","moreProps","CancelIcon","blur","getCircularProgressUtilityClass","SIZE","circularRotateKeyframe","circularDashKeyframe","CircularProgressRoot","CircularProgressSVG","svg","CircularProgressCircle","circle","disableShrink","circleDisableShrink","stroke","thickness","circleStyle","rootStyle","rootProps","circumference","PI","getCollapseUtilityClass","CollapseRoot","entered","collapsedSize","CollapseWrapper","wrapper","CollapseWrapperInner","wrapperInner","addEndListener","collapsedSizeProp","onEnter","onEntered","onEntering","onExit","onExiting","standard","Transition","wrapperRef","autoTransitionDuration","isHorizontal","nodeRef","normalizedTransitionCallback","maybeIsAppearing","getWrapperSize","handleEnter","isAppearing","handleEntering","wrapperSize","transitionTimingFunction","getTransitionProps","duration2","getAutoHeightDuration","handleEntered","handleExit","handleExited","handleExiting","childProps","muiSupportAuto","createContainer","createStyledComponent","fixed","disableGutters","html","enableColorScheme","WebkitFontSmoothing","MozOsxFontSmoothing","WebkitTextSizeAdjust","colorScheme","common","GlobalStyles","_theme$components","colorSchemeStyles","colorSchemes","scheme","_scheme$palette","getColorSchemeSelector","defaultStyles","fontWeightBold","themeOverrides","MuiCssBaseline","styleOverrides","useSystemDefaultProps","DialogBackdrop","overrides","backdrop","DialogRoot","DialogContainer","scroll","DialogPaper","paperFullWidth","fullScreen","paperFullScreen","unit","dialogClasses","paperScrollBody","defaultTransitionDuration","enter","enteringScreen","leavingScreen","ariaDescribedby","ariaLabelledbyProp","BackdropComponent","BackdropProps","disableEscapeKeyDown","onBackdropClick","PaperComponent","PaperProps","TransitionProps","getDialogUtilityClass","backdropClick","ariaLabelledby","dialogContextValue","titleId","closeAfterTransition","appear","DialogContext","getDialogActionsUtilityClass","DialogActionsRoot","getDialogContentUtilityClass","DialogContentRoot","WebkitOverflowScrolling","divider","borderBottom","dialogTitleClasses","DialogTitleRoot","getDialogTitleUtilityClass","DividerRoot","absolute","flexItem","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","borderBottomWidth","dividerChannel","borderRightWidth","borderTopStyle","borderLeftStyle","DividerWrapper","wrapperVertical","getDividerUtilityClass","muiSkipListHighlight","getFabUtilityClass","FabRoot","fab","fabClasses","entering","defaultTimeout","reflow","transitionProps","webkitTransition","FilledInputRoot","InputBaseRoot","inputBaseRootOverridesResolver","underline","_palette","bottomLineColor","hoverBackground","FilledInput","bg","easeOut","hoverBg","filledInputClasses","focused","disabledBg","borderBottomColor","onBackgroundChannel","inputUnderline","borderBottomStyle","startAdornment","hiddenLabel","FilledInputInput","InputBaseInput","inputBaseInputOverridesResolver","WebkitBoxShadow","WebkitTextFillColor","caretColor","_slots$input","componentsPropsProp","inputComponent","getFilledInputUtilityClass","filledInputComponentsProps","deepmerge","RootSlot","InputSlot","Input","InputBase","muiName","inputBaseClasses","getFormControlUtilityClasses","FormControlRoot","visuallyFocused","adornedStart","setAdornedStart","initialAdornedStart","isAdornedStart","filled","setFilled","initialFilled","isFilled","focusedState","setFocused","registerEffect","childContext","onEmpty","onFilled","FormControlContext","formControlState","states","muiFormControl","acc","useFormControl","getFormControlLabelUtilityClasses","FormControlLabelRoot","formControlLabelClasses","labelPlacement","AsteriskComponent","asterisk","_slotProps$typography","disabledProp","labelProp","requiredProp","controlProps","fcs","typographySlotProps","getFormGroupUtilityClass","FormGroupRoot","getFormHelperTextUtilityClasses","_span","FormHelperTextRoot","contained","caption","formHelperTextClasses","FormLabelRoot","colorSecondary","formLabelClasses","getFormLabelUtilityClasses","upperTheme","globalStyles","MuiGlobalStyles","SystemGlobalStyles","getGridUtilityClass","GRID_SIZES","wrap","getOffset","extractZeroValueBreakpointKeys","nonZeroKey","sortedBreakpointKeysByValue","GridRoot","zeroMinWidth","spacingStyles","breakpoint","resolveSpacingStyles","breakpointsStyles","directionValues","resolveBreakpointValues","handleBreakpoints","propValue","gridClasses","rowSpacing","rowSpacingValues","zeroValueBreakpointKeys","_zeroValueBreakpointK","themeSpacing","columnSpacing","columnSpacingValues","_zeroValueBreakpointK2","flexBasis","columnsBreakpointValues","columnValue","more","spacingClasses","resolveSpacingClasses","breakpointsClasses","themeProps","extendSxProp","columnsProp","columnSpacingProp","rowSpacingProp","columnsContext","GridContext","breakpointsValues","otherFiltered","getScale","isWebKit154","userAgent","Grow","autoTimeout","delay","getIconButtonUtilityClass","IconButtonRoot","shortest","iconButtonClasses","InputRoot","formControl","inputClasses","InputInput","getInputUtilityClass","inputComponentsProps","getInputAdornmentUtilityClass","InputAdornmentRoot","disablePointerEvents","inputAdornmentClasses","positionStart","variantProp","getStyleValue","forwardedRef","maxRows","isControlled","inputRef","heightRef","shadowRef","calculateTextareaStyles","computedStyle","ownerWindow","getComputedStyle","outerHeightStyle","overflowing","inputShallow","borderTopWidth","scrollHeight","singleRowHeight","outerHeight","syncHeight","textareaStyles","useEnhancedEffect","handleResize","rAF","debounceHandleResize","debounce","containerWindow","resizeObserver","ResizeObserver","observe","cancelAnimationFrame","disconnect","rootOverridesResolver","adornedEnd","sizeSmall","inputOverridesResolver","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel","InputBaseComponent","inputPlaceholder","placeholderHidden","placeholderVisible","animationName","animationDuration","resize","inputGlobalStyles","_slotProps$input","disableInjectingGlobalStyles","inputPropsProp","inputRefProp","renderSuffix","valueProp","handleInputRefWarning","handleInputRef","checkDirty","InputComponent","TextareaAutosize","getInputBaseUtilityClass","onAnimationStart","_formatMuiErrorMessage","hasValue","SSR","getInputLabelUtilityClasses","InputLabelRoot","disableAnimation","animated","shrinkProp","getLinearProgressUtilityClass","_t5","_t6","indeterminate1Keyframe","indeterminate2Keyframe","bufferKeyframe","getColorShade","LinearProgressRoot","LinearProgressDashed","dashed","LinearProgressBar1","bar","bar1Indeterminate","bar1Determinate","bar1Buffer","LinearProgressBar2","bar2Indeterminate","bar2Buffer","valueBuffer","bar1","bar2","isRtl","useRtl","inlineStyles","getLinkUtilityClass","colorTransformations","textPrimary","textSecondary","transformedColor","transformDeprecatedColors","getPath","channelColor","LinkRoot","getTextDecoration","linkClasses","TypographyClasses","handlerRef","getListUtilityClass","ListRoot","disablePadding","getListItemUtilityClass","getListItemSecondaryActionClassesUtilityClass","ListItemSecondaryActionRoot","ListItemSecondaryAction","_excluded2","ListItemRoot","gutters","hasSecondaryAction","secondaryAction","listItemButtonClasses","listItemClasses","backgroundClip","ListItemContainer","componentProp","ContainerComponent","ContainerProps","ContainerClassName","listItemRef","toArray","ListItemButtonRoot","getListItemButtonUtilityClass","getListItemIconUtilityClass","ListItemTextRoot","listItemTextClasses","inset","primaryProp","primaryTypographyProps","secondaryProp","secondaryTypographyProps","getListItemTextUtilityClass","getMenuUtilityClass","RTL_ORIGIN","LTR_ORIGIN","MenuRoot","MenuPaper","PopoverPaper","MenuMenuList","MenuList","list","_slots$paper","_slotProps$paper","disableAutoFocusItem","MenuListProps","PopoverClasses","autoFocusItem","menuListActionsRef","activeItemIndex","PaperSlot","paperExternalSlotProps","useSlotProps","paperSlotProps","adjustStyleForScrollbar","getMenuItemUtilityClass","MenuItemRoot","menuItemClasses","dividerClasses","listItemIconClasses","tabIndexProp","menuItemRef","nextItem","disableListWrap","previousItem","lastChild","previousElementSibling","textCriteriaMatches","nextFocus","textCriteria","innerText","textContent","repeating","moveFocus","currentFocus","disabledItemsFocusable","traversalFunction","wrappedOnce","nextFocusDisabled","hasAttribute","listRef","textCriteriaRef","previousKeyMatched","lastTime","containerElement","noExplicitWidth","scrollbarSize","getScrollbarSize","ownerDocument","newChildProps","activeElement","criteria","lowerKey","currTime","performance","keepFocusOnCurrent","ariaHidden","removeAttribute","getPaddingRight","ariaHiddenSiblings","mountElement","currentElement","elementsToExclude","blacklist","isNotExcludedElement","isNotForbiddenElement","isForbiddenTagName","isInputHidden","isAriaHiddenForbiddenOnElement","findIndexOf","idx","handleContainer","containerInfo","restoreStyle","disableScrollLock","doc","isOverflowing","el","scrollContainer","DocumentFragment","parentElement","nodeName","restore","setProperty","removeProperty","defaultManager","containers","modals","modal","modalIndex","modalRef","hiddenSiblings","getHiddenSiblings","containerIndex","ariaHiddenState","nextTop","isTopModal","manager","onTransitionEnter","onTransitionExited","rootRef","mountNodeRef","exited","setExited","hasTransition","getHasTransition","ariaHiddenProp","getModal","handleMounted","resolvedContainer","getContainer","handlePortalRef","createHandleKeyDown","otherHandlers","_otherHandlers$onKeyD","which","createHandleBackdropClick","_otherHandlers$onClic","getRootProps","propsEventHandlers","externalEventHandlers","getBackdropProps","createChainedFunction","portalRef","getModalUtilityClass","ModalRoot","ModalBackdrop","_slots$backdrop","_slotProps$backdrop","disableAutoFocus","disableEnforceFocus","disablePortal","disableRestoreFocus","hideBackdrop","keepMounted","propsWithDefaults","useModal","BackdropSlot","backdropSlotProps","backdropProps","Portal","FocusTrap","isEnabled","NotchedOutlineRoot","NotchedOutlineLegend","withLabel","notched","OutlinedInputRoot","outlinedInputClasses","notchedOutline","OutlinedInputInput","OutlinedInput","_React$Fragment","getOutlinedInputUtilityClass","alphaValue","getPaperUtilityClass","PaperRoot","rounded","_theme$vars$overlays","getOverlayAlpha","overlays","getPopoverUtilityClass","_excluded3","getOffsetTop","getOffsetLeft","getTransformOriginValue","resolveAnchorEl","PopoverRoot","PaperBase","anchorPosition","anchorReference","containerProp","marginThreshold","PaperPropsProp","transitionDurationProp","externalPaperSlotProps","paperRef","handlePaperRef","getAnchorOffset","resolvedAnchorEl","anchorRect","nodeType","getTransformOrigin","elemRect","getPositioningStyle","elemTransformOrigin","anchorOffset","heightThreshold","widthThreshold","isPositioned","setIsPositioned","setPositioningStyles","positioning","updatePosition","paperProps","_useSlotProps","rootSlotPropsProp","getWindow","defaultView","Element","isHTMLElement","isShadowRoot","ShadowRoot","getUAString","uaData","userAgentData","brands","brand","isLayoutViewport","includeScale","isFixedStrategy","clientRect","scaleX","scaleY","visualViewport","addVisualOffsets","offsetLeft","getWindowScroll","win","scrollLeft","pageXOffset","pageYOffset","getNodeName","getDocumentElement","getWindowScrollBarX","isScrollParent","_getComputedStyle","getCompositeRect","elementOrVirtualElement","offsetParent","isFixed","isOffsetParentAnElement","offsetParentIsScaled","isElementScaled","offsets","getNodeScroll","clientLeft","clientTop","getLayoutRect","getParentNode","assignedSlot","host","getScrollParent","listScrollParents","_element$ownerDocumen","scrollParent","isBody","updatedList","isTableElement","getTrueOffsetParent","getOffsetParent","isFirefox","currentNode","perspective","contain","willChange","getContainingBlock","auto","basePlacements","viewport","popper","variationPlacements","placement","placements","modifierPhases","modifiers","Map","visited","Set","modifier","requires","requiresIfExists","dep","has","depModifier","pending","strategy","areValidElements","popperGenerator","generatorOptions","_generatorOptions","_generatorOptions$def","defaultModifiers","_generatorOptions$def2","orderedModifiers","modifiersData","elements","attributes","effectCleanupFns","isDestroyed","setOptionsAction","cleanupModifierEffects","scrollParents","contextElement","phase","orderModifiers","existing","mergeByName","_ref$options","effect","cleanupFn","noopFn","forceUpdate","_state$elements","rects","_state$orderedModifie","_state$orderedModifie2","_options","onFirstUpdate","passive","getBasePlacement","getVariation","getMainAxisFromPlacement","computeOffsets","basePlacement","variation","commonX","commonY","mainAxis","unsetSides","mapToStyles","_Object$assign2","popperRect","gpuAcceleration","adaptive","roundOffsets","_offsets$x","_offsets$y","hasX","hasY","sideX","sideY","heightProp","widthProp","_Object$assign","commonStyles","dpr","roundOffsetsByDPR","_options$offset","invertDistance","skidding","distanceAndSkiddingToXY","_data$state$placement","popperOffsets","getOppositePlacement","matched","getOppositeVariationPlacement","contains","rootNode","getRootNode","isSameNode","rectToClientRect","getClientRectFromMixedType","clippingParent","layoutViewport","getViewportRect","getInnerBoundingClientRect","winScroll","scrollWidth","getDocumentRect","getClippingRect","boundary","rootBoundary","mainClippingParents","clippingParents","clipperElement","getClippingParents","firstClippingParent","clippingRect","accRect","mergePaddingObject","paddingObject","expandToHashMap","hashMap","detectOverflow","_options$placement","_options$strategy","_options$boundary","_options$rootBoundary","_options$elementConte","elementContext","_options$altBoundary","altBoundary","_options$padding","altContext","clippingClientRect","referenceClientRect","popperClientRect","elementClientRect","overflowOffsets","offsetData","multiply","axis","within","mathMax","mathMin","_options$mainAxis","checkMainAxis","_options$altAxis","altAxis","checkAltAxis","_options$tether","tether","_options$tetherOffset","tetherOffset","isBasePlacement","referenceRect","tetherOffsetValue","normalizedTetherOffsetValue","offsetModifierState","_offsetModifierState$","mainSide","altSide","additive","minLen","maxLen","arrowElement","arrow","arrowRect","arrowPaddingObject","arrowPaddingMin","arrowPaddingMax","arrowLen","minOffset","maxOffset","arrowOffsetParent","clientOffset","offsetModifierValue","tetherMax","preventedOffset","_offsetModifierState$2","_mainSide","_altSide","_offset","_min","_max","isOriginSide","_offsetModifierValue","_tetherMin","_tetherMax","_preventedOffset","withinMaxClamp","_state$modifiersData$","toPaddingObject","minProp","maxProp","endDiff","startDiff","clientSize","centerToReference","axisProp","centerOffset","_options$element","getSideOffsets","preventedOffsets","isAnySideFullyClipped","side","createPopper","_options$scroll","_options$resize","_options$gpuAccelerat","_options$adaptive","_options$roundOffsets","initialStyles","attribute","_skip","specifiedFallbackPlacements","fallbackPlacements","_options$flipVariatio","flipVariations","allowedAutoPlacements","preferredPlacement","oppositePlacement","getExpandedFallbackPlacements","_options$allowedAutoP","allPlacements","allowedPlacements","overflows","computeAutoPlacement","checksMap","makeFallbackChecks","firstFittingPlacement","_basePlacement","isStartVariation","isVertical","mainVariationSide","altVariationSide","checks","_loop","fittingPlacement","preventOverflow","referenceOverflow","popperAltOverflow","referenceClippingOffsets","popperEscapeOffsets","isReferenceHidden","hasPopperEscaped","getPopperUtilityClass","defaultPopperOptions","PopperTooltip","initialPlacement","popperOptions","popperRef","popperRefProp","tooltipRef","ownRef","handlePopperRef","handlePopperRefRef","rtlPlacement","flipPlacement","setPlacement","resolvedAnchorElement","setResolvedAnchorElement","popperModifiers","PopperRoot","BasePopper","RootComponent","mountNode","setMountNode","newProps","ReactDOM","RadioButtonIconRoot","RadioButtonIconBackground","RadioButtonUncheckedIcon","RadioButtonIconDot","RadioButtonCheckedIcon","easeIn","dot","getRadioUtilityClass","RadioRoot","radioClasses","RadioButtonIcon","_defaultIcon$props$fo","_defaultCheckedIcon$p","checkedProp","nameProp","onChangeProp","radioGroup","RadioGroupContext","getRadioGroupUtilityClass","setValueState","useControlled","controlled","FormGroup","getNativeSelectUtilityClasses","nativeSelectSelectStyles","nativeSelectClasses","NativeSelectSelect","nativeSelectIconStyles","NativeSelectIcon","iconOpen","IconComponent","getSelectUtilityClasses","SelectSelect","selectClasses","SelectIcon","SelectNativeInput","slotShouldForwardProp","nativeInput","areEqualValues","isEmpty","_MenuProps$slotProps","ariaLabel","autoWidth","defaultOpen","displayEmpty","MenuProps","onOpen","openProp","renderValue","SelectDisplayProps","openState","setOpenState","displayRef","displayNode","setDisplayNode","isOpenControlled","menuMinWidthState","setMenuMinWidthState","handleDisplayRef","anchorElement","handler","getSelection","isCollapsed","handleItemClick","itemIndex","nativeEvent","clonedEvent","displaySingle","displayMultiple","computeDisplay","foundMatch","menuMinWidth","buttonId","listboxId","childItem","Menu","styledRootConfig","StyledInput","StyledOutlinedInput","StyledFilledInput","classesProp","ArrowDropDownIcon","native","NativeSelectInput","SelectInput","restOfClasses","outlined","inputComponentRef","array1","array2","itemComparer","asc","findClosest","currentValue","_values$reduce","closestIndex","trackFinger","touchId","changedTouches","touchEvent","touch","valueToPercent","roundValueToStep","nearest","parts","toExponential","matissaDecimalPart","decimalPart","getDecimalPrecision","setValueIndex","focusThumb","sliderRef","activeIndex","setActive","_sliderRef$current","_doc$activeElement","_sliderRef$current2","areValuesEqual","oldValue","areArraysEqual","axisProps","percent","leap","Identity","cachedSupportsTouchActionNone","doesSupportTouchActionNone","CSS","supports","useSlider","disableSwap","marksProp","onChangeCommitted","shiftStep","dragging","setDragging","moveCount","valueDerived","thumbIndex","range","clamp","marksValues","mark","focusedThumbIndex","setFocusedThumbIndex","handleFocusRef","createHandleHiddenInputFocus","_otherHandlers$onFocu","createHandleHiddenInputBlur","_otherHandlers$onBlur","changeValue","valueInput","marksIndex","maxMarksValue","previousValue","createHandleHiddenInputKeyDown","shiftKey","_document$activeEleme","previousIndex","getFingerNewValue","finger","move","slider","percentToValue","buttons","stopListening","trackOffset","trackLeap","createHandleMouseLeave","_otherHandlers$onMous3","getHiddenInputProps","externalProps","_parameters$step","externalHandlers","ownEventHandlers","_otherHandlers$onChan","valueAsNumber","mergedEventHandlers","visuallyHidden","_otherHandlers$onMous","getThumbProps","onMouseOver","_otherHandlers$onMous2","getThumbStyle","Slot","getSliderUtilityClass","SliderRoot","marked","track","trackInverted","trackFalse","_theme$vars","touchAction","sliderClasses","thumb","_theme$vars2","SliderRail","rail","SliderTrack","_theme$vars3","_theme$vars4","SliderThumb","_theme$vars5","_theme$vars6","SliderValueLabel","valueLabelOpen","valueLabelCircle","valueLabelLabel","useValueLabelClasses","valueLabel","SliderMark","markActive","_ref13","SliderMarkLabel","markLabel","_ref14","markLabelActive","Forward","_ref15","_slots$rail","_slots$track","_slots$thumb","_slots$valueLabel","_slots$mark","_slots$markLabel","_slotProps$rail","_slotProps$track","_slotProps$thumb","_slotProps$valueLabel","_slotProps$mark","_slotProps$markLabel","ariaValuetext","getAriaLabel","getAriaValueText","valueLabelDisplay","valueLabelFormat","RailSlot","Rail","TrackSlot","Track","ThumbSlot","Thumb","ValueLabelSlot","ValueLabel","MarkSlot","Mark","MarkLabelSlot","MarkLabel","railSlotProps","trackSlotProps","thumbSlotProps","valueLabelSlotProps","markSlotProps","markLabelSlotProps","inputSlotProps","shouldSpreadAdditionalProps","railProps","trackProps","thumbProps","valueLabelProps","markProps","markLabelProps","inputSliderProps","ValueLabelComponent","createStack","getSvgIconUtilityClass","SvgIconRoot","_theme$transitions","_theme$transitions$cr","_theme$transitions2","_theme$typography","_theme$typography$pxT","_theme$typography2","_theme$typography2$px","_theme$typography3","_theme$typography3$px","_palette$ownerState$c","_palette2","_palette3","hasSvgAsChild","inherit","small","medium","large","SvgIcon","htmlColor","inheritViewBox","titleAccess","instanceFontSize","focusable","getTextFieldUtilityClass","variantComponent","TextFieldRoot","FormHelperTextProps","idOverride","SelectProps","InputMore","helperTextId","inputLabelId","InputElement","getTypographyUtilityClass","TypographyRoot","paragraph","defaultVariantMapping","h6","subtitle1","variantMapping","candidatesSelector","defaultGetTabbable","regularTabNodes","orderedTabNodes","nodeTabIndex","tabindexAttr","contentEditable","getTabIndex","getRadio","roving","isNonTabbableRadio","isNodeMatchingSelectorFocusable","documentOrder","defaultIsEnabled","getTabbable","ignoreNextEnforceFocus","sentinelStart","sentinelEnd","nodeToRestore","reactFocusEventTarget","activated","lastKeydown","loopFocus","rootElement","hasFocus","tabbable","_lastKeydown$current","_lastKeydown$current2","isShiftTab","focusNext","focusPrevious","interval","clearInterval","handleFocusSentinel","relatedTarget","childrenPropsHandler","A200","A700","getSwitchBaseUtilityClass","SwitchBaseRoot","SwitchBaseInput","defaultChecked","setCheckedState","hasLabelFor","newChecked","localTheme","outerTheme","mergeOuterLocalTheme","nested","EMPTY_THEME","useThemeScoping","isPrivate","resolvedTheme","mergedTheme","useThemeWithoutDefault","upperPrivateTheme","usePrivateTheme","engineTheme","privateTheme","rtlValue","MuiThemeProvider","StyledEngineThemeContext","RtlProvider","DefaultPropsProvider","themeInput","scopedTheme","SystemThemeProvider","black","activatedOpacity","addLightOrDark","intent","shade","tonalOffset","tonalOffsetLight","tonalOffsetDark","contrastThreshold","getDefaultPrimary","purple","getDefaultSecondary","getDefaultError","lightBlue","getDefaultInfo","green","getDefaultSuccess","orange","getDefaultWarning","getContrastRatio","augmentColor","mainShade","lightShade","darkShade","modes","createShadow","mobileStepper","speedDial","drawer","snackbar","tooltip","mixins","mixinsInput","paletteInput","transitionsInput","typographyInput","systemTheme","systemCreateTheme","muiTheme","toolbar","createTransitions","argument","unstable_sxConfig","defaultSxConfig","unstable_sx","styleFunctionSx","sharp","complex","formatMs","milliseconds","constant","inputTransitions","mergedEasing","mergedDuration","durationOption","easingOption","animatedProp","caseAllCaps","defaultFontFamily","fontWeightLight","fontWeightRegular","htmlFontSize","allVariants","pxToRem2","buildVariant","casing","overline","createStyled","useThemeSystem","systemUseThemeProps","_style$transitionDura","_style$transitionTimi","transitionDelay","displayName","validator","componentNameInError","propName","componentName","propFullName","unstable_ClassNameGenerator","configure","generator","muiNames","_muiName","_element$type","_payload","initialElementType","getSlotOwnerState","internalForwardedProps","useSlotPropsParams","rootComponent","_mergeSlotProps","slotComponent","slotOwnerState","finalOwnerState","LeafComponent","for","StyledEngineProvider","injectFirst","reactPropsRegex","isPropValid","testOmitPropsOnStringTag","testOmitPropsOnComponent","getDefaultShouldForwardProp","composeShouldForwardProps","isReal","optionsShouldForwardProp","__emotion_forwardProp","Insertion","newStyled","targetClassName","__emotion_real","baseTag","__emotion_base","defaultShouldForwardProp","shouldUseAs","Styled","FinalTag","classInterpolations","finalShouldForwardProp","defaultProps","withComponent","nextTag","nextOptions","emStyled","internal_processStyles","processor","toPropertyKey","plainObjectConstrurctor","cloneStyle","newStyle","createRule","decl","jss","declCopy","plugins","onCreateRule","by","toCssValue","cssValue","getWhitespaceSymbols","linebreak","space","indentStr","indent","toCss","_options$indent","fallbacks","_getWhitespaceSymbols","_prop","_value","_prop2","_value2","allowEmpty","escapeRegex","nativeEscape","escape","BaseStyleRule","isProcessed","Renderer","renderer","onChangeValue","renderable","attached","StyleRule","_BaseStyleRule","scoped","generateId","selectorText","_inheritsLoose","_proto2","applyTo","toJSON","link","setSelector","replaceRule","pluginStyleRule","defaultToStringOptions","atRegExp","ConditionalRule","atMatch","at","RuleList","getRule","addRule","onProcessRule","newRule","keyRegExp","pluginConditionalRule","defaultToStringOptions$1","nameRegExp","KeyframesRule","frames","nameMatch","keyRegExp$1","refRegExp","findReferencedKeyframe","replaceRef","refKeyframe","pluginKeyframesRule","onProcessStyle","KeyframeRule","pluginKeyframeRule","FontFaceRule","keyRegExp$2","pluginFontFaceRule","ViewportRule","pluginViewportRule","SimpleRule","keysMap","pluginSimpleRule","defaultUpdateOptions","forceUpdateOptions","counter","ruleOptions","register","oldRule","oldIndex","nameOrSelector","unregister","updateOne","onUpdate","nextValue","_nextValue","_prevValue","deployed","attach","deploy","detach","queue","deleteRule","addRules","added","_this$rules","PluginsRegistry","internal","registry","onProcessSheet","processedValue","newPlugin","plugin","SheetsRegistry","_temp","sheets","globalThis$1","globalThis","self","Function","moduleId","createGenerateId","ruleCounter","jssId","classNamePrefix","minify","getPropertyValue","cssRule","attributeStyleMap","indexOfImportantFlag","cssValueWithoutImportantFlag","delete","getHead","findPrevNode","findHigherSheet","findHighestSheet","childNodes","nodeValue","findCommentNode","getNonce","_insertRule","appendRule","getValidRuleInsertionIndex","maxIndex","DomRenderer","hasInsertedRules","media","createStyle","nextNode","insertionPointElement","insertStyle","insertRules","nativeParent","latestNativeParent","_insertionIndex","refCssRule","ruleStr","insertionIndex","nativeRule","instanceCounter","Jss","isInBrowser","setup","createStyleSheet","removeStyleSheet","createJss","hasCSSTOMSupport","getDynamicStyles","extracted","mergeClasses","baseClasses","newClasses","nextClasses","multiKeyStore","key1","key2","subCache","stateClasses","fnValuesNs","fnRuleNs","fnValues","styleRule","fnRule","atPrefix","GlobalContainerRule","GlobalPrefixedRule","separatorRegExp","addScope","scope","handleNestedGlobalContainerRule","handlePrefixedGlobalRule","parentRegExp","getReplaceRef","replaceParentRefs","nestedProp","parentProp","parentSelectors","nestedSelectors","getOptions","prevOptions","nestingLevel","isNested","isNestedConditional","uppercasePattern","msPattern","toHyphenLower","hName","convertCase","converted","hyphenate","hyphenatedProp","px","ms","addCamelCasedVersion","regExp","newObj","units","motion","gap","grid","iterate","innerProp","_innerProp","camelCasedOptions","_arrayLikeToArray","_toConsumableArray","js","vendor","browser","isTouch","jsCssMap","Moz","O","Webkit","appearence","noPrefill","supportedProperty","toUpper","camelize","pascalize","longhand","textOrientation","writingMode","breakPropsOld","inlineLogicalOld","newProp","unprefixed","prefixed","pascalized","scrollSnap","overscrollBehavior","propMap","flex2012","propMap$1","propKeys","prefixCss","flex2009","propertyDetectors","computed","key$1","el$1","cache$1","transitionProperties","transPropsRegExp","prefixTransitionCallback","prefixedValue","supportedValue","cacheKey","prefixStyle","changeProp","supportedProp","supportedValue$1","atRule","supportedKeyframes","prop0","prop1","defaultJSS","functions","camelCase","defaultUnit","vendorPrefixer","propsSort","defaultGenerateClassName","disableGlobal","productionPrefix","seed","seedPrefix","getNextCounterId","styleSheet","createGenerateClassName","disableGeneration","sheetsCache","sheetsManager","sheetsRegistry","StylesContext","indexCounter","getStylesCreator","stylesOrCreator","themingEnabled","stylesWithOverrides","definition","classKey","propsToClassKey","stylesOptions","stylesCreator","sheetManager","staticSheet","dynamicStyles","flip","serverGenerateClassName","dynamicSheet","classNamePrefixOption","noopTheme","stylesOptions2","shouldUpdate","currentKey","useSynchronousEffect","cacheClasses","lastProp","lastJSS","getClasses","_privateTheme$$$mater","$$material","emphasize","foreground","lumA","getLuminance","lumB","_formatMuiErrorMessage2","_clamp","clampWrapper","hexToRgb","re","colors","decomposeColor","marker","colorSpace","colorChannel","decomposedColor","recomposeColor","hslToRgb","rgb","coefficient","systemDefaultTheme","systemSx","_styleFunctionSx","_extends2","resolveTheme","__mui_systemSx","inputOptions","_styledEngine","componentSlot","skipVariantsResolver","inputSkipVariantsResolver","skipSx","inputSkipSx","defaultOverridesResolver","lowercaseFirstLetter","_objectWithoutPropertiesLoose2","shouldForwardPropOption","defaultStyledResolver","transformStyleArg","stylesArg","_deepmerge","isPlainObject","processStyleArg","muiStyledResolver","styleArg","transformedStyleArg","expressions","expressionsWithDefaultTheme","resolvedStyleOverrides","slotKey","slotStyle","numOfCustomFnsApplied","placeholders","withConfig","__esModule","_getRequireWildcardCache","__proto__","_interopRequireWildcard","_createTheme","callableStyle","resolvedStylesArg","flatMap","resolvedStyle","isMatch","defaultCreateStyledComponent","systemStyled","useThemePropsDefault","useThemePropsSystem","ContainerRoot","breakpointValueKey","PropsContext","getThemeProps","RtlContext","joinChildren","separator","transformer","createUnarySpacing","spacingValues","previousDirectionValue","styleFromPropValue","useFlexGap","getValue","mergeBreakpointsInOrder","StackRoot","xl","defaultBreakpoints","themeBreakpoints","cssKey","createEmptyBreakpointObject","breakpointsInput","_breakpointsInput$key","removeUnusedBreakpoints","breakpointKeys","breakpointOutput","emptyBreakpoints","mergedOutput","breakpointValues","customBase","breakpointsKeys","computeBreakpointsBase","BoxRoot","_extendSxProp","sortBreakpointsValues","breakpointsAsArray","breakpoint1","breakpoint2","createBreakpoints","sortedValues","between","endIndex","only","not","keyIndex","spacingInput","shapeInput","mui","argsInput","createSpacing","properties","directions","aliases","marginX","paddingX","paddingY","getCssProperties","dir","marginKeys","paddingKeys","spacingKeys","createUnaryUnit","themeKey","_getPath","transformed","resolveCssProperty","cssProperties","cssProperty","getStyleFromPropValue","merge","propTypes","filterProps","checkVars","themeMapping","propValueFinal","userValue","handlers","borderTransform","createBorderStyle","borderTopColor","borderRightColor","borderLeftColor","outlineColor","compose","columnGap","rowGap","paletteTransform","sizingTransform","_props$theme","_props$theme2","pr","pl","py","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd","mx","my","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd","displayPrint","justifySelf","gridAutoFlow","gridAutoColumns","gridAutoRows","gridTemplateColumns","gridTemplateRows","gridTemplateAreas","gridArea","splitProps","_props$theme$unstable","systemProps","inSx","finalSx","unstable_createStyleFunctionSx","getThemeValue","_theme$unstable_sxCon","traverse","sxInput","sxObject","styleKey","maybeFn","objects","allKeys","union","objectsHaveSameKeys","processStyles","styledEngineStyled","useMediaQueryOld","defaultMatches","matchMedia","ssrMatchMedia","noSsr","setMatch","queryList","updateMatch","addListener","removeListener","maybeReactUseSyncExternalStore","useMediaQueryNew","getDefaultSnapshot","getServerSnapshot","getSnapshot","mediaQueryList","queryInput","supportMatchMedia","contextTheme","defaultGenerator","createClassNameGenerator","MIN_SAFE_INTEGER","MAX_SAFE_INTEGER","getUtilityClass","utilityClass","funcs","wait","debounced","later","getPrototypeOf","deepClone","formatMuiErrorMessage","globalStateClasses","completed","expanded","globalStatePrefix","globalStateClass","fnNameMatchRegex","getFunctionName","getFunctionComponentName","getWrappedName","outerType","innerType","wrapperName","functionName","getDisplayName","$$typeof","ForwardRef","Memo","documentWidth","PropTypes","defaultSlotProps","slotPropName","defaultProp","valueState","setValue","globalId","maybeReactUseId","reactId","defaultId","setDefaultId","useGlobalId","hadKeyboardEvent","hadFocusVisibleRecently","hadFocusVisibleRecentlyTimeout","Timeout","inputTypesWhitelist","tel","datetime","metaKey","altKey","ctrlKey","handlePointerDown","handleVisibilityChange","visibilityState","isFocusVisible","isContentEditable","focusTriggersKeyboardModality","_parameters$additiona","rest","UNINITIALIZED","EMPTY","currentId","disposeEffect","initArg","useLazyRef","clip","formatTokenMap","Y","YY","YYYY","sectionType","contentType","MM","MMM","MMMM","D","DD","Do","E","dd","ddd","dddd","A","HH","hh","mm","ss","defaultFormats","monthShort","dayOfMonth","weekdayShort","hours24h","hours12h","meridiem","minutes","seconds","fullDate","fullDateWithWeekday","keyboardDate","shortDate","normalDate","normalDateWithWeekday","monthAndYear","monthAndDate","fullTime","fullTime12h","fullTime24h","fullDateTime","fullDateTime12h","fullDateTime24h","keyboardDateTime","keyboardDateTime12h","keyboardDateTime24h","MISSING_TIMEZONE_PLUGIN","locale","isMUIAdapter","isTimezoneCompatible","lib","escapedCharacters","setLocaleToValue","expectedLocale","getCurrentLocaleCode","syncMomentLocale","runner","_this$locale","momentLocale","defaultMoment","hasTimezonePlugin","tz","createSystemDate","parsedValue","local","createUTCDate","utc","createTZDate","timezone","dateWithTimezone","getTimezone","_value$_z","_this$moment$defaultZ","zone","_z","defaultZone","isUTC","setTimezone","_this$moment$defaultZ2","_this$moment$defaultZ3","cleanZone","toJsDate","parseISO","isoString","toISO","is12HourCycleInCurrentLocale","longDateFormat","expandFormat","firstCharacter","getFormatHelperText","isNull","formatKey","formatByString","formatString","clonedDate","numberToFormat","getDiff","comparing","isEqual","isSame","isSameYear","isSameMonth","isSameDay","isSameHour","isAfter","isAfterYear","isAfterDay","isBefore","isBeforeYear","isBeforeDay","isWithinRange","isBetween","startOfYear","startOf","startOfMonth","startOfWeek","startOfDay","endOfYear","endOf","endOfMonth","endOfWeek","endOfDay","addYears","amount","addMonths","addWeeks","addDays","addHours","addMinutes","addSeconds","getYear","getDate","getHours","getMinutes","getSeconds","getMilliseconds","setYear","setMonth","setDate","setMinutes","setSeconds","setMilliseconds","getDaysInMonth","daysInMonth","getNextMonth","getPreviousMonth","getMonthArray","monthArray","mergeDateAndTime","dateParam","timeParam","hour","minute","second","getWeekdays","getWeekArray","cleanValue","nestedWeeks","weekNumber","getWeekNumber","getYearRange","getMeridiemText","ampm","getDatePickerToolbarUtilityClass","DatePickerToolbarRoot","PickersToolbar","DatePickerToolbarTitle","isLandscape","DatePickerToolbar","toolbarFormat","toolbarPlaceholder","views","utils","useUtils","useLocaleText","dateText","formatFromViews","resolveDateFormat","toolbarTitle","datePickerToolbarTitle","useDatePickerDefaultizedProps","_themeProps$slots","_themeProps$disableFu","_themeProps$disablePa","_themeProps$slotProps","defaultDates","useDefaultDates","_themeProps$localeTex","uncapitalizeObjectKeys","applyDefaultViewProps","openTo","defaultViews","defaultOpenTo","disableFuture","disablePast","minDate","applyDefaultDate","maxDate","validateDate","adapter","shouldDisableDate","shouldDisableMonth","shouldDisableYear","useDateField","_props$disablePast","_props$disableFuture","_props$format","useDefaultizedDateField","forwardedProps","internalProps","splitFieldInternalAndForwardedProps","useField","valueManager","singleItemValueManager","fieldValueManager","singleItemFieldValueManager","valueType","DateField","_slots$textField","_slotProps$textField","externalInputRef","_useDateField","onPaste","inputMode","clearable","onClear","fieldProps","ProcessedInputProps","processedFieldProps","useClearableField","useIsDateDisabled","useLocalizationContext","useCalendarState","referenceDate","referenceDateProp","defaultCalendarMonth","disableSwitchToMonthOnDayFocus","onMonthChange","reduceAnimations","reducerFn","createCalendarStateReducer","slideDirection","currentMonth","newMonth","isMonthSwitchingAnimating","focusedDay","needMonthSwitch","withoutMonthSwitchingAnimation","externalReferenceDate","getInitialReferenceValue","granularity","SECTION_TYPE_GRANULARITY","calendarState","handleChangeMonth","changeMonth","newDate","newDateRequested","isDateDisabled","onMonthSwitchingAnimationEnd","changeFocusedDay","newFocusedDate","getPickersFadeTransitionGroupUtilityClass","PickersFadeTransitionGroupRoot","PickersFadeTransitionGroup","transKey","mountOnEnter","unmountOnExit","getPickersDayUtilityClass","pickersDayClasses","DAY_SIZE","disableMargin","DAY_MARGIN","outsideCurrentMonth","showDaysOutsideCurrentMonth","disableHighlightToday","today","dayWithMargin","dayOutsideMonth","hiddenDaySpacingFiller","PickersDayRoot","PickersDayFiller","PickersDayRaw","isAnimating","onDaySelect","onMouseEnter","isToday","isHiddenDaySpacingFiller","PickersDay","replaceClassName","origClass","classToRemove","removeClass","classList","baseVal","CSSTransition","_React$Component","appliedClasses","maybeNode","maybeAppearing","_this$resolveArgument","resolveArguments","appearing","removeClasses","addClass","_this$resolveArgument2","_this$resolveArgument3","getClassNames","isStringClassNames","baseClassName","activeClassName","doneClassName","forceReflow","hasClass","_addClass","_this$appliedClasses$","_this$props","getPickersSlideTransitionUtilityClass","pickersSlideTransitionClasses","PickersSlideTransitionRoot","slideEnterActive","slideExit","slideTransition","getDayCalendarUtilityClass","weeksContainerHeight","PickersCalendarDayRoot","PickersCalendarDayHeader","header","PickersCalendarWeekDayLabel","weekDayLabel","PickersCalendarWeekNumberLabel","weekNumberLabel","PickersCalendarWeekNumber","PickersCalendarLoadingContainer","loadingContainer","PickersCalendarSlideTransition","enterActive","exitActive","transitionClasses","childFactory","PickersCalendarWeekContainer","monthContainer","PickersCalendarWeek","weekContainer","WrappedDay","_slots$day","_slotProps$day","parentProps","focusableDay","selectedDays","currentMonthNumber","isViewFocused","useNow","isFocusableDay","isSelected","selectedDay","Day","valueOf","dayProps","isFirstVisibleCell","isLastVisibleCell","DayCalendar","onFocusedDayChange","onSelectedDaysChange","renderLoading","dayOfWeekFormatter","dayOfWeekFormatterFromProps","onFocusedViewChange","gridLabelId","displayWeekNumber","fixedWeekNumber","isRTL","_day","internalHasFocus","setInternalHasFocus","internalFocusedDay","setInternalFocusedDay","handleDaySelect","focusDay","newFocusedDayDefault","nextAvailableMonth","closestDayToFocus","findClosestEnabledDate","validSelectedDays","transitionKey","slideNodeRef","startOfCurrentWeek","weeksToDisplay","currentMonthWithTimezone","toDisplay","nextMonth","additionalWeeks","hasCommonWeek","calendarWeekNumberHeaderLabel","calendarWeekNumberHeaderText","_dayOfWeekFormatter","calendarWeekNumberAriaLabelText","calendarWeekNumberText","dayIndex","getPickersMonthUtilityClass","pickersMonthClasses","PickersMonthRoot","monthsPerRow","PickersMonthButton","monthButton","PickersMonth","ariaCurrent","_ref$current","getMonthCalendarUtilityClass","MonthCalendarRoot","DIALOG_WIDTH","MonthCalendar","useMonthCalendarDefaultizedProps","onMonthFocus","timezoneProp","handleValueChange","useControlledValueWithTimezone","todayMonth","selectedMonth","focusedMonth","setFocusedMonth","changeHasFocus","newHasFocus","isMonthDisabled","dateToValidate","firstEnabledMonth","lastEnabledMonth","monthToValidate","handleMonthSelection","focusMonth","prevFocusedMonth","monthsInYear","handleMonthFocus","handleMonthBlur","getMonthsInYear","monthNumber","monthText","monthLabel","getPickersYearUtilityClass","pickersYearClasses","PickersYearRoot","yearsPerRow","PickersYearButton","yearButton","PickersYear","getYearCalendarUtilityClass","YearCalendarRoot","MAX_CALENDAR_HEIGHT","YearCalendar","_themeProps$yearsPerR","useYearCalendarDefaultizedProps","onYearFocus","todayYear","selectedYear","focusedYear","setFocusedYear","isYearDisabled","yearToValidate","handleYearSelection","focusYear","prevFocusedYear","handleYearFocus","handleYearBlur","scrollerRef","tabbableButton","elementBottom","yearNumber","getPickersCalendarHeaderUtilityClass","pickersCalendarHeaderClasses","PickersCalendarHeaderRoot","PickersCalendarHeaderLabelContainer","labelContainer","PickersCalendarHeaderLabel","PickersCalendarHeaderSwitchViewButton","switchViewButton","view","switchViewIcon","PickersCalendarHeaderSwitchViewIcon","PickersCalendarHeader","_slots$switchViewButt","_slots$switchViewIcon","onViewChange","SwitchViewButton","switchViewButtonProps","calendarViewSwitchingButtonAriaLabel","SwitchViewIcon","switchViewIconProps","isNextMonthDisabled","useNextMonthDisabled","isPreviousMonthDisabled","usePreviousMonthDisabled","handleToggleView","nextIndexToOpen","PickersArrowSwitcher","onGoToPrevious","selectPreviousMonth","isPreviousDisabled","previousLabel","previousMonth","onGoToNext","selectNextMonth","isNextDisabled","nextLabel","getDateCalendarUtilityClass","DateCalendarRoot","PickerViewRoot","VIEW_HEIGHT","DateCalendarViewTransitionContainer","viewTransitionContainer","DateCalendar","_slots$calendarHeader","_slotProps$calendarHe","_themeProps$loading","_themeProps$openTo","_themeProps$views","_themeProps$reduceAni","_themeProps$renderLoa","defaultReduceAnimations","useDefaultReduceAnimations","useDateCalendarDefaultizedProps","onYearChange","inView","focusedView","inFocusedView","setView","setFocusedView","goToNextView","setValueAndGoToNextView","useViews","minDateWithDisabled","maxDateWithDisabled","CalendarHeader","calendarHeader","calendarHeaderProps","handleDateMonthChange","closestEnabledDate","handleDateYearChange","handleSelectedDayChange","baseDateValidationProps","commonViewProps","prevOpenViewRef","renderDateViewCalendar","isDatePickerView","DesktopDatePicker","_defaultizedProps$yea","_defaultizedProps$slo2","_props$localeText$ope","_props$localeText","defaultizedProps","viewRenderers","openPickerIcon","CalendarIcon","field","_defaultizedProps$slo","extractValidationProps","renderPicker","useDesktopPicker","getOpenDialogAriaText","openDatePickerDialogue","closeOnSelect","formatDensity","refType","onSelectedSectionsChange","selectedSections","isRequired","startIndex","MobileDatePicker","useMobilePicker","desktopModeMediaQuery","DEFAULT_DESKTOP_MODE_MEDIA_QUERY","MuiPickersAdapterContext","_React$useContext","inLocaleText","otherInProps","parentUtils","parentLocaleText","DateAdapter","dateFormats","dateLibInstance","themeLocaleText","getPickersLayoutUtilityClass","pickersLayoutClasses","PickersActionBar","onSetToday","actionType","clearButtonLabel","cancelButtonLabel","okButtonLabel","todayButtonLabel","DialogActions","PickersShortcuts","changeImportance","resolvedItems","_slots$actionBar","_slots$shortcuts","wrapperVariant","onSelectShortcut","innerSlots","innerSlotProps","contentWrapper","actionBar","tabs","landscape","shortcuts","ActionBar","actionBarProps","Toolbar","toolbarProps","toolbarHasView","Tabs","Shortcuts","shortcutsProps","PickersLayoutRoot","PickersLayoutContentWrapper","PickersLayout","usePickerLayout","forwardedFieldProps","ForwardedInputProps","_slots$clearButton","_slotProps$clearButto","_slots$clearIcon","_slotProps$clearIcon","clearButton","ClearButton","MuiIconButton","fieldClearLabel","iconButtonProps","EndClearIcon","clearIcon","ClearIcon","endClearIconProps","ArrowLeftIcon","ArrowRightIcon","ClockIcon","getPickersArrowSwitcherUtilityClass","PickersArrowSwitcherRoot","PickersArrowSwitcherSpacer","spacer","PickersArrowSwitcherButton","_slots$previousIconBu","_slots$nextIconButton","_slots$leftArrowIcon","_slots$rightArrowIcon","isNextHidden","isPreviousHidden","nextProps","isHidden","goTo","previousProps","PreviousIconButton","previousIconButton","previousIconButtonProps","NextIconButton","nextIconButton","nextIconButtonProps","LeftArrowIcon","leftArrowIcon","leftArrowIconProps","RightArrowIcon","rightArrowIcon","_useSlotProps2","rightArrowIconProps","PickersToolbarRoot","PickersToolbarContent","_ownerState$landscape","landscapeDirection","penIconButton","getPickersToolbarUtilityClass","DIGITAL_CLOCK_VIEW_HEIGHT","MULTI_SECTION_CLOCK_SECTION_WIDTH","useMeridiemMode","selectionState","meridiemMode","getMeridiem","handleMeridiemChange","timeWithMeridiem","convertToMeridiem","mobileVersionMatches","androidVersion","iOSVersion","slowAnimationDevices","getPickersPopperUtilityClass","PickersPopperRoot","MuiPopper","PickersPopperPaper","MuiPaper","PickersPopperPaperWrapper","popperPlacement","inOwnerState","paperClasses","onPaperClick","onPaperTouchStart","_paperProps$onClick","_paperProps$onTouchSt","PickersPopper","_slots$desktopTransit","_slots$desktopTrapFoc","_slots$desktopPaper","_slots$popper","containerRef","shouldRestoreFocus","onDismiss","inReduceAnimations","lastFocusedElementRef","getActiveElement","clickAwayRef","onClickAway","movedRef","syntheticEventRef","activatedRef","armClickAwayListener","handleClickAway","insideReactTree","clickedRootScrollbar","insideDOM","composedPath","handleSynthetic","useClickAwayListener","desktopTransition","desktopTrapFocus","BaseFocusTrap","desktopPaper","Popper","popperProps","_innerSlotProps$toolb","_innerSlotProps$toolb2","_slots$inputAdornment","_slots$openPickerButt","_slots$layout","pickerParams","internalInputRef","isToolbarHidden","hasUIView","layoutProps","renderCurrentView","pickerFieldProps","usePicker","autoFocusView","additionalViewProps","inputAdornment","MuiInputAdornment","inputAdornmentProps","OpenPickerButton","openPickerButton","openPickerButtonProps","OpenPickerIcon","Field","slotsForField","Layout","layout","labelledById","isQueryResponseWithoutValue","saveQuery","useFieldCharacterEditing","sections","updateSectionValue","sectionsValueBoundaries","setTempAndroidValueStr","setQuery","resetQuery","_sections$query$secti","sectionIndex","applyQuery","getFirstSectionValueMatchingWithQuery","isValidQueryValue","keyPressed","cleanKeyPressed","activeSection","concatenatedQueryValue","queryResponse","applyCharacterEditing","getNewSectionValue","queryValue","section","queryValueNumber","sectionBoundaries","currentDate","maximum","minimum","shouldGoToNextSection","sectionValue","cleanDigitSectionValue","hasLeadingZerosInFormat","doesSectionFormatHaveLeadingZeros","hasLeadingZerosInInput","formattedValue","changeSectionValueFormat","getDaysInWeekStr","applyNumericEditing","findMatchingOptions","matchingValues","testQueryOnFormatAndFallbackFormat","fallbackFormat","formatFallbackValue","getLetterEditingOptions","getDateSectionConfigFromFormatToken","fallbackOptions","applyLetterEditing","newSectionValue","resetCharacterQuery","selectedSectionIndexes","setSelectedSections","clearValue","clearActiveSection","updateValueFromValueStr","selectedSectionsProp","shouldRespectLeadingZeros","valueFromTheOutside","useValueWithTimezone","getSectionsBoundaries","getSectionsFromValue","fallbackSections","splitFormatIntoSections","getValueStrFromSections","emptyValue","validateSections","stateWithoutReferenceDate","referenceValue","tempValueStrAndroid","getSectionTypeGranularity","innerSetSelectedSections","newSelectedSections","prevState","selectedSectionQuery","shouldSelectBoundarySelectors","selectedSectionIndex","publishValue","validationError","setSectionValue","newSections","modified","addPositionPropertiesToSections","updateReferenceValue","activeDateManager","getActiveDateManager","hasNoOtherNonEmptySections","getSections","newActiveDate","newValues","getNewValuesFromNewActiveDate","newActiveDateSections","getDateFromDateSections","shouldPublish","mergedDate","mergeDateIntoReferenceDate","valueStr","parseValueStr","parseDateStr","dateStr","newReferenceValue","useFieldState","unstableFieldRef","minutesStep","otherForwardedProps","focusTimeoutRef","sectionOrder","getSectionOrder","syncSelectionFromDOM","_selectionStart","browserStartIndex","selectionStart","nextSectionIndex","startInInput","endInInput","startSeparator","handleInputClick","isDefaultPrevented","handleInputMouseUp","handleInputFocus","selectionEnd","handleInputBlur","handleInputPaste","pastedValue","clipboardData","lettersOnly","digitsOnly","digitsAndLetterOnly","handleInputChange","targetValue","eventData","shouldUseEventData","cleanValueStr","cleanString","prevValueStr","startOfDiffIndex","endOfDiffIndex","activeSectionEndRelativeToNewValue","endSeparator","isAndroid","handleInputKeyDown","neighbors","rightIndex","leftIndex","adjustSectionValue","firstSelectedSection","lastSelectedSection","currentScrollTop","setSelectionRange","useValidation","isSameError","defaultErrorState","inputError","hasError","_state$tempValueStrAn","inputHasFocus","areAllSectionsEmpty","shouldShowPlaceholder","getActiveSectionIndex","_selectionStart2","_selectionEnd","_inputRef$current","browserEndIndex","isInputReadOnly","activeSectionIndex","handleClearValue","_inputRef$current2","formatToken","weekDay","cleanLeadingZeros","longestMonth","keyCode","activeDate","stepsAttributes","delta","getDeltaFromKeyCode","isStart","isEnd","shouldSetAbsolute","adjustDigitSection","getCleanValue","newSectionValueNumber","adjustLetterSection","currentOptionIndex","getSectionVisibleValue","hasLeadingZeros","dirtyString","positionInInput","renderedValue","sectionStr","sectionLength","sectionLengthInInput","cleanedValue","getSectionPlaceholder","sectionConfig","sectionFormat","fieldMonthPlaceholder","fieldDayPlaceholder","fieldWeekDayPlaceholder","fieldHoursPlaceholder","fieldMinutesPlaceholder","fieldSecondsPlaceholder","fieldMeridiemPlaceholder","currentFormat","newFormat","isFourDigitYearFormat","commitToken","isValidDate","formatExpansionOverflow","prevFormat","nextFormat","expandedFormat","escapedParts","getEscapedPartsFromFormat","startChar","endChar","isTokenStartRegExp","currentTokenValue","escapedPartOfCurrentChar","escapeIndex","char","isEscapedChar","potentialToken","regExpMatch","cleanSeparator","cleanedSeparator","shouldSkipWeekDays","sectionFormats","sectionValues","formatWithoutSeparator","dateWithoutSeparatorStr","createDateStrForInputFromSections","dateValue","maxDaysInMonth","daysInWeek","lastHourInDay","reliableSectionModificationOrder","dateToTransferFrom","shouldLimitToEditedSections","transferDateSectionValue","dateToTransferTo","formattedDaysInWeek","dayInWeekStrOfActiveDate","dayInWeekOfActiveDate","isAM","mergedDateHours","rtl2ltr","ltr2rtl","groupedSectionsStart","groupedSectionsEnd","RTLIndex","_section$endSeparator","rtlIndex","PickersModalDialogRoot","MuiDialog","PickersModalDialogContent","PickersModalDialog","_slots$dialog","_slots$mobileTransiti","dialog","mobileTransition","mobilePaper","onSpaceOrEnter","usePickerValue","inValue","inDefaultValue","isControllingOpenProp","setIsOpenState","newIsOpen","useOpenState","dateState","setDateState","initialValue","draft","lastPublishedValue","lastCommittedValue","lastControlledValue","hasBeenModifiedSinceMount","updateDate","updaterParams","hasChanged","comparison","isCurrentValueTheDefaultValue","pickerAction","shouldPublishValue","shouldCommit","shouldCommitValue","shouldClose","shouldClosePicker","shortcut","isUpdateComingFromPicker","handleClear","handleAccept","handleDismiss","handleSetToday","getTodayValue","handleSelectShortcut","handleChangeFromField","handleFieldSelectedSectionsChange","fieldResponse","viewValue","viewProps","testedValue","getOrientation","screen","angle","usePickerLayoutProps","propsFromPickerValue","propsFromPickerViews","useIsLandscape","customOrientation","setOrientation","eventHandler","arrayIncludes","gravity","cleanMessage","buildWarning","pickerValueResponse","pickerViewsResponse","propsToForwardToView","viewModeLookup","viewForReduce","viewMode","timeViewsCount","isTimeView","currentViewMode","popperView","setPopperView","newView","showViewSwitcher","usePickerViews","pickerLayoutResponse","enUSPickers","openPreviousView","openNextView","dateTimePickerToolbarTitle","timePickerToolbarTitle","dateRangePickerToolbarTitle","clockLabelText","hoursClockNumberText","minutesClockNumberText","secondsClockNumberText","selectViewText","openTimePickerDialogue","timeTableLabel","dateTableLabel","DEFAULT_LOCALE","pickersTranslations","localization","validate","previousValidationErrorRef","firstDefaultValue","inputValue","inputTimezone","setInputTimezone","timezoneToRender","newValueWithInputTimezone","otherParams","valueWithInputTimezone","_views","_views2","previousOpenTo","previousViews","defaultFocusedView","previousView","viewIndex","nextView","handleFocusedViewChange","viewToFocus","prevFocusedView","handleChangeView","currentViewSelectionState","selectedView","isSelectionFinishedOnCurrentView","hasMoreViews","nextViewAfterSelected","forward","backward","replaceInvalidDateByNull","areDatesEqual","months","getTodayDate","formatMeridiem","dateViews","isInToolbar","areViewsEqual","SHARED_FIELD_INTERNAL_PROP_NAMES","extractProp","DATE_VALIDATION_PROP_NAMES","TIME_VALIDATION_PROP_NAMES","DATE_TIME_VALIDATION_PROP_NAMES","_SECTION_TYPE_GRANULA","roundDate","roundedDate","getDefaultReferenceDate","inGetTodayDate","_props$disableIgnorin","createIsAfterIgnoreDatePart","disableIgnoringDatePartForTimeValidation","minTime","maxTime","capitalizedObject","timeViews","isInternalTimeView","convertValueToMeridiem","newHoursAmount","getSecondsInDay","dateLeft","dateRight","resolveTimeFormat","itemOrItems","innerFn","externalEvent","activeEl","shadowRoot","VALIDATION_PROP_NAMES","extractedProps","prevReferenceValue","prevSections","getSectionsFromDate","parseDate","expectedViews","expectedView","viewsWithDefault","openToWithDefault","module","settle","cookies","buildURL","buildFullPath","parseHeaders","isURLSameOrigin","createError","Cancel","onCanceled","requestData","requestHeaders","unsubscribe","isFormData","fullPath","onloadend","responseHeaders","getAllResponseHeaders","paramsSerializer","responseURL","onabort","ontimeout","timeoutErrorMessage","transitional","clarifyTimeoutError","isStandardBrowserEnv","xsrfValue","xsrfCookieName","xsrfHeaderName","isUndefined","onDownloadProgress","onUploadProgress","upload","Axios","mergeConfig","createInstance","defaultConfig","extend","instanceConfig","CancelToken","isCancel","spread","isAxiosError","__CANCEL__","resolvePromise","_listeners","onfulfilled","throwIfRequested","InterceptorManager","dispatchRequest","validators","assertOptions","silentJSONParsing","boolean","forcedJSONParsing","requestInterceptorChain","synchronousRequestInterceptors","interceptor","runWhen","synchronous","fulfilled","rejected","responseInterceptorChain","chain","newConfig","getUri","eject","isAbsoluteURL","combineURLs","requestedURL","enhanceError","transformData","throwIfCancellationRequested","transformRequest","transformResponse","fileName","lineNumber","columnNumber","stack","config1","config2","getMergedValue","mergeDeepProperties","valueFromConfig2","defaultToConfig2","mergeDirectKeys","mergeMap","configValue","validateStatus","fns","normalizeHeaderName","DEFAULT_CONTENT_TYPE","setContentTypeIfUnset","getDefaultAdapter","isArrayBuffer","isBuffer","isStream","isFile","isArrayBufferView","buffer","isURLSearchParams","rawValue","parser","stringifySafely","strictJSONParsing","maxContentLength","maxBodyLength","thisArg","encode","serializedParams","isDate","hashmarkIndex","relativeURL","write","expires","secure","cookie","isNumber","toGMTString","decodeURIComponent","originURL","msie","urlParsingNode","resolveURL","protocol","hostname","port","requestURL","normalizedName","ignoreDuplicateOf","arr","thing","deprecatedWarnings","formatMessage","desc","schema","allowUnknown","isView","pipe","URLSearchParams","assignValue","stripBOM","byteLength","b64","lens","getLens","validLen","placeHoldersLen","toByteArray","Arr","_byteLength","curByte","revLookup","fromByteArray","uint8","extraBytes","maxChunkLength","len2","encodeChunk","lookup","ieee754","customInspectSymbol","K_MAX_LENGTH","createBuffer","buf","encodingOrOffset","allocUnsafe","encoding","isEncoding","actual","fromString","arrayView","isInstance","fromArrayBuffer","byteOffset","fromArrayLike","fromArrayView","SharedArrayBuffer","numberIsNaN","fromObject","assertSize","mustMatch","loweredCase","utf8ToBytes","base64ToBytes","slowToString","hexSlice","utf8Slice","asciiSlice","latin1Slice","base64Slice","utf16leSlice","swap","bidirectionalIndexOf","arrayIndexOf","lastIndexOf","indexSize","arrLength","valLength","readUInt16BE","hexWrite","remaining","strLen","utf8Write","blitBuffer","asciiWrite","byteArray","asciiToBytes","base64Write","ucs2Write","hi","lo","utf16leToBytes","firstByte","codePoint","bytesPerSequence","secondByte","thirdByte","fourthByte","tempCodePoint","codePoints","MAX_ARGUMENTS_LENGTH","decodeCodePointsArray","TYPED_ARRAY_SUPPORT","proto","foo","typedArraySupport","poolSize","allocUnsafeSlow","_isBuffer","swap16","swap32","swap64","toLocaleString","equals","inspect","thisStart","thisEnd","thisCopy","targetCopy","isFinite","_arr","out","hexSliceLookupTable","bytes","checkOffset","checkInt","wrtBigUInt64LE","checkIntBI","BigInt","wrtBigUInt64BE","checkIEEE754","writeFloat","littleEndian","noAssert","writeDouble","newBuf","subarray","readUintLE","readUIntLE","mul","readUintBE","readUIntBE","readUint8","readUInt8","readUint16LE","readUInt16LE","readUint16BE","readUint32LE","readUInt32LE","readUint32BE","readUInt32BE","readBigUInt64LE","defineBigIntMethod","validateNumber","first","last","boundsError","readBigUInt64BE","readIntLE","pow","readIntBE","readInt8","readInt16LE","readInt16BE","readInt32LE","readInt32BE","readBigInt64LE","readBigInt64BE","readFloatLE","readFloatBE","readDoubleLE","readDoubleBE","writeUintLE","writeUIntLE","writeUintBE","writeUIntBE","writeUint8","writeUInt8","writeUint16LE","writeUInt16LE","writeUint16BE","writeUInt16BE","writeUint32LE","writeUInt32LE","writeUint32BE","writeUInt32BE","writeBigUInt64LE","writeBigUInt64BE","writeIntLE","sub","writeIntBE","writeInt8","writeInt16LE","writeInt16BE","writeInt32LE","writeInt32BE","writeBigInt64LE","writeBigInt64BE","writeFloatLE","writeFloatBE","writeDoubleLE","writeDoubleBE","targetStart","copyWithin","sym","getMessage","Base","addNumericalSeparator","ERR_OUT_OF_RANGE","checkBounds","ERR_INVALID_ARG_TYPE","ERR_BUFFER_OUT_OF_BOUNDS","msg","received","isInteger","INVALID_BASE64_RE","leadSurrogate","base64clean","dst","alphabet","table","i16","BufferBigIntNotDefined","ReflectOwnKeys","R","Reflect","ReflectApply","receiver","getOwnPropertyNames","NumberIsNaN","once","errorListener","eventTargetAgnosticAddListener","addErrorHandlerIfEventEmitter","_events","_eventsCount","_maxListeners","defaultMaxListeners","checkListener","_getMaxListeners","that","_addListener","events","newListener","warned","ProcessEmitWarning","onceWrapper","fired","wrapFn","_onceWrap","wrapped","unwrap","evlistener","unwrapListeners","arrayClone","listenerCount","wrapListener","setMaxListeners","getMaxListeners","doError","er","prependListener","prependOnceListener","originalListener","spliceOne","off","removeAllListeners","rawListeners","eventNames","isAbsolute","hasTrailingSlash","toParts","fromParts","isToAbs","isFromAbs","mustEndAbs","part","valueEqual","aValue","bValue","addLeadingSlash","stripLeadingSlash","stripBasename","hasBasename","stripTrailingSlash","createPath","createLocation","currentLocation","hashIndex","searchIndex","parsePath","decodeURI","URIError","resolvePathname","locationsAreEqual","createTransitionManager","prompt","setPrompt","nextPrompt","confirmTransitionTo","getUserConfirmation","appendListener","notifyListeners","canUseDOM","getConfirmation","confirm","PopStateEvent","HashChangeEvent","getHistoryState","createBrowserHistory","invariant","globalHistory","canUseHistory","ua","supportsHistory","needsHashChangeListener","_props","_props$forceRefresh","forceRefresh","_props$getUserConfirm","_props$keyLength","keyLength","basename","getDOMLocation","historyState","_window$location","createKey","transitionManager","nextState","handlePopState","isExtraneousPopstateEvent","handlePop","handleHashChange","forceNextPop","fromLocation","toLocation","toIndex","fromIndex","go","revertPop","initialLocation","createHref","checkDOMListeners","isBlocked","pushState","prevIndex","nextKeys","replaceState","goBack","goForward","unblock","listen","unlisten","HashChangeEvent$1","HashPathCoders","hashbang","encodePath","decodePath","noslash","slash","stripHash","getHashPath","replaceHashPath","createHashHistory","_props$hashType","hashType","_HashPathCoders$hashT","ignorePath","encodedPath","prevLocation","allPaths","pushHashPath","nextPaths","lowerBound","upperBound","createMemoryHistory","_props$initialEntries","initialEntries","_props$initialIndex","initialIndex","entry","nextIndex","nextEntries","canGo","reactIs","REACT_STATICS","childContextTypes","contextType","contextTypes","getDefaultProps","getDerivedStateFromError","getDerivedStateFromProps","KNOWN_STATICS","caller","callee","arity","MEMO_STATICS","TYPE_STATICS","getStatics","isMemo","objectPrototype","hoistNonReactStatics","targetComponent","sourceComponent","inheritedComponent","targetStatics","sourceStatics","descriptor","q","AsyncMode","ConcurrentMode","ContextConsumer","ContextProvider","Fragment","Lazy","Profiler","StrictMode","Suspense","isAsyncMode","isConcurrentMode","isContextConsumer","isContextProvider","isForwardRef","isFragment","isLazy","isPortal","isProfiler","isStrictMode","isSuspense","isValidElementType","isLE","mLen","nBytes","eLen","eMax","eBias","nBits","NaN","rt","LN2","useLottie","initialSegment","onComplete","onLoopComplete","onEnterFrame","onSegmentStart","onConfigReady","onDataReady","onDataFailed","onLoadedImages","onDOMLoaded","onDestroy","lottieRef","assetsPath","_objectWithoutProperties","_excluded$1","_useState2","animationLoaded","setAnimationLoaded","animationInstanceRef","animationContainer","play","pause","setSpeed","speed","goToAndPlay","isFrame","goToAndStop","setDirection","playSegments","segments","forceFlag","setSubframe","useSubFrames","getDuration","inFrames","loadAnimation","forcedConfigs","_objectSpread2","lottie__default","onUnmount","currentRawFrame","setSegment","resetSegments","deregisterList","deregister","View","React__default","animationContainerRef","animationItem","getContainerVisibility","_container$getBoundin","getContainerCursorPosition","cursorX","cursorY","_container$getBoundin2","useInitInteractivity","scrollModeHandler","assignedSegment","scrollHandler","currentPercent","frameToGo","firstFrame","cursorModeHandler","handleCursor","_x","_y","xPercent","yPercent","mouseMoveHandler","mouseOutHandler","useLottieInteractivity","lottieObj","_b","_c","interactivity","lottieProps","_useLottie","factory","svgNS","locationHref","_useWebWorker","initialDefaultFrame","setWebWorker","flag","getWebWorker","setLocationHref","getLocationHref","createTag","extendPrototype","sources","destination","sourcePrototype","attr","getDescriptor","createProxyFunction","ProxyFunction","audioControllerFactory","AudioController","audioFactory","audios","_volume","_isMuted","addAudio","audio","resume","setRate","rateValue","createAudio","assetPath","Howl","isPlaying","seek","playing","rate","setVolume","setAudioFactory","_updateVolume","mute","unmute","getVolume","volume","createTypedArray","createRegularArray","Uint8ClampedArray","Float32Array","Int16Array","createSizedArray","_typeof$6","subframeEnabled","expressionsPlugin","expressionsInterfaces","idPrefix$1","isSafari","_shouldRoundValues","bmPow","bmSqrt","bmFloor","bmMax","bmMin","BMMath","ProjectInterface$1","propertyNames","absArr","defaultCurveSegments","degToRads","roundCorner","roundValues","bmRnd","styleDiv","webkitTransformOrigin","backfaceVisibility","webkitBackfaceVisibility","transformStyle","webkitTransformStyle","mozTransformStyle","BMEnterFrameEvent","currentTime","totalTime","frameMultiplier","BMCompleteEvent","BMCompleteLoopEvent","totalLoops","currentLoop","BMSegmentStartEvent","totalFrames","BMDestroyEvent","BMRenderFrameErrorEvent","nativeError","BMConfigErrorEvent","BMAnimationConfigErrorEvent","createElementID","_count","HSVtoRGB","RGBtoHSV","addSaturationToRGB","hsv","addBrightnessToRGB","addHueToRGB","rgbToHex","hex","colorMap","setSubframeEnabled","getSubframeEnabled","setExpressionsPlugin","getExpressionsPlugin","setExpressionInterfaces","getExpressionInterfaces","setDefaultCurveSegments","getDefaultCurveSegments","setIdPrefix","getIdPrefix","createNS","createElementNS","_typeof$5","dataManager","workerFn","workerInstance","_counterId","processes","workerProxy","onmessage","postMessage","_workerSelf","setupWorker","Worker","createWorker","completeLayers","layers","comps","layerData","jLen","kLen","hasMask","maskProps","masksProperties","convertPathsToAbsoluteValues","ty","findCompLayers","refId","completeShapes","shapes","completeText","findComp","__used","ks","it","checkVersion","animVersionString","animVersion","checkText","minimumVersion","updateTextLayer","textLayer","documentData","iterateLayers","assets","checkChars","chars","charData","ip","op","st","sr","sk","sa","checkPathProperties","pathData","checkColors","iterateShapes","checkShapes","completeClosingShapes","closed","cl","moduleOb","__complete","completeChars","dataFunctionManager","assetLoader","formatResponse","contentTypeHeader","load","errorCallback","completeData","animation","createProcess","processId","loadData","completeAnimation","ImagePreloader","proxyImage","imageLoaded","loadedAssets","totalImages","loadedFootagesCount","totalFootages","imagesLoadedCb","footageLoaded","getAssetsPath","assetData","originalPath","imagePath","testImageLoaded","intervalId","getBBox","_imageLoaded","createFootageData","ob","footageData","_footageLoaded","ImagePreloaderFactory","images","loadAssets","_createImageData","setAssetsPath","setPath","loadedImages","loadedFootages","getAsset","createImgData","createImageData","setAttributeNS","_elementHelper","setCacheType","elementHelper","BaseEvent","triggerEvent","eventName","_cbs","callbacks","markerParser","parsePayloadLines","lines","keysCount","_markers","markers","_marker","markerData","tm","dr","cm","__","ProjectInterface","registerComposition","compositions","_thisProjectFunction","nm","prepareFrame","xt","currentFrame","compInterface","renderers","registerRenderer","getRenderer","getRegisteredRenderer","_typeof$4","AnimationItem","isLoaded","frameRate","frameMult","playSpeed","playDirection","playCount","animationID","timeCompleted","segmentPos","isSubframeEnabled","_idle","_completedLoop","projectInterface","imagePreloader","audioController","configAnimation","onSetupError","onSegmentComplete","drawnFrameEvent","setParams","animType","RendererClass","globalData","defs","setProjectInterface","autoloadSegments","setupAnimation","wrapperAttributes","getNamedItem","prerender","includeLayers","newLayers","fonts","fontManager","addChars","addFonts","initExpressions","loadNextSegment","segment","segmentPath","loadSegments","imagesLoaded","checkLoaded","preloadImages","animData","fr","searchExtraCompositions","updaFrameModifier","waitForFontsLoaded","triggerConfigError","rendererType","initItems","gotoFrame","_width","_height","updateContainerSize","renderFrame","resetFrame","triggerRenderFrameError","togglePause","setCurrentRawFrameValue","getMarkerData","markerName","numValue","frameModifier","advanceTime","_isComplete","checkSegments","adjustSegment","pendingFrame","setLoop","isLooping","getAssetData","hide","updateDocumentData","getElementByPath","animationManager","registeredAnimations","initTime","playingAnimationsNum","_stopped","_isFrozen","removeElement","animItem","subtractPlayingCount","registerAnimation","elem","addPlayingCount","activate","nowTime","elapsedTime","requestAnimationFrame","searchAnimations","standalone","animElements","getElementsByClassName","lenAnims","getElementsByTagName","freeze","unfreeze","getRegisteredAnimations","animations","BezierFactory","beziers","bezEasing","BezierEasing","kSplineTableSize","kSampleStepSize","float32ArraySupported","aA1","aA2","B","C","calcBezier","aT","getSlope","_p","_mSampleValues","_precomputed","mX1","mY1","mX2","mY2","_precompute","_getTForX","_calcSampleValues","aX","mSampleValues","intervalStart","currentSample","lastSample","guessForT","initialSlope","aGuessT","currentSlope","newtonRaphsonIterate","aA","aB","currentX","currentT","binarySubdivide","pooling","poolFactory","initialLength","_create","_release","_length","_maxLength","pool","newElement","release","bezierLengthPool","addedLength","percents","lengths","segmentsLengthPool","totalLength","bezFunction","math","pointOnLine2D","x1","y1","x2","y2","x3","y3","det1","getBezierLength","pt1","pt2","pt3","pt4","ptCoord","perc","ptDistance","curveSegments","point","lastPoint","lengthData","BezierData","segmentLength","PointData","partial","partialLength","buildBezierData","storedData","bezierName","bezierData","getDistancePerc","initPos","lengthPos","lPerc","bezierSegmentPoints","getSegmentsLength","shapeData","segmentsLength","pathV","pathO","pathI","getNewSegment","startPerc","endPerc","t0","t1","u0","u1","u0u0u0","t0u0u0_3","t0t0u0_3","t0t0t0","u0u0u1","t0u0u1_3","t0t0u1_3","t0t0t1","u0u1u1","t0u1u1_3","t0t1u1_3","t0t1t1","u1u1u1","t1u1u1_3","t1t1u1_3","t1t1t1","getPointInSegment","pointOnLine3D","z1","z2","z3","diffDist","dist1","dist2","dist3","bez","initFrame","mathAbs","interpolateValue","frameNum","caching","offsetTime","propType","pv","keyData","nextKeyData","keyframeMetadata","fnc","iterationIndex","keyframesMetadata","endValue","nextKeyTime","keyTime","ti","ind","__fnct","getBezierEasing","segmentPerc","distanceInLine","lastFrame","_lastKeyframeIndex","_lastAddedLength","_lastPoint","outX","outY","inX","inY","keyValue","sh","quaternionToEuler","slerp","createQuaternion","omega","cosom","sinom","scale0","scale1","ax","ay","az","aw","bx","bz","bw","acos","sin","quat","qx","qy","qz","qw","heading","atan2","attitude","asin","bank","c1","cos","c2","c3","s1","s2","s3","getValueAtCurrentTime","renderedFrame","endTime","_caching","renderResult","setVValue","multipliedValue","mult","_mdf","processEffectsSequence","frameId","effectsSequence","lock","_isFirstFrame","finalValue","kf","addEffect","effectFunction","addDynamicProperty","ValueProperty","vel","MultiDimensionalProperty","KeyframedValueProperty","KeyframedMultidimensionalProperty","arrLen","PropertyFactory","getProp","sid","slotManager","DynamicPropertyContainer","dynamicProperties","_isAnimated","iterateDynamicProperties","initDynamicPropertyContainer","pointPool","ShapePath","setPathData","setLength","doubleArrayLength","setXYAt","setTripleAt","vX","vY","oX","oY","iX","iY","newPath","vertices","outPoints","inPoints","cnt","shapePool","shapePath","cloned","ShapeCollection","addShape","releaseShapes","shapeCollectionPool","newShapeCollection","shapeCollection","ShapePropertyFactory","interpolateShape","keyPropS","keyPropE","isHold","vertexValue","interpolateShapeCurrentTime","resetShape","paths","localShapeCollection","shape1","shape2","shapesEqual","ShapeProperty","KeyframedShapeProperty","EllShapeProperty","cPoint","EllShapePropertyFactory","convertEllToPath","p0","s0","_cw","_v","StarShapeProperty","StarShapePropertyFactory","sy","ir","is","convertToPath","convertStarToPath","convertPolygonToPath","or","os","rad","roundness","perimSegment","numPts","longFlag","longRad","shortRad","longRound","shortRound","longPerimSegment","shortPerimSegment","currentAng","ox","oy","RectShapeProperty","RectShapePropertyFactory","convertRectToPath","v0","Matrix","_cos","_sin","_tan","tan","_rnd","rotate","mCos","mSin","rotateX","rotateY","rotateZ","shear","skew","skewFromAxis","sz","setTransform","translate","tx","a2","b2","d2","e2","f2","g2","i2","j2","k2","l2","m2","n2","o2","_identityCalculated","a1","b1","d1","e1","f1","g1","i1","j1","k1","l1","m1","n1","o1","matrix","matrixProps","isIdentity","_identity","matr","cloneFromProps","applyToPoint","applyToX","applyToY","applyToZ","getInverseMatrix","determinant","inverseMatrix","inversePoint","applyToPointArray","inversePoints","pts","retPts","applyToTriplePoints","p4","p5","p12","p13","applyToPointStringified","toCSS","roundMatrixProperty","to2dCSS","_typeof$3","lottie","setLocation","setSubframeRendering","setPrefix","setQuality","inBrowser","installPlugin","getFactory","checkReady","readyStateCheckInterval","getQueryVariable","pair","useWebWorker","setIDPrefix","__getFactory","scripts","myScript","define","ShapeModifiers","registerModifier","getModifier","ShapeModifier","TrimModifier","PuckerAndBloatModifier","initModifierProperties","addShapeToModifier","setAsAnimated","processKeys","sValue","eValue","pathsData","calculateShapeEdges","shapeLength","totalModifierLength","segmentOb","shapeSegments","shapeS","shapeE","releasePathsData","processShapes","shapePaths","_s","totalShapeLength","edges","newShapesData","addShapes","lastShape","addPaths","newPaths","addSegment","newShape","addSegmentFromArray","shapeSegment","currentLengthData","segmentCount","processPath","centerPoint","pathLength","clonedPath","TransformPropertyFactory","defaultVector","TransformProperty","pre","appliedTransformations","pz","rx","ry","rz","_isDirty","applyToMatrix","mat","forceRender","precalculateMatrix","autoOriented","getValueAtTime","autoOrient","_addDynamicProperty","getTransformProperty","RepeaterModifier","RoundCornersModifier","floatEqual","floatZero","lerp","lerpPoint","quadRoots","singleRoot","polynomialCoefficients","p3","singlePoint","PolynomialBezier","linearize","pointEqual","coeffx","coeffy","extrema","intersectData","t2","box","boundingBox","splitData","boxIntersect","intersectsImpl","depth","tolerance","intersections","maxRecursion","d1s","d2s","crossProduct","lineIntersection","start1","end1","start2","end2","polarOffset","pointDistance","hypot","ZigZagModifier","setPoint","outputBezier","amplitude","outAmplitude","inAmplitude","angO","angI","getPerpendicularVector","vector","rot","getProjectingAngle","cur","pVector","zigZagCorner","frequency","pointType","prevPoint","nextPoint","prevDist","nextDist","zigZagSegment","normalAngle","linearOffset","offsetSegment","p1a","p1b","p2b","p2a","joinLines","seg1","seg2","lineJoin","miterLimit","angleOut","tangentAngle","angleIn","intersection","getIntersection","intersect","pruneSegmentIntersection","outa","outb","pruneIntersections","offsetSegmentSplit","mid","inflectionPoints","OffsetPathModifier","getFontProperties","fontData","fStyle","fWeight","weight","tr","so","eo","pMatrix","rMatrix","sMatrix","tMatrix","applyTransforms","inv","elemsData","_currentCopies","_elements","_groups","resetElements","_processed","cloneElements","newElements","changeGroupRender","renderFlag","_render","itemsTransform","cont","hasReloaded","copies","ix","reloadShapes","elems","offsetModulo","roundOffset","pProps","rProps","sProps","iteration","mProps","rd","currentV","currentI","currentO","closerV","newPosPerc","derivative","denom","tcusp","p10","p11","p20","p21","bounds","shapeSegmentInverted","pointsType","lj","inputBezier","multiSegments","lastSeg","multiSegment","FontManager","emptyChar","combinedCharacters","BLACK_FLAG_CODE_POINT","surrogateModifiers","setUpNode","family","fontVariant","familyArray","enabledFamilies","trimFontOptions","createHelper","def","helper","engine","fontProps","tHelper","fFamily","fClass","tCanvasHelper","OffscreenCanvas","measureText","getComputedTextLength","getCodePoint","isRegionalCode","Font","typekitLoaded","_warned","setIsLoadedBinded","setIsLoaded","checkLoadedFontsBinded","checkLoadedFonts","isModifier","firstCharCode","secondCharCode","isZeroWidthJoiner","charCode","isFlagEmoji","isCombinedCharacter","_char3","isRegionalFlag","isVariationSelector","fontPrototype","ch","fontArr","_pendingFonts","loadedSelector","shouldLoadFont","monoCase","sansCase","fPath","fOrigin","rel","sc","getCharData","_char","getFontByName","fName","_char2","fontName","doubleSize","singleSize","loadedCount","SlotManager","slotFactory","RenderableElement","initRenderable","isInRange","isTransparent","renderableComponents","addRenderableComponent","removeRenderableComponent","prepareRenderableFrame","checkLayerLimits","checkTransparency","finalTransform","mProp","renderConfig","hideOnTransparent","renderRenderable","sourceRectAtTime","getLayerSize","textData","getBlendMode","blendModeEnums","SliderEffect","AngleEffect","ColorEffect","PointEffect","LayerIndexEffect","MaskIndexEffect","CheckboxEffect","NoValueEffect","EffectsManager","effects","ef","effectElements","effectItem","GroupEffect","BaseElement","FrameElement","FootageElement","imageLoader","initBaseData","AudioElement","_isPlaying","_canPlay","_currentTime","_volumeMultiplier","_previousVolume","_placeholder","lv","au","BaseRenderer","eff","checkMasks","LayerExpressionInterface","EffectsExpressionInterface","ShapeExpressionInterface","TextExpressionInterface","CompExpressionInterface","layerInterface","maskManager","registerMaskInterface","effectsInterface","createEffectsInterface","registerEffectsInterface","shapeInterface","shapesData","itemsData","textInterface","setBlendMode","blendModeValue","bm","baseElement","layerElement","layerId","effectsManager","prepareProperties","isVisible","_isParent","getBaseElement","FootageInterface","getFootageData","timeRemapped","totalVolume","volumeValue","checkLayers","buildItem","checkPendingElements","createItem","layer","createImage","createComp","createSolid","createNull","createShape","createText","createCamera","createFootage","buildAllItems","pInterface","progressiveLoad","buildElementParenting","parentName","hierarchy","setAsParent","setHierarchy","addPendingElement","pendingElements","pathValue","setupGlobalData","fontsContainer","compSize","effectTypes","TRANSFORM_EFFECT","TransformElement","MaskElement","maskElement","viewData","solidPath","expansor","feMorph","currentMasks","maskType","maskRef","getShapeProp","lastPath","filterID","expan","lastOperator","filterId","lastRadius","createLayerSolidPath","invRect","drawPath","maskedElement","initTransform","_matMdf","_localMatMdf","_opMdf","localMat","localOpacity","ao","renderTransform","finalMat","renderLocalTransform","localTransforms","lmat","localOp","searchEffectTransforms","renderableEffectsManager","transformEffects","getEffects","globalToLocal","transforms","ptNew","mHelper","getMaskProperty","isFirstFrame","getMaskelement","pathNodes","pathString","pathShapeValue","filtersFactory","filId","skipCoordinates","fil","feColorMatrix","featureSupport","svgLumaHidden","offscreenCanvas","registeredEffects$1","idPrefix","SVGEffects","filterManager","createFilter","Effect","countsAsEffect","registerEffect$1","SVGBaseElement","HierarchyElement","RenderableDOMElement","IImageElement","initElement","sourceRect","ProcessedElement","IShapeElement","initRendererElement","createContainerElements","matteElement","transformedElement","_sizeChanged","layerElementParent","td","matteMasks","gg","tt","ln","hd","cp","clipId","cpGroup","renderElement","destroyBaseElement","createRenderableComponents","getMatte","matteType","useElement","masker","createAlphaToLuminanceFilter","maskGroup","maskGrouper","feCTr","feFunc","alphaRect","setMatte","initHierarchy","checkParenting","createContent","renderInnerContent","innerElem","imagePreserveAspectRatio","addShapeToModifiers","shapeModifiers","isShapeInAnimatedModifiers","isAnimatedWithShape","renderModifiers","searchProcessedElement","processedElements","addProcessedElement","lineCapEnum","lineJoinEnum","SVGShapeData","transformers","caches","lStr","lvl","SVGStyleData","pElem","msElem","DashProperty","dataProps","dashStr","dashArray","dashoffset","SVGStrokeStyleData","styleOb","SVGFillStyleData","SVGNoStyleData","GradientProperty","cLength","_cmdf","_omdf","_collapsable","checkCollapsable","_hasOpacity","SVGGradientFillStyleData","initGradientData","SVGGradientStrokeStyleData","ShapeGroupData","prevViewData","gr","SVGTransformData","comparePoints","stops","setGradientData","setGradientOpacity","pathElement","gradientId","gfill","gf","cst","opacityId","maskId","opFill","lc","of","ost","buildShapeString","_o","shapeString","SVGElementsRenderer","_identityMatrix","_matrixHelper","renderContentTransform","styleData","itemData","renderNoop","renderPath","pathStringTransformed","redraw","iterations","lLen","renderFill","styleElem","renderGradientStroke","renderGradient","renderStroke","hasOpacity","attr1","attr2","cValues","oValues","ang","createRenderFunction","SVGShapeElement","stylesList","animatedContents","LetterProps","sw","fc","TextProperty","_frameId","keysIndex","canResize","minimumFontSize","currentData","ascent","boxWidth","defaultBoxWidth","justifyOffset","lh","lineWidths","ls","ps","fillColorAnim","strokeColorAnim","strokeWidthAnim","yOffset","finalSize","finalText","finalLineHeight","copyData","searchProperty","completeTextData","initSecondaryElement","identityMatrix","buildExpressionInterface","searchShapes","filterUniqueShapes","tempShapes","areAnimated","setShapesAsAnimated","elementData","addToAnimatedContents","createGroupElement","createTransformElement","transformProperty","createShapeElement","ownTransformers","setElementStyles","currentTransform","processedPos","ownStyles","ownModifiers","renderShape","animatedContent","updated","setCurrentData","searchKeyframes","getKeyframeValue","_finalValue","textKeys","buildFinalText","charactersArray","shouldCombine","shouldCombineNext","currentChars","newLineFlag","letters","anchorGrouping","currentSize","currentPos","currentLine","lineWidth","maxLineWidth","trackingOffset","currentHeight","boxHeight","lastSpaceIndex","currentChar","uncollapsedSpaces","an","anIndexes","animatorJustifyOffset","extra","animatorData","letterData","based","animators","indexes","fh","fs","fb","rn","totalChars","newInd","currentInd","dData","recalculate","canResizeFont","_canResize","setMinimumFontSize","_fontValue","TextSelectorProp","TextSelectorPropFactory","_currentTextLength","finalS","finalE","xe","ne","getMult","textProperty","easer","tot","smoothness","threshold","newCharsFlag","getTextSelectorProp","TextAnimatorDataProperty","animatorProps","defaultData","textAnimatorAnimatables","TextAnimatorProperty","renderType","_hasMaskedPath","_textData","_renderType","_elem","_animatorsData","_pathData","_moreOptions","alignment","renderedLetters","lettersChangedFlag","ITextElement","searchProperties","getMeasures","xPos","yPos","pathInfo","currentLength","currentPoint","pointInd","segmentInd","tanAngle","matrixHelper","renderedLettersCount","tLength","pi","letterValue","yOff","firstLine","offf","xPathPos","yPathPos","elemOpacity","letterSw","letterSc","letterFc","letterO","initPathPos","initSegmentInd","initPointInd","letterM","letterP","defaultPropsArray","animatorFirstCharOffset","justifyOffsetMult","isNewLine","animatorOffset","atan","textAnimator","createPathShape","shapeStr","_fontSize","applyTextPropertiesToMatrix","buildColor","colorData","emptyProp","validateText","buildNewText","emptyShapeData","SVGTextLottieElement","textSpans","ISolidElement","NullElement","SVGRendererBase","ICompElement","SVGCompElement","supports3d","SVGRenderer","svgElement","titleElement","descElement","descId","contentVisibility","viewBoxOnly","viewBoxSize","filterSize","runExpressions","destroyed","ShapeTransformManager","sequences","sequenceList","transform_key_count","singleShape","textContainer","buildTextContents","textArray","textContents","currentTextContent","buildShapeData","shapeItem","tSpan","usesGlyphs","cachedSpansLength","span","childSpan","glyph","glyphElement","_debug","tElement","textBox","bbox","renderedLetter","textSpan","findIndexByInd","appendElementInPos","elementIndex","tp","matteMask","nextElement","setElements","getElements","destroyElements","addTransformSequence","sequence","processSequence","processSequences","getNewKey","lumaLoader","lumaBuffer","lumaBufferCtx","loadLuma","_svg","createLumaSvgFilter","createCanvas","loadLumaCanvas","getLumaCanvas","registeredEffects","CVEffects","CVMaskElement","hasMasks","CVBaseElement","canvasContext","beginPath","moveTo","lineTo","bezierCurveTo","save","operationsMap","CVShapeData","transformsManager","styledShapes","styledShape","trNodes","CVShapeElement","CVTextElement","currentRender","sWidth","fValue","CVImageElement","CVSolidElement","CanvasRendererBase","CanvasContext","strokeStyle","lineCap","CVContextData","cArrPos","cTr","nativeContext","transformMat","currentOpacity","currentFillStyle","appliedFillStyle","currentStrokeStyle","appliedStrokeStyle","currentLineWidth","appliedLineWidth","currentLineCap","appliedLineCap","currentLineJoin","appliedLineJoin","appliedMiterLimit","currentMiterLimit","CVCompElement","CanvasRenderer","clearCanvas","currentGlobalAlpha","contextData","ctxTransform","ctxOpacity","ctxFillStyle","ctxStrokeStyle","ctxLineWidth","ctxLineCap","ctxLineJoin","ctxMiterLimit","ctxFill","ctxFillRect","ctxStroke","HBaseElement","HSolidElement","HShapeElement","shapesContainer","currentBBox","HTextElement","textPaths","isMasked","HCameraElement","pe","_prevMat","HImageElement","HybridRendererBase","threeDElements","camera","HCompElement","HybridRenderer","createElements","buffers","bufferCanvas","bufferCanvas2","_isProxy","transformCanvas","blendMode","globalCompositeOperation","hideElement","showElement","clearRect","prepareLayer","bufferCtx","getTransform","exitLayer","forceRealStack","transformHelper","dashResetter","preTransforms","co","wi","da","addTransformToStyleList","removeTransformFromStyleList","closeStyles","shouldRender","ownTransforms","_shouldRender","renderShapeTransform","parentTransform","groupTransform","drawLayer","currentStyle","coOp","grd","setLineDash","lineDashOffset","closePath","isMain","renderGradientFill","renderStyledShape","shapeNodes","groupTransformMat","createLinearGradient","createRadialGradient","addColorStop","hasFill","hasStroke","commands","pathArr","commandsCounter","lastFill","lastStroke","lastStrokeW","widthCrop","heightCrop","imgW","imgH","imgRel","canvasRel","par","globalAlpha","actionFlag","containerStyle","mozTransformOrigin","setContext","isDashed","elementWidth","elementHeight","elementRel","animationRel","fillType","duplicate","newLength","forceRestore","currentContext","prevStack","saveOnNativeFlag","currentStack","newStack","trProps","checkBlendMode","tg","transformedElementStyle","matrixValue","webkitTransform","addEffects","_renderShapeFrame","shapeCont","getTransformedPoint","calculateShapeBoundingBox","vPoint","oPoint","nextIPoint","nextVPoint","getBoundsOfCurve","shapeBoundingBox","xMax","yMax","tempBoundingBox","b2ac","calculateF","calculateBoundingBox","expandStrokeBoundingBox","widthProperty","kfw","currentBoxContains","changed","shapeStyle","shapeTransform","compW","compH","innerElemStyle","tParent","tCont","tContStyle","tContTranslation","tStyle","tSpanTranslation","svgStyle","textPath","svgTransform","perspectiveStyle","perspectiveElem","webkitPerspective","mTransf","diffVector","mag","lookDir","lookLengthOnXZ","mRotationX","mRotationY","hasMatrixChanged","matValue","imageElem","newDOMElement","addTo3dContainer","nextDOMElement","nextLayer","getThreeDContainerByPos","startPos","endPos","createThreeDContainer","threeDContainerData","build3dContainers","lastThreeDContainerData","currentContainer","resizerElem","cWidth","cHeight","floatingContainer","_createBaseContainerElements","_thisLayerFunction","pixelAspect","frameDuration","displayStartTime","numLayers","_typeof$2","seedRandom","rngname","startdenom","significance","ARC4","keylen","me","S","flatten","typ","mixkey","smear","stringseed","tostring","shortseed","entropy","crypto","msCrypto","getRandomValues","autoseed","arc4","prng","int32","quick","pass","is_math_call","initialize$2","SHAPE","_typeof$1","ExpressionManager","_lottieGlobal","$bm_isInstanceOfArray","isNumerable","tOfV","$bm_neg","tOfA","lenA","retArr","easeInBez","easeOutBez","easeInOutBez","tOfB","lenB","mod","$bm_sum","$bm_sub","$bm_mul","$bm_div","$bm_mod","radiansToDegrees","radians_to_degrees","degreesToRadians","degrees_to_radians","helperLengthArray","arr1","arr2","normalize","vec","rgbToHsl","hue2rgb","linear","tMin","tMax","value1","value2","_tMin","rnd","inTangents","outTangents","inVertexPoint","outVertexPoint","arrPlaceholder","initiateExpression","noOp","needsVelocity","_needsRandom","elemType","$bm_transform","thisProperty","valueAtTime","inPoint","outPoint","loopIn","loop_in","loopOut","loop_out","smooth","toWorld","fromWorld","fromComp","toComp","fromCompToSurface","rotation","anchorPoint","thisLayer","thisComp","velocityAtTime","scoped_bm_rt","expression_function","eval","numKeys","wiggle","freq","amp","iWiggle","lenWiggle","addedAmps","periods","loopInDuration","loopOutDuration","getVelocityAtTime","velocity","textIndex","textTotal","selectorValue","lookAt","elem1","elem2","fVec","pitch","val1","val2","applyEase","ease","iKey","lenKey","nearestKey","obKey","framesToTime","fps","timeToFrames","seedrandom","randSeed","posterizeTime","framesPerSecond","hasParent","executeExpression","frameExpressionId","__preventDeadCodeRemoval","Expressions","stackCount","registers","pushExpression","popExpression","releaseInstances","registerExpressionProperty","expression","MaskManagerInterface","MaskInterface","_mask","_data","_masksInterfaces","ExpressionPropertyInterface","defaultUnidimensionalValue","defaultMultidimensionalValue","completeProperty","expressionValue","speedAtTime","getSpeedAtTime","propertyGroup","defaultGetter","UnidimensionalPropertyInterface","arrValue","MultidimensionalPropertyInterface","TransformExpressionInterface","_thisFunction","xRotation","yRotation","xPosition","yPosition","zPosition","_px","_py","_pz","_transformFactory","getMatrix","toWorldMat","toWorldVec","applyPoint","fromWorldVec","invertPoint","sampleImage","transformInterface","anchorPointDescriptor","anchor_point","startTime","_name","propertyGroupFactory","interfaceFunction","parentPropertyGroup","PropertyInterface","propertyName","createGroupInterface","groupInterface","mn","_propertyGroup","createValueInterface","numProperties","np","en","expressionProperty","setGroupProperty","effectsData","ShapePathInterface","propertyIndex","iterateElements","groupInterfaceFactory","fillInterfaceFactory","strokeInterfaceFactory","trimInterfaceFactory","ellipseInterfaceFactory","starInterfaceFactory","rectInterfaceFactory","roundedInterfaceFactory","repeaterInterfaceFactory","gradientFillInterfaceFactory","interfaces","transformInterfaceFactory","cix","contentsInterfaceFactory","startPoint","endPoint","_dashPropertyGroup","dashOb","addPropertyToDashOb","dash","skewAxis","outerRadius","outerRoundness","innerRoundness","innerRadius","_interfaceFunction","_sourceText","sourceText","stringValue","fillColor","dataInterfaceFactory","outlineInterface","currentPropertyName","currentProperty","propertyNameIndex","outlineInterfaceFactory","dataInterface","footage","getInterface","expressionHelpers","searchExpressions","_cachingAtTime","getStaticValueAtTime","addPropertyDecorator","durationFlag","cycleDuration","firstKeyFrame","lastKeyFrame","initV","endV","repeats","lastValue","nextLastValue","firstValue","nextFirstValue","samples","sampleValue","sampleFrequency","getTransformValueAtTime","_transformCachingAtTime","anchor","rotationZ","rotationY","rotationX","positionX","positionY","positionZ","getTransformStaticValueAtTime","propertyGetProp","ShapePropertyConstructorFunction","getConstructorFunction","KeyframedShapePropertyConstructorFunction","getKeyframedConstructorFunction","ShapeExpressions","isClosed","pointOnPath","_segmentsLength","accumulatedLength","initIndex","vectorOnPath","vectorType","xLength","yLength","magnitude","tangentOnPath","normalOnPath","shapeValue","propertyGetShapeProp","trims","initialize$1","addDecorator","getExpressionValue","calculateExpression","isKeyframed","hasExpressions","SVGComposableEffect","createMergeNode","resultId","ins","feMergeNode","feMerge","linearFilterValue","SVGTintFilter","linearFilter","matrixFilter","SVGFillFilter","SVGStrokeEffect","initialized","SVGTritoneFilter","feComponentTransfer","feFuncR","feFuncG","feFuncB","SVGProLevelsFilter","createFeFunc","feFuncA","feFuncRComposed","feFuncGComposed","feFuncBComposed","SVGDropShadowEffect","globalFilterSize","feGaussianBlur","feOffset","feFlood","feComposite","colorBlack","colorWhite","groupPath","elemChildren","pathMasker","dasharrayValue","getTotalLength","lineLength","color1","color2","color3","tableR","tableG","tableB","getTableValue","inputBlack","inputWhite","gamma","outputBlack","outputWhite","colorValue","outputDelta","inputDelta","col","_svgMatteSymbols","SVGMatte3Effect","filterElem","SVGGaussianBlurEffect","TransformEffect","SVGTransformEffect","CVTransformEffect","findSymbol","replaceInParent","symbolId","nextChild","useElem","setElementAsMask","symbol","sigma","dimensions","sigmaX","sigmaY","edgeMode","forceFrame","isUniformScale","scaleHeight","scaleWidth","monthsShortWithDots","monthsShortWithoutDots","monthsParse","monthsRegex","defineLocale","monthsShort","monthsShortRegex","monthsStrictRegex","monthsShortStrictRegex","longMonthsParse","shortMonthsParse","weekdays","weekdaysShort","weekdaysMin","weekdaysParseExact","LTS","LL","LLL","LLLL","calendar","sameDay","nextDay","nextWeek","lastDay","lastWeek","sameElse","relativeTime","future","past","ww","dayOfMonthOrdinalParse","dow","doy","hookCallback","hooks","setHookCallback","hasOwnProp","isObjectEmpty","createUTC","strict","createLocalOrUTC","defaultParsingFlags","unusedTokens","unusedInput","charsLeftOver","nullInput","invalidEra","invalidMonth","invalidFormat","userInvalidated","iso","parsedDateParts","era","rfc2822","weekdayMismatch","getParsingFlags","_pf","parsedParts","isNowValid","_d","getTime","invalidWeekday","_strict","bigHour","isFrozen","_isValid","createInvalid","fun","momentProperties","updateInProgress","copyConfig","momentPropertiesLen","_isAMomentObject","_f","_l","_tzm","_isUTC","_locale","Moment","updateOffset","isMoment","suppressDeprecationWarnings","deprecate","firstTime","deprecationHandler","argLen","deprecations","deprecateSimple","_config","_dayOfMonthOrdinalParseLenient","_dayOfMonthOrdinalParse","_ordinalParse","mergeConfigs","parentConfig","childConfig","Locale","defaultCalendar","mom","_calendar","zeroFill","targetLength","forceSign","absNumber","zerosToFill","formattingTokens","localFormattingTokens","formatFunctions","formatTokenFunctions","addFormatToken","padded","localeData","removeFormattingTokens","makeFormatFunction","formatMoment","invalidDate","replaceLongDateFormatTokens","defaultLongDateFormat","_longDateFormat","formatUpper","tok","defaultInvalidDate","_invalidDate","defaultOrdinal","defaultDayOfMonthOrdinalParse","_ordinal","defaultRelativeTime","withoutSuffix","isFuture","_relativeTime","pastFuture","dates","isoweekdays","isoweekday","DDD","dayofyears","dayofyear","millisecond","quarters","quarter","weekyears","weekyear","GG","isoweekyears","isoweekyear","weeks","W","isoweeks","isoweek","normalizeUnits","normalizeObjectUnits","inputObject","normalizedProp","normalizedInput","priorities","isoWeekday","weekYear","isoWeekYear","isoWeek","getPrioritizedUnits","unitsObj","regexes","match1","match2","match3","match4","match6","match1to2","match3to4","match5to6","match1to3","match1to4","match1to6","matchUnsigned","matchSigned","matchOffset","matchShortOffset","matchTimestamp","matchWord","match1to2NoLeadingZero","match1to2HasZero","addRegexToken","regex","strictRegex","isStrict","getParseRegexForToken","unescapeFormat","regexEscape","absFloor","toInt","argumentForCoercion","coercedNumber","tokens","addParseToken","tokenLen","addWeekParseToken","_w","addTimeToArrayFromToken","isLeapYear","YEAR","MONTH","DATE","HOUR","MINUTE","SECOND","MILLISECOND","WEEK","WEEKDAY","daysInYear","parseTwoDigitYear","getSetYear","makeGetSet","getIsLeapYear","keepTime","set$1","getUTCMilliseconds","getUTCSeconds","getUTCMinutes","getUTCHours","getUTCDate","getUTCDay","getDay","getUTCMonth","getUTCFullYear","getFullYear","setUTCMilliseconds","setUTCSeconds","setUTCMinutes","setUTCHours","setUTCDate","setUTCFullYear","setFullYear","stringGet","stringSet","prioritized","prioritizedLen","modMonth","defaultLocaleMonths","defaultLocaleMonthsShort","MONTHS_IN_FORMAT","defaultMonthsShortRegex","defaultMonthsRegex","localeMonths","_months","isFormat","localeMonthsShort","_monthsShort","handleStrictParse","monthName","ii","llc","_monthsParse","_longMonthsParse","_shortMonthsParse","localeMonthsParse","_monthsParseExact","setUTCMonth","getSetMonth","computeMonthsParse","_monthsShortStrictRegex","_monthsShortRegex","_monthsStrictRegex","_monthsRegex","cmpLenRev","shortP","longP","shortPieces","longPieces","mixedPieces","createDate","UTC","firstWeekOffset","fwd","dayOfYearFromWeeks","resYear","resDayOfYear","weekOfYear","resWeek","weekOffset","weeksInYear","weekOffsetNext","localeWeek","_week","defaultLocaleWeek","localeFirstDayOfWeek","localeFirstDayOfYear","getSetWeek","getSetISOWeek","parseWeekday","weekdaysParse","parseIsoWeekday","shiftWeekdays","ws","weekdaysMinRegex","weekdaysShortRegex","weekdaysRegex","defaultLocaleWeekdays","defaultLocaleWeekdaysShort","defaultLocaleWeekdaysMin","defaultWeekdaysRegex","defaultWeekdaysShortRegex","defaultWeekdaysMinRegex","localeWeekdays","_weekdays","localeWeekdaysShort","_weekdaysShort","localeWeekdaysMin","_weekdaysMin","handleStrictParse$1","weekdayName","_weekdaysParse","_shortWeekdaysParse","_minWeekdaysParse","localeWeekdaysParse","_weekdaysParseExact","_fullWeekdaysParse","getSetDayOfWeek","getSetLocaleDayOfWeek","getSetISODayOfWeek","computeWeekdaysParse","_weekdaysStrictRegex","_weekdaysRegex","_weekdaysShortStrictRegex","_weekdaysShortRegex","_weekdaysMinStrictRegex","_weekdaysMinRegex","minp","shortp","longp","minPieces","hFormat","kFormat","lowercase","matchMeridiem","_meridiemParse","localeIsPM","kInput","_isPm","isPM","_meridiem","pos1","pos2","defaultLocaleMeridiemParse","getSetHour","localeMeridiem","isLower","globalLocale","baseConfig","meridiemParse","locales","localeFamilies","commonPrefix","minl","normalizeLocale","chooseLocale","names","loadLocale","isLocaleNameSane","oldLocale","_abbr","aliasedRequire","getSetGlobalLocale","getLocale","abbr","parentLocale","updateLocale","tmpLocale","listLocales","checkOverflow","_overflowDayOfYear","_overflowWeeks","_overflowWeekday","extendedIsoRegex","basicIsoRegex","tzRegex","isoDates","isoTimes","aspNetJsonRegex","obsOffsets","UT","GMT","EDT","EST","CDT","CST","MDT","MST","PDT","PST","configFromISO","allowTime","dateFormat","timeFormat","tzFormat","isoDatesLen","isoTimesLen","configFromStringAndFormat","extractFromRFC2822Strings","yearStr","monthStr","dayStr","hourStr","minuteStr","secondStr","untruncateYear","preprocessRFC2822","checkWeekday","weekdayStr","parsedInput","calculateOffset","obsOffset","militaryOffset","numOffset","hm","configFromRFC2822","parsedArray","configFromString","createFromInputFallback","currentDateArray","nowValue","_useUTC","configFromArray","expectedWeekday","yearToUse","dayOfYearFromWeekInfo","_dayOfYear","_nextDay","weekdayOverflow","curWeek","createLocal","ISO_8601","RFC_2822","skipped","stringLength","totalParsedInputLength","meridiemFixWrap","erasConvertYear","isPm","meridiemHour","configFromStringAndArray","tempConfig","bestMoment","scoreToBeat","currentScore","validFormatFound","bestFormatIsValid","configfLen","configFromObject","dayOrDate","createFromConfig","prepareConfig","preparse","configFromInput","prototypeMin","prototypeMax","pickBy","moments","ordering","isDurationValid","unitHasDecimal","orderLen","isValid$1","createInvalid$1","createDuration","Duration","_milliseconds","_days","_bubble","isDuration","absRound","compareArrays","dontConvert","lengthDiff","diffs","utcOffset","sign","offsetFromString","chunkOffset","cloneWithOffset","model","setTime","getDateOffset","getTimezoneOffset","getSetOffset","keepLocalTime","keepMinutes","localAdjust","_changeInProgress","addSubtract","getSetZone","setOffsetToUTC","setOffsetToLocal","setOffsetToParsedOffset","tZone","hasAlignedHourOffset","isDaylightSavingTime","isDaylightSavingTimeShifted","_isDSTShifted","isLocal","isUtcOffset","isUtc","aspNetRegex","isoRegex","diffRes","parseIso","momentsDifference","inp","positiveMomentsDifference","createAdder","period","isAdding","invalid","isMomentInput","isNumberOrStringArray","isMomentInputObject","objectTest","propertyTest","propertyLen","arrayTest","dataTypeTest","isCalendarSpec","getCalendarFormat","myMoment","calendar$1","sod","calendarFormat","localInput","inclusivity","localFrom","localTo","inputMs","isSameOrAfter","isSameOrBefore","asFloat","zoneDelta","monthDiff","wholeMonthDiff","keepOffset","inputString","defaultFormatUtc","defaultFormat","postformat","humanize","fromNow","toNow","newLocaleData","lang","MS_PER_SECOND","MS_PER_MINUTE","MS_PER_HOUR","MS_PER_400_YEARS","mod$1","dividend","localStartOfDate","utcStartOfDate","startOfDate","unix","toObject","isValid$2","parsingFlags","invalidAt","creationData","localeEras","eras","_eras","since","until","localeErasParse","eraName","narrow","localeErasConvertYear","getEraName","getEraNarrow","getEraAbbr","getEraYear","erasNameRegex","computeErasParse","_erasNameRegex","_erasRegex","erasAbbrRegex","_erasAbbrRegex","erasNarrowRegex","_erasNarrowRegex","matchEraAbbr","matchEraName","matchEraNarrow","matchEraYearOrdinal","_eraYearOrdinalRegex","erasName","erasAbbr","erasNarrow","abbrPieces","namePieces","narrowPieces","addWeekYearFormatToken","getter","getSetWeekYear","getSetWeekYearHelper","getSetISOWeekYear","getISOWeeksInYear","getISOWeeksInISOWeekYear","getWeeksInYear","weekInfo","getWeeksInWeekYear","weeksTarget","setWeekAll","dayOfYearData","getSetQuarter","erasParse","eraYearOrdinalParse","getSetDayOfMonth","getSetDayOfYear","getSetMinute","getSetMillisecond","getSetSecond","parseMs","getZoneAbbr","getZoneName","createUnix","createInZone","parseZone","preParsePostFormat","eraNarrow","eraAbbr","eraYear","isoWeeks","weeksInWeekYear","isoWeeksInYear","isoWeeksInISOWeekYear","isDST","zoneAbbr","zoneName","isDSTShifted","proto$1","get$1","setter","listMonthsImpl","listWeekdaysImpl","localeSorted","listMonths","listMonthsShort","listWeekdays","listWeekdaysShort","listWeekdaysMin","firstDayOfYear","firstDayOfWeek","langData","addSubtract$1","add$1","subtract$1","absCeil","bubble","monthsFromDays","monthsToDays","daysToMonths","makeAs","alias","asMilliseconds","asSeconds","asMinutes","asHours","asDays","asWeeks","asMonths","asQuarters","asYears","valueOf$1","clone$1","get$2","makeGetter","thresholds","substituteTimeAgo","relativeTime$1","posNegDuration","getSetRelativeTimeRounding","roundingFunction","getSetRelativeTimeThreshold","argWithSuffix","argThresholds","withSuffix","th","abs$1","toISOString$1","totalSign","ymSign","daysSign","hmsSign","proto$2","toIsoString","relativeTimeRounding","relativeTimeThreshold","HTML5_FMT","DATETIME_LOCAL","DATETIME_LOCAL_SECONDS","DATETIME_LOCAL_MS","TIME","TIME_SECONDS","TIME_MS","_goober","innerHTML","SnackbarContext","closeSnackbar","capitalise","originKeyExtractor","UNMOUNTED","EXITED","ENTERING","ENTERED","EXITING","initialStatus","appearStatus","nextCallback","componentDidMount","updateStatus","componentDidUpdate","prevProps","nextStatus","componentWillUnmount","cancelNextCallback","getTimeouts","mounting","performEnter","performExit","timeouts","safeSetState","onTransitionEnd","setNextCallback","doesNotHaveTimeoutOrListener","_this$props$nodeRef","refA","refB","useMemo","refValue","_props$style","defaultEasing","createTransition","_ref$duration","_ref$easing","_ref$delay","formattedDuration","formattedDelay","setTranslateValue","fakeTransform","offsetX","offsetY","transformValues","getTranslateValue","Slide","_props$direction","_props$timeout","handleRefIntermediary","useCallback","WarningIcon","ErrorIcon","persist","hideIconVariant","disableWindowBlurListener","autoHideDuration","iconVariant","shouldObjectMerge","optionsDuration","propsDuration","isNumberOrNull","numberish","getAutoHideDuration","getTransitionDuration","ComponentClasses","_getTransitionProps","_getTransitionProps2","toSnackbarAnchorOrigin","noOp$1","snackbarId","argums","useLayoutEffect","Snackbar","_props$disableWindowB","SnackbarProps","_props$SnackbarProps","timerAutoHide","setAutoHideTimer","autoHideDurationParam","handlePause","handleResume","classes$1","_root","SnackbarContent","classes$2","lessPadding","MaterialDesignContent","componentOrFunctionAction","MaterialDesignContent$1","memo","wrappedRoot","SnackbarItem","collapsed","_useState","setCollapsed","snack","handleExitedScreen","allClasses","_props$Component","containerClasses","containerRoot","containerAnchorOriginTopCenter","containerAnchorOriginBottomCenter","containerAnchorOriginTopRight","containerAnchorOriginBottomRight","containerAnchorOriginTopLeft","containerAnchorOriginBottomLeft","keepSnackbarClassKeys","componentOrFunctionContent","otherSnack","cbName","requestClose","indents","collapseWrapper","styles$1","_root$1","rootDense","_rootDense","_left","xsWidthMargin","_right","_center","SnackbarContainer","_props$classes","combinedClassname","SnackbarContainer$1","isOptions","messageOrOptions","_Component","optsOrUndefined","preventDuplicate","hasSpecifiedKey","merger","compareFunction","inQueue","snacks","handleDisplaySnack","handleDismissOldest","processQueue","popped","ignore","handleEnteredSnack","handleCloseSnack","shouldCloseAll","toBeClosed","handleExitedSnack","domRoot","_this$props$dense","Components","_this$props$Component","categ","category","existingOfCategory","snackbars","nomineeSnack","createPortal","isarray","pathToRegexp","tokensToFunction","tokensToRegExp","PATH_REGEXP","defaultDelimiter","escaped","capture","optional","prevText","escapeGroup","restrictBacktrack","escapeString","encodeURIComponentPretty","pretty","attachKeys","sensitive","route","endsWithDelimiter","groups","regexpToRegexp","arrayToRegexp","stringToRegexp","cachedSetTimeout","cachedClearTimeout","defaultSetTimout","defaultClearTimeout","runTimeout","currentQueue","draining","queueIndex","cleanUpNextTick","drainQueue","run","runClearTimeout","Item","nextTick","env","argv","binding","cwd","chdir","umask","ReactPropTypesSecret","emptyFunction","emptyFunctionWithReset","resetWarningCache","shim","secret","getShim","ReactPropTypes","bigint","bool","any","arrayOf","instanceOf","objectOf","oneOf","oneOfType","checkPropTypes","ex","UAParser","ClientUAInstance","getBrowser","cpu","getCPU","device","getDevice","getEngine","getOS","getUA","setUa","userAgentString","setUA","parseUserAgent","UserAgentInstance","setUserAgent","UAHelper","enumerableOnly","symbols","_getPrototypeOf","_setPrototypeOf","excluded","sourceKeys","sourceSymbolKeys","ReferenceError","_arrayWithHoles","_n","_iterableToArrayLimit","_unsupportedIterableToArray","_nonIterableRest","DeviceTypes","BrowserTypes","Chrome","Firefox","Opera","Yandex","Safari","InternetExplorer","Edge","Chromium","Ie","MobileSafari","EdgeChromium","MIUI","SamsungBrowser","OsTypes","IOS","Android","WindowsPhone","Windows","MAC_OS","InitialDeviceTypes","isTablet","isBrowser","isSmartTV","isConsole","isWearable","getNavigatorInstance","isIOS13Check","nav","maxTouchPoints","MSStream","mobilePayload","osVersion","isMobileType","isTabletType","isMobileAndTabletType","isSmartTVType","isBrowserType","isWearableType","isConsoleType","isEmbeddedType","getMobileVendor","getMobileModel","getDeviceType","isAndroidType","isWindowsType","isMacOsType","isWinPhoneType","isIOSType","_ref16","getOsVersion","_ref17","getOsName","_ref18","isChromeType","_ref19","isFirefoxType","_ref20","isChromiumType","_ref21","isEdgeType","_ref22","isYandexType","_ref23","isSafariType","_ref24","isMobileSafariType","_ref25","isOperaType","_ref26","isIEType","_ref27","isMIUIType","_ref28","isSamsungBrowserType","_ref29","getBrowserFullVersion","_ref30","getBrowserVersion","_ref31","major","getBrowserName","_ref32","getEngineName","_ref33","getEngineVersion","_ref34","isElectronType","isEdgeChromiumType","getIOS13","getIPad13","getIphone13","getIPod13","getUseragent","userAg","buildSelectorsObject","isEmbedded","isMobileSafari","isChromium","isMobileOnly","isDesktop","isWinPhone","isIOS","isChrome","isOpera","isIE","osName","fullBrowserVersion","browserVersion","browserName","mobileVendor","mobileModel","engineName","engineVersion","isEdge","isYandex","deviceType","isIOS13","isIPad13","isIPhone13","isIPod13","isElectron","isEdgeChromium","isLegacyEdge","isWindows","isMacOs","isMIUI","isSamsungBrowser","useDeviceData","hookUserAgent","aa","ca","ea","fa","ha","ja","ka","la","ma","acceptsBooleans","attributeName","attributeNamespace","mustUseProperty","sanitizeURL","removeEmptyString","ra","ta","qa","oa","__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED","va","wa","ya","za","Aa","Ba","Ca","Da","Ea","Fa","Ga","Ha","Ia","Ja","Ka","La","Ma","Na","Oa","prepareStackTrace","construct","Pa","Qa","_context","_init","Ra","Sa","Ta","Va","_valueTracker","stopTracking","Ua","Wa","Xa","Ya","_wrapperState","initialChecked","Za","db","eb","defaultSelected","gb","dangerouslySetInnerHTML","hb","ib","jb","kb","lb","namespaceURI","MSApp","execUnsafeLocalFunction","lineClamp","qb","rb","sb","tb","menuitem","area","br","embed","hr","keygen","wbr","ub","vb","wb","xb","srcElement","correspondingUseElement","yb","zb","Ab","Bb","Cb","stateNode","Db","Eb","Fb","Gb","Hb","Ib","Jb","Kb","Lb","Mb","Nb","Ob","Pb","Qb","Rb","Sb","Tb","Vb","alternate","Wb","memoizedState","dehydrated","Xb","Zb","sibling","Yb","$b","ac","unstable_scheduleCallback","bc","unstable_cancelCallback","cc","unstable_shouldYield","dc","unstable_requestPaint","unstable_now","ec","unstable_getCurrentPriorityLevel","unstable_ImmediatePriority","gc","unstable_UserBlockingPriority","hc","unstable_NormalPriority","ic","unstable_LowPriority","jc","unstable_IdlePriority","kc","oc","clz32","qc","rc","tc","uc","pendingLanes","suspendedLanes","pingedLanes","entangledLanes","entanglements","vc","xc","yc","zc","Ac","eventTimes","Cc","Dc","Ec","Fc","Gc","Hc","Ic","Jc","Kc","Lc","Mc","Nc","Oc","Pc","Qc","Rc","Sc","pointerId","Tc","blockedOn","domEventName","eventSystemFlags","targetContainers","Vc","Wc","isDehydrated","Xc","Yc","Zc","$c","ad","bd","cd","ReactCurrentBatchConfig","ed","fd","gd","Uc","jd","kd","ld","nd","od","pd","qd","_reactName","_targetInst","returnValue","isPropagationStopped","cancelBubble","isPersistent","wd","xd","yd","sd","eventPhase","bubbles","cancelable","timeStamp","isTrusted","ud","vd","Ad","screenX","screenY","pageX","pageY","getModifierState","zd","fromElement","toElement","movementX","movementY","Bd","Dd","dataTransfer","Fd","Hd","pseudoElement","Id","Jd","Ld","Md","Esc","Spacebar","Left","Up","Right","Down","Del","Win","Apps","Scroll","MozPrintableKey","Nd","Od","Alt","Control","Meta","Shift","Pd","Qd","Rd","Td","pressure","tangentialPressure","tiltX","tiltY","twist","pointerType","isPrimary","Vd","targetTouches","Xd","Yd","deltaX","wheelDeltaX","deltaY","wheelDeltaY","wheelDelta","deltaZ","deltaMode","Zd","$d","ae","be","documentMode","ce","de","ee","fe","ge","he","ie","le","oe","qe","se","te","ue","ve","we","ye","ze","oninput","Ae","detachEvent","Be","Ce","attachEvent","De","Ee","Fe","He","Je","Ke","Le","compareDocumentPosition","Me","HTMLIFrameElement","contentWindow","Ne","Oe","focusedElem","selectionRange","rangeCount","anchorNode","focusNode","focusOffset","createRange","setStart","removeAllRanges","addRange","setEnd","Pe","Qe","Re","Se","Te","Ue","Ve","We","animationend","animationiteration","animationstart","transitionend","Xe","Ye","Ze","$e","af","bf","cf","df","ff","hf","lf","mf","nf","Ub","pf","qf","rf","sf","J","F","tf","uf","parentWindow","vf","wf","xa","$a","ba","je","ke","xf","yf","zf","Af","Bf","Cf","Df","Ef","__html","Ff","Gf","Hf","Jf","queueMicrotask","If","Kf","Lf","Mf","previousSibling","Nf","Of","Pf","Qf","Rf","Sf","Tf","Uf","G","Vf","Wf","Xf","Yf","__reactInternalMemoizedUnmaskedChildContext","__reactInternalMemoizedMaskedChildContext","Zf","$f","ag","getChildContext","cg","__reactInternalMemoizedMergedChildContext","dg","eg","fg","hg","jg","kg","mg","ng","og","pg","qg","rg","sg","ug","vg","wg","xg","yg","I","zg","Ag","Bg","deletions","Cg","pendingProps","treeContext","retryLane","Dg","Eg","Fg","Gg","memoizedProps","Hg","Ig","Jg","Kg","Lg","_owner","_stringRef","Mg","Ng","Og","Pg","Qg","Rg","implementation","Sg","Tg","Ug","Vg","Wg","Xg","Yg","Zg","$g","ah","_currentValue","bh","childLanes","dependencies","firstContext","lanes","dh","eh","memoizedValue","gh","interleaved","ih","jh","kh","updateQueue","baseState","firstBaseUpdate","lastBaseUpdate","shared","mh","eventTime","lane","nh","K","oh","ph","qh","rh","uh","vh","wh","xh","yh","zh","Ah","Bh","Ch","revealOrder","Dh","Eh","_workInProgressVersionPrimary","Fh","ReactCurrentDispatcher","Gh","Hh","N","Ih","Jh","Kh","Lh","P","Mh","Nh","Oh","Ph","Qh","Rh","Sh","Th","baseQueue","Uh","Vh","Wh","lastRenderedReducer","hasEagerState","eagerState","lastRenderedState","Xh","Yh","Zh","$h","ai","bi","ci","di","lastEffect","stores","ei","fi","gi","deps","ji","ki","li","mi","ni","oi","qi","ri","si","ui","vi","xi","yi","zi","Ai","Bi","readContext","useImperativeHandle","useReducer","useDebugValue","useDeferredValue","useTransition","useMutableSource","useSyncExternalStore","unstable_isNewReconciler","identifierPrefix","Ci","Di","Ei","isMounted","_reactInternals","enqueueSetState","enqueueReplaceState","enqueueForceUpdate","Fi","shouldComponentUpdate","isPureReactComponent","Gi","Hi","componentWillReceiveProps","UNSAFE_componentWillReceiveProps","Ii","getSnapshotBeforeUpdate","UNSAFE_componentWillMount","componentWillMount","Ji","digest","Ki","Li","Mi","Ni","Oi","Pi","Qi","componentDidCatch","Ri","componentStack","Si","pingCache","Ti","Ui","Vi","Wi","ReactCurrentOwner","Xi","Yi","Zi","$i","aj","bj","cj","dj","baseLanes","cachePool","ej","fj","gj","hj","ij","UNSAFE_componentWillUpdate","componentWillUpdate","jj","kj","pendingContext","zj","Aj","Bj","Cj","mj","nj","oj","pj","qj","sj","dataset","dgst","tj","uj","_reactRetry","rj","subtreeFlags","vj","wj","isBackwards","rendering","renderingStartTime","tail","tailMode","xj","Dj","Ej","Fj","wasMultiple","suppressHydrationWarning","onclick","T","Gj","Hj","Ij","Jj","U","Kj","WeakSet","V","Lj","Mj","Nj","Pj","Qj","Rj","Sj","Tj","Uj","Vj","_reactRootContainer","Wj","X","Xj","Yj","Zj","onCommitFiberUnmount","ak","bk","ck","dk","ek","fk","gk","hk","ik","jk","kk","__reactInternalSnapshotBeforeUpdate","Vk","lk","mk","nk","Z","pk","qk","rk","tk","uk","vk","wk","xk","yk","zk","Ak","Bk","Ck","Dk","callbackNode","expirationTimes","expiredLanes","wc","callbackPriority","ig","Ek","Fk","Gk","Hk","Ik","Jk","Kk","Lk","Mk","Nk","Ok","finishedWork","finishedLanes","Pk","timeoutHandle","Qk","Rk","Sk","Tk","Uk","mutableReadLanes","Bc","Oj","onCommitFiberRoot","mc","onRecoverableError","Wk","onPostCommitFiberRoot","Xk","Yk","$k","isReactComponent","pendingChildren","al","mutableSourceEagerHydrationData","bl","pendingSuspenseBoundaries","dl","fl","gl","hl","il","yj","Zk","kl","reportError","ll","_internalRoot","nl","ol","rl","ql","unstable_scheduleHydration","form","sl","usingClientEntryPoint","Events","tl","findFiberByHostInstance","bundleType","rendererPackageName","ul","rendererConfig","overrideHookState","overrideHookStateDeletePath","overrideHookStateRenamePath","overrideProps","overridePropsDeletePath","overridePropsRenamePath","setErrorHandler","setSuspenseHandler","scheduleUpdate","currentDispatcherRef","findHostInstanceByFiber","findHostInstancesForRefresh","scheduleRefresh","scheduleRoot","setRefreshHandler","getCurrentFiber","reconcilerVersion","__REACT_DEVTOOLS_GLOBAL_HOOK__","vl","supportsFiber","inject","createRoot","unstable_strictMode","findDOMNode","flushSync","hydrateRoot","hydratedSources","_getVersion","_source","unmountComponentAtNode","unstable_batchedUpdates","unstable_renderSubtreeIntoContainer","checkDCE","_warn","_warn2","Snippets","preview","gtm_auth","gtm_preview","iframe","script","dataLayerVar","_dataLayer","_Snippets","_Snippets2","dataScript","gtm","snippets","noScript","noscript","_ref$events","_ref$dataLayerName","_ref$auth","_ref$preview","_ref2$dataLayerName","_TagManager","_TagManager2","BrowserRouter","Router","resolveToLocation","normalizeToLocation","forwardRefShim","LinkAnchor","innerRef","navigate","_onClick","isModifiedEvent","_ref2$component","__RouterContext","Consumer","isDuplicateNavigation","forwardRefShim$1","forwardRef$1","_ref$ariaCurrent","_ref$activeClassName","activeStyle","classNameProp","isActiveProp","locationProp","styleProp","escapedPath","matchPath","classnames","joinClassnames","MAX_SIGNED_31_BIT_INT","commonjsGlobal","calculateChangedBits","contextProp","getUniqueId","changedBits","createEventEmitter","_Provider$childContex","_React$Component2","observedBits","_Consumer$contextType","createNamedContext","historyContext","_isMounted","_pendingLocation","staticContext","computeRootMatch","isExact","Lifecycle","onMount","cacheLimit","cacheCount","compilePath","computedMatch","_ref$push","cacheLimit$1","cacheCount$1","_options$exact","_options$strict","_options$sensitive","pathCache","regexp","compilePath$1","_compilePath","context$1","isEmptyChildren","createURL","staticHandler","methodName","useLocation","useRouteMatch","_sigPad","_excludeOurProps","clearOnResize","getCanvas","getSignaturePad","_checkClearOnResize","_resizeCanvas","fromDataURL","velocityFilterWeight","minDistance","dotSize","throttle","onBegin","isMounting","enterTimeout","maybeNextCallback","TransitionGroupContext","getChildMapping","mapFn","mapper","getNextChildMapping","prevChildMapping","nextChildMapping","getValueForKey","nextKeysPending","pendingKeys","prevKey","childMapping","pendingNextKey","mergeChildMappings","hasPrev","hasNext","prevChild","isLeaving","firstRender","mounted","currentChildMapping","__self","__source","jsxs","_status","_result","PureComponent","act","_currentValue2","_threadCount","_defaultValue","_globalName","createFactory","createRef","lazy","startTransition","unstable_act","sortIndex","setImmediate","expirationTime","priorityLevel","scheduling","isInputPending","MessageChannel","port2","port1","unstable_Profiling","unstable_continueExecution","unstable_forceFrameRate","unstable_getFirstCallbackNode","unstable_next","unstable_pauseExecution","unstable_runWithPriority","unstable_wrapCallback","getImageData","putImageData","FUNC_TYPE","UNDEF_TYPE","OBJ_TYPE","STR_TYPE","MAJOR","MODEL","NAME","TYPE","VENDOR","ARCHITECTURE","CONSOLE","MOBILE","TABLET","SMARTTV","WEARABLE","EMBEDDED","AMAZON","APPLE","ASUS","BLACKBERRY","BROWSER","CHROME","FIREFOX","GOOGLE","HUAWEI","LG","MICROSOFT","MOTOROLA","OPERA","SAMSUNG","SHARP","SONY","XIAOMI","ZEBRA","FACEBOOK","CHROMIUM_OS","SUFFIX_BROWSER","enumerize","enums","str1","str2","lowerize","rgxMapper","arrays","strMapper","windowsVersionMap","XP","Vista","RT","tablet","EDGE","extensions","getResult","_navigator","_ua","_uach","_rgxmap","mergedRegexes","_isSelfNav","_browser","brave","isBrave","_cpu","_device","_engine","_os","CPU","DEVICE","ENGINE","OS","$","jQuery","Zepto","FocusManager","onSubscribe","cleanup","setEventListener","onUnsubscribe","_this$cleanup","hasListeners","_this$cleanup2","transactions","notifyFn","batchNotifyFn","schedule","scheduleMicrotask","originalQueue","batchCalls","setNotifyFunction","setBatchNotifyFunction","createNotifyManager","onlineEvents","OnlineManager","online","setOnline","onLine","defaultRetryDelay","CancelledError","continueFn","promiseResolve","promiseReject","isRetryCancelled","isResolved","outerResolve","outerReject","shouldPause","continueResolve","canContinue","promiseOrValue","_config$retry","_config$retryDelay","shouldRetry","sleep","identity","isQueryKey","predicate","stale","queryKeyHashFn","partialDeepEqual","replaceEqualDeep","isPlainArray","aSize","bItems","bSize","equalItems","shallowEqualObjects","hasObjectPrototype","ctor","prot","AbortController","isDataEqual","structuralSharing","defaultContext","QueryClientSharingContext","getQueryClientContext","contextSharing","ReactQueryClientContext","useQueryClient","Context","consoleLogger","Logger","concreteLogger","_len3","_key3","_len4","_key4","debugOnly","moduleName","baseLogger","numListeners","numTimesAdded","defer","rej","makeString","lastOfPathSeparatorRegExp","cleanKey","canNotTraverseDeeper","getLastOfPath","Empty","stackIndex","deepExtend","overwrite","_entityMap","looksLikeObjectPathRegExpCache","capacity","regExpMap","regExpQueue","getRegExp","regExpFromCache","regExpNew","deepFind","nextPath","getCleanedCode","ResourceStore","ignoreJSONStructure","addNamespaces","removeNamespaces","getResource","addResource","addResources","addResourceBundle","deep","skipCopy","pack","removeResourceBundle","hasResourceBundle","getResourceBundle","compatibilityAPI","getDataByLanguage","hasLanguageSomeTranslations","postProcessor","processors","addPostProcessor","handle","translator","checkedLoadedFor","Translator","changeLanguage","exists","resolved","extractFromKey","nsSeparator","wouldCheckForNsInKey","seemsNaturalLanguage","userDefinedKeySeparator","userDefinedNsSeparator","looksLikeObjectPath","possibleChars","nestingRegexp","lastKey","overloadTranslationOptionHandler","returnDetails","appendNamespaceToCIMode","usedKey","exactUsedKey","usedLng","usedNS","usedParams","getUsedParamsDetails","resUsedKey","resExactUsedKey","resType","joinArrays","handleAsObjectInI18nFormat","i18nFormat","handleAsObject","returnObjects","returnedObjectHandler","resTypeIsArray","newKeyToUse","deepKey","extendTranslation","usedDefault","needsPluralHandling","hasDefaultValue","defaultValueSuffix","pluralResolver","getSuffix","defaultValueSuffixOrdinalFallback","needsZeroSuffixLookup","shouldUseIntlApi","pluralSeparator","isValidLookup","resForMissing","missingKeyNoValueFallbackToKey","updateMissing","lngs","fallbackLngs","getFallbackCodes","saveMissingTo","specificDefaultValue","defaultForMissing","missingKeyHandler","saveMissing","saveMissingPlurals","suffixes","getSuffixes","appendNamespaceToMissingKey","parseMissingKeyHandler","skipInterpolation","skipOnVariables","nestBef","nest","postProcess","postProcessorNames","applyPostProcessor","postProcessPassResolved","i18nResolved","fallbackNS","needsContextHandling","codes","hasLoadedNamespace","finalKeys","addLookupKeys","pluralSuffix","zeroSuffix","ordinalPrefix","contextKey","contextSeparator","possibleKey","returnNull","returnEmptyString","resourceStore","optionsKeys","useOptionsReplaceForData","LanguageUtil","supportedLngs","getScriptPartFromCode","formatLanguageCode","getLanguagePartFromCode","Intl","getCanonicalLocales","formattedCode","lowerCaseLng","specialCases","cleanCode","isSupportedCode","nonExplicitSupportedLngs","getBestMatchFromCodes","cleanedLng","lngOnly","supportedLng","fallbackCode","fallbackCodes","addCode","sets","nr","_rulesPluralsTypes","nonIntlVersions","intlVersions","suffixesOrder","zero","one","two","few","many","PluralResolver","PluralRules","createRules","numbers","plurals","pluralRulesCache","clearCache","cleanedCode","needsPlural","resolvedOptions","pluralCategories","getPluralFormsOfKey","pluralCategory1","pluralCategory2","pluralCategory","getSuffixRetroCompatible","noAbs","simplifyPluralSuffix","returnSuffix","deepFindWithDefaults","getPathWithDefaults","regexSafe","Interpolator","escape$1","useRawValueToEscape","prefixEscaped","suffixEscaped","formatSeparator","unescapeSuffix","unescapePrefix","nestingPrefix","nestingPrefixEscaped","nestingSuffix","nestingSuffixEscaped","nestingOptionsSeparator","maxReplaces","alwaysFormat","resetRegExp","getOrResetRegExp","existingRegExp","regexpUnescape","replaces","handleFormat","interpolationkey","missingInterpolationHandler","safeValue","todo","matchedVar","clonedOptions","handleHasOptions","inheritedOptions","sep","optionsString","matchedSingleQuotes","matchedDoubleQuotes","formatters","doReduce","createCachedFormatter","optForCache","formatParams","formatter","Formatter","NumberFormat","currency","DateTimeFormat","relativetime","RelativeTimeFormat","ListFormat","iOpts","addCached","formatName","formatOptions","formatStr","optStr","trimmedKey","parseFormatStr","formatted","valOptions","Connector","backend","store","waitingReads","maxParallelReads","readingCalls","maxRetries","retryTimeout","queueLoad","toLoadLanguages","toLoadNamespaces","hasAllNamespaces","pendingCount","pushPath","removePending","loadedKeys","fcName","tried","prepareLoading","loadOne","isUpdate","clb","initImmediate","partialBundledLanguages","tDescription","transformOptions","I18n","inst","isInitialized","isClone","isInitializing","defOpts","createClassOnDemand","ClassOrObject","lu","languageDetector","detection","deferred","finish","initializedStoreOnce","loadResources","usedCallback","resolvedLanguage","setResolvedLanguage","reloadResources","lngInLngs","isLanguageChangingTo","setLngProps","setLng","cacheUserLanguage","detect","getFixedT","keyPrefix","fixedT","resultKey","setDefaultNamespace","lastLng","loadNotPending","loadState","precheck","preResult","loadNamespaces","loadLanguages","preloaded","newLngs","cloneInstance","forkResourceStore","mergedOptions","Point","Bezier","control1","control2","SignaturePad","_strokeMoveUpdate","leading","trailing","_strokeUpdate","_ctx","_handleMouseDown","_mouseButtonDown","_strokeBegin","_handleMouseMove","_handleMouseUp","_strokeEnd","_handleTouchStart","_handleTouchMove","_handleTouchEnd","velocityFrom","distanceTo","_point","xdiff","ydiff","_reset","_isEmpty","dataUrl","ratio","_toSVG","_handleMouseEvents","_handleTouchEvents","_createPoint","lastPointGroup","isLastPointTooClose","_addPoint","curve","widths","_drawCurve","canDrawCurve","_drawDot","msTouchAction","_lastVelocity","_lastWidth","_calculateCurveControlPoints","_calculateCurveWidths","dx1","dy1","dx2","dy2","newWidth","_strokeWidth","_drawPoint","arc","startWidth","endWidth","widthDelta","drawSteps","ttt","uu","uuu","_fromData","pointGroups","drawCurve","drawDot","rawPoint","_addPoint2","maxX","maxY","cloneNode","isProduction","condition","provided","__webpack_module_cache__","__webpack_require__","cachedModule","__webpack_modules__","amdO","leafPrototypes","getProto","chunkId","miniCssF","inProgress","dataWebpackPrefix","needAttach","charset","nc","onScriptComplete","doneFns","nmd","loadStylesheet","fullhref","existingLinkTags","dataHref","existingStyleTags","findStylesheet","oldTag","linkTag","errorType","realHref","createStylesheet","installedCssChunks","miniCss","installedChunks","installedChunkData","realSrc","webpackJsonpCallback","parentChunkLoadingFunction","chunkIds","moreModules","runtime","chunkLoadingGlobal","CssBaseline","App"],"sourceRoot":""}