@unchainedshop/admin-ui 4.8.32 → 4.8.34

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.
Files changed (817) hide show
  1. package/dist/chunk-2HTCKO4E.js +45 -0
  2. package/dist/chunk-4MXPTVDL.js +3308 -0
  3. package/dist/chunk-54DKBWXV.js +33 -0
  4. package/dist/chunk-6UGLNLJG.js +44 -0
  5. package/dist/chunk-ATZJXTRA.js +618 -0
  6. package/dist/chunk-BOMSMJF2.js +77 -0
  7. package/dist/chunk-COV7BREX.js +50 -0
  8. package/dist/chunk-CUYIP5XG.js +1099 -0
  9. package/dist/chunk-E6HDJYA6.js +388 -0
  10. package/dist/chunk-EAVP6XZQ.js +44 -0
  11. package/dist/chunk-ED2FP42R.js +2083 -0
  12. package/dist/chunk-EJDZRZSZ.js +59 -0
  13. package/dist/chunk-ELPURWDC.js +75 -0
  14. package/dist/chunk-F6LBNV3H.js +9 -0
  15. package/dist/chunk-GWMLIF3C.js +694 -0
  16. package/dist/chunk-GY2DRQGW.js +166 -0
  17. package/dist/chunk-HERLM47Z.js +309 -0
  18. package/dist/chunk-IAQPLRXZ.js +16 -0
  19. package/dist/chunk-ILYPJE4N.js +57 -0
  20. package/dist/chunk-IWKDBADX.js +73 -0
  21. package/dist/chunk-IXBMHOB5.js +13 -0
  22. package/dist/chunk-IYKPRAWC.js +26 -0
  23. package/dist/chunk-J23QSWDL.js +8 -0
  24. package/dist/chunk-KH5MK6ZW.js +18 -0
  25. package/dist/chunk-KRIRF7F6.js +76 -0
  26. package/dist/chunk-NFJE5EJG.js +135 -0
  27. package/dist/chunk-NT7RB7AK.js +70 -0
  28. package/dist/chunk-OKGJ6HDE.js +26 -0
  29. package/dist/chunk-OTXM2UCD.js +19 -0
  30. package/dist/chunk-PGJTFYBT.js +23000 -0
  31. package/dist/chunk-PUI5BIKO.js +41 -0
  32. package/dist/chunk-Q6S3LBUF.js +180 -0
  33. package/dist/chunk-QWQ3WJJN.js +1 -0
  34. package/dist/chunk-RAQV2GYF.js +70 -0
  35. package/dist/chunk-VBO377AY.js +14 -0
  36. package/dist/chunk-VYEXPG3M.js +107 -0
  37. package/dist/chunk-YO6PT7KD.js +13 -0
  38. package/dist/chunk-YUXHILXY.js +326 -0
  39. package/dist/chunk-ZUOVKRKC.js +957 -0
  40. package/dist/components/ui/Accordion/Accordion.d.ts +11 -0
  41. package/dist/components/ui/Accordion/Accordion.d.ts.map +1 -0
  42. package/dist/components/ui/Accordion/AccordionHeader.d.ts +6 -0
  43. package/dist/components/ui/Accordion/AccordionHeader.d.ts.map +1 -0
  44. package/dist/components/ui/Accordion/AccordionItem.d.ts +11 -0
  45. package/dist/components/ui/Accordion/AccordionItem.d.ts.map +1 -0
  46. package/dist/components/ui/ActiveInActive.d.ts +10 -0
  47. package/dist/components/ui/ActiveInActive.d.ts.map +1 -0
  48. package/dist/components/ui/AnimatedCounter.d.ts +7 -0
  49. package/dist/components/ui/AnimatedCounter.d.ts.map +1 -0
  50. package/dist/components/ui/Badge.d.ts +10 -0
  51. package/dist/components/ui/Badge.d.ts.map +1 -0
  52. package/dist/components/ui/BreadCrumbs.d.ts +7 -0
  53. package/dist/components/ui/BreadCrumbs.d.ts.map +1 -0
  54. package/dist/components/ui/Button.d.ts +36 -0
  55. package/dist/components/ui/Button.d.ts.map +1 -0
  56. package/dist/components/ui/CopyableText.d.ts +5 -0
  57. package/dist/components/ui/CopyableText.d.ts.map +1 -0
  58. package/dist/components/ui/DateInput.d.ts +15 -0
  59. package/dist/components/ui/DateInput.d.ts.map +1 -0
  60. package/dist/components/ui/DateRangeFilterInput.d.ts +4 -0
  61. package/dist/components/ui/DateRangeFilterInput.d.ts.map +1 -0
  62. package/dist/components/ui/DetailHeader.d.ts +6 -0
  63. package/dist/components/ui/DetailHeader.d.ts.map +1 -0
  64. package/dist/components/ui/DraggableIcon.d.ts +3 -0
  65. package/dist/components/ui/DraggableIcon.d.ts.map +1 -0
  66. package/dist/components/ui/ErrorBoundary.d.ts +18 -0
  67. package/dist/components/ui/ErrorBoundary.d.ts.map +1 -0
  68. package/dist/components/ui/ErrorFallback.d.ts +6 -0
  69. package/dist/components/ui/ErrorFallback.d.ts.map +1 -0
  70. package/dist/components/ui/HelpText.d.ts +11 -0
  71. package/dist/components/ui/HelpText.d.ts.map +1 -0
  72. package/dist/components/ui/ImageWithFallback.d.ts +7 -0
  73. package/dist/components/ui/ImageWithFallback.d.ts.map +1 -0
  74. package/dist/components/ui/InfoTextBanner.d.ts +6 -0
  75. package/dist/components/ui/InfoTextBanner.d.ts.map +1 -0
  76. package/dist/components/ui/JSONView.d.ts +6 -0
  77. package/dist/components/ui/JSONView.d.ts.map +1 -0
  78. package/dist/components/ui/ListHeader.d.ts +6 -0
  79. package/dist/components/ui/ListHeader.d.ts.map +1 -0
  80. package/dist/components/ui/Loading.d.ts +10 -0
  81. package/dist/components/ui/Loading.d.ts.map +1 -0
  82. package/dist/components/ui/NoData.d.ts +7 -0
  83. package/dist/components/ui/NoData.d.ts.map +1 -0
  84. package/dist/components/ui/NoImage.d.ts +7 -0
  85. package/dist/components/ui/NoImage.d.ts.map +1 -0
  86. package/dist/components/ui/NoImageSvg.d.ts +8 -0
  87. package/dist/components/ui/NoImageSvg.d.ts.map +1 -0
  88. package/dist/components/ui/PageHeader.d.ts +11 -0
  89. package/dist/components/ui/PageHeader.d.ts.map +1 -0
  90. package/dist/components/ui/Pagination.d.ts +8 -0
  91. package/dist/components/ui/Pagination.d.ts.map +1 -0
  92. package/dist/components/ui/Portal/Portal.d.ts +16 -0
  93. package/dist/components/ui/Portal/Portal.d.ts.map +1 -0
  94. package/dist/components/ui/Portal/Portal.types.d.ts +16 -0
  95. package/dist/components/ui/Portal/Portal.types.d.ts.map +1 -0
  96. package/dist/components/ui/SaveAndCancelButtons.d.ts +10 -0
  97. package/dist/components/ui/SaveAndCancelButtons.d.ts.map +1 -0
  98. package/dist/components/ui/SearchField.d.ts +7 -0
  99. package/dist/components/ui/SearchField.d.ts.map +1 -0
  100. package/dist/components/ui/Tab.d.ts +18 -0
  101. package/dist/components/ui/Tab.d.ts.map +1 -0
  102. package/dist/components/ui/Tag/TagInput.d.ts +19 -0
  103. package/dist/components/ui/Tag/TagInput.d.ts.map +1 -0
  104. package/dist/components/ui/Tag/TagList.d.ts +8 -0
  105. package/dist/components/ui/Tag/TagList.d.ts.map +1 -0
  106. package/dist/components/ui/Tag/TagListForm.d.ts +8 -0
  107. package/dist/components/ui/Tag/TagListForm.d.ts.map +1 -0
  108. package/dist/components/ui/Toggle.d.ts +11 -0
  109. package/dist/components/ui/Toggle.d.ts.map +1 -0
  110. package/dist/components/ui/ToolTip.d.ts +7 -0
  111. package/dist/components/ui/ToolTip.d.ts.map +1 -0
  112. package/dist/components/ui/card.d.ts +9 -0
  113. package/dist/components/ui/card.d.ts.map +1 -0
  114. package/dist/components/ui/chart.d.ts +42 -0
  115. package/dist/components/ui/chart.d.ts.map +1 -0
  116. package/dist/components/ui/form/CheckboxField.d.ts +4 -0
  117. package/dist/components/ui/form/CheckboxField.d.ts.map +1 -0
  118. package/dist/components/ui/form/ChoicesField.d.ts +12 -0
  119. package/dist/components/ui/form/ChoicesField.d.ts.map +1 -0
  120. package/dist/components/ui/form/Combobox.d.ts +20 -0
  121. package/dist/components/ui/form/Combobox.d.ts.map +1 -0
  122. package/dist/components/ui/form/DatePickerField.d.ts +4 -0
  123. package/dist/components/ui/form/DatePickerField.d.ts.map +1 -0
  124. package/dist/components/ui/form/EmailField.d.ts +7 -0
  125. package/dist/components/ui/form/EmailField.d.ts.map +1 -0
  126. package/dist/components/ui/form/FieldWithHelp.d.ts +10 -0
  127. package/dist/components/ui/form/FieldWithHelp.d.ts.map +1 -0
  128. package/dist/components/ui/form/FieldWrapper.d.ts +8 -0
  129. package/dist/components/ui/form/FieldWrapper.d.ts.map +1 -0
  130. package/dist/components/ui/form/FormErrors.d.ts +6 -0
  131. package/dist/components/ui/form/FormErrors.d.ts.map +1 -0
  132. package/dist/components/ui/form/JSONAreaField.d.ts +7 -0
  133. package/dist/components/ui/form/JSONAreaField.d.ts.map +1 -0
  134. package/dist/components/ui/form/MarkdownTextAreaField.d.ts +8 -0
  135. package/dist/components/ui/form/MarkdownTextAreaField.d.ts.map +1 -0
  136. package/dist/components/ui/form/PasswordField.d.ts +3 -0
  137. package/dist/components/ui/form/PasswordField.d.ts.map +1 -0
  138. package/dist/components/ui/form/SelectField.d.ts +11 -0
  139. package/dist/components/ui/form/SelectField.d.ts.map +1 -0
  140. package/dist/components/ui/form/SubmitButton.d.ts +9 -0
  141. package/dist/components/ui/form/SubmitButton.d.ts.map +1 -0
  142. package/dist/components/ui/form/TagInputField.d.ts +7 -0
  143. package/dist/components/ui/form/TagInputField.d.ts.map +1 -0
  144. package/dist/components/ui/form/TextAreaField.d.ts +8 -0
  145. package/dist/components/ui/form/TextAreaField.d.ts.map +1 -0
  146. package/dist/components/ui/form/TextField.d.ts +10 -0
  147. package/dist/components/ui/form/TextField.d.ts.map +1 -0
  148. package/dist/components/ui/form/index.d.ts +18 -0
  149. package/dist/components/ui/form/index.d.ts.map +1 -0
  150. package/dist/components/ui/icons.d.ts +4 -0
  151. package/dist/components/ui/icons.d.ts.map +1 -0
  152. package/dist/components/ui/index.d.ts +47 -0
  153. package/dist/components/ui/index.d.ts.map +1 -0
  154. package/dist/form.js +3128 -0
  155. package/dist/gql/operation-types.d.ts +13239 -0
  156. package/dist/gql/operation-types.d.ts.map +1 -0
  157. package/dist/gql/schema-types.d.ts +3876 -0
  158. package/dist/gql/schema-types.d.ts.map +1 -0
  159. package/dist/gql/types.d.ts +3 -0
  160. package/dist/gql/types.d.ts.map +1 -0
  161. package/dist/hooks.js +49 -0
  162. package/dist/lib/utils.d.ts +3 -0
  163. package/dist/lib/utils.d.ts.map +1 -0
  164. package/dist/modal.js +51 -0
  165. package/dist/modules/Auth/AuthContext.d.ts +9 -0
  166. package/dist/modules/Auth/AuthContext.d.ts.map +1 -0
  167. package/dist/modules/Auth/useAuth.d.ts +6 -0
  168. package/dist/modules/Auth/useAuth.d.ts.map +1 -0
  169. package/dist/modules/UnchainedContext/UnchainedContext.d.ts +8 -0
  170. package/dist/modules/UnchainedContext/UnchainedContext.d.ts.map +1 -0
  171. package/dist/modules/UnchainedContext/useUnchainedContext.d.ts +7 -0
  172. package/dist/modules/UnchainedContext/useUnchainedContext.d.ts.map +1 -0
  173. package/dist/modules/accounts/fragment/MD5MetaDataFragment.d.ts +3 -0
  174. package/dist/modules/accounts/fragment/MD5MetaDataFragment.d.ts.map +1 -0
  175. package/dist/modules/accounts/fragment/UserFragment.d.ts +3 -0
  176. package/dist/modules/accounts/fragment/UserFragment.d.ts.map +1 -0
  177. package/dist/modules/accounts/hooks/useCurrentUser.d.ts +10 -0
  178. package/dist/modules/accounts/hooks/useCurrentUser.d.ts.map +1 -0
  179. package/dist/modules/accounts/hooks/useUsersCount.d.ts +8 -0
  180. package/dist/modules/accounts/hooks/useUsersCount.d.ts.map +1 -0
  181. package/dist/modules/accounts.js +1349 -0
  182. package/dist/modules/assortment/hooks/useAssortmentsCount.d.ts +8 -0
  183. package/dist/modules/assortment/hooks/useAssortmentsCount.d.ts.map +1 -0
  184. package/dist/modules/assortment.js +1205 -0
  185. package/dist/modules/common/components/AppContext.d.ts +18 -0
  186. package/dist/modules/common/components/AppContext.d.ts.map +1 -0
  187. package/dist/modules/common/components/FormWrapper.d.ts +8 -0
  188. package/dist/modules/common/components/FormWrapper.d.ts.map +1 -0
  189. package/dist/modules/common/components/LocaleWrapper.d.ts +7 -0
  190. package/dist/modules/common/components/LocaleWrapper.d.ts.map +1 -0
  191. package/dist/modules/common/components/MediaAvatar.d.ts +6 -0
  192. package/dist/modules/common/components/MediaAvatar.d.ts.map +1 -0
  193. package/dist/modules/common/components/SelectOptions.d.ts +17 -0
  194. package/dist/modules/common/components/SelectOptions.d.ts.map +1 -0
  195. package/dist/modules/common/components/Table.d.ts +25 -0
  196. package/dist/modules/common/components/Table.d.ts.map +1 -0
  197. package/dist/modules/common/components/TableCell.d.ts +12 -0
  198. package/dist/modules/common/components/TableCell.d.ts.map +1 -0
  199. package/dist/modules/common/components/TableRow.d.ts +10 -0
  200. package/dist/modules/common/components/TableRow.d.ts.map +1 -0
  201. package/dist/modules/common/components/ThemeWrapper.d.ts +10 -0
  202. package/dist/modules/common/components/ThemeWrapper.d.ts.map +1 -0
  203. package/dist/modules/common/data/iso-codes.d.ts +4 -0
  204. package/dist/modules/common/data/iso-codes.d.ts.map +1 -0
  205. package/dist/modules/common/data/miscellaneous.d.ts +52 -0
  206. package/dist/modules/common/data/miscellaneous.d.ts.map +1 -0
  207. package/dist/modules/common/fragments/AddressFragment.d.ts +3 -0
  208. package/dist/modules/common/fragments/AddressFragment.d.ts.map +1 -0
  209. package/dist/modules/common/hooks/useApp.d.ts +11 -0
  210. package/dist/modules/common/hooks/useApp.d.ts.map +1 -0
  211. package/dist/modules/common/hooks/useBulkResultHandler.d.ts +8 -0
  212. package/dist/modules/common/hooks/useBulkResultHandler.d.ts.map +1 -0
  213. package/dist/modules/common/hooks/useBulkSelection.d.ts +12 -0
  214. package/dist/modules/common/hooks/useBulkSelection.d.ts.map +1 -0
  215. package/dist/modules/common/hooks/useCSVExport.d.ts +10 -0
  216. package/dist/modules/common/hooks/useCSVExport.d.ts.map +1 -0
  217. package/dist/modules/common/hooks/useCSVImport.d.ts +18 -0
  218. package/dist/modules/common/hooks/useCSVImport.d.ts.map +1 -0
  219. package/dist/modules/common/hooks/useChatEndpointChecker.d.ts +5 -0
  220. package/dist/modules/common/hooks/useChatEndpointChecker.d.ts.map +1 -0
  221. package/dist/modules/common/hooks/useConfirmMediaUpload.d.ts +10 -0
  222. package/dist/modules/common/hooks/useConfirmMediaUpload.d.ts.map +1 -0
  223. package/dist/modules/common/hooks/useDashboardMetrics.d.ts +23 -0
  224. package/dist/modules/common/hooks/useDashboardMetrics.d.ts.map +1 -0
  225. package/dist/modules/common/hooks/useLocalStorage.d.ts +3 -0
  226. package/dist/modules/common/hooks/useLocalStorage.d.ts.map +1 -0
  227. package/dist/modules/common/hooks/useOrderAnalytics.d.ts +25 -0
  228. package/dist/modules/common/hooks/useOrderAnalytics.d.ts.map +1 -0
  229. package/dist/modules/common/hooks/useOrderItemsAnalytics.d.ts +16 -0
  230. package/dist/modules/common/hooks/useOrderItemsAnalytics.d.ts.map +1 -0
  231. package/dist/modules/common/hooks/useOutsideClick.d.ts +3 -0
  232. package/dist/modules/common/hooks/useOutsideClick.d.ts.map +1 -0
  233. package/dist/modules/common/hooks/usePortal.d.ts +20 -0
  234. package/dist/modules/common/hooks/usePortal.d.ts.map +1 -0
  235. package/dist/modules/common/hooks/useScrollRestoration.d.ts +8 -0
  236. package/dist/modules/common/hooks/useScrollRestoration.d.ts.map +1 -0
  237. package/dist/modules/common/hooks/useShopConfiguration.d.ts +8 -0
  238. package/dist/modules/common/hooks/useShopConfiguration.d.ts.map +1 -0
  239. package/dist/modules/common/hooks/useShopInfo.d.ts +41 -0
  240. package/dist/modules/common/hooks/useShopInfo.d.ts.map +1 -0
  241. package/dist/modules/common/hooks/useStatusTypes.d.ts +10 -0
  242. package/dist/modules/common/hooks/useStatusTypes.d.ts.map +1 -0
  243. package/dist/modules/common/hooks/useSystemRoles.d.ts +7 -0
  244. package/dist/modules/common/hooks/useSystemRoles.d.ts.map +1 -0
  245. package/dist/modules/common/hooks/useTheme.d.ts +7 -0
  246. package/dist/modules/common/hooks/useTheme.d.ts.map +1 -0
  247. package/dist/modules/common/utils/deBounce.d.ts +3 -0
  248. package/dist/modules/common/utils/deBounce.d.ts.map +1 -0
  249. package/dist/modules/common/utils/defaultNextImageLoader.d.ts +7 -0
  250. package/dist/modules/common/utils/defaultNextImageLoader.d.ts.map +1 -0
  251. package/dist/modules/common/utils/formatUsername.d.ts +3 -0
  252. package/dist/modules/common/utils/formatUsername.d.ts.map +1 -0
  253. package/dist/modules/common/utils/getSetupStepsConfigurationsMeta.d.ts +30 -0
  254. package/dist/modules/common/utils/getSetupStepsConfigurationsMeta.d.ts.map +1 -0
  255. package/dist/modules/common/utils/normalizeFilterKeys.d.ts +4 -0
  256. package/dist/modules/common/utils/normalizeFilterKeys.d.ts.map +1 -0
  257. package/dist/modules/common/utils/sharedContext.d.ts +9 -0
  258. package/dist/modules/common/utils/sharedContext.d.ts.map +1 -0
  259. package/dist/modules/common/utils/useFormatDateTime.d.ts +16 -0
  260. package/dist/modules/common/utils/useFormatDateTime.d.ts.map +1 -0
  261. package/dist/modules/common/utils/utils.d.ts +21 -0
  262. package/dist/modules/common/utils/utils.d.ts.map +1 -0
  263. package/dist/modules/country/fragments/CountryFragment.d.ts +3 -0
  264. package/dist/modules/country/fragments/CountryFragment.d.ts.map +1 -0
  265. package/dist/modules/country/hooks/useCountries.d.ts +22 -0
  266. package/dist/modules/country/hooks/useCountries.d.ts.map +1 -0
  267. package/dist/modules/country.js +108 -0
  268. package/dist/modules/currency.js +119 -0
  269. package/dist/modules/delivery-provider.js +269 -0
  270. package/dist/modules/enrollment.js +431 -0
  271. package/dist/modules/event.js +123 -0
  272. package/dist/modules/filter.js +497 -0
  273. package/dist/modules/forms/components/Form.d.ts +8 -0
  274. package/dist/modules/forms/components/Form.d.ts.map +1 -0
  275. package/dist/modules/forms/hooks/useField.d.ts +35 -0
  276. package/dist/modules/forms/hooks/useField.d.ts.map +1 -0
  277. package/dist/modules/forms/hooks/useForm.d.ts +44 -0
  278. package/dist/modules/forms/hooks/useForm.d.ts.map +1 -0
  279. package/dist/modules/forms/hooks/useFormContext.d.ts +3 -0
  280. package/dist/modules/forms/hooks/useFormContext.d.ts.map +1 -0
  281. package/dist/modules/forms/lib/FormContext.d.ts +13 -0
  282. package/dist/modules/forms/lib/FormContext.d.ts.map +1 -0
  283. package/dist/modules/forms/lib/clean.d.ts +3 -0
  284. package/dist/modules/forms/lib/clean.d.ts.map +1 -0
  285. package/dist/modules/forms/lib/validators.d.ts +20 -0
  286. package/dist/modules/forms/lib/validators.d.ts.map +1 -0
  287. package/dist/modules/language/fragments/LanguageFragment.d.ts +3 -0
  288. package/dist/modules/language/fragments/LanguageFragment.d.ts.map +1 -0
  289. package/dist/modules/language/hooks/useLanguages.d.ts +19 -0
  290. package/dist/modules/language/hooks/useLanguages.d.ts.map +1 -0
  291. package/dist/modules/language.js +106 -0
  292. package/dist/modules/modal/components/AlertMessage.d.ts +9 -0
  293. package/dist/modules/modal/components/AlertMessage.d.ts.map +1 -0
  294. package/dist/modules/modal/components/DangerMessage.d.ts +13 -0
  295. package/dist/modules/modal/components/DangerMessage.d.ts.map +1 -0
  296. package/dist/modules/modal/components/ImportResultMessage.d.ts +14 -0
  297. package/dist/modules/modal/components/ImportResultMessage.d.ts.map +1 -0
  298. package/dist/modules/modal/components/Modal.d.ts +10 -0
  299. package/dist/modules/modal/components/Modal.d.ts.map +1 -0
  300. package/dist/modules/modal/components/ModalWrapper.d.ts +6 -0
  301. package/dist/modules/modal/components/ModalWrapper.d.ts.map +1 -0
  302. package/dist/modules/modal/hooks/useModal.d.ts +7 -0
  303. package/dist/modules/modal/hooks/useModal.d.ts.map +1 -0
  304. package/dist/modules/modal/utils/ModalContext.d.ts +9 -0
  305. package/dist/modules/modal/utils/ModalContext.d.ts.map +1 -0
  306. package/dist/modules/order/fragments/OrderDetailFragment.d.ts +3 -0
  307. package/dist/modules/order/fragments/OrderDetailFragment.d.ts.map +1 -0
  308. package/dist/modules/order/fragments/OrderFragment.d.ts +3 -0
  309. package/dist/modules/order/fragments/OrderFragment.d.ts.map +1 -0
  310. package/dist/modules/order/hooks/useOrders.d.ts +46 -0
  311. package/dist/modules/order/hooks/useOrders.d.ts.map +1 -0
  312. package/dist/modules/order.js +569 -0
  313. package/dist/modules/payment-providers.js +206 -0
  314. package/dist/modules/product/hooks/useProductsCount.d.ts +8 -0
  315. package/dist/modules/product/hooks/useProductsCount.d.ts.map +1 -0
  316. package/dist/modules/product-review.js +270 -0
  317. package/dist/modules/product.js +6914 -0
  318. package/dist/modules/quotation.js +324 -0
  319. package/dist/modules/token.js +143 -0
  320. package/dist/modules/warehousing-providers.js +206 -0
  321. package/dist/modules/work/fragments/WorkFragment.d.ts +3 -0
  322. package/dist/modules/work/fragments/WorkFragment.d.ts.map +1 -0
  323. package/dist/modules/work/hooks/useAddWork.d.ts +6 -0
  324. package/dist/modules/work/hooks/useAddWork.d.ts.map +1 -0
  325. package/dist/modules/work/hooks/useWork.d.ts +32 -0
  326. package/dist/modules/work/hooks/useWork.d.ts.map +1 -0
  327. package/dist/modules/work.js +232 -0
  328. package/dist/plugins.js +13 -0
  329. package/dist/providers.js +9 -0
  330. package/dist/sdk/hooks.d.ts +12 -0
  331. package/dist/sdk/hooks.d.ts.map +1 -0
  332. package/dist/sdk/modal.d.ts +7 -0
  333. package/dist/sdk/modal.d.ts.map +1 -0
  334. package/dist/sdk/plugins.d.ts +78 -0
  335. package/dist/sdk/plugins.d.ts.map +1 -0
  336. package/dist/sdk/providers.d.ts +5 -0
  337. package/dist/sdk/providers.d.ts.map +1 -0
  338. package/dist/sdk/shims/admin-ui-plugins.d.ts +3 -0
  339. package/dist/sdk/shims/admin-ui-plugins.d.ts.map +1 -0
  340. package/dist/sdk/shims/apollo-client-react.d.ts +3 -0
  341. package/dist/sdk/shims/apollo-client-react.d.ts.map +1 -0
  342. package/dist/sdk/shims/apollo-client.d.ts +3 -0
  343. package/dist/sdk/shims/apollo-client.d.ts.map +1 -0
  344. package/dist/sdk/shims/host.d.ts +17 -0
  345. package/dist/sdk/shims/host.d.ts.map +1 -0
  346. package/dist/sdk/shims/next-head.d.ts +3 -0
  347. package/dist/sdk/shims/next-head.d.ts.map +1 -0
  348. package/dist/sdk/shims/next-image.d.ts +3 -0
  349. package/dist/sdk/shims/next-image.d.ts.map +1 -0
  350. package/dist/sdk/shims/next-link.d.ts +3 -0
  351. package/dist/sdk/shims/next-link.d.ts.map +1 -0
  352. package/dist/sdk/shims/next-router.d.ts +3 -0
  353. package/dist/sdk/shims/next-router.d.ts.map +1 -0
  354. package/dist/sdk/shims/react-dom-client.d.ts +3 -0
  355. package/dist/sdk/shims/react-dom-client.d.ts.map +1 -0
  356. package/dist/sdk/shims/react-dom.d.ts +3 -0
  357. package/dist/sdk/shims/react-dom.d.ts.map +1 -0
  358. package/dist/sdk/shims/react-hook-form.d.ts +3 -0
  359. package/dist/sdk/shims/react-hook-form.d.ts.map +1 -0
  360. package/dist/sdk/shims/react-intl.d.ts +3 -0
  361. package/dist/sdk/shims/react-intl.d.ts.map +1 -0
  362. package/dist/sdk/shims/react-jsx-runtime.d.ts +3 -0
  363. package/dist/sdk/shims/react-jsx-runtime.d.ts.map +1 -0
  364. package/dist/sdk/shims/react-toastify.d.ts +3 -0
  365. package/dist/sdk/shims/react-toastify.d.ts.map +1 -0
  366. package/dist/sdk/shims/react.d.ts +3 -0
  367. package/dist/sdk/shims/react.d.ts.map +1 -0
  368. package/dist/sdk/theme.d.ts +26 -0
  369. package/dist/sdk/theme.d.ts.map +1 -0
  370. package/dist/shims/admin-ui-plugins.js +9 -0
  371. package/dist/shims/apollo-client-react.js +25 -0
  372. package/dist/shims/apollo-client.js +55 -0
  373. package/dist/shims/next-head.js +9 -0
  374. package/dist/shims/next-image.js +9 -0
  375. package/dist/shims/next-link.js +9 -0
  376. package/dist/shims/next-router.js +13 -0
  377. package/dist/shims/react-dom-client.js +11 -0
  378. package/dist/shims/react-dom.js +22 -0
  379. package/dist/shims/react-hook-form.js +25 -0
  380. package/dist/shims/react-intl.js +37 -0
  381. package/dist/shims/react-jsx-runtime.js +11 -0
  382. package/dist/shims/react-toastify.js +16 -0
  383. package/dist/shims/react.js +52 -0
  384. package/dist/theme.js +34 -0
  385. package/dist/ui.js +20247 -0
  386. package/out/403/index.html +3 -3
  387. package/out/404/index.html +3 -3
  388. package/out/404.html +3 -3
  389. package/out/423/index.html +3 -3
  390. package/out/500/index.html +3 -3
  391. package/out/_next/static/DUswS2PYjGTW9uUGVJ6xd/_buildManifest.js +258 -0
  392. package/out/_next/static/chunks/0-e21p2v90828.js +23 -0
  393. package/out/_next/static/chunks/0-w25xfpw-_e9.js +44 -0
  394. package/out/_next/static/chunks/011h6mc3kuxq9.js +217 -0
  395. package/out/_next/static/chunks/01n5rd9ngv-t4.js +1 -0
  396. package/out/_next/static/chunks/01rghd4wcj4ex.js +5 -0
  397. package/out/_next/static/chunks/03omde6jo6sta.js +1 -0
  398. package/out/_next/static/chunks/06gyzyq56kw_2.js +6 -0
  399. package/out/_next/static/chunks/{2ajr0rk0_yax6.js → 06kqbwwnuu3te.js} +1 -1
  400. package/out/_next/static/chunks/07i53w2a3x0so.js +1 -0
  401. package/out/_next/static/chunks/09irjy-7k1922.js +1 -0
  402. package/out/_next/static/chunks/09kihj6ay6mqn.js +39 -0
  403. package/out/_next/static/chunks/09ml8g7-byzio.js +71 -0
  404. package/out/_next/static/chunks/09yk8jmltcqcd.js +5 -0
  405. package/out/_next/static/chunks/0_m0oaoy22un6.js +5 -0
  406. package/out/_next/static/chunks/0af-w950yl0l5.js +277 -0
  407. package/out/_next/static/chunks/0ah2m5cl87avs.js +935 -0
  408. package/out/_next/static/chunks/0ahfhl4hk0fuj.js +12 -0
  409. package/out/_next/static/chunks/0b4rcc2y1ex8j.js +12 -0
  410. package/out/_next/static/chunks/0buyef0vid-ym.js +224 -0
  411. package/out/_next/static/chunks/0czpir4zjwmos.js +1 -0
  412. package/out/_next/static/chunks/0duy5y86n4tl3.js +5 -0
  413. package/out/_next/static/chunks/0dzn-wes7gjdt.js +33 -0
  414. package/out/_next/static/chunks/{2rmgaa88-4bpb.js → 0e4nzgbtw6x_d.js} +4 -4
  415. package/out/_next/static/chunks/0eb98o1s1ojq7.js +5 -0
  416. package/out/_next/static/chunks/0gow2wyosbjb6.js +71 -0
  417. package/out/_next/static/chunks/0h4ehpg2f7fp2.js +46 -0
  418. package/out/_next/static/chunks/0hgha-mywwcsd.js +8 -0
  419. package/out/_next/static/chunks/0iliy1guwadr4.js +7 -0
  420. package/out/_next/static/chunks/0l0hzoqd-va5-.js +1 -0
  421. package/out/_next/static/chunks/0l1xycyhdztmy.js +46 -0
  422. package/out/_next/static/chunks/0lh8xbz1qulcr.js +15 -0
  423. package/out/_next/static/chunks/0mavm6oemhb-d.js +152 -0
  424. package/out/_next/static/chunks/0nk0kgnsiap5g.js +116 -0
  425. package/out/_next/static/chunks/0o3o1f00j5wxa.js +8 -0
  426. package/out/_next/static/chunks/0pny1c_ni8rn7.js +39 -0
  427. package/out/_next/static/chunks/0q62hlhpcumrt.js +33 -0
  428. package/out/_next/static/chunks/0qkdih-hi6c2m.js +15 -0
  429. package/out/_next/static/chunks/0qz61g2g6ijfh.js +54 -0
  430. package/out/_next/static/chunks/0raj1enjck-ex.js +4 -0
  431. package/out/_next/static/chunks/0rmomvc8u__n4.js +10 -0
  432. package/out/_next/static/chunks/0s0ufx1fl32v7.js +12 -0
  433. package/out/_next/static/chunks/0sgxa66r-iing.js +1 -0
  434. package/out/_next/static/chunks/0sv5w2_cae8tj.js +7 -0
  435. package/out/_next/static/chunks/0u_zr87ce7iu-.js +1 -0
  436. package/out/_next/static/chunks/0ub1l2hrjkz2-.js +1 -0
  437. package/out/_next/static/chunks/0uef4ugmc_g10.js +1 -0
  438. package/out/_next/static/chunks/0uksleo_xd7j5.js +1 -0
  439. package/out/_next/static/chunks/0wbciytf8tnsa.js +18 -0
  440. package/out/_next/static/chunks/0wd1l2f5cin-0.js +4 -0
  441. package/out/_next/static/chunks/0zfm51umxvjc6.js +1 -0
  442. package/out/_next/static/chunks/10enect1zh1vj.js +3 -0
  443. package/out/_next/static/chunks/11e6h7l-whxh3.js +7 -0
  444. package/out/_next/static/chunks/11vnr4kb9qkjr.js +1 -0
  445. package/out/_next/static/chunks/13bcbgywansr-.js +130 -0
  446. package/out/_next/static/chunks/13ytpmhxkpnwy.js +1 -0
  447. package/out/_next/static/chunks/14pnkf7som1m1.js +1 -0
  448. package/out/_next/static/chunks/17nr-ur3sbo_z.js +24 -0
  449. package/out/_next/static/chunks/1802-tohqffps.js +1 -0
  450. package/out/_next/static/chunks/181-yaruteuqm.js +61 -0
  451. package/out/_next/static/chunks/181zsbok_ljo_.js +4 -0
  452. package/out/_next/static/chunks/187p6ryym-x3i.js +5 -0
  453. package/out/_next/static/chunks/198-_r3as1j63.js +8 -0
  454. package/out/_next/static/chunks/19f7gu0kvm7xl.js +7 -0
  455. package/out/_next/static/chunks/19kin-dby998k.js +8 -0
  456. package/out/_next/static/chunks/1aojv48cs6ufj.js +6 -0
  457. package/out/_next/static/chunks/1cs-w7vppvm8o.js +1 -0
  458. package/out/_next/static/chunks/1cz2fp89ssu5d.js +4 -0
  459. package/out/_next/static/chunks/1dedrypk-h8qr.js +1 -0
  460. package/out/_next/static/chunks/1edk56b1rx05q.js +4 -0
  461. package/out/_next/static/chunks/1ew4i-mm087xs.js +4 -0
  462. package/out/_next/static/chunks/1ewn0p_wru2ra.js +15 -0
  463. package/out/_next/static/chunks/1g1na7eoafolj.js +1 -0
  464. package/out/_next/static/chunks/1gfocmey44pyr.js +7 -0
  465. package/out/_next/static/chunks/1grwyry6zqknr.js +100 -0
  466. package/out/_next/static/chunks/1gyt_0aw92ysk.js +5 -0
  467. package/out/_next/static/chunks/1hvvot0p0442h.js +5 -0
  468. package/out/_next/static/chunks/1inbspyz1wpdj.js +1 -0
  469. package/out/_next/static/chunks/1l2p87t0w4-yb.js +8 -0
  470. package/out/_next/static/chunks/1lew6f82bg1x1.js +1 -0
  471. package/out/_next/static/chunks/1nbc2o30_g9bj.js +95 -0
  472. package/out/_next/static/chunks/1nikeez809jr8.js +2 -0
  473. package/out/_next/static/chunks/1p1f35qy1lt0s.js +7 -0
  474. package/out/_next/static/chunks/1p3agrt0e0t9t.js +5 -0
  475. package/out/_next/static/chunks/1p6qsnui0zjik.js +44 -0
  476. package/out/_next/static/chunks/1pbfjibxvspoj.js +5 -0
  477. package/out/_next/static/chunks/1pcrg5m_9agof.js +5 -0
  478. package/out/_next/static/chunks/1rm2w7nvmejdw.js +31 -0
  479. package/out/_next/static/chunks/{1---h4b693b81.js → 1t5wlk2j9d4ss.js} +1 -1
  480. package/out/_next/static/chunks/{12yd8t4k6c0t1.js → 1t8jj0-6g8uyd.js} +1 -1
  481. package/out/_next/static/chunks/1ttpypjue-zdo.js +63 -0
  482. package/out/_next/static/chunks/1uzvaujlk79rn.js +145 -0
  483. package/out/_next/static/chunks/1xnlhfvi8m4a8.js +1 -0
  484. package/out/_next/static/chunks/1y0mbad52vao6.js +5 -0
  485. package/out/_next/static/chunks/1zfhgsywbsg2e.js +5 -0
  486. package/out/_next/static/chunks/1zhfbuv-et-34.js +13 -0
  487. package/out/_next/static/chunks/2-2kg667v82ek.js +171 -0
  488. package/out/_next/static/chunks/21z3-xqp62vs8.js +7 -0
  489. package/out/_next/static/chunks/22odam86c8kps.js +1 -0
  490. package/out/_next/static/chunks/23wfelj92rx3n.js +1 -0
  491. package/out/_next/static/chunks/243ubs_ig9hwo.js +13 -0
  492. package/out/_next/static/chunks/249u7sg_mycfl.js +24 -0
  493. package/out/_next/static/chunks/24_57hr3o_ll8.js +1 -0
  494. package/out/_next/static/chunks/252_8-fyz3vjh.js +9 -0
  495. package/out/_next/static/chunks/25_kx8fsd5k0d.js +5 -0
  496. package/out/_next/static/chunks/26wuxv_gsk3jb.js +30 -0
  497. package/out/_next/static/chunks/26x7o2gzms54c.js +6 -0
  498. package/out/_next/static/chunks/27h86ht8kvqop.js +267 -0
  499. package/out/_next/static/chunks/27tf612b6s-45.js +7 -0
  500. package/out/_next/static/chunks/{3qzrrjb48t2w3.js → 2893194r7ays6.js} +5 -5
  501. package/out/_next/static/chunks/294uscwjocbpf.js +5 -0
  502. package/out/_next/static/chunks/29c8fj1poxxec.js +39 -0
  503. package/out/_next/static/chunks/{439tz_ubj8h-g.js → 29fdom9djvjop.js} +9 -9
  504. package/out/_next/static/chunks/2__om5ddn5b91.js +7 -0
  505. package/out/_next/static/chunks/2_krlw-01uumq.js +119 -0
  506. package/out/_next/static/chunks/2a1m9ia2zp2t9.js +6 -0
  507. package/out/_next/static/chunks/2c2arjke9rx-g.js +14 -0
  508. package/out/_next/static/chunks/2de99go2pdzl3.js +12 -0
  509. package/out/_next/static/chunks/2dnn7jhe55iy8.js +32 -0
  510. package/out/_next/static/chunks/2eac98hmhj8tp.js +5 -0
  511. package/out/_next/static/chunks/2fxjo2s_nsjsa.js +5 -0
  512. package/out/_next/static/chunks/2h_j6q1pnhf07.js +16 -0
  513. package/out/_next/static/chunks/2hthxhwh84ls1.css +1 -0
  514. package/out/_next/static/chunks/2i07f6t3xq708.js +5 -0
  515. package/out/_next/static/chunks/2i6nzzm63658q.js +10 -0
  516. package/out/_next/static/chunks/2ksch2zc9k7uj.js +71 -0
  517. package/out/_next/static/chunks/{1gqd9vrno0rq4.js → 2lh-lsn2en0pp.js} +2 -2
  518. package/out/_next/static/chunks/2luj-95aqr25b.js +1 -0
  519. package/out/_next/static/chunks/2m_p_bx_gsrlf.js +5 -0
  520. package/out/_next/static/chunks/2of_ro6r-fwjx.js +16 -0
  521. package/out/_next/static/chunks/2oyujmi3aqs6f.js +5 -0
  522. package/out/_next/static/chunks/2pumckmhpvlo2.js +23 -0
  523. package/out/_next/static/chunks/2r4x7nghsoqhe.js +7 -0
  524. package/out/_next/static/chunks/2s-226q_lc70k.js +9 -0
  525. package/out/_next/static/chunks/2sc_zg0bvlmak.js +78 -0
  526. package/out/_next/static/chunks/2tlxpweh5c3fh.js +43 -0
  527. package/out/_next/static/chunks/{1_55km6vm5mc0.js → 2w_0wk23uirx6.js} +7 -7
  528. package/out/_next/static/chunks/2wg_0x11ef6uc.js +7 -0
  529. package/out/_next/static/chunks/2zx42lz8zcp91.js +6 -0
  530. package/out/_next/static/chunks/3-l_ott2smmqm.js +7 -0
  531. package/out/_next/static/chunks/30lpu8mp25ag1.js +41 -0
  532. package/out/_next/static/chunks/3168hp9w1h68h.js +68 -0
  533. package/out/_next/static/chunks/3180oblgqnad5.js +194 -0
  534. package/out/_next/static/chunks/32traobkc55z_.js +54 -0
  535. package/out/_next/static/chunks/33s24dpx0eo63.js +2 -0
  536. package/out/_next/static/chunks/{153ec1_-yt3jb.js → 343n05fzlb2an.js} +5 -5
  537. package/out/_next/static/chunks/35odkwyh-md-p.js +59 -0
  538. package/out/_next/static/chunks/35tgy8og7dw73.js +149 -0
  539. package/out/_next/static/chunks/36mjt8cgckx2r.js +1 -0
  540. package/out/_next/static/chunks/37j2g662wreov.js +108 -0
  541. package/out/_next/static/chunks/37vezmh4pf5j4.js +12 -0
  542. package/out/_next/static/chunks/37y01hdz8sxhr.js +1 -0
  543. package/out/_next/static/chunks/38uyt89jy0tt7.js +1 -0
  544. package/out/_next/static/chunks/39-pv-7i0kah_.js +155 -0
  545. package/out/_next/static/chunks/3__spmlu2_ez6.js +41 -0
  546. package/out/_next/static/chunks/3_zgl8ng3nj3g.js +9 -0
  547. package/out/_next/static/chunks/3a6ahlxxtjn1v.js +8 -0
  548. package/out/_next/static/chunks/{1tkvi0wb-x3v8.js → 3ae7hwg50q67p.js} +2 -2
  549. package/out/_next/static/chunks/3btzusax1chra.js +36 -0
  550. package/out/_next/static/chunks/3ciuktttw5i71.js +277 -0
  551. package/out/_next/static/chunks/{2ho4591ngh3y2.js → 3d0cucf7-qlz9.js} +6 -6
  552. package/out/_next/static/chunks/3d2mjl6ls12h_.js +5 -0
  553. package/out/_next/static/chunks/3dxz87hw4lx39.js +1 -0
  554. package/out/_next/static/chunks/3f2rrfc7u_j6o.js +1 -0
  555. package/out/_next/static/chunks/3fvf-l1-bp--9.js +5 -0
  556. package/out/_next/static/chunks/3hubf9lb56zls.js +7 -0
  557. package/out/_next/static/chunks/3hxp-xwv4g3ek.js +1 -0
  558. package/out/_next/static/chunks/3ljqspad_536i.js +4 -0
  559. package/out/_next/static/chunks/3mnca5jc1q8c_.js +43 -0
  560. package/out/_next/static/chunks/{0q2e8h8498pvo.js → 3qqhr2o1soxh_.js} +1 -1
  561. package/out/_next/static/chunks/3skw31vkshyt2.js +1 -0
  562. package/out/_next/static/chunks/3szdkqecej3fb.js +1 -0
  563. package/out/_next/static/chunks/3t-6admtmkzzy.js +39 -0
  564. package/out/_next/static/chunks/3t1q9dc-nlr3j.js +1 -0
  565. package/out/_next/static/chunks/3u6_-nj6i_l_r.js +1 -0
  566. package/out/_next/static/chunks/3uekb_s0jaboj.js +1 -0
  567. package/out/_next/static/chunks/3uql2yuaknc-3.js +1 -0
  568. package/out/_next/static/chunks/3vf-3rhaiq_n1.js +6 -0
  569. package/out/_next/static/chunks/3xtawjchyn0qb.js +1 -0
  570. package/out/_next/static/chunks/3xze13c1irm_5.js +1 -0
  571. package/out/_next/static/chunks/3ylglplnmhho2.js +5 -0
  572. package/out/_next/static/chunks/3ym4exwo-py5d.js +23 -0
  573. package/out/_next/static/chunks/3yre4w19nehxf.js +1 -0
  574. package/out/_next/static/chunks/3z51ql4pljujr.js +81 -0
  575. package/out/_next/static/chunks/3zhcq27e8jjni.js +28 -0
  576. package/out/_next/static/chunks/40fs5lh83_iox.js +1 -0
  577. package/out/_next/static/chunks/40kvqov4hgd5s.js +31 -0
  578. package/out/_next/static/chunks/40trlm34cnu6v.js +108 -0
  579. package/out/_next/static/chunks/43n5979c79f0d.js +1 -0
  580. package/out/_next/static/chunks/{turbopack-2c3mg3r-05n1w.js → turbopack-077hmtqrhcoji.js} +1 -1
  581. package/out/_offline/index.html +3 -3
  582. package/out/account/forgot-password/index.html +3 -3
  583. package/out/account/index.html +3 -3
  584. package/out/assortments/AssortmentDetailPage/index.html +3 -3
  585. package/out/assortments/index.html +3 -3
  586. package/out/assortments/new/index.html +3 -3
  587. package/out/copilot/index.html +3 -3
  588. package/out/country/CountryDetailPage/index.html +3 -3
  589. package/out/country/index.html +3 -3
  590. package/out/country/new/index.html +3 -3
  591. package/out/currency/CurrencyDetailPage/index.html +3 -3
  592. package/out/currency/index.html +3 -3
  593. package/out/currency/new/index.html +3 -3
  594. package/out/delivery-provider/DeliveryProviderDetailPage/index.html +3 -3
  595. package/out/delivery-provider/index.html +3 -3
  596. package/out/delivery-provider/new/index.html +3 -3
  597. package/out/enrollments/EnrollmentDetailPage/index.html +3 -3
  598. package/out/enrollments/index.html +3 -3
  599. package/out/events/EventDetailPage/index.html +3 -3
  600. package/out/events/index.html +3 -3
  601. package/out/exports/index.html +3 -3
  602. package/out/external/index.html +3 -3
  603. package/out/filters/FilterDetailPage/index.html +3 -3
  604. package/out/filters/index.html +3 -3
  605. package/out/filters/new/index.html +3 -3
  606. package/out/index.html +3 -3
  607. package/out/install/index.html +3 -3
  608. package/out/language/LanguageDetailPage/index.html +3 -3
  609. package/out/language/index.html +3 -3
  610. package/out/language/new/index.html +3 -3
  611. package/out/log-in/index.html +3 -3
  612. package/out/manifest.json +48 -0
  613. package/out/orders/OrderDetailPage/index.html +3 -3
  614. package/out/orders/index.html +3 -3
  615. package/out/payment-provider/PaymentProviderDetailPage/index.html +3 -3
  616. package/out/payment-provider/index.html +3 -3
  617. package/out/payment-provider/new/index.html +3 -3
  618. package/out/products/ProductDetailPage/index.html +3 -3
  619. package/out/products/index.html +3 -3
  620. package/out/products/new/index.html +3 -3
  621. package/out/quotations/QuotationDetailPage/index.html +3 -3
  622. package/out/quotations/index.html +3 -3
  623. package/out/reset-password/index.html +3 -3
  624. package/out/sign-up/index.html +3 -3
  625. package/out/styleguide/index.html +3 -3
  626. package/out/tokens/TokenDetailPage/index.html +3 -3
  627. package/out/tokens/index.html +3 -3
  628. package/out/users/UserDetailPage/index.html +3 -3
  629. package/out/users/index.html +3 -3
  630. package/out/users/new/index.html +3 -3
  631. package/out/verify-email/index.html +3 -3
  632. package/out/warehousing-provider/WarehousingProviderDetailPage/index.html +3 -3
  633. package/out/warehousing-provider/index.html +3 -3
  634. package/out/warehousing-provider/new/index.html +3 -3
  635. package/out/works/WorkDetailPage/index.html +3 -3
  636. package/out/works/WorkQueueListView/index.html +3 -3
  637. package/out/works/index.html +3 -3
  638. package/out/works/management/index.html +3 -3
  639. package/package.json +2 -2
  640. package/out/_next/static/chunks/0-_s79k4_7ei_.js +0 -5
  641. package/out/_next/static/chunks/00aks9rqke2x0.js +0 -7
  642. package/out/_next/static/chunks/00az81dk4vdda.js +0 -54
  643. package/out/_next/static/chunks/01e4gd649r2tq.js +0 -7
  644. package/out/_next/static/chunks/01j2wi94k90x0.js +0 -5
  645. package/out/_next/static/chunks/043i-g05cyvrd.js +0 -1
  646. package/out/_next/static/chunks/04kyktzbxprj0.js +0 -61
  647. package/out/_next/static/chunks/05p330iybjojg.js +0 -44
  648. package/out/_next/static/chunks/05qk8ozexvlxp.js +0 -5
  649. package/out/_next/static/chunks/06i50j458a7g5.js +0 -12
  650. package/out/_next/static/chunks/07o9g5hqfpvjc.js +0 -12
  651. package/out/_next/static/chunks/08o61gwabp3h1.js +0 -33
  652. package/out/_next/static/chunks/0_bvgo8ev4gs7.js +0 -7
  653. package/out/_next/static/chunks/0a5nr3-_q7xx1.js +0 -100
  654. package/out/_next/static/chunks/0amj69l-d5-85.js +0 -1
  655. package/out/_next/static/chunks/0b05sca2hdcys.js +0 -30
  656. package/out/_next/static/chunks/0c3kwkqr9evm4.js +0 -5
  657. package/out/_next/static/chunks/0c4jv8pwvpxei.js +0 -1
  658. package/out/_next/static/chunks/0c7ljn9lo_0oh.js +0 -5
  659. package/out/_next/static/chunks/0ewr86ctcw7fx.js +0 -1
  660. package/out/_next/static/chunks/0jham55cr3rhy.js +0 -81
  661. package/out/_next/static/chunks/0lr7o7tyjmrmf.js +0 -8
  662. package/out/_next/static/chunks/0mx8opz23nwlb.js +0 -5
  663. package/out/_next/static/chunks/0n3ixknyc6_ma.js +0 -1
  664. package/out/_next/static/chunks/0o0e82-3pc7ur.js +0 -78
  665. package/out/_next/static/chunks/0ohk7l49gjm62.js +0 -5
  666. package/out/_next/static/chunks/0p31l6a9hynnt.js +0 -6
  667. package/out/_next/static/chunks/0qa-zbgmv-k3p.js +0 -9
  668. package/out/_next/static/chunks/0qj3xdz043z8l.js +0 -12
  669. package/out/_next/static/chunks/0skst735jufgh.js +0 -71
  670. package/out/_next/static/chunks/0t28q5fb2jp-6.js +0 -8
  671. package/out/_next/static/chunks/0tmamaq8exyij.js +0 -1
  672. package/out/_next/static/chunks/0ydy3ky15gx62.js +0 -1
  673. package/out/_next/static/chunks/0zh311lu9jf2x.js +0 -5
  674. package/out/_next/static/chunks/0zpyyygbqx3pf.js +0 -152
  675. package/out/_next/static/chunks/0zzoylv2rl1xu.js +0 -3
  676. package/out/_next/static/chunks/10m_etq9t2pkv.js +0 -7
  677. package/out/_next/static/chunks/11ehf3t7qzbua.js +0 -4
  678. package/out/_next/static/chunks/11go520d1hcm5.js +0 -1
  679. package/out/_next/static/chunks/16le3cqxj12u6.js +0 -5
  680. package/out/_next/static/chunks/16zxfacsu_jbq.js +0 -1
  681. package/out/_next/static/chunks/17fibl49qtd6c.js +0 -8
  682. package/out/_next/static/chunks/182l1mlbf0glb.js +0 -1
  683. package/out/_next/static/chunks/18xyj4i_i5lyn.js +0 -6
  684. package/out/_next/static/chunks/1aej6iqnlr74p.js +0 -1
  685. package/out/_next/static/chunks/1asbed4hne69c.js +0 -7
  686. package/out/_next/static/chunks/1c60nzy_x4kez.js +0 -277
  687. package/out/_next/static/chunks/1c77vl6xdqfd4.js +0 -15
  688. package/out/_next/static/chunks/1da89agg-nacc.js +0 -224
  689. package/out/_next/static/chunks/1f7-0l47bx76m.js +0 -13
  690. package/out/_next/static/chunks/1fbsyczyh9hwh.js +0 -1
  691. package/out/_next/static/chunks/1g96s7-fwvokd.js +0 -2
  692. package/out/_next/static/chunks/1hih2cxmgqcd3.js +0 -10
  693. package/out/_next/static/chunks/1hviha1jcz_og.js +0 -4
  694. package/out/_next/static/chunks/1il9vuoxtb2_n.js +0 -43
  695. package/out/_next/static/chunks/1jaatdt0mlypl.js +0 -16
  696. package/out/_next/static/chunks/1l4g6_of_bbr8.js +0 -5
  697. package/out/_next/static/chunks/1lezxecnoaxnn.js +0 -32
  698. package/out/_next/static/chunks/1m27au_nmk8_k.js +0 -71
  699. package/out/_next/static/chunks/1m4fwgl1mj4d-.js +0 -46
  700. package/out/_next/static/chunks/1ma82ip9shpkc.js +0 -24
  701. package/out/_next/static/chunks/1nbh1zkzirnuw.js +0 -1
  702. package/out/_next/static/chunks/1nohf8_cc6gmw.js +0 -9
  703. package/out/_next/static/chunks/1os6pvhjeb16o.js +0 -1
  704. package/out/_next/static/chunks/1qi5yjvzxspwv.js +0 -15
  705. package/out/_next/static/chunks/1rsexg6dg82f0.js +0 -7
  706. package/out/_next/static/chunks/1s9v5dndopkuz.js +0 -12
  707. package/out/_next/static/chunks/1sksqjru86hlm.js +0 -1
  708. package/out/_next/static/chunks/1u79pcgqjgjpq.js +0 -1
  709. package/out/_next/static/chunks/1uqiaqtv_0v2x.js +0 -5
  710. package/out/_next/static/chunks/1wnuiwsbi70eq.js +0 -116
  711. package/out/_next/static/chunks/1x8o-luxdxxk7.js +0 -1
  712. package/out/_next/static/chunks/1yjb7gogaf8po.js +0 -31
  713. package/out/_next/static/chunks/1zyhzessv0wtg.js +0 -1
  714. package/out/_next/static/chunks/2-pl31kdikt3k.js +0 -5
  715. package/out/_next/static/chunks/20c4_1i5r3kkz.js +0 -1
  716. package/out/_next/static/chunks/20f2gs8iua6fk.js +0 -1
  717. package/out/_next/static/chunks/20zdaln201w8j.js +0 -277
  718. package/out/_next/static/chunks/21l46nbaop06z.js +0 -39
  719. package/out/_next/static/chunks/22-o32hlte36e.js +0 -130
  720. package/out/_next/static/chunks/231j2_p-ha14w.js +0 -7
  721. package/out/_next/static/chunks/23s2f7_-ol94s.js +0 -8
  722. package/out/_next/static/chunks/26_mx-ritu68j.js +0 -24
  723. package/out/_next/static/chunks/26ckmxeluyknq.js +0 -1
  724. package/out/_next/static/chunks/26r0y7ldf3iqs.js +0 -6
  725. package/out/_next/static/chunks/27fzoozwycagi.js +0 -6
  726. package/out/_next/static/chunks/27jmq7a-vh0b4.js +0 -7
  727. package/out/_next/static/chunks/283567a82x9qi.js +0 -149
  728. package/out/_next/static/chunks/29he8uukp5s4u.js +0 -31
  729. package/out/_next/static/chunks/2adglo0sf0jcg.js +0 -905
  730. package/out/_next/static/chunks/2b4ewxxz6f462.js +0 -7
  731. package/out/_next/static/chunks/2bh2dv7j9m8c8.css +0 -1
  732. package/out/_next/static/chunks/2bi8v13lm76lr.js +0 -95
  733. package/out/_next/static/chunks/2burvpf9877y_.js +0 -44
  734. package/out/_next/static/chunks/2cj703xtrf5i6.js +0 -46
  735. package/out/_next/static/chunks/2cj8g3fxmitaa.js +0 -1
  736. package/out/_next/static/chunks/2ec7xatyld40t.js +0 -7
  737. package/out/_next/static/chunks/2hoi6cb1lromr.js +0 -4
  738. package/out/_next/static/chunks/2i5k6tlwd58hp.js +0 -1
  739. package/out/_next/static/chunks/2iy0jr00qhq-q.js +0 -5
  740. package/out/_next/static/chunks/2jonbba27xy3u.js +0 -14
  741. package/out/_next/static/chunks/2m0rrts8gwqwp.js +0 -1
  742. package/out/_next/static/chunks/2m_u12ggzosat.js +0 -5
  743. package/out/_next/static/chunks/2mdns56l5antm.js +0 -5
  744. package/out/_next/static/chunks/2mrbytgs3uetd.js +0 -4
  745. package/out/_next/static/chunks/2p9gwjxeui1zd.js +0 -71
  746. package/out/_next/static/chunks/2pfhy9qy_cijn.js +0 -5
  747. package/out/_next/static/chunks/2q5k4rozyr2wt.js +0 -4
  748. package/out/_next/static/chunks/2qx8nnki_qv5v.js +0 -171
  749. package/out/_next/static/chunks/2r_rj84l3cy7r.js +0 -119
  750. package/out/_next/static/chunks/2rb1-3t3-sv5s.js +0 -8
  751. package/out/_next/static/chunks/2swxmzb-xk_bo.js +0 -108
  752. package/out/_next/static/chunks/2t0biwx5e_4w_.js +0 -1
  753. package/out/_next/static/chunks/2ts3v72jkbcdr.js +0 -7
  754. package/out/_next/static/chunks/2vfexvltv2avy.js +0 -5
  755. package/out/_next/static/chunks/2vveotzevnkfp.js +0 -1
  756. package/out/_next/static/chunks/2wkg65dtx56je.js +0 -155
  757. package/out/_next/static/chunks/2wmsx4gjbgvfv.js +0 -18
  758. package/out/_next/static/chunks/2xixk0t9e9mnw.js +0 -1
  759. package/out/_next/static/chunks/2xz7hnr9ikqzq.js +0 -7
  760. package/out/_next/static/chunks/2y1lq1efnvcdt.js +0 -23
  761. package/out/_next/static/chunks/2ziasg8l_c9n7.js +0 -5
  762. package/out/_next/static/chunks/3-wsablhqgzoa.js +0 -1
  763. package/out/_next/static/chunks/30ppb2wc-m4ph.js +0 -1
  764. package/out/_next/static/chunks/336k08jwyc5i-.js +0 -1
  765. package/out/_next/static/chunks/33d061qpkafqm.js +0 -39
  766. package/out/_next/static/chunks/33fyy6d5mo55_.js +0 -8
  767. package/out/_next/static/chunks/33kh18frqc3b1.js +0 -5
  768. package/out/_next/static/chunks/33v05ol-ire9s.js +0 -10
  769. package/out/_next/static/chunks/33yzdcbu7w60l.js +0 -13
  770. package/out/_next/static/chunks/348l8p7-vo4l5.js +0 -63
  771. package/out/_next/static/chunks/35hu5vin0swdf.js +0 -41
  772. package/out/_next/static/chunks/37a6yquh875rn.js +0 -39
  773. package/out/_next/static/chunks/3_2i9du5-ffrp.js +0 -59
  774. package/out/_next/static/chunks/3_84h3z_tewmg.js +0 -145
  775. package/out/_next/static/chunks/3bo7uiy-wh63m.js +0 -108
  776. package/out/_next/static/chunks/3c-an5ft_3emc.js +0 -1
  777. package/out/_next/static/chunks/3d_222ci0_30_.js +0 -41
  778. package/out/_next/static/chunks/3dldch03dfaed.js +0 -1
  779. package/out/_next/static/chunks/3eedy49gsvv_t.js +0 -1
  780. package/out/_next/static/chunks/3fayuejnrsd90.js +0 -15
  781. package/out/_next/static/chunks/3fqonijzsxy8u.js +0 -28
  782. package/out/_next/static/chunks/3g1ale0hytu9q.js +0 -12
  783. package/out/_next/static/chunks/3k3gvr7-e3g_s.js +0 -5
  784. package/out/_next/static/chunks/3kwoyyxi_-q7m.js +0 -1
  785. package/out/_next/static/chunks/3le1bywe19_u9.js +0 -1
  786. package/out/_next/static/chunks/3lku4-9kpf-mj.js +0 -267
  787. package/out/_next/static/chunks/3lz5h1tw50wr_.js +0 -54
  788. package/out/_next/static/chunks/3oq-khgfpo0nx.js +0 -39
  789. package/out/_next/static/chunks/3ps25ocfalcap.js +0 -43
  790. package/out/_next/static/chunks/3q3m075m4bxz1.js +0 -2
  791. package/out/_next/static/chunks/3r0i-7zjuz9i1.js +0 -6
  792. package/out/_next/static/chunks/3rgn5xwtr51ul.js +0 -7
  793. package/out/_next/static/chunks/3ridg_u19b6ih.js +0 -8
  794. package/out/_next/static/chunks/3skzk-w2ytvku.js +0 -5
  795. package/out/_next/static/chunks/3srw10h0hcztd.js +0 -68
  796. package/out/_next/static/chunks/3tgrftdet8sna.js +0 -15
  797. package/out/_next/static/chunks/3uax_eq1kjjta.js +0 -1
  798. package/out/_next/static/chunks/3uj94afpsi6cs.js +0 -1
  799. package/out/_next/static/chunks/3vgurvjr6hkyv.js +0 -4
  800. package/out/_next/static/chunks/3viepyovs19ub.js +0 -23
  801. package/out/_next/static/chunks/3vnzp3n_wd3j_.js +0 -1
  802. package/out/_next/static/chunks/3w8h5lxnd0z4z.js +0 -1
  803. package/out/_next/static/chunks/3wh4xa9dnw-55.js +0 -194
  804. package/out/_next/static/chunks/3wlvio5id54ow.js +0 -5
  805. package/out/_next/static/chunks/3wzvscqui-9ml.js +0 -23
  806. package/out/_next/static/chunks/3y8h3g1tqukrv.js +0 -36
  807. package/out/_next/static/chunks/3zcilnj6p9-t5.js +0 -1
  808. package/out/_next/static/chunks/3zmmdm68s05-t.js +0 -217
  809. package/out/_next/static/chunks/40l5d7o95aw37.js +0 -4
  810. package/out/_next/static/chunks/417kn9hki8k81.js +0 -33
  811. package/out/_next/static/chunks/41p3ng89i5lem.js +0 -5
  812. package/out/_next/static/chunks/42mofxcd0l7qi.js +0 -1
  813. package/out/_next/static/chunks/43hfssep7ry-z.js +0 -5
  814. package/out/_next/static/chunks/45bcpjurhxb-j.js +0 -1
  815. package/out/_next/static/jOx5PlckLwWIJ5yrvePdU/_buildManifest.js +0 -258
  816. /package/out/_next/static/{jOx5PlckLwWIJ5yrvePdU → DUswS2PYjGTW9uUGVJ6xd}/_clientMiddlewareManifest.js +0 -0
  817. /package/out/_next/static/{jOx5PlckLwWIJ5yrvePdU → DUswS2PYjGTW9uUGVJ6xd}/_ssgManifest.js +0 -0
@@ -0,0 +1,10 @@
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,92168,(e,t,r)=>{let s="/assortments/new";(window.__NEXT_P=window.__NEXT_P||[]).push([s,()=>e.r(21799)]),t.hot&&t.hot.dispose(function(){window.__NEXT_P.push([s])})},61494,e=>{"use strict";var t=e.i(91398),r=e.i(41158),s=e.i(3828),a=e.i(3326);e.s(["f",0,({routeName:e=null,currentPageTitle:l=null,depth:o=null})=>{let n=(0,s.useRouter)(),{formatMessage:i}=(0,a.S)(),d={home:"home",products:"products",orders:"orders",users:"users",assortments:"assortments",filters:"filters",tokens:"tokens",quotations:"quotations",enrollments:"enrollments",activities:"activities",works:"work_queue",events:"events",currency:"currencies",country:"countries",language:"languages","delivery-provider":"delivery_providers","payment-provider":"payment_providers","warehousing-provider":"warehousing_provider",system:"system",account:"account",new:"new",edit:"edit"},u=n.asPath?.split("/")?.filter((e,t)=>n.asPath?.split("/")?.indexOf(e)===t);if(1===u.length)return null;let c="";o&&u.splice(o),e&&(u[u.length-1]=e);let f=u?.map(t=>{if(c+=`${t}/`,!t)return{name:i({id:"home",defaultMessage:"Home"}),path:"/"};let r=t?.split("?")[0],s=e?r:r.replace(/-/g," "),a=d[r];return{name:a?i({id:a,defaultMessage:s}):decodeURIComponent(s),path:c.replace(/.$/,"")}});return(0,t.jsx)("nav",{className:"mb-5 hidden sm:flex lg:mt-5 lg:mb-8","aria-label":"Breadcrumb",children:(0,t.jsx)("ol",{className:"flex items-center space-x-4",children:f?.map((e,s)=>(0,t.jsx)("li",{children:(0,t.jsxs)("div",{className:"flex items-center",children:[0!==s&&(0,t.jsx)("svg",{className:"mr-4 h-5 w-5 shrink-0 text-slate-400",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:"M7.293 14.707a1 1 0 010-1.414L10.586 10 7.293 6.707a1 1 0 011.414-1.414l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414 0z",clipRule:"evenodd"})}),(0,t.jsx)(r.default,{href:e.path,className:"text-sm font-medium capitalize text-slate-500 dark:text-slate-400 dark:hover:text-slate-300 hover:text-slate-700 focus:outline-hidden focus:ring-2 focus:ring-slate-800 rounded-md px-1 py-1",children:s===f.length-1&&l?l:e.name})]})},e.path))})})}])},81013,e=>{"use strict";var t=e.i(91398),r=e.i(72043);e.s(["f",0,({text:e,children:s,onClick:a,className:l="",disabled:o=!1,id:n="",variant:i="primary",size:d="md",type:u="button",loading:c=!1,icon:f,iconRight:m,fullWidth:p=!1,rounded:b="md",ariaLabel:x,...g})=>{let h=s||e,y=(f||m)&&h?"gap-2":"";return(0,t.jsx)("button",{id:n,type:u,disabled:o||c,onClick:a,"aria-label":x,className:(0,r.default)("inline-flex items-center justify-center font-medium shadow-xs focus:outline-hidden focus:ring-2 focus:ring-offset-2 transition-colors duration-200 disabled:cursor-not-allowed disabled:opacity-50",{xs:"px-2.5 py-1.5 text-xs h-6",sm:"px-3 py-2 text-sm h-8",md:"px-4 py-2 text-sm h-9",lg:"px-6 py-3 text-base h-11"}[d],{none:"rounded-none",sm:"rounded-sm",md:"rounded-md",lg:"rounded-lg",full:"rounded-full"}[b],{primary:"border border-slate-800 dark:border-slate-600 bg-slate-800 dark:bg-slate-600 text-white hover:bg-slate-900 dark:hover:bg-slate-500 focus:ring-slate-800 dark:focus:ring-slate-400",secondary:"border border-slate-300 dark:border-slate-600 bg-white dark:bg-slate-800 text-slate-700 dark:text-slate-200 hover:bg-slate-50 dark:hover:bg-slate-700 focus:ring-slate-500",tertiary:"border border-slate-200 dark:border-slate-700 bg-slate-50 dark:bg-slate-800 text-slate-600 dark:text-slate-300 hover:bg-slate-100 dark:hover:bg-slate-700 focus:ring-slate-400",quaternary:"bg-transparent text-slate-700 dark:text-slate-200 hover:bg-slate-100 dark:hover:bg-slate-800 focus:ring-slate-400",danger:"border border-rose-500 dark:border-rose-400 bg-white dark:bg-slate-800 text-rose-600 dark:text-rose-400 hover:bg-rose-50 dark:hover:bg-rose-900/10 focus:ring-rose-500",ghost:"bg-transparent border border-transparent text-slate-600 dark:text-slate-400 hover:text-slate-900 dark:hover:text-slate-200 hover:bg-slate-100 dark:hover:bg-slate-800 focus:ring-slate-400",success:"border border-emerald-500 dark:border-emerald-400 bg-emerald-50 dark:bg-emerald-900/20 text-emerald-600 dark:text-emerald-400 hover:bg-emerald-100 dark:hover:bg-emerald-900/30 focus:ring-emerald-500",neutral:"border border-slate-300 dark:border-slate-600 bg-slate-100 dark:bg-slate-700 text-slate-600 dark:text-slate-300 hover:bg-slate-200 dark:hover:bg-slate-600 focus:ring-slate-400",input:"border border-slate-300 dark:border-slate-600 bg-white dark:bg-slate-800 text-slate-900 dark:text-slate-100 hover:border-slate-400 dark:hover:border-slate-500 focus:ring-slate-500 focus:border-slate-500"}[i],y,{"w-full":p},l),...g,children:c?(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)("div",{className:"w-4 h-4 border-2 border-current border-t-transparent rounded-full animate-spin"}),h]}):(0,t.jsxs)(t.Fragment,{children:[f,h,m]})})}])},11056,e=>{"use strict";var t=e.i(91398),r=e.i(91788),s=e.i(5505),a=e.i(57561);e.s(["f",0,({children:e,onlyFull:l=!1})=>{let{languageDialectList:o,selectedLocale:n,setSelectedLocale:i}=(0,a.f)(),d=(0,r.useContext)(s.W),u=o.filter(e=>!l||e.isoCode.includes("-"));return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:`w-fit mt-5 mb-3 ${d?"ml-5":""}`,children:(0,t.jsx)("select",{id:"locale-wrapper",className:"cursor-pointer rounded-md border-1 border-slate-300 dark:border-slate-700 py-1 pr-8 text-sm lg:py-1 lg:pr-10 text-black dark:text-white dark:bg-slate-800 shadow-xs focus:outline-hidden focus:ring-2 focus:ring-slate-800",value:n||"",onChange:e=>{e.stopPropagation(),i(e.target.value)},children:u?.map(e=>(0,t.jsx)("option",{value:e.isoCode,children:e.isoCode},e._id))})}),(0,t.jsx)("div",{children:r.default.cloneElement(e)})]})}])},17644,e=>{"use strict";var t=e.i(91398),r=e.i(58678),s=e.i(41158),a=e.i(3326),l=e.i(37369),o=e.i(81013);e.s(["f",0,({headerText:e=null,onEdit:n=null,onDelete:i=null,children:d=null,title:u=null,addPath:c=null,addButtonText:f=null})=>{let{formatMessage:m}=(0,a.S)();return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(r.default,{children:(0,t.jsxs)("title",{children:["Unchained AdminUI - ",u||e," "]})}),(0,t.jsx)("div",{className:"flex gap-3 flex-wrap items-center justify-between",children:(0,t.jsxs)("div",{className:"flex items-center flex-wrap justify-between w-full gap-4",children:[e&&(0,t.jsx)("h2",{className:"text-2xl font-medium text-slate-900 dark:text-slate-300 sm:truncate sm:text-3xl lg:text-4xl",children:e}),(0,t.jsxs)("div",{className:"flex items-center gap-3 flex-shrink-0",children:[d,c&&(0,t.jsx)(s.default,{href:c,children:(0,t.jsx)(o.f,{variant:"secondary",icon:(0,t.jsx)(l.f,{className:"h-5 w-5"}),text:f||m({id:"add",defaultMessage:"Add"})})}),n&&(0,t.jsx)(o.f,{variant:"secondary",onClick:n,text:m({id:"edit",defaultMessage:"Edit"})}),i&&(0,t.jsx)(o.f,{variant:"danger",onClick:i,text:m({id:"delete",defaultMessage:"Delete"})})]})]})})]})}])},64591,e=>{"use strict";var t=e.i(91398),r=e.i(72043),s=e.i(3828),a=e.i(83147);e.s(["f",0,({toggleText:e="",toggleKey:l=null,onToggle:o=null,active:n=!1,className:i="",disabled:d=!1,...u})=>{let c=(0,s.useRouter)(),f=c?.query?.[l]==="true"||n;return(0,t.jsxs)("div",{className:(0,r.default)("",i),children:[(0,t.jsxs)("button",{id:l,disabled:d,type:"button",className:(0,r.default)("relative inline-flex h-3.5 w-9 shrink-0 cursor-pointer rounded-full border-1 border-transparent transition-all duration-200 ease-in-out focus:outline-hidden focus:ring-2 focus:ring-slate-400 focus:ring-offset-2",{"bg-slate-200 dark:bg-slate-700":!f,"bg-emerald-500 dark:bg-emerald-600 shadow-sm":f}),role:"switch",onClick:o||(()=>{let{skip:e,...t}=c.query;c.push({query:(0,a._)(t,!f,l)})}),"aria-checked":f?"true":"false",...u,children:[(0,t.jsx)("span",{className:"sr-only",children:e}),(0,t.jsxs)("span",{className:(0,r.default)("ml-0.5 pointer-events-none relative inline-block h-3 w-3 transform rounded-full bg-white shadow-sm ring-0 transition-all duration-200 ease-in-out",{"translate-x-5 shadow-md":f,"translate-x-0":!f}),children:[(0,t.jsx)("span",{className:(0,r.default)("absolute inset-0 flex h-full w-full items-center justify-center transition-opacity",{"opacity-0 duration-100 ease-out":f,"opacity-100 duration-200 ease-in":!f}),"aria-hidden":"true",children:(0,t.jsx)("svg",{className:"h-3 w-3 text-slate-400",fill:"none",viewBox:"0 0 12 12",children:(0,t.jsx)("path",{d:"M4 8l2-2m0 0l2-2M6 6L4 4m2 2l2 2",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})}),(0,t.jsx)("span",{className:(0,r.default)("absolute inset-0 flex h-full w-full items-center justify-center transition-opacity",{"opacity-100 duration-200 ease-in":f,"opacity-0 duration-100 ease-out":!f}),"aria-hidden":"true",children:(0,t.jsx)("svg",{className:"h-3 w-3 text-emerald-500",fill:"currentColor",viewBox:"0 0 12 12",children:(0,t.jsx)("path",{d:"M3.707 5.293a1 1 0 00-1.414 1.414l1.414-1.414zM5 8l-.707.707a1 1 0 001.414 0L5 8zm4.707-3.293a1 1 0 00-1.414-1.414l1.414 1.414zm-7.414 2l2 2 1.414-1.414-2-2-1.414 1.414zm3.414 2l4-4-1.414-1.414-4 4 1.414 1.414z"})})})]})]}),(0,t.jsx)("span",{className:"ml-3",id:"annual-billing-label",children:(0,t.jsx)("span",{className:"text-sm font-medium text-slate-900 dark:text-slate-200",children:e})})]})}])},73319,e=>{"use strict";let t=e=>"[object Object]"===Object.prototype.toString.call(e);e.s(["Q",0,e=>decodeURIComponent(e||[])?.split(",")?.filter(Boolean),"C",0,t,"T",0,e=>!(!e||null==e||t(e)&&!Object.keys(e).length||Array.isArray(e)&&!e.length)])},83147,e=>{"use strict";let t=e=>e&&e?.split(",").reduce((e,t)=>{let[r=null,s=null]=(t||"")?.split("_")||[];return{...e,[r]:s}},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,r=!0)=>{if(!t)return"";try{return`${new Intl.DisplayNames([e],{type:"region"}).of(t)} ${r?`(${t})`:""}`}catch{return t}},"j",0,(e,t,r=!0)=>{if(!t)return"";try{return`${new Intl.DisplayNames([e],{type:"currency"}).of(t)} ${r?`(${t})`:""}`}catch{return t}},"I",0,(e,t,r=!0)=>{if(!t)return"";try{return`${new Intl.DisplayNames([e],{type:"language"}).of(t)} ${r?`(${t})`:""}`}catch{return t}},"_",0,(e,t,r)=>{let s;return s=r?{...e,[r]:t}:e,Object.keys(s)?.map(e=>[e,s[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:r}=e||{};return new Intl.NumberFormat(navigator.language,{style:"currency",currency:r}).format(t/100)}})])},72094,e=>{"use strict";var t=e.i(91398),r=e.i(91788),s=e.i(61898);let a=(e,t="")=>Object.fromEntries(Object.entries(e).reduce((e=[],[s,l])=>"string"==typeof l||r.default.isValidElement(l)?[...e,[`${t}${s}`,l]]:[...Object.entries(a(Object.assign({},...l),`${t}${s}.`)),...e],[])),l=({submitError:e="",fieldErrors:s=[]})=>(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(a(s)).map(([e,s])=>(0,t.jsx)("li",{className:"disabled",children:(0,t.jsx)("button",{type:"button",className:"no-button text-rose-600 dark:text-rose-400","aria-label":"Error button",onClick:()=>{let t=document.getElementById(e);t&&t.focus()},children:r.default.isValidElement(s)?s:(0,t.jsx)("span",{dangerouslySetInnerHTML:{__html:s}})})},e))]})});e.s(["f",0,({displayFieldErrors:e=!1})=>{let{submitError:r,formik:a}=(0,s.f)(),o=a?.errors;return(r||e)&&(0,t.jsx)(l,{submitError:r,fieldErrors:e&&o})}])},99160,e=>{"use strict";var t=e.i(91398),r=e.i(72043),s=e.i(38865),a=e.i(61898);e.s(["f",0,({label:e,disabled:l=!1,className:o="",hidden:n=!1,...i})=>{let d=(0,s.m)(),{...u}=i,c=Object.fromEntries(Object.keys(d.initialValues).map(e=>[e,d.getFieldMeta(e)])),{disabled:f}=(0,a.f)(),m=Object.values(c).reduce((e,{error:t,touched:r})=>e||t&&r,!1),p=l||f||d.isSubmitting||m,b=d.isSubmitting&&!m,x=(l||f||m)&&!d.isSubmitting;return(0,t.jsx)("input",{className:(0,r.default)("inline-flex cursor-pointer justify-center rounded-sm border border-slate-300 px-4 py-2 text-center text-sm font-medium leading-5 shadow-sm hover:shadow-md focus:ring-slate-800 dark:focus:ring-slate-400",o,{"bg-rose-50 dark:bg-slate-800 dark:text-rose-300 cursor-not-allowed border-rose-300 dark:border-rose-600 text-rose-900":x,"bg-slate-600 dark:bg-slate-700 text-white cursor-not-allowed border-slate-400 dark:border-slate-600":b,"bg-slate-800 dark:bg-slate-600 text-white hover:bg-slate-900 dark:hover:bg-slate-500 focus:outline-hidden focus:ring-2 focus:ring-offset-2 border-transparent":!p,hidden:n}),"aria-label":e,type:"submit",value:e,disabled:p,...u})}])},45229,e=>{"use strict";var t=e.i(91398),r=e.i(72043),s=e.i(82226),a=e.i(60741),l=e.i(29691);e.s(["f",0,({maxLength:e=0,validators:o=[],...n})=>{let i=(0,a.f)({validators:[...o,e&&(0,s.f)(e)],...n});return(0,t.jsx)(l.f,{...i,children:(0,t.jsx)("input",{className:(0,r.default)("relative mt-1 block w-full dark:focus:autofill dark:hover:autofill dark:autofill dark:placeholder:text-slate-600 dark:bg-slate-900 dark:text-slate-200 appearance-none rounded-md border-1 dark:border-slate-700 px-4 py-2.5 text-sm text-slate-900 focus:outline-hidden focus:ring-2 focus:ring-slate-800 shadow-xs",{"border-rose-700 placeholder:text-rose-500":!!i.error,"border-slate-300 placeholder-slate-400":!i.error}),disabled:i.disabled,id:i.name,name:i.name,onChange:i.onChange,onClick:e=>{e.stopPropagation()},onBlur:i.onBlur,placeholder:i.placeholder,autoComplete:i.autoComplete||"off",type:i.type||"text",value:i.value,autoFocus:i.autoFocus})})}])},21799,e=>{"use strict";var t=e.i(91398),r=e.i(3828),s=e.i(3326),a=e.i(66773),l=e.i(58971),o=e.i(64591),n=e.i(69211),i=e.i(72094),d=e.i(99160),u=e.i(96015),c=e.i(45229),f=e.i(98949),m=e.i(57561);let p=({onSubmit:e,onSubmitSuccess:r})=>{let{formatMessage:p}=(0,s.S)(),{hasRole:b}=(0,l.f)(),{selectedLocale:x,shopInfo:g}=(0,m.f)(),h=p({id:"assortment_added",defaultMessage:"Assortment added successfully!"}),y=(0,f.f)({submit:async t=>e({...t,locale:x}),onSubmitSuccess:r,successMessage:h,enableReinitialize:!0,initialValues:{isRoot:!0,title:"",subtitle:"",tags:[]}});return(0,t.jsxs)(n.f,{form:y,children:[(0,t.jsxs)("div",{className:"py-5 px-5",children:[(0,t.jsx)(c.f,{name:"title",id:"title",label:p({id:"title",defaultMessage:"Title"}),autoComplete:"off",required:!0,className:"mb-5"}),(0,t.jsx)(c.f,{name:"subtitle",id:"subtitle",label:p({id:"subtitle",defaultMessage:"Subtitle"}),autoComplete:"off",className:"mb-5"}),(0,t.jsx)(u.f,{name:"tags",id:"tags",label:p({id:"tags",defaultMessage:"Tags"}),selectOptions:(g?.adminUiConfig?.assortmentTags||[]).map(e=>({value:e,label:e}))})]}),(0,t.jsxs)("div",{className:"mx-5 mb-5",children:[(0,t.jsx)(o.f,{toggleText:p({id:"root_node",defaultMessage:"Root node"}),active:y.formik.values.isRoot,onToggle:()=>y.formik.setFieldValue("isRoot",!y.formik.values.isRoot)}),(0,t.jsx)("span",{className:"block text-sm text-slate-400 dark:text-slate-500 mt-2",children:p({id:"root_description",defaultMessage:"This makes the assortment a top level category"})})]}),(0,t.jsx)(i.f,{}),b(a.C.ManageAssortments)&&(0,t.jsx)("div",{className:"border-t-slate-100 border-t dark:border-t-slate-700 space-y-6 bg-slate-50 dark:bg-slate-900 p-5 text-right",children:(0,t.jsx)(d.f,{label:p({id:"add_assortment",defaultMessage:"Add Assortment"})})})]})};var b=e.i(59080),x=e.i(76204);let g=b.f`
2
+ mutation CreateAssortment(
3
+ $assortment: CreateAssortmentInput!
4
+ $texts: [AssortmentTextInput!]
5
+ ) {
6
+ createAssortment(assortment: $assortment, texts: $texts) {
7
+ _id
8
+ }
9
+ }
10
+ `;var h=e.i(61494),y=e.i(5505),v=e.i(17644),j=e.i(1880),k=e.i(11056);e.s(["default",0,()=>{let{formatMessage:e}=(0,s.S)(),a=(0,r.useRouter)(),{createAssortment:l}=(()=>{let[e,{data:t,error:r,loading:s}]=(0,x.f)(g);return{createAssortment:async({isRoot:t=!1,tags:r=[],texts:s})=>e({variables:{assortment:{isRoot:t,tags:r},texts:s},refetchQueries:["Assortments","TranslatedAssortmentTexts","ShopStatus","ShopInfo"]}),loading:s,newAssortment:t?.createAssortment,error:r}})(),o=async({title:e,subtitle:t,isRoot:r,tags:s,locale:a})=>{let{data:o,error:n}=await l({isRoot:r,texts:[{title:e,subtitle:t,locale:a}],tags:s});return!n&&{success:!0,data:o?.createAssortment}};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(h.f,{}),(0,t.jsxs)("div",{className:"mx-auto sm:max-w-2xl",children:[(0,t.jsx)(v.f,{headerText:e({id:"new_assortment_header",defaultMessage:"New Assortment"})}),(0,t.jsx)("div",{className:"mt-6 sm:max-w-2xl",children:(0,t.jsx)(y.U,{children:(0,t.jsx)(k.f,{children:(0,t.jsx)(p,{onSubmitSuccess:(e,t)=>{a.replace(`/assortments?assortmentSlug=${(0,j.U)(t)}`)},onSubmit:o})})})})]})]})}],21799)},76204,e=>{"use strict";var t=e.i(24669),r=e.i(91788),s=e.i(30928),a=e.i(52006);let l=e.i(21953).f?r.useLayoutEffect:r.useEffect;var o=e.i(98926);function n(e){return{data:void 0,error:void 0,called:!1,loading:!1,client:e}}e.s(["f",0,function(e,i){let d=(0,o.f)(i?.client),[u,c]=r.useState(()=>n(d)),f=r.useRef({result:u,mutationId:0,isMounted:!0,client:d,mutation:e,options:i});l(()=>{Object.assign(f.current,{client:d,options:i,mutation:e})});let m=r.useCallback((e={})=>{let{options:r,mutation:l}=f.current,o={...r,mutation:l},n=e.client||f.current.client,i="function"==typeof e.context?e.context(r?.context):e.context;!f.current.result.loading&&f.current.isMounted&&c(f.current.result={loading:!0,error:void 0,data:void 0,called:!0,client:n});let d=++f.current.mutationId,u=(0,s.f)(o,{...e,context:i});return(0,a.f)(n.mutate(u).then(r=>{let{data:s,error:a}=r,l=e.onError||f.current.options?.onError;if(a&&l&&l(a,u),d===f.current.mutationId){let e={called:!0,loading:!1,data:s,error:a,client:n};f.current.isMounted&&!(0,t.f)(f.current.result,e)&&c(f.current.result=e)}let o=e.onCompleted||f.current.options?.onCompleted;return a||o?.(r.data,u),r},r=>{if(d===f.current.mutationId&&f.current.isMounted){let e={loading:!1,error:r,data:void 0,called:!0,client:n};(0,t.f)(f.current.result,e)||c(f.current.result=e)}let s=e.onError||f.current.options?.onError;throw s&&s(r,u),r}))},[]),p=r.useCallback(()=>{if(f.current.isMounted){let e=n(f.current.client);Object.assign(f.current,{mutationId:0,result:e}),c(e)}},[]);return r.useEffect(()=>{let e=f.current;return e.isMounted=!0,()=>{e.isMounted=!1}},[]),[m,{reset:p,...u}]}],76204)},37369,e=>{"use strict";var t=e.i(91788);let r=t.forwardRef(function({title:e,titleId:r,...s},a){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":r},s),e?t.createElement("title",{id:r},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 4.5v15m7.5-7.5h-15"}))});e.s(["f",0,r],37369)},9356,e=>{"use strict";var t=e.i(35113);e.s(["f",0,function(e){return!(!(e instanceof Date||"object"==typeof e&&"[object Date]"===Object.prototype.toString.call(e))&&"number"!=typeof e||isNaN(+(0,t.f)(e)))}],9356)},49543,e=>{"use strict";var t=e.i(35113);e.s(["f",0,function(e,r){let s=(0,t.f)(e,r?.in);return s.setHours(0,0,0,0),s}])},35113,2848,98170,e=>{"use strict";let t=Symbol.for("constructDateFrom");function r(e,r){return"function"==typeof e?e(r):e&&"object"==typeof e&&t in e?e[t](r):e instanceof Date?new e.constructor(r):new Date(r)}e.s(["C",0,t,"_",0,864e5,"r",0,36e5,"z",0,6e4,"A",0,6048e5,"k",0,1440,"d",0,43200,"l",0,525600],2848),e.s(["f",0,r],98170),e.s(["f",0,function(e,t){return r(t||e,e)}],35113)},34980,(e,t,r)=>{"use strict";var s=e.r(49957),a={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},l={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},o={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},n={};function i(e){return s.isMemo(e)?o:n[e.$$typeof]||a}n[s.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},n[s.Memo]=o;var d=Object.defineProperty,u=Object.getOwnPropertyNames,c=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,m=Object.getPrototypeOf,p=Object.prototype;t.exports=function e(t,r,s){if("string"!=typeof r){if(p){var a=m(r);a&&a!==p&&e(t,a,s)}var o=u(r);c&&(o=o.concat(c(r)));for(var n=i(t),b=i(r),x=0;x<o.length;++x){var g=o[x];if(!l[g]&&!(s&&s[g])&&!(b&&b[g])&&!(n&&n[g])){var h=f(r,g);try{d(t,g,h)}catch(e){}}}}return t}},40563,(e,t,r)=>{"use strict";var s="function"==typeof Symbol&&Symbol.for,a=s?Symbol.for("react.element"):60103,l=s?Symbol.for("react.portal"):60106,o=s?Symbol.for("react.fragment"):60107,n=s?Symbol.for("react.strict_mode"):60108,i=s?Symbol.for("react.profiler"):60114,d=s?Symbol.for("react.provider"):60109,u=s?Symbol.for("react.context"):60110,c=s?Symbol.for("react.async_mode"):60111,f=s?Symbol.for("react.concurrent_mode"):60111,m=s?Symbol.for("react.forward_ref"):60112,p=s?Symbol.for("react.suspense"):60113,b=s?Symbol.for("react.suspense_list"):60120,x=s?Symbol.for("react.memo"):60115,g=s?Symbol.for("react.lazy"):60116,h=s?Symbol.for("react.block"):60121,y=s?Symbol.for("react.fundamental"):60117,v=s?Symbol.for("react.responder"):60118,j=s?Symbol.for("react.scope"):60119;function k(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case a:switch(e=e.type){case c:case f:case o:case i:case n:case p:return e;default:switch(e=e&&e.$$typeof){case u:case m:case g:case x:case d:return e;default:return t}}case l:return t}}}function w(e){return k(e)===f}r.AsyncMode=c,r.ConcurrentMode=f,r.ContextConsumer=u,r.ContextProvider=d,r.Element=a,r.ForwardRef=m,r.Fragment=o,r.Lazy=g,r.Memo=x,r.Portal=l,r.Profiler=i,r.StrictMode=n,r.Suspense=p,r.isAsyncMode=function(e){return w(e)||k(e)===c},r.isConcurrentMode=w,r.isContextConsumer=function(e){return k(e)===u},r.isContextProvider=function(e){return k(e)===d},r.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===a},r.isForwardRef=function(e){return k(e)===m},r.isFragment=function(e){return k(e)===o},r.isLazy=function(e){return k(e)===g},r.isMemo=function(e){return k(e)===x},r.isPortal=function(e){return k(e)===l},r.isProfiler=function(e){return k(e)===i},r.isStrictMode=function(e){return k(e)===n},r.isSuspense=function(e){return k(e)===p},r.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===f||e===i||e===n||e===p||e===b||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===x||e.$$typeof===d||e.$$typeof===u||e.$$typeof===m||e.$$typeof===y||e.$$typeof===v||e.$$typeof===j||e.$$typeof===h)},r.typeOf=k},49957,(e,t,r)=>{"use strict";e.i(50461),t.exports=e.r(40563)}]);
@@ -0,0 +1,71 @@
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,61494,e=>{"use strict";var t=e.i(91398),r=e.i(41158),s=e.i(3828),a=e.i(3326);e.s(["f",0,({routeName:e=null,currentPageTitle:l=null,depth:n=null})=>{let i=(0,s.useRouter)(),{formatMessage:o}=(0,a.S)(),d={home:"home",products:"products",orders:"orders",users:"users",assortments:"assortments",filters:"filters",tokens:"tokens",quotations:"quotations",enrollments:"enrollments",activities:"activities",works:"work_queue",events:"events",currency:"currencies",country:"countries",language:"languages","delivery-provider":"delivery_providers","payment-provider":"payment_providers","warehousing-provider":"warehousing_provider",system:"system",account:"account",new:"new",edit:"edit"},c=i.asPath?.split("/")?.filter((e,t)=>i.asPath?.split("/")?.indexOf(e)===t);if(1===c.length)return null;let u="";n&&c.splice(n),e&&(c[c.length-1]=e);let f=c?.map(t=>{if(u+=`${t}/`,!t)return{name:o({id:"home",defaultMessage:"Home"}),path:"/"};let r=t?.split("?")[0],s=e?r:r.replace(/-/g," "),a=d[r];return{name:a?o({id:a,defaultMessage:s}):decodeURIComponent(s),path:u.replace(/.$/,"")}});return(0,t.jsx)("nav",{className:"mb-5 hidden sm:flex lg:mt-5 lg:mb-8","aria-label":"Breadcrumb",children:(0,t.jsx)("ol",{className:"flex items-center space-x-4",children:f?.map((e,s)=>(0,t.jsx)("li",{children:(0,t.jsxs)("div",{className:"flex items-center",children:[0!==s&&(0,t.jsx)("svg",{className:"mr-4 h-5 w-5 shrink-0 text-slate-400",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:"M7.293 14.707a1 1 0 010-1.414L10.586 10 7.293 6.707a1 1 0 011.414-1.414l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414 0z",clipRule:"evenodd"})}),(0,t.jsx)(r.default,{href:e.path,className:"text-sm font-medium capitalize text-slate-500 dark:text-slate-400 dark:hover:text-slate-300 hover:text-slate-700 focus:outline-hidden focus:ring-2 focus:ring-slate-800 rounded-md px-1 py-1",children:s===f.length-1&&l?l:e.name})]})},e.path))})})}])},81013,e=>{"use strict";var t=e.i(91398),r=e.i(72043);e.s(["f",0,({text:e,children:s,onClick:a,className:l="",disabled:n=!1,id:i="",variant:o="primary",size:d="md",type:c="button",loading:u=!1,icon:f,iconRight:m,fullWidth:p=!1,rounded:x="md",ariaLabel:h,...b})=>{let g=s||e,v=(f||m)&&g?"gap-2":"";return(0,t.jsx)("button",{id:i,type:c,disabled:n||u,onClick:a,"aria-label":h,className:(0,r.default)("inline-flex items-center justify-center font-medium shadow-xs focus:outline-hidden focus:ring-2 focus:ring-offset-2 transition-colors duration-200 disabled:cursor-not-allowed disabled:opacity-50",{xs:"px-2.5 py-1.5 text-xs h-6",sm:"px-3 py-2 text-sm h-8",md:"px-4 py-2 text-sm h-9",lg:"px-6 py-3 text-base h-11"}[d],{none:"rounded-none",sm:"rounded-sm",md:"rounded-md",lg:"rounded-lg",full:"rounded-full"}[x],{primary:"border border-slate-800 dark:border-slate-600 bg-slate-800 dark:bg-slate-600 text-white hover:bg-slate-900 dark:hover:bg-slate-500 focus:ring-slate-800 dark:focus:ring-slate-400",secondary:"border border-slate-300 dark:border-slate-600 bg-white dark:bg-slate-800 text-slate-700 dark:text-slate-200 hover:bg-slate-50 dark:hover:bg-slate-700 focus:ring-slate-500",tertiary:"border border-slate-200 dark:border-slate-700 bg-slate-50 dark:bg-slate-800 text-slate-600 dark:text-slate-300 hover:bg-slate-100 dark:hover:bg-slate-700 focus:ring-slate-400",quaternary:"bg-transparent text-slate-700 dark:text-slate-200 hover:bg-slate-100 dark:hover:bg-slate-800 focus:ring-slate-400",danger:"border border-rose-500 dark:border-rose-400 bg-white dark:bg-slate-800 text-rose-600 dark:text-rose-400 hover:bg-rose-50 dark:hover:bg-rose-900/10 focus:ring-rose-500",ghost:"bg-transparent border border-transparent text-slate-600 dark:text-slate-400 hover:text-slate-900 dark:hover:text-slate-200 hover:bg-slate-100 dark:hover:bg-slate-800 focus:ring-slate-400",success:"border border-emerald-500 dark:border-emerald-400 bg-emerald-50 dark:bg-emerald-900/20 text-emerald-600 dark:text-emerald-400 hover:bg-emerald-100 dark:hover:bg-emerald-900/30 focus:ring-emerald-500",neutral:"border border-slate-300 dark:border-slate-600 bg-slate-100 dark:bg-slate-700 text-slate-600 dark:text-slate-300 hover:bg-slate-200 dark:hover:bg-slate-600 focus:ring-slate-400",input:"border border-slate-300 dark:border-slate-600 bg-white dark:bg-slate-800 text-slate-900 dark:text-slate-100 hover:border-slate-400 dark:hover:border-slate-500 focus:ring-slate-500 focus:border-slate-500"}[o],v,{"w-full":p},l),...b,children:u?(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)("div",{className:"w-4 h-4 border-2 border-current border-t-transparent rounded-full animate-spin"}),g]}):(0,t.jsxs)(t.Fragment,{children:[f,g,m]})})}])},62100,e=>{"use strict";var t=e.i(91398),r=e.i(24557),s=e.i(72043),a=e.i(3326);e.s(["f",0,({onClick:e,className:l="",icon:n=null,textRight:i="",textLeft:o="",ariaLabel:d=""})=>{let{formatMessage:c}=(0,a.S)();return(0,t.jsxs)("button",{"aria-label":d||c({id:"delete",defaultMessage:"Delete"}),id:"delete_button",type:"button",onClick:e,className:(0,s.default)("flex justify-center items-center rounded-full dark:bg-slate-800 p-2 w-8 h-8 text-sm text-rose-500 dark:text-rose-400 hover:bg-rose-50 dark:hover:bg-rose-900/20 focus:outline-hidden focus:ring-2 focus:ring-rose-500 focus:ring-offset-2",l),children:[o||"",n||(0,t.jsx)(r.f,{className:"h-5 w-5"}),i||""]})}])},31494,e=>{"use strict";var t=e.i(91398),r=e.i(3326),s=e.i(84818),a=e.i(35065),l=e.i(64591);let n=({value:e})=>{let{formatDateTime:n}=(0,s.f)(),{formatMessage:i}=(0,r.S)();return(e=>{try{return new URL(e)}catch{return!1}})(e)?(e=>{try{let{pathname:t}=new URL(e),r=t?.split("."),s=`.${r[r.length-1]}`;return[".jpg",".jpeg",".png",".gif",".bmp"].includes(s)}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:i({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))?n(e,{dateStyle:"long",timeStyle:"short"}):(!Number.isNaN(e),e)},i=({value:e})=>(0,t.jsx)("h3",{className:"text-base font-medium",children:(0,t.jsx)("span",{className:"text-slate-900",children:e})}),o=e=>{let{data:r,parentKey:s}=e;if(!r)return null;let a=Object.keys(r),l=[];return void 0!==s&&l.push((0,t.jsx)(i,{value:s},s)),a.forEach(e=>{let a=r[e];if(Array.isArray(a))if(l.push((0,t.jsx)(i,{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)(n,{value:e})},e))},e));else{let r=[];a.forEach((e,s)=>{r.push((0,t.jsx)("li",{className:"flex items-center text-slate-600 justify-between py-3 pl-3 pr-4 text-sm",children:o({data:e,parentKey:s})},s))}),l.push((0,t.jsx)("ul",{className:"divide-y divide-slate-200 rounded-md ",children:r},e))}else"object"==typeof a?l.push(o({data:a,parentKey:e})):void 0===s?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)(i,{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)(n,{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)(i,{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)(n,{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,o])},17644,e=>{"use strict";var t=e.i(91398),r=e.i(58678),s=e.i(41158),a=e.i(3326),l=e.i(37369),n=e.i(81013);e.s(["f",0,({headerText:e=null,onEdit:i=null,onDelete:o=null,children:d=null,title:c=null,addPath:u=null,addButtonText:f=null})=>{let{formatMessage:m}=(0,a.S)();return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(r.default,{children:(0,t.jsxs)("title",{children:["Unchained AdminUI - ",c||e," "]})}),(0,t.jsx)("div",{className:"flex gap-3 flex-wrap items-center justify-between",children:(0,t.jsxs)("div",{className:"flex items-center flex-wrap justify-between w-full gap-4",children:[e&&(0,t.jsx)("h2",{className:"text-2xl font-medium text-slate-900 dark:text-slate-300 sm:truncate sm:text-3xl lg:text-4xl",children:e}),(0,t.jsxs)("div",{className:"flex items-center gap-3 flex-shrink-0",children:[d,u&&(0,t.jsx)(s.default,{href:u,children:(0,t.jsx)(n.f,{variant:"secondary",icon:(0,t.jsx)(l.f,{className:"h-5 w-5"}),text:f||m({id:"add",defaultMessage:"Add"})})}),i&&(0,t.jsx)(n.f,{variant:"secondary",onClick:i,text:m({id:"edit",defaultMessage:"Edit"})}),o&&(0,t.jsx)(n.f,{variant:"danger",onClick:o,text:m({id:"delete",defaultMessage:"Delete"})})]})]})})]})}])},57468,e=>{"use strict";var t=e.i(91398),r=e.i(72043),s=e.i(3326),a=e.i(99160);e.s(["f",0,({cancelText:e=null,showCancel:l=!0,submitText:n=null,showSubmit:i=!0,onCancel:o,className:d=""})=>{let{formatMessage:c}=(0,s.S)();return(0,t.jsxs)("span",{className:(0,r.default)("flex shrink-0 items-center space-x-4 py-5 pl-1",d),children:[l?(0,t.jsx)("button",{onClick:o,"data-id":"cancel_update",type:"button",className:(0,r.default)("focus:ring-slate-800","inline-flex items-center rounded-md border border-slate-300 dark:border-slate-700 bg-white dark:bg-slate-800 px-4 py-2 text-sm font-medium text-slate-700 dark:text-slate-300 shadow-xs hover:bg-slate-50 dark:hover:bg-slate-700 focus:outline-hidden focus:ring-2 focus:ring-slate-800 focus:ring-offset-2"),children:e||c({id:"cancel",defaultMessage:"Cancel"})}):null,i?(0,t.jsx)(a.f,{label:n||c({id:"save",defaultMessage:"Save"})}):null]})}])},60195,e=>{"use strict";var t=e.i(91398),r=e.i(72043);e.s(["f",0,({documentationLabel:e,documentation:s=null,mainContent:a=null,sideComponents:l=null,className:n=null,children:i})=>(0,t.jsx)(t.Fragment,{children:(0,t.jsxs)("div",{className:(0,r.default)("mt-5 lg:grid lg:grid-cols-3 lg:gap-6",n),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-slate-900 dark:text-slate-200",children:e}),(0,t.jsx)("div",{className:"mt-1 text-sm text-slate-600 dark:text-slate-500",children:s}),l]})}),(0,t.jsx)("div",{className:"lg:col-span-2 lg:mt-0",children:i||a})]})})])},41523,e=>{"use strict";var t=e.i(91398),r=e.i(72043),s=e.i(3828),a=e.i(91788),l=e.i(3326);e.s(["f",0,({children:e,tabItems:n,defaultTab:i,updateRoute:o=!0})=>{let d=(0,s.useRouter)(),{tab:c=i}=d?.query||{},u=Array.isArray(c)?c[0]:c,{formatMessage:f}=(0,l.S)(),m=e=>{if(o){let{sort:t,...r}=d?.query||{};d.push({query:{...r,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:f({id:"select_tab",defaultMessage:"Select a tab"})}),(0,t.jsx)("select",{onChange:e=>m(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-slate-300 dark:border-slate-600 py-2 pl-3 pr-10 text-base capitalize focus:outline-none focus:ring-2 focus:ring-slate-800 dark:focus:ring-slate-400 focus:border-slate-800 dark:focus:border-slate-400 sm:text-sm",value:u,children:n.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:n.filter(Boolean).map(e=>(0,t.jsx)("a",{id:e.id,tabIndex:0,onClick:()=>m(e.id),onKeyDown:t=>{("Enter"===t.key||" "===t.key)&&(t.preventDefault(),m(e.id))},className:(0,r.default)({"cursor-pointer rounded-lg border border-slate-300 dark:border-slate-600 bg-white text-slate-900 dark:text-slate-100 dark:bg-slate-900 shadow-sm dark:hover:border-slate-500 hover:border-slate-400 focus:outline-none focus:ring-2 focus:ring-slate-800 dark:focus:ring-slate-400 focus:ring-offset-2 dark:focus:ring-offset-slate-900":u===e.id},"cursor-pointer relative whitespace-nowrap border border-slate-200 dark:border-slate-800 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-slate-800 dark:focus:ring-slate-400 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})})]})}])},37932,e=>{"use strict";var t=e.i(91398),r=e.i(3326),s=e.i(6607),a=e.i(65153),l=e.i(69211),n=e.i(96015),i=e.i(98949),o=e.i(57468);let d=({tags:e,onSubmit:s,onCancel:a,selectOptions:d=[]})=>{let{formatMessage:c}=(0,r.S)(),u=c({id:"tags_updated",defaultMessage:"Tags updated successfully"}),f=(0,i.f)({submit:s,successMessage:u,onSubmitSuccess:a,initialValues:{tags:e}});return(0,t.jsxs)(l.f,{form:f,id:"add_tag_form",children:[(0,t.jsx)("div",{children:(0,t.jsx)(n.f,{name:"tags",id:"tags",label:c({id:"tags",defaultMessage:"Tags"}),tagList:e,selectOptions:d})}),(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)(o.f,{onCancel:a,className:"justify-end "})})]})};e.s(["f",0,({defaultValue:e,onSubmit:l,enableEdit:n,availableTagOptions:i=[]})=>{let{formatMessage:o}=(0,r.S)(),{setModal:c}=(0,s.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,r)=>(0,t.jsx)("span",{children:(0,t.jsx)(a.f,{text:e,color:"sky"})},`${e}${r+1}`)):(0,t.jsx)("span",{children:(0,t.jsx)(a.f,{text:o({id:"no_tag",defaultMessage:"No Tag"}),color:"slate"})})}),n&&(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-slate-800",onClick:()=>c((0,t.jsx)(d,{tags:e||[],onCancel:()=>c(""),onSubmit:l,selectOptions:i})),children:o({id:"edit_tags",defaultMessage:"Edit tags"})})]})}],37932)},64591,e=>{"use strict";var t=e.i(91398),r=e.i(72043),s=e.i(3828),a=e.i(83147);e.s(["f",0,({toggleText:e="",toggleKey:l=null,onToggle:n=null,active:i=!1,className:o="",disabled:d=!1,...c})=>{let u=(0,s.useRouter)(),f=u?.query?.[l]==="true"||i;return(0,t.jsxs)("div",{className:(0,r.default)("",o),children:[(0,t.jsxs)("button",{id:l,disabled:d,type:"button",className:(0,r.default)("relative inline-flex h-3.5 w-9 shrink-0 cursor-pointer rounded-full border-1 border-transparent transition-all duration-200 ease-in-out focus:outline-hidden focus:ring-2 focus:ring-slate-400 focus:ring-offset-2",{"bg-slate-200 dark:bg-slate-700":!f,"bg-emerald-500 dark:bg-emerald-600 shadow-sm":f}),role:"switch",onClick:n||(()=>{let{skip:e,...t}=u.query;u.push({query:(0,a._)(t,!f,l)})}),"aria-checked":f?"true":"false",...c,children:[(0,t.jsx)("span",{className:"sr-only",children:e}),(0,t.jsxs)("span",{className:(0,r.default)("ml-0.5 pointer-events-none relative inline-block h-3 w-3 transform rounded-full bg-white shadow-sm ring-0 transition-all duration-200 ease-in-out",{"translate-x-5 shadow-md":f,"translate-x-0":!f}),children:[(0,t.jsx)("span",{className:(0,r.default)("absolute inset-0 flex h-full w-full items-center justify-center transition-opacity",{"opacity-0 duration-100 ease-out":f,"opacity-100 duration-200 ease-in":!f}),"aria-hidden":"true",children:(0,t.jsx)("svg",{className:"h-3 w-3 text-slate-400",fill:"none",viewBox:"0 0 12 12",children:(0,t.jsx)("path",{d:"M4 8l2-2m0 0l2-2M6 6L4 4m2 2l2 2",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})}),(0,t.jsx)("span",{className:(0,r.default)("absolute inset-0 flex h-full w-full items-center justify-center transition-opacity",{"opacity-100 duration-200 ease-in":f,"opacity-0 duration-100 ease-out":!f}),"aria-hidden":"true",children:(0,t.jsx)("svg",{className:"h-3 w-3 text-emerald-500",fill:"currentColor",viewBox:"0 0 12 12",children:(0,t.jsx)("path",{d:"M3.707 5.293a1 1 0 00-1.414 1.414l1.414-1.414zM5 8l-.707.707a1 1 0 001.414 0L5 8zm4.707-3.293a1 1 0 00-1.414-1.414l1.414 1.414zm-7.414 2l2 2 1.414-1.414-2-2-1.414 1.414zm3.414 2l4-4-1.414-1.414-4 4 1.414 1.414z"})})})]})]}),(0,t.jsx)("span",{className:"ml-3",id:"annual-billing-label",children:(0,t.jsx)("span",{className:"text-sm font-medium text-slate-900 dark:text-slate-200",children:e})})]})}])},64479,e=>{"use strict";var t=e.i(59080),r=e.i(76204);let s=t.f`
2
+ mutation ConfirmMediaUpload(
3
+ $mediaUploadTicketId: ID!
4
+ $size: Int!
5
+ $type: String!
6
+ ) {
7
+ confirmMediaUpload(
8
+ mediaUploadTicketId: $mediaUploadTicketId
9
+ size: $size
10
+ type: $type
11
+ ) {
12
+ _id
13
+ name
14
+ type
15
+ size
16
+ url
17
+ }
18
+ }
19
+ `;e.s(["f",0,(e={})=>{let[t]=(0,r.f)(s,e);return{confirmMediaUpload:async({mediaUploadTicketId:e,size:r,type:s})=>t({variables:{mediaUploadTicketId:e,size:r,type:s}})}}])},93994,e=>{"use strict";let t=async(e,t)=>{let r=await fetch(t,{method:"PUT",body:e});return r.ok?Promise.resolve({}):Promise.reject(Error(r.statusText))};e.s(["f",0,t])},1880,e=>{"use strict";e.s(["U",0,(e={})=>{let{_id:t,texts:r}=e||{};return r||t?`${r?.slug?.split("/").join("")||""}_id_${t}`:null},"P",0,e=>{if(!e)return null;let[t]=e?.split("_id_")||[];return t},"Q",0,e=>{if(!e)return null;let t=e?.split("_id_");return t?.pop()}])},73319,e=>{"use strict";let t=e=>"[object Object]"===Object.prototype.toString.call(e);e.s(["Q",0,e=>decodeURIComponent(e||[])?.split(",")?.filter(Boolean),"C",0,t,"T",0,e=>!(!e||null==e||t(e)&&!Object.keys(e).length||Array.isArray(e)&&!e.length)])},72094,e=>{"use strict";var t=e.i(91398),r=e.i(91788),s=e.i(61898);let a=(e,t="")=>Object.fromEntries(Object.entries(e).reduce((e=[],[s,l])=>"string"==typeof l||r.default.isValidElement(l)?[...e,[`${t}${s}`,l]]:[...Object.entries(a(Object.assign({},...l),`${t}${s}.`)),...e],[])),l=({submitError:e="",fieldErrors:s=[]})=>(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(a(s)).map(([e,s])=>(0,t.jsx)("li",{className:"disabled",children:(0,t.jsx)("button",{type:"button",className:"no-button text-rose-600 dark:text-rose-400","aria-label":"Error button",onClick:()=>{let t=document.getElementById(e);t&&t.focus()},children:r.default.isValidElement(s)?s:(0,t.jsx)("span",{dangerouslySetInnerHTML:{__html:s}})})},e))]})});e.s(["f",0,({displayFieldErrors:e=!1})=>{let{submitError:r,formik:a}=(0,s.f)(),n=a?.errors;return(r||e)&&(0,t.jsx)(l,{submitError:r,fieldErrors:e&&n})}])},73483,e=>{"use strict";var t=e.i(91398),r=e.i(72043),s=e.i(3326),a=e.i(91412),l=e.i(91788);let n=l.forwardRef(function({title:e,titleId:t,...r},s){return l.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:s,"aria-labelledby":t},r),e?l.createElement("title",{id:t},e):null,l.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m16.862 4.487 1.687-1.688a1.875 1.875 0 1 1 2.652 2.652L6.832 19.82a4.5 4.5 0 0 1-1.897 1.13l-2.685.8.8-2.685a4.5 4.5 0 0 1 1.13-1.897L16.863 4.487Zm0 0L19.5 7.125"}))});var i=e.i(7654),o=e.i(31858),d=e.i(3812),c=e.i(98634),u=e.i(82226),f=e.i(60741),m=e.i(29691),p=e.i(41523);let x=({selectedView:e="edit",...s})=>"preview"===e?(0,t.jsx)("div",{className:"prose dark:prose-invert",children:(0,t.jsx)(i.f,{rehypePlugins:[o.f,d.f,c.f],children:s.value})}):(0,t.jsx)("textarea",{className:(0,r.default)("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-slate-300 dark:border-slate-700 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-slate-800",s.className,{"border-rose-700 placeholder:text-rose-300 placeholder-rose-300":!!s.error}),disabled:s.disabled,id:s.name,name:s.name,rows:s.rows||10,onChange:s.onChange,onBlur:s.onBlur,placeholder:s.placeholder,autoComplete:s.autoComplete||"off",value:s.value});e.s(["f",0,({maxLength:e,validators:r=[],...l})=>{let{formatMessage:i}=(0,s.S)(),o=(0,f.f)({validators:[...r,e&&(0,u.f)(e)],...l}),d=[{id:"editor",title:i({id:"editor",defaultMessage:"Editor"}),Icon:(0,t.jsx)(n,{className:"h-4 w-5"})},{id:"preview",title:i({id:"preview",defaultMessage:"preview"}),Icon:(0,t.jsx)(a.f,{className:"h-4 w-5"})}];return(0,t.jsx)(m.f,{...o,children:(0,t.jsx)("div",{className:"-mt-8",children:(0,t.jsx)(p.f,{tabItems:d,defaultTab:"editor",children:(0,t.jsx)(x,{...o})})})})}],73483)},99160,e=>{"use strict";var t=e.i(91398),r=e.i(72043),s=e.i(38865),a=e.i(61898);e.s(["f",0,({label:e,disabled:l=!1,className:n="",hidden:i=!1,...o})=>{let d=(0,s.m)(),{...c}=o,u=Object.fromEntries(Object.keys(d.initialValues).map(e=>[e,d.getFieldMeta(e)])),{disabled:f}=(0,a.f)(),m=Object.values(u).reduce((e,{error:t,touched:r})=>e||t&&r,!1),p=l||f||d.isSubmitting||m,x=d.isSubmitting&&!m,h=(l||f||m)&&!d.isSubmitting;return(0,t.jsx)("input",{className:(0,r.default)("inline-flex cursor-pointer justify-center rounded-sm border border-slate-300 px-4 py-2 text-center text-sm font-medium leading-5 shadow-sm hover:shadow-md focus:ring-slate-800 dark:focus:ring-slate-400",n,{"bg-rose-50 dark:bg-slate-800 dark:text-rose-300 cursor-not-allowed border-rose-300 dark:border-rose-600 text-rose-900":h,"bg-slate-600 dark:bg-slate-700 text-white cursor-not-allowed border-slate-400 dark:border-slate-600":x,"bg-slate-800 dark:bg-slate-600 text-white hover:bg-slate-900 dark:hover:bg-slate-500 focus:outline-hidden focus:ring-2 focus:ring-offset-2 border-transparent":!p,hidden:i}),"aria-label":e,type:"submit",value:e,disabled:p,...c})}])},96015,e=>{"use strict";var t=e.i(91398),r=e.i(72043),s=e.i(68835),a=e.i(60741),l=e.i(82226),n=e.i(29691);e.s(["f",0,({buttonText:e="",validators:i=[],selectOptions:o=[],...d})=>{let c=(0,a.f)({validators:[...i,(0,l.z)(d?.required)],label:"Tags",...d});return(0,t.jsx)(n.f,{...c,children:(0,t.jsx)(s.f,{disabled:c.disabled,id:c.id,name:c.name,className:(0,r.default)({"border-rose-300":!!c.error}),onChange:e=>c.setValue(e),placeholder:c.placeholder,tagList:c.value,buttonText:e,selectOptions:o})})}])},45229,e=>{"use strict";var t=e.i(91398),r=e.i(72043),s=e.i(82226),a=e.i(60741),l=e.i(29691);e.s(["f",0,({maxLength:e=0,validators:n=[],...i})=>{let o=(0,a.f)({validators:[...n,e&&(0,s.f)(e)],...i});return(0,t.jsx)(l.f,{...o,children:(0,t.jsx)("input",{className:(0,r.default)("relative mt-1 block w-full dark:focus:autofill dark:hover:autofill dark:autofill dark:placeholder:text-slate-600 dark:bg-slate-900 dark:text-slate-200 appearance-none rounded-md border-1 dark:border-slate-700 px-4 py-2.5 text-sm text-slate-900 focus:outline-hidden focus:ring-2 focus:ring-slate-800 shadow-xs",{"border-rose-700 placeholder:text-rose-500":!!o.error,"border-slate-300 placeholder-slate-400":!o.error}),disabled:o.disabled,id:o.name,name:o.name,onChange:o.onChange,onClick:e=>{e.stopPropagation()},onBlur:o.onBlur,placeholder:o.placeholder,autoComplete:o.autoComplete||"off",type:o.type||"text",value:o.value,autoFocus:o.autoFocus})})}])},54529,e=>{"use strict";var t=e.i(59080);let r=t.f`
20
+ fragment ProductBriefFragment on Product {
21
+ texts(forceLocale: $forceLocale) {
22
+ _id
23
+ slug
24
+ title
25
+ subtitle
26
+ description
27
+ vendor
28
+ brand
29
+ labels
30
+ locale
31
+ }
32
+ _id
33
+ sequence
34
+ status
35
+ tags
36
+ sequence
37
+ updated
38
+ published
39
+ media {
40
+ _id
41
+ tags
42
+ file {
43
+ _id
44
+ url
45
+ }
46
+ }
47
+ ... on BundleProduct {
48
+ proxies {
49
+ __typename
50
+ }
51
+ }
52
+ ... on SimpleProduct {
53
+ catalogPrice {
54
+ amount
55
+ currencyCode
56
+ }
57
+ proxies {
58
+ __typename
59
+ }
60
+ }
61
+ ... on PlanProduct {
62
+ catalogPrice {
63
+ amount
64
+ currencyCode
65
+ }
66
+ proxies {
67
+ __typename
68
+ }
69
+ }
70
+ }
71
+ `;e.s(["f",0,r])},76204,e=>{"use strict";var t=e.i(24669),r=e.i(91788),s=e.i(30928),a=e.i(52006);let l=e.i(21953).f?r.useLayoutEffect:r.useEffect;var n=e.i(98926);function i(e){return{data:void 0,error:void 0,called:!1,loading:!1,client:e}}e.s(["f",0,function(e,o){let d=(0,n.f)(o?.client),[c,u]=r.useState(()=>i(d)),f=r.useRef({result:c,mutationId:0,isMounted:!0,client:d,mutation:e,options:o});l(()=>{Object.assign(f.current,{client:d,options:o,mutation:e})});let m=r.useCallback((e={})=>{let{options:r,mutation:l}=f.current,n={...r,mutation:l},i=e.client||f.current.client,o="function"==typeof e.context?e.context(r?.context):e.context;!f.current.result.loading&&f.current.isMounted&&u(f.current.result={loading:!0,error:void 0,data:void 0,called:!0,client:i});let d=++f.current.mutationId,c=(0,s.f)(n,{...e,context:o});return(0,a.f)(i.mutate(c).then(r=>{let{data:s,error:a}=r,l=e.onError||f.current.options?.onError;if(a&&l&&l(a,c),d===f.current.mutationId){let e={called:!0,loading:!1,data:s,error:a,client:i};f.current.isMounted&&!(0,t.f)(f.current.result,e)&&u(f.current.result=e)}let n=e.onCompleted||f.current.options?.onCompleted;return a||n?.(r.data,c),r},r=>{if(d===f.current.mutationId&&f.current.isMounted){let e={loading:!1,error:r,data:void 0,called:!0,client:i};(0,t.f)(f.current.result,e)||u(f.current.result=e)}let s=e.onError||f.current.options?.onError;throw s&&s(r,c),r}))},[]),p=r.useCallback(()=>{if(f.current.isMounted){let e=i(f.current.client);Object.assign(f.current,{mutationId:0,result:e}),u(e)}},[]);return r.useEffect(()=>{let e=f.current;return e.isMounted=!0,()=>{e.isMounted=!1}},[]),[m,{reset:p,...c}]}],76204)},76929,e=>{"use strict";var t=e.i(91788);let r=t.forwardRef(function({title:e,titleId:r,...s},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":r},s),e?t.createElement("title",{id:r},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,r],76929)},91412,e=>{"use strict";var t=e.i(91788);let r=t.forwardRef(function({title:e,titleId:r,...s},a){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":r},s),e?t.createElement("title",{id:r},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M2.036 12.322a1.012 1.012 0 0 1 0-.639C3.423 7.51 7.36 4.5 12 4.5c4.638 0 8.573 3.007 9.963 7.178.07.207.07.431 0 .639C20.577 16.49 16.64 19.5 12 19.5c-4.638 0-8.573-3.007-9.963-7.178Z"}),t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15 12a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"}))});e.s(["f",0,r],91412)},37369,e=>{"use strict";var t=e.i(91788);let r=t.forwardRef(function({title:e,titleId:r,...s},a){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":r},s),e?t.createElement("title",{id:r},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 4.5v15m7.5-7.5h-15"}))});e.s(["f",0,r],37369)},67912,e=>{"use strict";var t=e.i(91788);let r=t.forwardRef(function({title:e,titleId:r,...s},a){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":r},s),e?t.createElement("title",{id:r},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M17.982 18.725A7.488 7.488 0 0 0 12 15.75a7.488 7.488 0 0 0-5.982 2.975m11.963 0a9 9 0 1 0-11.963 0m11.963 0A8.966 8.966 0 0 1 12 21a8.966 8.966 0 0 1-5.982-2.275M15 9.75a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"}))});e.s(["f",0,r],67912)},9356,e=>{"use strict";var t=e.i(35113);e.s(["f",0,function(e){return!(!(e instanceof Date||"object"==typeof e&&"[object Date]"===Object.prototype.toString.call(e))&&"number"!=typeof e||isNaN(+(0,t.f)(e)))}],9356)},49543,e=>{"use strict";var t=e.i(35113);e.s(["f",0,function(e,r){let s=(0,t.f)(e,r?.in);return s.setHours(0,0,0,0),s}])},35113,2848,98170,e=>{"use strict";let t=Symbol.for("constructDateFrom");function r(e,r){return"function"==typeof e?e(r):e&&"object"==typeof e&&t in e?e[t](r):e instanceof Date?new e.constructor(r):new Date(r)}e.s(["C",0,t,"_",0,864e5,"r",0,36e5,"z",0,6e4,"A",0,6048e5,"k",0,1440,"d",0,43200,"l",0,525600],2848),e.s(["f",0,r],98170),e.s(["f",0,function(e,t){return r(t||e,e)}],35113)},34980,(e,t,r)=>{"use strict";var s=e.r(49957),a={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},l={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},n={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},i={};function o(e){return s.isMemo(e)?n:i[e.$$typeof]||a}i[s.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},i[s.Memo]=n;var d=Object.defineProperty,c=Object.getOwnPropertyNames,u=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,m=Object.getPrototypeOf,p=Object.prototype;t.exports=function e(t,r,s){if("string"!=typeof r){if(p){var a=m(r);a&&a!==p&&e(t,a,s)}var n=c(r);u&&(n=n.concat(u(r)));for(var i=o(t),x=o(r),h=0;h<n.length;++h){var b=n[h];if(!l[b]&&!(s&&s[b])&&!(x&&x[b])&&!(i&&i[b])){var g=f(r,b);try{d(t,b,g)}catch(e){}}}}return t}},40563,(e,t,r)=>{"use strict";var s="function"==typeof Symbol&&Symbol.for,a=s?Symbol.for("react.element"):60103,l=s?Symbol.for("react.portal"):60106,n=s?Symbol.for("react.fragment"):60107,i=s?Symbol.for("react.strict_mode"):60108,o=s?Symbol.for("react.profiler"):60114,d=s?Symbol.for("react.provider"):60109,c=s?Symbol.for("react.context"):60110,u=s?Symbol.for("react.async_mode"):60111,f=s?Symbol.for("react.concurrent_mode"):60111,m=s?Symbol.for("react.forward_ref"):60112,p=s?Symbol.for("react.suspense"):60113,x=s?Symbol.for("react.suspense_list"):60120,h=s?Symbol.for("react.memo"):60115,b=s?Symbol.for("react.lazy"):60116,g=s?Symbol.for("react.block"):60121,v=s?Symbol.for("react.fundamental"):60117,y=s?Symbol.for("react.responder"):60118,j=s?Symbol.for("react.scope"):60119;function k(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case a:switch(e=e.type){case u:case f:case n:case o:case i:case p:return e;default:switch(e=e&&e.$$typeof){case c:case m:case b:case h:case d:return e;default:return t}}case l:return t}}}function w(e){return k(e)===f}r.AsyncMode=u,r.ConcurrentMode=f,r.ContextConsumer=c,r.ContextProvider=d,r.Element=a,r.ForwardRef=m,r.Fragment=n,r.Lazy=b,r.Memo=h,r.Portal=l,r.Profiler=o,r.StrictMode=i,r.Suspense=p,r.isAsyncMode=function(e){return w(e)||k(e)===u},r.isConcurrentMode=w,r.isContextConsumer=function(e){return k(e)===c},r.isContextProvider=function(e){return k(e)===d},r.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===a},r.isForwardRef=function(e){return k(e)===m},r.isFragment=function(e){return k(e)===n},r.isLazy=function(e){return k(e)===b},r.isMemo=function(e){return k(e)===h},r.isPortal=function(e){return k(e)===l},r.isProfiler=function(e){return k(e)===o},r.isStrictMode=function(e){return k(e)===i},r.isSuspense=function(e){return k(e)===p},r.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===n||e===f||e===o||e===i||e===p||e===x||"object"==typeof e&&null!==e&&(e.$$typeof===b||e.$$typeof===h||e.$$typeof===d||e.$$typeof===c||e.$$typeof===m||e.$$typeof===v||e.$$typeof===y||e.$$typeof===j||e.$$typeof===g)},r.typeOf=k},49957,(e,t,r)=>{"use strict";e.i(50461),t.exports=e.r(40563)}]);
@@ -1,4 +1,4 @@
1
- (()=>{"use strict";(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,23647,26013,e=>{var s=e.i(91398),t=e.i(69322),a=e.i(15361),r=e.i(91788);let l=r.forwardRef(function({title:e,titleId:s,...t},a){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":s},t),e?r.createElement("title",{id:s},e):null,r.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m9.75 9.75 4.5 4.5m0-4.5-4.5 4.5M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"}))});e.s(["f",0,l],26013);var d=e.i(67912),i=e.i(41158),n=e.i(93380),c=e.i(35065);let o=({username:e})=>(0,s.jsx)(d.f,{className:"h-8 w-8 text-slate-800 dark:text-slate-600"});e.s(["f",0,({user:e,contact:r})=>{let{formatMessage:d}=(0,t.S)();return(0,s.jsxs)("div",{className:"flex items-center gap-3",children:[(0,s.jsx)("div",{className:"h-8 w-8 rounded-full",children:e?.avatar?(0,s.jsx)(c.f,{src:e.avatar.url,alt:e.name||e.username,width:100,height:100}):(0,s.jsx)(o,{username:e?.username})}),(0,s.jsxs)("div",{className:"flex flex-wrap items-center gap-4",children:[(0,s.jsx)("div",{className:"flex items-center justify-between gap-3 flex-wrap",children:(0,s.jsxs)("span",{className:"flex items-center",children:[(0,s.jsx)("h3",{className:"text-xl font-semibold capitalize",children:(0,s.jsx)(i.default,{href:`/users?userId=${e?._id}`,className:"text-slate-800 dark:text-slate-300 hover:text-slate-900 dark:hover:text-slate-600",children:(0,n.f)(e)})}),e?.primaryEmail?.verified&&(0,s.jsxs)("dl",{className:"self-end",children:[(0,s.jsx)("dt",{className:"sr-only",children:d({id:"account_status",defaultMessage:"Account status"})}),(0,s.jsx)("dd",{className:"mt-3 flex items-center self-end text-sm font-medium capitalize text-slate-900 sm:mr-6 sm:mt-0",children:e?.primaryEmail?.verified?(0,s.jsx)(a.f,{className:"h-4 w-4 shrink-0 text-emerald-400","aria-hidden":"true"}):(0,s.jsx)(l,{className:"h-4 w-4 shrink-0 text-rose-400","aria-hidden":"true"})})]})]})}),r?.emailAddress&&(0,s.jsx)("div",{children:r.emailAddress}),r?.telNumber&&(0,s.jsx)("div",{children:r.telNumber})]})]})}],23647)},66885,e=>{var s=e.i(91398),t=e.i(69322),a=e.i(38322),r=e.i(84818),l=e.i(83147),d=e.i(51782);e.s(["f",0,({data:e,statusTypes:i,timeline:n})=>{let{formatMessage:c}=(0,t.S)(),{formatDateTime:o}=(0,r.f)(),{content:u={},id:m}=n[e?.status]||{},x=i.filter(({value:e})=>n[e]?.visible);return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("div",{className:"flow-root sm:hidden",children:(0,s.jsx)("ul",{className:"my-4",children:x.map(({value:t,label:r},d)=>(0,s.jsx)("li",{children:(0,s.jsxs)("div",{className:"relative pb-8",children:[d!==x.length-1?(0,s.jsx)("span",{className:(0,l.S)(m>d+1?"bg-slate-900":"bg-slate-200","absolute top-2.5 left-2.5 -ml-px h-full w-0.5"),"aria-hidden":"true"}):null,(0,s.jsxs)("div",{className:"relative flex items-center space-x-3",children:[(0,s.jsx)("div",{children:(0,s.jsx)("span",{className:(0,l.S)(m>d?"bg-slate-900":"bg-slate-600","flex h-5 w-5 items-center justify-center rounded-full"),children:m>d?(0,s.jsx)(a.f,{className:"h-5 w-5 text-white","aria-hidden":"true"}):null})}),(0,s.jsxs)("div",{className:"ml-4 flex min-w-0 flex-1 items-center justify-between",children:[(0,s.jsx)("div",{className:"flex-auto",children:(0,s.jsx)("p",{className:"text-sm text-slate-500",children:(0,s.jsxs)("span",{className:"flex w-full items-center justify-between text-slate-900 dark:text-slate-200",children:[t,n[t]?.Component&&n[t].Component]})})}),m>=n[t].id?(0,s.jsx)("div",{className:"whitespace-nowrap text-right text-sm text-slate-500 dark:text-slate-200 ml-4",children:e[n?.[t]?.content]?o(e[n?.[t]?.content],{dateStyle:"short",timeStyle:"short"}):null}):null]})]})]})},`${t}${r}`))})}),(0,s.jsxs)("div",{className:" p-4 bg-white shadow-sm dark:shadow-none dark:border dark:border-slate-700 sm:rounded-lg dark:bg-slate-900",children:[(0,s.jsxs)("p",{className:"font-medium flex items-center justify-between",children:[(0,s.jsx)(d.f,{status:e.status}),(0,s.jsx)("span",{children:e[u]?o(e[u],{dateStyle:"full",timeStyle:"medium"}):c({id:"in_cart",defaultMessage:"In cart"})})]}),(0,s.jsx)("div",{className:"mt-2","aria-hidden":"true",children:(0,s.jsx)("div",{className:"mt-2 hidden text-sm font-medium text-slate-600 sm:flex",children:x.map(({value:t,label:a})=>(0,s.jsxs)("div",{className:"sm:flex-auto",children:[(0,s.jsx)("div",{className:"relative mb-4 mr-1",children:(0,s.jsx)("span",{className:(0,l.S)(m>=n[t].id?e?.status==="CONFIRMED"?"bg-lime-600":e?.status==="PENDING"?"bg-amber-600":e?.status==="OPEN"?"bg-sky-600":"bg-emerald-600":"bg-slate-200 dark:bg-slate-700","absolute top-0 left-0 -ml-px h-2 w-full"),"aria-hidden":"true"})}),(0,s.jsxs)("div",{className:(0,l.S)(m>=n[t].id?"text-slate-900":"opacity-50","text-start"),children:[(0,s.jsx)("span",{className:"text-slate-900 dark:text-slate-400 uppercase",children:n[t]?.Component?n[t].Component:"CONFIRMED"===t?c({id:"confirmed",defaultMessage:"CONFIRMED"}):"PENDING"===t?c({id:"pending",defaultMessage:"PENDING"}):"OPEN"===t?c({id:"open",defaultMessage:"OPEN"}):"FULFILLED"===t?c({id:"fulfilled",defaultMessage:"FULFILLED"}):"REJECTED"===t?c({id:"rejected",defaultMessage:"REJECTED"}):t}),(0,s.jsx)("span",{className:"block text-slate-900 dark:text-slate-100",children:m>=n?.[t]?.id?o(e[n?.[t]?.content],{dateStyle:"short",timeStyle:"short"}):null})]})]},`${t}${a}`))})})]})]})}])},1880,e=>{e.s(["U",0,(e={})=>{let{_id:s,texts:t}=e||{};return t||s?`${t?.slug?.split("/").join("")||""}_id_${s}`:null},"P",0,e=>{if(!e)return null;let[s]=e?.split("_id_")||[];return s},"Q",0,e=>{if(!e)return null;let s=e?.split("_id_");return s?.pop()}])},34728,e=>{var s=e.i(91398),t=e.i(38322);e.s(["f",0,({onOkClick:e,buttonText:a,headerText:r,message:l,icon:d=null})=>(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("div",{children:[d||(0,s.jsx)("div",{className:"mx-auto flex h-12 w-12 items-center justify-center rounded-full bg-emerald-100 dark:bg-emerald-900/30",children:(0,s.jsx)(t.f,{className:"h-6 w-6 text-emerald-600 dark:text-emerald-400",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","aria-hidden":"true"})}),(0,s.jsxs)("div",{className:"mt-3 text-center sm:mt-5",children:[(0,s.jsx)("h3",{className:"text-lg text-slate-900 dark:text-slate-200",id:"modal-title",children:r}),(0,s.jsx)("div",{className:"mt-2",children:(0,s.jsx)("p",{className:"text-sm text-slate-500 dark:text-slate-200",children:l})})]})]}),(0,s.jsx)("div",{className:"mt-5 sm:mt-6",children:(0,s.jsx)("button",{id:"alert_ok",onClick:e,type:"button",className:"inline-flex w-full justify-center rounded-md border border-transparent bg-slate-800 dark:bg-slate-600 px-4 py-2 text-base font-medium text-white shadow-xs hover:bg-slate-950 dark:hover:bg-slate-500 focus:outline-hidden focus:ring-2 focus:ring-slate-800 dark:focus:ring-slate-400 focus:ring-offset-2 sm:text-sm",children:a})})]})])},51782,e=>{var s=e.i(91398),t=e.i(69322),a=e.i(65153),r=e.i(60193);let l={PENDING:"bg-yellow-100 text-yellow-800",CONFIRMED:"bg-blue-100 text-blue-800",OPEN:"bg-gray-100 text-gray-800",FULFILLED:"bg-green-100 text-green-800",REJECTED:"bg-red-100 text-red-800"};e.s(["f",0,({status:e,className:d=""})=>{let{formatMessage:i}=(0,t.S)(),n={PENDING:i({id:"pending",defaultMessage:"PENDING"}),CONFIRMED:i({id:"confirmed",defaultMessage:"CONFIRMED"}),OPEN:i({id:"open",defaultMessage:"OPEN"}),FULFILLED:i({id:"fulfilled",defaultMessage:"FULFILLED"}),REJECTED:i({id:"rejected",defaultMessage:"REJECTED"})},c=n?.[e]??i({id:"cart",defaultMessage:"Cart"});return l?.[e],(0,s.jsx)(a.f,{text:c,color:r.v[e],square:!0,className:`uppercase ${d}`})}])},71774,e=>{var s=e.i(91398),t=e.i(3828),a=e.i(66773),r=e.i(69322),l=e.i(28401),d=e.i(61494),i=e.i(12197),n=e.i(59080),c=e.i(32171),o=e.i(70693),u=e.i(36494);let m=n.f`
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,23647,26013,e=>{"use strict";var s=e.i(91398),t=e.i(3326),a=e.i(15361),r=e.i(91788);let l=r.forwardRef(function({title:e,titleId:s,...t},a){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":s},t),e?r.createElement("title",{id:s},e):null,r.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m9.75 9.75 4.5 4.5m0-4.5-4.5 4.5M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"}))});e.s(["f",0,l],26013);var d=e.i(67912),i=e.i(41158),n=e.i(93380),c=e.i(35065);let o=({username:e})=>(0,s.jsx)(d.f,{className:"h-8 w-8 text-slate-800 dark:text-slate-600"});e.s(["f",0,({user:e,contact:r})=>{let{formatMessage:d}=(0,t.S)();return(0,s.jsxs)("div",{className:"flex items-center gap-3",children:[(0,s.jsx)("div",{className:"h-8 w-8 rounded-full",children:e?.avatar?(0,s.jsx)(c.f,{src:e.avatar.url,alt:e.name||e.username,width:100,height:100}):(0,s.jsx)(o,{username:e?.username})}),(0,s.jsxs)("div",{className:"flex flex-wrap items-center gap-4",children:[(0,s.jsx)("div",{className:"flex items-center justify-between gap-3 flex-wrap",children:(0,s.jsxs)("span",{className:"flex items-center",children:[(0,s.jsx)("h3",{className:"text-xl font-semibold capitalize",children:(0,s.jsx)(i.default,{href:`/users?userId=${e?._id}`,className:"text-slate-800 dark:text-slate-300 hover:text-slate-900 dark:hover:text-slate-600",children:(0,n.f)(e)})}),e?.primaryEmail?.verified&&(0,s.jsxs)("dl",{className:"self-end",children:[(0,s.jsx)("dt",{className:"sr-only",children:d({id:"account_status",defaultMessage:"Account status"})}),(0,s.jsx)("dd",{className:"mt-3 flex items-center self-end text-sm font-medium capitalize text-slate-900 sm:mr-6 sm:mt-0",children:e?.primaryEmail?.verified?(0,s.jsx)(a.f,{className:"h-4 w-4 shrink-0 text-emerald-400","aria-hidden":"true"}):(0,s.jsx)(l,{className:"h-4 w-4 shrink-0 text-rose-400","aria-hidden":"true"})})]})]})}),r?.emailAddress&&(0,s.jsx)("div",{children:r.emailAddress}),r?.telNumber&&(0,s.jsx)("div",{children:r.telNumber})]})]})}],23647)},66885,e=>{"use strict";var s=e.i(91398),t=e.i(3326),a=e.i(38322),r=e.i(84818),l=e.i(83147),d=e.i(51782);e.s(["f",0,({data:e,statusTypes:i,timeline:n})=>{let{formatMessage:c}=(0,t.S)(),{formatDateTime:o}=(0,r.f)(),{content:u={},id:m}=n[e?.status]||{},x=i.filter(({value:e})=>n[e]?.visible);return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("div",{className:"flow-root sm:hidden",children:(0,s.jsx)("ul",{className:"my-4",children:x.map(({value:t,label:r},d)=>(0,s.jsx)("li",{children:(0,s.jsxs)("div",{className:"relative pb-8",children:[d!==x.length-1?(0,s.jsx)("span",{className:(0,l.S)(m>d+1?"bg-slate-900":"bg-slate-200","absolute top-2.5 left-2.5 -ml-px h-full w-0.5"),"aria-hidden":"true"}):null,(0,s.jsxs)("div",{className:"relative flex items-center space-x-3",children:[(0,s.jsx)("div",{children:(0,s.jsx)("span",{className:(0,l.S)(m>d?"bg-slate-900":"bg-slate-600","flex h-5 w-5 items-center justify-center rounded-full"),children:m>d?(0,s.jsx)(a.f,{className:"h-5 w-5 text-white","aria-hidden":"true"}):null})}),(0,s.jsxs)("div",{className:"ml-4 flex min-w-0 flex-1 items-center justify-between",children:[(0,s.jsx)("div",{className:"flex-auto",children:(0,s.jsx)("p",{className:"text-sm text-slate-500",children:(0,s.jsxs)("span",{className:"flex w-full items-center justify-between text-slate-900 dark:text-slate-200",children:[t,n[t]?.Component&&n[t].Component]})})}),m>=n[t].id?(0,s.jsx)("div",{className:"whitespace-nowrap text-right text-sm text-slate-500 dark:text-slate-200 ml-4",children:e[n?.[t]?.content]?o(e[n?.[t]?.content],{dateStyle:"short",timeStyle:"short"}):null}):null]})]})]})},`${t}${r}`))})}),(0,s.jsxs)("div",{className:" p-4 bg-white shadow-sm dark:shadow-none dark:border dark:border-slate-700 sm:rounded-lg dark:bg-slate-900",children:[(0,s.jsxs)("p",{className:"font-medium flex items-center justify-between",children:[(0,s.jsx)(d.f,{status:e.status}),(0,s.jsx)("span",{children:e[u]?o(e[u],{dateStyle:"full",timeStyle:"medium"}):c({id:"in_cart",defaultMessage:"In cart"})})]}),(0,s.jsx)("div",{className:"mt-2","aria-hidden":"true",children:(0,s.jsx)("div",{className:"mt-2 hidden text-sm font-medium text-slate-600 sm:flex",children:x.map(({value:t,label:a})=>(0,s.jsxs)("div",{className:"sm:flex-auto",children:[(0,s.jsx)("div",{className:"relative mb-4 mr-1",children:(0,s.jsx)("span",{className:(0,l.S)(m>=n[t].id?e?.status==="CONFIRMED"?"bg-lime-600":e?.status==="PENDING"?"bg-amber-600":e?.status==="OPEN"?"bg-sky-600":"bg-emerald-600":"bg-slate-200 dark:bg-slate-700","absolute top-0 left-0 -ml-px h-2 w-full"),"aria-hidden":"true"})}),(0,s.jsxs)("div",{className:(0,l.S)(m>=n[t].id?"text-slate-900":"opacity-50","text-start"),children:[(0,s.jsx)("span",{className:"text-slate-900 dark:text-slate-400 uppercase",children:n[t]?.Component?n[t].Component:"CONFIRMED"===t?c({id:"confirmed",defaultMessage:"CONFIRMED"}):"PENDING"===t?c({id:"pending",defaultMessage:"PENDING"}):"OPEN"===t?c({id:"open",defaultMessage:"OPEN"}):"FULFILLED"===t?c({id:"fulfilled",defaultMessage:"FULFILLED"}):"REJECTED"===t?c({id:"rejected",defaultMessage:"REJECTED"}):t}),(0,s.jsx)("span",{className:"block text-slate-900 dark:text-slate-100",children:m>=n?.[t]?.id?o(e[n?.[t]?.content],{dateStyle:"short",timeStyle:"short"}):null})]})]},`${t}${a}`))})})]})]})}])},1880,e=>{"use strict";e.s(["U",0,(e={})=>{let{_id:s,texts:t}=e||{};return t||s?`${t?.slug?.split("/").join("")||""}_id_${s}`:null},"P",0,e=>{if(!e)return null;let[s]=e?.split("_id_")||[];return s},"Q",0,e=>{if(!e)return null;let s=e?.split("_id_");return s?.pop()}])},34728,e=>{"use strict";var s=e.i(91398),t=e.i(38322);e.s(["f",0,({onOkClick:e,buttonText:a,headerText:r,message:l,icon:d=null})=>(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("div",{children:[d||(0,s.jsx)("div",{className:"mx-auto flex h-12 w-12 items-center justify-center rounded-full bg-emerald-100 dark:bg-emerald-900/30",children:(0,s.jsx)(t.f,{className:"h-6 w-6 text-emerald-600 dark:text-emerald-400",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","aria-hidden":"true"})}),(0,s.jsxs)("div",{className:"mt-3 text-center sm:mt-5",children:[(0,s.jsx)("h3",{className:"text-lg text-slate-900 dark:text-slate-200",id:"modal-title",children:r}),(0,s.jsx)("div",{className:"mt-2",children:(0,s.jsx)("p",{className:"text-sm text-slate-500 dark:text-slate-200",children:l})})]})]}),(0,s.jsx)("div",{className:"mt-5 sm:mt-6",children:(0,s.jsx)("button",{id:"alert_ok",onClick:e,type:"button",className:"inline-flex w-full justify-center rounded-md border border-transparent bg-slate-800 dark:bg-slate-600 px-4 py-2 text-base font-medium text-white shadow-xs hover:bg-slate-950 dark:hover:bg-slate-500 focus:outline-hidden focus:ring-2 focus:ring-slate-800 dark:focus:ring-slate-400 focus:ring-offset-2 sm:text-sm",children:a})})]})])},51782,e=>{"use strict";var s=e.i(91398),t=e.i(3326),a=e.i(65153),r=e.i(60193);let l={PENDING:"bg-yellow-100 text-yellow-800",CONFIRMED:"bg-blue-100 text-blue-800",OPEN:"bg-gray-100 text-gray-800",FULFILLED:"bg-green-100 text-green-800",REJECTED:"bg-red-100 text-red-800"};e.s(["f",0,({status:e,className:d=""})=>{let{formatMessage:i}=(0,t.S)(),n={PENDING:i({id:"pending",defaultMessage:"PENDING"}),CONFIRMED:i({id:"confirmed",defaultMessage:"CONFIRMED"}),OPEN:i({id:"open",defaultMessage:"OPEN"}),FULFILLED:i({id:"fulfilled",defaultMessage:"FULFILLED"}),REJECTED:i({id:"rejected",defaultMessage:"REJECTED"})},c=n?.[e]??i({id:"cart",defaultMessage:"Cart"});return l?.[e],(0,s.jsx)(a.f,{text:c,color:r.v[e],square:!0,className:`uppercase ${d}`})}])},71774,e=>{"use strict";var s=e.i(91398),t=e.i(3828),a=e.i(66773),r=e.i(3326),l=e.i(28401),d=e.i(61494),i=e.i(12197),n=e.i(59080),c=e.i(32171),o=e.i(70693),u=e.i(36494);let m=n.f`
2
2
  fragment OrderDetailFragment on Order {
3
3
  _id
4
4
  totalTax: total(category: TAXES) {
@@ -312,4 +312,4 @@
312
312
  }
313
313
  }
314
314
  ${m}
315
- `)(s?.Order),{skip:!e,variables:{orderId:e}});return{order:t?.order,loading:a,error:r}})({orderId:e}),j=async()=>{await x((0,s.jsx)(K.f,{message:u({id:"delete_order_confirmation",defaultMessage:"This action might cause inconsistencies with other data that relates to it. Are you sure you want to delete this order? "}),onCancelClick:async()=>x(""),onOkClick:async()=>{x(""),await f({orderId:e}),l.c.success(u({id:"order_deleted",defaultMessage:"Order deleted successfully"})),h.push("/orders")},okText:u({id:"delete_order",defaultMessage:"Delete order"})}))};return(0,s.jsxs)("div",{className:"mt-5 max-w-full",children:[(0,s.jsx)(d.f,{currentPageTitle:g?.orderNumber?`#${g?.orderNumber}`:""}),(0,s.jsx)("div",{className:"items-center flex min-w-full justify-end gap-3 flex-wrap",children:g&&"OPEN"===g.status&&p(a.C.UpdateOrder)?(0,s.jsx)(X.f,{onClick:j}):null}),v?(0,s.jsx)(i.f,{}):(0,s.jsx)(Y,{order:g})]})}],71774)},15361,e=>{var s=e.i(91788);let t=s.forwardRef(function({title:e,titleId:t,...a},r){return s.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":t},a),e?s.createElement("title",{id:t},e):null,s.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 12.75 11.25 15 15 9.75M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"}))});e.s(["f",0,t],15361)},38322,e=>{var s=e.i(91788);let t=s.forwardRef(function({title:e,titleId:t,...a},r){return s.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":t},a),e?s.createElement("title",{id:t},e):null,s.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m4.5 12.75 6 6 9-13.5"}))});e.s(["f",0,t],38322)},67912,e=>{var s=e.i(91788);let t=s.forwardRef(function({title:e,titleId:t,...a},r){return s.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":t},a),e?s.createElement("title",{id:t},e):null,s.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M17.982 18.725A7.488 7.488 0 0 0 12 15.75a7.488 7.488 0 0 0-5.982 2.975m11.963 0a9 9 0 1 0-11.963 0m11.963 0A8.966 8.966 0 0 1 12 21a8.966 8.966 0 0 1-5.982-2.275M15 9.75a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"}))});e.s(["f",0,t],67912)}])})();
315
+ `)(s?.Order),{skip:!e,variables:{orderId:e}});return{order:t?.order,loading:a,error:r}})({orderId:e}),j=async()=>{await x((0,s.jsx)(K.f,{message:u({id:"delete_order_confirmation",defaultMessage:"This action might cause inconsistencies with other data that relates to it. Are you sure you want to delete this order? "}),onCancelClick:async()=>x(""),onOkClick:async()=>{x(""),await f({orderId:e}),l.c.success(u({id:"order_deleted",defaultMessage:"Order deleted successfully"})),h.push("/orders")},okText:u({id:"delete_order",defaultMessage:"Delete order"})}))};return(0,s.jsxs)("div",{className:"mt-5 max-w-full",children:[(0,s.jsx)(d.f,{currentPageTitle:g?.orderNumber?`#${g?.orderNumber}`:""}),(0,s.jsx)("div",{className:"items-center flex min-w-full justify-end gap-3 flex-wrap",children:g&&"OPEN"===g.status&&p(a.C.UpdateOrder)?(0,s.jsx)(X.f,{onClick:j}):null}),v?(0,s.jsx)(i.f,{}):(0,s.jsx)(Y,{order:g})]})}],71774)},15361,e=>{"use strict";var s=e.i(91788);let t=s.forwardRef(function({title:e,titleId:t,...a},r){return s.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":t},a),e?s.createElement("title",{id:t},e):null,s.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 12.75 11.25 15 15 9.75M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"}))});e.s(["f",0,t],15361)},38322,e=>{"use strict";var s=e.i(91788);let t=s.forwardRef(function({title:e,titleId:t,...a},r){return s.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":t},a),e?s.createElement("title",{id:t},e):null,s.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m4.5 12.75 6 6 9-13.5"}))});e.s(["f",0,t],38322)},67912,e=>{"use strict";var s=e.i(91788);let t=s.forwardRef(function({title:e,titleId:t,...a},r){return s.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":t},a),e?s.createElement("title",{id:t},e):null,s.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M17.982 18.725A7.488 7.488 0 0 0 12 15.75a7.488 7.488 0 0 0-5.982 2.975m11.963 0a9 9 0 1 0-11.963 0m11.963 0A8.966 8.966 0 0 1 12 21a8.966 8.966 0 0 1-5.982-2.275M15 9.75a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"}))});e.s(["f",0,t],67912)}]);
@@ -0,0 +1 @@
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,55215,e=>{"use strict";var t=e.i(91398),n=e.i(72043);e.s(["f",0,({value:e,className:r,onChange:a=()=>{},rows:i=7,...o})=>{let u=Math.max(e?e.split("\n").length:1,i);return(0,t.jsx)("textarea",{className:(0,n.default)("text-black dark:bg-slate-900 dark:text-slate-200 border-transparent border-t border-t-slate-200 dark:border-t-slate-800 resize-y",r),value:e,onChange:a,rows:u,...o})}])},84818,e=>{"use strict";var t=e.i(92042);e.i(27861);let n={year:0,month:1,day:2,hour:3,minute:4,second:5},r={},a=new Intl.DateTimeFormat("en-US",{hourCycle:"h23",timeZone:"America/New_York",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}).format(new Date("2014-06-25T04:00:00.123Z")),i="06/25/2014, 00:00:00"===a||"‎06‎/‎25‎/‎2014‎ ‎00‎:‎00‎:‎00"===a;function o(e,t,n,r,a,i,o){let u=new Date(0);return u.setUTCFullYear(e,t,n),u.setUTCHours(r,a,i,o),u}let u=/^(Z)$/,s=/^([+-]\d{2})$/,l=/^([+-])(\d{2}):?(\d{2})$/;function d(e,t,n){let r,a;if(!e)return 0;let i=u.exec(e);if(i)return 0;if(i=s.exec(e))return h(r=parseInt(i[1],10))?-(36e5*r):0/0;if(i=l.exec(e)){r=parseInt(i[2],10);let e=parseInt(i[3],10);return h(r,e)?(a=36e5*Math.abs(r)+6e4*e,"+"===i[1]?-a:a):0/0}if(function(e){if(f[e])return!0;try{return new Intl.DateTimeFormat(void 0,{timeZone:e}),f[e]=!0,!0}catch(e){return!1}}(e)){var d;t=new Date(t||Date.now());let r=c(n?t:o((d=t).getFullYear(),d.getMonth(),d.getDate(),d.getHours(),d.getMinutes(),d.getSeconds(),d.getMilliseconds()),e);return-(n?r:function(e,t,n){let r=e.getTime()-t,a=c(new Date(r),n);if(t===a)return t;let i=c(new Date(r-=a-t),n);return a===i?a:Math.max(a,i)}(t,r,e))}return 0/0}function c(e,t){var a,u,s;let l,d,c,h=(r[a=t]||(r[a]=i?new Intl.DateTimeFormat("en-US",{hourCycle:"h23",timeZone:a,year:"numeric",month:"numeric",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}):new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:a,year:"numeric",month:"numeric",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"})),"formatToParts"in(c=r[a])?function(e,t){try{let r=e.formatToParts(t),a=[];for(let e=0;e<r.length;e++){let t=n[r[e].type];void 0!==t&&(a[t]=parseInt(r[e].value,10))}return a}catch(e){if(e instanceof RangeError)return[0/0];throw e}}(c,e):(u=c,s=e,l=u.format(s),[parseInt((d=/(\d+)\/(\d+)\/(\d+),? (\d+):(\d+):(\d+)/.exec(l))[3],10),parseInt(d[1],10),parseInt(d[2],10),parseInt(d[4],10),parseInt(d[5],10),parseInt(d[6],10)])),f=o(h[0],h[1]-1,h[2],h[3]%24,h[4],h[5],0).getTime(),m=e.getTime(),g=m%1e3;return f-(m-=g>=0?g:1e3+g)}function h(e,t){return -23<=e&&e<=23&&(null==t||0<=t&&t<=59)}let f={};function m(e){let t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.setUTCFullYear(e.getFullYear()),e-t}let g=/(Z|[+-]\d{2}(?::?\d{2})?| UTC| [a-zA-Z]+\/[a-zA-Z_]+(?:\/[a-zA-Z_]+)?)$/,w=/^([0-9W+-]+)(T| )(.*)/,b=/^([0-9W+-]+)(.*)/,y=/^(\d{2})$/,p=[/^([+-]\d{2})$/,/^([+-]\d{3})$/,/^([+-]\d{4})$/],v=/^(\d{4})/,M=[/^([+-]\d{4})/,/^([+-]\d{5})/,/^([+-]\d{6})/],D=/^-(\d{2})$/,x=/^-?(\d{3})$/,T=/^-?(\d{2})-?(\d{2})$/,k=/^-?W(\d{2})$/,S=/^-?W(\d{2})-?(\d{1})$/,P=/^(\d{2}([.,]\d*)?)$/,C=/^(\d{2}):?(\d{2}([.,]\d*)?)$/,W=/^(\d{2}):?(\d{2}):?(\d{2}([.,]\d*)?)$/;function F(e,t={}){if(arguments.length<1)throw TypeError("1 argument required, but only "+arguments.length+" present");if(null===e)return new Date(0/0);let n=null==t.additionalDigits?2:Number(t.additionalDigits);if(2!==n&&1!==n&&0!==n)throw RangeError("additionalDigits must be 0, 1 or 2");if(e instanceof Date||"object"==typeof e&&"[object Date]"===Object.prototype.toString.call(e))return new Date(e.getTime());if("number"==typeof e||"[object Number]"===Object.prototype.toString.call(e))return new Date(e);if("[object String]"!==Object.prototype.toString.call(e))return new Date(0/0);let r=function(e){let t,n={},r=w.exec(e);if(r?(n.date=r[1],t=r[3]):(r=b.exec(e))?(n.date=r[1],t=r[2]):(n.date=null,t=e),t){let e=g.exec(t);e?(n.time=t.replace(e[1],""),n.timeZone=e[1].trim()):n.time=t}return n}(e),{year:a,restDateString:i}=function(e,t){if(e){let n=p[t],r=M[t],a=v.exec(e)||r.exec(e);if(a){let t=a[1];return{year:parseInt(t,10),restDateString:e.slice(t.length)}}if(a=y.exec(e)||n.exec(e)){let t=a[1];return{year:100*parseInt(t,10),restDateString:e.slice(t.length)}}}return{year:null}}(r.date,n),o=function(e,t){let n,r,a;if(null===t)return null;if(!e||!e.length)return(n=new Date(0)).setUTCFullYear(t),n;let i=D.exec(e);if(i)return(n=new Date(0),I(t,r=parseInt(i[1],10)-1))?(n.setUTCFullYear(t,r),n):new Date(0/0);if(i=x.exec(e)){n=new Date(0);let e=parseInt(i[1],10);return!function(e,t){if(t<1)return!1;let n=E(e);return(!n||!(t>366))&&(!!n||!(t>365))}(t,e)?new Date(0/0):(n.setUTCFullYear(t,0,e),n)}if(i=T.exec(e)){n=new Date(0),r=parseInt(i[1],10)-1;let e=parseInt(i[2],10);return I(t,r,e)?(n.setUTCFullYear(t,r,e),n):new Date(0/0)}if(i=k.exec(e))return j(a=parseInt(i[1],10)-1)?Y(t,a):new Date(0/0);if(i=S.exec(e)){a=parseInt(i[1],10)-1;let e=parseInt(i[2],10)-1;return j(a,e)?Y(t,a,e):new Date(0/0)}return null}(i,a);if(null===o||isNaN(o.getTime())||!o)return new Date(0/0);{let e,n=o.getTime(),a=0;if(r.time&&(null===(a=function(e){let t,n,r=P.exec(e);if(r)return q(t=parseFloat(r[1].replace(",",".")))?t%24*36e5:0/0;if(r=C.exec(e))return q(t=parseInt(r[1],10),n=parseFloat(r[2].replace(",",".")))?t%24*36e5+6e4*n:0/0;if(r=W.exec(e)){t=parseInt(r[1],10),n=parseInt(r[2],10);let e=parseFloat(r[3].replace(",","."));return q(t,n,e)?t%24*36e5+6e4*n+1e3*e:0/0}return null}(r.time))||isNaN(a)))return new Date(0/0);if(r.timeZone||t.timeZone){if(isNaN(e=d(r.timeZone||t.timeZone,new Date(n+a))))return new Date(0/0)}else e=m(new Date(n+a)),e=m(new Date(n+a+e));return new Date(n+a+e)}}function Y(e,t,n){t=t||0,n=n||0;let r=new Date(0);r.setUTCFullYear(e,0,4);let a=7*t+n+1-(r.getUTCDay()||7);return r.setUTCDate(r.getUTCDate()+a),r}let N=[31,28,31,30,31,30,31,31,30,31,30,31],O=[31,29,31,30,31,30,31,31,30,31,30,31];function E(e){return e%400==0||e%4==0&&e%100!=0}function I(e,t,n){if(t<0||t>11)return!1;if(null!=n){if(n<1)return!1;let r=E(e);if(r&&n>O[t]||!r&&n>N[t])return!1}return!0}function j(e,t){return!(e<0)&&!(e>52)&&(null==t||!(t<0)&&!(t>6))}function q(e,t,n){return!(e<0)&&!(e>=25)&&(null==t||!(t<0)&&!(t>=60))&&(null==n||!(n<0)&&!(n>=60))}e.s(["f",0,()=>({formatDateTime:(e,t={})=>e&&Date.parse(e)?Intl.DateTimeFormat(void 0,t).format(new Date(e).getTime()):"n/a",getDateFormatPattern:()=>new Intl.DateTimeFormat(void 0).formatToParts(new Date).map(e=>{switch(e.type){case"day":return"d".repeat(e.value.length);case"month":return"M".repeat(e.value.length);case"year":return"y".repeat(e.value.length);case"literal":return e.value;default:return"dd.mm.yyyy"}}).join(""),parseDate:e=>(0,t.f)(function(e,t){if("string"==typeof e&&!e.match(g))return F(e,{timeZone:t});let n=o((e=F(e,void 0)).getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()).getTime(),r=d(t,new Date(n));return new Date(n+r)}(e,Intl.DateTimeFormat().resolvedOptions().timeZone),"yyyy-MM-dd")})],84818)},7105,e=>{"use strict";var t=e.i(91398),n=e.i(72043),r=e.i(55215),a=e.i(60741),i=e.i(29691);e.s(["f",0,({validators:e=[],rows:o=10,...u})=>{let s=(0,a.f)({...u,validators:[...e,{isValid:e=>{try{return JSON?.parse(e),!0}catch(e){return!1}},intlMessageDescriptor:{id:"invalid_json_input",defaultMessage:"Invalid JSON input"}}]});return(0,t.jsx)(i.f,{...s,children:(0,t.jsx)(r.f,{className:(0,n.default)("mt-1 block w-full max-w-full rounded-md border-1 border-slate-300 dark:border-slate-800 dark:bg-slate-900 dark:text-slate-200 shadow-xs dark:shadow-none focus:ring-slate-800 sm:text-sm",{"border-rose-300 text-rose-600 focus:border-rose-600 focus:ring-rose-600":!!s.error},u.className),disabled:s.disabled,id:s.name,name:s.name,onChange:e=>{try{JSON.parse(e.target.value||"{}"),s.setError("")}catch(e){s.setError(e.message?.replace("JSON.parse",""))}finally{s.setValue(e.target.value,!0),s.setTouched(!0)}},onBlur:e=>{try{s.setValue(JSON.stringify(JSON.parse(e.target.value),void 0,2),!0),s.setError("")}catch(e){s.setError(e.message)}},placeholder:s.placeholder,autoComplete:s.autoComplete,value:s.value})})}])},15361,e=>{"use strict";var t=e.i(91788);let n=t.forwardRef(function({title:e,titleId:n,...r},a){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":n},r),e?t.createElement("title",{id:n},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 12.75 11.25 15 15 9.75M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"}))});e.s(["f",0,n],15361)},92042,50216,27861,57322,24323,e=>{"use strict";let t={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};function n(e){return (t={})=>{let n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}let r={date:n({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:n({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:n({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},a={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function i(e){return(t,n)=>{let r;if("formatting"===(n?.context?String(n.context):"standalone")&&e.formattingValues){let t=e.defaultFormattingWidth||e.defaultWidth,a=n?.width?String(n.width):t;r=e.formattingValues[a]||e.formattingValues[t]}else{let t=e.defaultWidth,a=n?.width?String(n.width):e.defaultWidth;r=e.values[a]||e.values[t]}return r[e.argumentCallback?e.argumentCallback(t):t]}}function o(e){return(t,n={})=>{let r,a=n.width,i=a&&e.matchPatterns[a]||e.matchPatterns[e.defaultMatchWidth],o=t.match(i);if(!o)return null;let u=o[0],s=a&&e.parsePatterns[a]||e.parsePatterns[e.defaultParseWidth],l=Array.isArray(s)?function(e,t){for(let n=0;n<e.length;n++)if(t(e[n]))return n}(s,e=>e.test(u)):function(e,t){for(let n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t(e[n]))return n}(s,e=>e.test(u));return r=e.valueCallback?e.valueCallback(l):l,{value:r=n.valueCallback?n.valueCallback(r):r,rest:t.slice(u.length)}}}let u={code:"en-US",formatDistance:(e,n,r)=>{let a,i=t[e];if(a="string"==typeof i?i:1===n?i.one:i.other.replace("{{count}}",n.toString()),r?.addSuffix)if(r.comparison&&r.comparison>0)return"in "+a;else return a+" ago";return a},formatLong:r,formatRelative:(e,t,n,r)=>a[e],localize:{ordinalNumber:(e,t)=>{let n=Number(e),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:i({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:i({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:i({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:i({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:i({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:(d={matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)},(e,t={})=>{let n=e.match(d.matchPattern);if(!n)return null;let r=n[0],a=e.match(d.parsePattern);if(!a)return null;let i=d.valueCallback?d.valueCallback(a[0]):a[0];return{value:i=t.valueCallback?t.valueCallback(i):i,rest:e.slice(r.length)}}),era:o({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:o({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:o({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:o({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:o({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}};e.s(["f",0,u],50216);let s={};function l(){return s}e.s(["f",0,l],27861);var d,c=e.i(35113);function h(e){let t=(0,c.f)(e),n=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return n.setUTCFullYear(t.getFullYear()),e-n}e.s(["f",0,h],57322);var f=e.i(98170);function m(e,...t){let n=f.f.bind(null,e||t.find(e=>"object"==typeof e));return t.map(n)}e.s(["f",0,m],24323);var g=e.i(2848),w=e.i(49543);function b(e,t){let n=l(),r=t?.weekStartsOn??t?.locale?.options?.weekStartsOn??n.weekStartsOn??n.locale?.options?.weekStartsOn??0,a=(0,c.f)(e,t?.in),i=a.getDay();return a.setDate(a.getDate()-(7*(i<r)+i-r)),a.setHours(0,0,0,0),a}function y(e,t){return b(e,{...t,weekStartsOn:1})}function p(e,t){let n=(0,c.f)(e,t?.in),r=n.getFullYear(),a=(0,f.f)(n,0);a.setFullYear(r+1,0,4),a.setHours(0,0,0,0);let i=y(a),o=(0,f.f)(n,0);o.setFullYear(r,0,4),o.setHours(0,0,0,0);let u=y(o);return n.getTime()>=i.getTime()?r+1:n.getTime()>=u.getTime()?r:r-1}function v(e,t){let n=(0,c.f)(e,t?.in),r=n.getFullYear(),a=l(),i=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??a.firstWeekContainsDate??a.locale?.options?.firstWeekContainsDate??1,o=(0,f.f)(t?.in||e,0);o.setFullYear(r+1,0,i),o.setHours(0,0,0,0);let u=b(o,t),s=(0,f.f)(t?.in||e,0);s.setFullYear(r,0,i),s.setHours(0,0,0,0);let d=b(s,t);return+n>=+u?r+1:+n>=+d?r:r-1}function M(e,t){let n=Math.abs(e).toString().padStart(t,"0");return(e<0?"-":"")+n}let D={y(e,t){let n=e.getFullYear(),r=n>0?n:1-n;return M("yy"===t?r%100:r,t.length)},M(e,t){let n=e.getMonth();return"M"===t?String(n+1):M(n+1,2)},d:(e,t)=>M(e.getDate(),t.length),a(e,t){let n=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];default:return"am"===n?"a.m.":"p.m."}},h:(e,t)=>M(e.getHours()%12||12,t.length),H:(e,t)=>M(e.getHours(),t.length),m:(e,t)=>M(e.getMinutes(),t.length),s:(e,t)=>M(e.getSeconds(),t.length),S(e,t){let n=t.length;return M(Math.trunc(e.getMilliseconds()*Math.pow(10,n-3)),t.length)}},x={G:function(e,t,n){let r=+(e.getFullYear()>0);switch(t){case"G":case"GG":case"GGG":return n.era(r,{width:"abbreviated"});case"GGGGG":return n.era(r,{width:"narrow"});default:return n.era(r,{width:"wide"})}},y:function(e,t,n){if("yo"===t){let t=e.getFullYear();return n.ordinalNumber(t>0?t:1-t,{unit:"year"})}return D.y(e,t)},Y:function(e,t,n,r){let a=v(e,r),i=a>0?a:1-a;return"YY"===t?M(i%100,2):"Yo"===t?n.ordinalNumber(i,{unit:"year"}):M(i,t.length)},R:function(e,t){return M(p(e),t.length)},u:function(e,t){return M(e.getFullYear(),t.length)},Q:function(e,t,n){let r=Math.ceil((e.getMonth()+1)/3);switch(t){case"Q":return String(r);case"QQ":return M(r,2);case"Qo":return n.ordinalNumber(r,{unit:"quarter"});case"QQQ":return n.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(r,{width:"narrow",context:"formatting"});default:return n.quarter(r,{width:"wide",context:"formatting"})}},q:function(e,t,n){let r=Math.ceil((e.getMonth()+1)/3);switch(t){case"q":return String(r);case"qq":return M(r,2);case"qo":return n.ordinalNumber(r,{unit:"quarter"});case"qqq":return n.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(r,{width:"narrow",context:"standalone"});default:return n.quarter(r,{width:"wide",context:"standalone"})}},M:function(e,t,n){let r=e.getMonth();switch(t){case"M":case"MM":return D.M(e,t);case"Mo":return n.ordinalNumber(r+1,{unit:"month"});case"MMM":return n.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(r,{width:"narrow",context:"formatting"});default:return n.month(r,{width:"wide",context:"formatting"})}},L:function(e,t,n){let r=e.getMonth();switch(t){case"L":return String(r+1);case"LL":return M(r+1,2);case"Lo":return n.ordinalNumber(r+1,{unit:"month"});case"LLL":return n.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(r,{width:"narrow",context:"standalone"});default:return n.month(r,{width:"wide",context:"standalone"})}},w:function(e,t,n,r){let a,i,o,u,s,d=Math.round((b(a=(0,c.f)(e,r?.in),r)-(i=l(),o=r?.firstWeekContainsDate??r?.locale?.options?.firstWeekContainsDate??i.firstWeekContainsDate??i.locale?.options?.firstWeekContainsDate??1,u=v(a,r),(s=(0,f.f)(r?.in||a,0)).setFullYear(u,0,o),s.setHours(0,0,0,0),b(s,r)))/g.A)+1;return"wo"===t?n.ordinalNumber(d,{unit:"week"}):M(d,t.length)},I:function(e,t,n){let r,a,i,o=Math.round((y(r=(0,c.f)(e,void 0))-(a=p(r,void 0),(i=(0,f.f)(r,0)).setFullYear(a,0,4),i.setHours(0,0,0,0),y(i)))/g.A)+1;return"Io"===t?n.ordinalNumber(o,{unit:"week"}):M(o,t.length)},d:function(e,t,n){return"do"===t?n.ordinalNumber(e.getDate(),{unit:"date"}):D.d(e,t)},D:function(e,t,n){let r,a,i=function(e,t){let[n,r]=m(void 0,e,t),a=(0,w.f)(n),i=(0,w.f)(r);return Math.round((a-h(a)-(i-h(i)))/g._)}(r=(0,c.f)(e,void 0),((a=(0,c.f)(r,void 0)).setFullYear(a.getFullYear(),0,1),a.setHours(0,0,0,0),a))+1;return"Do"===t?n.ordinalNumber(i,{unit:"dayOfYear"}):M(i,t.length)},E:function(e,t,n){let r=e.getDay();switch(t){case"E":case"EE":case"EEE":return n.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},e:function(e,t,n,r){let a=e.getDay(),i=(a-r.weekStartsOn+8)%7||7;switch(t){case"e":return String(i);case"ee":return M(i,2);case"eo":return n.ordinalNumber(i,{unit:"day"});case"eee":return n.day(a,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(a,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(a,{width:"short",context:"formatting"});default:return n.day(a,{width:"wide",context:"formatting"})}},c:function(e,t,n,r){let a=e.getDay(),i=(a-r.weekStartsOn+8)%7||7;switch(t){case"c":return String(i);case"cc":return M(i,t.length);case"co":return n.ordinalNumber(i,{unit:"day"});case"ccc":return n.day(a,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(a,{width:"narrow",context:"standalone"});case"cccccc":return n.day(a,{width:"short",context:"standalone"});default:return n.day(a,{width:"wide",context:"standalone"})}},i:function(e,t,n){let r=e.getDay(),a=0===r?7:r;switch(t){case"i":return String(a);case"ii":return M(a,t.length);case"io":return n.ordinalNumber(a,{unit:"day"});case"iii":return n.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(e,t,n){let r=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},b:function(e,t,n){let r,a=e.getHours();switch(r=12===a?"noon":0===a?"midnight":a/12>=1?"pm":"am",t){case"b":case"bb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},B:function(e,t,n){let r,a=e.getHours();switch(r=a>=17?"evening":a>=12?"afternoon":a>=4?"morning":"night",t){case"B":case"BB":case"BBB":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},h:function(e,t,n){if("ho"===t){let t=e.getHours()%12;return 0===t&&(t=12),n.ordinalNumber(t,{unit:"hour"})}return D.h(e,t)},H:function(e,t,n){return"Ho"===t?n.ordinalNumber(e.getHours(),{unit:"hour"}):D.H(e,t)},K:function(e,t,n){let r=e.getHours()%12;return"Ko"===t?n.ordinalNumber(r,{unit:"hour"}):M(r,t.length)},k:function(e,t,n){let r=e.getHours();return(0===r&&(r=24),"ko"===t)?n.ordinalNumber(r,{unit:"hour"}):M(r,t.length)},m:function(e,t,n){return"mo"===t?n.ordinalNumber(e.getMinutes(),{unit:"minute"}):D.m(e,t)},s:function(e,t,n){return"so"===t?n.ordinalNumber(e.getSeconds(),{unit:"second"}):D.s(e,t)},S:function(e,t){return D.S(e,t)},X:function(e,t,n){let r=e.getTimezoneOffset();if(0===r)return"Z";switch(t){case"X":return k(r);case"XXXX":case"XX":return S(r);default:return S(r,":")}},x:function(e,t,n){let r=e.getTimezoneOffset();switch(t){case"x":return k(r);case"xxxx":case"xx":return S(r);default:return S(r,":")}},O:function(e,t,n){let r=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+T(r,":");default:return"GMT"+S(r,":")}},z:function(e,t,n){let r=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+T(r,":");default:return"GMT"+S(r,":")}},t:function(e,t,n){return M(Math.trunc(e/1e3),t.length)},T:function(e,t,n){return M(+e,t.length)}};function T(e,t=""){let n=e>0?"-":"+",r=Math.abs(e),a=Math.trunc(r/60),i=r%60;return 0===i?n+String(a):n+String(a)+t+M(i,2)}function k(e,t){return e%60==0?(e>0?"-":"+")+M(Math.abs(e)/60,2):S(e,t)}function S(e,t=""){let n=Math.abs(e);return(e>0?"-":"+")+M(Math.trunc(n/60),2)+t+M(n%60,2)}let P=(e,t)=>{switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});default:return t.date({width:"full"})}},C=(e,t)=>{switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});default:return t.time({width:"full"})}},W={p:C,P:(e,t)=>{let n,r=e.match(/(P+)(p+)?/)||[],a=r[1],i=r[2];if(!i)return P(e,t);switch(a){case"P":n=t.dateTime({width:"short"});break;case"PP":n=t.dateTime({width:"medium"});break;case"PPP":n=t.dateTime({width:"long"});break;default:n=t.dateTime({width:"full"})}return n.replace("{{date}}",P(a,t)).replace("{{time}}",C(i,t))}},F=/^D+$/,Y=/^Y+$/,N=["D","DD","YY","YYYY"];var O=e.i(9356);let E=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,I=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,j=/^'([^]*?)'?$/,q=/''/g,H=/[a-zA-Z]/;e.s(["f",0,function(e,t,n){let r=l(),a=n?.locale??r.locale??u,i=n?.firstWeekContainsDate??n?.locale?.options?.firstWeekContainsDate??r.firstWeekContainsDate??r.locale?.options?.firstWeekContainsDate??1,o=n?.weekStartsOn??n?.locale?.options?.weekStartsOn??r.weekStartsOn??r.locale?.options?.weekStartsOn??0,s=(0,c.f)(e,n?.in);if(!(0,O.f)(s))throw RangeError("Invalid time value");let d=t.match(I).map(e=>{let t=e[0];return"p"===t||"P"===t?(0,W[t])(e,a.formatLong):e}).join("").match(E).map(e=>{if("''"===e)return{isToken:!1,value:"'"};let t=e[0];if("'"===t){var n;let t;return{isToken:!1,value:(t=(n=e).match(j))?t[1].replace(q,"'"):n}}if(x[t])return{isToken:!0,value:e};if(t.match(H))throw RangeError("Format string contains an unescaped latin alphabet character `"+t+"`");return{isToken:!1,value:e}});a.localize.preprocessor&&(d=a.localize.preprocessor(s,d));let h={firstWeekContainsDate:i,weekStartsOn:o,locale:a};return d.map(r=>{if(!r.isToken)return r.value;let i=r.value;return(!n?.useAdditionalWeekYearTokens&&Y.test(i)||!n?.useAdditionalDayOfYearTokens&&F.test(i))&&function(e,t,n){var r,a,i;let o,u=(r=e,a=t,i=n,o="Y"===r[0]?"years":"days of the month",`Use \`${r.toLowerCase()}\` instead of \`${r}\` (in \`${a}\`) for formatting ${o} to the input \`${i}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`);if(console.warn(u),N.includes(e))throw RangeError(u)}(i,t,String(e)),(0,x[i[0]])(s,i,a.localize,h)}).join("")}],92042)}]);
@@ -0,0 +1,5 @@
1
+ __turbopack_load_page_chunks__("/install", [
2
+ "static/chunks/17nr-ur3sbo_z.js",
3
+ "static/chunks/14pnkf7som1m1.js",
4
+ "static/chunks/turbopack-077hmtqrhcoji.js"
5
+ ])
@@ -0,0 +1,16 @@
1
+ __turbopack_load_page_chunks__("/assortments", [
2
+ "static/chunks/0lh8xbz1qulcr.js",
3
+ "static/chunks/2ksch2zc9k7uj.js",
4
+ "static/chunks/3u6_-nj6i_l_r.js",
5
+ "static/chunks/29fdom9djvjop.js",
6
+ "static/chunks/36mjt8cgckx2r.js",
7
+ "static/chunks/2sc_zg0bvlmak.js",
8
+ "static/chunks/11vnr4kb9qkjr.js",
9
+ "static/chunks/14pnkf7som1m1.js",
10
+ "static/chunks/0l1xycyhdztmy.js",
11
+ "static/chunks/3hxp-xwv4g3ek.js",
12
+ "static/chunks/3btzusax1chra.js",
13
+ "static/chunks/1t5wlk2j9d4ss.js",
14
+ "static/chunks/3uekb_s0jaboj.js",
15
+ "static/chunks/turbopack-077hmtqrhcoji.js"
16
+ ])
@@ -0,0 +1,5 @@
1
+ __turbopack_load_page_chunks__("/warehousing-provider/new", [
2
+ "static/chunks/2tlxpweh5c3fh.js",
3
+ "static/chunks/14pnkf7som1m1.js",
4
+ "static/chunks/turbopack-077hmtqrhcoji.js"
5
+ ])
@@ -0,0 +1,23 @@
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,77507,(e,a,s)=>{let t="/language";(window.__NEXT_P=window.__NEXT_P||[]).push([t,()=>e.r(11514)]),a.hot&&a.hot.dispose(function(){window.__NEXT_P.push([t])})},2875,e=>{"use strict";var a=e.i(91398),s=e.i(44112);e.s(["f",0,({title:e=null,description:t})=>(0,a.jsx)("div",{className:"mb-6 p-4 bg-blue-50 dark:bg-blue-900/20 border border-blue-200 dark:border-blue-800 rounded-lg",children:(0,a.jsxs)("div",{className:"flex items-start gap-3",children:[(0,a.jsx)(s.f,{className:"w-5 h-5 text-blue-600 dark:text-blue-400 mt-0.5 flex-shrink-0"}),(0,a.jsxs)("div",{children:[e&&(0,a.jsx)("h3",{className:"text-sm font-semibold text-blue-900 dark:text-blue-100 mb-2",children:e}),(0,a.jsx)("p",{className:"text-sm text-blue-800 dark:text-blue-200 leading-relaxed",children:t})]})]})})])},95148,e=>{"use strict";var a=e.i(91398),s=e.i(3326),t=e.i(66773),i=e.i(58971),l=e.i(64591),n=e.i(69211),g=e.i(99160),u=e.i(45229),d=e.i(98949),r=e.i(82226);e.s(["f",0,({onSubmit:e,onSubmitSuccess:o=null,isEdit:c=!1,defaultValue:f})=>{let{formatMessage:h}=(0,s.S)(),{hasRole:x}=(0,i.f)(),m=h({id:"language_added",defaultMessage:"Language added successfully!"}),v=h({id:"language_updated",defaultMessage:"Language updated successfully!"}),j=(0,d.f)({submit:e,onSubmitSuccess:o,successMessage:c?v:m,getSubmitErrorMessage:e=>{if(e?.message?.includes("duplicate"))return j.formik.setFieldError("isoCode",h({id:"language_exists",defaultMessage:"Language with the same ISO code already exists"})),""},enableReinitialize:!0,initialValues:{isoCode:"",isActive:"",...f}});return(0,a.jsxs)(n.f,{form:j,children:[(0,a.jsxs)("div",{className:"p-5",children:[(0,a.jsx)(u.f,{name:"isoCode",disabled:!x(t.C.ManageLanguages),id:"isoCode",validators:[(0,r.y)()],label:h({id:"iso_code",defaultMessage:"ISO code"}),autoComplete:"on",required:!0}),c&&(0,a.jsx)("div",{className:"mt-5 flex items-center flex-wrap",children:(0,a.jsx)(l.f,{toggleText:h({id:"active",defaultMessage:"Active"}),disabled:!x(t.C.ManageLanguages),active:j.formik.values.isActive,onToggle:()=>j.formik.setFieldValue("isActive",!j.formik.values.isActive)})})]}),x(t.C.ManageLanguages)&&(0,a.jsx)("div",{className:"border-t-slate-100 border-t dark:border-t-slate-700 mt-5 space-y-6 bg-slate-50 dark:bg-slate-900 p-5 text-right",children:(0,a.jsx)(g.f,{label:c?h({id:"update_language",defaultMessage:"Update Language"}):h({id:"add_language",defaultMessage:"Add Language"})})})]})}])},89062,e=>{"use strict";var a=e.i(59080),s=e.i(32171),t=e.i(70693),i=e.i(95064);e.s(["f",0,({languageId:e})=>{let{customProperties:l}=(0,t.f)(),{data:n,loading:g,error:u}=(0,s.f)(((e="")=>a.f`
2
+ query Language($languageId: ID!) {
3
+ language(languageId: $languageId) {
4
+ ...LanguageFragment
5
+ ${e}
6
+ }
7
+ }
8
+ ${i.f}
9
+ `)(l?.Language),{skip:!e,variables:{languageId:e}});return{language:n?.language,loading:g,error:u}}])},83735,e=>{"use strict";var a=e.i(59080),s=e.i(76204),t=e.i(95064);let i=a.f`
10
+ mutation RemoveLanguage($languageId: ID!) {
11
+ removeLanguage(languageId: $languageId) {
12
+ ...LanguageFragment
13
+ }
14
+ }
15
+ ${t.f}
16
+ `;e.s(["f",0,()=>{let[e]=(0,s.f)(i);return{removeLanguage:async({languageId:a})=>e({variables:{languageId:a},refetchQueries:["ShopStatus","ShopInfo","Languages"]})}}])},98450,e=>{"use strict";var a=e.i(91398),s=e.i(3828),t=e.i(66773),i=e.i(3326),l=e.i(28401),n=e.i(95148),g=e.i(89062),u=e.i(83735),d=e.i(59080),r=e.i(76204),o=e.i(95064);let c=d.f`
17
+ mutation UpdateLanguage($language: UpdateLanguageInput!, $languageId: ID!) {
18
+ updateLanguage(language: $language, languageId: $languageId) {
19
+ ...LanguageFragment
20
+ }
21
+ }
22
+ ${o.f}
23
+ `;var f=e.i(17644),h=e.i(61494),x=e.i(15971),m=e.i(6607),v=e.i(81359),j=e.i(5505),b=e.i(12197),p=e.i(58971);e.s(["default",0,({languageId:e})=>{let{updateLanguage:d}=(()=>{let[e]=(0,r.f)(c);return{updateLanguage:async({language:{isoCode:a,isActive:s},languageId:t})=>e({variables:{language:{isoCode:a,isActive:s},languageId:t},refetchQueries:["ShopStatus","ShopInfo","Languages"]})}})(),{push:o}=(0,s.useRouter)(),{setModal:_}=(0,m.f)(),{removeLanguage:w}=(0,u.f)(),{language:C,loading:y}=(0,g.f)({languageId:e}),{hasRole:M}=(0,p.f)(),{formatMessage:L,locale:I}=(0,i.S)(),k=async({isoCode:a,isActive:s})=>(await d({language:{isoCode:a,isActive:s},languageId:e}),!0),N=async()=>{await _((0,a.jsx)(x.f,{onCancelClick:async()=>_(""),message:L({id:"delete_language_confirmation",defaultMessage:"This action might cause inconsistencies with other data that relates to it. Are you sure you want to delete this language?"}),onOkClick:async()=>{_(""),await w({languageId:e}),l.c.success(L({id:"language_deleted",defaultMessage:"Language deleted successfully"})),o("/language")},okText:L({id:"delete_language",defaultMessage:"Delete language"})}))},S=e=>e?`${new Intl.DisplayNames([I],{type:"language"}).of(C.isoCode)} (${e})`:"";return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(h.f,{currentPageTitle:S(C?.isoCode)}),(0,a.jsxs)("div",{className:"items-center flex min-w-full justify-between gap-3 flex-wrap",children:[(0,a.jsx)(f.f,{headerText:S(C?.isoCode)}),M(t.C.ManageLanguages)&&(0,a.jsx)(v.f,{onClick:N})]}),y?(0,a.jsx)(b.f,{}):(0,a.jsx)("div",{className:"mx-auto mt-6 sm:max-w-xl",children:(0,a.jsx)(j.U,{children:(0,a.jsx)(n.f,{isEdit:!0,defaultValue:C,onSubmit:k})})})]})}],98450)},11514,e=>{"use strict";var a=e.i(91398),s=e.i(3326),t=e.i(66773),i=e.i(28401),l=e.i(3828),n=e.i(51713),g=e.i(58971),u=e.i(8918),d=e.i(65153),r=e.i(3095),o=e.i(83147);let c=({language:e,onRemove:t,enableEdit:i,enableDelete:n})=>{let{locale:g,formatMessage:c}=(0,s.S)(),f=(0,l.useRouter)(),h={true:c({id:"active",defaultMessage:"Active"}),false:c({id:"in_active",defaultMessage:"In-Active"})},x=async()=>{await t(e?._id)};return(0,a.jsxs)(u.f.Row,{className:"text-sm",children:[(0,a.jsx)(u.f.Cell,{children:(0,a.jsxs)("div",{children:[e.isoCode,e.isBase&&(0,a.jsx)(d.f,{text:c({id:"base_language",defaultMessage:"Base"}),className:"ml-2 text-sm",color:"sky",square:!0})]})}),(0,a.jsx)(u.f.Cell,{children:(0,o.I)(g,e?.isoCode,!1)}),(0,a.jsx)(u.f.Cell,{children:(0,a.jsx)(d.f,{text:h[e.isActive],color:e.isActive?"emerald":"amber",square:!0})}),(i||n)&&(0,a.jsx)(u.f.Cell,{children:(0,a.jsx)(r.f,{onEdit:i?()=>{f.push(`/language?languageId=${e?._id}`)}:void 0,onDelete:n?x:void 0,showEdit:i,showDelete:n})})]})},f=({languages:e,onRemoveLanguage:i,sortable:l})=>{let{formatMessage:n}=(0,s.S)(),{hasRole:d}=(0,g.f)();return(0,a.jsxs)(u.f,{className:"min-w-full ",children:[e?.map(e=>(0,a.jsxs)(u.f.Row,{header:!0,enablesort:l,children:[(0,a.jsx)(u.f.Cell,{sortKey:"isoCode",children:n({id:"iso_code",defaultMessage:"ISO code"})}),(0,a.jsx)(u.f.Cell,{children:n({id:"name",defaultMessage:"Name"})}),(0,a.jsx)(u.f.Cell,{sortKey:"isActive",children:n({id:"status",defaultMessage:"Status"})}),(0,a.jsx)(u.f.Cell,{children:(0,a.jsxs)("span",{className:"sr-only",children:[n({id:"edit",defaultMessage:"Edit"}),n({id:"delete",defaultMessage:"Delete"})]})})]},e._id)),e?.map(e=>(0,a.jsx)(c,{language:e,onRemove:i,enableEdit:d(t.C.ViewLanguage),enableDelete:d(t.C.ManageCountries)},`${e?._id}`))]})};var h=e.i(83735),x=e.i(60193),m=e.i(17644),v=e.i(61494),j=e.i(94724),b=e.i(64591),p=e.i(78704),_=e.i(6607),w=e.i(15971),C=e.i(12197),y=e.i(51128),M=e.i(98450),L=e.i(74954),I=e.i(2875);e.s(["default",0,()=>{let{formatMessage:e}=(0,s.S)(),{query:u,push:d}=(0,l.useRouter)(),{hasRole:r}=(0,g.f)(),c=parseInt(u?.limit,10)||x.h,k=parseInt(u?.skip,10)||0,N=u?.includeInactive==="true"||!u?.includeInactive,S=u?.sort||"",{queryString:A,languageId:T,...$}=u,E=(0,o.R)(S),{languages:R,languagesCount:D,loading:U,loadMore:q,hasMore:O}=(0,n.f)({queryString:A,limit:c,includeInactive:N,offset:k,sort:E}),{setModal:F}=(0,_.f)(),{removeLanguage:P}=(0,h.f)();if(T)return(0,a.jsx)(M.default,{languageId:T});let B=async s=>{await F((0,a.jsx)(w.f,{onCancelClick:async()=>F(""),message:e({id:"delete_language_confirmation",defaultMessage:"This action might cause inconsistencies with other data that relates to it. Are you sure you want to delete this language? "}),onOkClick:async()=>{F(""),await P({languageId:s}),i.c.success(e({id:"language_deleted",defaultMessage:"Language deleted successfully"}))},okText:e({id:"delete_language",defaultMessage:"Delete language"})}))},V=1===D?e({id:"language_header",defaultMessage:"1 Language"}):e({id:"language_count_header",defaultMessage:"{count} Languages"},{count:(0,a.jsx)(L.f,{value:D})});return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(v.f,{}),(0,a.jsx)(I.f,{title:e({id:"default_language_info_title",defaultMessage:"About base language"}),description:e({id:"default_language_info_description",defaultMessage:"If you support multiple languages, please set the base language by adjusting the environment variable UNCHAINED_LANG, for ex. UNCHAINED_LANG=en. That way, Unchained knows what localization needs to be sent if the user agent's language is unknown"})}),(0,a.jsx)(m.f,{title:e({id:"language_page_title",defaultMessage:"{count, plural, one {# Language} other {# Languages}}"},{count:D}),headerText:V,addPath:r(t.C.ManageLanguages)&&"/language/new",addButtonText:e({id:"add_language",defaultMessage:"Add Language"})}),(0,a.jsxs)("div",{className:"min-w-full overflow-x-auto px-1",children:[(0,a.jsx)(j.f,{children:(0,a.jsx)(b.f,{toggleText:e({id:"show_inactive",defaultMessage:"Show Inactive"}),toggleKey:"includeInactive",active:N})}),(0,a.jsx)(y.f,{onSearchChange:e=>{let{skip:a,...s}=$;e?d({query:(0,o._)(s,e,"queryString")}):d({query:(0,o._)($)})},defaultSearchValue:A,children:(0,a.jsx)(p.f,{loading:U,hasMore:O,onLoadMore:q,children:U&&R?.length===0?(0,a.jsx)(C.f,{}):(0,a.jsx)(f,{sortable:!0,languages:R,onRemoveLanguage:B})})})]})]})}],11514)},44112,e=>{"use strict";var a=e.i(91788);let s=a.forwardRef(function({title:e,titleId:s,...t},i){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:i,"aria-labelledby":s},t),e?a.createElement("title",{id:s},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m11.25 11.25.041-.02a.75.75 0 0 1 1.063.852l-.708 2.836a.75.75 0 0 0 1.063.853l.041-.021M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Zm-9-3.75h.008v.008H12V8.25Z"}))});e.s(["f",0,s],44112)}]);
@@ -0,0 +1,7 @@
1
+ __turbopack_load_page_chunks__("/tokens", [
2
+ "static/chunks/3u6_-nj6i_l_r.js",
3
+ "static/chunks/2-2kg667v82ek.js",
4
+ "static/chunks/36mjt8cgckx2r.js",
5
+ "static/chunks/3hxp-xwv4g3ek.js",
6
+ "static/chunks/turbopack-077hmtqrhcoji.js"
7
+ ])
@@ -0,0 +1,9 @@
1
+ __turbopack_load_page_chunks__("/filters/FilterDetailPage", [
2
+ "static/chunks/3-ve59izq9j-p.js",
3
+ "static/chunks/0sgxa66r-iing.js",
4
+ "static/chunks/2_krlw-01uumq.js",
5
+ "static/chunks/1t5wlk2j9d4ss.js",
6
+ "static/chunks/07i53w2a3x0so.js",
7
+ "static/chunks/14pnkf7som1m1.js",
8
+ "static/chunks/turbopack-077hmtqrhcoji.js"
9
+ ])