@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,147 @@
|
|
|
1
|
+
(()=>{"use strict";(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,46758,e=>{var t=e.i(91398),s=e.i(56206),r=e.i(69322);e.s(["f",0,({isActive:e,activeText:a=null,activeClassName:l="",inActiveClassName:i="",inActiveText:d=null,containerClassName:n=""})=>{let{formatMessage:o}=(0,r.X)();return(0,t.jsx)("span",{className:(0,s.U)("",n),children:e?(0,t.jsx)("span",{className:(0,s.U)("inline-flex items-center border rounded-full px-2.5 py-0.5 text-sm font-medium bg-emerald-50 dark:bg-emerald-900/30 text-emerald-700 dark:text-emerald-300 border-emerald-200 dark:border-emerald-800 uppercase",l),children:a||o({id:"active",defaultMessage:"Active"})}):(0,t.jsx)("span",{className:(0,s.U)("inline-flex items-center border rounded-full px-2.5 py-0.5 text-sm font-medium bg-amber-100 dark:bg-yellow-900/30 text-yellow-800 dark:text-yellow-300 border-amber-400 dark:border-yellow-800 uppercase",i),children:d||o({id:"inactive",defaultMessage:"In-Active"})})})}])},26690,e=>{var t=e.i(91398),s=e.i(91788),r=e.i(69322);e.s(["f",0,({text:e})=>{let{formatMessage:a}=(0,r.X)(),[l,i]=(0,s.useState)(a({id:"copy_to_clipboard",defaultMessage:"Copy to clipboard"}));return(0,t.jsx)("div",{onClick:()=>{let e=document.createElement("textarea");e.value=document.getElementById("copyable").innerText,e.setAttribute("readonly",""),e.style.position="absolute",e.style.left="-9999px",document.body.appendChild(e);let t=document.getSelection().rangeCount>0&&document.getSelection().getRangeAt(0);e.select(),e.setSelectionRange(0,99999),document.execCommand("copy"),document.body.removeChild(e),t&&(document.getSelection().removeAllRanges(),document.getSelection().addRange(t)),i(a({id:"copied",defaultMessage:"Copied"}))},className:"relative inline-flex items-center rounded-md border border-transparent bg-slate-950 px-4 py-2 text-sm font-medium text-white shadow-xs hover:bg-slate-950 focus:outline-hidden focus:ring-2 focus:ring-focus-ring focus:ring-offset-2",onMouseEnter:()=>i(a({id:"copy_to_clipboard",defaultMessage:"Copy to clipboard"})),children:(0,t.jsxs)("pre",{children:[(0,t.jsx)("span",{children:l}),(0,t.jsx)("code",{id:"copyable",className:"sr-only",children:e})]})})}])},2194,e=>{var t=e.i(91398),s=e.i(92802),s=s,r=e.i(56206),a=e.i(69322);e.s(["f",0,({message:e,className:l="",Icon:i=null})=>(0,t.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,t.jsxs)("div",{className:"grid items-center justify-center",children:[(0,t.jsx)("div",{className:"flex items-center justify-center text-slate-400 dark:text-slate-600",children:i||(0,t.jsx)(s.f,{className:"h-6 w-6"})}),(0,t.jsx)(a.L,{id:"no_data_message",defaultMessage:"<p>No <span> {message} available</span> </p>",values:{p:e=>(0,t.jsx)("p",{className:"mt-2 m-auto flex items-center justify-center",children:e}),span:e=>(0,t.jsxs)("span",{className:"capitalize ml-1",children:[" ",e," "]}),message:e}})]})})],2194)},76069,e=>{var t=e.i(91398),s=e.i(81618),r=e.i(56206);e.s(["f",0,({className:e="",containerClassName:a="",Icon:l=null})=>(0,t.jsx)("span",{className:(0,r.U)("text-slate-400",a),children:l||(0,t.jsx)(s.f,{className:(0,r.U)(e)})})])},35429,e=>{var t=e.i(91398),s=e.i(56206),r=e.i(69322),a=e.i(21128);e.s(["f",0,({cancelText:e=null,showCancel:l=!0,submitText:i=null,showSubmit:d=!0,onCancel:n,className:o=""})=>{let{formatMessage:c}=(0,r.X)();return(0,t.jsxs)("span",{className:(0,s.U)("flex shrink-0 items-center space-x-4 py-5 pl-1",o),children:[l?(0,t.jsx)("button",{onClick:n,"data-id":"cancel_update",type:"button",className:(0,s.U)("focus:ring-focus-ring","inline-flex items-center rounded-md border border-border-default bg-surface px-4 py-2 text-sm 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"),children:e||c({id:"cancel",defaultMessage:"Cancel"})}):null,d?(0,t.jsx)(a.f,{label:i||c({id:"save",defaultMessage:"Save"})}):null]})}])},35793,e=>{var t=e.i(91398),s=e.i(69322),r=e.i(2765);e.s(["f",0,({inputText:e=null,onInputChange:a,defaultValue:l})=>{let{formatMessage:i}=(0,s.X)(),d=(0,r.f)(200)(a);return(0,t.jsxs)("div",{className:"w-full",children:[(0,t.jsx)("label",{htmlFor:"search",className:"sr-only",children:e||i({id:"search",defaultMessage:"Search"})}),(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)("div",{className:"pointer-events-none absolute inset-y-0 left-0 flex items-center pl-3",children:(0,t.jsx)("svg",{className:"h-5 w-5 text-slate-400 dark:text-slate-200",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",children:(0,t.jsx)("path",{fillRule:"evenodd",d:"M8 4a4 4 0 100 8 4 4 0 000-8zM2 8a6 6 0 1110.89 3.476l4.817 4.817a1 1 0 01-1.414 1.414l-4.816-4.816A6 6 0 012 8z",clipRule:"evenodd"})})}),(0,t.jsx)("input",{onChange:e=>d(e.target.value),id:"search",defaultValue:l,name:"search",className:"block w-full rounded-md border-1 border-border-default text-slate-900 dark:bg-slate-900 dark:text-slate-200 py-3 pl-10 px-4 shadow-xs placeholder:text-slate-400 dark:placeholder:text-slate-400 focus:ring-2 focus:ring-focus-ring focus:outline-hidden sm:text-sm",placeholder:i({id:"search",defaultMessage:"Search"}),type:"search"})]})]})}])},56779,e=>{var t=e.i(91398),s=e.i(56206),r=e.i(3828),a=e.i(91788),l=e.i(69322);e.s(["f",0,({children:e,tabItems:i,defaultTab:d,updateRoute:n=!0})=>{let o=(0,r.useRouter)(),{tab:c=d}=o?.query||{},u=Array.isArray(c)?c[0]:c,{formatMessage:m}=(0,l.X)(),x=e=>{if(n){let{sort:t,...s}=o?.query||{};o.push({query:{...s,tab:e}},void 0,{shallow:!0})}};return(0,t.jsxs)("div",{className:"mt-10",children:[(0,t.jsxs)("div",{className:"lg:hidden",children:[(0,t.jsx)("label",{htmlFor:"selected-tab",className:"sr-only",children:m({id:"select_tab",defaultMessage:"Select a tab"})}),(0,t.jsx)("select",{onChange:e=>x(e.target.value),id:"selected-tab",name:"selected-tab",className:"mt-1 block dark:bg-slate-800 dark:text-white w-full rounded-md border-border-default py-2 pl-3 pr-10 text-base capitalize focus:outline-none focus:ring-2 focus:ring-focus-ring focus:border-slate-800 dark:focus:border-slate-400 sm:text-sm",value:u,children:i.filter(Boolean).map(e=>(0,t.jsx)("option",{value:e.id,className:"dark:text-white",children:e?.title||e?.id},e.id))})]}),(0,t.jsx)("div",{className:"mt-5 hidden lg:block",children:(0,t.jsx)("div",{className:"",children:(0,t.jsx)("nav",{className:"flex flex-wrap gap-3",children:i.filter(Boolean).map(e=>(0,t.jsx)("a",{id:e.id,tabIndex:0,onClick:()=>x(e.id),onKeyDown:t=>{("Enter"===t.key||" "===t.key)&&(t.preventDefault(),x(e.id))},className:(0,s.U)({"cursor-pointer rounded-lg border border-border-default bg-white text-text-primary dark:bg-slate-900 shadow-sm dark:hover:border-slate-500 hover:border-slate-400 focus:outline-none focus:ring-2 focus:ring-focus-ring focus:ring-offset-2 dark:focus:ring-offset-slate-900":u===e.id},"cursor-pointer relative whitespace-nowrap border border-border-subtle py-2 px-1 pr-3 pl-2 text-sm dark:text-slate-400 font-medium hover:bg-white dark:hover:bg-slate-800 hover:border-slate-300 dark:hover:border-slate-500 rounded-lg focus:outline-none focus:ring-2 focus:ring-focus-ring focus:ring-offset-2 dark:focus:ring-offset-slate-900"),children:(0,t.jsxs)("div",{className:"flex items-center space-x-1",children:[(0,t.jsx)("div",{children:e.Icon}),(0,t.jsx)("div",{className:"capitalize",children:e?.title||e?.id}),e?.length?(0,t.jsx)("span",{className:"absolute top-0 right-0 inline-flex translate-x-1/2 -translate-y-1/2 transform items-center justify-center rounded-full bg-slate-400 px-1 py-0.5 text-sm leading-none text-slate-900",children:e?.length}):null]})},e.id))})})}),(0,t.jsx)("div",{className:"mt-5",children:a.default.cloneElement(e,{selectedView:u})})]})}])},76038,e=>{var t=e.i(91398),s=e.i(91788),r=e.i(56206),a=e.i(69322),l=e.i(42469);let i=e=>e?Array.isArray(e)?e:e.toString()?.split(",")?.map(e=>e.trim()):[];e.s(["f",0,({tagList:e,onChange:d,disabled:n=!1,name:o="tag-input",id:c="tag-input",placeholder:u="",selectOptions:m=[],className:x="",buttonText:f="",showTagsInline:h=!0})=>{let{formatMessage:p}=(0,a.X)(),[g,b]=(0,s.useState)(i(e)),[v,j]=(0,s.useState)(""),[y,w]=(0,s.useState)(!1),N=(0,s.useRef)(null);(0,s.useEffect)(()=>{b(i(e))},[e]),(0,s.useEffect)(()=>{let e=e=>{N.current&&!N.current.contains(e.target)&&w(!1)};return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e)},[]);let C=(0,s.useCallback)(e=>{let t=e.trim(),s=m.find(e=>e.value.toLowerCase()===t.toLowerCase()),r=s?.value||t;if(!g.some(e=>e.toLowerCase()===r.toLowerCase())&&r){let e=[...g,r];b(e),d(e),j(""),w(!1)}},[g,d,m]),k=(0,s.useMemo)(()=>{let e=m.filter(e=>!g.some(t=>t.toLowerCase()===e.value.toLowerCase()));return v?e.filter(e=>e.label.toLowerCase().includes(v.toLowerCase())):e},[m,g,v]),E=v.trim().toLowerCase(),M=!!(E&&!g.some(e=>e.toLowerCase()===E)&&!m.some(e=>e.value.toLowerCase()===E)),R=(0,t.jsxs)("div",{className:"relative",ref:N,children:[(0,t.jsx)("input",{id:c,name:o,type:"text",role:"combobox","aria-expanded":y,"aria-autocomplete":"list",disabled:n,className:(0,r.U)("w-full rounded-md border border-border-default bg-surface-input py-2.5 pl-4 pr-4 text-sm text-text-primary placeholder:text-text-muted shadow-xs focus:outline-hidden focus:ring-2 focus:ring-focus-ring",x),placeholder:u,value:v,onChange:e=>{j(e.target.value),w(!0)},onFocus:()=>w(!0),onKeyDown:e=>{"Enter"===e.key&&v.trim()&&(e.preventDefault(),C(k[0]?.value||v.trim()))}}),y&&(M||k.length>0)&&(0,t.jsxs)("ul",{role:"listbox",className:"absolute z-9999999 mt-1 max-h-60 w-full overflow-auto rounded-md bg-surface border border-border-subtle py-1 text-sm shadow-lg",children:[k.map(e=>(0,t.jsx)("li",{role:"option","aria-selected":!1,className:"cursor-pointer select-none py-2 px-4 text-text-primary hover:bg-surface-raised",onMouseDown:t=>{t.preventDefault(),C(e.value)},children:e.label},e.value)),M&&(0,t.jsx)("li",{role:"option","aria-selected":!1,className:"cursor-pointer select-none border-t border-border-subtle py-2 px-4 text-text-primary hover:bg-surface-raised",onMouseDown:e=>{e.preventDefault(),C(v.trim())},children:f||p({id:"add_new_tag",defaultMessage:'Add "{inputValue}"'},{inputValue:v.trim()})})]})]});return h?(0,t.jsxs)(t.Fragment,{children:[R,(0,t.jsx)("div",{className:(0,r.U)("ml-4 flex items-center flex-wrap gap-5",g.length>0&&"mt-1"),children:g?.map(e=>(0,t.jsx)(l.f,{text:e,color:"slate",onClick:()=>(e=>{let t=g.indexOf(e);if(-1!==t){let e=[...g];e.splice(t,1),d(e),b(e)}})(e)},e))})]}):R}])},34948,e=>{var t=e.i(91398),s=e.i(69322),r=e.i(6607),a=e.i(42469),l=e.i(69211),i=e.i(13120),d=e.i(98949),n=e.i(35429);let o=({tags:e,onSubmit:r,onCancel:a,selectOptions:o=[]})=>{let{formatMessage:c}=(0,s.X)(),u=c({id:"tags_updated",defaultMessage:"Tags updated successfully"}),m=(0,d.f)({submit:r,successMessage:u,onSubmitSuccess:a,initialValues:{tags:e}});return(0,t.jsxs)(l.f,{form:m,id:"add_tag_form",children:[(0,t.jsx)("div",{children:(0,t.jsx)(i.f,{name:"tags",id:"tags",label:c({id:"tags",defaultMessage:"Tags"}),tagList:e,selectOptions:o})}),(0,t.jsx)("div",{className:"border border-t-slate-100 bg-slate-50 mt-6 -mx-6 -mb-6 px-6 dark:bg-slate-900 dark:border-0",children:(0,t.jsx)(n.f,{onCancel:a,className:"justify-end "})})]})};e.s(["f",0,({defaultValue:e,onSubmit:l,enableEdit:i,availableTagOptions:d=[]})=>{let{formatMessage:n}=(0,s.X)(),{setModal:c}=(0,r.f)();return(0,t.jsxs)("div",{className:"flex items-center mr-auto gap-2",children:[(0,t.jsx)("div",{className:"flex flex-wrap items-center gap-2",children:e?.length?e.map((e,s)=>(0,t.jsx)("span",{children:(0,t.jsx)(a.f,{text:e,color:"sky"})},`${e}${s+1}`)):(0,t.jsx)("span",{children:(0,t.jsx)(a.f,{text:n({id:"no_tag",defaultMessage:"No Tag"}),color:"slate"})})}),i&&(0,t.jsx)("button",{id:"add_tag",type:"button",className:"rounded-sm hover:shadow-sm px-3 py-2 text-xs inline-flex items-center justify-center text-slate-800 hover:text-slate-900 hover:bg-slate-50 hover:border border-transparent border-1 hover:border-slate-300 dark:text-slate-400 dark:hover:text-slate-200 dark:hover:bg-slate-800 transition-colors focus:outline-hidden focus:ring-2 focus:ring-focus-ring",onClick:()=>c((0,t.jsx)(o,{tags:e||[],onCancel:()=>c(""),onSubmit:l,selectOptions:d})),children:n({id:"edit_tags",defaultMessage:"Edit tags"})})]})}],34948)},97776,e=>{var t=e.i(91398),s=e.i(56206),r=e.i(60741),a=e.i(82226),l=e.i(54879);e.s(["f",0,({validators:e=[],className:i,...d})=>{let n=(0,r.f)({validators:[...e,a.G],...d}),o=n.value?new Date(n.value).toISOString().split("T")[0]:"";return(0,t.jsx)(l.f,{...n,className:d.containerClassName,children:(0,t.jsx)("input",{type:"date",id:n.id,name:n.name,disabled:n.disabled,className:(0,s.U)("relative mt-0 block w-full appearance-none rounded-md rounded-b-md border-1 border-border-default px-4 py-2.5 text-sm text-text-primary dark:bg-slate-900 placeholder-slate-400 shadow-xs focus:z-10 focus:outline-hidden focus:ring-2 focus:ring-focus-ring",i,{"border-rose-700 placeholder:text-rose-300":!!n.error}),onChange:n.onChange,onBlur:n.onBlur,value:o,placeholder:n.placeholder,autoComplete:"off",...d})})}])},63094,e=>{var t=e.i(91398),s=e.i(91788),r=e.i(61898);let a=(e,t="")=>e&&"object"==typeof e?Object.entries(e).reduce((e,[r,l])=>{if(!l||"ref"===r)return e;let i=`${t}${r}`;return"string"==typeof l||s.default.isValidElement(l)?e[i]=l:"string"==typeof l.message&&l.message?e[i]=l.message:"object"==typeof l&&Object.assign(e,a(l,`${i}.`)),e},{}):{},l=({submitError:e="",fieldErrors:r={}})=>(0,t.jsx)("div",{className:"my-2 mb-5 text-rose-700",children:(0,t.jsxs)("ul",{className:"space-y-1",children:[e&&(0,t.jsx)("li",{className:"disabled",children:(0,t.jsx)("span",{dangerouslySetInnerHTML:{__html:e}})},"submitError"),Object.entries(r).map(([e,r])=>(0,t.jsx)("li",{className:"disabled",children:(0,t.jsx)("button",{type:"button",className:"no-button text-danger","aria-label":"Error button",onClick:()=>{let t=document.getElementById(e);t&&t.focus()},children:s.default.isValidElement(r)?r:(0,t.jsx)("span",{dangerouslySetInnerHTML:{__html:r}})})},e))]})});e.s(["f",0,({displayFieldErrors:e=!1})=>{var s;let i,{submitError:d,rhf:n}=(0,r.f)(),o=e?(s=a(n?.formState?.errors),i=new Set,Object.fromEntries(Object.entries(s).filter(([,e])=>"string"!=typeof e||!i.has(e)&&(i.add(e),!0)))):{};return(d||e)&&(0,t.jsx)(l,{submitError:d,fieldErrors:o})}])},83094,e=>{var t=e.i(91398),s=e.i(56206),r=e.i(69322),a=e.i(91412),l=e.i(10947),l=l,i=e.i(7654),d=e.i(31858),n=e.i(3812),o=e.i(98634),c=e.i(82226),u=e.i(60741),m=e.i(54879),x=e.i(56779);let f=({selectedView:e="edit",...r})=>"preview"===e?(0,t.jsx)("div",{className:"prose dark:prose-invert",children:(0,t.jsx)(i.f,{rehypePlugins:[d.f,n.f,o.f],children:r.value})}):(0,t.jsx)("textarea",{className:(0,s.U)("relative mt-1 block w-full dark:focus:autofill dark:hover:autofill dark:autofill dark:placeholder:text-slate-400 dark:bg-slate-900 dark:text-slate-200 appearance-none rounded-md border-1 border-border-default px-4 py-2.5 text-sm text-slate-900 placeholder-slate-400 shadow-xs placeholder:text-slate-400 focus:outline-hidden focus:ring-2 focus:ring-focus-ring",r.className,{"border-rose-700 placeholder:text-rose-300 placeholder-rose-300":!!r.error}),disabled:r.disabled,id:r.name,name:r.name,rows:r.rows||10,onChange:r.onChange,onBlur:r.onBlur,placeholder:r.placeholder,autoComplete:r.autoComplete||"off",value:r.value});e.s(["f",0,({maxLength:e,validators:s=[],...i})=>{let{formatMessage:d}=(0,r.X)(),n=(0,u.f)({validators:[...s,e&&(0,c.f)(e)],...i}),o=[{id:"editor",title:d({id:"editor",defaultMessage:"Editor"}),Icon:(0,t.jsx)(l.f,{className:"h-4 w-5"})},{id:"preview",title:d({id:"preview",defaultMessage:"preview"}),Icon:(0,t.jsx)(a.f,{className:"h-4 w-5"})}];return(0,t.jsx)(m.f,{...n,children:(0,t.jsx)("div",{className:"-mt-8",children:(0,t.jsx)(x.f,{tabItems:o,defaultTab:"editor",children:(0,t.jsx)(f,{...n})})})})}],83094)},56985,e=>{var t=e.i(91398),s=e.i(56206),r=e.i(91788),a=e.i(16984);e.s(["f",0,({autoComplete:e="on",...l})=>{let[i,d]=(0,r.useState)(!1),n=e=>{e.preventDefault(),d(!i)};return(0,t.jsxs)("div",{className:(0,s.U)("relative",l.className),children:[(0,t.jsx)(a.f,{autoComplete:e||"on",name:"password",...l,type:i?"text":"password"}),(0,t.jsx)("span",{role:"button",tabIndex:-1,"aria-label":"toggle password visibility",className:"absolute translate-y-[-137%] outline-hidden block right-3",onClick:n,onKeyUp:n,children:i?(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-6 w-6 stroke-slate-700",fill:"none",viewBox:"0 0 24 24",children:[(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M15 12a3 3 0 11-6 0 3 3 0 016 0z"}),(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M2.458 12C3.732 7.943 7.523 5 12 5c4.478 0 8.268 2.943 9.542 7-1.274 4.057-5.064 7-9.542 7-4.477 0-8.268-2.943-9.542-7z"})]}):(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-6 w-6 stroke-slate-700",fill:"none",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M13.875 18.825A10.05 10.05 0 0112 19c-4.478 0-8.268-2.943-9.543-7a9.97 9.97 0 011.563-3.029m5.858.908a3 3 0 114.243 4.243M9.878 9.878l4.242 4.242M9.88 9.88l-3.29-3.29m7.532 7.532l3.29 3.29M3 3l3.59 3.59m0 0A9.953 9.953 0 0112 5c4.478 0 8.268 2.943 9.543 7a10.025 10.025 0 01-4.132 5.411m0 0L21 21"})})})]})}])},10685,e=>{var t=e.i(91398),s=e.i(56206),r=e.i(60741),a=e.i(54879);e.s(["f",0,e=>{let{options:l,...i}=(0,r.f)(e),{className:d}=e||{className:""};return(0,t.jsx)(a.f,{...i,children:(0,t.jsx)("div",{className:"select-wrap",children:(0,t.jsxs)("select",{className:(0,s.U)("block w-full bg-surface-input rounded-md border-1 border-border-default py-2.5 pl-3 pr-10 text-base text-text-primary shadow-xs focus:outline-hidden focus:ring-2 focus:ring-focus-ring sm:text-sm",d,{"border-rose-700 text-rose-600 dark:border-rose-500 dark:text-rose-400":!!i.error}),disabled:i.disabled,id:i.name,name:i.name,onChange:i.onChange,onBlur:i.onBlur,value:i.value,children:[(0,t.jsx)("option",{className:"text-text-secondary",value:"",disabled:i.required,hidden:i.required,children:i.placeholder||i.label}),Object.entries(l).map(([e,s])=>(0,t.jsx)("option",{className:"text-text-secondary",value:e,children:s},e))]})})})}])},13120,e=>{var t=e.i(91398),s=e.i(56206),r=e.i(76038),a=e.i(60741),l=e.i(82226),i=e.i(54879);e.s(["f",0,({buttonText:e="",validators:d=[],selectOptions:n=[],...o})=>{let c=(0,a.f)({validators:[...d,(0,l.x)(o?.required)],label:"Tags",...o});return(0,t.jsx)(i.f,{...c,children:(0,t.jsx)(r.f,{disabled:c.disabled,id:c.id,name:c.name,className:(0,s.U)({"border-rose-300":!!c.error}),onChange:e=>c.setValue(e,!0),placeholder:c.placeholder,tagList:c.value,buttonText:e,selectOptions:n})})}])},56599,e=>{var t=e.i(91398),s=e.i(90645),r=e.i(56206),a=e.i(91788),l=e.i(69322),i=e.i(59080),d=e.i(76204),n=e.i(21649);let o=i.a`
|
|
2
|
+
mutation ExportToken(
|
|
3
|
+
$tokenId: ID!
|
|
4
|
+
$quantity: Int! = 1
|
|
5
|
+
$recipientWalletAddress: String!
|
|
6
|
+
) {
|
|
7
|
+
exportToken(
|
|
8
|
+
tokenId: $tokenId
|
|
9
|
+
quantity: $quantity
|
|
10
|
+
recipientWalletAddress: $recipientWalletAddress
|
|
11
|
+
) {
|
|
12
|
+
...TokenFragment
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
${n.f}
|
|
16
|
+
`,c=({isOpen:e,addresses:s,cancel:r,onExport:i})=>{let[d,n]=(0,a.useState)(""),{formatMessage:o}=(0,l.X)();return e&&(0,t.jsxs)("div",{className:"relative z-10","aria-labelledby":"modal-title",role:"dialog","aria-modal":"true",children:[(0,t.jsx)("div",{className:"fixed inset-0 bg-slate-500 bg-opacity/75 transition-opacity"}),(0,t.jsx)("div",{className:"fixed inset-0 z-10 overflow-y-auto",children:(0,t.jsx)("div",{className:"flex min-h-full items-end justify-center p-4 text-center sm:items-center sm:p-0",children:(0,t.jsxs)("div",{className:"relative transform overflow-hidden rounded-lg bg-white px-4 pt-5 pb-4 text-left shadow-xl transition-all sm:my-8 sm:w-full sm:max-w-lg sm:p-6",children:[(0,t.jsx)("div",{children:(0,t.jsx)("fieldset",{className:"space-y-5",children:s?.map(e=>(0,t.jsxs)("div",{className:"relative flex items-start",children:[(0,t.jsx)("div",{className:"flex h-5 items-center",children:(0,t.jsx)("input",{id:e.address,name:"addresses",value:e.address,onChange:()=>{n(e.address)},checked:d?.toLowerCase()===e.address?.toLowerCase(),type:"checkbox",className:"h-4 w-4 rounded-sm border-border-default bg-white dark:!bg-slate-800 text-slate-950 focus:ring-focus-ring"})}),(0,t.jsx)("div",{className:"ml-3 text-sm",children:(0,t.jsx)("label",{htmlFor:"comments",className:"font-medium text-slate-700",children:e.address})})]},e.address))})}),(0,t.jsxs)("div",{className:"mt-4",children:[(0,t.jsx)("label",{htmlFor:"Address",className:"block text-sm font-medium text-slate-700",children:o({id:"or_manually_enter_address",defaultMessage:"Or enter address manually"})}),(0,t.jsx)("div",{className:"mt-1",children:(0,t.jsx)("input",{type:"text",onChange:e=>n(e.target.value),value:d,name:"Address",id:"Address",className:"block w-full rounded-md border-slate-300 shadow-xs focus:border-slate-900 focus:ring-focus-ring sm:text-sm",placeholder:"0xF5F72AE7fa1fa990ebaF163208Ed7aD6a3f42DEA"})})]}),(0,t.jsxs)("div",{className:"mt-5 sm:mt-6 sm:grid sm:grid-flow-row-dense sm:grid-cols-2 sm:gap-3",children:[(0,t.jsx)("button",{type:"button",onClick:()=>i(d),className:"inline-flex w-full justify-center rounded-md border border-transparent bg-slate-950 px-4 py-2 text-base font-medium text-white shadow-xs hover:bg-slate-950 focus:outline-hidden focus:ring-2 focus:ring-focus-ring focus:ring-offset-2 sm:col-start-2 sm:text-sm",children:o({id:"export",defaultMessage:"Export"})}),(0,t.jsx)("button",{type:"button",onClick:r,className:"mt-3 inline-flex w-full justify-center rounded-md border border-slate-300 bg-white px-4 py-2 text-base font-medium text-slate-700 shadow-xs hover:bg-slate-50 focus:outline-hidden focus:ring-2 focus:ring-focus-ring focus:ring-offset-2 sm:col-start-1 sm:mt-0 sm:text-sm",children:o({id:"cancel",defaultMessage:"Cancel"})})]})]})})})]})};e.s(["f",0,({tokenId:e,tokenStatus:i,addresses:n=[]})=>{let{exportToken:u}=(()=>{let[e]=(0,d.f)(o);return{exportToken:async({quantity:t,recipientWalletAddress:s,tokenId:r})=>e({variables:{quantity:t,recipientWalletAddress:s,tokenId:r}})}})(),{formatMessage:m}=(0,l.X)(),[x,f]=(0,a.useState)(!1),h=async t=>{await u({tokenId:e,recipientWalletAddress:t}),f(!1)};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(c,{isOpen:x,cancel:()=>{f(!1)},onExport:h,addresses:n}),"DECENTRALIZED"!==i&&(0,t.jsxs)("button",{type:"button",onClick:()=>f(!0),disabled:"EXPORTING"===i,className:(0,r.U)(" text-center inline-flex truncate rounded-md border border-transparent bg-slate-950 px-5 py-1 text-base font-medium text-white shadow-xs hover:bg-slate-950 focus:outline-hidden focus:ring-2 focus:ring-focus-ring focus:ring-offset-2",{"bg-slate-400 hover:bg-slate-500":"EXPORTING"===i}),children:[(0,t.jsx)(s.f,{className:"w-6 h-6 mr-2"}),m("CENTRALIZED"===i?{id:"export",defaultMessage:"Export"}:{id:"exporting",defaultMessage:"Exporting..."})]})]})}],56599)},97351,e=>{var t=e.i(10576),s=e.i(59080),r=e.i(76204);let a=s.a`
|
|
17
|
+
mutation CreateWebAuthnCredentialCreationOptions($username: String!) {
|
|
18
|
+
createWebAuthnCredentialCreationOptions(username: $username)
|
|
19
|
+
}
|
|
20
|
+
`,l=e=>window.btoa(String.fromCharCode(...new Uint8Array(e))).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"");e.s(["f",0,()=>{let{createWebAuthnCredentialCreationOptions:e}=(()=>{let[e]=(0,r.f)(a);return{createWebAuthnCredentialCreationOptions:async({username:t})=>e({variables:{username:t}})}})();return{generateWebAuthCredentials:async({username:s})=>{let{data:r}=await e({username:s}),a=r.createWebAuthnCredentialCreationOptions,i=new TextEncoder,d={...a,challenge:(0,t.f)(a.challenge),user:{id:i.encode(s),name:s,displayName:s}},n=await navigator.credentials.create({publicKey:d});if(!n)return null;let o=n.response,c=l(o.attestationObject),u=l(o.clientDataJSON),m=l(n.rawId),x=o.getAuthenticatorData?l(o.getAuthenticatorData()):"",f=o.getPublicKey?l(o.getPublicKey()):"";return{id:m,rawId:m,response:{clientDataJSON:u,attestationObject:c,authenticatorData:x,publicKey:f,publicKeyAlgorithm:o.getPublicKeyAlgorithm?o.getPublicKeyAlgorithm():-7,transports:o.getTransports?o.getTransports():["internal"]},authenticatorAttachment:n.authenticatorAttachment||"platform",clientExtensionResults:n.getClientExtensionResults?.()||{},type:"public-key",user:{id:s,name:s,displayName:s}}}}}],97351)},41215,e=>{e.s(["f",0,class extends Error{constructor(e){super(e),this.name="CustomError"}}])},31494,e=>{var t=e.i(91398),s=e.i(69322),r=e.i(84818),a=e.i(87284),l=e.i(6634);let i=({value:e})=>{let{formatDateTime:i}=(0,r.f)(),{formatMessage:d}=(0,s.X)();return(e=>{try{return new URL(e)}catch{return!1}})(e)?(e=>{try{let{pathname:t}=new URL(e),s=t?.split("."),r=`.${s[s.length-1]}`;return[".jpg",".jpeg",".png",".gif",".bmp"].includes(r)}catch{return!1}})(e)?(0,t.jsx)("div",{className:"ring-2 ring-offset-2 ring-slate-900 group block w-full aspect-w-10 aspect-h-7 rounded-lg bg-slate-50 overflow-hidden",children:(0,t.jsx)(a.f,{src:e,className:"relative h-10 w-10 rounded-full",width:100,height:100,alt:d({id:"image_not_available",defaultMessage:"Image not available"})})}):(0,t.jsx)("div",{className:"ml-4 shrink-0",children:(0,t.jsxs)("a",{href:e,className:"font-medium text-slate-900 hover:text-slate-800",target:"_blank",rel:"noreferrer",children:[new URL(e).host,"...",new URL(e).pathname]})}):(e=>{try{return"boolean"==typeof JSON.parse(e)}catch{return!1}})(e)?(0,t.jsx)(l.f,{disabled:!0,active:JSON.parse(e)}):!Number.isNaN(Date.parse(e))&&Number.isNaN(Number(e))?i(e,{dateStyle:"long",timeStyle:"short"}):(!Number.isNaN(e),e)},d=({value:e})=>(0,t.jsx)("h3",{className:"text-base font-medium",children:(0,t.jsx)("span",{className:"text-slate-900",children:e})}),n=e=>{let{data:s,parentKey:r}=e;if(!s)return null;let a=Object.keys(s),l=[];return void 0!==r&&l.push((0,t.jsx)(d,{value:r},r)),a.forEach(e=>{let a=s[e];if(Array.isArray(a))if(l.push((0,t.jsx)(d,{value:e},e)),a.every(e=>"string"==typeof e||"number"==typeof e))l.push((0,t.jsx)("div",{className:" p-2",children:a?.map(e=>(0,t.jsx)("span",{className:"inline-flex items-center rounded-md bg-slate-50 px-2.5 py-0.5 text-sm font-medium text-slate-800 ml-2",children:(0,t.jsx)(i,{value:e})},e))},e));else{let s=[];a.forEach((e,r)=>{s.push((0,t.jsx)("li",{className:"flex items-center text-slate-600 justify-between py-3 pl-3 pr-4 text-sm",children:n({data:e,parentKey:r})},r))}),l.push((0,t.jsx)("ul",{className:"divide-y divide-slate-200 rounded-md ",children:s},e))}else"object"==typeof a?l.push(n({data:a,parentKey:e})):void 0===r?l.push((0,t.jsxs)("div",{className:"py-4 sm:grid sm:grid-cols-3 sm:gap-4 sm:py-5",children:[(0,t.jsx)("dt",{className:"text-sm font-medium text-slate-700",children:(0,t.jsx)(d,{value:e},e)}),(0,t.jsx)("dd",{className:"mt-1 text-sm text-slate-900 sm:col-span-2 sm:mt-0",children:(0,t.jsx)(i,{value:a})})]},e)):l.push((0,t.jsxs)("div",{className:"py-4 sm:grid sm:grid-cols-3 sm:gap-4 sm:py-5 sm:px-6",children:[(0,t.jsx)("dt",{className:"text-sm font-medium text-slate-700",children:(0,t.jsx)(d,{value:e},e)}),(0,t.jsx)("dd",{className:"mt-1 text-sm text-slate-900 sm:col-span-2 sm:mt-0",children:(0,t.jsx)(i,{value:a})})]},e))}),(0,t.jsx)("div",{className:" bg-white px-4 py-5 ",children:(0,t.jsx)("dl",{children:l})})};e.s(["f",0,n])},77043,e=>{var t=e.i(91398),s=e.i(56206),r=e.i(69322),a=e.i(87284),l=e.i(76069);e.s(["f",0,({file:e,className:i=""})=>{let{formatMessage:d}=(0,r.X)();return(0,t.jsx)("div",{className:(0,s.U)("h-10 w-10 shrink-0",i),children:e?(0,t.jsx)(a.f,{className:"relative h-10 w-10 rounded-sm",src:e.url,width:100,height:100,alt:d({id:"image_not_available",defaultMessage:"Image not available"})}):(0,t.jsx)(l.f,{})})}])},60195,e=>{var t=e.i(91398),s=e.i(56206);e.s(["f",0,({documentationLabel:e,documentation:r=null,mainContent:a=null,sideComponents:l=null,className:i=null,children:d})=>(0,t.jsx)(t.Fragment,{children:(0,t.jsxs)("div",{className:(0,s.U)("mt-5 lg:grid lg:grid-cols-3 lg:gap-6",i),children:[(0,t.jsx)("div",{className:"lg:col-span-1 mt-10 lg:mt-1",children:(0,t.jsxs)("div",{className:"px-4 sm:px-0",children:[(0,t.jsx)("h3",{className:"text-lg text-text-primary",children:e}),(0,t.jsx)("div",{className:"mt-1 text-sm text-slate-600 dark:text-slate-500",children:r}),l]})}),(0,t.jsx)("div",{className:"lg:col-span-2 lg:mt-0",children:d||a})]})})])},8918,e=>{var t=e.i(91398),s=e.i(91788),r=e.i(56206),a=e.i(69322),l=e.i(88566),i=e.i(25575),d=e.i(3828),n=e.i(83147);let o=({onSort:e,sortDirection:s})=>s?"ASC"===s?(0,t.jsx)(i.f,{className:"ml-2 w-5 h-5 text-slate-700",onClick:e}):(0,t.jsx)(l.f,{className:"ml-2 w-5 h-5 text-slate-700",onClick:e}):(0,t.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,t.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 t=[],r=[],a=[];return s.default.Children.forEach(e.children,e=>{e?.props?.header?t.push(e):e?.props?.footer?a.push(e):r.push(e)}),{header:t,footer:a,body:r}},m=({className:e="",...l})=>{let[i,d]=(0,s.useState)(u(l)),{formatMessage:n}=(0,a.X)(),o={...i,header:s.default.Children.map(i.header,e=>s.default.cloneElement(e))};return(0,s.useEffect)(()=>{d(u(l))},[l.children]),o.header.length||o.body.length?(0,t.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,t.jsx)("thead",{className:"hidden sm:table-header-group bg-surface-raised text-sm text-text-secondary",children:o.header}),o.body.length?(0,t.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,t.jsx)("tfoot",{children:o.footer}):null]}):(0,t.jsx)(c.f,{message:n({id:"data",defaultMessage:"Data"})})};m.Row=({className:e="",children:a=[],header:l=!1,enablesort:i=!1,...d})=>{let n=s.default.Children.map(a,e=>s.default?.cloneElement(e||(0,t.jsx)("span",{}),{header:l,enablesort:i}));return(0,t.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),...d,children:n})},m.Cell=({className:e="",header:s=!1,enablesort:a=!1,children:l,sortKey:i=null,defaultSortDirection:c=null,...u})=>{let m=(0,d.useRouter)(),x=(0,n.v)(m.query?.sort),f=s?"th":"td";return(0,t.jsx)(f,{className:(0,r.U)(s?"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,t.jsxs)("div",{className:"flex items-center",children:[l,"th"===f&&a&&i&&(0,t.jsx)(o,{onSort:e=>{var t;let s;e.preventDefault(),((t=x[i])?"ASC"===t?"DESC":null:"ASC")||!x[i]?s={...x,[i]:"ASC"===x[i]?"DESC":"ASC"}:(delete x[i],s=x);let r=Object.entries(s).map(([e,t])=>[e,t].join("_")).join(","),{sort:a,...l}=m.query,d=Object.keys(l).map(e=>[e,l[e]].join("=")).join("&"),o=0===Object.keys(l).length?`${m.basePath}?sort=${r}`:`${m.basePath}?${d}&sort=${r}`;r?m.push(o):m.push({query:(0,n._)(l)})},sortDirection:Object.keys(x).length?x[i]:c})]})})},e.s(["f",0,m],8918)},64479,e=>{var t=e.i(59080),s=e.i(76204);let r=t.a`
|
|
21
|
+
mutation ConfirmMediaUpload(
|
|
22
|
+
$mediaUploadTicketId: ID!
|
|
23
|
+
$size: Int!
|
|
24
|
+
$type: String!
|
|
25
|
+
) {
|
|
26
|
+
confirmMediaUpload(
|
|
27
|
+
mediaUploadTicketId: $mediaUploadTicketId
|
|
28
|
+
size: $size
|
|
29
|
+
type: $type
|
|
30
|
+
) {
|
|
31
|
+
_id
|
|
32
|
+
name
|
|
33
|
+
type
|
|
34
|
+
size
|
|
35
|
+
url
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
`;e.s(["f",0,(e={})=>{let[t]=(0,s.f)(r,e);return{confirmMediaUpload:async({mediaUploadTicketId:e,size:s,type:r})=>t({variables:{mediaUploadTicketId:e,size:s,type:r}})}}])},93994,e=>{let t=async(e,t)=>{let s=await fetch(t,{method:"PUT",body:e});return s.ok?Promise.resolve({}):Promise.reject(Error(s.statusText))};e.s(["f",0,t])},10576,e=>{e.s(["f",0,e=>{if(window.atob&&Uint8Array){let t=e.replace(/-/g,"+").replace(/_/g,"/"),s=t+"=".repeat((4-t.length%4)%4),r=window.atob(s),a=r.length,l=new Uint8Array(a);for(let e=0;e<a;e+=1)l[e]=r.charCodeAt(e);return l.buffer}throw Error("The atob and Uint8Array methods are not available")}])},2765,e=>{e.s(["f",0,(e=500)=>t=>{let s;return(...r)=>{let a;clearTimeout(s),s=setTimeout(()=>t.apply(a,r),e)}}])},15356,e=>{e.s(["f",0,e=>e?`${e.substr(0,6)}...${e.substr(-4,4)}`:"0x0"])},83147,e=>{let t=e=>e&&e?.split(",").reduce((e,t)=>{let[s=null,r=null]=(t||"")?.split("_")||[];return{...e,[s]:r}},null)||{};e.s(["S",0,(...e)=>e.filter(Boolean).join(" "),"R",0,e=>Object.entries(t(e))?.map(([e,t])=>({key:e,value:t})),"D",0,e=>e?.label&&e?.version?`${e.label} ${e.version}`:"","v",0,t,"Q",0,(e,t,s=!0)=>{if(!t)return"";try{return`${new Intl.DisplayNames([e],{type:"region"}).of(t)} ${s?`(${t})`:""}`}catch{return t}},"j",0,(e,t,s=!0)=>{if(!t)return"";try{return`${new Intl.DisplayNames([e],{type:"currency"}).of(t)} ${s?`(${t})`:""}`}catch{return t}},"I",0,(e,t,s=!0)=>{if(!t)return"";try{return`${new Intl.DisplayNames([e],{type:"language"}).of(t)} ${s?`(${t})`:""}`}catch{return t}},"_",0,(e,t,s)=>{let r;return r=s?{...e,[s]:t}: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:t,currencyCode:s}=e||{};return new Intl.NumberFormat(navigator.language,{style:"currency",currency:s}).format(t/100)}})])},77930,e=>{var t=e.i(91398),s=e.i(69322),r=e.i(8918),a=e.i(41158),l=e.i(42469),i=e.i(84818),d=e.i(1880),n=e.i(77043),o=e.i(93380);let c={INITIAL:"orange",PAUSED:"yellow",SUSPENDED:"blue",TERMINATED:"amber",ACTIVE:"emerald"},u=({enrollment:e,showUser:u})=>{let{formatMessage:m}=(0,s.X)(),{formatDateTime:x}=(0,i.f)();return(0,t.jsxs)(r.f.Row,{children:[(0,t.jsx)(r.f.Cell,{children:(0,t.jsx)("div",{className:"text-sm",children:(0,t.jsx)(a.default,{href:`/enrollments?enrollmentId=${e._id}`,className:"font-medium text-slate-800 dark:text-slate-700",children:e?.enrollmentNumber||e._id?.substr(0,10)})})}),(0,t.jsx)(r.f.Cell,{children:(0,t.jsx)("div",{className:"flex items-center text-sm ",children:x(e.created,{dateStyle:"medium",timeStyle:"medium"})})}),(0,t.jsx)(r.f.Cell,{children:(0,t.jsx)("div",{className:"flex items-center text-sm ",children:e.isExpired?(0,t.jsx)(l.f,{text:m({id:"expired",defaultMessage:"Expired"}),color:"amber"}):x(e.expires,{dateStyle:"medium",timeStyle:"medium"})})}),u&&e.user&&(0,t.jsx)(r.f.Cell,{children:(0,t.jsxs)(a.default,{href:`/users?userId=${e.user._id}`,className:"flex items-center text-sm text-slate-800 dark:text-slate-700 hover:text-decoration",children:[(0,t.jsx)("span",{className:"inline-block h-9 w-9 rounded-full",children:(0,t.jsx)(n.f,{file:e?.user?.avatar,className:"mr-3"})}),(0,t.jsx)("span",{className:"ml-2",children:(0,o.f)(e.user)})]})}),(0,t.jsx)(r.f.Cell,{children:(0,t.jsxs)(a.default,{href:`/products?slug=${(0,d.U)(e.plan.product)}`,className:"flex items-center text-sm text-slate-800 dark:text-slate-700 hover:text-decoration",children:[(0,t.jsx)(n.f,{file:e?.plan?.product?.media?.[0]?.file,className:"mr-3"}),(0,t.jsx)("span",{className:"ml-2",children:e?.plan?.product?.texts?.title})]})}),(0,t.jsx)(r.f.Cell,{children:(0,t.jsx)(l.f,{text:e?.status,color:c[e.status],square:!0})})]})};e.s(["f",0,({enrollments:e,showUser:a=null,sortable:l=!1})=>{let{formatMessage:i}=(0,s.X)();return(0,t.jsxs)(r.f,{className:"min-w-full",children:[e?.map(e=>(0,t.jsxs)(r.f.Row,{header:!0,enablesort:l,children:[(0,t.jsx)(r.f.Cell,{sortKey:"enrollmentNumber",children:i({id:"enrollment_number",defaultMessage:"Enrollment number"})}),(0,t.jsx)(r.f.Cell,{sortKey:"created",children:i({id:"created",defaultMessage:"Created"})}),(0,t.jsx)(r.f.Cell,{children:i({id:"expires",defaultMessage:"Expires"})}),a&&(0,t.jsx)(r.f.Cell,{children:i({id:"user",defaultMessage:"User"})}),(0,t.jsx)(r.f.Cell,{children:i({id:"product",defaultMessage:"Product"})}),(0,t.jsx)(r.f.Cell,{sortKey:"status",children:i({id:"status",defaultMessage:"Status"})})]},e._id)),e?.map(e=>(0,t.jsx)(u,{showUser:a,enrollment:e},`${e?._id}-body`))]})}],77930)},21056,e=>{var t=e.i(59080),s=e.i(76204);let r=t.a`
|
|
39
|
+
mutation SendEnrollmentEmail($email: String!) {
|
|
40
|
+
sendEnrollmentEmail(email: $email) {
|
|
41
|
+
success
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
`;e.s(["f",0,()=>{let[e]=(0,s.f)(r);return{sendEnrollmentEmail:async({email:t})=>e({variables:{email:t}})}}])},15971,e=>{var t=e.i(91398),s=e.i(69322);e.s(["f",0,({onOkClick:e,onCancelClick:r,okText:a=null,cancelText:l=null,headerText:i=null,message:d=null,icon:n=null,close:o=null,loading:c=!1})=>{let{formatMessage:u}=(0,s.X)();return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"sm:flex sm:items-start",children:[n||(0,t.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,t.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,t.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,t.jsxs)("div",{className:"mt-3 text-center sm:mt-0 sm:ml-4 sm:text-left",children:[(0,t.jsx)("h3",{className:"text-lg text-text-primary",id:"modal-title",children:i||u({id:"warning",defaultMessage:"Warning!"})}),(0,t.jsx)("div",{className:"mt-2",children:(0,t.jsx)("p",{className:"text-sm text-text-muted",children:d||u({id:"are_you_sure",defaultMessage:"Are you sure?"})})})]})]}),(0,t.jsxs)("div",{className:"mt-5 sm:mt-4 sm:flex sm:flex-row-reverse",children:[(0,t.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,t.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 t=e.i(91788),s=e.i(6444);e.s(["f",0,()=>(0,t.useContext)(s.f)])},44959,e=>{var t=e.i(91398),s=e.i(69322),r=e.i(8918),a=e.i(41158),l=e.i(42469),i=e.i(93380),d=e.i(84818),n=e.i(83147),o=e.i(51782);let c=({order:e,showUser:c})=>{let{formatMessage:u}=(0,s.X)(),{formatPrice:m}=(0,n.d)(),{formatDateTime:x}=(0,d.f)();return(0,t.jsxs)(r.f.Row,{className:"group",children:[(0,t.jsx)(r.f.Cell,{children:(0,t.jsx)(a.default,{href:`/orders?orderId=${e._id}`,className:"flex items-center gap-3 text-sm font-medium text-text-secondary group-hover:text-slate-900 dark:group-hover:text-slate-200",children:e?.orderNumber||(0,t.jsxs)(t.Fragment,{children:[e._id," ",(0,t.jsx)(l.f,{color:"yellow",text:u({id:"cart",defaultMessage:"Cart"})})]})})}),(0,t.jsx)(r.f.Cell,{children:(0,t.jsx)(a.default,{href:`/orders?orderId=${e._id}`,className:"flex items-center text-sm dark:text-slate-300",children:x(e.ordered,{dateStyle:"short",timeStyle:"short"})})}),(0,t.jsx)(r.f.Cell,{children:(0,t.jsx)(a.default,{href:`/orders?orderId=${e._id}`,className:"flex items-center text-sm dark:text-slate-300",children:m(e.total)})}),c&&e.user&&(0,t.jsx)(r.f.Cell,{children:(0,t.jsx)(a.default,{href:`/users?userId=${e.user._id}`,className:"flex items-center text-sm text-text-secondary hover:text-decoration",onClick:e=>e.stopPropagation(),children:(0,t.jsx)("span",{className:"font-medium",children:(0,i.f)(e.user)})})}),(0,t.jsx)(r.f.Cell,{children:(0,t.jsx)(a.default,{href:`/orders?orderId=${e._id}`,className:"block",children:(0,t.jsx)(o.f,{status:e.status})})})]})};e.s(["f",0,({orders:e,showUser:a,loading:l,sortable:i})=>{let{formatMessage:d}=(0,s.X)();return(0,t.jsx)(t.Fragment,{children:(0,t.jsxs)(r.f,{className:"min-w-full",children:[(e||[])?.map(e=>(0,t.jsxs)(r.f.Row,{header:!0,enablesort:i,children:[(0,t.jsx)(r.f.Cell,{sortKey:"orderNumber",children:d({id:"order_number",defaultMessage:"Order #"})}),(0,t.jsx)(r.f.Cell,{sortKey:"ordered",defaultSortDirection:"DESC",children:d({id:"order_date",defaultMessage:"Order date"})}),(0,t.jsx)(r.f.Cell,{children:d({id:"total",defaultMessage:"Total"})}),a&&(0,t.jsx)(r.f.Cell,{children:d({id:"user",defaultMessage:"User"})}),(0,t.jsx)(r.f.Cell,{sortKey:"status",children:d({id:"status",defaultMessage:"Status"})})]},e._id)),(e||[])?.map(e=>(0,t.jsx)(c,{order:e,showUser:a},`${e?._id}-body`))]})})}],44959)},51782,e=>{var t=e.i(91398),s=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:i=""})=>{let{formatMessage:d}=(0,s.X)(),n={PENDING:d({id:"pending",defaultMessage:"PENDING"}),CONFIRMED:d({id:"confirmed",defaultMessage:"CONFIRMED"}),OPEN:d({id:"open",defaultMessage:"OPEN"}),FULFILLED:d({id:"fulfilled",defaultMessage:"FULFILLED"}),REJECTED:d({id:"rejected",defaultMessage:"REJECTED"})},o=n?.[e]??d({id:"cart",defaultMessage:"Cart"});return l?.[e],(0,t.jsx)(r.f,{text:o,color:a.v[e],square:!0,className:`uppercase ${i}`})}])},58668,e=>{var t=e.i(91398),s=e.i(91788);class r extends s.default.Component{constructor(e){super(e),this.state={hasError:!1,error:null}}static getDerivedStateFromError(e){return{hasError:!0,error:e}}componentDidCatch(e,t){console.error(`Plugin "${this.props.pluginName}" crashed in component "${this.props.componentName}":`,e,t)}render(){return this.state.hasError?(0,t.jsx)("div",{className:"rounded-lg border border-danger bg-danger-surface p-4 my-2",children:(0,t.jsxs)("div",{className:"flex items-start justify-between",children:[(0,t.jsxs)("div",{children:[(0,t.jsxs)("p",{className:"text-sm font-medium text-danger",children:['Plugin "',this.props.pluginName,'" encountered an error']}),(0,t.jsxs)("p",{className:"text-xs text-text-muted mt-1",children:["Component: ",this.props.componentName]}),this.state.error&&(0,t.jsxs)("details",{className:"mt-2",children:[(0,t.jsx)("summary",{className:"text-xs text-text-muted cursor-pointer hover:text-text-secondary",children:"Error details"}),(0,t.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&&`
|
|
45
|
+
${this.state.error.stack.split("\n").slice(1,4).join("\n")}`]})]})]}),(0,t.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,t.jsx)("svg",{className:"h-3 w-3",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:2,children:(0,t.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 t=e.i(91398),s=e.i(91788),r=e.i(13534),a=e.i(26539),l=e.i(58668),i=e.i(53576);e.s(["f",0,({slot:e,children:d,...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,t.jsx)(t.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,t.jsx)(l.f,{pluginName:r.name,componentName:u,children:(0,t.jsx)(a.h,{value:x,children:(0,t.jsx)(s.Suspense,{fallback:(0,t.jsx)(i.f,{}),children:d?d(m,o,r):(0,t.jsx)(m,{...n})})})},`${r.name}-${u}`)})})}])},66859,39833,84339,87213,e=>{var t=e.i(91398),s=e.i(20287),s=s,r=e.i(26847);e.s(["f",()=>r.f],39833);var r=r,a=e.i(63039);e.s(["f",()=>a.f],84339);var a=a,l=e.i(69322);e.i(51523);var i=e.i(19518),d=e.i(28401),n=e.i(56206),o=e.i(21623),c=e.i(24557),u=e.i(84818),m=e.i(15971),x=e.i(6607),f=e.i(59080),h=e.i(76204);let p=f.a`
|
|
46
|
+
mutation RemoveProductReview($productReviewId: ID!) {
|
|
47
|
+
removeProductReview(productReviewId: $productReviewId) {
|
|
48
|
+
_id
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
`;var g=e.i(42469),b=e.i(87284),v=e.i(93380);let j=f.a`
|
|
52
|
+
mutation AddProductReviewVote(
|
|
53
|
+
$productReviewId: ID!
|
|
54
|
+
$type: ProductReviewVoteType!
|
|
55
|
+
$meta: JSON
|
|
56
|
+
$forceLocale: Locale
|
|
57
|
+
) {
|
|
58
|
+
addProductReviewVote(
|
|
59
|
+
productReviewId: $productReviewId
|
|
60
|
+
type: $type
|
|
61
|
+
meta: $meta
|
|
62
|
+
) {
|
|
63
|
+
_id
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
`,y=f.a`
|
|
67
|
+
mutation RemoveProductReviewVote(
|
|
68
|
+
$productReviewId: ID!
|
|
69
|
+
$type: ProductReviewVoteType!
|
|
70
|
+
$forceLocale: Locale
|
|
71
|
+
) {
|
|
72
|
+
removeProductReviewVote(productReviewId: $productReviewId, type: $type) {
|
|
73
|
+
_id
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
`;var w=e.i(58971),N=e.i(51870),C=e.i(69211),k=e.i(21128),E=e.i(82226),M=e.i(60741),R=e.i(54879);let _=({maxLength:e,validators:s=[],...r})=>{let a=(0,M.f)({validators:[...s,e&&(0,E.f)(e)],...r});return(0,t.jsx)(R.f,{...a,children:(0,t.jsx)("textarea",{className:(0,n.U)("relative mt-1 block w-full dark:focus:autofill dark:hover:autofill dark:autofill dark:placeholder:text-slate-400 dark:bg-slate-900 dark:text-slate-200 appearance-none rounded-md border-1 border-border-default px-4 py-2.5 text-sm text-slate-900 placeholder-slate-400 shadow-xs placeholder:text-slate-400 focus:outline-hidden focus:ring-2 focus:ring-focus-ring",a.className,{"border-rose-700 placeholder:text-rose-300 placeholder-rose-300":!!a.error}),disabled:a.disabled,id:a.name,name:a.name,rows:a.rows||10,onChange:a.onChange,onBlur:a.onBlur,placeholder:a.placeholder,autoComplete:a.autoComplete||"off",value:a.value})})};e.s(["f",0,_],87213);var $=e.i(98949);let S=({onSubmit:e,onSubmitSuccess:s=async()=>!0})=>{let{formatMessage:r}=(0,l.X)(),a=r({id:"product_review_added",defaultMessage:"Review added successfully!"}),i=(0,$.f)({submit:e,successMessage:a,onSubmitSuccess:s,initialValues:{message:""}});return(0,t.jsxs)(C.f,{form:i,children:[(0,t.jsx)(_,{rows:3,required:!0,name:"message",id:"message",label:r({id:"message",defaultMessage:"Message"})}),(0,t.jsx)("div",{className:"-mx-6 -mb-6 mt-6 border-t-slate-100 border-t border-t-border-subtle space-y-6 rounded-b-md bg-surface-subtle p-5 text-right",children:(0,t.jsx)(k.f,{label:r({id:"report-submit",defaultMessage:"Submit"})})})]})};var I=e.i(41215);let A="UPVOTE",L="DOWNVOTE",P="REPORT";e.s(["f",0,({review:e,enableDelete:f=!0,showProduct:C=!1})=>{let{formatMessage:k}=(0,l.X)(),{currentUser:E}=(0,N.f)(),{formatDateTime:M}=(0,u.f)(),{setModal:R}=(0,x.f)(),{addProductReviewVote:_}=(()=>{let[e]=(0,h.f)(j);return{addProductReviewVote:async({productReviewId:t,type:s,meta:r})=>e({variables:{productReviewId:t,type:s,meta:r},refetchQueries:["ProductReviewByProduct","ProductReviewByUser"]})}})(),{removeProductReviewVote:$}=(()=>{let[e]=(0,h.f)(y);return{removeProductReviewVote:async({productReviewId:t,type:s})=>e({variables:{productReviewId:t,type:s},refetchQueries:["ProductReviewByProduct","ProductReviewByUser"]})}})(),{hasRole:U,isAdmin:D}=(0,w.f)(),O=t=>!!e.ownVotes.find(e=>e.type===t),T=async s=>{let r=async({message:t})=>{try{return await _({productReviewId:e._id,type:s,meta:{message:t}}),{success:!0}}catch(e){if(e instanceof I.f)return{success:!1,error:e?.message};return{success:!1,error:e}}};O(s)?await $({productReviewId:e._id,type:s}):s===P?await R((0,t.jsx)(S,{onSubmit:r,onSubmitSuccess:async()=>R(null)})):await _({productReviewId:e._id,type:s})},{removeProductReview:B}=(()=>{let[e]=(0,h.f)(p);return{removeProductReview:async({productReviewId:t})=>e({variables:{productReviewId:t},refetchQueries:["ProductReviewByProduct","ProductReviewByUser"]})}})(),V=!e.deleted&&U(i.C.VoteProductReview)&&f&&e?.author?._id===E?._id||D()&&!e.deleted,F=!e.deleted&&U(i.C.VoteProductReview),q=e?.product,X=async e=>{await R((0,t.jsx)(m.f,{onCancelClick:async()=>R(""),message:k({id:"delete_review_confirmation",defaultMessage:"This action might cause inconsistencies with other data that relates to it. Are you sure you want to delete this review? "}),onOkClick:async()=>{R(""),await B({productReviewId:e}),d.toast.success(k({id:"review_deleted",defaultMessage:"Review deleted successfully"}))},okText:k({id:"delete_review",defaultMessage:"Delete review"})}))};return(0,t.jsxs)("div",{className:(0,n.U)("mb-4 rounded-lg shadow-sm bg-surface p-4",{"border-rose-200 bg-rose-50 dark:bg-rose-950":e.deleted},{"border-border-subtle":!e.deleted}),children:[(0,t.jsxs)("div",{className:"flex items-center",children:[C?(0,t.jsx)(b.f,{src:q?.media[0]?.file?.url,alt:e?.author?.name||e?.author?.username,width:48,height:48,className:"h-12 w-12 rounded-full aspect-square object-cover object-center"}):(0,t.jsx)(b.f,{src:e?.author?.avatar?.url,alt:e?.author?.name||e?.author?.username,width:48,height:48,className:"h-12 w-12 rounded-full aspect-square object-cover object-center"}),(0,t.jsxs)("div",{className:"ml-4 flex-1",children:[(0,t.jsx)("h4",{className:"text-sm font-semibold text-text-primary",children:C?q?.texts?.title||(0,t.jsxs)(t.Fragment,{children:[q._id," ",(0,t.jsx)(g.f,{color:"yellow",text:k({id:"title_not_found",defaultMessage:"Title not found"})})]}):(0,v.f)(e?.author)}),(0,t.jsx)("p",{className:"text-xs text-text-muted",children:(0,t.jsx)("time",{dateTime:e.updated||e.created,children:M(e.updated||e.created,{dateStyle:"short",timeStyle:"short"})})})]}),(0,t.jsxs)("div",{className:"flex items-center gap-3",children:[(0,t.jsxs)("button",{type:"button",disabled:!F,onClick:async()=>T(A),className:`flex items-center gap-1 px-2 py-1 rounded-md transition-colors disabled:opacity-50 ${O(A)?"bg-emerald-100 dark:bg-emerald-900 hover:bg-emerald-200 dark:hover:bg-emerald-800":"hover:bg-surface-raised"}`,children:[(0,t.jsx)(a.f,{className:`h-5 w-5 ${O(A)?"text-emerald-600 dark:text-emerald-400":"text-text-muted"}`}),(0,t.jsx)("span",{className:`text-sm font-medium ${O(A)?"text-emerald-700 dark:text-emerald-300":"text-text-secondary"}`,children:e.upVote})]}),(0,t.jsxs)("button",{type:"button",disabled:!F,onClick:async()=>T(L),className:`flex items-center gap-1 px-2 py-1 rounded-md transition-colors disabled:opacity-50 ${O(L)?"bg-rose-100 dark:bg-rose-900 hover:bg-rose-200 dark:hover:bg-rose-800":"hover:bg-surface-raised"}`,children:[(0,t.jsx)(r.f,{className:`h-5 w-5 ${O(L)?"text-danger":"text-text-muted"}`}),(0,t.jsx)("span",{className:`text-sm font-medium ${O(L)?"text-rose-700 dark:text-rose-300":"text-text-secondary"}`,children:e.downVote})]})]}),(0,t.jsxs)("div",{className:"flex items-center gap-2 ml-4",children:[U(i.C.VoteProductReview)&&(0,t.jsx)("button",{type:"button",disabled:!F,onClick:async()=>T(P),className:`p-2 rounded-md transition-colors disabled:opacity-50 ${O(P)?"bg-orange-100 dark:bg-orange-900 hover:bg-orange-200 dark:hover:bg-orange-800":"hover:bg-surface-raised"}`,title:"Report review",children:(0,t.jsx)(s.f,{className:(0,n.U)("h-4 w-4",{"text-orange-600 dark:text-orange-400":O(P),"text-text-muted":!O(P)})})}),V&&(0,t.jsx)(o.f,{variant:"danger",size:"xs",rounded:"full",icon:(0,t.jsx)(c.f,{className:"h-5 w-5"}),onClick:()=>X(e._id)}),e.deleted&&(0,t.jsx)(g.f,{text:k({id:"deleted_text",defaultMessage:"Deleted"}),color:"red",className:"ml-2"})]})]}),(0,t.jsxs)("div",{className:"mt-4 space-y-3",children:[(0,t.jsx)("h3",{className:"text-base font-semibold text-text-primary",children:e.title}),(0,t.jsx)("p",{className:"text-sm text-text-secondary leading-relaxed",children:e.review})]})]},e._id)}],66859)},54529,e=>{var t=e.i(59080);let s=t.a`
|
|
77
|
+
fragment ProductBriefFragment on Product {
|
|
78
|
+
texts(forceLocale: $forceLocale) {
|
|
79
|
+
_id
|
|
80
|
+
slug
|
|
81
|
+
title
|
|
82
|
+
subtitle
|
|
83
|
+
description
|
|
84
|
+
vendor
|
|
85
|
+
brand
|
|
86
|
+
labels
|
|
87
|
+
locale
|
|
88
|
+
}
|
|
89
|
+
_id
|
|
90
|
+
sequence
|
|
91
|
+
status
|
|
92
|
+
tags
|
|
93
|
+
sequence
|
|
94
|
+
updated
|
|
95
|
+
published
|
|
96
|
+
media {
|
|
97
|
+
_id
|
|
98
|
+
tags
|
|
99
|
+
file {
|
|
100
|
+
_id
|
|
101
|
+
url
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
... on BundleProduct {
|
|
105
|
+
proxies {
|
|
106
|
+
__typename
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
... on SimpleProduct {
|
|
110
|
+
catalogPrice {
|
|
111
|
+
amount
|
|
112
|
+
currencyCode
|
|
113
|
+
}
|
|
114
|
+
proxies {
|
|
115
|
+
__typename
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
... on PlanProduct {
|
|
119
|
+
catalogPrice {
|
|
120
|
+
amount
|
|
121
|
+
currencyCode
|
|
122
|
+
}
|
|
123
|
+
proxies {
|
|
124
|
+
__typename
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
`;e.s(["f",0,s])},21649,e=>{var t=e.i(59080);let s=t.a`
|
|
129
|
+
fragment TokenFragment on Token {
|
|
130
|
+
_id
|
|
131
|
+
walletAddress
|
|
132
|
+
status
|
|
133
|
+
quantity
|
|
134
|
+
contractAddress
|
|
135
|
+
chainId
|
|
136
|
+
tokenSerialNumber
|
|
137
|
+
invalidatedDate
|
|
138
|
+
expiryDate
|
|
139
|
+
ercMetadata
|
|
140
|
+
order {
|
|
141
|
+
_id
|
|
142
|
+
orderNumber
|
|
143
|
+
}
|
|
144
|
+
accessKey
|
|
145
|
+
isInvalidateable
|
|
146
|
+
}
|
|
147
|
+
`;e.s(["f",0,s])},71805,e=>{var t=e.i(91398),s=e.i(69322),r=e.i(8918),a=e.i(41158),l=e.i(42469),i=e.i(77043),d=e.i(93380),n=e.i(1880),o=e.i(84818),c=e.i(60193);let u=({quotation:e,showUser:u})=>{let{formatMessage:m}=(0,s.X)(),{formatDateTime:x}=(0,o.f)();return(0,t.jsxs)(r.f.Row,{children:[(0,t.jsx)(r.f.Cell,{children:(0,t.jsx)("div",{className:"flex items-center text-sm ",children:(0,t.jsx)(a.default,{href:`/quotations?quotationId=${e?._id}`,className:"font-medium text-slate-800 dark:text-slate-700",children:e?.quotationNumber||e?._id})})}),(0,t.jsx)(r.f.Cell,{children:(0,t.jsx)("div",{className:"flex items-center text-sm ",children:x(e.created,{dateStyle:"short",timeStyle:"short"})})}),(0,t.jsx)(r.f.Cell,{children:(0,t.jsx)("div",{className:"flex items-center text-sm ",children:e.isExpired?(0,t.jsx)(l.f,{text:m({id:"expired",defaultMessage:"Expired"}),color:"amber"}):x(e?.expires,{dateStyle:"short",timeStyle:"short"})})}),u&&(0,t.jsx)(r.f.Cell,{children:(0,t.jsxs)(a.default,{href:`/users?userId=${e?.user._id}`,className:"flex items-center text-sm text-slate-800 dark:text-slate-700 hover:text-decoration",children:[(0,t.jsx)(i.f,{file:e?.user?.avatar,className:"mr-2"}),(0,t.jsx)("span",{className:"font-medium ml-2",children:(0,d.f)(e?.user)})]})}),(0,t.jsx)(r.f.Cell,{children:(0,t.jsx)("div",{children:(0,t.jsxs)(a.default,{href:`/products?slug=${(0,n.U)(e.product)}`,className:"flex items-center text-sm text-slate-800 dark:text-slate-700 hover:text-decoration",children:[(0,t.jsx)(i.f,{file:e.product?.media[0]?.file,className:"mr-3"}),(0,t.jsx)("span",{className:"font-medium ml-2",children:e?.product.texts.title})]})})}),(0,t.jsx)(r.f.Cell,{children:(0,t.jsx)(l.f,{text:e?.status,color:c.L[e?.status],square:!0})})]})};e.s(["f",0,({quotations:e,sortable:a=!1,showUser:l=!1})=>{let{formatMessage:i}=(0,s.X)();return(0,t.jsxs)(r.f,{className:"min-w-full",children:[e?.map(e=>(0,t.jsxs)(r.f.Row,{header:!0,enablesort:a,children:[(0,t.jsx)(r.f.Cell,{sortKey:"quotationNumber",children:i({id:"quotation_number",defaultMessage:"Quotation number"})}),(0,t.jsx)(r.f.Cell,{sortKey:"created",children:i({id:"created",defaultMessage:"Created"})}),(0,t.jsx)(r.f.Cell,{sortKey:"expires",children:i({id:"expires",defaultMessage:"Expires"})}),l&&(0,t.jsx)(r.f.Cell,{children:i({id:"user",defaultMessage:"User"})}),(0,t.jsx)(r.f.Cell,{children:i({id:"product",defaultMessage:"Product"})}),(0,t.jsx)(r.f.Cell,{sortKey:"status",children:i({id:"status",defaultMessage:"Status"})})]},e._id)),e?.map(e=>(0,t.jsx)(u,{showUser:l,quotation:e},`${e?._id}-body`))]})}],71805)},88566,25575,e=>{var t=e.i(91788);let s=t.forwardRef(function({title:e,titleId:s,...r},a){return t.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":s},r),e?t.createElement("title",{id:s},e):null,t.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,s],88566);let r=t.forwardRef(function({title:e,titleId:s,...r},a){return t.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":s},r),e?t.createElement("title",{id:s},e):null,t.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)},27572,e=>{var t=e.i(91788);let s=t.forwardRef(function({title:e,titleId:s,...r},a){return t.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":s},r),e?t.createElement("title",{id:s},e):null,t.createElement("path",{fillRule:"evenodd",d:"M15.988 3.012A2.25 2.25 0 0 1 18 5.25v6.5A2.25 2.25 0 0 1 15.75 14H13.5V7A2.5 2.5 0 0 0 11 4.5H8.128a2.252 2.252 0 0 1 1.884-1.488A2.25 2.25 0 0 1 12.25 1h1.5a2.25 2.25 0 0 1 2.238 2.012ZM11.5 3.25a.75.75 0 0 1 .75-.75h1.5a.75.75 0 0 1 .75.75v.25h-3v-.25Z",clipRule:"evenodd"}),t.createElement("path",{fillRule:"evenodd",d:"M2 7a1 1 0 0 1 1-1h8a1 1 0 0 1 1 1v10a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V7Zm2 3.25a.75.75 0 0 1 .75-.75h4.5a.75.75 0 0 1 0 1.5h-4.5a.75.75 0 0 1-.75-.75Zm0 3.5a.75.75 0 0 1 .75-.75h4.5a.75.75 0 0 1 0 1.5h-4.5a.75.75 0 0 1-.75-.75Z",clipRule:"evenodd"}))});e.s(["f",0,s],27572)},64710,e=>{var t=e.i(91788);let s=t.forwardRef(function({title:e,titleId:s,...r},a){return t.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":s},r),e?t.createElement("title",{id:s},e):null,t.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,s],64710)},76929,e=>{var t=e.i(91788);let s=t.forwardRef(function({title:e,titleId:s,...r},a){return t.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":s},r),e?t.createElement("title",{id:s},e):null,t.createElement("path",{d:"M12 4.467c0-.405.262-.75.559-1.027.276-.257.441-.584.441-.94 0-.828-.895-1.5-2-1.5s-2 .672-2 1.5c0 .362.171.694.456.953.29.265.544.6.544.994a.968.968 0 0 1-1.024.974 39.655 39.655 0 0 1-3.014-.306.75.75 0 0 0-.847.847c.14.993.242 1.999.306 3.014A.968.968 0 0 1 4.447 10c-.393 0-.729-.253-.994-.544C3.194 9.17 2.862 9 2.5 9 1.672 9 1 9.895 1 11s.672 2 1.5 2c.356 0 .683-.165.94-.441.276-.297.622-.559 1.027-.559a.997.997 0 0 1 1.004 1.03 39.747 39.747 0 0 1-.319 3.734.75.75 0 0 0 .64.842c1.05.146 2.111.252 3.184.318A.97.97 0 0 0 10 16.948c0-.394-.254-.73-.545-.995C9.171 15.693 9 15.362 9 15c0-.828.895-1.5 2-1.5s2 .672 2 1.5c0 .356-.165.683-.441.94-.297.276-.559.622-.559 1.027a.998.998 0 0 0 1.03 1.005c1.337-.05 2.659-.162 3.961-.337a.75.75 0 0 0 .644-.644c.175-1.302.288-2.624.337-3.961A.998.998 0 0 0 16.967 12c-.405 0-.75.262-1.027.559-.257.276-.584.441-.94.441-.828 0-1.5-.895-1.5-2s.672-2 1.5-2c.362 0 .694.17.953.455.265.291.601.545.995.545a.97.97 0 0 0 .976-1.024 41.159 41.159 0 0 0-.318-3.184.75.75 0 0 0-.842-.64c-1.228.164-2.473.271-3.734.319A.997.997 0 0 1 12 4.467Z"}))});e.s(["f",0,s],76929)},94330,e=>{var t=e.i(91788);let s=t.forwardRef(function({title:e,titleId:s,...r},a){return t.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":s},r),e?t.createElement("title",{id:s},e):null,t.createElement("path",{fillRule:"evenodd",d:"M6 5v1H4.667a1.75 1.75 0 0 0-1.743 1.598l-.826 9.5A1.75 1.75 0 0 0 3.84 19H16.16a1.75 1.75 0 0 0 1.743-1.902l-.826-9.5A1.75 1.75 0 0 0 15.333 6H14V5a4 4 0 0 0-8 0Zm4-2.5A2.5 2.5 0 0 0 7.5 5v1h5V5A2.5 2.5 0 0 0 10 2.5ZM7.5 10a2.5 2.5 0 0 0 5 0V8.75a.75.75 0 0 1 1.5 0V10a4 4 0 0 1-8 0V8.75a.75.75 0 0 1 1.5 0V10Z",clipRule:"evenodd"}))});e.s(["f",0,s],94330)},61113,e=>{var t=e.i(91788);let s=t.forwardRef(function({title:e,titleId:s,...r},a){return t.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":s},r),e?t.createElement("title",{id:s},e):null,t.createElement("path",{fillRule:"evenodd",d:"M10.868 2.884c-.321-.772-1.415-.772-1.736 0l-1.83 4.401-4.753.381c-.833.067-1.171 1.107-.536 1.651l3.62 3.102-1.106 4.637c-.194.813.691 1.456 1.405 1.02L10 15.591l4.069 2.485c.713.436 1.598-.207 1.404-1.02l-1.106-4.637 3.62-3.102c.635-.544.297-1.584-.536-1.65l-4.752-.382-1.831-4.401Z",clipRule:"evenodd"}))});e.s(["f",0,s],61113)},91412,e=>{var t=e.i(86173);e.s(["f",()=>t.f])},81618,e=>{var t=e.i(43119);e.s(["f",()=>t.f])},88737,e=>{var t=e.i(90418);e.s(["f",()=>t.f])},67912,e=>{var t=e.i(37224);e.s(["f",()=>t.f])}])})();
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
(()=>{"use strict";(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,21805,e=>{var t=e.i(91788),i=e.i(93532);let n=Symbol.for("__APOLLO_CONTEXT__");e.s(["f",0,function(){(0,i.k)("createContext"in t,39);let e=t.createContext[n];return e||(Object.defineProperty(t.createContext,n,{value:e=t.createContext({}),enumerable:!1,writable:!1,configurable:!0}),e.displayName="ApolloContext"),e}])},98926,e=>{var t=e.i(91788),i=e.i(93532),n=e.i(21805);e.s(["f",0,function(e){let r=t.useContext((0,n.f)()),s=e||r.client;return(0,i.k)(!!s,30),s}])},29520,e=>{e.s(["f",0,!1])},22420,e=>{e.s(["f",0,function(e){try{return e()}catch{}}])},93532,42950,99849,27422,7057,e=>{var t=e.i(29520),i=e.i(22420);let n=(0,i.f)(()=>globalThis)||(0,i.f)(()=>window)||(0,i.f)(()=>self)||(0,i.f)(()=>e.g)||(0,i.f)(function(){return i.f.constructor("return this")()});e.s(["f",0,n],42950);let r="4.3.2";e.s(["D",0,"esm","U",0,r],99849);let s=new Map;function o(e){let t=s.get(e)||1;return s.set(e,t+1),`${e}:${t}:${Math.random().toString(36).slice(2)}`}function a(e,t=0){let i=o("stringifyForDisplay");return JSON.stringify(e,(e,t)=>void 0===t?i:t,t).split(JSON.stringify(i)).join("<undefined>")}e.s(["f",0,o],27422),e.s(["f",0,a],7057);let c="Invariant Violation";class l extends Error{constructor(e=c){super(e),this.name=c,Object.setPrototypeOf(this,l.prototype)}}let u=["debug","log","warn","error","silent"],p=u.indexOf(t.f?"log":"silent");function h(e,...t){if(!e)throw d(...t)}function f(e){return function(t,...i){if(u.indexOf(e)>=p){let n=console[e]||console.log;if("number"==typeof t){let e=t;(t=N(e))||(t=m(e,i),i=[])}n(t,...i)}}}function d(e,...t){return new l(N(e,t)||m(e,t))}h.debug=f("debug"),h.log=f("log"),h.warn=f("warn"),h.error=f("error");let E=Symbol.for("ApolloErrorMessageHandler_"+r);function T(e){if("string"==typeof e)return e;try{return a(e,2).slice(0,1e3)}catch{return"<non-serializable>"}}function N(e,t=[]){if(e)return n[E]&&n[E](e,t.map(T))}function m(e,t=[]){if(e)return"string"==typeof e?t.reduce((e,t)=>e.replace(/%[sdfo]/,T(t)),e):`An error occurred! For more details, see the full error text at https://go.apollo.dev/c/err#${encodeURIComponent(JSON.stringify({version:r,message:e,args:t.map(T)}))}`}e.s(["k",0,h,"b",0,d,"f",0,function(e){let t=u[p];return p=Math.max(0,u.indexOf(e)),t}],93532)},59080,e=>{var t,i=e.i(89280),n=e.i(48418),r=e.i(57636),s=e.i(42341),o=e.i(59570),a=e.i(64305),c=e.i(73929),l=e.i(57817),u=e.i(76256),p=e.i(13740),h=e.i(86538),f=e.i(5359),d=e.i(51599),E=e.i(20507),T=e.i(12909),N=e.i(42629),m=e.i(68333),I=e.i(54507),y=e.i(48301),O=e.i(10062),_=e.i(2697),A=e.i(11260),v=e.i(20420),x=e.i(12858),D=e.i(30314),C=e.i(70671),k=e.i(45738),g=e.i(7535),S=e.i(1284),b=e.i(561),R=e.i(10489),L=e.i(18667),F=e.i(19038),w=e.i(17030),P=e.i(9479),M=e.i(36378),U=e.i(76692),V=e.i(32676),B=e.i(57883),j=e.i(13886),K=e.i(9152),G=e.i(35565),Y=e.i(30412),$=e.i(70998),J=e.i(40147),q=e.i(31778),X=e.i(57340),Q=e.i(30118),z=e.i(417),H=e.i(33056),W=e.i(41500),Z=e.i(28897),ee=e.i(46582),et=e.i(45755),ei=e.i(66255),en=e.i(29730),er=e.i(17405);let es=Symbol("Source");class eo{constructor(e,t="GraphQL request",i={line:1,column:1}){this.__kind=es,this.body=e,this.name=t,this.locationOffset=i,this.locationOffset.line>0||(0,er.f)(!1,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||(0,er.f)(!1,"column in locationOffset is 1-indexed and must be positive.")}get[Symbol.toStringTag](){return"Source"}}var ea=e.i(477);function ec(e,t){let i=new el(e,t),n=i.parseDocument();return Object.defineProperty(n,"tokenCount",{enumerable:!1,value:i.tokenCount}),n}class el{constructor(e,t={}){let{lexer:i,...n}=t;if(i)this._lexer=i;else{let t=e?.__kind===es?e:new eo(e);this._lexer=new en.Y(t)}this._options=n,this._tokenCounter=0}get tokenCount(){return this._tokenCounter}parseName(){let e=this.expectToken(ea.f.NAME);return this.node(e,{kind:a.f.NAME,value:e.value})}parseDocument(){return this.node(this._lexer.token,{kind:c.f.DOCUMENT,definitions:this.many(ea.f.SOF,this.parseDefinition,ea.f.EOF)})}parseDefinition(){if(this.peek(ea.f.BRACE_L))return this.parseOperationDefinition();let e=this.peekDescription(),t=e?this._lexer.lookahead():this._lexer.token;if(e&&t.kind===ea.f.BRACE_L)throw(0,n.f)(this._lexer.source,this._lexer.token.start,"Unexpected description, descriptions are not supported on shorthand queries.");if(t.kind===ea.f.NAME){switch(t.value){case"schema":return this.parseSchemaDefinition();case"scalar":return this.parseScalarTypeDefinition();case"type":return this.parseObjectTypeDefinition();case"interface":return this.parseInterfaceTypeDefinition();case"union":return this.parseUnionTypeDefinition();case"enum":return this.parseEnumTypeDefinition();case"input":return this.parseInputObjectTypeDefinition();case"directive":return this.parseDirectiveDefinition()}switch(t.value){case"query":case"mutation":case"subscription":return this.parseOperationDefinition();case"fragment":return this.parseFragmentDefinition()}if(e)throw(0,n.f)(this._lexer.source,this._lexer.token.start,"Unexpected description, only GraphQL definitions support descriptions.");if("extend"===t.value)return this.parseTypeSystemExtension()}throw this.unexpected(t)}parseOperationDefinition(){let e,t=this._lexer.token;if(this.peek(ea.f.BRACE_L))return this.node(t,{kind:l.f.OPERATION_DEFINITION,operation:s.E.QUERY,description:void 0,name:void 0,variableDefinitions:void 0,directives:void 0,selectionSet:this.parseSelectionSet()});let i=this.parseDescription(),n=this.parseOperationType();return this.peek(ea.f.NAME)&&(e=this.parseName()),this.node(t,{kind:l.f.OPERATION_DEFINITION,operation:n,description:i,name:e,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseOperationType(){let e=this.expectToken(ea.f.NAME);switch(e.value){case"query":return s.E.QUERY;case"mutation":return s.E.MUTATION;case"subscription":return s.E.SUBSCRIPTION}throw this.unexpected(e)}parseVariableDefinitions(){return this.optionalMany(ea.f.PAREN_L,this.parseVariableDefinition,ea.f.PAREN_R)}parseVariableDefinition(){return this.node(this._lexer.token,{kind:u.f.VARIABLE_DEFINITION,description:this.parseDescription(),variable:this.parseVariable(),type:(this.expectToken(ea.f.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(ea.f.EQUALS)?this.parseConstValueLiteral():void 0,directives:this.parseConstDirectives()})}parseVariable(){let e=this._lexer.token;return this.expectToken(ea.f.DOLLAR),this.node(e,{kind:p.f.VARIABLE,name:this.parseName()})}parseSelectionSet(){return this.node(this._lexer.token,{kind:h.f.SELECTION_SET,selections:this.many(ea.f.BRACE_L,this.parseSelection,ea.f.BRACE_R)})}parseSelection(){return this.peek(ea.f.SPREAD)?this.parseFragment():this.parseField()}parseField(){let e,t,i=this._lexer.token,n=this.parseName();return this.expectOptionalToken(ea.f.COLON)?(e=n,t=this.parseName()):t=n,this.node(i,{kind:f.f.FIELD,alias:e,name:t,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(ea.f.BRACE_L)?this.parseSelectionSet():void 0})}parseArguments(e){let t=e?this.parseConstArgument:this.parseArgument;return this.optionalMany(ea.f.PAREN_L,t,ea.f.PAREN_R)}parseFragmentArguments(){let e=this.parseFragmentArgument;return this.optionalMany(ea.f.PAREN_L,e,ea.f.PAREN_R)}parseArgument(e=!1){let t=this._lexer.token,i=this.parseName();return this.expectToken(ea.f.COLON),this.node(t,{kind:d.f.ARGUMENT,name:i,value:this.parseValueLiteral(e)})}parseConstArgument(){return this.parseArgument(!0)}parseFragmentArgument(){let e=this._lexer.token,t=this.parseName();return this.expectToken(ea.f.COLON),this.node(e,{kind:E.f.FRAGMENT_ARGUMENT,name:t,value:this.parseValueLiteral(!1)})}parseFragment(){let e=this._lexer.token;this.expectToken(ea.f.SPREAD);let t=this.expectOptionalKeyword("on");if(!t&&this.peek(ea.f.NAME)){let t=this.parseFragmentName();return this.peek(ea.f.PAREN_L)&&this._options.experimentalFragmentArguments?this.node(e,{kind:N.f.FRAGMENT_SPREAD,name:t,arguments:this.parseFragmentArguments(),directives:this.parseDirectives(!1)}):this.node(e,{kind:N.f.FRAGMENT_SPREAD,name:t,directives:this.parseDirectives(!1)})}return this.node(e,{kind:T.f.INLINE_FRAGMENT,typeCondition:t?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentDefinition(){let e=this._lexer.token,t=this.parseDescription();return(this.expectKeyword("fragment"),!0===this._options.experimentalFragmentArguments)?this.node(e,{kind:m.f.FRAGMENT_DEFINITION,description:t,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()}):this.node(e,{kind:m.f.FRAGMENT_DEFINITION,description:t,name:this.parseFragmentName(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentName(){if("on"===this._lexer.token.value)throw this.unexpected();return this.parseName()}parseValueLiteral(e){let t=this._lexer.token;switch(t.kind){case ea.f.BRACKET_L:return this.parseList(e);case ea.f.BRACE_L:return this.parseObject(e);case ea.f.INT:return this.advanceLexer(),this.node(t,{kind:I.f.INT,value:t.value});case ea.f.FLOAT:return this.advanceLexer(),this.node(t,{kind:y.f.FLOAT,value:t.value});case ea.f.STRING:case ea.f.BLOCK_STRING:return this.parseStringLiteral();case ea.f.NAME:switch(this.advanceLexer(),t.value){case"true":return this.node(t,{kind:O.f.BOOLEAN,value:!0});case"false":return this.node(t,{kind:O.f.BOOLEAN,value:!1});case"null":return this.node(t,{kind:_.f.NULL});default:return this.node(t,{kind:A.f.ENUM,value:t.value})}case ea.f.DOLLAR:if(e){if(this.expectToken(ea.f.DOLLAR),this._lexer.token.kind===ea.f.NAME){let e=this._lexer.token.value;throw(0,n.f)(this._lexer.source,t.start,`Unexpected variable "$${e}" in constant value.`)}throw this.unexpected(t)}return this.parseVariable();default:throw this.unexpected()}}parseConstValueLiteral(){return this.parseValueLiteral(!0)}parseStringLiteral(){let e=this._lexer.token;return this.advanceLexer(),this.node(e,{kind:v.f.STRING,value:e.value,block:e.kind===ea.f.BLOCK_STRING})}parseList(e){let t=()=>this.parseValueLiteral(e);return this.node(this._lexer.token,{kind:x.f.LIST,values:this.any(ea.f.BRACKET_L,t,ea.f.BRACKET_R)})}parseObject(e){let t=()=>this.parseObjectField(e);return this.node(this._lexer.token,{kind:D.f.OBJECT,fields:this.any(ea.f.BRACE_L,t,ea.f.BRACE_R)})}parseObjectField(e){let t=this._lexer.token,i=this.parseName();return this.expectToken(ea.f.COLON),this.node(t,{kind:C.f.OBJECT_FIELD,name:i,value:this.parseValueLiteral(e)})}parseDirectives(e){let t=[];for(;this.peek(ea.f.AT);)t.push(this.parseDirective(e));if(t.length)return t}parseConstDirectives(){return this.parseDirectives(!0)}parseDirective(e){let t=this._lexer.token;return this.expectToken(ea.f.AT),this.node(t,{kind:k.f.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(e)})}parseTypeReference(){let e,t=this._lexer.token;if(this.expectOptionalToken(ea.f.BRACKET_L)){let i=this.parseTypeReference();this.expectToken(ea.f.BRACKET_R),e=this.node(t,{kind:g.f.LIST_TYPE,type:i})}else e=this.parseNamedType();return this.expectOptionalToken(ea.f.BANG)?this.node(t,{kind:S.f.NON_NULL_TYPE,type:e}):e}parseNamedType(){return this.node(this._lexer.token,{kind:b.f.NAMED_TYPE,name:this.parseName()})}peekDescription(){return this.peek(ea.f.STRING)||this.peek(ea.f.BLOCK_STRING)}parseDescription(){if(this.peekDescription())return this.parseStringLiteral()}parseSchemaDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("schema");let i=this.parseConstDirectives(),n=this.many(ea.f.BRACE_L,this.parseOperationTypeDefinition,ea.f.BRACE_R);return this.node(e,{kind:R.f.SCHEMA_DEFINITION,description:t,directives:i,operationTypes:n})}parseOperationTypeDefinition(){let e=this._lexer.token,t=this.parseOperationType();this.expectToken(ea.f.COLON);let i=this.parseNamedType();return this.node(e,{kind:L.f.OPERATION_TYPE_DEFINITION,operation:t,type:i})}parseScalarTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("scalar");let i=this.parseName(),n=this.parseConstDirectives();return this.node(e,{kind:F.f.SCALAR_TYPE_DEFINITION,description:t,name:i,directives:n})}parseObjectTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("type");let i=this.parseName(),n=this.parseImplementsInterfaces(),r=this.parseConstDirectives(),s=this.parseFieldsDefinition();return this.node(e,{kind:w.f.OBJECT_TYPE_DEFINITION,description:t,name:i,interfaces:n,directives:r,fields:s})}parseImplementsInterfaces(){return this.expectOptionalKeyword("implements")?this.delimitedMany(ea.f.AMP,this.parseNamedType):void 0}parseFieldsDefinition(){return this.optionalMany(ea.f.BRACE_L,this.parseFieldDefinition,ea.f.BRACE_R)}parseFieldDefinition(){let e=this._lexer.token,t=this.parseDescription(),i=this.parseName(),n=this.parseArgumentDefs();this.expectToken(ea.f.COLON);let r=this.parseTypeReference(),s=this.parseConstDirectives();return this.node(e,{kind:P.f.FIELD_DEFINITION,description:t,name:i,arguments:n,type:r,directives:s})}parseArgumentDefs(){return this.optionalMany(ea.f.PAREN_L,this.parseInputValueDef,ea.f.PAREN_R)}parseInputValueDef(){let e,t=this._lexer.token,i=this.parseDescription(),n=this.parseName();this.expectToken(ea.f.COLON);let r=this.parseTypeReference();this.expectOptionalToken(ea.f.EQUALS)&&(e=this.parseConstValueLiteral());let s=this.parseConstDirectives();return this.node(t,{kind:M.f.INPUT_VALUE_DEFINITION,description:i,name:n,type:r,defaultValue:e,directives:s})}parseInterfaceTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("interface");let i=this.parseName(),n=this.parseImplementsInterfaces(),r=this.parseConstDirectives(),s=this.parseFieldsDefinition();return this.node(e,{kind:U.f.INTERFACE_TYPE_DEFINITION,description:t,name:i,interfaces:n,directives:r,fields:s})}parseUnionTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("union");let i=this.parseName(),n=this.parseConstDirectives(),r=this.parseUnionMemberTypes();return this.node(e,{kind:V.f.UNION_TYPE_DEFINITION,description:t,name:i,directives:n,types:r})}parseUnionMemberTypes(){return this.expectOptionalToken(ea.f.EQUALS)?this.delimitedMany(ea.f.PIPE,this.parseNamedType):void 0}parseEnumTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("enum");let i=this.parseName(),n=this.parseConstDirectives(),r=this.parseEnumValuesDefinition();return this.node(e,{kind:B.f.ENUM_TYPE_DEFINITION,description:t,name:i,directives:n,values:r})}parseEnumValuesDefinition(){return this.optionalMany(ea.f.BRACE_L,this.parseEnumValueDefinition,ea.f.BRACE_R)}parseEnumValueDefinition(){let e=this._lexer.token,t=this.parseDescription(),i=this.parseEnumValueName(),n=this.parseConstDirectives();return this.node(e,{kind:j.f.ENUM_VALUE_DEFINITION,description:t,name:i,directives:n})}parseEnumValueName(){if("true"===this._lexer.token.value||"false"===this._lexer.token.value||"null"===this._lexer.token.value)throw(0,n.f)(this._lexer.source,this._lexer.token.start,`${eu(this._lexer.token)} is reserved and cannot be used for an enum value.`);return this.parseName()}parseInputObjectTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("input");let i=this.parseName(),n=this.parseConstDirectives(),r=this.parseInputFieldsDefinition();return this.node(e,{kind:K.f.INPUT_OBJECT_TYPE_DEFINITION,description:t,name:i,directives:n,fields:r})}parseInputFieldsDefinition(){return this.optionalMany(ea.f.BRACE_L,this.parseInputValueDef,ea.f.BRACE_R)}parseTypeSystemExtension(){let e=this._lexer.lookahead();if(e.kind===ea.f.NAME)switch(e.value){case"schema":return this.parseSchemaExtension();case"scalar":return this.parseScalarTypeExtension();case"type":return this.parseObjectTypeExtension();case"interface":return this.parseInterfaceTypeExtension();case"union":return this.parseUnionTypeExtension();case"enum":return this.parseEnumTypeExtension();case"input":return this.parseInputObjectTypeExtension();case"directive":return this.parseDirectiveExtension()}throw this.unexpected(e)}parseSchemaExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("schema");let t=this.parseConstDirectives(),i=this.optionalMany(ea.f.BRACE_L,this.parseOperationTypeDefinition,ea.f.BRACE_R);if(void 0===t&&void 0===i)throw this.unexpected();return this.node(e,{kind:G.f.SCHEMA_EXTENSION,directives:t,operationTypes:i})}parseScalarTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");let t=this.parseName(),i=this.parseConstDirectives();if(void 0===i)throw this.unexpected();return this.node(e,{kind:Y.f.SCALAR_TYPE_EXTENSION,name:t,directives:i})}parseObjectTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");let t=this.parseName(),i=this.parseImplementsInterfaces(),n=this.parseConstDirectives(),r=this.parseFieldsDefinition();if(void 0===i&&void 0===n&&void 0===r)throw this.unexpected();return this.node(e,{kind:$.f.OBJECT_TYPE_EXTENSION,name:t,interfaces:i,directives:n,fields:r})}parseInterfaceTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");let t=this.parseName(),i=this.parseImplementsInterfaces(),n=this.parseConstDirectives(),r=this.parseFieldsDefinition();if(void 0===i&&void 0===n&&void 0===r)throw this.unexpected();return this.node(e,{kind:J.f.INTERFACE_TYPE_EXTENSION,name:t,interfaces:i,directives:n,fields:r})}parseUnionTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");let t=this.parseName(),i=this.parseConstDirectives(),n=this.parseUnionMemberTypes();if(void 0===i&&void 0===n)throw this.unexpected();return this.node(e,{kind:q.f.UNION_TYPE_EXTENSION,name:t,directives:i,types:n})}parseEnumTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");let t=this.parseName(),i=this.parseConstDirectives(),n=this.parseEnumValuesDefinition();if(void 0===i&&void 0===n)throw this.unexpected();return this.node(e,{kind:X.f.ENUM_TYPE_EXTENSION,name:t,directives:i,values:n})}parseInputObjectTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");let t=this.parseName(),i=this.parseConstDirectives(),n=this.parseInputFieldsDefinition();if(void 0===i&&void 0===n)throw this.unexpected();return this.node(e,{kind:Q.f.INPUT_OBJECT_TYPE_EXTENSION,name:t,directives:i,fields:n})}parseDirectiveExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("directive"),this.expectToken(ea.f.AT);let t=this.parseName(),i=this.parseConstDirectives();if(void 0===i)throw this.unexpected();return this.node(e,{kind:z.f.DIRECTIVE_EXTENSION,name:t,directives:i})}parseDirectiveDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("directive"),this.expectToken(ea.f.AT);let i=this.parseName(),n=this.parseArgumentDefs(),r=this.parseConstDirectives(),s=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");let o=this.parseDirectiveLocations();return this.node(e,{kind:H.f.DIRECTIVE_DEFINITION,description:t,name:i,arguments:n,directives:r,repeatable:s,locations:o})}parseDirectiveLocations(){return this.delimitedMany(ea.f.PIPE,this.parseDirectiveLocation)}parseDirectiveLocation(){let e=this._lexer.token,t=this.parseName();if(Object.hasOwn(o.f,t.value))return t;throw this.unexpected(e)}parseSchemaCoordinate(){let e,t,i=this._lexer.token,n=this.expectOptionalToken(ea.f.AT),r=this.parseName();return(!n&&this.expectOptionalToken(ea.f.DOT)&&(e=this.parseName()),(n||e)&&this.expectOptionalToken(ea.f.PAREN_L)&&(t=this.parseName(),this.expectToken(ea.f.COLON),this.expectToken(ea.f.PAREN_R)),n)?t?this.node(i,{kind:ei.f.DIRECTIVE_ARGUMENT_COORDINATE,name:r,argumentName:t}):this.node(i,{kind:et.f.DIRECTIVE_COORDINATE,name:r}):e?t?this.node(i,{kind:ee.f.ARGUMENT_COORDINATE,name:r,fieldName:e,argumentName:t}):this.node(i,{kind:Z.f.MEMBER_COORDINATE,name:r,memberName:e}):this.node(i,{kind:W.f.TYPE_COORDINATE,name:r})}node(e,t){return!0!==this._options.noLocation&&(t.loc=new s.a(e,this._lexer.lastToken,this._lexer.source)),t}peek(e){return this._lexer.token.kind===e}expectToken(e){let t=this._lexer.token;if(t.kind===e)return this.advanceLexer(),t;throw(0,n.f)(this._lexer.source,t.start,`Expected ${ep(e)}, found ${eu(t)}.`)}expectOptionalToken(e){return this._lexer.token.kind===e&&(this.advanceLexer(),!0)}expectKeyword(e){let t=this._lexer.token;if(t.kind===ea.f.NAME&&t.value===e)this.advanceLexer();else throw(0,n.f)(this._lexer.source,t.start,`Expected "${e}", found ${eu(t)}.`)}expectOptionalKeyword(e){let t=this._lexer.token;return t.kind===ea.f.NAME&&t.value===e&&(this.advanceLexer(),!0)}unexpected(e){let t=e??this._lexer.token;return(0,n.f)(this._lexer.source,t.start,`Unexpected ${eu(t)}.`)}any(e,t,i){this.expectToken(e);let n=[];for(;!this.expectOptionalToken(i);)n.push(t.call(this));return n}optionalMany(e,t,i){if(this.expectOptionalToken(e)){let e=[];do e.push(t.call(this));while(!this.expectOptionalToken(i))return e}}many(e,t,i){this.expectToken(e);let n=[];do n.push(t.call(this));while(!this.expectOptionalToken(i))return n}delimitedMany(e,t){this.expectOptionalToken(e);let i=[];do i.push(t.call(this));while(this.expectOptionalToken(e))return i}advanceLexer(){let{maxTokens:e}=this._options,t=this._lexer.advance();if(t.kind!==ea.f.EOF&&(++this._tokenCounter,void 0!==e&&this._tokenCounter>e))throw(0,n.f)(this._lexer.source,t.start,`Document contains more than ${e} tokens. Parsing aborted.`)}}function eu(e){let t=e.value;return ep(e.kind)+(null!=t?` "${t}"`:"")}function ep(e){return(0,en.l)(e)?`"${e}"`:e}var eh=new Map,ef=new Map,ed=!0,eE=!1;function eT(e){return e.replace(/[\s,]+/g," ").trim()}function eN(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];"string"==typeof e&&(e=[e]);var s=e[0];return t.forEach(function(t,i){t&&"Document"===t.kind?s+=t.loc.source.body:s+=t,s+=e[i+1]}),function(e){var t=eT(e);if(!eh.has(t)){var n,s,o,a,c,l,u=(n={experimentalFragmentVariables:eE,allowLegacyFragmentVariables:eE,experimentalFragmentArguments:eE},(0,r.E)(r.p)?r.p.traceSync(()=>ec(e,n),{source:e}):ec(e,n));if(!u||"Document"!==u.kind)throw Error("Not a valid GraphQL document.");eh.set(t,((c=new Set((s=new Set,o=[],u.definitions.forEach(function(e){if("FragmentDefinition"===e.kind){var t,i=e.name.value,n=eT((t=e.loc).source.body.substring(t.start,t.end)),r=ef.get(i);r&&!r.has(n)?ed&&console.warn("Warning: fragment with name "+i+" already exists.\ngraphql-tag enforces all fragment names across your application to be unique; read more about\nthis in the docs: http://dev.apollodata.com/core/fragments.html#unique-names"):r||ef.set(i,r=new Set),r.add(n),s.has(n)||(s.add(n),o.push(e))}else o.push(e)}),a=(0,i.u)((0,i.u)({},u),{definitions:o})).definitions)).forEach(function(e){e.loc&&delete e.loc,Object.keys(e).forEach(function(t){var i=e[t];i&&"object"==typeof i&&c.add(i)})}),(l=a.loc)&&(delete l.startToken,delete l.endToken),a))}return eh.get(t)}(s)}function em(){eh.clear(),ef.clear()}function eI(){ed=!1}function ey(){eE=!0}function eO(){eE=!1}var e_=eN;(t=eN||(eN={})).gql=e_,t.resetCaches=em,t.disableFragmentWarnings=eI,t.enableExperimentalFragmentVariables=ey,t.disableExperimentalFragmentVariables=eO,eN.default=eN,e.s(["Z",0,eO,"R",0,eI,"o",0,ey,"a",0,eN,"s",0,em],59080)},48418,57636,e=>{let t=/\r\n|[\n\r]/g;function i(e,i){let n=0,r=1;for(let s of e.body.matchAll(t)){if("number"!=typeof s.index&&function(e){if(!e)throw Error((void 0)??"Unexpected invariant triggered.")}(!1),s.index>=i)break;n=s.index+s[0].length,r+=1}return{line:r,column:i+1-n}}function n(e,t){let i=e.locationOffset.column-1,n="".padStart(i)+e.body,s=t.line-1,o=e.locationOffset.line-1,a=t.line+o,c=1===t.line?i:0,l=t.column+c,u=`${e.name}:${a}:${l}
|
|
2
|
+
`,p=n.split(/\r\n|[\n\r]/g),h=p[s];if(h.length>120){let e=Math.floor(l/80),t=[];for(let e=0;e<h.length;e+=80)t.push(h.slice(e,e+80));return u+r([[`${a} |`,t[0]],...t.slice(1,e+1).map(e=>["|",e]),["|","^".padStart(l%80)],["|",t[e+1]]])}return u+r([[`${a-1} |`,p[s-1]],[`${a} |`,h],["|","^".padStart(l)],[`${a+1} |`,p[s+1]]])}function r(e){let t=e.filter(([e,t])=>void 0!==t),i=Math.max(...t.map(([e])=>e.length));return t.map(([e,t])=>e.padStart(i)+(t?" "+t:"")).join("\n")}class s extends Error{constructor(e,t={}){var n;let{nodes:r,source:a,positions:c,path:l,originalError:u,cause:p,extensions:h}=t,f="cause"in t,d=f?p:u;super(e,f||null!=u?{cause:d}:void 0),this.name="GraphQLError",this.path=l??void 0;let E=u??(p instanceof Error?p:void 0);this.originalError=E,this.nodes=o(Array.isArray(r)?r:r?[r]:void 0);let T=o(this.nodes?.map(e=>e.loc).filter(e=>null!=e));this.source=a??T?.[0]?.source,this.positions=c??T?.map(e=>e.start),this.locations=c&&a?c.map(e=>i(a,e)):T?.map(e=>i(e.source,e.start));let N="object"==typeof(n=E?.extensions)&&null!==n?E.extensions:void 0;this.extensions=h??N??Object.create(null),Object.defineProperties(this,{message:{writable:!0,enumerable:!0},name:{enumerable:!1},nodes:{enumerable:!1},source:{enumerable:!1},positions:{enumerable:!1},originalError:{enumerable:!1}}),u?.stack!=null?Object.defineProperty(this,"stack",{value:u.stack,writable:!0,configurable:!0}):null!=Error.captureStackTrace?Error.captureStackTrace(this,s):Object.defineProperty(this,"stack",{value:Error().stack,writable:!0,configurable:!0})}get[Symbol.toStringTag](){return"GraphQLError"}toString(){let e=this.message;if(this.nodes)for(let r of this.nodes){var t;r.loc&&(e+="\n\n"+n((t=r.loc).source,i(t.source,t.start)))}else if(this.source&&this.locations)for(let t of this.locations)e+="\n\n"+n(this.source,t);return e}toJSON(){let e={message:this.message};return null!=this.locations&&(e.locations=this.locations),null!=this.path&&(e.path=this.path),null!=this.extensions&&Object.keys(this.extensions).length>0&&(e.extensions=this.extensions),e}}function o(e){return void 0===e||0===e.length?void 0:e}e.s(["f",0,function(e,t,i){return new s(`Syntax Error: ${i}`,{source:e,positions:[t]})}],48418);let a=function(){let e;try{let t=globalThis.process;"function"==typeof t?.getBuiltinModule&&(e=t.getBuiltinModule("node:diagnostics_channel"))}catch{}return e}(),c=a?.tracingChannel("graphql:parse");a?.tracingChannel("graphql:validate"),a?.tracingChannel("graphql:execute"),a?.tracingChannel("graphql:execute:variableCoercion"),a?.tracingChannel("graphql:execute:rootSelectionSet"),a?.tracingChannel("graphql:subscribe"),a?.tracingChannel("graphql:resolve");let l=["start","end","asyncStart","asyncEnd","error"];e.s(["p",0,c,"E",0,function(e){if(null==e)return!1;let t=e.hasSubscribers;if(void 0!==t)return t;for(let t of l)if(e[t].hasSubscribers)return!0;return!1}],57636)},17405,e=>{e.s(["f",0,function(e,t){if(!e)throw Error(t)}])},42341,e=>{class t{constructor(e,t,i){this.start=e.start,this.end=t.end,this.startToken=e,this.endToken=t,this.source=i}get[Symbol.toStringTag](){return"Location"}toJSON(){return{start:this.start,end:this.end}}}class i{constructor(e,t,i,n,r,s){this.kind=e,this.start=t,this.end=i,this.line=n,this.column=r,this.value=s,this.prev=null,this.next=null}get[Symbol.toStringTag](){return"Token"}toJSON(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}}}let n={Name:[],Document:["definitions"],OperationDefinition:["description","name","variableDefinitions","directives","selectionSet"],VariableDefinition:["description","variable","type","defaultValue","directives"],Variable:["name"],SelectionSet:["selections"],Field:["alias","name","arguments","directives","selectionSet"],Argument:["name","value"],FragmentArgument:["name","value"],FragmentSpread:["name","arguments","directives"],InlineFragment:["typeCondition","directives","selectionSet"],FragmentDefinition:["description","name","variableDefinitions","typeCondition","directives","selectionSet"],IntValue:[],FloatValue:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:["values"],ObjectValue:["fields"],ObjectField:["name","value"],Directive:["name","arguments"],NamedType:["name"],ListType:["type"],NonNullType:["type"],SchemaDefinition:["description","directives","operationTypes"],OperationTypeDefinition:["type"],ScalarTypeDefinition:["description","name","directives"],ObjectTypeDefinition:["description","name","interfaces","directives","fields"],FieldDefinition:["description","name","arguments","type","directives"],InputValueDefinition:["description","name","type","defaultValue","directives"],InterfaceTypeDefinition:["description","name","interfaces","directives","fields"],UnionTypeDefinition:["description","name","directives","types"],EnumTypeDefinition:["description","name","directives","values"],EnumValueDefinition:["description","name","directives"],InputObjectTypeDefinition:["description","name","directives","fields"],DirectiveDefinition:["description","name","arguments","directives","locations"],SchemaExtension:["directives","operationTypes"],DirectiveExtension:["name","directives"],ScalarTypeExtension:["name","directives"],ObjectTypeExtension:["name","interfaces","directives","fields"],InterfaceTypeExtension:["name","interfaces","directives","fields"],UnionTypeExtension:["name","directives","types"],EnumTypeExtension:["name","directives","values"],InputObjectTypeExtension:["name","directives","fields"],TypeCoordinate:["name"],MemberCoordinate:["name","memberName"],ArgumentCoordinate:["name","fieldName","argumentName"],DirectiveCoordinate:["name"],DirectiveArgumentCoordinate:["name","argumentName"]},r=new Set(Object.keys(n));e.s(["a",0,t,"E",0,{QUERY:"query",MUTATION:"mutation",SUBSCRIPTION:"subscription"},"Q",0,n,"_",0,i,"t",0,function(e){let t=e?.kind;return"string"==typeof t&&r.has(t)}])},67757,10696,e=>{function t(e){return 9===e||32===e}function i(e){return e>=48&&e<=57}function n(e){return e>=97&&e<=122||e>=65&&e<=90}e.s(["J",0,i,"E",0,function(e){return n(e)||i(e)||95===e},"C",0,function(e){return n(e)||95===e},"S",0,t],10696),e.s(["X",0,function(e){let i=Number.MAX_SAFE_INTEGER,n=null,r=-1;for(let s=0;s<e.length;++s){let o=e[s],a=function(e){let i=0;for(;i<e.length&&t(e.charCodeAt(i));)++i;return i}(o);a!==o.length&&(n??=s,r=s,0!==s&&a<i&&(i=a))}return e.map((e,t)=>0===t?e:e.slice(i)).slice(n??0,r+1)},"V",0,function(e,i){let n=e.replaceAll('"""','\\"""'),r=n.split(/\r\n|[\n\r]/g),s=1===r.length,o=r.length>1&&r.slice(1).every(e=>0===e.length||t(e.charCodeAt(0))),a=n.endsWith('\\"""'),c=e.endsWith('"')&&!a,l=e.endsWith("\\"),u=c||l,p=!i?.minimize&&(!s||e.length>70||u||o||a),h="",f=s&&t(e.charCodeAt(0));return(p&&!f||o)&&(h+="\n"),h+=n,(p||u)&&(h+="\n"),'"""'+h+'"""'}],67757)},59570,e=>{e.s(["f",0,{QUERY:"QUERY",MUTATION:"MUTATION",SUBSCRIPTION:"SUBSCRIPTION",FIELD:"FIELD",FRAGMENT_DEFINITION:"FRAGMENT_DEFINITION",FRAGMENT_SPREAD:"FRAGMENT_SPREAD",INLINE_FRAGMENT:"INLINE_FRAGMENT",VARIABLE_DEFINITION:"VARIABLE_DEFINITION",FRAGMENT_VARIABLE_DEFINITION:"FRAGMENT_VARIABLE_DEFINITION",SCHEMA:"SCHEMA",SCALAR:"SCALAR",OBJECT:"OBJECT",FIELD_DEFINITION:"FIELD_DEFINITION",ARGUMENT_DEFINITION:"ARGUMENT_DEFINITION",INTERFACE:"INTERFACE",UNION:"UNION",ENUM:"ENUM",ENUM_VALUE:"ENUM_VALUE",INPUT_OBJECT:"INPUT_OBJECT",INPUT_FIELD_DEFINITION:"INPUT_FIELD_DEFINITION",DIRECTIVE_DEFINITION:"DIRECTIVE_DEFINITION"}])},83197,e=>{e.s(["ARGUMENT",0,"Argument","ARGUMENT_COORDINATE",0,"ArgumentCoordinate","BOOLEAN",0,"BooleanValue","DIRECTIVE",0,"Directive","DIRECTIVE_ARGUMENT_COORDINATE",0,"DirectiveArgumentCoordinate","DIRECTIVE_COORDINATE",0,"DirectiveCoordinate","DIRECTIVE_DEFINITION",0,"DirectiveDefinition","DIRECTIVE_EXTENSION",0,"DirectiveExtension","DOCUMENT",0,"Document","ENUM",0,"EnumValue","ENUM_TYPE_DEFINITION",0,"EnumTypeDefinition","ENUM_TYPE_EXTENSION",0,"EnumTypeExtension","ENUM_VALUE_DEFINITION",0,"EnumValueDefinition","FIELD",0,"Field","FIELD_DEFINITION",0,"FieldDefinition","FLOAT",0,"FloatValue","FRAGMENT_ARGUMENT",0,"FragmentArgument","FRAGMENT_DEFINITION",0,"FragmentDefinition","FRAGMENT_SPREAD",0,"FragmentSpread","INLINE_FRAGMENT",0,"InlineFragment","INPUT_OBJECT_TYPE_DEFINITION",0,"InputObjectTypeDefinition","INPUT_OBJECT_TYPE_EXTENSION",0,"InputObjectTypeExtension","INPUT_VALUE_DEFINITION",0,"InputValueDefinition","INT",0,"IntValue","INTERFACE_TYPE_DEFINITION",0,"InterfaceTypeDefinition","INTERFACE_TYPE_EXTENSION",0,"InterfaceTypeExtension","LIST",0,"ListValue","LIST_TYPE",0,"ListType","MEMBER_COORDINATE",0,"MemberCoordinate","NAME",0,"Name","NAMED_TYPE",0,"NamedType","NON_NULL_TYPE",0,"NonNullType","NULL",0,"NullValue","OBJECT",0,"ObjectValue","OBJECT_FIELD",0,"ObjectField","OBJECT_TYPE_DEFINITION",0,"ObjectTypeDefinition","OBJECT_TYPE_EXTENSION",0,"ObjectTypeExtension","OPERATION_DEFINITION",0,"OperationDefinition","OPERATION_TYPE_DEFINITION",0,"OperationTypeDefinition","SCALAR_TYPE_DEFINITION",0,"ScalarTypeDefinition","SCALAR_TYPE_EXTENSION",0,"ScalarTypeExtension","SCHEMA_DEFINITION",0,"SchemaDefinition","SCHEMA_EXTENSION",0,"SchemaExtension","SELECTION_SET",0,"SelectionSet","STRING",0,"StringValue","TYPE_COORDINATE",0,"TypeCoordinate","UNION_TYPE_DEFINITION",0,"UnionTypeDefinition","UNION_TYPE_EXTENSION",0,"UnionTypeExtension","VARIABLE",0,"Variable","VARIABLE_DEFINITION",0,"VariableDefinition"])},64305,73929,57817,76256,13740,86538,5359,51599,20507,12909,42629,68333,54507,48301,10062,2697,11260,20420,12858,30314,70671,45738,7535,1284,561,10489,18667,19038,17030,9479,36378,76692,32676,57883,13886,9152,35565,30412,70998,40147,31778,57340,30118,417,33056,41500,28897,46582,45755,66255,e=>{var t=e.i(83197);e.s(["f",0,t],64305),e.s(["f",0,t],73929),e.s(["f",0,t],57817),e.s(["f",0,t],76256),e.s(["f",0,t],13740),e.s(["f",0,t],86538),e.s(["f",0,t],5359),e.s(["f",0,t],51599),e.s(["f",0,t],20507),e.s(["f",0,t],12909),e.s(["f",0,t],42629),e.s(["f",0,t],68333),e.s(["f",0,t],54507),e.s(["f",0,t],48301),e.s(["f",0,t],10062),e.s(["f",0,t],2697),e.s(["f",0,t],11260),e.s(["f",0,t],20420),e.s(["f",0,t],12858),e.s(["f",0,t],30314),e.s(["f",0,t],70671),e.s(["f",0,t],45738),e.s(["f",0,t],7535),e.s(["f",0,t],1284),e.s(["f",0,t],561),e.s(["f",0,t],10489),e.s(["f",0,t],18667),e.s(["f",0,t],19038),e.s(["f",0,t],17030),e.s(["f",0,t],9479),e.s(["f",0,t],36378),e.s(["f",0,t],76692),e.s(["f",0,t],32676),e.s(["f",0,t],57883),e.s(["f",0,t],13886),e.s(["f",0,t],9152),e.s(["f",0,t],35565),e.s(["f",0,t],30412),e.s(["f",0,t],70998),e.s(["f",0,t],40147),e.s(["f",0,t],31778),e.s(["f",0,t],57340),e.s(["f",0,t],30118),e.s(["f",0,t],417),e.s(["f",0,t],33056),e.s(["f",0,t],41500),e.s(["f",0,t],28897),e.s(["f",0,t],46582),e.s(["f",0,t],45755),e.s(["f",0,t],66255)},29730,477,e=>{var t=e.i(48418),i=e.i(42341),n=e.i(67757),r=e.i(10696);let s={SOF:"<SOF>",EOF:"<EOF>",BANG:"!",DOLLAR:"$",AMP:"&",PAREN_L:"(",PAREN_R:")",DOT:".",SPREAD:"...",COLON:":",EQUALS:"=",AT:"@",BRACKET_L:"[",BRACKET_R:"]",BRACE_L:"{",PIPE:"|",BRACE_R:"}",NAME:"Name",INT:"Int",FLOAT:"Float",STRING:"String",BLOCK_STRING:"BlockString",COMMENT:"Comment"};e.s(["f",0,s],477);class o{constructor(e){let t=new i._(s.SOF,0,0,0,0);this.source=e,this.lastToken=t,this.token=t,this.line=1,this.lineStart=0}get[Symbol.toStringTag](){return"Lexer"}advance(){return this.lastToken=this.token,this.token=this.lookahead()}lookahead(){let e=this.token;if(e.kind!==s.EOF)do if(e.next)e=e.next;else{let i=function(e,i){let o=e.source.body,T=o.length,N=i;for(;N<T;){let i=o.charCodeAt(N);switch(i){case 65279:case 9:case 32:case 44:++N;continue;case 10:++N,++e.line,e.lineStart=N;continue;case 13:10===o.charCodeAt(N+1)?N+=2:++N,++e.line,e.lineStart=N;continue;case 35:return function(e,t){let i=e.source.body,n=i.length,r=t+1;for(;r<n;){let e=i.charCodeAt(r);if(10===e||13===e)break;if(a(e))++r;else if(c(i,r))r+=2;else break}return h(e,s.COMMENT,t,r,i.slice(t+1,r))}(e,N);case 33:return h(e,s.BANG,N,N+1);case 36:return h(e,s.DOLLAR,N,N+1);case 38:return h(e,s.AMP,N,N+1);case 40:return h(e,s.PAREN_L,N,N+1);case 41:return h(e,s.PAREN_R,N,N+1);case 46:{let i=o.charCodeAt(N+1);if(46===i&&46===o.charCodeAt(N+2))return h(e,s.SPREAD,N,N+3);if(46===i)throw(0,t.f)(e.source,N,'Unexpected "..", did you mean "..."?');if((0,r.J)(i)){let n=e.source.body.slice(N+1,f(e,N+1,i));throw(0,t.f)(e.source,N,`Invalid number, expected digit before ".", did you mean "0.${n}"?`)}break}case 58:return h(e,s.COLON,N,N+1);case 61:return h(e,s.EQUALS,N,N+1);case 64:return h(e,s.AT,N,N+1);case 91:return h(e,s.BRACKET_L,N,N+1);case 93:return h(e,s.BRACKET_R,N,N+1);case 123:return h(e,s.BRACE_L,N,N+1);case 124:return h(e,s.PIPE,N,N+1);case 125:return h(e,s.BRACE_R,N,N+1);case 34:if(34===o.charCodeAt(N+1)&&34===o.charCodeAt(N+2))return function(e,i){let r=e.source.body,o=r.length,l=e.lineStart,u=i+3,f=u,d="",E=[];for(;u<o;){let o=r.charCodeAt(u);if(34===o&&34===r.charCodeAt(u+1)&&34===r.charCodeAt(u+2)){d+=r.slice(f,u),E.push(d);let t=h(e,s.BLOCK_STRING,i,u+3,(0,n.X)(E).join("\n"));return e.line+=E.length-1,e.lineStart=l,t}if(92===o&&34===r.charCodeAt(u+1)&&34===r.charCodeAt(u+2)&&34===r.charCodeAt(u+3)){d+=r.slice(f,u),f=u+1,u+=4;continue}if(10===o||13===o){d+=r.slice(f,u),E.push(d),13===o&&10===r.charCodeAt(u+1)?u+=2:++u,d="",f=u,l=u;continue}if(a(o))++u;else if(c(r,u))u+=2;else throw(0,t.f)(e.source,u,`Invalid character within String: ${p(e,u)}.`)}throw(0,t.f)(e.source,u,"Unterminated string.")}(e,N);return function(e,i){let n=e.source.body,r=n.length,o=i+1,f=o,T="";for(;o<r;){let r=n.charCodeAt(o);if(34===r)return T+=n.slice(f,o),h(e,s.STRING,i,o+1,T);if(92===r){T+=n.slice(f,o);let i=117===n.charCodeAt(o+1)?123===n.charCodeAt(o+2)?function(e,i){let n=e.source.body,r=0,s=3;for(;s<12;){let e=n.charCodeAt(i+s++);if(125===e){if(s<5||!a(r))break;return{value:String.fromCodePoint(r),size:s}}if((r=r<<4|E(e))<0)break}throw(0,t.f)(e.source,i,`Invalid Unicode escape sequence: "${n.slice(i,i+s)}".`)}(e,o):function(e,i){let n=e.source.body,r=d(n,i+2);if(a(r))return{value:String.fromCodePoint(r),size:6};if(l(r)&&92===n.charCodeAt(i+6)&&117===n.charCodeAt(i+7)){let e=d(n,i+8);if(u(e))return{value:String.fromCodePoint(r,e),size:12}}throw(0,t.f)(e.source,i,`Invalid Unicode escape sequence: "${n.slice(i,i+6)}".`)}(e,o):function(e,i){let n=e.source.body;switch(n.charCodeAt(i+1)){case 34:return{value:'"',size:2};case 92:return{value:"\\",size:2};case 47:return{value:"/",size:2};case 98:return{value:"\b",size:2};case 102:return{value:"\f",size:2};case 110:return{value:"\n",size:2};case 114:return{value:"\r",size:2};case 116:return{value:" ",size:2}}throw(0,t.f)(e.source,i,`Invalid character escape sequence: "${n.slice(i,i+2)}".`)}(e,o);T+=i.value,o+=i.size,f=o;continue}if(10===r||13===r)break;if(a(r))++o;else if(c(n,o))o+=2;else throw(0,t.f)(e.source,o,`Invalid character within String: ${p(e,o)}.`)}throw(0,t.f)(e.source,o,"Unterminated string.")}(e,N)}if((0,r.J)(i)||45===i)return function(e,i,n){let o=e.source.body,a=i,c=n,l=!1;if(45===c&&(c=o.charCodeAt(++a)),48===c){if(c=o.charCodeAt(++a),(0,r.J)(c))throw(0,t.f)(e.source,a,`Invalid number, unexpected digit after 0: ${p(e,a)}.`)}else a=f(e,a,c),c=o.charCodeAt(a);if(46===c&&(l=!0,c=o.charCodeAt(++a),a=f(e,a,c),c=o.charCodeAt(a)),(69===c||101===c)&&(l=!0,(43===(c=o.charCodeAt(++a))||45===c)&&(c=o.charCodeAt(++a)),a=f(e,a,c),c=o.charCodeAt(a)),46===c||(0,r.C)(c))throw(0,t.f)(e.source,a,`Invalid number, expected digit but got: ${p(e,a)}.`);return h(e,l?s.FLOAT:s.INT,i,a,o.slice(i,a))}(e,N,i);if((0,r.C)(i))return function(e,t){let i=e.source.body,n=i.length,o=t+1;for(;o<n;){let e=i.charCodeAt(o);if((0,r.E)(e))++o;else break}return h(e,s.NAME,t,o,i.slice(t,o))}(e,N);throw(0,t.f)(e.source,N,39===i?"Unexpected single quote character ('), did you mean to use a double quote (\")?":a(i)||c(o,N)?`Unexpected character: ${p(e,N)}.`:`Invalid character: ${p(e,N)}.`)}return h(e,s.EOF,T,T)}(this,e.end);e.next=i,i.prev=e,e=i}while(e.kind===s.COMMENT)return e}}function a(e){return e>=0&&e<=55295||e>=57344&&e<=1114111}function c(e,t){return l(e.charCodeAt(t))&&u(e.charCodeAt(t+1))}function l(e){return e>=55296&&e<=56319}function u(e){return e>=56320&&e<=57343}function p(e,t){let i=e.source.body.codePointAt(t);if(void 0===i)return s.EOF;if(i>=32&&i<=126){let e=String.fromCodePoint(i);return'"'===e?"'\"'":`"${e}"`}return"U+"+i.toString(16).toUpperCase().padStart(4,"0")}function h(e,t,n,r,s){let o=e.line,a=1+n-e.lineStart;return new i._(t,n,r,o,a,s)}function f(e,i,n){if(!(0,r.J)(n))throw(0,t.f)(e.source,i,`Invalid number, expected digit but got: ${p(e,i)}.`);let s=e.source.body,o=i+1;for(;(0,r.J)(s.charCodeAt(o));)++o;return o}function d(e,t){return E(e.charCodeAt(t))<<12|E(e.charCodeAt(t+1))<<8|E(e.charCodeAt(t+2))<<4|E(e.charCodeAt(t+3))}function E(e){return e>=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:-1}e.s(["Y",0,o,"l",0,function(e){return e===s.BANG||e===s.DOLLAR||e===s.AMP||e===s.PAREN_L||e===s.PAREN_R||e===s.DOT||e===s.SPREAD||e===s.COLON||e===s.EQUALS||e===s.AT||e===s.BRACKET_L||e===s.BRACKET_R||e===s.BRACE_L||e===s.PIPE||e===s.BRACE_R}],29730)},89280,e=>{var t=function(e,i){return(t=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])})(e,i)},i=function(){return(i=Object.assign||function(e){for(var t,i=1,n=arguments.length;i<n;i++)for(var r in t=arguments[i])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)};function n(e){var t="function"==typeof Symbol&&Symbol.iterator,i=t&&e[t],n=0;if(i)return i.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function r(e){return this instanceof r?(this.v=e,this):new r(e)}"function"==typeof SuppressedError&&SuppressedError,e.s(["u",()=>i,"Q",0,function(e,t,i){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var n,s=i.apply(e,t||[]),o=[];return n=Object.create(("function"==typeof AsyncIterator?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",function(e){return function(t){return Promise.resolve(t).then(e,u)}}),n[Symbol.asyncIterator]=function(){return this},n;function a(e,t){s[e]&&(n[e]=function(t){return new Promise(function(i,n){o.push([e,t,i,n])>1||c(e,t)})},t&&(n[e]=t(n[e])))}function c(e,t){try{var i;(i=s[e](t)).value instanceof r?Promise.resolve(i.value.v).then(l,u):p(o[0][2],i)}catch(e){p(o[0][3],e)}}function l(e){c("next",e)}function u(e){c("throw",e)}function p(e,t){e(t),o.shift(),o.length&&c(o[0][0],o[0][1])}},"I",0,function(e){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var t,i=e[Symbol.asyncIterator];return i?i.call(e):(e=n(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(i){t[i]=e[i]&&function(t){return new Promise(function(n,r){var s,o,a;s=n,o=r,a=(t=e[i](t)).done,Promise.resolve(t.value).then(function(e){s({value:e,done:a})},o)})}}},"Z",0,r,"W",0,function(e,t,i,n){return new(i||(i=Promise))(function(r,s){function o(e){try{c(n.next(e))}catch(e){s(e)}}function a(e){try{c(n.throw(e))}catch(e){s(e)}}function c(e){var t;e.done?r(e.value):((t=e.value)instanceof i?t:new i(function(e){e(t)})).then(o,a)}c((n=n.apply(e,t||[])).next())})},"w",0,function(e,i){if("function"!=typeof i&&null!==i)throw TypeError("Class extends value "+String(i)+" is not a constructor or null");function n(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)},"t",0,function(e,t){var i,n,r,s={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]},o=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return o.next=a(0),o.throw=a(1),o.return=a(2),"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(a){return function(c){var l=[a,c];if(i)throw TypeError("Generator is already executing.");for(;o&&(o=0,l[0]&&(s=0)),s;)try{if(i=1,n&&(r=2&l[0]?n.return:l[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,l[1])).done)return r;switch(n=0,r&&(l=[2&l[0],r.value]),l[0]){case 0:case 1:r=l;break;case 4:return s.label++,{value:l[1],done:!1};case 5:s.label++,n=l[1],l=[0];continue;case 7:l=s.ops.pop(),s.trys.pop();continue;default:if(!(r=(r=s.trys).length>0&&r[r.length-1])&&(6===l[0]||2===l[0])){s=0;continue}if(3===l[0]&&(!r||l[1]>r[0]&&l[1]<r[3])){s.label=l[1];break}if(6===l[0]&&s.label<r[1]){s.label=r[1],r=l;break}if(r&&s.label<r[2]){s.label=r[2],s.ops.push(l);break}r[2]&&s.ops.pop(),s.trys.pop();continue}l=t.call(e,s)}catch(e){l=[6,e],n=0}finally{i=r=0}if(5&l[0])throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}},"J",0,function(e,t){var i="function"==typeof Symbol&&e[Symbol.iterator];if(!i)return e;var n,r,s=i.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(n=s.next()).done;)o.push(n.value)}catch(e){r={error:e}}finally{try{n&&!n.done&&(i=s.return)&&i.call(s)}finally{if(r)throw r.error}}return o},"z",0,function(e,t){var i={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(i[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,n=Object.getOwnPropertySymbols(e);r<n.length;r++)0>t.indexOf(n[r])&&Object.prototype.propertyIsEnumerable.call(e,n[r])&&(i[n[r]]=e[n[r]]);return i},"p",0,function(e,t,i){if(i||2==arguments.length)for(var n,r=0,s=t.length;r<s;r++)!n&&r in t||(n||(n=Array.prototype.slice.call(t,0,r)),n[r]=t[r]);return e.concat(n||Array.prototype.slice.call(t))},"_",0,n])}])})();
|