@unchainedshop/admin-ui 5.0.0-alpha.1 → 5.0.0-alpha.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +136 -16
- package/dist/chunk-3L6EZQ6P.js +135 -0
- package/dist/chunk-54DKBWXV.js +33 -0
- package/dist/chunk-5WPFHQZN.js +388 -0
- package/dist/chunk-6UGLNLJG.js +44 -0
- package/dist/chunk-BMDNY67T.js +22547 -0
- package/dist/chunk-BOMSMJF2.js +77 -0
- package/dist/chunk-COV7BREX.js +50 -0
- package/dist/chunk-E77YIMGR.js +2083 -0
- package/dist/chunk-EJDZRZSZ.js +59 -0
- package/dist/chunk-ELPURWDC.js +75 -0
- package/dist/chunk-F6LBNV3H.js +9 -0
- package/dist/chunk-FDHXLNZQ.js +44 -0
- package/dist/chunk-GY2DRQGW.js +166 -0
- package/dist/chunk-HERLM47Z.js +309 -0
- package/dist/chunk-HJKRGBDG.js +694 -0
- package/dist/chunk-I64TXIE7.js +618 -0
- package/dist/chunk-IAQPLRXZ.js +16 -0
- package/dist/chunk-ICJH36K4.js +326 -0
- package/dist/chunk-ILYPJE4N.js +57 -0
- package/dist/chunk-IWKDBADX.js +73 -0
- package/dist/chunk-IXBMHOB5.js +13 -0
- package/dist/chunk-IYKPRAWC.js +26 -0
- package/dist/chunk-J23QSWDL.js +8 -0
- package/dist/chunk-KH5MK6ZW.js +18 -0
- package/dist/chunk-KRIRF7F6.js +76 -0
- package/dist/chunk-NT7RB7AK.js +70 -0
- package/dist/chunk-OKGJ6HDE.js +26 -0
- package/dist/chunk-OTXM2UCD.js +19 -0
- package/dist/chunk-PJLYVMUM.js +3308 -0
- package/dist/chunk-PUI5BIKO.js +41 -0
- package/dist/chunk-Q6S3LBUF.js +180 -0
- package/dist/chunk-QHR23GVH.js +1099 -0
- package/dist/chunk-QWQ3WJJN.js +1 -0
- package/dist/chunk-RAQV2GYF.js +70 -0
- package/dist/chunk-VBO377AY.js +14 -0
- package/dist/chunk-VYEXPG3M.js +107 -0
- package/dist/chunk-WPLOTFGW.js +36 -0
- package/dist/chunk-YO6PT7KD.js +13 -0
- package/dist/chunk-ZUOVKRKC.js +957 -0
- package/dist/components/ui/Accordion/Accordion.d.ts +11 -0
- package/dist/components/ui/Accordion/Accordion.d.ts.map +1 -0
- package/dist/components/ui/Accordion/AccordionHeader.d.ts +6 -0
- package/dist/components/ui/Accordion/AccordionHeader.d.ts.map +1 -0
- package/dist/components/ui/Accordion/AccordionItem.d.ts +11 -0
- package/dist/components/ui/Accordion/AccordionItem.d.ts.map +1 -0
- package/dist/components/ui/ActiveInActive.d.ts +10 -0
- package/dist/components/ui/ActiveInActive.d.ts.map +1 -0
- package/dist/components/ui/AnimatedCounter.d.ts +7 -0
- package/dist/components/ui/AnimatedCounter.d.ts.map +1 -0
- package/dist/components/ui/Badge.d.ts +10 -0
- package/dist/components/ui/Badge.d.ts.map +1 -0
- package/dist/components/ui/BreadCrumbs.d.ts +7 -0
- package/dist/components/ui/BreadCrumbs.d.ts.map +1 -0
- package/dist/components/ui/Button.d.ts +36 -0
- package/dist/components/ui/Button.d.ts.map +1 -0
- package/dist/components/ui/CopyableText.d.ts +5 -0
- package/dist/components/ui/CopyableText.d.ts.map +1 -0
- package/dist/components/ui/DateInput.d.ts +15 -0
- package/dist/components/ui/DateInput.d.ts.map +1 -0
- package/dist/components/ui/DateRangeFilterInput.d.ts +4 -0
- package/dist/components/ui/DateRangeFilterInput.d.ts.map +1 -0
- package/dist/components/ui/DetailHeader.d.ts +6 -0
- package/dist/components/ui/DetailHeader.d.ts.map +1 -0
- package/dist/components/ui/DraggableIcon.d.ts +3 -0
- package/dist/components/ui/DraggableIcon.d.ts.map +1 -0
- package/dist/components/ui/ErrorBoundary.d.ts +18 -0
- package/dist/components/ui/ErrorBoundary.d.ts.map +1 -0
- package/dist/components/ui/ErrorFallback.d.ts +6 -0
- package/dist/components/ui/ErrorFallback.d.ts.map +1 -0
- package/dist/components/ui/HelpText.d.ts +11 -0
- package/dist/components/ui/HelpText.d.ts.map +1 -0
- package/dist/components/ui/ImageWithFallback.d.ts +7 -0
- package/dist/components/ui/ImageWithFallback.d.ts.map +1 -0
- package/dist/components/ui/InfoTextBanner.d.ts +6 -0
- package/dist/components/ui/InfoTextBanner.d.ts.map +1 -0
- package/dist/components/ui/JSONView.d.ts +6 -0
- package/dist/components/ui/JSONView.d.ts.map +1 -0
- package/dist/components/ui/ListHeader.d.ts +6 -0
- package/dist/components/ui/ListHeader.d.ts.map +1 -0
- package/dist/components/ui/Loading.d.ts +3 -0
- package/dist/components/ui/Loading.d.ts.map +1 -0
- package/dist/components/ui/NoData.d.ts +7 -0
- package/dist/components/ui/NoData.d.ts.map +1 -0
- package/dist/components/ui/NoImage.d.ts +7 -0
- package/dist/components/ui/NoImage.d.ts.map +1 -0
- package/dist/components/ui/NoImageSvg.d.ts +8 -0
- package/dist/components/ui/NoImageSvg.d.ts.map +1 -0
- package/dist/components/ui/PageHeader.d.ts +11 -0
- package/dist/components/ui/PageHeader.d.ts.map +1 -0
- package/dist/components/ui/Pagination.d.ts +8 -0
- package/dist/components/ui/Pagination.d.ts.map +1 -0
- package/dist/components/ui/Portal/Portal.d.ts +16 -0
- package/dist/components/ui/Portal/Portal.d.ts.map +1 -0
- package/dist/components/ui/Portal/Portal.types.d.ts +16 -0
- package/dist/components/ui/Portal/Portal.types.d.ts.map +1 -0
- package/dist/components/ui/SaveAndCancelButtons.d.ts +10 -0
- package/dist/components/ui/SaveAndCancelButtons.d.ts.map +1 -0
- package/dist/components/ui/SearchField.d.ts +7 -0
- package/dist/components/ui/SearchField.d.ts.map +1 -0
- package/dist/components/ui/Tab.d.ts +18 -0
- package/dist/components/ui/Tab.d.ts.map +1 -0
- package/dist/components/ui/Tag/TagInput.d.ts +19 -0
- package/dist/components/ui/Tag/TagInput.d.ts.map +1 -0
- package/dist/components/ui/Tag/TagList.d.ts +8 -0
- package/dist/components/ui/Tag/TagList.d.ts.map +1 -0
- package/dist/components/ui/Tag/TagListForm.d.ts +8 -0
- package/dist/components/ui/Tag/TagListForm.d.ts.map +1 -0
- package/dist/components/ui/Toggle.d.ts +11 -0
- package/dist/components/ui/Toggle.d.ts.map +1 -0
- package/dist/components/ui/ToolTip.d.ts +7 -0
- package/dist/components/ui/ToolTip.d.ts.map +1 -0
- package/dist/components/ui/card.d.ts +9 -0
- package/dist/components/ui/card.d.ts.map +1 -0
- package/dist/components/ui/chart.d.ts +42 -0
- package/dist/components/ui/chart.d.ts.map +1 -0
- package/dist/components/ui/form/CheckboxField.d.ts +4 -0
- package/dist/components/ui/form/CheckboxField.d.ts.map +1 -0
- package/dist/components/ui/form/ChoicesField.d.ts +12 -0
- package/dist/components/ui/form/ChoicesField.d.ts.map +1 -0
- package/dist/components/ui/form/Combobox.d.ts +20 -0
- package/dist/components/ui/form/Combobox.d.ts.map +1 -0
- package/dist/components/ui/form/DatePickerField.d.ts +4 -0
- package/dist/components/ui/form/DatePickerField.d.ts.map +1 -0
- package/dist/components/ui/form/EmailField.d.ts +7 -0
- package/dist/components/ui/form/EmailField.d.ts.map +1 -0
- package/dist/components/ui/form/FieldWithHelp.d.ts +10 -0
- package/dist/components/ui/form/FieldWithHelp.d.ts.map +1 -0
- package/dist/components/ui/form/FieldWrapper.d.ts +8 -0
- package/dist/components/ui/form/FieldWrapper.d.ts.map +1 -0
- package/dist/components/ui/form/FormErrors.d.ts +6 -0
- package/dist/components/ui/form/FormErrors.d.ts.map +1 -0
- package/dist/components/ui/form/JSONAreaField.d.ts +7 -0
- package/dist/components/ui/form/JSONAreaField.d.ts.map +1 -0
- package/dist/components/ui/form/MarkdownTextAreaField.d.ts +8 -0
- package/dist/components/ui/form/MarkdownTextAreaField.d.ts.map +1 -0
- package/dist/components/ui/form/PasswordField.d.ts +3 -0
- package/dist/components/ui/form/PasswordField.d.ts.map +1 -0
- package/dist/components/ui/form/SelectField.d.ts +11 -0
- package/dist/components/ui/form/SelectField.d.ts.map +1 -0
- package/dist/components/ui/form/SubmitButton.d.ts +9 -0
- package/dist/components/ui/form/SubmitButton.d.ts.map +1 -0
- package/dist/components/ui/form/TagInputField.d.ts +7 -0
- package/dist/components/ui/form/TagInputField.d.ts.map +1 -0
- package/dist/components/ui/form/TextAreaField.d.ts +8 -0
- package/dist/components/ui/form/TextAreaField.d.ts.map +1 -0
- package/dist/components/ui/form/TextField.d.ts +10 -0
- package/dist/components/ui/form/TextField.d.ts.map +1 -0
- package/dist/components/ui/form/index.d.ts +18 -0
- package/dist/components/ui/form/index.d.ts.map +1 -0
- package/dist/components/ui/icons.d.ts +4 -0
- package/dist/components/ui/icons.d.ts.map +1 -0
- package/dist/components/ui/index.d.ts +46 -0
- package/dist/components/ui/index.d.ts.map +1 -0
- package/dist/form.js +2617 -0
- package/dist/gql/operation-types.d.ts +13239 -0
- package/dist/gql/operation-types.d.ts.map +1 -0
- package/dist/gql/schema-types.d.ts +3876 -0
- package/dist/gql/schema-types.d.ts.map +1 -0
- package/dist/gql/types.d.ts +3 -0
- package/dist/gql/types.d.ts.map +1 -0
- package/dist/hooks.js +49 -0
- package/dist/lib/utils.d.ts +3 -0
- package/dist/lib/utils.d.ts.map +1 -0
- package/dist/modal.js +51 -0
- package/dist/modules/Auth/AuthContext.d.ts +9 -0
- package/dist/modules/Auth/AuthContext.d.ts.map +1 -0
- package/dist/modules/Auth/useAuth.d.ts +6 -0
- package/dist/modules/Auth/useAuth.d.ts.map +1 -0
- package/dist/modules/UnchainedContext/UnchainedContext.d.ts +8 -0
- package/dist/modules/UnchainedContext/UnchainedContext.d.ts.map +1 -0
- package/dist/modules/UnchainedContext/useUnchainedContext.d.ts +7 -0
- package/dist/modules/UnchainedContext/useUnchainedContext.d.ts.map +1 -0
- package/dist/modules/accounts/fragment/MD5MetaDataFragment.d.ts +3 -0
- package/dist/modules/accounts/fragment/MD5MetaDataFragment.d.ts.map +1 -0
- package/dist/modules/accounts/fragment/UserFragment.d.ts +3 -0
- package/dist/modules/accounts/fragment/UserFragment.d.ts.map +1 -0
- package/dist/modules/accounts/hooks/useCurrentUser.d.ts +10 -0
- package/dist/modules/accounts/hooks/useCurrentUser.d.ts.map +1 -0
- package/dist/modules/accounts/hooks/useUsersCount.d.ts +8 -0
- package/dist/modules/accounts/hooks/useUsersCount.d.ts.map +1 -0
- package/dist/modules/accounts.js +1349 -0
- package/dist/modules/assortment/hooks/useAssortmentsCount.d.ts +8 -0
- package/dist/modules/assortment/hooks/useAssortmentsCount.d.ts.map +1 -0
- package/dist/modules/assortment.js +1205 -0
- package/dist/modules/common/components/AppContext.d.ts +18 -0
- package/dist/modules/common/components/AppContext.d.ts.map +1 -0
- package/dist/modules/common/components/FormWrapper.d.ts +8 -0
- package/dist/modules/common/components/FormWrapper.d.ts.map +1 -0
- package/dist/modules/common/components/LocaleWrapper.d.ts +7 -0
- package/dist/modules/common/components/LocaleWrapper.d.ts.map +1 -0
- package/dist/modules/common/components/MediaAvatar.d.ts +6 -0
- package/dist/modules/common/components/MediaAvatar.d.ts.map +1 -0
- package/dist/modules/common/components/SelectOptions.d.ts +17 -0
- package/dist/modules/common/components/SelectOptions.d.ts.map +1 -0
- package/dist/modules/common/components/Table.d.ts +25 -0
- package/dist/modules/common/components/Table.d.ts.map +1 -0
- package/dist/modules/common/components/TableCell.d.ts +12 -0
- package/dist/modules/common/components/TableCell.d.ts.map +1 -0
- package/dist/modules/common/components/TableRow.d.ts +10 -0
- package/dist/modules/common/components/TableRow.d.ts.map +1 -0
- package/dist/modules/common/components/ThemeWrapper.d.ts +10 -0
- package/dist/modules/common/components/ThemeWrapper.d.ts.map +1 -0
- package/dist/modules/common/data/iso-codes.d.ts +4 -0
- package/dist/modules/common/data/iso-codes.d.ts.map +1 -0
- package/dist/modules/common/data/miscellaneous.d.ts +52 -0
- package/dist/modules/common/data/miscellaneous.d.ts.map +1 -0
- package/dist/modules/common/fragments/AddressFragment.d.ts +3 -0
- package/dist/modules/common/fragments/AddressFragment.d.ts.map +1 -0
- package/dist/modules/common/hooks/useApp.d.ts +11 -0
- package/dist/modules/common/hooks/useApp.d.ts.map +1 -0
- package/dist/modules/common/hooks/useBulkResultHandler.d.ts +8 -0
- package/dist/modules/common/hooks/useBulkResultHandler.d.ts.map +1 -0
- package/dist/modules/common/hooks/useBulkSelection.d.ts +12 -0
- package/dist/modules/common/hooks/useBulkSelection.d.ts.map +1 -0
- package/dist/modules/common/hooks/useCSVExport.d.ts +10 -0
- package/dist/modules/common/hooks/useCSVExport.d.ts.map +1 -0
- package/dist/modules/common/hooks/useCSVImport.d.ts +18 -0
- package/dist/modules/common/hooks/useCSVImport.d.ts.map +1 -0
- package/dist/modules/common/hooks/useChatEndpointChecker.d.ts +5 -0
- package/dist/modules/common/hooks/useChatEndpointChecker.d.ts.map +1 -0
- package/dist/modules/common/hooks/useConfirmMediaUpload.d.ts +10 -0
- package/dist/modules/common/hooks/useConfirmMediaUpload.d.ts.map +1 -0
- package/dist/modules/common/hooks/useDashboardMetrics.d.ts +23 -0
- package/dist/modules/common/hooks/useDashboardMetrics.d.ts.map +1 -0
- package/dist/modules/common/hooks/useLocalStorage.d.ts +3 -0
- package/dist/modules/common/hooks/useLocalStorage.d.ts.map +1 -0
- package/dist/modules/common/hooks/useOrderAnalytics.d.ts +25 -0
- package/dist/modules/common/hooks/useOrderAnalytics.d.ts.map +1 -0
- package/dist/modules/common/hooks/useOrderItemsAnalytics.d.ts +16 -0
- package/dist/modules/common/hooks/useOrderItemsAnalytics.d.ts.map +1 -0
- package/dist/modules/common/hooks/useOutsideClick.d.ts +3 -0
- package/dist/modules/common/hooks/useOutsideClick.d.ts.map +1 -0
- package/dist/modules/common/hooks/usePortal.d.ts +20 -0
- package/dist/modules/common/hooks/usePortal.d.ts.map +1 -0
- package/dist/modules/common/hooks/useScrollRestoration.d.ts +8 -0
- package/dist/modules/common/hooks/useScrollRestoration.d.ts.map +1 -0
- package/dist/modules/common/hooks/useShopConfiguration.d.ts +8 -0
- package/dist/modules/common/hooks/useShopConfiguration.d.ts.map +1 -0
- package/dist/modules/common/hooks/useShopInfo.d.ts +41 -0
- package/dist/modules/common/hooks/useShopInfo.d.ts.map +1 -0
- package/dist/modules/common/hooks/useStatusTypes.d.ts +10 -0
- package/dist/modules/common/hooks/useStatusTypes.d.ts.map +1 -0
- package/dist/modules/common/hooks/useSystemRoles.d.ts +7 -0
- package/dist/modules/common/hooks/useSystemRoles.d.ts.map +1 -0
- package/dist/modules/common/hooks/useTheme.d.ts +7 -0
- package/dist/modules/common/hooks/useTheme.d.ts.map +1 -0
- package/dist/modules/common/utils/deBounce.d.ts +3 -0
- package/dist/modules/common/utils/deBounce.d.ts.map +1 -0
- package/dist/modules/common/utils/defaultNextImageLoader.d.ts +7 -0
- package/dist/modules/common/utils/defaultNextImageLoader.d.ts.map +1 -0
- package/dist/modules/common/utils/formatUsername.d.ts +3 -0
- package/dist/modules/common/utils/formatUsername.d.ts.map +1 -0
- package/dist/modules/common/utils/getSetupStepsConfigurationsMeta.d.ts +30 -0
- package/dist/modules/common/utils/getSetupStepsConfigurationsMeta.d.ts.map +1 -0
- package/dist/modules/common/utils/normalizeFilterKeys.d.ts +4 -0
- package/dist/modules/common/utils/normalizeFilterKeys.d.ts.map +1 -0
- package/dist/modules/common/utils/sharedContext.d.ts +9 -0
- package/dist/modules/common/utils/sharedContext.d.ts.map +1 -0
- package/dist/modules/common/utils/useFormatDateTime.d.ts +16 -0
- package/dist/modules/common/utils/useFormatDateTime.d.ts.map +1 -0
- package/dist/modules/common/utils/utils.d.ts +21 -0
- package/dist/modules/common/utils/utils.d.ts.map +1 -0
- package/dist/modules/country/fragments/CountryFragment.d.ts +3 -0
- package/dist/modules/country/fragments/CountryFragment.d.ts.map +1 -0
- package/dist/modules/country/hooks/useCountries.d.ts +22 -0
- package/dist/modules/country/hooks/useCountries.d.ts.map +1 -0
- package/dist/modules/country.js +108 -0
- package/dist/modules/currency.js +119 -0
- package/dist/modules/delivery-provider.js +269 -0
- package/dist/modules/enrollment.js +431 -0
- package/dist/modules/event.js +123 -0
- package/dist/modules/filter.js +497 -0
- package/dist/modules/forms/components/Form.d.ts +8 -0
- package/dist/modules/forms/components/Form.d.ts.map +1 -0
- package/dist/modules/forms/hooks/useField.d.ts +35 -0
- package/dist/modules/forms/hooks/useField.d.ts.map +1 -0
- package/dist/modules/forms/hooks/useForm.d.ts +44 -0
- package/dist/modules/forms/hooks/useForm.d.ts.map +1 -0
- package/dist/modules/forms/hooks/useFormContext.d.ts +3 -0
- package/dist/modules/forms/hooks/useFormContext.d.ts.map +1 -0
- package/dist/modules/forms/lib/FormContext.d.ts +13 -0
- package/dist/modules/forms/lib/FormContext.d.ts.map +1 -0
- package/dist/modules/forms/lib/clean.d.ts +3 -0
- package/dist/modules/forms/lib/clean.d.ts.map +1 -0
- package/dist/modules/forms/lib/validators.d.ts +20 -0
- package/dist/modules/forms/lib/validators.d.ts.map +1 -0
- package/dist/modules/language/fragments/LanguageFragment.d.ts +3 -0
- package/dist/modules/language/fragments/LanguageFragment.d.ts.map +1 -0
- package/dist/modules/language/hooks/useLanguages.d.ts +19 -0
- package/dist/modules/language/hooks/useLanguages.d.ts.map +1 -0
- package/dist/modules/language.js +106 -0
- package/dist/modules/modal/components/AlertMessage.d.ts +9 -0
- package/dist/modules/modal/components/AlertMessage.d.ts.map +1 -0
- package/dist/modules/modal/components/DangerMessage.d.ts +13 -0
- package/dist/modules/modal/components/DangerMessage.d.ts.map +1 -0
- package/dist/modules/modal/components/ImportResultMessage.d.ts +14 -0
- package/dist/modules/modal/components/ImportResultMessage.d.ts.map +1 -0
- package/dist/modules/modal/components/Modal.d.ts +10 -0
- package/dist/modules/modal/components/Modal.d.ts.map +1 -0
- package/dist/modules/modal/components/ModalWrapper.d.ts +6 -0
- package/dist/modules/modal/components/ModalWrapper.d.ts.map +1 -0
- package/dist/modules/modal/hooks/useModal.d.ts +7 -0
- package/dist/modules/modal/hooks/useModal.d.ts.map +1 -0
- package/dist/modules/modal/utils/ModalContext.d.ts +9 -0
- package/dist/modules/modal/utils/ModalContext.d.ts.map +1 -0
- package/dist/modules/order/fragments/OrderDetailFragment.d.ts +3 -0
- package/dist/modules/order/fragments/OrderDetailFragment.d.ts.map +1 -0
- package/dist/modules/order/fragments/OrderFragment.d.ts +3 -0
- package/dist/modules/order/fragments/OrderFragment.d.ts.map +1 -0
- package/dist/modules/order/hooks/useOrders.d.ts +46 -0
- package/dist/modules/order/hooks/useOrders.d.ts.map +1 -0
- package/dist/modules/order.js +569 -0
- package/dist/modules/payment-providers.js +206 -0
- package/dist/modules/product/hooks/useProductsCount.d.ts +8 -0
- package/dist/modules/product/hooks/useProductsCount.d.ts.map +1 -0
- package/dist/modules/product-review.js +270 -0
- package/dist/modules/product.js +6914 -0
- package/dist/modules/quotation.js +324 -0
- package/dist/modules/token.js +143 -0
- package/dist/modules/warehousing-providers.js +206 -0
- package/dist/modules/work/fragments/WorkFragment.d.ts +3 -0
- package/dist/modules/work/fragments/WorkFragment.d.ts.map +1 -0
- package/dist/modules/work/hooks/useAddWork.d.ts +6 -0
- package/dist/modules/work/hooks/useAddWork.d.ts.map +1 -0
- package/dist/modules/work/hooks/useWork.d.ts +32 -0
- package/dist/modules/work/hooks/useWork.d.ts.map +1 -0
- package/dist/modules/work.js +232 -0
- package/dist/plugins.js +13 -0
- package/dist/providers.js +9 -0
- package/dist/sdk/hooks.d.ts +12 -0
- package/dist/sdk/hooks.d.ts.map +1 -0
- package/dist/sdk/modal.d.ts +7 -0
- package/dist/sdk/modal.d.ts.map +1 -0
- package/dist/sdk/plugins.d.ts +78 -0
- package/dist/sdk/plugins.d.ts.map +1 -0
- package/dist/sdk/providers.d.ts +5 -0
- package/dist/sdk/providers.d.ts.map +1 -0
- package/dist/sdk/shims/admin-ui-plugins.d.ts +3 -0
- package/dist/sdk/shims/admin-ui-plugins.d.ts.map +1 -0
- package/dist/sdk/shims/apollo-client-react.d.ts +3 -0
- package/dist/sdk/shims/apollo-client-react.d.ts.map +1 -0
- package/dist/sdk/shims/apollo-client.d.ts +3 -0
- package/dist/sdk/shims/apollo-client.d.ts.map +1 -0
- package/dist/sdk/shims/host.d.ts +17 -0
- package/dist/sdk/shims/host.d.ts.map +1 -0
- package/dist/sdk/shims/next-head.d.ts +3 -0
- package/dist/sdk/shims/next-head.d.ts.map +1 -0
- package/dist/sdk/shims/next-image.d.ts +3 -0
- package/dist/sdk/shims/next-image.d.ts.map +1 -0
- package/dist/sdk/shims/next-link.d.ts +3 -0
- package/dist/sdk/shims/next-link.d.ts.map +1 -0
- package/dist/sdk/shims/next-router.d.ts +3 -0
- package/dist/sdk/shims/next-router.d.ts.map +1 -0
- package/dist/sdk/shims/react-dom-client.d.ts +3 -0
- package/dist/sdk/shims/react-dom-client.d.ts.map +1 -0
- package/dist/sdk/shims/react-dom.d.ts +3 -0
- package/dist/sdk/shims/react-dom.d.ts.map +1 -0
- package/dist/sdk/shims/react-hook-form.d.ts +3 -0
- package/dist/sdk/shims/react-hook-form.d.ts.map +1 -0
- package/dist/sdk/shims/react-intl.d.ts +3 -0
- package/dist/sdk/shims/react-intl.d.ts.map +1 -0
- package/dist/sdk/shims/react-jsx-runtime.d.ts +3 -0
- package/dist/sdk/shims/react-jsx-runtime.d.ts.map +1 -0
- package/dist/sdk/shims/react-toastify.d.ts +3 -0
- package/dist/sdk/shims/react-toastify.d.ts.map +1 -0
- package/dist/sdk/shims/react.d.ts +3 -0
- package/dist/sdk/shims/react.d.ts.map +1 -0
- package/dist/sdk/theme.d.ts +26 -0
- package/dist/sdk/theme.d.ts.map +1 -0
- package/dist/shims/admin-ui-plugins.js +9 -0
- package/dist/shims/apollo-client-react.js +25 -0
- package/dist/shims/apollo-client.js +55 -0
- package/dist/shims/next-head.js +9 -0
- package/dist/shims/next-image.js +9 -0
- package/dist/shims/next-link.js +9 -0
- package/dist/shims/next-router.js +13 -0
- package/dist/shims/react-dom-client.js +11 -0
- package/dist/shims/react-dom.js +22 -0
- package/dist/shims/react-hook-form.js +25 -0
- package/dist/shims/react-intl.js +37 -0
- package/dist/shims/react-jsx-runtime.js +11 -0
- package/dist/shims/react-toastify.js +16 -0
- package/dist/shims/react.js +52 -0
- package/dist/theme.js +34 -0
- package/dist/ui.js +19731 -0
- package/out/403/index.html +3 -2
- package/out/404/index.html +3 -2
- package/out/404.html +3 -2
- package/out/423/index.html +3 -2
- package/out/500/index.html +3 -2
- package/out/_next/static/BPoacQET3TJr2q9E370Ez/_buildManifest.js +262 -0
- package/out/_next/static/chunks/01xy3u9ybz9ts.js +5 -0
- package/out/_next/static/chunks/02ir8k2vqhw7u.js +4 -0
- package/out/_next/static/chunks/03mdkmx9pb3yx.js +28 -0
- package/out/_next/static/chunks/03spbldywp99b.js +31 -0
- package/out/_next/static/chunks/0531sa8v36e39.js +1 -0
- package/out/_next/static/chunks/065ltxdt7s8b2.js +134 -0
- package/out/_next/static/chunks/06b1jza2fvc6f.js +4 -0
- package/out/_next/static/chunks/0701uizxsgs75.js +4 -0
- package/out/_next/static/chunks/09olk50zbo5r6.js +5 -0
- package/out/_next/static/chunks/09pabifvs84zb.js +12 -0
- package/out/_next/static/chunks/0_pn7w49dpkak.js +5 -0
- package/out/_next/static/chunks/0a_gulnq-c7to.js +709 -0
- package/out/_next/static/chunks/0agx-csdwbk-x.js +5 -0
- package/out/_next/static/chunks/0clmvy-auef0p.js +14 -0
- package/out/_next/static/chunks/0czktxcs2aa12.js +1 -0
- package/out/_next/static/chunks/0d_qylr054ab-.js +5 -0
- package/out/_next/static/chunks/0e2znhpcecrqs.js +175 -0
- package/out/_next/static/chunks/0ef4vp3ehm369.js +4 -0
- package/out/_next/static/chunks/0fggi8jpi5gjk.js +165 -0
- package/out/_next/static/chunks/0gyabz3vqllr6.js +83 -0
- package/out/_next/static/chunks/0j05dboa5_xkw.js +5 -0
- package/out/_next/static/chunks/0kr4ift9_1a3s.js +1 -0
- package/out/_next/static/chunks/0l8tmlevl_6p0.js +1 -0
- package/out/_next/static/chunks/0m73vd78oga92.js +342 -0
- package/out/_next/static/chunks/0o91usftba97q.js +54 -0
- package/out/_next/static/chunks/0oi1kpp0levnm.js +1 -0
- package/out/_next/static/chunks/0p7said9rdor1.js +1 -0
- package/out/_next/static/chunks/0p86ng98eiz5q.js +11 -0
- package/out/_next/static/chunks/0pw1zl8_l93xl.js +5 -0
- package/out/_next/static/chunks/0py8-umjmwiwi.js +156 -0
- package/out/_next/static/chunks/0q0m2pv-3b2e2.js +4 -0
- package/out/_next/static/chunks/0r57e83u39trg.js +5 -0
- package/out/_next/static/chunks/0r9a_mcjh1k24.js +6 -0
- package/out/_next/static/chunks/0rgtc82y8z7_x.js +5 -0
- package/out/_next/static/chunks/0rxhx_x-7dojh.js +182 -0
- package/out/_next/static/chunks/0s6u_6w75ggbw.js +297 -0
- package/out/_next/static/chunks/0teb3b5h78855.js +44 -0
- package/out/_next/static/chunks/0thsuuvsozjop.js +54 -0
- package/out/_next/static/chunks/0v6x3uondh5hw.js +5 -0
- package/out/_next/static/chunks/0v_uz3j8jolmq.js +4 -0
- package/out/_next/static/chunks/0vwmp6qrw7odm.js +7 -0
- package/out/_next/static/chunks/0w6t6v_jzrudq.js +4 -0
- package/out/_next/static/chunks/0w7gz501ry22r.js +4 -0
- package/out/_next/static/chunks/0xgn-89s97a5w.js +1 -0
- package/out/_next/static/chunks/0xqtemh7t38y9.js +119 -0
- package/out/_next/static/chunks/1-1rj15j67dqt.js +1 -0
- package/out/_next/static/chunks/10drou7w-k58p.js +4 -0
- package/out/_next/static/chunks/11w7hldkge7sg.js +8 -0
- package/out/_next/static/chunks/12yd8t4k6c0t1.js +1 -0
- package/out/_next/static/chunks/130c8cta7pec6.js +1 -0
- package/out/_next/static/chunks/13qi39a_b6gkv.js +1 -0
- package/out/_next/static/chunks/15142badc5ufq.js +4 -0
- package/out/_next/static/chunks/155boltbcvwo-.js +63 -0
- package/out/_next/static/chunks/15_nwd8p454gd.js +1 -0
- package/out/_next/static/chunks/15s4qkdyz56pg.js +115 -0
- package/out/_next/static/chunks/15vdx0kewzv-6.js +33 -0
- package/out/_next/static/chunks/16shuavdpgni8.js +327 -0
- package/out/_next/static/chunks/170j06y4-47o4.js +5 -0
- package/out/_next/static/chunks/18a5kibvycb6u.js +1 -0
- package/out/_next/static/chunks/1_bckhq06wfmb.js +4 -0
- package/out/_next/static/chunks/1_ymf_rfke1aw.js +6 -0
- package/out/_next/static/chunks/1a1m389awxw4k.js +1 -0
- package/out/_next/static/chunks/1albq_5cppsa1.js +5 -0
- package/out/_next/static/chunks/1bhibqf8k2-z1.js +117 -0
- package/out/_next/static/chunks/1bxesp6kakz8_.js +353 -0
- package/out/_next/static/chunks/1d80ahah359g5.js +174 -0
- package/out/_next/static/chunks/1dbjry-rs_5we.js +1 -0
- package/out/_next/static/chunks/1dlr1eig6zpl1.js +12 -0
- package/out/_next/static/chunks/1gq8ickcg_vmv.js +147 -0
- package/out/_next/static/chunks/1gyrsx1nip-lm.js +2 -0
- package/out/_next/static/chunks/1hma23kynopdj.js +3 -0
- package/out/_next/static/chunks/1i996uxxmc736.js +234 -0
- package/out/_next/static/chunks/1iamjw8qh1m4o.js +4 -0
- package/out/_next/static/chunks/1ivhp-mi-5l--.js +57 -0
- package/out/_next/static/chunks/1jmdpa0tc5puj.js +7 -0
- package/out/_next/static/chunks/1ktkks-wpk8q-.js +1 -0
- package/out/_next/static/chunks/1kz62r46jwi0y.js +5 -0
- package/out/_next/static/chunks/1lex3myb5hmsw.js +1 -0
- package/out/_next/static/chunks/1lha1nklxo2g7.js +1 -0
- package/out/_next/static/chunks/1mwmcucidjio0.js +8 -0
- package/out/_next/static/chunks/1mzejejof4s6g.js +147 -0
- package/out/_next/static/chunks/1os6pvhjeb16o.js +1 -0
- package/out/_next/static/chunks/1p937fyqa7ssz.js +1 -0
- package/out/_next/static/chunks/1po7d3udj6iv4.js +5 -0
- package/out/_next/static/chunks/1qxxbcidu-hmv.js +1 -0
- package/out/_next/static/chunks/1re4i2t_po4sr.js +95 -0
- package/out/_next/static/chunks/1s4oi1bw8zl5d.js +31 -0
- package/out/_next/static/chunks/1sb04cqudnfpj.js +4 -0
- package/out/_next/static/chunks/1sh2ogc7tcbu-.js +1 -0
- package/out/_next/static/chunks/1so6ouxrq_ffa.js +39 -0
- package/out/_next/static/chunks/1ulje1tawz8fl.js +1 -0
- package/out/_next/static/chunks/1uom050rz5iol.js +272 -0
- package/out/_next/static/chunks/1uymuiqrms2h8.js +103 -0
- package/out/_next/static/chunks/1wijj_fal57co.js +2 -0
- package/out/_next/static/chunks/1wpen9t3_zbte.js +1 -0
- package/out/_next/static/chunks/1wpv1sl7vwg04.js +99 -0
- package/out/_next/static/chunks/1y3poj860g968.js +24 -0
- package/out/_next/static/chunks/1yk0pxcl4urkd.js +4 -0
- package/out/_next/static/chunks/1z1mbux-7g74d.js +1 -0
- package/out/_next/static/chunks/1z2rl3h7scna4.js +7 -0
- package/out/_next/static/chunks/1zyhq82pkterc.js +61 -0
- package/out/_next/static/chunks/2-4610weysas_.js +1 -0
- package/out/_next/static/chunks/2-zr9-ri30va5.css +1 -0
- package/out/_next/static/chunks/20j8cdot33hql.js +13 -0
- package/out/_next/static/chunks/21fo9zerxyx-l.js +59 -0
- package/out/_next/static/chunks/22sxsq82r3cwy.js +41 -0
- package/out/_next/static/chunks/23nwkbry8kz0-.js +1 -0
- package/out/_next/static/chunks/259ckrmoldaqg.js +5 -0
- package/out/_next/static/chunks/25y2dqqrhstuq.js +5 -0
- package/out/_next/static/chunks/28myh-gi8t3t7.js +7 -0
- package/out/_next/static/chunks/28oppyg7ev102.js +1 -0
- package/out/_next/static/chunks/29y82c6-u55hj.js +5 -0
- package/out/_next/static/chunks/2ahlen2u4lbnm.js +16 -0
- package/out/_next/static/chunks/2ajr0rk0_yax6.js +1 -0
- package/out/_next/static/chunks/2c3ehieqiwiw8.js +119 -0
- package/out/_next/static/chunks/2c5gq6izeq6nx.js +81 -0
- package/out/_next/static/chunks/2cj8g3fxmitaa.js +1 -0
- package/out/_next/static/chunks/2d9lzme_uzwvq.js +1 -0
- package/out/_next/static/chunks/2dqoft2pp4355.js +1 -0
- package/out/_next/static/chunks/2gso7_8v7owco.js +1 -0
- package/out/_next/static/chunks/2hc4nowrexhn3.js +100 -0
- package/out/_next/static/chunks/2hoi6cb1lromr.js +4 -0
- package/out/_next/static/chunks/2hw2_8kkf_2fg.js +1 -0
- package/out/_next/static/chunks/2kd4p_esjbozz.js +21 -0
- package/out/_next/static/chunks/2l8gepfm4kyjp.js +1 -0
- package/out/_next/static/chunks/2lwhn1ypqwukz.js +11 -0
- package/out/_next/static/chunks/2oz432iieo_c6.js +43 -0
- package/out/_next/static/chunks/2qjnhmz4c5fq1.js +23 -0
- package/out/_next/static/chunks/2rdjgc7_za785.js +9 -0
- package/out/_next/static/chunks/2ru66cyp0hbxn.js +103 -0
- package/out/_next/static/chunks/2ung-az_h871_.js +4 -0
- package/out/_next/static/chunks/2v4rvvdyh028e.js +1 -0
- package/out/_next/static/chunks/2vsl3-revotpl.js +43 -0
- package/out/_next/static/chunks/2wbc_9uwtsjbp.js +15 -0
- package/out/_next/static/chunks/2xixk0t9e9mnw.js +1 -0
- package/out/_next/static/chunks/2y6i_xssusr93.js +1 -0
- package/out/_next/static/chunks/2y_t26eglpeka.js +4 -0
- package/out/_next/static/chunks/2yw5sk06gdixu.js +1 -0
- package/out/_next/static/chunks/3-hgyqm9mhcm9.js +33 -0
- package/out/_next/static/chunks/3-ve59izq9j-p.js +1 -0
- package/out/_next/static/chunks/364y5vueeinvz.js +276 -0
- package/out/_next/static/chunks/366b9y413lk4d.js +33 -0
- package/out/_next/static/chunks/36vauyb71ot_b.js +61 -0
- package/out/_next/static/chunks/394m309ssmlo3.js +5 -0
- package/out/_next/static/chunks/39pveojee3ma1.js +33 -0
- package/out/_next/static/chunks/3_--novhq2u1q.js +807 -0
- package/out/_next/static/chunks/3apnk6kuvwze8.js +5 -0
- package/out/_next/static/chunks/3b0868kyqqkn3.js +5 -0
- package/out/_next/static/chunks/3btkj1_irjkq7.js +161 -0
- package/out/_next/static/chunks/3dcwbsiechj8e.js +7 -0
- package/out/_next/static/chunks/3dyd0ilb-ee5w.js +8 -0
- package/out/_next/static/chunks/3eftzknnu45-s.js +1 -0
- package/out/_next/static/chunks/3ejsx4af27cct.js +7 -0
- package/out/_next/static/chunks/3es4yddhl8uwc.js +7 -0
- package/out/_next/static/chunks/3fpgg_wy6j2ph.js +2 -0
- package/out/_next/static/chunks/3inp15oicq85k.js +1 -0
- package/out/_next/static/chunks/3j25u7rzawm9f.js +367 -0
- package/out/_next/static/chunks/3jxeyjg2g7w94.js +1 -0
- package/out/_next/static/chunks/3kd-t_qz3nxh7.js +30 -0
- package/out/_next/static/chunks/3kl8vv7w9jkjr.js +23 -0
- package/out/_next/static/chunks/3kmfx3f7oyfdm.js +5 -0
- package/out/_next/static/chunks/3koj4-48a7p_9.js +4 -0
- package/out/_next/static/chunks/3l7glrtu8ueuo.js +4 -0
- package/out/_next/static/chunks/3lgq9oa_2erwo.js +5 -0
- package/out/_next/static/chunks/3m_9ozv0orvze.js +187 -0
- package/out/_next/static/chunks/3muxcxam24i5z.js +1 -0
- package/out/_next/static/chunks/3nimt7ngr5zv6.js +46 -0
- package/out/_next/static/chunks/3pwezwpggrz59.js +74 -0
- package/out/_next/static/chunks/3r02t7a7jknrv.js +7 -0
- package/out/_next/static/chunks/3s40iuaou1rt4.js +1 -0
- package/out/_next/static/chunks/3selzn479n73i.js +16 -0
- package/out/_next/static/chunks/3srflqnqdfd60.js +5 -0
- package/out/_next/static/chunks/3t57k35xu2eo8.js +5 -0
- package/out/_next/static/chunks/3tu90a7do336z.js +12 -0
- package/out/_next/static/chunks/3ukgj2jzxf10n.js +5 -0
- package/out/_next/static/chunks/3vosu-lpiis6v.js +5 -0
- package/out/_next/static/chunks/3xaz8fvw2x6b3.js +5 -0
- package/out/_next/static/chunks/3xgjhwzul66dp.js +4 -0
- package/out/_next/static/chunks/3zze6y1x00k__.js +165 -0
- package/out/_next/static/chunks/40730dyt912zu.js +5 -0
- package/out/_next/static/chunks/40f26tfp8txip.js +5 -0
- package/out/_next/static/chunks/40kc42ezz2dri.js +1 -0
- package/out/_next/static/chunks/41f60q88qcigi.js +39 -0
- package/out/_next/static/chunks/41l5iphw-rna3.js +44 -0
- package/out/_next/static/chunks/423kk9x5t9_b8.js +5 -0
- package/out/_next/static/chunks/42k5e3tr3uyzs.js +54 -0
- package/out/_next/static/chunks/43uqmej6-s4am.js +7 -0
- package/out/_next/static/chunks/4481d7yj7bm2q.js +5 -0
- package/out/_next/static/chunks/448is1kpt9eaa.js +39 -0
- package/out/_next/static/chunks/44fkzg2e80pqt.js +8 -0
- package/out/_next/static/chunks/turbopack-2c3mg3r-05n1w.js +1 -0
- package/out/_offline/index.html +3 -2
- package/out/account/forgot-password/index.html +3 -2
- package/out/account/index.html +3 -2
- package/out/assortments/AssortmentDetailPage/index.html +3 -2
- package/out/assortments/index.html +3 -2
- package/out/assortments/new/index.html +3 -2
- package/out/copilot/index.html +3 -2
- package/out/country/CountryDetailPage/index.html +3 -2
- package/out/country/index.html +3 -2
- package/out/country/new/index.html +3 -2
- package/out/currency/CurrencyDetailPage/index.html +3 -2
- package/out/currency/index.html +3 -2
- package/out/currency/new/index.html +3 -2
- package/out/delivery-provider/DeliveryProviderDetailPage/index.html +3 -2
- package/out/delivery-provider/index.html +3 -2
- package/out/delivery-provider/new/index.html +3 -2
- package/out/enrollments/EnrollmentDetailPage/index.html +3 -2
- package/out/enrollments/index.html +3 -2
- package/out/events/EventDetailPage/index.html +3 -2
- package/out/events/index.html +3 -2
- package/out/exports/index.html +3 -2
- package/out/ext/[[...slug]]/index.html +12 -0
- package/out/external/index.html +3 -2
- package/out/filters/FilterDetailPage/index.html +3 -2
- package/out/filters/index.html +3 -2
- package/out/filters/new/index.html +3 -2
- package/out/index.html +3 -2
- package/out/install/index.html +3 -2
- package/out/language/LanguageDetailPage/index.html +3 -2
- package/out/language/index.html +3 -2
- package/out/language/new/index.html +3 -2
- package/out/log-in/index.html +3 -2
- package/out/orders/OrderDetailPage/index.html +3 -2
- package/out/orders/index.html +3 -2
- package/out/payment-provider/PaymentProviderDetailPage/index.html +3 -2
- package/out/payment-provider/index.html +3 -2
- package/out/payment-provider/new/index.html +3 -2
- package/out/products/ProductDetailPage/index.html +3 -2
- package/out/products/index.html +3 -2
- package/out/products/new/index.html +3 -2
- package/out/quotations/QuotationDetailPage/index.html +3 -2
- package/out/quotations/index.html +3 -2
- package/out/reset-password/index.html +3 -2
- package/out/sign-up/index.html +3 -2
- package/out/styleguide/index.html +3 -2
- package/out/tokens/TokenDetailPage/index.html +3 -2
- package/out/tokens/index.html +3 -2
- package/out/users/UserDetailPage/index.html +3 -2
- package/out/users/index.html +3 -2
- package/out/users/new/index.html +3 -2
- package/out/verify-email/index.html +3 -2
- package/out/warehousing-provider/WarehousingProviderDetailPage/index.html +3 -2
- package/out/warehousing-provider/index.html +3 -2
- package/out/warehousing-provider/new/index.html +3 -2
- package/out/works/WorkDetailPage/index.html +3 -2
- package/out/works/WorkQueueListView/index.html +3 -2
- package/out/works/index.html +3 -2
- package/out/works/management/index.html +3 -2
- package/package.json +129 -32
- package/src/modules/accounts/index.ts +40 -0
- package/src/modules/assortment/index.ts +31 -0
- package/src/modules/copilot/index.ts +4 -0
- package/src/modules/country/index.ts +5 -0
- package/src/modules/currency/index.ts +5 -0
- package/src/modules/delivery-provider/index.ts +7 -0
- package/src/modules/enrollment/index.ts +8 -0
- package/src/modules/event/index.ts +3 -0
- package/src/modules/filter/index.ts +15 -0
- package/src/modules/language/index.ts +5 -0
- package/src/modules/order/index.ts +8 -0
- package/src/modules/payment-providers/index.ts +7 -0
- package/src/modules/product/index.ts +53 -0
- package/src/modules/product-review/index.ts +6 -0
- package/src/modules/quotation/index.ts +6 -0
- package/src/modules/token/index.ts +3 -0
- package/src/modules/warehousing-providers/index.ts +7 -0
- package/src/modules/work/index.ts +8 -0
- package/src/sdk/README.md +235 -0
- package/src/sdk/form-entry.test.mjs +11 -0
- package/src/sdk/hooks.ts +15 -0
- package/src/sdk/modal.ts +6 -0
- package/src/sdk/plugin-build.mjs +97 -0
- package/src/sdk/plugin-build.test.mjs +46 -0
- package/src/sdk/plugin-navigation.test.mjs +59 -0
- package/src/sdk/plugin-runtime.cjs +66 -0
- package/src/sdk/plugin-runtime.d.mts +11 -0
- package/src/sdk/plugin-runtime.mjs +27 -0
- package/src/sdk/plugin-runtime.test.mjs +32 -0
- package/src/sdk/plugins.mjs +17 -0
- package/src/sdk/plugins.ts +105 -0
- package/src/sdk/providers.ts +4 -0
- package/src/sdk/shared-context.test.mjs +40 -0
- package/src/sdk/shims/admin-ui-plugins.ts +3 -0
- package/src/sdk/shims/apollo-client-react.ts +3 -0
- package/src/sdk/shims/apollo-client.ts +3 -0
- package/src/sdk/shims/host.ts +61 -0
- package/src/sdk/shims/next-head.ts +3 -0
- package/src/sdk/shims/next-image.ts +3 -0
- package/src/sdk/shims/next-link.ts +3 -0
- package/src/sdk/shims/next-router.ts +3 -0
- package/src/sdk/shims/react-dom-client.ts +3 -0
- package/src/sdk/shims/react-dom.ts +3 -0
- package/src/sdk/shims/react-hook-form.ts +3 -0
- package/src/sdk/shims/react-intl.ts +3 -0
- package/src/sdk/shims/react-jsx-runtime.ts +3 -0
- package/src/sdk/shims/react-toastify.ts +3 -0
- package/src/sdk/shims/react.ts +3 -0
- package/src/sdk/tailwind-preset.mjs +94 -0
- package/src/sdk/theme.ts +61 -0
- package/src/styles/globals.css +291 -0
- package/out/_next/static/_ZCNVAj2ptQ3WvyS9d8fH/_buildManifest.js +0 -258
- package/out/_next/static/chunks/0-3aqi0z~0~kq.js +0 -1
- package/out/_next/static/chunks/0-_n2k06ojx7r.js +0 -5
- package/out/_next/static/chunks/0-b7z0cgkcxjg.js +0 -12
- package/out/_next/static/chunks/0-khetjtcca7j.js +0 -23
- package/out/_next/static/chunks/0-vzy055sp9wr.js +0 -1
- package/out/_next/static/chunks/0.7c6ora-keix.js +0 -291
- package/out/_next/static/chunks/0.7jou~9s-9ly.js +0 -342
- package/out/_next/static/chunks/0.9xrb29zv20w.js +0 -1
- package/out/_next/static/chunks/0.qq-wh2-26q3.js +0 -1
- package/out/_next/static/chunks/00.vtv-~sgyl1.js +0 -1
- package/out/_next/static/chunks/002w~0kz13czu.js +0 -2
- package/out/_next/static/chunks/00am.v9yslbhb.js +0 -227
- package/out/_next/static/chunks/00z-be-uhq5~b.js +0 -138
- package/out/_next/static/chunks/01.ky4xf9k36u.js +0 -1
- package/out/_next/static/chunks/01m_2h75jti7r.js +0 -173
- package/out/_next/static/chunks/01r~p51b_ree7.js +0 -12
- package/out/_next/static/chunks/01ua~kzkn_2re.js +0 -2
- package/out/_next/static/chunks/01~bicjgx9ycz.js +0 -13
- package/out/_next/static/chunks/02.h.hxc5z45l.js +0 -58
- package/out/_next/static/chunks/020ov1cd5ubsp.js +0 -1
- package/out/_next/static/chunks/022.6ji94gj66.js +0 -90
- package/out/_next/static/chunks/02ljwx.y7xl4e.js +0 -384
- package/out/_next/static/chunks/02mkjzfq3ks0c.js +0 -342
- package/out/_next/static/chunks/034ij~x6p.1xq.js +0 -7
- package/out/_next/static/chunks/0387wujkm6quw.js +0 -26
- package/out/_next/static/chunks/03j~743_iaz5a.js +0 -87
- package/out/_next/static/chunks/03zc-8olk-a4z.js +0 -11
- package/out/_next/static/chunks/042vny1lzms1d.js +0 -1
- package/out/_next/static/chunks/045b8oqunhkwz.js +0 -1
- package/out/_next/static/chunks/04d1nicvb1h43.js +0 -12
- package/out/_next/static/chunks/04hnzv8.xnhtq.js +0 -12
- package/out/_next/static/chunks/04j3vrvch7ujx.js +0 -1
- package/out/_next/static/chunks/04j47t-gfncz0.js +0 -17
- package/out/_next/static/chunks/04wxvqon75sl5.js +0 -15
- package/out/_next/static/chunks/0511iudhvmzyd.js +0 -14
- package/out/_next/static/chunks/054x6af~vznwl.js +0 -13
- package/out/_next/static/chunks/055l.ongzthsf.js +0 -2
- package/out/_next/static/chunks/05r6-kh0ahzac.js +0 -288
- package/out/_next/static/chunks/068vu6mcq90.a.js +0 -14
- package/out/_next/static/chunks/069qmjrpifff9.js +0 -10
- package/out/_next/static/chunks/06c.18b146dst.js +0 -43
- package/out/_next/static/chunks/06ciqx79i2-.y.js +0 -16
- package/out/_next/static/chunks/06em3notkoupj.js +0 -60
- package/out/_next/static/chunks/06fu~nzcm6-xx.js +0 -13
- package/out/_next/static/chunks/06ldt6o0kv861.js +0 -12
- package/out/_next/static/chunks/06nnfpkytc2xp.js +0 -101
- package/out/_next/static/chunks/071ms7.~t3bpc.js +0 -73
- package/out/_next/static/chunks/07absjbyi5efz.js +0 -200
- package/out/_next/static/chunks/07e9hvcn2m7m0.css +0 -1
- package/out/_next/static/chunks/07gn.w-1ng2vv.js +0 -13
- package/out/_next/static/chunks/07ok4zsn3fbvv.js +0 -8
- package/out/_next/static/chunks/07rzofd~n_8p3.js +0 -111
- package/out/_next/static/chunks/08mu1xcbu0z5i.js +0 -1
- package/out/_next/static/chunks/08np.usn69g26.js +0 -12
- package/out/_next/static/chunks/08oxo2i_s5k32.js +0 -22
- package/out/_next/static/chunks/09.xyqg-s5.hj.js +0 -1
- package/out/_next/static/chunks/09kdzdul.4ws~.js +0 -5
- package/out/_next/static/chunks/09u84u49rpg~q.js +0 -10
- package/out/_next/static/chunks/0_0s9kzhzuc0n.js +0 -51
- package/out/_next/static/chunks/0_34hlmm2xs02.js +0 -1
- package/out/_next/static/chunks/0__0blfuajz3u.js +0 -1
- package/out/_next/static/chunks/0_bohk37n03zc.js +0 -13
- package/out/_next/static/chunks/0_fs4fka5dmk4.js +0 -14
- package/out/_next/static/chunks/0_t._or66p529.js +0 -10
- package/out/_next/static/chunks/0a6n-.sxlxj9i.js +0 -44
- package/out/_next/static/chunks/0aewtng76o8~g.js +0 -1
- package/out/_next/static/chunks/0aokk5k383t_7.js +0 -1
- package/out/_next/static/chunks/0bb3o6y0psmp~.js +0 -137
- package/out/_next/static/chunks/0binkax94nk~0.js +0 -286
- package/out/_next/static/chunks/0b~s0.jgd-9e2.js +0 -1
- package/out/_next/static/chunks/0c6p-vlcfco03.js +0 -2
- package/out/_next/static/chunks/0cau~hqb0jkf..js +0 -1
- package/out/_next/static/chunks/0chk_j9c0w74~.js +0 -21
- package/out/_next/static/chunks/0cnjwc8yv_7du.js +0 -36
- package/out/_next/static/chunks/0d1xe7n4~ift~.js +0 -119
- package/out/_next/static/chunks/0d2egm4vz55tp.js +0 -16
- package/out/_next/static/chunks/0dcng-~m.1-6b.js +0 -31
- package/out/_next/static/chunks/0dwysww-f770p.js +0 -43
- package/out/_next/static/chunks/0d~ogeoavcw1p.js +0 -2
- package/out/_next/static/chunks/0eh08mw_ge-97.js +0 -20
- package/out/_next/static/chunks/0ehfzo.p_8b1p.js +0 -142
- package/out/_next/static/chunks/0ei4k52e-lv4o.js +0 -596
- package/out/_next/static/chunks/0eq_bq11j1d8h.js +0 -73
- package/out/_next/static/chunks/0exrsz6ax-mbc.js +0 -50
- package/out/_next/static/chunks/0f7dus4chk-b7.js +0 -1
- package/out/_next/static/chunks/0f_2kctvcf9fc.js +0 -132
- package/out/_next/static/chunks/0fiu9kb2mg_pe.js +0 -1
- package/out/_next/static/chunks/0fzcyuwh8xfnw.js +0 -2
- package/out/_next/static/chunks/0gepdh_x8l03e.js +0 -31
- package/out/_next/static/chunks/0h3apzm4sorb-.js +0 -144
- package/out/_next/static/chunks/0hf6k~k9i9dml.js +0 -101
- package/out/_next/static/chunks/0hggeos.n3ho1.js +0 -324
- package/out/_next/static/chunks/0hs_qs3vvqt40.js +0 -224
- package/out/_next/static/chunks/0i.xcdg6xys-l.js +0 -1
- package/out/_next/static/chunks/0i2a62pwzd90a.js +0 -1
- package/out/_next/static/chunks/0i6yv64iri6c7.js +0 -14
- package/out/_next/static/chunks/0id0hab4x07mp.js +0 -13
- package/out/_next/static/chunks/0itsov_woj_gc.js +0 -11
- package/out/_next/static/chunks/0j0vos96uuvzn.js +0 -19
- package/out/_next/static/chunks/0jl_db3hgihi8.js +0 -1
- package/out/_next/static/chunks/0jsod19bi_.b4.js +0 -1
- package/out/_next/static/chunks/0jt2g8-m-bu3h.js +0 -15
- package/out/_next/static/chunks/0jxpx..caiup3.js +0 -51
- package/out/_next/static/chunks/0k3anlop2ta22.js +0 -1
- package/out/_next/static/chunks/0kg9ib_s2gdgg.js +0 -13
- package/out/_next/static/chunks/0klqyqhl-cmiq.js +0 -46
- package/out/_next/static/chunks/0krimw~~gz366.js +0 -2
- package/out/_next/static/chunks/0kwn.hg1e.um~.js +0 -44
- package/out/_next/static/chunks/0kwrzdkwhn88r.js +0 -13
- package/out/_next/static/chunks/0lcrt1adr76yw.js +0 -8
- package/out/_next/static/chunks/0ljk.6lm3l484.js +0 -7
- package/out/_next/static/chunks/0lq8y5ij59ip~.js +0 -1
- package/out/_next/static/chunks/0ltj_coftxt~y.js +0 -3
- package/out/_next/static/chunks/0lvph83c6z2a-.js +0 -1
- package/out/_next/static/chunks/0mehfyjroyd5m.js +0 -22
- package/out/_next/static/chunks/0n0rvtqgyilhu.js +0 -13
- package/out/_next/static/chunks/0n_8yfa~wwmvn.js +0 -16
- package/out/_next/static/chunks/0ncx_fjx5r3e9.js +0 -13
- package/out/_next/static/chunks/0njruqifmj7eb.js +0 -73
- package/out/_next/static/chunks/0nxa2d3rd~_hk.js +0 -20
- package/out/_next/static/chunks/0oavskn-j3nfr.js +0 -12
- package/out/_next/static/chunks/0oe9_~e6jba2c.js +0 -108
- package/out/_next/static/chunks/0on_9mgul7_i2.js +0 -188
- package/out/_next/static/chunks/0o~whquist5u6.js +0 -1
- package/out/_next/static/chunks/0p1dktj9e81.u.js +0 -209
- package/out/_next/static/chunks/0p2l~~8x6478b.js +0 -73
- package/out/_next/static/chunks/0p47r5clv~tji.js +0 -10
- package/out/_next/static/chunks/0pu7s41rb3je3.js +0 -1
- package/out/_next/static/chunks/0pvo5m24k8fer.js +0 -61
- package/out/_next/static/chunks/0q_s9ru.9iese.js +0 -193
- package/out/_next/static/chunks/0qoukboupb.ht.js +0 -14
- package/out/_next/static/chunks/0qsxmm8vi313~.js +0 -1
- package/out/_next/static/chunks/0qvf8s9fxj~ah.js +0 -41
- package/out/_next/static/chunks/0qy-relppwey0.js +0 -384
- package/out/_next/static/chunks/0r-a0zxkpzy.c.js +0 -14
- package/out/_next/static/chunks/0r017e-0mhnx2.js +0 -16
- package/out/_next/static/chunks/0r4jylm5inuxv.js +0 -13
- package/out/_next/static/chunks/0r6m.pwe-fw0s.js +0 -18
- package/out/_next/static/chunks/0rbjbp6y.a5ze.js +0 -8
- package/out/_next/static/chunks/0rds3div~3bsj.js +0 -15
- package/out/_next/static/chunks/0ridpuenplsy6.js +0 -46
- package/out/_next/static/chunks/0rwb5kn3yi~nn.js +0 -16
- package/out/_next/static/chunks/0s8kpaa2at0vl.js +0 -1
- package/out/_next/static/chunks/0sbwu9f3ons7y.js +0 -13
- package/out/_next/static/chunks/0sqtyywk.m-gb.js +0 -119
- package/out/_next/static/chunks/0suvx3w6t11x1.js +0 -14
- package/out/_next/static/chunks/0t.cqbkm36.29.js +0 -16
- package/out/_next/static/chunks/0ta5trm5g8qpx.js +0 -1
- package/out/_next/static/chunks/0u5rgvh_590-0.js +0 -15
- package/out/_next/static/chunks/0uzv9isqw0xwo.js +0 -12
- package/out/_next/static/chunks/0vu00vv4k8fm2.js +0 -5
- package/out/_next/static/chunks/0wbeo27c~tc9b.js +0 -13
- package/out/_next/static/chunks/0wc49~p9kujfb.js +0 -137
- package/out/_next/static/chunks/0we-.8a4ky2dw.js +0 -2
- package/out/_next/static/chunks/0whq69wyy9mrh.js +0 -1
- package/out/_next/static/chunks/0wjcrj2l-j~_f.js +0 -188
- package/out/_next/static/chunks/0wo4urhtm22ug.js +0 -1
- package/out/_next/static/chunks/0wuu4uyer4mlk.js +0 -31
- package/out/_next/static/chunks/0x4-t7xmjlqx1.js +0 -12
- package/out/_next/static/chunks/0x6_x80dsgoq7.js +0 -2
- package/out/_next/static/chunks/0xczkhpv81j3p.js +0 -1
- package/out/_next/static/chunks/0xo2uquse155f.js +0 -26
- package/out/_next/static/chunks/0xve~a_ipc.21.js +0 -81
- package/out/_next/static/chunks/0y153o27bxgcb.js +0 -1
- package/out/_next/static/chunks/0y51ico3_h9g3.js +0 -346
- package/out/_next/static/chunks/0y5ttyo5uc5l-.js +0 -15
- package/out/_next/static/chunks/0ydxs-rl4u1j7.js +0 -8
- package/out/_next/static/chunks/0yrt60iy59wz5.js +0 -13
- package/out/_next/static/chunks/0z.rzro53h5n6.js +0 -15
- package/out/_next/static/chunks/0zhqlp5hndrqa.js +0 -1
- package/out/_next/static/chunks/0znn2bf~0xx64.js +0 -46
- package/out/_next/static/chunks/0zpe1nbzz~f8h.js +0 -5
- package/out/_next/static/chunks/0zr4c4gwoe48t.js +0 -15
- package/out/_next/static/chunks/0~gsuncyic_fy.js +0 -2
- package/out/_next/static/chunks/0~tk5o7vtfrjq.js +0 -66
- package/out/_next/static/chunks/103dw~jwhci8m.js +0 -61
- package/out/_next/static/chunks/1041bp0usprml.js +0 -217
- package/out/_next/static/chunks/10bhd86pfsoy5.js +0 -3
- package/out/_next/static/chunks/10jmwo0cv2790.js +0 -100
- package/out/_next/static/chunks/10m8c175impy1.js +0 -135
- package/out/_next/static/chunks/10y5-.kflf93t.js +0 -13
- package/out/_next/static/chunks/11_s223xijkg..js +0 -14
- package/out/_next/static/chunks/11fl4v~k-i6dd.js +0 -1
- package/out/_next/static/chunks/11rfgl5vsu7np.js +0 -147
- package/out/_next/static/chunks/11sml2nj796.7.js +0 -59
- package/out/_next/static/chunks/11smy7~k0731f.js +0 -12
- package/out/_next/static/chunks/12e_gn-hj1ad4.js +0 -5
- package/out/_next/static/chunks/12nnf6pgi3n_-.js +0 -16
- package/out/_next/static/chunks/12q9qfk5yyvku.js +0 -288
- package/out/_next/static/chunks/13h_3r03rklr2.js +0 -54
- package/out/_next/static/chunks/13tjz9q-ls~t3.js +0 -1
- package/out/_next/static/chunks/13ytbvm.zbpoc.js +0 -13
- package/out/_next/static/chunks/13ztct7h9n9ly.js +0 -1
- package/out/_next/static/chunks/14.go5qd.nd-p.js +0 -22
- package/out/_next/static/chunks/14e4xylnze3x2.js +0 -1
- package/out/_next/static/chunks/14kk7enrk.1zd.js +0 -14
- package/out/_next/static/chunks/14q69-rwokbvm.js +0 -13
- package/out/_next/static/chunks/14tbg01czewdy.js +0 -1
- package/out/_next/static/chunks/14vhb8kz5tl75.js +0 -471
- package/out/_next/static/chunks/15r--ckscx-95.js +0 -227
- package/out/_next/static/chunks/15wy-.8-w435h.js +0 -92
- package/out/_next/static/chunks/15z9m-o4tbe0n.js +0 -1
- package/out/_next/static/chunks/169ub5vhwew62.js +0 -1
- package/out/_next/static/chunks/16_-z_hnq-xk7.js +0 -12
- package/out/_next/static/chunks/16s_3ks~~cizu.js +0 -31
- package/out/_next/static/chunks/16wl81ja44b1o.js +0 -54
- package/out/_next/static/chunks/16yuttvlotzf1.js +0 -13
- package/out/_next/static/chunks/17iwj3.fr3dk8.js +0 -7
- package/out/_next/static/chunks/17l28vjc_z915.js +0 -596
- package/out/_next/static/chunks/17v04.so.9g1..js +0 -1
- package/out/_next/static/chunks/181fxym9wgh_m.js +0 -1
- package/out/_next/static/chunks/188m.-obobpy_.js +0 -178
- package/out/_next/static/chunks/turbopack-0-c-m~y_.l8n2.js +0 -1
- package/out/_next/static/chunks/turbopack-0-ly3m1ffx4wa.js +0 -1
- package/out/_next/static/chunks/turbopack-0-w~ect25bcud.js +0 -1
- package/out/_next/static/chunks/turbopack-0.2nskz5ux6vf.js +0 -1
- package/out/_next/static/chunks/turbopack-00s1egv_1qxjy.js +0 -1
- package/out/_next/static/chunks/turbopack-00xxfsstzot2t.js +0 -1
- package/out/_next/static/chunks/turbopack-01cocbtxks9vh.js +0 -1
- package/out/_next/static/chunks/turbopack-032afnigdvseo.js +0 -1
- package/out/_next/static/chunks/turbopack-03hvtuilfwgpp.js +0 -1
- package/out/_next/static/chunks/turbopack-04r-j8f.wnbc8.js +0 -1
- package/out/_next/static/chunks/turbopack-06m0ig9acgabg.js +0 -1
- package/out/_next/static/chunks/turbopack-06rfum.y.5-0h.js +0 -1
- package/out/_next/static/chunks/turbopack-07kkmwgy.zqc4.js +0 -1
- package/out/_next/static/chunks/turbopack-07qbascdm6h.j.js +0 -1
- package/out/_next/static/chunks/turbopack-087jzd1gou_ln.js +0 -1
- package/out/_next/static/chunks/turbopack-08h61bgwzagra.js +0 -1
- package/out/_next/static/chunks/turbopack-09d04tqccs343.js +0 -1
- package/out/_next/static/chunks/turbopack-0a1fdpd8.q282.js +0 -1
- package/out/_next/static/chunks/turbopack-0azc8sns1skk7.js +0 -1
- package/out/_next/static/chunks/turbopack-0b6fo_~4ih.xu.js +0 -1
- package/out/_next/static/chunks/turbopack-0bv6z-ics5a1v.js +0 -1
- package/out/_next/static/chunks/turbopack-0c6v~i5zl-_gb.js +0 -1
- package/out/_next/static/chunks/turbopack-0cn_kcha7l~dv.js +0 -1
- package/out/_next/static/chunks/turbopack-0d6899l2l47lo.js +0 -1
- package/out/_next/static/chunks/turbopack-0f3a-2xdfi37o.js +0 -1
- package/out/_next/static/chunks/turbopack-0h1nt4kh7q.sg.js +0 -1
- package/out/_next/static/chunks/turbopack-0hh49n1y8gh-z.js +0 -1
- package/out/_next/static/chunks/turbopack-0ike2xsgynih8.js +0 -1
- package/out/_next/static/chunks/turbopack-0iyvc628rll34.js +0 -1
- package/out/_next/static/chunks/turbopack-0j-vlj505~ob9.js +0 -1
- package/out/_next/static/chunks/turbopack-0j4w2c8pgyzts.js +0 -1
- package/out/_next/static/chunks/turbopack-0kblf3k62bseb.js +0 -1
- package/out/_next/static/chunks/turbopack-0l-~7v3-4~9hg.js +0 -1
- package/out/_next/static/chunks/turbopack-0lb9brrvzbipj.js +0 -1
- package/out/_next/static/chunks/turbopack-0lxybl6vxlhqz.js +0 -1
- package/out/_next/static/chunks/turbopack-0mlri9n~ktoxa.js +0 -1
- package/out/_next/static/chunks/turbopack-0mrgw~e1q9n4l.js +0 -1
- package/out/_next/static/chunks/turbopack-0na33zduv8spb.js +0 -1
- package/out/_next/static/chunks/turbopack-0o_.gb8s5jo85.js +0 -1
- package/out/_next/static/chunks/turbopack-0ofwh3p918g-t.js +0 -1
- package/out/_next/static/chunks/turbopack-0o~anfgw~s_~q.js +0 -1
- package/out/_next/static/chunks/turbopack-0q3dp3wkxb9ro.js +0 -1
- package/out/_next/static/chunks/turbopack-0q5hq623ooh_q.js +0 -1
- package/out/_next/static/chunks/turbopack-0rd~zo~yh9.xl.js +0 -1
- package/out/_next/static/chunks/turbopack-0s3jauzip9.x..js +0 -1
- package/out/_next/static/chunks/turbopack-0uukmkfqyl0h8.js +0 -1
- package/out/_next/static/chunks/turbopack-0w_qsium_grk3.js +0 -1
- package/out/_next/static/chunks/turbopack-0wbajkw2~1l3z.js +0 -1
- package/out/_next/static/chunks/turbopack-0wej6bu7ey9au.js +0 -1
- package/out/_next/static/chunks/turbopack-0wk424kj.kar2.js +0 -1
- package/out/_next/static/chunks/turbopack-0xew6rccsve8y.js +0 -1
- package/out/_next/static/chunks/turbopack-0y898tb-~kae~.js +0 -1
- package/out/_next/static/chunks/turbopack-0~lzxx1ip4b0u.js +0 -1
- package/out/_next/static/chunks/turbopack-11.ar48mv3rch.js +0 -1
- package/out/_next/static/chunks/turbopack-11eqwvrhzm6gb.js +0 -1
- package/out/_next/static/chunks/turbopack-12cd3.da_pv_e.js +0 -1
- package/out/_next/static/chunks/turbopack-12hcx9pi_e_wy.js +0 -1
- package/out/_next/static/chunks/turbopack-12pksi_8~z4-a.js +0 -1
- package/out/_next/static/chunks/turbopack-146i7rj93.pk3.js +0 -1
- package/out/_next/static/chunks/turbopack-15d8c1ob0a6m0.js +0 -1
- package/out/_next/static/chunks/turbopack-16-bzzuvc9d9..js +0 -1
- package/out/_next/static/chunks/turbopack-17sr.m9o6jhdb.js +0 -1
- package/out/_next/static/chunks/turbopack-1829xb~o3h36e.js +0 -1
- package/out/admin-ui-permissions.js +0 -129
- /package/out/_next/static/{_ZCNVAj2ptQ3WvyS9d8fH → BPoacQET3TJr2q9E370Ez}/_clientMiddlewareManifest.js +0 -0
- /package/out/_next/static/{_ZCNVAj2ptQ3WvyS9d8fH → BPoacQET3TJr2q9E370Ez}/_ssgManifest.js +0 -0
|
@@ -0,0 +1,327 @@
|
|
|
1
|
+
(()=>{"use strict";(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,50595,e=>{var s=e.i(91398),t=e.i(41158),r=e.i(3828),a=e.i(69322);e.s(["f",0,({routeName:e=null,currentPageTitle:l=null,depth:d=null})=>{let i=(0,r.useRouter)(),{formatMessage:n}=(0,a.X)(),o={home:"home",products:"products",orders:"orders",users:"users",assortments:"assortments",filters:"filters",tokens:"tokens",quotations:"quotations",enrollments:"enrollments",activities:"activities",works:"work_queue",events:"events",currency:"currencies",country:"countries",language:"languages","delivery-provider":"delivery_providers","payment-provider":"payment_providers","warehousing-provider":"warehousing_provider",system:"system",account:"account",new:"new",edit:"edit"},c=i.asPath?.split("/")?.filter((e,s)=>i.asPath?.split("/")?.indexOf(e)===s);if(1===c.length)return null;let u="";d&&c.splice(d),e&&(c[c.length-1]=e);let m=c?.map(s=>{if(u+=`${s}/`,!s)return{name:n({id:"home",defaultMessage:"Home"}),path:"/"};let t=s?.split("?")[0],r=e?t:t.replace(/-/g," "),a=o[t];return{name:a?n({id:a,defaultMessage:r}):decodeURIComponent(r),path:u.replace(/.$/,"")}}),x=m?.length>1?m[m.length-2]:null;return(0,s.jsxs)(s.Fragment,{children:[x&&(0,s.jsx)("nav",{className:"mb-4 flex sm:hidden","aria-label":"Breadcrumb",children:(0,s.jsxs)(t.default,{href:x.path,className:"flex items-center text-sm font-medium capitalize text-text-muted hover:text-text-primary focus:outline-hidden focus:ring-2 focus:ring-focus-ring rounded-md px-1 py-1",children:[(0,s.jsx)("svg",{className:"mr-1.5 h-4 w-4 shrink-0",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",children:(0,s.jsx)("path",{fillRule:"evenodd",d:"M12.707 5.293a1 1 0 010 1.414L9.414 10l3.293 3.293a1 1 0 01-1.414 1.414l-4-4a1 1 0 010-1.414l4-4a1 1 0 011.414 0z",clipRule:"evenodd"})}),x.name]})}),(0,s.jsx)("nav",{className:"mb-5 hidden sm:flex lg:mt-5 lg:mb-8","aria-label":"Breadcrumb",children:(0,s.jsx)("ol",{className:"flex items-center space-x-4",children:m?.map((e,r)=>(0,s.jsx)("li",{children:(0,s.jsxs)("div",{className:"flex items-center",children:[0!==r&&(0,s.jsx)("svg",{className:"mr-4 h-5 w-5 shrink-0 text-text-muted",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",children:(0,s.jsx)("path",{fillRule:"evenodd",d:"M7.293 14.707a1 1 0 010-1.414L10.586 10 7.293 6.707a1 1 0 011.414-1.414l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414 0z",clipRule:"evenodd"})}),(0,s.jsx)(t.default,{href:e.path,className:"text-sm font-medium capitalize text-text-muted hover:text-text-primary focus:outline-hidden focus:ring-2 focus:ring-focus-ring rounded-md px-1 py-1",children:r===m.length-1&&l?l:e.name})]})},e.path))})})]})}])},21623,e=>{var s=e.i(91398),t=e.i(56206);e.s(["f",0,({text:e,children:r,onClick:a,className:l="",disabled:d=!1,id:i="",variant:n="primary",size:o="md",type:c="button",loading:u=!1,icon:m,iconRight:x,fullWidth:f=!1,rounded:h="md",ariaLabel:p,...g})=>{let v=r||e,b=(m||x)&&v?"gap-2":"";return(0,s.jsx)("button",{id:i,type:c,disabled:d||u,onClick:a,"aria-label":p,className:(0,t.U)("inline-flex items-center justify-center font-medium shadow-xs focus:outline-hidden focus:ring-2 focus:ring-offset-2 transition-colors duration-200 disabled:cursor-not-allowed disabled:opacity-50",{xs:"px-2.5 py-1.5 text-xs h-6",sm:"px-3 py-2 text-sm h-8",md:"px-4 py-2 text-sm h-9",lg:"px-6 py-3 text-base h-11"}[o],{none:"rounded-none",sm:"rounded-sm",md:"rounded-md",lg:"rounded-lg",full:"rounded-full"}[h],{primary:"border border-accent bg-accent text-text-on-accent hover:bg-accent-hover focus:ring-focus-ring",secondary:"border border-border-default bg-surface text-text-secondary hover:bg-surface-raised focus:ring-focus-ring",tertiary:"border border-border-subtle bg-surface text-text-secondary hover:bg-surface-raised focus:ring-focus-ring",quaternary:"bg-transparent text-text-secondary hover:bg-surface-raised focus:ring-focus-ring",danger:"border border-danger bg-surface text-danger hover:bg-rose-50 dark:hover:bg-rose-900/10 focus:ring-rose-500",ghost:"bg-transparent border border-transparent text-text-secondary hover:text-text-primary hover:bg-surface-raised focus:ring-focus-ring",success:"border border-emerald-500 dark:border-emerald-400 bg-emerald-50 dark:bg-emerald-900/20 text-emerald-600 dark:text-emerald-400 hover:bg-emerald-100 dark:hover:bg-emerald-900/30 focus:ring-emerald-500",neutral:"border border-border-default bg-surface-raised text-text-secondary hover:bg-surface-raised focus:ring-focus-ring",input:"border border-border-default bg-surface text-text-primary hover:border-slate-400 dark:hover:border-slate-500 focus:ring-focus-ring focus:border-slate-500"}[n],b,{"w-full":f},l),...g,children:u?(0,s.jsxs)("div",{className:"flex items-center gap-2",children:[(0,s.jsx)("div",{className:"w-4 h-4 border-2 border-current border-t-transparent rounded-full animate-spin"}),v]}):(0,s.jsxs)(s.Fragment,{children:[m,v,x]})})}])},57986,26013,e=>{var s=e.i(91398),t=e.i(69322),r=e.i(15361),a=e.i(10833);e.s(["f",()=>a.f],26013);var a=a,l=e.i(67912),d=e.i(41158),i=e.i(93380),n=e.i(87284);let o=({username:e})=>(0,s.jsx)(l.f,{className:"h-8 w-8 text-slate-800 dark:text-slate-600"});e.s(["f",0,({user:e,contact:l})=>{let{formatMessage:c}=(0,t.X)();return(0,s.jsxs)("div",{className:"flex items-center gap-3",children:[(0,s.jsx)("div",{className:"h-8 w-8 rounded-full",children:e?.avatar?(0,s.jsx)(n.f,{src:e.avatar.url,alt:e.name||e.username,width:100,height:100}):(0,s.jsx)(o,{username:e?.username})}),(0,s.jsxs)("div",{className:"flex flex-wrap items-center gap-4",children:[(0,s.jsx)("div",{className:"flex items-center justify-between gap-3 flex-wrap",children:(0,s.jsxs)("span",{className:"flex items-center",children:[(0,s.jsx)("h3",{className:"text-xl font-semibold capitalize",children:(0,s.jsx)(d.default,{href:`/users?userId=${e?._id}`,className:"text-text-secondary hover:text-slate-900 dark:hover:text-slate-600",children:(0,i.f)(e)})}),e?.primaryEmail?.verified&&(0,s.jsxs)("dl",{className:"self-end",children:[(0,s.jsx)("dt",{className:"sr-only",children:c({id:"account_status",defaultMessage:"Account status"})}),(0,s.jsx)("dd",{className:"mt-3 flex items-center self-end text-sm font-medium capitalize text-slate-900 sm:mr-6 sm:mt-0",children:e?.primaryEmail?.verified?(0,s.jsx)(r.f,{className:"h-4 w-4 shrink-0 text-emerald-400","aria-hidden":"true"}):(0,s.jsx)(a.f,{className:"h-4 w-4 shrink-0 text-rose-400","aria-hidden":"true"})})]})]})}),l?.emailAddress&&(0,s.jsx)("div",{children:l.emailAddress}),l?.telNumber&&(0,s.jsx)("div",{children:l.telNumber})]})]})}],57986)},2194,e=>{var s=e.i(91398),t=e.i(92802),t=t,r=e.i(56206),a=e.i(69322);e.s(["f",0,({message:e,className:l="",Icon:d=null})=>(0,s.jsx)("div",{className:(0,r.U)("rounded-md flex w-full flex-col items-center justify-center min-h-[176px] py-8 border-1 border-dashed border-border-default text-slate-500 dark:text-slate-600",l),children:(0,s.jsxs)("div",{className:"grid items-center justify-center",children:[(0,s.jsx)("div",{className:"flex items-center justify-center text-slate-400 dark:text-slate-600",children:d||(0,s.jsx)(t.f,{className:"h-6 w-6"})}),(0,s.jsx)(a.L,{id:"no_data_message",defaultMessage:"<p>No <span> {message} available</span> </p>",values:{p:e=>(0,s.jsx)("p",{className:"mt-2 m-auto flex items-center justify-center",children:e}),span:e=>(0,s.jsxs)("span",{className:"capitalize ml-1",children:[" ",e," "]}),message:e}})]})})],2194)},66885,e=>{var s=e.i(91398),t=e.i(69322),r=e.i(38322),a=e.i(84818),l=e.i(83147),d=e.i(51782);e.s(["f",0,({data:e,statusTypes:i,timeline:n})=>{let{formatMessage:o}=(0,t.X)(),{formatDateTime:c}=(0,a.f)(),{content:u={},id:m}=n[e?.status]||{},x=i.filter(({value:e})=>n[e]?.visible);return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("div",{className:"flow-root sm:hidden",children:(0,s.jsx)("ul",{className:"my-4",children:x.map(({value:t,label:a},d)=>(0,s.jsx)("li",{children:(0,s.jsxs)("div",{className:"relative pb-8",children:[d!==x.length-1?(0,s.jsx)("span",{className:(0,l.S)(m>d+1?"bg-slate-900":"bg-slate-200","absolute top-2.5 left-2.5 -ml-px h-full w-0.5"),"aria-hidden":"true"}):null,(0,s.jsxs)("div",{className:"relative flex items-center space-x-3",children:[(0,s.jsx)("div",{children:(0,s.jsx)("span",{className:(0,l.S)(m>d?"bg-slate-900":"bg-slate-600","flex h-5 w-5 items-center justify-center rounded-full"),children:m>d?(0,s.jsx)(r.f,{className:"h-5 w-5 text-white","aria-hidden":"true"}):null})}),(0,s.jsxs)("div",{className:"ml-4 flex min-w-0 flex-1 items-center justify-between",children:[(0,s.jsx)("div",{className:"flex-auto",children:(0,s.jsx)("p",{className:"text-sm text-slate-500",children:(0,s.jsxs)("span",{className:"flex w-full items-center justify-between text-text-primary",children:[t,n[t]?.Component&&n[t].Component]})})}),m>=n[t].id?(0,s.jsx)("div",{className:"whitespace-nowrap text-right text-sm text-text-muted ml-4",children:e[n?.[t]?.content]?c(e[n?.[t]?.content],{dateStyle:"short",timeStyle:"short"}):null}):null]})]})]})},`${t}${a}`))})}),(0,s.jsxs)("div",{className:" p-4 bg-white shadow-sm dark:shadow-none dark:border dark:border-slate-700 sm:rounded-lg dark:bg-slate-900",children:[(0,s.jsxs)("p",{className:"font-medium flex items-center justify-between",children:[(0,s.jsx)(d.f,{status:e.status}),(0,s.jsx)("span",{children:e[u]?c(e[u],{dateStyle:"full",timeStyle:"medium"}):o({id:"in_cart",defaultMessage:"In cart"})})]}),(0,s.jsx)("div",{className:"mt-2","aria-hidden":"true",children:(0,s.jsx)("div",{className:"mt-2 hidden text-sm font-medium text-slate-600 sm:flex",children:x.map(({value:t,label:r})=>(0,s.jsxs)("div",{className:"sm:flex-auto",children:[(0,s.jsx)("div",{className:"relative mb-4 mr-1",children:(0,s.jsx)("span",{className:(0,l.S)(m>=n[t].id?e?.status==="CONFIRMED"?"bg-lime-600":e?.status==="PENDING"?"bg-amber-600":e?.status==="OPEN"?"bg-sky-600":"bg-emerald-600":"bg-surface-raised","absolute top-0 left-0 -ml-px h-2 w-full"),"aria-hidden":"true"})}),(0,s.jsxs)("div",{className:(0,l.S)(m>=n[t].id?"text-slate-900":"opacity-50","text-start"),children:[(0,s.jsx)("span",{className:"text-slate-900 dark:text-slate-400 uppercase",children:n[t]?.Component?n[t].Component:"CONFIRMED"===t?o({id:"confirmed",defaultMessage:"CONFIRMED"}):"PENDING"===t?o({id:"pending",defaultMessage:"PENDING"}):"OPEN"===t?o({id:"open",defaultMessage:"OPEN"}):"FULFILLED"===t?o({id:"fulfilled",defaultMessage:"FULFILLED"}):"REJECTED"===t?o({id:"rejected",defaultMessage:"REJECTED"}):t}),(0,s.jsx)("span",{className:"block text-text-primary",children:m>=n?.[t]?.id?c(e[n?.[t]?.content],{dateStyle:"short",timeStyle:"short"}):null})]})]},`${t}${r}`))})})]})]})}])},8918,e=>{var s=e.i(91398),t=e.i(91788),r=e.i(56206),a=e.i(69322),l=e.i(88566),d=e.i(25575),i=e.i(3828),n=e.i(83147);let o=({onSort:e,sortDirection:t})=>t?"ASC"===t?(0,s.jsx)(d.f,{className:"ml-2 w-5 h-5 text-slate-700",onClick:e}):(0,s.jsx)(l.f,{className:"ml-2 w-5 h-5 text-slate-700",onClick:e}):(0,s.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:"ml-2 w-6 h-6",onClick:e,children:(0,s.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8.25 15L12 18.75 15.75 15m-7.5-6L12 5.25 15.75 9"})});var c=e.i(2194);let u=e=>{let s=[],r=[],a=[];return t.default.Children.forEach(e.children,e=>{e?.props?.header?s.push(e):e?.props?.footer?a.push(e):r.push(e)}),{header:s,footer:a,body:r}},m=({className:e="",...l})=>{let[d,i]=(0,t.useState)(u(l)),{formatMessage:n}=(0,a.X)(),o={...d,header:t.default.Children.map(d.header,e=>t.default.cloneElement(e))};return(0,t.useEffect)(()=>{i(u(l))},[l.children]),o.header.length||o.body.length?(0,s.jsxs)("table",{className:(0,r.U)("overflow-hidden my-3 flex w-full flex-row flex-nowrap divide-y divide-slate-200 dark:divide-slate-600 shadow-sm sm:rounded-lg sm:bg-white dark:bg-slate-950",e),...l,children:[(0,s.jsx)("thead",{className:"hidden sm:table-header-group bg-surface-raised text-sm text-text-secondary",children:o.header}),o.body.length?(0,s.jsx)("tbody",{className:"space-y-4 sm:space-y-0 flex-1 sm:divide-y divide-slate-200 dark:divide-slate-700 sm:bg-white dark:sm:bg-slate-800 sm:flex-none",children:o.body}):null,o.footer.length?(0,s.jsx)("tfoot",{children:o.footer}):null]}):(0,s.jsx)(c.f,{message:n({id:"data",defaultMessage:"Data"})})};m.Row=({className:e="",children:a=[],header:l=!1,enablesort:d=!1,...i})=>{let n=t.default.Children.map(a,e=>t.default?.cloneElement(e||(0,s.jsx)("span",{}),{header:l,enablesort:d}));return(0,s.jsx)("tr",{className:(0,r.U)("grid grid-cols-1 auto-rows-fr border border-border-subtle sm:border-0 rounded-md sm:mb-0 sm:table-row sm:rounded-none bg-surface sm:bg-inherit dark:sm:bg-inherit",e),...i,children:n})},m.Cell=({className:e="",header:t=!1,enablesort:a=!1,children:l,sortKey:d=null,defaultSortDirection:c=null,...u})=>{let m=(0,i.useRouter)(),x=(0,n.v)(m.query?.sort),f=t?"th":"td";return(0,s.jsx)(f,{className:(0,r.U)(t?"px-4 py-3 text-left text-text-muted":"whitespace-nowrap px-4 py-3 text-text-muted border-b dark:border-slate-300 last:border-b-0 sm:border-b-0 text-left flex items-center sm:table-cell",e),...u,children:(0,s.jsxs)("div",{className:"flex items-center",children:[l,"th"===f&&a&&d&&(0,s.jsx)(o,{onSort:e=>{var s;let t;e.preventDefault(),((s=x[d])?"ASC"===s?"DESC":null:"ASC")||!x[d]?t={...x,[d]:"ASC"===x[d]?"DESC":"ASC"}:(delete x[d],t=x);let r=Object.entries(t).map(([e,s])=>[e,s].join("_")).join(","),{sort:a,...l}=m.query,i=Object.keys(l).map(e=>[e,l[e]].join("=")).join("&"),o=0===Object.keys(l).length?`${m.basePath}?sort=${r}`:`${m.basePath}?${i}&sort=${r}`;r?m.push(o):m.push({query:(0,n._)(l)})},sortDirection:Object.keys(x).length?x[d]:c})]})})},e.s(["f",0,m],8918)},36494,e=>{var s=e.i(59080);let t=s.a`
|
|
2
|
+
fragment AddressFragment on Address {
|
|
3
|
+
firstName
|
|
4
|
+
lastName
|
|
5
|
+
company
|
|
6
|
+
addressLine
|
|
7
|
+
postalCode
|
|
8
|
+
city
|
|
9
|
+
countryCode
|
|
10
|
+
regionCode
|
|
11
|
+
}
|
|
12
|
+
`;e.s(["f",0,t])},11959,e=>{var s=e.i(59080),t=e.i(32171);let r=s.a`
|
|
13
|
+
query StatusTypes($enumName: String!) {
|
|
14
|
+
statusTypes: __type(name: $enumName) {
|
|
15
|
+
options: enumValues {
|
|
16
|
+
value: name
|
|
17
|
+
label: description
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
`;e.s(["f",0,e=>{let{data:s,loading:a,error:l}=(0,t.f)(r,{variables:{enumName:e}});return{statusTypes:s?.statusTypes?.options||[],loading:a,error:l}}])},83147,e=>{let s=e=>e&&e?.split(",").reduce((e,s)=>{let[t=null,r=null]=(s||"")?.split("_")||[];return{...e,[t]:r}},null)||{};e.s(["S",0,(...e)=>e.filter(Boolean).join(" "),"R",0,e=>Object.entries(s(e))?.map(([e,s])=>({key:e,value:s})),"D",0,e=>e?.label&&e?.version?`${e.label} ${e.version}`:"","v",0,s,"Q",0,(e,s,t=!0)=>{if(!s)return"";try{return`${new Intl.DisplayNames([e],{type:"region"}).of(s)} ${t?`(${s})`:""}`}catch{return s}},"j",0,(e,s,t=!0)=>{if(!s)return"";try{return`${new Intl.DisplayNames([e],{type:"currency"}).of(s)} ${t?`(${s})`:""}`}catch{return s}},"I",0,(e,s,t=!0)=>{if(!s)return"";try{return`${new Intl.DisplayNames([e],{type:"language"}).of(s)} ${t?`(${s})`:""}`}catch{return s}},"_",0,(e,s,t)=>{let r;return r=t?{...e,[t]:s}:e,Object.keys(r)?.map(e=>[e,r[e]].join("="))?.join("&")},"d",0,()=>({formatPrice:e=>{if(!e?.currencyCode)return"n/a";if(e?.amount===void 0||e?.amount===null)return"";let{amount:s,currencyCode:t}=e||{};return new Intl.NumberFormat(navigator.language,{style:"currency",currency:t}).format(s/100)}})])},93333,e=>{var s=e.i(59080),t=e.i(32171);let r=s.a`
|
|
22
|
+
query DeliveryProvidersType {
|
|
23
|
+
deliveryProviderType: __type(name: "DeliveryProviderType") {
|
|
24
|
+
options: enumValues {
|
|
25
|
+
value: name
|
|
26
|
+
label: description
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
`;e.s(["f",0,()=>{let{data:e,loading:s,error:a}=(0,t.f)(r);return{deliveryProviderType:e?.deliveryProviderType?.options||[],loading:s,error:a}}])},34728,e=>{var s=e.i(91398),t=e.i(38322);e.s(["f",0,({onOkClick:e,buttonText:r,headerText:a,message:l,icon:d=null})=>(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("div",{children:[d||(0,s.jsx)("div",{className:"mx-auto flex h-12 w-12 items-center justify-center rounded-full bg-emerald-100 dark:bg-emerald-900/30",children:(0,s.jsx)(t.f,{className:"h-6 w-6 text-emerald-600 dark:text-emerald-400",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","aria-hidden":"true"})}),(0,s.jsxs)("div",{className:"mt-3 text-center sm:mt-5",children:[(0,s.jsx)("h3",{className:"text-lg text-text-primary",id:"modal-title",children:a}),(0,s.jsx)("div",{className:"mt-2",children:(0,s.jsx)("p",{className:"text-sm text-text-muted",children:l})})]})]}),(0,s.jsx)("div",{className:"mt-5 sm:mt-6",children:(0,s.jsx)("button",{id:"alert_ok",onClick:e,type:"button",className:"inline-flex w-full justify-center rounded-md border border-transparent bg-accent px-4 py-2 text-base font-medium text-text-on-accent shadow-xs hover:bg-accent-hover focus:outline-hidden focus:ring-2 focus:ring-focus-ring focus:ring-offset-2 sm:text-sm",children:r})})]})])},15971,e=>{var s=e.i(91398),t=e.i(69322);e.s(["f",0,({onOkClick:e,onCancelClick:r,okText:a=null,cancelText:l=null,headerText:d=null,message:i=null,icon:n=null,close:o=null,loading:c=!1})=>{let{formatMessage:u}=(0,t.X)();return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("div",{className:"sm:flex sm:items-start",children:[n||(0,s.jsx)("div",{className:"mx-auto flex h-12 w-12 shrink-0 items-center justify-center rounded-full bg-rose-100 dark:bg-rose-900/30 sm:mx-0 sm:h-10 sm:w-10",children:(0,s.jsx)("svg",{className:"h-6 w-6 text-danger",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","aria-hidden":"true",children:(0,s.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z"})})}),(0,s.jsxs)("div",{className:"mt-3 text-center sm:mt-0 sm:ml-4 sm:text-left",children:[(0,s.jsx)("h3",{className:"text-lg text-text-primary",id:"modal-title",children:d||u({id:"warning",defaultMessage:"Warning!"})}),(0,s.jsx)("div",{className:"mt-2",children:(0,s.jsx)("p",{className:"text-sm text-text-muted",children:i||u({id:"are_you_sure",defaultMessage:"Are you sure?"})})})]})]}),(0,s.jsxs)("div",{className:"mt-5 sm:mt-4 sm:flex sm:flex-row-reverse",children:[(0,s.jsx)("button",{id:"danger_continue",onClick:e,disabled:c,"aria-busy":c,type:"button",className:"inline-flex w-full justify-center rounded-md border border-transparent bg-rose-600 px-4 py-2 text-base font-medium text-white shadow-xs hover:bg-rose-700 focus:outline-hidden focus:ring-2 focus:ring-rose-500 focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 sm:ml-3 sm:w-auto sm:text-sm",children:a||u({id:"continue",defaultMessage:"Continue"})}),(0,s.jsx)("button",{id:"danger_cancel",onClick:r||o,disabled:c,type:"button",className:"mt-3 inline-flex w-full justify-center rounded-md border border-border-default bg-surface px-4 py-2 text-base font-medium text-text-secondary shadow-xs hover:bg-surface-raised focus:outline-hidden focus:ring-2 focus:ring-focus-ring focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 sm:mt-0 sm:ml-3 sm:w-auto sm:text-sm",children:l||u({id:"cancel",defaultMessage:"Cancel"})})]})]})}])},6607,e=>{var s=e.i(91788),t=e.i(6444);e.s(["f",0,()=>(0,s.useContext)(t.f)])},51782,e=>{var s=e.i(91398),t=e.i(69322),r=e.i(42469),a=e.i(60193);let l={PENDING:"bg-yellow-100 text-yellow-800",CONFIRMED:"bg-blue-100 text-blue-800",OPEN:"bg-gray-100 text-gray-800",FULFILLED:"bg-green-100 text-green-800",REJECTED:"bg-red-100 text-red-800"};e.s(["f",0,({status:e,className:d=""})=>{let{formatMessage:i}=(0,t.X)(),n={PENDING:i({id:"pending",defaultMessage:"PENDING"}),CONFIRMED:i({id:"confirmed",defaultMessage:"CONFIRMED"}),OPEN:i({id:"open",defaultMessage:"OPEN"}),FULFILLED:i({id:"fulfilled",defaultMessage:"FULFILLED"}),REJECTED:i({id:"rejected",defaultMessage:"REJECTED"})},o=n?.[e]??i({id:"cart",defaultMessage:"Cart"});return l?.[e],(0,s.jsx)(r.f,{text:o,color:a.v[e],square:!0,className:`uppercase ${d}`})}])},51967,e=>{var s=e.i(59080),t=e.i(32171);let r=s.a`
|
|
31
|
+
query PaymentProvidersType {
|
|
32
|
+
paymentProviderType: __type(name: "PaymentProviderType") {
|
|
33
|
+
options: enumValues {
|
|
34
|
+
value: name
|
|
35
|
+
label: description
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
`;e.s(["f",0,()=>{let{data:e,loading:s,error:a}=(0,t.f)(r);return{paymentProviderType:e?.paymentProviderType?.options||[],loading:s,error:a}}])},58668,e=>{var s=e.i(91398),t=e.i(91788);class r extends t.default.Component{constructor(e){super(e),this.state={hasError:!1,error:null}}static getDerivedStateFromError(e){return{hasError:!0,error:e}}componentDidCatch(e,s){console.error(`Plugin "${this.props.pluginName}" crashed in component "${this.props.componentName}":`,e,s)}render(){return this.state.hasError?(0,s.jsx)("div",{className:"rounded-lg border border-danger bg-danger-surface p-4 my-2",children:(0,s.jsxs)("div",{className:"flex items-start justify-between",children:[(0,s.jsxs)("div",{children:[(0,s.jsxs)("p",{className:"text-sm font-medium text-danger",children:['Plugin "',this.props.pluginName,'" encountered an error']}),(0,s.jsxs)("p",{className:"text-xs text-text-muted mt-1",children:["Component: ",this.props.componentName]}),this.state.error&&(0,s.jsxs)("details",{className:"mt-2",children:[(0,s.jsx)("summary",{className:"text-xs text-text-muted cursor-pointer hover:text-text-secondary",children:"Error details"}),(0,s.jsxs)("pre",{className:"mt-1 text-xs text-text-muted whitespace-pre-wrap break-words font-mono bg-surface p-2 rounded max-h-32 overflow-auto",children:[this.state.error.message,this.state.error.stack&&`
|
|
40
|
+
${this.state.error.stack.split("\n").slice(1,4).join("\n")}`]})]})]}),(0,s.jsxs)("button",{onClick:()=>this.setState({hasError:!1,error:null}),className:"ml-4 shrink-0 inline-flex items-center gap-1 rounded-md border border-border bg-surface px-3 py-1.5 text-xs font-medium text-text-primary hover:bg-surface-raised transition-colors",children:[(0,s.jsx)("svg",{className:"h-3 w-3",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:2,children:(0,s.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M16.023 9.348h4.992v-.001M2.985 19.644v-4.992m0 0h4.992m-4.993 0l3.181 3.183a8.25 8.25 0 0013.803-3.7M4.031 9.865a8.25 8.25 0 0113.803-3.7l3.181 3.182"})}),"Retry"]})]})}):this.props.children}}e.s(["f",0,r])},70475,e=>{var s=e.i(91398),t=e.i(91788),r=e.i(13534),a=e.i(26539),l=e.i(58668),d=e.i(53576);e.s(["f",0,({slot:e,children:i,...n})=>{let{getSlotPlugins:o,getComponent:c,loading:u}=(0,r.L)();if(u)return null;let m=o(e);return 0===m.length?null:(0,s.jsx)(s.Fragment,{children:m.map(({manifest:r,config:o})=>{let u=o.component||o.components?.list,m=c(r.name,u);if(!m)return console.warn(`Plugin "${r.name}": component "${u}" not found in bundle`),null;let x={pluginName:r.name,version:r.version,slotId:e,config:o};return(0,s.jsx)(l.f,{pluginName:r.name,componentName:u,children:(0,s.jsx)(a.h,{value:x,children:(0,s.jsx)(t.Suspense,{fallback:(0,s.jsx)(d.f,{}),children:i?i(m,o,r):(0,s.jsx)(m,{...n})})})},`${r.name}-${u}`)})})}])},71774,e=>{var s=e.i(91398),t=e.i(3828);e.i(51523);var r=e.i(19518),a=e.i(69322),l=e.i(28401),d=e.i(50595),i=e.i(53576),n=e.i(59080),o=e.i(32171),c=e.i(70693),u=e.i(36494);let m=n.a`
|
|
41
|
+
fragment OrderDetailFragment on Order {
|
|
42
|
+
_id
|
|
43
|
+
totalTax: total(category: TAXES) {
|
|
44
|
+
amount
|
|
45
|
+
currencyCode
|
|
46
|
+
}
|
|
47
|
+
itemsTotal: total(category: ITEMS) {
|
|
48
|
+
amount
|
|
49
|
+
currencyCode
|
|
50
|
+
}
|
|
51
|
+
totalDiscount: total(category: DISCOUNTS) {
|
|
52
|
+
amount
|
|
53
|
+
currencyCode
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
totalPayment: total(category: PAYMENT) {
|
|
57
|
+
amount
|
|
58
|
+
currencyCode
|
|
59
|
+
}
|
|
60
|
+
totalDelivery: total(category: DELIVERY) {
|
|
61
|
+
amount
|
|
62
|
+
currencyCode
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
user {
|
|
66
|
+
_id
|
|
67
|
+
username
|
|
68
|
+
isGuest
|
|
69
|
+
avatar {
|
|
70
|
+
_id
|
|
71
|
+
url
|
|
72
|
+
}
|
|
73
|
+
profile {
|
|
74
|
+
displayName
|
|
75
|
+
address {
|
|
76
|
+
firstName
|
|
77
|
+
lastName
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
discounts {
|
|
82
|
+
_id
|
|
83
|
+
trigger
|
|
84
|
+
code
|
|
85
|
+
interface {
|
|
86
|
+
_id
|
|
87
|
+
label
|
|
88
|
+
version
|
|
89
|
+
}
|
|
90
|
+
total {
|
|
91
|
+
amount
|
|
92
|
+
currencyCode
|
|
93
|
+
isTaxable
|
|
94
|
+
isNetPrice
|
|
95
|
+
}
|
|
96
|
+
discounted {
|
|
97
|
+
_id
|
|
98
|
+
orderDiscount {
|
|
99
|
+
_id
|
|
100
|
+
total {
|
|
101
|
+
amount
|
|
102
|
+
currencyCode
|
|
103
|
+
isTaxable
|
|
104
|
+
isNetPrice
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
total {
|
|
108
|
+
amount
|
|
109
|
+
currencyCode
|
|
110
|
+
isTaxable
|
|
111
|
+
isNetPrice
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
payment {
|
|
116
|
+
_id
|
|
117
|
+
provider {
|
|
118
|
+
_id
|
|
119
|
+
type
|
|
120
|
+
interface {
|
|
121
|
+
_id
|
|
122
|
+
label
|
|
123
|
+
version
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
status
|
|
127
|
+
fee {
|
|
128
|
+
currencyCode
|
|
129
|
+
amount
|
|
130
|
+
}
|
|
131
|
+
paid
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
orderNumber
|
|
135
|
+
status
|
|
136
|
+
created
|
|
137
|
+
updated
|
|
138
|
+
ordered
|
|
139
|
+
|
|
140
|
+
confirmed
|
|
141
|
+
fulfilled
|
|
142
|
+
contact {
|
|
143
|
+
telNumber
|
|
144
|
+
emailAddress
|
|
145
|
+
}
|
|
146
|
+
country {
|
|
147
|
+
_id
|
|
148
|
+
isoCode
|
|
149
|
+
flagEmoji
|
|
150
|
+
name
|
|
151
|
+
}
|
|
152
|
+
currency {
|
|
153
|
+
_id
|
|
154
|
+
isoCode
|
|
155
|
+
isActive
|
|
156
|
+
}
|
|
157
|
+
billingAddress {
|
|
158
|
+
...AddressFragment
|
|
159
|
+
}
|
|
160
|
+
delivery {
|
|
161
|
+
_id
|
|
162
|
+
... on OrderDeliveryPickUp {
|
|
163
|
+
activePickUpLocation {
|
|
164
|
+
_id
|
|
165
|
+
name
|
|
166
|
+
address {
|
|
167
|
+
...AddressFragment
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
... on OrderDeliveryShipping {
|
|
172
|
+
address {
|
|
173
|
+
...AddressFragment
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
provider {
|
|
177
|
+
_id
|
|
178
|
+
created
|
|
179
|
+
updated
|
|
180
|
+
deleted
|
|
181
|
+
type
|
|
182
|
+
configuration
|
|
183
|
+
interface {
|
|
184
|
+
_id
|
|
185
|
+
label
|
|
186
|
+
version
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
status
|
|
190
|
+
delivered
|
|
191
|
+
fee {
|
|
192
|
+
isTaxable
|
|
193
|
+
isNetPrice
|
|
194
|
+
amount
|
|
195
|
+
currencyCode
|
|
196
|
+
}
|
|
197
|
+
discounts {
|
|
198
|
+
_id
|
|
199
|
+
orderDiscount {
|
|
200
|
+
_id
|
|
201
|
+
trigger
|
|
202
|
+
code
|
|
203
|
+
order {
|
|
204
|
+
_id
|
|
205
|
+
orderNumber
|
|
206
|
+
}
|
|
207
|
+
interface {
|
|
208
|
+
_id
|
|
209
|
+
label
|
|
210
|
+
version
|
|
211
|
+
}
|
|
212
|
+
total {
|
|
213
|
+
isTaxable
|
|
214
|
+
isNetPrice
|
|
215
|
+
amount
|
|
216
|
+
currencyCode
|
|
217
|
+
}
|
|
218
|
+
discounted {
|
|
219
|
+
_id
|
|
220
|
+
orderDiscount {
|
|
221
|
+
_id
|
|
222
|
+
trigger
|
|
223
|
+
code
|
|
224
|
+
order {
|
|
225
|
+
_id
|
|
226
|
+
orderNumber
|
|
227
|
+
}
|
|
228
|
+
interface {
|
|
229
|
+
_id
|
|
230
|
+
label
|
|
231
|
+
version
|
|
232
|
+
}
|
|
233
|
+
total {
|
|
234
|
+
isTaxable
|
|
235
|
+
isNetPrice
|
|
236
|
+
amount
|
|
237
|
+
currencyCode
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
delivered
|
|
245
|
+
}
|
|
246
|
+
total {
|
|
247
|
+
isTaxable
|
|
248
|
+
isTaxable
|
|
249
|
+
amount
|
|
250
|
+
currencyCode
|
|
251
|
+
}
|
|
252
|
+
items {
|
|
253
|
+
_id
|
|
254
|
+
product {
|
|
255
|
+
_id
|
|
256
|
+
texts {
|
|
257
|
+
_id
|
|
258
|
+
slug
|
|
259
|
+
brand
|
|
260
|
+
vendor
|
|
261
|
+
title
|
|
262
|
+
subtitle
|
|
263
|
+
}
|
|
264
|
+
media {
|
|
265
|
+
_id
|
|
266
|
+
file {
|
|
267
|
+
_id
|
|
268
|
+
url
|
|
269
|
+
}
|
|
270
|
+
}
|
|
271
|
+
}
|
|
272
|
+
quantity
|
|
273
|
+
|
|
274
|
+
unitPrice {
|
|
275
|
+
amount
|
|
276
|
+
isTaxable
|
|
277
|
+
isNetPrice
|
|
278
|
+
currencyCode
|
|
279
|
+
}
|
|
280
|
+
total {
|
|
281
|
+
amount
|
|
282
|
+
isTaxable
|
|
283
|
+
isNetPrice
|
|
284
|
+
currencyCode
|
|
285
|
+
}
|
|
286
|
+
}
|
|
287
|
+
}
|
|
288
|
+
${u.f}
|
|
289
|
+
`;var x=e.i(41158),f=e.i(83147),h=e.i(1880),p=e.i(87284);let g=({item:e})=>{let{formatMessage:t}=(0,a.X)(),{formatPrice:r}=(0,f.d)();return(0,s.jsx)(x.default,{href:`/products?slug=${(0,h.U)(e.product)}`,children:(0,s.jsx)("div",{className:"space-y-8",children:(0,s.jsxs)("div",{className:"flex items-center flex-wrap",children:[(0,s.jsx)("div",{className:"flex shrink-0 overflow-hidden rounded-lg sm:mx-0 ",children:e.product?.media?.length?(0,s.jsx)(p.f,{src:`${e.product?.media[0].file.url}`,alt:e?.product?.texts?.title||e?.product?.texts?.subtitle,className:"object-cover object-center",width:80,height:80}):null}),(0,s.jsxs)("div",{className:"flex flex-col justify-center sm:mt-0 ml-3 sm:flex-auto",children:[(0,s.jsx)("h3",{className:"text-base text-text-primary truncate",dangerouslySetInnerHTML:{__html:e?.product?.texts?.title||e?.product?.texts?.subtitle}}),(0,s.jsx)("div",{className:"mt-1 text-sm dark:text-slate-400",children:r(e?.unitPrice)}),(0,s.jsxs)("div",{className:"mt-1 text-sm dark:text-slate-400",children:[t({id:"item_quantity",defaultMessage:"Quantity:"}),(0,s.jsx)("span",{className:"ml-1",children:e?.quantity})]})]})]})})})},v=({order:e})=>{let{formatMessage:t}=(0,a.X)(),{formatPrice:r}=(0,f.d)(),l=e?.status==="OPEN"||!e?.orderNumber;return(0,s.jsx)("div",{"aria-labelledby":"summary-heading",children:(0,s.jsxs)("div",{children:[(0,s.jsxs)("div",{className:"flex items-center justify-between pb-3 text-xl",children:[(0,s.jsx)("dt",{className:"",children:t({id:"order_total",defaultMessage:"Order total"})}),(0,s.jsx)("dd",{className:"",children:r(e?.total)})]}),!l&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("div",{className:"flex items-center justify-between",children:[(0,s.jsx)("dt",{className:"text-text-secondary",children:t({id:"discount",defaultMessage:"Discount"})}),(0,s.jsx)("dd",{className:"",children:r(e?.totalDiscount)})]}),(0,s.jsxs)("div",{className:"flex items-center justify-between",children:[(0,s.jsx)("dt",{className:"text-text-secondary",children:t({id:"shipping",defaultMessage:"Shipping"})}),(0,s.jsx)("dd",{className:"",children:r(e?.totalDelivery)})]}),(0,s.jsxs)("div",{className:"flex items-center justify-between",children:[(0,s.jsx)("dt",{className:"text-text-secondary",children:t({id:"tax",defaultMessage:"Tax"})}),(0,s.jsx)("dd",{className:"",children:r(e?.totalTax)})]}),(0,s.jsxs)("div",{className:"flex items-center justify-between",children:[(0,s.jsx)("dt",{className:"text-text-secondary",children:t({id:"order_payment_fees",defaultMessage:"Fees"})}),(0,s.jsx)("dd",{className:"",children:r(e?.totalPayment)})]}),(0,s.jsxs)("div",{className:"flex items-center justify-between",children:[(0,s.jsx)("dt",{className:"text-text-secondary",children:t({id:"subtotal",defaultMessage:"Subtotal"})}),(0,s.jsx)("dd",{className:"",children:r(e?.itemsTotal)})]})]})]})})};var b=e.i(37369),y=e.i(34728),j=e.i(6607),N=e.i(76204);let w=n.a`
|
|
290
|
+
mutation PayOrder($orderId: ID!) {
|
|
291
|
+
payOrder(orderId: $orderId) {
|
|
292
|
+
_id
|
|
293
|
+
}
|
|
294
|
+
}
|
|
295
|
+
`;var k=e.i(51967),_=e.i(11959),C=e.i(84818);let M=({enumType:e,currentType:t,label:r,component:l=null})=>{let{formatMessage:d}=(0,a.X)();return l||(0,s.jsx)("span",{title:r,className:`${t===e?"border-slate-300 bg-slate-200 text-slate-950 dark:bg-slate-800 dark:text-slate-200":"opacity-10 dark:bg-slate-900 "} mr-2 mb-2 inline-flex items-center rounded-md border border-slate-300 bg-white px-2 py-1 text-sm uppercase dark:border-slate-700 dark:bg-slate-800 dark:text-slate-200 transition-colors duration-200 ease-in-out hover:bg-surface-raised focus:outline-hidden focus:ring-2 focus:ring-focus-ring focus:ring-offset-2 focus:ring-offset-white dark:focus:ring-offset-slate-800`,children:(e=>{switch(e){case"INVOICE":return d({id:"invoice",defaultMessage:"INVOICE"});case"SHIPPING":return d({id:"shipping_method",defaultMessage:"SHIPPING"});case"OPEN":return d({id:"open",defaultMessage:"OPEN"});case"DELIVERED":return d({id:"delivered",defaultMessage:"Delivered"}).toUpperCase();case"PAID":return d({id:"paid",defaultMessage:"Paid"}).toUpperCase();default:return e}})(e)})};var E=e.i(58971);let O=({order:e})=>{let{paymentProviderType:t}=(0,k.f)(),{statusTypes:d}=(0,_.f)("OrderPaymentStatus"),{formatDateTime:i}=(0,C.f)(),{formatPrice:n}=(0,f.d)(),{formatMessage:o}=(0,a.X)(),{setModal:c}=(0,j.f)(),{payOrder:u}=(()=>{let[e]=(0,N.f)(w);return{payOrder:async({orderId:s})=>e({variables:{orderId:s},refetchQueries:["Order"]})}})(),{hasRole:m}=(0,E.f)(),h=async()=>{await c((0,s.jsx)(y.f,{buttonText:o({id:"pay",defaultMessage:"Mark paid"}),message:o({id:"mark_as_paid_question",defaultMessage:"This will change the order payment status to Paid."}),headerText:o({id:"mark_as_paid_question_header",defaultMessage:"Mark as paid?"}),onOkClick:async()=>{c(""),await u({orderId:e._id}),l.toast.success(o({id:"order_paid",defaultMessage:"Order paid successfully"}))}}))};return(0,s.jsxs)("div",{children:[(0,s.jsxs)("div",{className:"flex items-baseline gap-2",children:[(0,s.jsx)("h2",{className:"pt-4 text-2xl text-text-primary",children:o({id:"payment",defaultMessage:"Payment"})}),e?.payment?.fee?.currencyCode&&(0,s.jsx)("span",{className:"block",children:n(e.payment.fee)}),e?.payment?.paid&&(0,s.jsx)("span",{className:"font-mono",children:i(e.payment.paid,{timeStyle:"short",dateStyle:"medium"})})]}),(0,s.jsxs)("div",{children:[(0,s.jsx)("span",{className:"mb-5 block text-xs font-mono",children:e?.payment?.provider&&(0,s.jsx)(x.default,{href:`/payment-provider?paymentProviderId=${e.payment.provider._id}`,className:"text-slate-500 dark:text-slate-300 hover:text-slate-800 dark:hover:text-slate-600",children:(0,f.D)(e.payment?.provider?.interface)})}),(0,s.jsx)("div",{className:"mt-3 text-sm text-text-muted",children:o({id:"method",defaultMessage:"Method"})}),(0,s.jsx)("span",{className:"mr-2 block rounded-full py-1 text-xs font-semibold leading-5",children:[...t].sort((s,t)=>s.value===e.payment?.provider?.type?-1:+(t.value===e.payment?.provider?.type)).map(t=>(0,s.jsx)(M,{enumType:t.value,currentType:e.payment?.provider?.type,label:t.label},t.value))}),(0,s.jsx)("div",{className:"mt-3 text-sm text-text-muted",children:o({id:"delivery_status",defaultMessage:"Status"})}),(0,s.jsx)("span",{className:"mr-2 block rounded-full py-1 text-xs font-semibold leading-5",children:[...d].sort((s,t)=>s.value===e.payment?.status?-1:+(t.value===e.payment?.status)).map(t=>(0,s.jsx)(M,{enumType:t.value,currentType:e.payment?.status,label:t.label,component:"OPEN"===e.payment.status&&"PAID"===t.value&&m(r.C.MarkOrderPaid)&&(0,s.jsxs)("button",{id:"pay",type:"button",onClick:h,className:"cursor-pointer my-2 mr-2 inline-flex h-full items-center justify-center rounded-sm border border-transparent bg-accent py-1 px-2 text-xs font-semibold text-text-on-accent shadow-xs hover:bg-accent-hover focus:outline-hidden focus:ring-2 focus:ring-focus-ring dark:focus:ring-focus-ring focus:ring-offset-2",children:[(0,s.jsx)("span",{className:"mr-1",children:(0,s.jsx)(b.f,{className:"inline-block h-3 w-3 text-white"})}),o({id:"mark_as_paid",defaultMessage:"Mark as Paid"})]})},t.value))})]})]})};var D=e.i(93333);let I=n.a`
|
|
296
|
+
mutation DeliverOrder($orderId: ID!) {
|
|
297
|
+
deliverOrder(orderId: $orderId) {
|
|
298
|
+
_id
|
|
299
|
+
}
|
|
300
|
+
}
|
|
301
|
+
`,P=({order:e})=>{let{deliveryProviderType:t}=(0,D.f)(),{setModal:d}=(0,j.f)(),{statusTypes:i}=(0,_.f)("OrderDeliveryStatus"),{deliverOrder:n}=(()=>{let[e]=(0,N.f)(I);return{deliverOrder:async({orderId:s})=>e({variables:{orderId:s},refetchQueries:["Order"]})}})(),{formatPrice:o}=(0,f.d)(),{formatMessage:c}=(0,a.X)(),{formatDateTime:u}=(0,C.f)(),{hasRole:m}=(0,E.f)(),h=async()=>{await d((0,s.jsx)(y.f,{buttonText:c({id:"delivered",defaultMessage:"Delivered"}),message:c({id:"mark_as_delivered_message",defaultMessage:"This will change the order delivery status to delivered"}),headerText:c({id:"mark_as_delivered_question",defaultMessage:"Mark as delivered ?"}),onOkClick:async()=>{d(""),await n({orderId:e._id}),l.toast.success(c({id:"order__marked_delivered",defaultMessage:"Order marked as delivered successfully"}))}}))};return(0,s.jsxs)("div",{children:[(0,s.jsxs)("div",{className:"flex items-baseline gap-2",children:[(0,s.jsx)("h2",{className:"pt-4 text-2xl",children:c({id:"delivery",defaultMessage:"Delivery"})}),e?.delivery?.fee?.currencyCode&&(0,s.jsx)("span",{className:"block",children:o(e.delivery.fee)}),e?.delivery?.delivered&&(0,s.jsx)("span",{className:"font-mono",children:u(e.delivery.delivered,{timeStyle:"short",dateStyle:"medium"})})]}),(0,s.jsxs)("div",{children:[(0,s.jsx)("span",{className:"mb-5 block font-mono text-xs",children:e?.delivery&&(0,s.jsx)(x.default,{href:`/delivery-provider?deliveryProviderId=${e?.delivery?.provider?._id}`,className:"text-slate-500 dark:text-slate-300 hover:text-slate-800 dark:hover:text-slate-600",children:(0,f.D)(e?.delivery?.provider?.interface)})}),(0,s.jsx)("div",{className:"mt-3 text-sm text-text-muted",children:c({id:"method",defaultMessage:"Method"})}),(0,s.jsx)("span",{className:"mr-2 block rounded-full py-1 text-xs font-semibold leading-5",children:[...t].sort((s,t)=>s.value===e?.delivery?.provider?.type?-1:+(t.value===e?.delivery?.provider?.type)).map(t=>(0,s.jsx)(M,{enumType:t.value,currentType:e?.delivery?.provider?.type,label:t.label},t.value))}),(0,s.jsx)("div",{className:"mt-3 text-sm text-text-muted",children:c({id:"status",defaultMessage:"Status"})}),(0,s.jsx)("span",{className:"mr-2 block rounded-full py-1 text-xs font-semibold leading-5",children:[...i].sort((s,t)=>s.value===e?.delivery?.status?-1:+(t.value===e?.delivery?.status)).map(t=>(0,s.jsx)(M,{enumType:t.value,currentType:e?.delivery?.status,label:t.label,component:e?.delivery?.status==="OPEN"&&"DELIVERED"===t.value&&m(r.C.MarkOrderDelivered)&&(0,s.jsxs)("button",{id:"deliver",type:"button",onClick:h,className:"my-2 mr-2 inline-flex h-full items-center justify-center rounded-sm border border-slate-300 border-transparent bg-accent py-1 px-2 text-xs font-semibold text-text-on-accent shadow-xs hover:bg-accent-hover focus:outline-hidden focus:ring-2 focus:ring-focus-ring dark:focus:ring-focus-ring focus:ring-offset-2",children:[(0,s.jsx)("span",{className:"mr-1",children:(0,s.jsx)(b.f,{className:"inline-block h-3 w-3 text-white"})}),c({id:"mark_as_delivered",defaultMessage:"Mark as delivered"})]})},t.value))})]})]})};var T=e.i(64710),$=e.i(49740),R=e.i(91788);let L=R.forwardRef(function({title:e,titleId:s,...t},r){return R.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":s},t),e?R.createElement("title",{id:s},e):null,R.createElement("path",{d:"M2.879 7.121A3 3 0 0 0 7.5 6.66a2.997 2.997 0 0 0 2.5 1.34 2.997 2.997 0 0 0 2.5-1.34 3 3 0 1 0 4.622-3.78l-.293-.293A2 2 0 0 0 15.415 2H4.585a2 2 0 0 0-1.414.586l-.292.292a3 3 0 0 0 0 4.243ZM3 9.032a4.507 4.507 0 0 0 4.5-.29A4.48 4.48 0 0 0 10 9.5a4.48 4.48 0 0 0 2.5-.758 4.507 4.507 0 0 0 4.5.29V16.5h.25a.75.75 0 0 1 0 1.5h-4.5a.75.75 0 0 1-.75-.75v-3.5a.75.75 0 0 0-.75-.75h-2.5a.75.75 0 0 0-.75.75v3.5a.75.75 0 0 1-.75.75h-4.5a.75.75 0 0 1 0-1.5H3V9.032Z"}))}),S=({order:e})=>{let{formatMessage:t}=(0,a.X)(),r=e?.delivery,l=r?.provider?.type==="PICKUP",d=r?.address||r?.activePickUpLocation?.address||{},i=r?.activePickUpLocation?.name;return(0,s.jsxs)("section",{"aria-labelledby":"addresses-heading",className:"lg:grid lg:grid-cols-2 flex flex-col gap-8",children:[(0,s.jsxs)("div",{children:[(0,s.jsxs)("div",{className:"mb-2 text-xl dark:text-slate-400 flex items-center gap-2",children:[(0,s.jsx)(T.f,{className:"h-5 w-5"}),t({id:"billing_address",defaultMessage:"Billing address"})]}),(0,s.jsxs)("div",{children:[(0,s.jsx)("span",{className:"block",children:e?.billingAddress?.firstName&&e?.billingAddress?.lastName?`${e.billingAddress.firstName} ${e.billingAddress.lastName}`:e?.billingAddress?.firstName||e?.billingAddress?.lastName||""}),(0,s.jsx)("span",{className:"block",children:e?.billingAddress?.addressLine}),e?.billingAddress?.addressLine2&&(0,s.jsx)("span",{className:"block",children:e.billingAddress.addressLine2}),(0,s.jsx)("span",{children:e?.billingAddress?.postalCode})," ",(0,s.jsx)("span",{children:e?.billingAddress?.city}),(0,s.jsx)("span",{className:"block",children:e?.country?.name&&(0,s.jsxs)(s.Fragment,{children:[e.country.name," ",(0,s.jsx)("span",{className:"inline-block grayscale hover:grayscale-0 transition-all text-xl",children:e.country.flagEmoji})]})})]})]}),(0,s.jsxs)("div",{children:[(0,s.jsxs)("div",{className:"mb-2 text-xl dark:text-slate-400 flex items-center gap-2",children:[(0,s.jsx)($.f,{className:"h-5 w-5"}),t({id:"delivery_details",defaultMessage:"Delivery details"})]}),(0,s.jsxs)("div",{children:[l?(0,s.jsxs)("div",{className:"mb-1 flex items-center gap-1",children:[(0,s.jsx)(L,{className:"h-5 w-5 text-gray-500"}),(0,s.jsx)("span",{className:"font-semibold",children:i||t({id:"pickup_location",defaultMessage:"Pickup Location"})})]}):null,(0,s.jsxs)("div",{children:[(0,s.jsx)("span",{className:"block",children:d?.firstName&&d?.lastName?`${d.firstName} ${d.lastName}`:d?.firstName||d?.lastName||""}),d?.company&&(0,s.jsx)("span",{className:"block",children:d.company}),(0,s.jsx)("span",{className:"block",children:d?.addressLine}),d?.addressLine2&&(0,s.jsx)("span",{className:"block",children:d.addressLine2}),(0,s.jsx)("span",{children:d?.postalCode})," ",(0,s.jsx)("span",{children:d?.city}),(0,s.jsxs)("span",{className:"block text-gray-500 text-sm",children:[d?.regionCode," — ",d?.countryCode]})]})]})]})]})};var A=e.i(8918),F=e.i(42469),U=e.i(2194);let q={SYSTEM:"teal",USER:"indigo"},B=({discounts:e})=>{let{formatMessage:t}=(0,a.X)(),{formatPrice:r}=(0,f.d)();return(0,s.jsxs)("div",{className:"flex flex-auto flex-col",children:[(0,s.jsx)("h2",{className:"text-2xl",children:t({id:"discount_information",defaultMessage:"Discounts"})}),(0,s.jsx)("div",{className:"mt-2",children:e?.length?(0,s.jsxs)(A.f,{className:"min-w-full ",children:[(e||[])?.map(e=>(0,s.jsxs)(A.f.Row,{header:!0,children:[(0,s.jsx)(A.f.Cell,{children:t({id:"code",defaultMessage:"Code"})}),(0,s.jsx)(A.f.Cell,{children:t({id:"discount_amount",defaultMessage:"Discount Amount"})})]},e._id)),(e||[])?.map(e=>(0,s.jsx)(R.Fragment,{children:(0,s.jsxs)(A.f.Row,{children:[(0,s.jsx)(A.f.Cell,{children:(0,s.jsxs)("div",{className:"flex items-center text-sm text-slate-900",children:[e.code?e.code:"n/a",(0,s.jsx)("span",{className:"mr-2 inline-block rounded-full py-1 text-xs font-semibold leading-5",children:(0,s.jsx)(F.f,{text:e.trigger,color:q[e.trigger],square:!0})})]})}),(0,s.jsx)(A.f.Cell,{children:(0,s.jsx)("div",{className:"flex items-center text-sm text-slate-900",children:r(e.total)})})]})},e._id))]}):(0,s.jsx)(U.f,{message:t({id:"discounts",defaultMessage:"Discounts"})})})]})},X=n.a`
|
|
302
|
+
mutation ConfirmOrder($orderId: ID!) {
|
|
303
|
+
confirmOrder(orderId: $orderId) {
|
|
304
|
+
_id
|
|
305
|
+
}
|
|
306
|
+
}
|
|
307
|
+
`;var V=e.i(66885),Z=e.i(57986);let G=({order:e})=>{let{formatMessage:t,locale:r}=(0,a.X)(),{formatDateTime:l}=(0,C.f)();if(!e)return null;let d=e?.status==="OPEN"||!e?.orderNumber;return(0,s.jsxs)("div",{children:[(0,s.jsxs)("div",{className:"flex justify-between items-baseline flex-wrap mb-10",children:[(0,s.jsx)("div",{className:"flex items-center justify-between gap-5 flex-wrap",children:(0,s.jsx)("h2",{className:"text-2xl font-medium text-text-primary sm:truncate sm:text-3xl lg:text-4xl xl:text-5xl",children:d?(0,s.jsxs)(s.Fragment,{children:[t({id:"cart",defaultMessage:"Cart"}),` ${e._id}`]}):(0,s.jsxs)(s.Fragment,{children:[t({id:"order_number",defaultMessage:"Order #"}),e?.orderNumber?`${e.orderNumber}`:""]})})}),(0,s.jsxs)("div",{children:[(0,s.jsx)("span",{className:"mr-1 text-text-muted",children:t(d?{id:"cart_created",defaultMessage:"Warenkorb erstellt"}:{id:"order_placed",defaultMessage:"Order placed"})}),d?l(e.created):e?.ordered?l(e.ordered):null]})]}),!d&&(0,s.jsx)(Z.f,{user:e?.user,contact:e?.contact}),d&&e?.user&&(0,s.jsx)("div",{className:"mt-5",children:(0,s.jsx)("span",{className:"text-lg text-text-secondary",children:e.user.profile?.displayName||(e.user.profile?.address?.firstName&&e.user.profile?.address?.lastName?`${e.user.profile.address.firstName} ${e.user.profile.address.lastName}`:e.user.username)||"Guest"})})]})},H=n.a`
|
|
308
|
+
mutation RejectOrder($orderId: ID!) {
|
|
309
|
+
rejectOrder(orderId: $orderId) {
|
|
310
|
+
_id
|
|
311
|
+
}
|
|
312
|
+
}
|
|
313
|
+
`;var J=e.i(15971),z=e.i(70475);let Q=({order:e})=>{let{formatMessage:t}=(0,a.X)(),{setModal:d}=(0,j.f)(),{confirmOrder:i}=(()=>{let[e]=(0,N.f)(X);return{confirmOrder:async({orderId:s})=>e({variables:{orderId:s},refetchQueries:["Order"]})}})(),{rejectOrder:n}=(()=>{let[e]=(0,N.f)(H);return{rejectOrder:async({orderId:s})=>e({variables:{orderId:s},refetchQueries:["Order"]})}})(),{hasRole:o}=(0,E.f)(),{statusTypes:c}=(0,_.f)("OrderStatus");if(!e)return null;let u=e?.status==="OPEN"||!e?.orderNumber,m=async()=>{await d((0,s.jsx)(y.f,{buttonText:t({id:"confirm_order_alert_button",defaultMessage:"Confirm"}),headerText:t({id:"confirm_order_alert_header",defaultMessage:"Confirm order?"}),message:t({id:"confirm_order_alert_message",defaultMessage:"This will mark order as confirmed"}),onOkClick:async()=>{d(""),await i({orderId:e._id}),l.toast.success(t({id:"order_confirmed_success",defaultMessage:"Order confirmed successfully"}))}}))},x=async()=>{await d((0,s.jsx)(J.f,{onCancelClick:async()=>d(""),okText:t({id:"reject_order_alert_button",defaultMessage:"Reject"}),headerText:t({id:"reject_order_alert_header",defaultMessage:"Reject order?"}),onOkClick:async()=>{d(""),await n({orderId:e._id}),l.toast.success(t({id:"order_reject_success",defaultMessage:"Order rejected successfully"}))}}))},f={OPEN:{id:1,content:"created",visible:!0},PENDING:{id:2,content:"ordered",Component:e?.status==="PENDING"&&(0,s.jsxs)(s.Fragment,{children:[o(r.C.MarkOrderConfirmed)&&(0,s.jsx)("button",{id:"confirm_order",onClick:m,type:"button",className:"bg-white-300 relative -ml-px inline-flex items-center space-x-2 rounded-md border border-accent bg-accent px-2 py-1 text-sm font-medium text-text-on-accent hover:bg-accent-hover dark:focus:border-slate-400 focus:outline-hidden focus:ring-0 focus:ring-focus-ring",children:t({id:"confirm_order",defaultMessage:"Confirm order"})}),o(r.C.MarkOrderRejected)&&(0,s.jsx)("button",{id:"reject_order",onClick:x,type:"button",className:"bg-white-300 relative -ml-px inline-flex items-center space-x-2 rounded-md border border-rose-500 bg-rose-500 px-2 py-1 text-sm font-medium text-white hover:bg-rose-700 focus:border-rose-400 focus:outline-hidden focus:ring-0 focus:ring-rose-400",children:t({id:"reject_order",defaultMessage:"Reject order"})})]}),visible:!0},REJECTED:{id:3,content:"rejected",visible:e?.status==="REJECTED"},CONFIRMED:{id:4,content:"confirmed",visible:e?.status!=="REJECTED"},FULFILLED:{id:5,content:"fulfilled",visible:e?.status!=="REJECTED"}};return(0,s.jsxs)("div",{className:"space-y-4 lg:gap-10 dark:text-slate-200",children:[(0,s.jsx)("div",{children:(0,s.jsx)(G,{order:e})}),!u&&(0,s.jsx)("div",{className:"mt-10",children:(0,s.jsx)(S,{order:e})}),(0,s.jsxs)("div",{className:"mt-20 lg:grid lg:grid-cols-2 lg:gap-10",children:[(0,s.jsxs)("div",{children:[(0,s.jsx)("div",{className:"mb-6 text-xl dark:text-slate-400",children:t({id:"items_purchased",defaultMessage:"Items purchased"})}),(0,s.jsx)("div",{className:"flex gap-5 flex-col",children:e?.items.map(e=>(0,s.jsx)(g,{item:e},e._id))})]}),(0,s.jsx)("div",{children:(0,s.jsx)(v,{order:e})})]}),(0,s.jsx)("div",{className:"mt-20",children:(0,s.jsx)(V.f,{data:e,statusTypes:c,timeline:f})}),!u&&(0,s.jsxs)("div",{className:"mt-10 lg:mt-30 lg:grid lg:grid-cols-2 xl:grid-cols-3 lg:gap-10",children:[(0,s.jsx)(P,{order:e}),(0,s.jsx)(O,{order:e}),(0,s.jsx)(B,{discounts:e?.discounts})]}),(0,s.jsx)(z.f,{slot:"order:tabs",entityId:e._id,children:(t,r,a)=>(0,s.jsx)("div",{className:"mt-10",children:(0,s.jsx)(t,{order:e,entityId:e._id})})})]})},W=n.a`
|
|
314
|
+
mutation RemoveOrder($orderId: ID!) {
|
|
315
|
+
removeOrder(orderId: $orderId) {
|
|
316
|
+
_id
|
|
317
|
+
}
|
|
318
|
+
}
|
|
319
|
+
`;var K=e.i(21623),Y=e.i(24608);e.s(["default",0,({orderId:e})=>{let{formatMessage:u}=(0,a.X)(),{setModal:x}=(0,j.f)(),{removeOrder:f}=(()=>{let[e]=(0,N.f)(W);return{removeOrder:async({orderId:s})=>e({variables:{orderId:s},refetchQueries:["Order"]})}})(),h=(0,t.useRouter)(),{hasRole:p}=(0,E.f)(),{order:g,loading:v}=(({orderId:e=null})=>{let{customProperties:s}=(0,c.f)(),{data:t,loading:r,error:a}=(0,o.f)(((e="")=>n.a`
|
|
320
|
+
query Order($orderId: ID!) {
|
|
321
|
+
order(orderId: $orderId) {
|
|
322
|
+
...OrderDetailFragment
|
|
323
|
+
${e}
|
|
324
|
+
}
|
|
325
|
+
}
|
|
326
|
+
${m}
|
|
327
|
+
`)(s?.Order),{skip:!e,variables:{orderId:e}});return{order:t?.order,loading:r,error:a}})({orderId:e}),b=async()=>{await x((0,s.jsx)(J.f,{message:u({id:"delete_order_confirmation",defaultMessage:"This action might cause inconsistencies with other data that relates to it. Are you sure you want to delete this order? "}),onCancelClick:async()=>x(""),onOkClick:async()=>{x(""),await f({orderId:e}),l.toast.success(u({id:"order_deleted",defaultMessage:"Order deleted successfully"})),h.push("/orders")},okText:u({id:"delete_order",defaultMessage:"Delete order"})}))};return(0,s.jsxs)("div",{className:"mt-5 max-w-full",children:[(0,s.jsx)(d.f,{currentPageTitle:g?.orderNumber?`#${g?.orderNumber}`:""}),(0,s.jsx)("div",{className:"items-center flex min-w-full justify-end gap-3 flex-wrap",children:g&&"OPEN"===g.status&&p(r.C.UpdateOrder)?(0,s.jsx)(K.f,{variant:"danger",icon:(0,s.jsx)(Y.f,{className:"h-5 w-5"}),text:"Delete",onClick:b}):null}),v?(0,s.jsx)(i.f,{}):(0,s.jsx)(Q,{order:g})]})}],71774)},88566,25575,e=>{var s=e.i(91788);let t=s.forwardRef(function({title:e,titleId:t,...r},a){return s.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?s.createElement("title",{id:t},e):null,s.createElement("path",{fillRule:"evenodd",d:"M5.22 8.22a.75.75 0 0 1 1.06 0L10 11.94l3.72-3.72a.75.75 0 1 1 1.06 1.06l-4.25 4.25a.75.75 0 0 1-1.06 0L5.22 9.28a.75.75 0 0 1 0-1.06Z",clipRule:"evenodd"}))});e.s(["f",0,t],88566);let r=s.forwardRef(function({title:e,titleId:t,...r},a){return s.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?s.createElement("title",{id:t},e):null,s.createElement("path",{fillRule:"evenodd",d:"M9.47 6.47a.75.75 0 0 1 1.06 0l4.25 4.25a.75.75 0 1 1-1.06 1.06L10 8.06l-3.72 3.72a.75.75 0 0 1-1.06-1.06l4.25-4.25Z",clipRule:"evenodd"}))});e.s(["f",0,r],25575)},64710,e=>{var s=e.i(91788);let t=s.forwardRef(function({title:e,titleId:t,...r},a){return s.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?s.createElement("title",{id:t},e):null,s.createElement("path",{fillRule:"evenodd",d:"M2.5 4A1.5 1.5 0 0 0 1 5.5V6h18v-.5A1.5 1.5 0 0 0 17.5 4h-15ZM19 8.5H1v6A1.5 1.5 0 0 0 2.5 16h15a1.5 1.5 0 0 0 1.5-1.5v-6ZM3 13.25a.75.75 0 0 1 .75-.75h1.5a.75.75 0 0 1 0 1.5h-1.5a.75.75 0 0 1-.75-.75Zm4.75-.75a.75.75 0 0 0 0 1.5h3.5a.75.75 0 0 0 0-1.5h-3.5Z",clipRule:"evenodd"}))});e.s(["f",0,t],64710)},49740,e=>{var s=e.i(91788);let t=s.forwardRef(function({title:e,titleId:t,...r},a){return s.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?s.createElement("title",{id:t},e):null,s.createElement("path",{d:"M6.5 3c-1.051 0-2.093.04-3.125.117A1.49 1.49 0 0 0 2 4.607V10.5h9V4.606c0-.771-.59-1.43-1.375-1.489A41.568 41.568 0 0 0 6.5 3ZM2 12v2.5A1.5 1.5 0 0 0 3.5 16h.041a3 3 0 0 1 5.918 0h.791a.75.75 0 0 0 .75-.75V12H2Z"}),s.createElement("path",{d:"M6.5 18a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3ZM13.25 5a.75.75 0 0 0-.75.75v8.514a3.001 3.001 0 0 1 4.893 1.44c.37-.275.61-.719.595-1.227a24.905 24.905 0 0 0-1.784-8.549A1.486 1.486 0 0 0 14.823 5H13.25ZM14.5 18a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Z"}))});e.s(["f",0,t],49740)},15361,e=>{var s=e.i(89974);e.s(["f",()=>s.f])},38322,e=>{var s=e.i(57862);e.s(["f",()=>s.f])},37369,e=>{var s=e.i(84985);e.s(["f",()=>s.f])},67912,e=>{var s=e.i(37224);e.s(["f",()=>s.f])},24608,e=>{var s=e.i(30999);e.s(["f",()=>s.f])}])})();
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,[21623,e=>{var r=e.i(91398),t=e.i(56206);e.s(["f",0,({text:e,children:s,onClick:a,className:d="",disabled:o=!1,id:i="",variant:n="primary",size:c="md",type:l="button",loading:u=!1,icon:x,iconRight:f,fullWidth:m=!1,rounded:g="md",ariaLabel:h,...b})=>{let p=s||e,y=(x||f)&&p?"gap-2":"";return(0,r.jsx)("button",{id:i,type:l,disabled:o||u,onClick:a,"aria-label":h,className:(0,t.U)("inline-flex items-center justify-center font-medium shadow-xs focus:outline-hidden focus:ring-2 focus:ring-offset-2 transition-colors duration-200 disabled:cursor-not-allowed disabled:opacity-50",{xs:"px-2.5 py-1.5 text-xs h-6",sm:"px-3 py-2 text-sm h-8",md:"px-4 py-2 text-sm h-9",lg:"px-6 py-3 text-base h-11"}[c],{none:"rounded-none",sm:"rounded-sm",md:"rounded-md",lg:"rounded-lg",full:"rounded-full"}[g],{primary:"border border-accent bg-accent text-text-on-accent hover:bg-accent-hover focus:ring-focus-ring",secondary:"border border-border-default bg-surface text-text-secondary hover:bg-surface-raised focus:ring-focus-ring",tertiary:"border border-border-subtle bg-surface text-text-secondary hover:bg-surface-raised focus:ring-focus-ring",quaternary:"bg-transparent text-text-secondary hover:bg-surface-raised focus:ring-focus-ring",danger:"border border-danger bg-surface text-danger hover:bg-rose-50 dark:hover:bg-rose-900/10 focus:ring-rose-500",ghost:"bg-transparent border border-transparent text-text-secondary hover:text-text-primary hover:bg-surface-raised focus:ring-focus-ring",success:"border border-emerald-500 dark:border-emerald-400 bg-emerald-50 dark:bg-emerald-900/20 text-emerald-600 dark:text-emerald-400 hover:bg-emerald-100 dark:hover:bg-emerald-900/30 focus:ring-emerald-500",neutral:"border border-border-default bg-surface-raised text-text-secondary hover:bg-surface-raised focus:ring-focus-ring",input:"border border-border-default bg-surface text-text-primary hover:border-slate-400 dark:hover:border-slate-500 focus:ring-focus-ring focus:border-slate-500"}[n],y,{"w-full":m},d),...b,children:u?(0,r.jsxs)("div",{className:"flex items-center gap-2",children:[(0,r.jsx)("div",{className:"w-4 h-4 border-2 border-current border-t-transparent rounded-full animate-spin"}),p]}):(0,r.jsxs)(r.Fragment,{children:[x,p,f]})})}])},29332,e=>{var r=e.i(91398),t=e.i(3828),s=e.i(69322),a=e.i(45880),d=e.i(13938),o=e.i(86610),i=e.i(98926),n=e.i(28401),c=e.i(5505),l=e.i(21623);let u=()=>{let{formatMessage:e}=(0,s.X)(),u=(0,i.f)(),x=(0,t.useRouter)(),f=async()=>{await (0,o.f)(u,x),n.toast.success(e({id:"goodbye_simple",defaultMessage:"Goodbye!"}))};return(0,r.jsx)("div",{className:"flex min-h-screen items-center justify-center py-12 px-4 sm:px-6 lg:px-8",children:(0,r.jsxs)("div",{className:"w-full max-w-md space-y-4 text-center",children:[(0,r.jsx)("div",{children:(0,r.jsx)("h2",{className:"text-center text-3xl text-text-primary",children:e({id:"access_restricted",defaultMessage:"Access Restricted"})})}),(0,r.jsx)(c.U,{children:(0,r.jsxs)("div",{className:"space-y-6 px-4 pb-5 pt-3 sm:rounded-lg sm:px-10",children:[(0,r.jsxs)("div",{className:"text-center",children:[(0,r.jsx)("div",{className:"mx-auto flex h-12 w-12 items-center justify-center rounded-full bg-yellow-100 dark:bg-yellow-900",children:(0,r.jsx)("svg",{className:"h-6 w-6 text-yellow-600 dark:text-yellow-400",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","aria-hidden":"true",children:(0,r.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M12 15v2m-6 4h12a2 2 0 002-2v-6a2 2 0 00-2-2H6a2 2 0 00-2 2v6a2 2 0 002 2zm10-10V7a4 4 0 00-8 0v4h8z"})})}),(0,r.jsx)("p",{className:"mt-4 text-sm font-semibold uppercase tracking-wide text-yellow-600 dark:text-yellow-400",children:e({id:"error_423",defaultMessage:"423 Locked"})}),(0,r.jsx)("p",{className:"mt-2 text-base text-text-muted",children:e({id:"required-role-not-satisfied",defaultMessage:"Current account does not have access, please log in with an account that has the required role."})}),(0,r.jsx)("p",{className:"mt-2 text-sm text-text-muted",children:e({id:"contact_admin_help",defaultMessage:"Contact system administrator for further information."})})]}),(0,r.jsxs)("div",{className:"flex flex-col gap-3 mt-6",children:[(0,r.jsx)(l.f,{onClick:f,icon:(0,r.jsx)(a.f,{className:"h-5 w-5"}),variant:"primary",fullWidth:!0,text:e({id:"use-another-account",defaultMessage:"Use Another Account"})}),(0,r.jsx)(l.f,{onClick:()=>window.history.back(),icon:(0,r.jsx)(d.f,{className:"h-5 w-5"}),variant:"secondary",fullWidth:!0,text:e({id:"go_back",defaultMessage:"Go Back"})})]})]})})]})})};u.getLayout=e=>e,e.s(["default",0,u])},13938,e=>{var r=e.i(43529);e.s(["f",()=>r.f])}],66265,(e,r,t)=>{let s="/423";(window.__NEXT_P=window.__NEXT_P||[]).push([s,()=>e.r(29332)]),r.hot&&r.hot.dispose(function(){window.__NEXT_P.push([s])})}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,[98837,e=>{e.s(["f",0,function(e,t){let r=window.__UNCHAINED_SHARED_CONTEXTS__??={};return r[e]??=t}])},21953,e=>{let t="function"==typeof(0,e.i(22420).f)(()=>window.document.createElement);e.s(["f",0,t])},30928,51104,e=>{function t(...e){let r={};return e.forEach(e=>{e&&Reflect.ownKeys(e).forEach(t=>{let n=e[t];void 0!==n&&(r[t]=n)})}),r}e.s(["f",0,t],51104),e.s(["f",0,function(e,r){return t(e,r,r.variables&&{variables:t({...e&&e.variables,...r.variables})})}],30928)},84985,e=>{var t=e.i(91788);let r=t.forwardRef(function({title:e,titleId:r,...n},o){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:o,"aria-labelledby":r},n),e?t.createElement("title",{id:r},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 4.5v15m7.5-7.5h-15"}))});e.s(["f",0,r])},41705,(e,t,r)=>{r._=function(e){return e&&e.__esModule?e:{default:e}}},52456,(e,t,r)=>{function n(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(n=function(e){return e?r:t})(e)}r._=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=n(t);if(r&&r.has(e))return r.get(e);var o={__proto__:null},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=u?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(o,i,a):o[i]=e[i]}return o.default=e,r&&r.set(e,o),o}},24669,e=>{let{toString:t,hasOwnProperty:r}=Object.prototype,n=Function.prototype.toString,o=new Map;function u(e){return Object.keys(e).filter(i,e)}function i(e){return void 0!==this[e]}function a(e,t){let r=o.get(e);if(r){if(r.has(t))return!0}else o.set(e,r=new Set);return r.add(t),!1}e.s(["f",0,function(e,i){try{return function e(o,i){if(o===i)return!0;let c=t.call(o);if(c!==t.call(i))return!1;switch(c){case"[object Array]":if(o.length!==i.length)break;case"[object Object]":{if(a(o,i))return!0;let t=u(o),n=u(i),c=t.length;if(c!==n.length)return!1;for(let e=0;e<c;++e)if(!r.call(i,t[e]))return!1;for(let r=0;r<c;++r){let n=t[r];if(!e(o[n],i[n]))return!1}return!0}case"[object Error]":return o.name===i.name&&o.message===i.message;case"[object Number]":if(o!=o)return i!=i;case"[object Boolean]":case"[object Date]":return+o==+i;case"[object RegExp]":case"[object String]":return o==`${i}`;case"[object Map]":case"[object Set]":{if(o.size!==i.size)return!1;if(a(o,i))return!0;let t=o.entries(),r="[object Map]"===c;for(;;){let n=t.next();if(n.done)break;let[o,u]=n.value;if(!i.has(o)||r&&!e(u,i.get(o)))return!1}return!0}case"[object Uint16Array]":case"[object Uint8Array]":case"[object Uint32Array]":case"[object Int32Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object ArrayBuffer]":o=new Uint8Array(o),i=new Uint8Array(i);case"[object DataView]":{let e=o.byteLength;if(e===i.byteLength)for(;e--&&o[e]===i[e];);return -1===e}case"[object AsyncFunction]":case"[object GeneratorFunction]":case"[object AsyncGeneratorFunction]":case"[object Function]":{var l,f;let e,t=n.call(o);if(t!==n.call(i))return!1;return f="{ [native code] }",!((e=(l=t).length-f.length)>=0)||l.indexOf(f,e)!==e}}return!1}(e,i)}finally{o.clear()}}])},56206,e=>{function t(){for(var e,t,r=0,n="",o=arguments.length;r<o;r++)(e=arguments[r])&&(t=function e(t){var r,n,o="";if("string"==typeof t||"number"==typeof t)o+=t;else if("object"==typeof t)if(Array.isArray(t)){var u=t.length;for(r=0;r<u;r++)t[r]&&(n=e(t[r]))&&(o&&(o+=" "),o+=n)}else for(n in t)t[n]&&(o&&(o+=" "),o+=n);return o}(e))&&(n&&(n+=" "),n+=t);return n}e.s(["q",0,t,"U",0,t])},9356,e=>{var t=e.i(35113);e.s(["f",0,function(e){return!(!(e instanceof Date||"object"==typeof e&&"[object Date]"===Object.prototype.toString.call(e))&&"number"!=typeof e||isNaN(+(0,t.f)(e)))}],9356)},49543,e=>{var t=e.i(35113);e.s(["f",0,function(e,r){let n=(0,t.f)(e,r?.in);return n.setHours(0,0,0,0),n}])},35113,2848,98170,e=>{let t=Symbol.for("constructDateFrom");function r(e,r){return"function"==typeof e?e(r):e&&"object"==typeof e&&t in e?e[t](r):e instanceof Date?new e.constructor(r):new Date(r)}e.s(["C",0,t,"_",0,864e5,"r",0,36e5,"z",0,6e4,"A",0,6048e5,"k",0,1440,"d",0,43200,"l",0,525600],2848),e.s(["f",0,r],98170),e.s(["f",0,function(e,t){return r(t||e,e)}],35113)},50461,(e,t,r)=>{var n,o;t.exports=(null==(n=e.g.process)?void 0:n.env)&&"object"==typeof(null==(o=e.g.process)?void 0:o.env)?e.g.process:e.r(20955)},54471,(e,t,r)=>{function n(e,t,r,n){return!1}e.i(50461),Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"getDomainLocale",{enumerable:!0,get:function(){return n}}),e.r(70090),("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},39149,(e,t,r)=>{e.i(50461),Object.defineProperty(r,"__esModule",{value:!0});var n={default:function(){return S},useLinkStatus:function(){return E}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});let u=e.r(52456),i=e.r(91398),a=u._(e.r(91788)),c=e.r(60472),l=e.r(71112),f=e.r(28169),s=e.r(89129),d=e.r(14862),p=e.r(25479),y=e.r(71914),h=e.r(54471),b=e.r(44113),m=e.r(63230),v=new Set;function g(e,t,r,n){if(!("u"<typeof window)&&(0,l.isLocalURL)(t)){if(!n.bypassPrefetchedCheck){let o=t+"%"+r+"%"+(void 0!==n.locale?n.locale:"locale"in e?e.locale:void 0);if(v.has(o))return;v.add(o)}e.prefetch(t,r,n).catch(e=>{})}}function _(e){return"string"==typeof e?e:(0,f.formatUrl)(e)}let j=a.default.forwardRef(function(e,t){let r,n,{href:o,as:u,children:f,prefetch:v=null,passHref:j,replace:w,shallow:E,scroll:S,locale:O,onClick:k,onNavigate:x,onMouseEnter:C,onTouchStart:P,legacyBehavior:T=!1,transitionTypes:M,...A}=e;r=f,T&&("string"==typeof r||"number"==typeof r)&&(r=(0,i.jsx)("a",{children:r}));let R=a.default.useContext(p.RouterContext),I=!1!==v,{href:U,as:$}=a.default.useMemo(()=>{if(!R){let e=_(o);return{href:e,as:u?_(u):e}}let[e,t]=(0,c.resolveHref)(R,o,!0);return{href:e,as:u?(0,c.resolveHref)(R,u):t||e}},[R,o,u]),H=a.default.useRef(U),L=a.default.useRef($);T&&(n=a.default.Children.only(r));let N=T?n&&"object"==typeof n&&n.ref:t,[D,F,B]=(0,y.useIntersection)({rootMargin:"200px"}),z=a.default.useCallback(e=>{(L.current!==$||H.current!==U)&&(B(),L.current=$,H.current=U),D(e)},[$,U,B,D]),V=(0,m.useMergedRef)(z,N);a.default.useEffect(()=>{!R||F&&I&&g(R,U,$,{bypassPrefetchedCheck:!1,locale:O})},[$,U,F,O,I,R?.locale,R]);let q={ref:V,onClick(e){T||"function"!=typeof k||k(e),T&&n.props&&"function"==typeof n.props.onClick&&n.props.onClick(e),!R||e.defaultPrevented||function(e,t,r,n,o,u,i,a,c){let f,{nodeName:s}=e.currentTarget;if(!("A"===s.toUpperCase()&&((f=e.currentTarget.getAttribute("target"))&&"_self"!==f||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which)||e.currentTarget.hasAttribute("download"))){if(!(0,l.isLocalURL)(r)){o&&(e.preventDefault(),location.replace(r));return}e.preventDefault(),(()=>{if(c){let e=!1;if(c({preventDefault:()=>{e=!0}}),e)return}let e=i??!0;"beforePopState"in t?t[o?"replace":"push"](r,n,{shallow:u,locale:a,scroll:e}):t[o?"replace":"push"](n||r,{scroll:e})})()}}(e,R,U,$,w,E,S,O,x)},onMouseEnter(e){T||"function"!=typeof C||C(e),T&&n.props&&"function"==typeof n.props.onMouseEnter&&n.props.onMouseEnter(e),R&&g(R,U,$,{locale:O,priority:!0,bypassPrefetchedCheck:!0})},onTouchStart:function(e){T||"function"!=typeof P||P(e),T&&n.props&&"function"==typeof n.props.onTouchStart&&n.props.onTouchStart(e),R&&g(R,U,$,{locale:O,priority:!0,bypassPrefetchedCheck:!0})}};if((0,s.isAbsoluteUrl)($))q.href=$;else if(!T||j||"a"===n.type&&!("href"in n.props)){let e=void 0!==O?O:R?.locale;q.href=R?.isLocaleDomain&&(0,h.getDomainLocale)($,e,R?.locales,R?.domainLocales)||(0,b.addBasePath)((0,d.addLocale)($,e,R?.defaultLocale))}return T?a.default.cloneElement(n,q):(0,i.jsx)("a",{...A,...q,children:r})}),w=(0,a.createContext)({pending:!1}),E=()=>(0,a.useContext)(w),S=j;("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},71914,(e,t,r)=>{Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"useIntersection",{enumerable:!0,get:function(){return c}});let n=e.r(91788),o=e.r(99604),u="function"==typeof IntersectionObserver,i=new Map,a=[];function c({rootRef:e,rootMargin:t,disabled:r}){let l=r||!u,[f,s]=(0,n.useState)(!1),d=(0,n.useRef)(null),p=(0,n.useCallback)(e=>{d.current=e},[]);return(0,n.useEffect)(()=>{if(u){if(l||f)return;let r=d.current;if(r&&r.tagName)return function(e,t,r){let{id:n,observer:o,elements:u}=function(e){let t,r={root:e.root||null,margin:e.rootMargin||""},n=a.find(e=>e.root===r.root&&e.margin===r.margin);if(n&&(t=i.get(n)))return t;let o=new Map;return t={id:r,observer:new IntersectionObserver(e=>{e.forEach(e=>{let t=o.get(e.target),r=e.isIntersecting||e.intersectionRatio>0;t&&r&&t(r)})},e),elements:o},a.push(r),i.set(r,t),t}(r);return u.set(e,t),o.observe(e),function(){if(u.delete(e),o.unobserve(e),0===u.size){o.disconnect(),i.delete(n);let e=a.findIndex(e=>e.root===n.root&&e.margin===n.margin);e>-1&&a.splice(e,1)}}}(r,e=>e&&s(e),{root:e?.current,rootMargin:t})}else if(!f){let e=(0,o.requestIdleCallback)(()=>s(!0));return()=>(0,o.cancelIdleCallback)(e)}},[l,t,e,f,d.current]),[p,f,(0,n.useCallback)(()=>{s(!1)},[])]}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},63230,(e,t,r)=>{Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"useMergedRef",{enumerable:!0,get:function(){return o}});let n=e.r(91788);function o(e,t){let r=(0,n.useRef)(null),o=(0,n.useRef)(null);return(0,n.useCallback)(n=>{if(null===n){let e=r.current;e&&(r.current=null,e());let t=o.current;t&&(o.current=null,t())}else e&&(r.current=u(e,n)),t&&(o.current=u(t,n))},[e,t])}function u(e,t){if("function"!=typeof e)return e.current=t,()=>{e.current=null};{let r=e(t);return"function"==typeof r?r:()=>e(null)}}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},80963,(e,t,r)=>{e.i(50461),Object.defineProperty(r,"__esModule",{value:!0});var n={default:function(){return h},defaultHead:function(){return s}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});let u=e.r(41705),i=e.r(52456),a=e.r(91398),c=i._(e.r(91788)),l=u._(e.r(94941)),f=e.r(13584);function s(){return[(0,a.jsx)("meta",{charSet:"utf-8"},"charset"),(0,a.jsx)("meta",{name:"viewport",content:"width=device-width"},"viewport")]}function d(e,t){return"string"==typeof t||"number"==typeof t?e:t.type===c.default.Fragment?e.concat(c.default.Children.toArray(t.props.children).reduce((e,t)=>"string"==typeof t||"number"==typeof t?e:e.concat(t),[])):e.concat(t)}let p=["name","httpEquiv","charSet","itemProp"];function y(e){let t,r,n,o;return e.reduce(d,[]).reverse().concat(s().reverse()).filter((t=new Set,r=new Set,n=new Set,o={},e=>{let u=!0,i=!1;if(e.key&&"number"!=typeof e.key&&e.key.indexOf("$")>0){i=!0;let r=e.key.slice(e.key.indexOf("$")+1);t.has(r)?u=!1:t.add(r)}switch(e.type){case"title":case"base":r.has(e.type)?u=!1:r.add(e.type);break;case"meta":for(let t=0,r=p.length;t<r;t++){let r=p[t];if(e.props.hasOwnProperty(r))if("charSet"===r)n.has(r)?u=!1:n.add(r);else{let t=e.props[r],n=o[r]||new Set;("name"!==r||!i)&&n.has(t)?u=!1:(n.add(t),o[r]=n)}}}return u})).reverse().map((e,t)=>{let r=e.key||t;return c.default.cloneElement(e,{key:r})})}let h=function({children:e}){let t=(0,c.useContext)(f.HeadManagerContext);return(0,a.jsx)(l.default,{reduceComponentsToState:y,headManager:t,children:e})};("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},94941,(e,t,r)=>{Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"default",{enumerable:!0,get:function(){return a}});let n=e.r(91788),o="u"<typeof window,u=o?()=>{}:n.useLayoutEffect,i=o?()=>{}:n.useEffect;function a(e){let{headManager:t,reduceComponentsToState:r}=e;function a(){if(t&&t.mountedInstances){let e=n.Children.toArray(Array.from(t.mountedInstances).filter(Boolean));t.updateHead(r(e))}}return o&&(t?.mountedInstances?.add(e.children),a()),u(()=>(t?.mountedInstances?.add(e.children),()=>{t?.mountedInstances?.delete(e.children)})),u(()=>(t&&(t._pendingUpdate=a),()=>{t&&(t._pendingUpdate=a)})),i(()=>(t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null),()=>{t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null)})),null}},89129,(e,t,r)=>{e.i(50461),Object.defineProperty(r,"__esModule",{value:!0});var n={DecodeError:function(){return m},MiddlewareNotFoundError:function(){return j},MissingStaticPage:function(){return _},NormalizeError:function(){return v},PageNotFoundError:function(){return g},SP:function(){return h},ST:function(){return b},WEB_VITALS:function(){return u},execOnce:function(){return i},getDisplayName:function(){return s},getLocationOrigin:function(){return l},getURL:function(){return f},isAbsoluteUrl:function(){return c},isResSent:function(){return d},loadGetInitialProps:function(){return y},normalizeRepeatedSlashes:function(){return p},stringifyError:function(){return w}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});let u=["CLS","FCP","INP","LCP","TTFB"];function i(e){let t,r=!1;return(...n)=>(r||(r=!0,t=e(...n)),t)}let a=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,c=e=>{let t=e.charCodeAt(0);return!!(t>=65&&t<=90||t>=97&&t<=122)&&a.test(e)};function l(){let{protocol:e,hostname:t,port:r}=window.location;return`${e}//${t}${r?":"+r:""}`}function f(){let{href:e}=window.location,t=l();return e.substring(t.length)}function s(e){return"string"==typeof e?e:e.displayName||e.name||"Unknown"}function d(e){return e.finished||e.headersSent}function p(e){let t=e.split("?");return t[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(t[1]?`?${t.slice(1).join("?")}`:"")}async function y(e,t){let r=t.res||t.ctx&&t.ctx.res;if(!e.getInitialProps)return t.ctx&&t.Component?{pageProps:await y(t.Component,t.ctx)}:{};let n=await e.getInitialProps(t);if(r&&d(r))return n;if(!n)throw Error(`"${s(e)}.getInitialProps()" should resolve to an object. But found "${n}" instead.`);return n}let h="u">typeof performance,b=h&&["mark","measure","getEntriesByName"].every(e=>"function"==typeof performance[e]);class m extends Error{}class v extends Error{}class g extends Error{constructor(e){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message=`Cannot find module for page: ${e}`}}class _ extends Error{constructor(e,t){super(),this.message=`Failed to load static file for page: ${e} ${t}`}}class j extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function w(e){return JSON.stringify({message:e.message,stack:e.stack})}},8481,(e,t,r)=>{var n=Symbol.for("react.transitional.element");function o(e,t,r){var o=null;if(void 0!==r&&(o=""+r),void 0!==t.key&&(o=""+t.key),"key"in t)for(var u in r={},t)"key"!==u&&(r[u]=t[u]);else r=t;return{$$typeof:n,type:e,key:o,ref:void 0!==(t=r.ref)?t:null,props:r}}r.Fragment=Symbol.for("react.fragment"),r.jsx=o,r.jsxs=o},61556,(e,t,r)=>{var n=e.i(50461),o=Symbol.for("react.transitional.element"),u=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),c=Symbol.for("react.profiler"),l=Symbol.for("react.consumer"),f=Symbol.for("react.context"),s=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),p=Symbol.for("react.memo"),y=Symbol.for("react.lazy"),h=Symbol.for("react.activity"),b=Symbol.for("react.view_transition"),m=Symbol.iterator,v={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},g=Object.assign,_={};function j(e,t,r){this.props=e,this.context=t,this.refs=_,this.updater=r||v}function w(){}function E(e,t,r){this.props=e,this.context=t,this.refs=_,this.updater=r||v}j.prototype.isReactComponent={},j.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},j.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},w.prototype=j.prototype;var S=E.prototype=new w;S.constructor=E,g(S,j.prototype),S.isPureReactComponent=!0;var O=Array.isArray;function k(){}var x={H:null,A:null,T:null,S:null},C=Object.prototype.hasOwnProperty;function P(e,t,r){var n=r.ref;return{$$typeof:o,type:e,key:t,ref:void 0!==n?n:null,props:r}}function T(e){return"object"==typeof e&&null!==e&&e.$$typeof===o}var M=/\/+/g;function A(e,t){var r,n;return"object"==typeof e&&null!==e&&null!=e.key?(r=""+e.key,n={"=":"=0",":":"=2"},"$"+r.replace(/[=:]/g,function(e){return n[e]})):t.toString(36)}function R(e,t,r){if(null==e)return e;var n=[],i=0;return!function e(t,r,n,i,a){var c,l,f,s=typeof t;("undefined"===s||"boolean"===s)&&(t=null);var d=!1;if(null===t)d=!0;else switch(s){case"bigint":case"string":case"number":d=!0;break;case"object":switch(t.$$typeof){case o:case u:d=!0;break;case y:return e((d=t._init)(t._payload),r,n,i,a)}}if(d)return a=a(t),d=""===i?"."+A(t,0):i,O(a)?(n="",null!=d&&(n=d.replace(M,"$&/")+"/"),e(a,r,n,"",function(e){return e})):null!=a&&(T(a)&&(c=a,l=n+(null==a.key||t&&t.key===a.key?"":(""+a.key).replace(M,"$&/")+"/")+d,a=P(c.type,l,c.props)),r.push(a)),1;d=0;var p=""===i?".":i+":";if(O(t))for(var h=0;h<t.length;h++)s=p+A(i=t[h],h),d+=e(i,r,n,s,a);else if("function"==typeof(h=null===(f=t)||"object"!=typeof f?null:"function"==typeof(f=m&&f[m]||f["@@iterator"])?f:null))for(t=h.call(t),h=0;!(i=t.next()).done;)s=p+A(i=i.value,h++),d+=e(i,r,n,s,a);else if("object"===s){if("function"==typeof t.then)return e(function(e){switch(e.status){case"fulfilled":return e.value;case"rejected":throw e.reason;default:switch("string"==typeof e.status?e.then(k,k):(e.status="pending",e.then(function(t){"pending"===e.status&&(e.status="fulfilled",e.value=t)},function(t){"pending"===e.status&&(e.status="rejected",e.reason=t)})),e.status){case"fulfilled":return e.value;case"rejected":throw e.reason}}throw e}(t),r,n,i,a);throw Error("Objects are not valid as a React child (found: "+("[object Object]"===(r=String(t))?"object with keys {"+Object.keys(t).join(", ")+"}":r)+"). If you meant to render a collection of children, use an array instead.")}return d}(e,n,"","",function(e){return t.call(r,e,i++)}),n}function I(e){if(-1===e._status){var t=(0,e._result)();t.then(function(r){(0===e._status||-1===e._status)&&(e._status=1,e._result=r,void 0===t.status&&(t.status="fulfilled",t.value=r))},function(r){(0===e._status||-1===e._status)&&(e._status=2,e._result=r,void 0===t.status&&(t.status="rejected",t.reason=r))}),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var U="function"==typeof reportError?reportError:function(e){if("object"==typeof window&&"function"==typeof window.ErrorEvent){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:"object"==typeof e&&null!==e&&"string"==typeof e.message?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if("object"==typeof n.default&&"function"==typeof n.default.emit)return void n.default.emit("uncaughtException",e);console.error(e)};function $(e){var t=x.T,r={};r.types=null!==t?t.types:null,x.T=r;try{var n=e(),o=x.S;null!==o&&o(r,n),"object"==typeof n&&null!==n&&"function"==typeof n.then&&n.then(k,U)}catch(e){U(e)}finally{null!==t&&null!==r.types&&(t.types=r.types),x.T=t}}function H(e){var t=x.T;if(null!==t){var r=t.types;null===r?t.types=[e]:-1===r.indexOf(e)&&r.push(e)}else $(H.bind(null,e))}r.Activity=h,r.Children={map:R,forEach:function(e,t,r){R(e,function(){t.apply(this,arguments)},r)},count:function(e){var t=0;return R(e,function(){t++}),t},toArray:function(e){return R(e,function(e){return e})||[]},only:function(e){if(!T(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},r.Component=j,r.Fragment=i,r.Profiler=c,r.PureComponent=E,r.StrictMode=a,r.Suspense=d,r.ViewTransition=b,r.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=x,r.__COMPILER_RUNTIME={__proto__:null,c:function(e){return x.H.useMemoCache(e)}},r.addTransitionType=H,r.cache=function(e){return function(){return e.apply(null,arguments)}},r.cacheSignal=function(){return null},r.cloneElement=function(e,t,r){if(null==e)throw Error("The argument must be a React element, but you passed "+e+".");var n=g({},e.props),o=e.key;if(null!=t)for(u in void 0!==t.key&&(o=""+t.key),t)C.call(t,u)&&"key"!==u&&"__self"!==u&&"__source"!==u&&("ref"!==u||void 0!==t.ref)&&(n[u]=t[u]);var u=arguments.length-2;if(1===u)n.children=r;else if(1<u){for(var i=Array(u),a=0;a<u;a++)i[a]=arguments[a+2];n.children=i}return P(e.type,o,n)},r.createContext=function(e){return(e={$$typeof:f,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider=e,e.Consumer={$$typeof:l,_context:e},e},r.createElement=function(e,t,r){var n,o={},u=null;if(null!=t)for(n in void 0!==t.key&&(u=""+t.key),t)C.call(t,n)&&"key"!==n&&"__self"!==n&&"__source"!==n&&(o[n]=t[n]);var i=arguments.length-2;if(1===i)o.children=r;else if(1<i){for(var a=Array(i),c=0;c<i;c++)a[c]=arguments[c+2];o.children=a}if(e&&e.defaultProps)for(n in i=e.defaultProps)void 0===o[n]&&(o[n]=i[n]);return P(e,u,o)},r.createRef=function(){return{current:null}},r.forwardRef=function(e){return{$$typeof:s,render:e}},r.isValidElement=T,r.lazy=function(e){return{$$typeof:y,_payload:{_status:-1,_result:e},_init:I}},r.memo=function(e,t){return{$$typeof:p,type:e,compare:void 0===t?null:t}},r.startTransition=$,r.unstable_useCacheRefresh=function(){return x.H.useCacheRefresh()},r.use=function(e){return x.H.use(e)},r.useActionState=function(e,t,r){return x.H.useActionState(e,t,r)},r.useCallback=function(e,t){return x.H.useCallback(e,t)},r.useContext=function(e){return x.H.useContext(e)},r.useDebugValue=function(){},r.useDeferredValue=function(e,t){return x.H.useDeferredValue(e,t)},r.useEffect=function(e,t){return x.H.useEffect(e,t)},r.useEffectEvent=function(e){return x.H.useEffectEvent(e)},r.useId=function(){return x.H.useId()},r.useImperativeHandle=function(e,t,r){return x.H.useImperativeHandle(e,t,r)},r.useInsertionEffect=function(e,t){return x.H.useInsertionEffect(e,t)},r.useLayoutEffect=function(e,t){return x.H.useLayoutEffect(e,t)},r.useMemo=function(e,t){return x.H.useMemo(e,t)},r.useOptimistic=function(e,t){return x.H.useOptimistic(e,t)},r.useReducer=function(e,t,r){return x.H.useReducer(e,t,r)},r.useRef=function(e){return x.H.useRef(e)},r.useState=function(e){return x.H.useState(e)},r.useSyncExternalStore=function(e,t,r){return x.H.useSyncExternalStore(e,t,r)},r.useTransition=function(){return x.H.useTransition()},r.version="19.3.0"},91788,(e,t,r)=>{e.i(50461),t.exports=e.r(61556)},91398,(e,t,r)=>{e.i(50461),t.exports=e.r(8481)}],20955,(e,t,r)=>{var n={156:function(e){var t,r,n,o=e.exports={};function u(){throw Error("setTimeout has not been defined")}function i(){throw Error("clearTimeout has not been defined")}try{t="function"==typeof setTimeout?setTimeout:u}catch(e){t=u}try{r="function"==typeof clearTimeout?clearTimeout:i}catch(e){r=i}function a(e){if(t===setTimeout)return setTimeout(e,0);if((t===u||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(r){try{return t.call(null,e,0)}catch(r){return t.call(this,e,0)}}}var c=[],l=!1,f=-1;function s(){l&&n&&(l=!1,n.length?c=n.concat(c):f=-1,c.length&&d())}function d(){if(!l){var e=a(s);l=!0;for(var t=c.length;t;){for(n=c,c=[];++f<t;)n&&n[f].run();f=-1,t=c.length}n=null,l=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===i||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function p(e,t){this.fun=e,this.array=t}function y(){}o.nextTick=function(e){var t=Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];c.push(new p(e,t)),1!==c.length||l||a(d)},p.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=y,o.addListener=y,o.once=y,o.off=y,o.removeListener=y,o.removeAllListeners=y,o.emit=y,o.prependListener=y,o.prependOnceListener=y,o.listeners=function(e){return[]},o.binding=function(e){throw Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(e){throw Error("process.chdir is not supported")},o.umask=function(){return 0}}},o={};function u(e){var t=o[e];if(void 0!==t)return t.exports;var r=o[e]={exports:{}},i=!0;try{n[e](r,r.exports,u),i=!1}finally{i&&delete o[e]}return r.exports}u.ab="/ROOT/node_modules/next/dist/compiled/process/",t.exports=u(156)},5205,(e,t,r)=>{t.exports=e.r(80963)},41158,(e,t,r)=>{t.exports=e.r(39149)}]);
|