@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
@@ -1,119 +0,0 @@
1
- (()=>{"use strict";(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,31494,e=>{var t=e.i(91398),l=e.i(69322),s=e.i(84818),a=e.i(35065),i=e.i(64591);let r=({value:e})=>{let{formatDateTime:r}=(0,s.f)(),{formatMessage:n}=(0,l.S)();return(e=>{try{return new URL(e)}catch{return!1}})(e)?(e=>{try{let{pathname:t}=new URL(e),l=t?.split("."),s=`.${l[l.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:n({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)(i.f,{disabled:!0,active:JSON.parse(e)}):!Number.isNaN(Date.parse(e))&&Number.isNaN(Number(e))?r(e,{dateStyle:"long",timeStyle:"short"}):(!Number.isNaN(e),e)},n=({value:e})=>(0,t.jsx)("h3",{className:"text-base font-medium",children:(0,t.jsx)("span",{className:"text-slate-900",children:e})}),d=e=>{let{data:l,parentKey:s}=e;if(!l)return null;let a=Object.keys(l),i=[];return void 0!==s&&i.push((0,t.jsx)(n,{value:s},s)),a.forEach(e=>{let a=l[e];if(Array.isArray(a))if(i.push((0,t.jsx)(n,{value:e},e)),a.every(e=>"string"==typeof e||"number"==typeof e))i.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)(r,{value:e})},e))},e));else{let l=[];a.forEach((e,s)=>{l.push((0,t.jsx)("li",{className:"flex items-center text-slate-600 justify-between py-3 pl-3 pr-4 text-sm",children:d({data:e,parentKey:s})},s))}),i.push((0,t.jsx)("ul",{className:"divide-y divide-slate-200 rounded-md ",children:l},e))}else"object"==typeof a?i.push(d({data:a,parentKey:e})):void 0===s?i.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)(n,{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)(r,{value:a})})]},e)):i.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)(n,{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)(r,{value:a})})]},e))}),(0,t.jsx)("div",{className:" bg-white px-4 py-5 ",children:(0,t.jsx)("dl",{children:i})})};e.s(["f",0,d])},11056,e=>{var t=e.i(91398),l=e.i(91788),s=e.i(5505),a=e.i(57561);e.s(["f",0,({children:e,onlyFull:i=!1})=>{let{languageDialectList:r,selectedLocale:n,setSelectedLocale:d}=(0,a.f)(),o=(0,l.useContext)(s.W),c=r.filter(e=>!i||e.isoCode.includes("-"));return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:`w-fit mt-5 mb-3 ${o?"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(),d(e.target.value)},children:c?.map(e=>(0,t.jsx)("option",{value:e.isoCode,children:e.isoCode},e._id))})}),(0,t.jsx)("div",{children:l.default.cloneElement(e)})]})}])},16371,e=>{var t=e.i(91788),l=e.i(30943);e.s(["f",0,({children:e,container:s=null,className:a=""})=>{let i=(0,t.useRef)(null),[r,n]=(0,t.useState)(!1);return((0,t.useEffect)(()=>{let e=document.createElement("div");a&&(e.className=a),i.current=e;let t=s||document.body;return t.appendChild(e),n(!0),()=>{i.current&&t.contains(i.current)&&t.removeChild(i.current)}},[s,a]),r&&i.current)?(0,l.createPortal)(e,i.current):null}])},60195,e=>{var t=e.i(91398),l=e.i(72043);e.s(["f",0,({documentationLabel:e,documentation:s=null,mainContent:a=null,sideComponents:i=null,className:r=null,children:n})=>(0,t.jsx)(t.Fragment,{children:(0,t.jsxs)("div",{className:(0,l.default)("mt-5 lg:grid lg:grid-cols-3 lg:gap-6",r),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}),i]})}),(0,t.jsx)("div",{className:"lg:col-span-2 lg:mt-0",children:n||a})]})})])},41523,e=>{var t=e.i(91398),l=e.i(72043),s=e.i(3828),a=e.i(91788),i=e.i(69322);e.s(["f",0,({children:e,tabItems:r,defaultTab:n,updateRoute:d=!0})=>{let o=(0,s.useRouter)(),{tab:c=n}=o?.query||{},u=Array.isArray(c)?c[0]:c,{formatMessage:f}=(0,i.S)(),m=e=>{if(d){let{sort:t,...l}=o?.query||{};o.push({query:{...l,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:r.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:r.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,l.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})})]})}])},3095,e=>{var t=e.i(91398),l=e.i(91788),s=e.i(69322),a=e.i(86712),i=e.i(76842),r=e.i(24557),n=e.i(16371);e.s(["f",0,({onEdit:e,onDelete:d,editLabel:o,deleteLabel:c,showEdit:u=!0,showDelete:f=!0})=>{let{formatMessage:m}=(0,s.S)(),[x,h]=(0,l.useState)(!1),[p,g]=(0,l.useState)({top:0,left:0}),v=(0,l.useRef)(null),b=(0,l.useRef)(null);(0,l.useEffect)(()=>{let e=e=>{v.current&&!v.current.contains(e.target)&&h(!1)};return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}},[]);let j=(e,t)=>{e.stopPropagation(),e.preventDefault(),t&&t(),h(!1)};return 0===[u&&e,f&&d].filter(Boolean).length?null:(0,t.jsxs)("div",{className:"flex justify-end w-full",children:[(0,t.jsx)("button",{ref:b,type:"button",onClick:e=>{e.stopPropagation(),e.preventDefault(),x||(()=>{if(!b.current)return;let e=b.current.getBoundingClientRect(),t=e.bottom+4,l=e.right-192;l<8&&(l=8),t+80>window.innerHeight-8&&(t=e.top-80-4),g({top:t,left:l})})(),h(!x)},className:"flex items-center justify-center w-8 h-8 rounded-md hover:bg-slate-100 dark:hover:bg-slate-700 transition-colors","aria-label":m({id:"table_actions_menu",defaultMessage:"Actions menu"}),children:(0,t.jsx)(a.f,{className:"w-5 h-5 text-slate-500 dark:text-slate-400"})}),x&&(0,t.jsx)(n.f,{children:(0,t.jsx)("div",{ref:v,className:"fixed w-48 bg-white dark:bg-slate-800 rounded-md shadow-xl border border-slate-200 dark:border-slate-700 z-[9999]",style:{top:p.top,left:p.left},children:(0,t.jsxs)("div",{className:"py-1",children:[u&&e&&(0,t.jsxs)("button",{type:"button",onClick:t=>j(t,e),className:"flex items-center w-full px-4 py-2 text-sm text-slate-700 dark:text-slate-200 hover:bg-slate-100 dark:hover:bg-slate-700 transition-colors",children:[(0,t.jsx)(i.f,{className:"mr-3 h-5 w-5"}),o||m({id:"edit",defaultMessage:"Edit"})]}),f&&d&&(0,t.jsxs)("button",{type:"button",onClick:e=>j(e,d),className:"flex items-center w-full px-4 py-2 text-sm text-rose-500 dark:text-rose-400 hover:bg-rose-50 dark:hover:bg-rose-900/20 transition-colors",children:[(0,t.jsx)(r.f,{className:"mr-3 h-5 w-5"}),c||m({id:"delete",defaultMessage:"Delete"})]})]})})})]})}])},19759,78495,e=>{var t=e.i(91398),l=e.i(69322),s=e.i(25705),a=e.i(27572),i=e.i(76929),r=e.i(28401),n=e.i(92276),d=e.i(41523),o=e.i(91788),c=e.i(66773),u=e.i(69211),f=e.i(99160),m=e.i(45229),x=e.i(98949),h=e.i(59080),p=e.i(76204);let g=h.f`
2
- fragment FilterTextsFragment on FilterTexts {
3
- _id
4
- locale
5
- title
6
- subtitle
7
- }
8
- `,v=h.f`
9
- mutation UpdateFilterTexts(
10
- $filterId: ID!
11
- $filterOptionValue: String
12
- $texts: [FilterTextInput!]!
13
- ) {
14
- updateFilterTexts(
15
- filterId: $filterId
16
- filterOptionValue: $filterOptionValue
17
- texts: $texts
18
- ) {
19
- ...FilterTextsFragment
20
- }
21
- }
22
- ${g}
23
- `,b=()=>{let[e]=(0,p.f)(v);return{updateFilterTexts:async({filterId:t,filterOptionValue:l,texts:s})=>e({variables:{filterOptionValue:l,filterId:t,texts:s},refetchQueries:["TranslatedFilterTexts","FilterOptions"]})}};var j=e.i(32171);let w=h.f`
24
- query TranslatedFilterTexts($filterId: ID!, $filterOptionValue: String) {
25
- translatedFilterTexts(
26
- filterId: $filterId
27
- filterOptionValue: $filterOptionValue
28
- ) {
29
- ...FilterTextsFragment
30
- }
31
- }
32
- ${g}
33
- `;var y=e.i(60195),k=e.i(58971),N=e.i(5505),F=e.i(57561);let M=({filterId:e})=>{let{formatMessage:s}=(0,l.S)(),{selectedLocale:a}=(0,F.f)(),{translatedFilterTexts:i,loading:r}=(({filterId:e=null,filterOptionValue:t=null})=>{let{data:l,loading:s,error:a}=(0,j.f)(w,{variables:{filterId:e,filterOptionValue:t}});return{translatedFilterTexts:l?.translatedFilterTexts||[],loading:s,error:a}})({filterId:e}),{hasRole:n}=(0,k.f)(),d=s({id:"saved",defaultMessage:"Saved"}),{updateFilterTexts:h}=b(),p=async({title:t,subtitle:l})=>(await h({filterId:e,texts:[{locale:a,title:t,subtitle:l}]}),{success:!0}),g=(0,x.f)({submit:p,successMessage:d,initialValues:{title:"",subtitle:"",...!r&&i?.find(e=>e.locale===a)||{}}});return(0,o.useEffect)(()=>{let e=i?.find(e=>e.locale===a);g.formik.setValues({title:"",subtitle:"",...e||{}})},[i,a]),(0,t.jsx)(y.f,{documentationLabel:s({id:"text",defaultMessage:"Text"}),documentation:(0,t.jsx)(l.K,{id:"filter_text_form_description",defaultMessage:"<ul> <li>You can change the language of filter using the dropdown found at top left corner</li>\n </ul>",values:{ul:e=>(0,t.jsxs)("ul",{className:"space-y-1",children:[e," "]}),li:e=>(0,t.jsxs)("li",{children:[e," "]})}}),children:(0,t.jsx)(N.U,{children:(0,t.jsxs)(u.f,{form:g,className:"border-slate-300 dark:border-slate-800 pt-2 lg:shadow-sm",children:[(0,t.jsx)("div",{children:(0,t.jsx)(m.f,{name:"title",id:"title",label:s({id:"title",defaultMessage:"Title"}),autoComplete:"on",className:"mt-2 px-4 text-sm"})}),(0,t.jsx)("div",{children:(0,t.jsx)(m.f,{name:"subtitle",id:"subtitle",label:s({id:"subtitle",defaultMessage:"Subtitle"}),autoComplete:"on",className:"mt-5 px-4 text-sm"})}),n(c.C.ManageFilters)&&(0,t.jsx)("div",{className:"flex bg-slate-100 dark:bg-slate-900 mt-5",children:(0,t.jsx)(f.f,{label:s({id:"update_filter",defaultMessage:"Update filter"}),className:"my-4 ml-auto mr-4"})})]})})})};var _=e.i(6607);let C=h.f`
34
- mutation CreateFilterOption(
35
- $filterId: ID!
36
- $option: String!
37
- $texts: [FilterTextInput!]
38
- ) {
39
- createFilterOption(filterId: $filterId, option: $option, texts: $texts) {
40
- _id
41
- }
42
- }
43
- `,I=h.f`
44
- fragment FilterOptionFragment on FilterOption {
45
- _id
46
- texts(forceLocale: $forceLocale) {
47
- _id
48
- title
49
- subtitle
50
- locale
51
- }
52
- value
53
- }
54
- `,$=h.f`
55
- query FilterOptions($filterId: ID, $forceLocale: Locale) {
56
- filter(filterId: $filterId) {
57
- _id
58
- options {
59
- ...FilterOptionFragment
60
- }
61
- }
62
- }
63
- ${I}
64
- `,O=({onCancel:e,onSubmit:s})=>{let{formatMessage:a}=(0,l.S)(),{hasRole:i}=(0,k.f)(),r=a({id:"filter_option_added_success",defaultMessage:"Filter option added successfully"}),n=(0,x.f)({submit:s,successMessage:r,initialValues:{title:"",value:""}});return(0,t.jsxs)(u.f,{form:n,children:[(0,t.jsxs)("div",{className:"flex gap-2",children:[(0,t.jsx)(m.f,{name:"value",label:a({id:"filter_option_value",defaultMessage:"Value"}),required:!0}),(0,t.jsx)(m.f,{name:"title",label:a({id:"filter_option_title",defaultMessage:"Title"}),required:!0})]}),(0,t.jsxs)("div",{className:"mt-5 flex justify-end",children:[(0,t.jsx)("button",{onClick:e,type:"button",className:"mr-2 rounded-md border border-slate-100 dark:border-slate-700 bg-white dark:bg-slate-800 px-3 py-1 text-sm font-medium leading-5 text-slate-700 dark:text-slate-500 shadow-xs",children:a({id:"cancel",defaultMessage:"Cancel"})}),(0,t.jsx)("span",{className:"flex items-center",children:(0,t.jsx)(f.f,{className:"m-auto w-full",label:a({id:"add_filter_option",defaultMessage:"Add option"})})})]})]})},E=h.f`
65
- mutation RemoveFilterOption($filterId: ID!, $filterOptionValue: String!) {
66
- removeFilterOption(
67
- filterId: $filterId
68
- filterOptionValue: $filterOptionValue
69
- ) {
70
- _id
71
- }
72
- }
73
- `;var S=e.i(15971),T=e.i(65153),A=e.i(3095),R=e.i(81013);let V=({filterId:e,option:s,onDelete:a})=>{let{formatMessage:i}=(0,l.S)(),[r,n]=(0,o.useState)(!1),{selectedLocale:d}=(0,F.f)(),c=i({id:"saved",defaultMessage:"Saved"}),{updateFilterTexts:f}=b(),h=async({title:t,value:l,subtitle:s})=>(await f({filterId:e,filterOptionValue:l,texts:[{locale:d,title:t,subtitle:s}]}),n(!1),{success:!0}),p=(0,x.f)({submit:h,successMessage:c,initialValues:{title:"",subtitle:"",...s,...s?.texts}});return(0,t.jsx)(u.f,{form:p,children:(0,t.jsx)("div",{className:"mt-2",children:(0,t.jsx)("li",{className:"py-2 px-2",children:(0,t.jsxs)("div",{className:"flex justify-between items-center gap-2",children:[(0,t.jsxs)("div",{className:"flex items-center flex-wrap gap-3",children:[(0,t.jsx)(T.f,{text:s?.value,color:"slate",square:!0,className:"break-all"}),(0,t.jsxs)("div",{className:"flex flex-wrap gap-3",children:[(0,t.jsx)("div",{className:"truncate text-sm text-slate-900 dark:text-slate-200",children:r?(0,t.jsx)(m.f,{name:"title",required:!0,label:i({id:"title",defaultMessage:"Title"})}):s?.texts?.title}),(0,t.jsx)("div",{className:"truncate text-sm text-slate-500 dark:text-slate-200",children:r?(0,t.jsx)(m.f,{name:"subtitle",label:i({id:"subtitle",defaultMessage:"Subtitle"})}):s?.texts?.subtitle&&s?.texts?.subtitle})]})]}),(0,t.jsx)("div",{children:r?(0,t.jsxs)("div",{className:"flex gap-2",children:[(0,t.jsx)(R.f,{variant:"secondary",onClick:()=>n(!r),text:i({id:"cancel",defaultMessage:"Cancel"})}),(0,t.jsx)(R.f,{variant:"primary",disabled:!p.formik.isValid,onClick:p.formik.handleSubmit,text:i({id:"save",defaultMessage:"Save"})})]}):(0,t.jsx)(A.f,{onEdit:()=>{n(!r)},onDelete:()=>{a(s?.value)},showEdit:!0,showDelete:!0})})]})})})})},D=({filterId:e,options:s})=>{let{formatMessage:a}=(0,l.S)(),{setModal:i}=(0,_.f)(),{selectedLocale:n}=(0,F.f)(),{removeFilterOption:d}=(()=>{let[e]=(0,p.f)(E);return{removeFilterOption:async({filterId:t,filterOptionValue:l})=>e({variables:{filterOptionValue:l,filterId:t},refetchQueries:["FilterOptions"]})}})(),o=async l=>{await i((0,t.jsx)(S.f,{onCancelClick:async()=>i(""),message:a({id:"delete_filter_option_confirmation",defaultMessage:"This action might cause inconsistencies with other data that relates to it. Are you sure you want to delete this filter option? "}),onOkClick:async()=>{i(""),await d({filterId:e,filterOptionValue:l}),r.c.success(a({id:"filter_deleted",defaultMessage:"Filter deleted successfully"}))},okText:a({id:"delete_filter_option",defaultMessage:"Delete option"})}))};return(0,t.jsx)("div",{children:(0,t.jsx)("ul",{className:"-my-5 divide-y divide-slate-200 dark:divide-slate-700 pb-3 ",children:s.map(l=>(0,t.jsx)(V,{filterId:e,option:l,onDelete:o},`${l._id}${n}`))})})},L=({filterId:e})=>{let{formatMessage:s}=(0,l.S)(),{selectedLocale:a}=(0,F.f)(),{filterOptions:i}=(({filterId:e=null,locale:t}={})=>{let{data:l,loading:s,error:a}=(0,j.f)($,{skip:!e,variables:{filterId:e,forceLocale:t}});return{filterOptions:l?.filter?.options||[],loading:s,error:a}})({filterId:e,locale:a}),{setModal:r}=(0,_.f)(),{createFilterOption:n}=(()=>{let[e]=(0,p.f)(C);return{createFilterOption:async({filterId:t,option:l,texts:s})=>e({variables:{filterId:t,option:l,texts:s},refetchQueries:["FilterOptions"]})}})(),{hasRole:d}=(0,k.f)(),o=async({value:t,title:l,subtitle:s})=>(await n({filterId:e,option:t,texts:[{title:l,locale:a,subtitle:s}]}),r(""),{success:!0});return(0,t.jsx)(y.f,{documentationLabel:s({id:"filer_options",defaultMessage:"Filter options"}),sideComponents:d(c.C.ManageFilters)?(0,t.jsx)("button",{type:"button",onClick:()=>r((0,t.jsx)(O,{onSubmit:o,onCancel:()=>r("")})),className:"fixed top-0 right-0 z-10 mb-5 mt-5 mr-2 h-9 rounded-md border border-transparent bg-slate-800 dark:bg-slate-600 px-3 py-1 text-sm font-medium leading-5 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 sm:fixed sm:top-auto sm:right-auto",children:s({id:"add_filter_option",defaultMessage:"Add option"})}):null,children:(0,t.jsx)("div",{className:"mt-8 w-full border-slate-300 dark:border-slate-800 p-3 sm:mt-0 shadow-md bg-white dark:bg-slate-900",children:(0,t.jsx)(D,{filterId:e,options:i})})})},B=({filterKey:e,filterType:s})=>{let{formatMessage:a}=(0,l.S)();return(0,t.jsxs)("div",{className:"mt-5 flex flex-col gap-4",children:[(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)("div",{className:"text-sm",children:a({id:"key",defaultMessage:"Key"})}),(0,t.jsx)("div",{className:"rounded-md border-1 border-slate-200 dark:border-slate-600 bg-slate-100 dark:bg-slate-700 py-1 px-2 text-sm text-slate-700 dark:text-slate-200",children:e})]}),(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)("div",{className:"text-sm",children:a({id:"filter_type",defaultMessage:"Filter Type"})}),(0,t.jsx)("div",{className:"rounded-md border-1 border-slate-200 dark:border-slate-600 bg-slate-100 dark:bg-slate-700 py-1 px-2 text-sm text-slate-700 dark:text-slate-200",children:s})]})]})};var Z=e.i(80294);let U=h.f`
74
- mutation UpdateFilter($filter: UpdateFilterInput!, $filterId: ID!) {
75
- updateFilter(filter: $filter, filterId: $filterId) {
76
- ...FilterFragment
77
- }
78
- }
79
- ${Z.f}
80
- `;var q=e.i(31494),K=e.i(11056);let P=({selectedView:e,id:l,...s})=>"text"===e?(0,t.jsx)(K.f,{children:(0,t.jsx)(M,{filterId:l})}):"options"===e?(0,t.jsx)(K.f,{children:(0,t.jsx)(L,{filterId:l})}):"extended"===e?(0,t.jsx)(q.f,{data:s}):(0,t.jsx)(K.f,{children:(0,t.jsx)(M,{filterId:l})});e.s(["f",0,({filter:e,extendedData:o})=>{let{_id:c,isActive:u,key:f,type:m,created:x,updated:h}=e||{},{formatMessage:g,formatDate:v}=(0,l.S)(),{updateFilter:b}=(()=>{let[e]=(0,p.f)(U);return{updateFilter:async({filterId:t,filter:l})=>e({variables:{filter:l,filterId:t}})}})(),j=[{id:"text",title:g({id:"text",defaultMessage:"Text"}),Icon:(0,t.jsx)(s.f,{className:"h-5 w-5"})},{id:"options",title:g({id:"options",defaultMessage:"Options"}),Icon:(0,t.jsx)(a.f,{className:"h-5 w-5"})},null!==o&&{id:"extended",title:g({id:"extended-fields",defaultMessage:"Extended"}),Icon:(0,t.jsx)(i.f,{className:"h-5 w-5"})}].filter(Boolean),w=[{id:"activate",title:g({id:"activate",defaultMessage:"Activate"}),selectedTitle:g({id:"active",defaultMessage:"Active"}),onClick:async()=>{await b({filterId:c,filter:{isActive:!0}}),r.c.success(g({id:"filter_activated",defaultMessage:"Filter activated!",description:"shown on successful toggle of filter status"}))},current:u,bgColor:"green"},{id:"deactivate",title:g({id:"deactivate",defaultMessage:"Deactivate"}),onClick:async()=>{await b({filterId:c,filter:{isActive:!1}}),r.c.success(g({id:"filter_deactivated",defaultMessage:"Filter deactivated!",description:"shown on successful toggle of filter status"}))},selectedTitle:g({id:"deactivated",defaultMessage:"Deactivated"}),current:!u,bgColor:"slate"}];return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"flex items-center justify-between",children:[(0,t.jsx)("div",{children:(0,t.jsx)(B,{filterKey:f,filterType:m})}),(0,t.jsx)("div",{className:"self-end",children:(0,t.jsx)(n.f,{options:w,type:g({id:"filter",defaultMessage:"Filter"})})})]}),(0,t.jsx)(d.f,{tabItems:j,defaultTab:"text",children:(0,t.jsx)(P,{id:e?._id,...o})})]})}],19759);var W=e.i(70693);e.s(["f",0,({filterId:e=null}={})=>{let{customProperties:t,hydrateFragment:l}=(0,W.f)(),{data:s,loading:a,error:i}=(0,j.f)(((e="")=>h.f`
81
- query Filter($filterId: ID) {
82
- filter(filterId: $filterId) {
83
- ...FilterFragment
84
- ${e}
85
- texts {
86
- _id
87
- title
88
- subtitle
89
- locale
90
- }
91
- }
92
- }
93
- ${Z.f}
94
- `)(t?.Filter),{skip:!e,variables:{filterId:e}}),r=s?.filter,n=l(t?.Filter,r);return{filter:r,loading:a,error:i,extendedData:n}}],78495)},80294,e=>{var t=e.i(59080);let l=t.f`
95
- fragment FilterFragment on Filter {
96
- _id
97
- updated
98
- created
99
- key
100
- isActive
101
- type
102
- options {
103
- _id
104
- texts {
105
- _id
106
- title
107
- subtitle
108
- locale
109
- }
110
- value
111
- }
112
- }
113
- `;e.s(["f",0,l])},50259,e=>{var t=e.i(59080),l=e.i(76204);let s=t.f`
114
- mutation RemoveFilter($filterId: ID!) {
115
- removeFilter(filterId: $filterId) {
116
- _id
117
- }
118
- }
119
- `;e.s(["f",0,()=>{let[e]=(0,l.f)(s);return{removeFilter:async({filterId:t})=>e({variables:{filterId:t},refetchQueries:["Filters"]})}}])},89142,e=>{var t=e.i(91398),l=e.i(3828),s=e.i(66773),a=e.i(69322),i=e.i(28401),r=e.i(58971),n=e.i(61494),d=e.i(81359),o=e.i(12197),c=e.i(17644),u=e.i(19759),f=e.i(78495),m=e.i(50259),x=e.i(15971),h=e.i(6607);e.s(["default",0,({filterId:e})=>{let{formatMessage:p}=(0,a.S)(),{setModal:g}=(0,h.f)(),v=(0,l.useRouter)(),{filter:b,loading:j,extendedData:w}=(0,f.f)({filterId:e}),{hasRole:y}=(0,r.f)(),{removeFilter:k}=(0,m.f)(),N=async()=>{await g((0,t.jsx)(x.f,{onCancelClick:async()=>g(""),message:p({id:"delete_filter_confirmation",defaultMessage:"This action might cause inconsistencies with other data that relates to it. Are you sure you want to delete this filter? "}),onOkClick:async()=>{g(""),await k({filterId:e}),i.c.success(p({id:"filter_deleted",defaultMessage:"Filter deleted successfully"})),v.push("/filters")},okText:p({id:"delete_filter",defaultMessage:"Delete filter"})}))};return b||j?j?(0,t.jsx)(o.f,{}):(0,t.jsxs)("div",{className:"mt-5 max-w-full",children:[(0,t.jsx)(n.f,{currentPageTitle:b?.key}),(0,t.jsxs)("div",{className:"items-center flex min-w-full justify-between gap-3 flex-wrap",children:[(0,t.jsx)(c.f,{headerText:p({id:"filter_detail",defaultMessage:"Filter Detail"}),title:p({id:"filter_detail_title",defaultMessage:"Filter {id}"},{id:b?._id})}),y(s.C.ManageFilters)&&(0,t.jsx)(d.f,{onClick:N})]}),(0,t.jsx)(u.f,{filter:b,extendedData:w})]}):(v.push("/404"),null)}])},27572,e=>{var t=e.i(91788);let l=t.forwardRef(function({title:e,titleId:l,...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":l},s),e?t.createElement("title",{id:l},e):null,t.createElement("path",{fillRule:"evenodd",d:"M15.988 3.012A2.25 2.25 0 0 1 18 5.25v6.5A2.25 2.25 0 0 1 15.75 14H13.5V7A2.5 2.5 0 0 0 11 4.5H8.128a2.252 2.252 0 0 1 1.884-1.488A2.25 2.25 0 0 1 12.25 1h1.5a2.25 2.25 0 0 1 2.238 2.012ZM11.5 3.25a.75.75 0 0 1 .75-.75h1.5a.75.75 0 0 1 .75.75v.25h-3v-.25Z",clipRule:"evenodd"}),t.createElement("path",{fillRule:"evenodd",d:"M2 7a1 1 0 0 1 1-1h8a1 1 0 0 1 1 1v10a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V7Zm2 3.25a.75.75 0 0 1 .75-.75h4.5a.75.75 0 0 1 0 1.5h-4.5a.75.75 0 0 1-.75-.75Zm0 3.5a.75.75 0 0 1 .75-.75h4.5a.75.75 0 0 1 0 1.5h-4.5a.75.75 0 0 1-.75-.75Z",clipRule:"evenodd"}))});e.s(["f",0,l],27572)},76842,e=>{var t=e.i(91788);let l=t.forwardRef(function({title:e,titleId:l,...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":l},s),e?t.createElement("title",{id:l},e):null,t.createElement("path",{d:"m2.695 14.762-1.262 3.155a.5.5 0 0 0 .65.65l3.155-1.262a4 4 0 0 0 1.343-.886L17.5 5.501a2.121 2.121 0 0 0-3-3L3.58 13.419a4 4 0 0 0-.885 1.343Z"}))});e.s(["f",0,l],76842)},76929,e=>{var t=e.i(91788);let l=t.forwardRef(function({title:e,titleId:l,...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":l},s),e?t.createElement("title",{id:l},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,l],76929)},24557,e=>{var t=e.i(91788);let l=t.forwardRef(function({title:e,titleId:l,...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":l},s),e?t.createElement("title",{id:l},e):null,t.createElement("path",{fillRule:"evenodd",d:"M8.75 1A2.75 2.75 0 0 0 6 3.75v.443c-.795.077-1.584.176-2.365.298a.75.75 0 1 0 .23 1.482l.149-.022.841 10.518A2.75 2.75 0 0 0 7.596 19h4.807a2.75 2.75 0 0 0 2.742-2.53l.841-10.52.149.023a.75.75 0 0 0 .23-1.482A41.03 41.03 0 0 0 14 4.193V3.75A2.75 2.75 0 0 0 11.25 1h-2.5ZM10 4c.84 0 1.673.025 2.5.075V3.75c0-.69-.56-1.25-1.25-1.25h-2.5c-.69 0-1.25.56-1.25 1.25v.325C8.327 4.025 9.16 4 10 4ZM8.58 7.72a.75.75 0 0 0-1.5.06l.3 7.5a.75.75 0 1 0 1.5-.06l-.3-7.5Zm4.34.06a.75.75 0 1 0-1.5-.06l-.3 7.5a.75.75 0 1 0 1.5.06l.3-7.5Z",clipRule:"evenodd"}))});e.s(["f",0,l],24557)},38322,e=>{var t=e.i(91788);let l=t.forwardRef(function({title:e,titleId:l,...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":l},s),e?t.createElement("title",{id:l},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m4.5 12.75 6 6 9-13.5"}))});e.s(["f",0,l],38322)},38187,e=>{var t=e.i(91788);let l=t.forwardRef(function({title:e,titleId:l,...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":l},s),e?t.createElement("title",{id:l},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m19.5 8.25-7.5 7.5-7.5-7.5"}))});e.s(["f",0,l],38187)},86712,e=>{var t=e.i(91788);let l=t.forwardRef(function({title:e,titleId:l,...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":l},s),e?t.createElement("title",{id:l},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6.75 12a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0ZM12.75 12a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0ZM18.75 12a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0Z"}))});e.s(["f",0,l],86712)},40238,(e,t,l)=>{var s=e.r(91788),a="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},i=s.useSyncExternalStore,r=s.useRef,n=s.useEffect,d=s.useMemo,o=s.useDebugValue;l.useSyncExternalStoreWithSelector=function(e,t,l,s,c){var u=r(null);if(null===u.current){var f={hasValue:!1,value:null};u.current=f}else f=u.current;var m=i(e,(u=d(function(){function e(e){if(!n){if(n=!0,i=e,e=s(e),void 0!==c&&f.hasValue){var t=f.value;if(c(t,e))return r=t}return r=e}if(t=r,a(i,e))return t;var l=s(e);return void 0!==c&&c(t,l)?(i=e,t):(i=e,r=l)}var i,r,n=!1,d=void 0===l?null:l;return[function(){return e(t())},null===d?void 0:function(){return e(d())}]},[t,l,s,c]))[0],u[1]);return n(function(){f.hasValue=!0,f.value=m},[m]),o(m),m}},19979,(e,t,l)=>{e.i(50461),t.exports=e.r(40238)}])})();
@@ -1,8 +0,0 @@
1
- __turbopack_load_page_chunks__("/copilot", [
2
- "static/chunks/2t0biwx5e_4w_.js",
3
- "static/chunks/3uj94afpsi6cs.js",
4
- "static/chunks/3wlvio5id54ow.js",
5
- "static/chunks/2cj8g3fxmitaa.js",
6
- "static/chunks/0zzoylv2rl1xu.js",
7
- "static/chunks/turbopack-2c3mg3r-05n1w.js"
8
- ])
@@ -1,108 +0,0 @@
1
- (()=>{"use strict";(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,61494,e=>{var t=e.i(91398),r=e.i(41158),s=e.i(3828),a=e.i(69322);e.s(["f",0,({routeName:e=null,currentPageTitle:l=null,depth:n=null})=>{let o=(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=o.asPath?.split("/")?.filter((e,t)=>o.asPath?.split("/")?.indexOf(e)===t);if(1===u.length)return null;let c="";n&&u.splice(n),e&&(u[u.length-1]=e);let m=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:m?.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===m.length-1&&l?l:e.name})]})},e.path))})})}])},81013,e=>{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:o="",variant:i="primary",size:d="md",type:u="button",loading:c=!1,icon:m,iconRight:f,fullWidth:x=!1,rounded:p="md",ariaLabel:b,...g})=>{let h=s||e,y=(m||f)&&h?"gap-2":"";return(0,t.jsx)("button",{id:o,type:u,disabled:n||c,onClick:a,"aria-label":b,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"}[p],{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":x},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:[m,h,f]})})}])},23647,26013,e=>{var t=e.i(91398),r=e.i(69322),s=e.i(15361),a=e.i(91788);let l=a.forwardRef(function({title:e,titleId:t,...r},s){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:s,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.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 n=e.i(67912),o=e.i(41158),i=e.i(93380),d=e.i(35065);let u=({username:e})=>(0,t.jsx)(n.f,{className:"h-8 w-8 text-slate-800 dark:text-slate-600"});e.s(["f",0,({user:e,contact:a})=>{let{formatMessage:n}=(0,r.S)();return(0,t.jsxs)("div",{className:"flex items-center gap-3",children:[(0,t.jsx)("div",{className:"h-8 w-8 rounded-full",children:e?.avatar?(0,t.jsx)(d.f,{src:e.avatar.url,alt:e.name||e.username,width:100,height:100}):(0,t.jsx)(u,{username:e?.username})}),(0,t.jsxs)("div",{className:"flex flex-wrap items-center gap-4",children:[(0,t.jsx)("div",{className:"flex items-center justify-between gap-3 flex-wrap",children:(0,t.jsxs)("span",{className:"flex items-center",children:[(0,t.jsx)("h3",{className:"text-xl font-semibold capitalize",children:(0,t.jsx)(o.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,i.f)(e)})}),e?.primaryEmail?.verified&&(0,t.jsxs)("dl",{className:"self-end",children:[(0,t.jsx)("dt",{className:"sr-only",children:n({id:"account_status",defaultMessage:"Account status"})}),(0,t.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,t.jsx)(s.f,{className:"h-4 w-4 shrink-0 text-emerald-400","aria-hidden":"true"}):(0,t.jsx)(l,{className:"h-4 w-4 shrink-0 text-rose-400","aria-hidden":"true"})})]})]})}),a?.emailAddress&&(0,t.jsx)("div",{children:a.emailAddress}),a?.telNumber&&(0,t.jsx)("div",{children:a.telNumber})]})]})}],23647)},55215,e=>{var t=e.i(91398),r=e.i(72043);e.s(["f",0,({value:e,className:s,onChange:a=()=>{},rows:l=7,...n})=>{let o=Math.max(e?e.split("\n").length:1,l);return(0,t.jsx)("textarea",{className:(0,r.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",s),value:e,onChange:a,rows:o,...n})}])},17644,e=>{var t=e.i(91398),r=e.i(58678),s=e.i(41158),a=e.i(69322),l=e.i(37369),n=e.i(81013);e.s(["f",0,({headerText:e=null,onEdit:o=null,onDelete:i=null,children:d=null,title:u=null,addPath:c=null,addButtonText:m=null})=>{let{formatMessage:f}=(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)(n.f,{variant:"secondary",icon:(0,t.jsx)(l.f,{className:"h-5 w-5"}),text:m||f({id:"add",defaultMessage:"Add"})})}),o&&(0,t.jsx)(n.f,{variant:"secondary",onClick:o,text:f({id:"edit",defaultMessage:"Edit"})}),i&&(0,t.jsx)(n.f,{variant:"danger",onClick:i,text:f({id:"delete",defaultMessage:"Delete"})})]})]})})]})}])},57468,e=>{var t=e.i(91398),r=e.i(72043),s=e.i(69322),a=e.i(99160);e.s(["f",0,({cancelText:e=null,showCancel:l=!0,submitText:n=null,showSubmit:o=!0,onCancel:i,className:d=""})=>{let{formatMessage:u}=(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:i,"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||u({id:"cancel",defaultMessage:"Cancel"})}):null,o?(0,t.jsx)(a.f,{label:n||u({id:"save",defaultMessage:"Save"})}):null]})}])},66885,e=>{var t=e.i(91398),r=e.i(69322),s=e.i(38322),a=e.i(84818),l=e.i(83147),n=e.i(51782);e.s(["f",0,({data:e,statusTypes:o,timeline:i})=>{let{formatMessage:d}=(0,r.S)(),{formatDateTime:u}=(0,a.f)(),{content:c={},id:m}=i[e?.status]||{},f=o.filter(({value:e})=>i[e]?.visible);return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"flow-root sm:hidden",children:(0,t.jsx)("ul",{className:"my-4",children:f.map(({value:r,label:a},n)=>(0,t.jsx)("li",{children:(0,t.jsxs)("div",{className:"relative pb-8",children:[n!==f.length-1?(0,t.jsx)("span",{className:(0,l.S)(m>n+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,t.jsxs)("div",{className:"relative flex items-center space-x-3",children:[(0,t.jsx)("div",{children:(0,t.jsx)("span",{className:(0,l.S)(m>n?"bg-slate-900":"bg-slate-600","flex h-5 w-5 items-center justify-center rounded-full"),children:m>n?(0,t.jsx)(s.f,{className:"h-5 w-5 text-white","aria-hidden":"true"}):null})}),(0,t.jsxs)("div",{className:"ml-4 flex min-w-0 flex-1 items-center justify-between",children:[(0,t.jsx)("div",{className:"flex-auto",children:(0,t.jsx)("p",{className:"text-sm text-slate-500",children:(0,t.jsxs)("span",{className:"flex w-full items-center justify-between text-slate-900 dark:text-slate-200",children:[r,i[r]?.Component&&i[r].Component]})})}),m>=i[r].id?(0,t.jsx)("div",{className:"whitespace-nowrap text-right text-sm text-slate-500 dark:text-slate-200 ml-4",children:e[i?.[r]?.content]?u(e[i?.[r]?.content],{dateStyle:"short",timeStyle:"short"}):null}):null]})]})]})},`${r}${a}`))})}),(0,t.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,t.jsxs)("p",{className:"font-medium flex items-center justify-between",children:[(0,t.jsx)(n.f,{status:e.status}),(0,t.jsx)("span",{children:e[c]?u(e[c],{dateStyle:"full",timeStyle:"medium"}):d({id:"in_cart",defaultMessage:"In cart"})})]}),(0,t.jsx)("div",{className:"mt-2","aria-hidden":"true",children:(0,t.jsx)("div",{className:"mt-2 hidden text-sm font-medium text-slate-600 sm:flex",children:f.map(({value:r,label:s})=>(0,t.jsxs)("div",{className:"sm:flex-auto",children:[(0,t.jsx)("div",{className:"relative mb-4 mr-1",children:(0,t.jsx)("span",{className:(0,l.S)(m>=i[r].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,t.jsxs)("div",{className:(0,l.S)(m>=i[r].id?"text-slate-900":"opacity-50","text-start"),children:[(0,t.jsx)("span",{className:"text-slate-900 dark:text-slate-400 uppercase",children:i[r]?.Component?i[r].Component:"CONFIRMED"===r?d({id:"confirmed",defaultMessage:"CONFIRMED"}):"PENDING"===r?d({id:"pending",defaultMessage:"PENDING"}):"OPEN"===r?d({id:"open",defaultMessage:"OPEN"}):"FULFILLED"===r?d({id:"fulfilled",defaultMessage:"FULFILLED"}):"REJECTED"===r?d({id:"rejected",defaultMessage:"REJECTED"}):r}),(0,t.jsx)("span",{className:"block text-slate-900 dark:text-slate-100",children:m>=i?.[r]?.id?u(e[i?.[r]?.content],{dateStyle:"short",timeStyle:"short"}):null})]})]},`${r}${s}`))})})]})]})}])},1880,e=>{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=>{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)])},7105,e=>{var t=e.i(91398),r=e.i(72043),s=e.i(55215),a=e.i(60741),l=e.i(29691);e.s(["f",0,({validators:e=[],rows:n=10,...o})=>{let i=(0,a.f)({...o,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)(l.f,{...i,children:(0,t.jsx)(s.f,{className:(0,r.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":!!i.error},o.className),disabled:i.disabled,id:i.name,name:i.name,onChange:e=>{try{JSON.parse(e.target.value||"{}"),i.setError("")}catch(e){i.setError(e.message?.replace("JSON.parse",""))}finally{i.setValue(e.target.value,!0),i.setTouched(!0)}},onBlur:e=>{try{i.setValue(JSON.stringify(JSON.parse(e.target.value),void 0,2),!0),i.setError("")}catch(e){i.setError(e.message)}},placeholder:i.placeholder,autoComplete:i.autoComplete,value:i.value})})}])},99160,e=>{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:o=!1,...i})=>{let d=(0,s.m)(),{...u}=i,c=Object.fromEntries(Object.keys(d.initialValues).map(e=>[e,d.getFieldMeta(e)])),{disabled:m}=(0,a.f)(),f=Object.values(c).reduce((e,{error:t,touched:r})=>e||t&&r,!1),x=l||m||d.isSubmitting||f,p=d.isSubmitting&&!f,b=(l||m||f)&&!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":b,"bg-slate-600 dark:bg-slate-700 text-white cursor-not-allowed border-slate-400 dark:border-slate-600":p,"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":!x,hidden:o}),"aria-label":e,type:"submit",value:e,disabled:x,...u})}])},51782,e=>{var t=e.i(91398),r=e.i(69322),s=e.i(65153),a=e.i(60193);let l={PENDING:"bg-yellow-100 text-yellow-800",CONFIRMED:"bg-blue-100 text-blue-800",OPEN:"bg-gray-100 text-gray-800",FULFILLED:"bg-green-100 text-green-800",REJECTED:"bg-red-100 text-red-800"};e.s(["f",0,({status:e,className:n=""})=>{let{formatMessage:o}=(0,r.S)(),i={PENDING:o({id:"pending",defaultMessage:"PENDING"}),CONFIRMED:o({id:"confirmed",defaultMessage:"CONFIRMED"}),OPEN:o({id:"open",defaultMessage:"OPEN"}),FULFILLED:o({id:"fulfilled",defaultMessage:"FULFILLED"}),REJECTED:o({id:"rejected",defaultMessage:"REJECTED"})},d=i?.[e]??o({id:"cart",defaultMessage:"Cart"});return l?.[e],(0,t.jsx)(s.f,{text:d,color:a.v[e],square:!0,className:`uppercase ${n}`})}])},96097,e=>{var t=e.i(91398),r=e.i(69322),s=e.i(61494),a=e.i(12197),l=e.i(17644),n=e.i(41158),o=e.i(53463),i=e.i(26013),d=e.i(66885),u=e.i(59080),c=e.i(32171);let m=u.f`
2
- query QuotationStatus {
3
- quotationStatusType: __type(name: "QuotationStatus") {
4
- options: enumValues {
5
- value: name
6
- label: description
7
- }
8
- }
9
- }
10
- `;var f=e.i(81013),x=e.i(6607),p=e.i(76204);let b=u.f`
11
- fragment QuotationDetailFragment on Quotation {
12
- _id
13
- user {
14
- _id
15
- username
16
- avatar {
17
- _id
18
- url
19
- }
20
- name
21
- primaryEmail {
22
- verified
23
- address
24
- }
25
- }
26
- configuration {
27
- key
28
- value
29
- }
30
- country {
31
- _id
32
- isoCode
33
- flagEmoji
34
- name
35
- }
36
- currency {
37
- _id
38
- isoCode
39
- isActive
40
- }
41
- product {
42
- _id
43
- texts {
44
- _id
45
- slug
46
- subtitle
47
- title
48
- description
49
- }
50
- media {
51
- _id
52
- file {
53
- _id
54
- type
55
- url
56
- }
57
- }
58
- }
59
- status
60
- created
61
- expires
62
- updated
63
- isExpired
64
- quotationNumber
65
- fulfilled
66
- rejected
67
- }
68
- `,g=u.f`
69
- mutation VerifyQuotation($quotationId: ID!, $quotationContext: JSON) {
70
- verifyQuotation(
71
- quotationId: $quotationId
72
- quotationContext: $quotationContext
73
- ) {
74
- ...QuotationDetailFragment
75
- }
76
- }
77
- ${b}
78
- `;var h=e.i(84818),y=e.i(65153),v=e.i(23647),j=e.i(83147);let w=({quotation:e})=>{let{formatMessage:s,locale:a}=(0,r.S)(),{formatDateTime:l}=(0,h.f)();return(0,t.jsxs)("section",{children:[(0,t.jsx)(v.f,{user:e?.user,contact:e?.contact}),(0,t.jsxs)("div",{className:"mt-2 flex border-b border-slate-300 dark:border-slate-800 pb-2 text-sm",children:[(0,t.jsxs)("dl",{className:"flex flex-wrap items-center gap-1",children:[(0,t.jsxs)("dt",{className:"hidden capitalize text-slate-500 sm:block",children:[s({id:"quotation",defaultMessage:"quotation"}),"#  "]}),(0,t.jsxs)("dd",{className:"inline-flex text-lg font-medium text-slate-900 sm:text-xl sm:font-semibold",children:[(0,t.jsx)("span",{className:"sm:hidden",children:"# "}),e?.quotationNumber?(0,t.jsx)(y.f,{text:e?.quotationNumber,color:"slate",square:!0,className:"text-lg font-medium sm:text-xl sm:font-semibold"}):(0,t.jsx)(y.f,{text:s({id:"requested",defaultMessage:"Requested"}),color:"yellow",className:"text-lg font-medium sm:text-xl sm:font-semibold"})]}),(0,t.jsx)("dt",{children:(0,t.jsx)("span",{className:"sr-only",children:s({id:"date",defaultMessage:"Date"})})}),(0,t.jsx)("dd",{className:"font-medium text-slate-900",children:e?.ordered&&l(e?.ordered,{timeStyle:"short",dateStyle:"full"})})]}),(0,t.jsxs)("div",{className:"ml-auto flex flex-wrap items-center justify-center gap-x-2 gap-y-1 text-sm text-slate-900 sm:text-base",children:[(0,t.jsx)("span",{children:e?.country?.flagEmoji}),(0,t.jsx)("span",{children:(0,j.j)(a,e?.currency?.isoCode)}),(0,t.jsx)("span",{children:e?.currency?.isoCode&&(0,t.jsx)(y.f,{text:e?.currency?.isoCode,color:"amber",className:"px-2 py-0 sm:py-1",square:!0})})]})]})]})},k=u.f`
79
- mutation RejectQuotation($quotationId: ID!, $quotationContext: JSON) {
80
- rejectQuotation(
81
- quotationId: $quotationId
82
- quotationContext: $quotationContext
83
- ) {
84
- ...QuotationDetailFragment
85
- }
86
- }
87
- ${b}
88
- `;var N=e.i(1880),E=e.i(38322),S=e.i(57468),C=e.i(69211),M=e.i(7105),q=e.i(98949);let $=({successMessage:e,onSubmit:s,onCancel:a,icon:l=null,headerText:n,submitButtonText:o})=>{let{formatMessage:i}=(0,r.S)(),d=i({id:"quotation_updated",defaultMessage:"Quotation updated successfuly"}),u=(0,q.f)({submit:s,successMessage:e??d,onSubmitSuccess:a,initialValues:{quotationContext:null}});return(0,t.jsxs)(C.f,{form:u,id:"quotation_configuration",children:[(0,t.jsxs)("div",{className:"flex items-center text-center mb-3",children:[l||(0,t.jsx)("div",{className:"flex h-12 w-12 items-center justify-center rounded-full bg-emerald-100 dark:bg-emerald-900/30",children:(0,t.jsx)(E.f,{className:"h-8 w-8 text-emerald-600 dark:text-emerald-400",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","aria-hidden":"true"})}),(0,t.jsx)("div",{className:"text-center",children:(0,t.jsx)("h3",{className:"text-lg text-slate-900 dark:text-slate-200",id:"modal-title",children:n})})]}),(0,t.jsx)("div",{children:(0,t.jsx)(M.f,{name:"quotationContext",required:!1,label:i({id:"quotation-context-input-label",defaultMessage:"Quotation context"}),rows:10,labelClassName:"text-sm font-medium text-slate-500 mb-2"})}),(0,t.jsx)("div",{className:"border border-t-slate-100 bg-slate-50 mt-6 -mx-5 -mb-6 dark:bg-slate-500 dark:border-0",children:(0,t.jsx)(S.f,{onCancel:a,submitText:o,className:"justify-end "})})]})},O=u.f`
89
- mutation MakeQuotationProposal($quotationId: ID!, $quotationContext: JSON) {
90
- makeQuotationProposal(
91
- quotationId: $quotationId
92
- quotationContext: $quotationContext
93
- ) {
94
- ...QuotationDetailFragment
95
- }
96
- }
97
- ${b}
98
- `;var I=e.i(55215),D=e.i(35065);let P=({quotation:e})=>{let{formatMessage:s}=(0,r.S)(),{setModal:a}=(0,x.f)(),{quotationStatusTypes:l}=(()=>{let{data:e,loading:t,error:r}=(0,c.f)(m);return{quotationStatusTypes:e?.quotationStatusType?.options||[],loading:t,error:r}})(),{VerifyQuotation:u}=(()=>{let[e]=(0,p.f)(g);return{VerifyQuotation:async({quotationId:t=null,quotationContext:r={}})=>e({variables:{quotationId:t,quotationContext:r}})}})(),{rejectQuotation:b}=(()=>{let[e]=(0,p.f)(k);return{rejectQuotation:async({quotationId:t=null,quotationContext:r={}})=>e({variables:{quotationId:t,quotationContext:r}})}})(),{makeQuotationProposal:h}=(()=>{let[e]=(0,p.f)(O);return{makeQuotationProposal:async({quotationId:t=null,quotationContext:r={}})=>e({variables:{quotationId:t,quotationContext:r}})}})();if(!e)return null;let y=async()=>{await a((0,t.jsx)($,{onSubmit:async({quotationContext:t})=>{await u({quotationId:e?._id,quotationContext:t?JSON.parse(t||null):null}),a("")},onCancel:()=>a(""),successMessage:s({id:"quotation-verified-successfully",defaultMessage:"Quotation verified successfully"}),submitButtonText:s({id:"verify-quotation-submit",defaultMessage:"Verify"}),headerText:s({id:"verify-quotation-quotation",defaultMessage:"Verify quotation?"})}))},v=async()=>{await a((0,t.jsx)($,{onSubmit:async({quotationContext:t})=>{await b({quotationId:e?._id,quotationContext:t?JSON.parse(t||null):null}),a("")},onCancel:()=>a(""),successMessage:s({id:"quotation-rejection-successfully",defaultMessage:"Quotation rejected successfully"}),headerText:s({id:"reject-quotation-quotation",defaultMessage:"Reject quotation?"}),submitButtonText:s({id:"reject-quotation-submit",defaultMessage:"Reject"}),icon:(0,t.jsx)("div",{className:"flex h-12 w-12 shrink-0 items-center justify-center rounded-full bg-rose-100 sm:mx-0 sm:h-10 sm:w-10",children:(0,t.jsx)(i.f,{className:"h-6 w-6 text-rose-600"})})}))},j=async()=>{await a((0,t.jsx)($,{onSubmit:async({quotationContext:t})=>{await h({quotationId:e?._id,quotationContext:t?JSON.parse(t||null):null}),a("")},onCancel:()=>a(""),successMessage:s({id:"quotation-quoted-successfully",defaultMessage:"Quoted successfully"}),headerText:s({id:"make-proposal-header",defaultMessage:"Make quotation proposal"}),submitButtonText:s({id:"process-quotation-submit",defaultMessage:"Mark as processed"}),icon:(0,t.jsx)("div",{className:"flex h-12 w-12 shrink-0 items-center justify-center rounded-full bg-slate-200 sm:mx-0 sm:h-10 sm:w-10 mr-3",children:(0,t.jsx)(o.f,{className:"h-6 w-6 text-slate-950"})})}))},E={REQUESTED:{id:1,content:"created",visible:!0,Component:e?.status==="REQUESTED"&&(0,t.jsx)(f.f,{text:"Verify",onClick:y,className:"bg-white-300 relative -ml-px inline-flex items-center space-x-2 rounded-md border border-slate-900 dark:border-slate-600 bg-slate-800 dark:bg-slate-600 px-2 py-1 text-base font-medium text-white hover:bg-slate-950 dark:hover:bg-slate-500 dark:focus:border-slate-400 focus:outline-hidden focus:ring-0 focus:ring-slate-800 dark:focus:ring-slate-400"})},PROCESSING:{id:2,content:"updated",visible:e?.status==="PROCESSING",Component:e?.status==="PROCESSING"&&(0,t.jsx)(f.f,{text:"Propose",onClick:j,className:"bg-white-300 relative -ml-px inline-flex items-center space-x-2 rounded-md border border-slate-900 dark:border-slate-600 bg-slate-800 dark:bg-slate-600 px-2 py-1 text-base font-medium text-white hover:bg-slate-950 dark:hover:bg-slate-500 dark:focus:border-slate-400 focus:outline-hidden focus:ring-0 focus:ring-slate-800 dark:focus:ring-slate-400"})},PROPOSED:{id:3,content:"updated",visible:!0},REJECTED:{id:4,content:"rejected",visible:e?.status!=="FULFILLED",Component:e?.status!=="FULFILLED"&&e?.status!=="REJECTED"&&(0,t.jsx)(f.f,{text:"Reject",onClick:v,className:"bg-white-300 relative -ml-px inline-flex items-center space-x-2 rounded-md border border-rose-500 bg-rose-500 px-2 py-2 text-base font-medium text-white hover:bg-rose-700 focus:border-rose-400 focus:outline-hidden focus:ring-0 focus:ring-rose-400"})},FULFILLED:{id:5,content:"fulfilled",visible:!0}};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(w,{quotation:e}),(0,t.jsx)(d.f,{data:e,statusTypes:l,timeline:E}),(0,t.jsx)("section",{"aria-labelledby":"products-heading",className:"my-6",children:(0,t.jsx)("div",{className:"rounded-lg border-t border-b border-slate-300 dark:border-slate-800 bg-white shadow-xs sm:border",children:(0,t.jsxs)("div",{className:"grid grid-cols-1 text-sm sm:grid-cols-12 sm:grid-rows-1 sm:gap-x-6 md:gap-x-8 lg:gap-x-8",children:[(0,t.jsx)("div",{className:"sm:col-span-4 md:col-span-5 md:row-span-2 md:row-end-2",children:(0,t.jsx)("div",{className:"m:col-span-4 rounded-lg bg-slate-50 md:col-span-5 md:row-span-2 md:row-end-2",children:(0,t.jsx)(D.f,{src:e?.product?.media[0]?.file?.url||"/no-image.jpg",layout:"responsive",width:100,height:100,alt:s({id:"image-not-found",defaultMessage:"Image not found"})})})}),(0,t.jsxs)("div",{className:"pt-6 pl-4 sm:col-span-7 md:row-end-1",children:[(0,t.jsx)("h3",{className:"text-lg font-medium text-slate-900",children:(0,t.jsx)(n.default,{href:`/products?slug=${(0,N.U)(e?.product)}`,children:e?.product?.texts?.title})}),(0,t.jsx)("p",{className:"mt-3 text-slate-500",children:e?.product?.description}),(0,t.jsx)(I.f,{disabled:!0,value:JSON.stringify((e?.configuration||[]).map(({__typename:e,...t})=>t),null,2),className:"bg-white dark:bg-slate-900 dark:text-slate-200 mt-1 block w-full rounded-md resize-none border-slate-300 dark:border-slate-800 sm:text-sm"})]})]})})})]})};var _=e.i(70693);e.s(["default",0,({quotationId:e})=>{let{formatMessage:n}=(0,r.S)(),{quotation:o,loading:i}=(({quotationId:e})=>{let{customProperties:t}=(0,_.f)(),{data:r,loading:s,error:a}=(0,c.f)(((e="")=>u.f`
99
- query Quotation($quotationId: ID!) {
100
- quotation(quotationId: $quotationId) {
101
- _id
102
- ...QuotationDetailFragment
103
- ${e}
104
- }
105
- quotationsCount
106
- }
107
- ${b}
108
- `)(t?.Quotation),{skip:!e,variables:{quotationId:e}});return{quotation:r?.quotation,loading:s,error:a}})({quotationId:e});return(0,t.jsxs)("div",{className:"mt-5 max-w-full",children:[(0,t.jsx)(s.f,{currentPageTitle:o?.quotationNumber??""}),(0,t.jsx)("div",{className:"items-center flex min-w-full justify-between gap-3 flex-wrap",children:(0,t.jsx)(l.f,{headerText:n({id:"quotation_detail",defaultMessage:"Quotation Detail"}),title:n({id:"quotation_detail_title",defaultMessage:"Quotation {id}"},{id:o?._id})})}),i?(0,t.jsx)(a.f,{}):(0,t.jsx)(P,{quotation:o})]})}],96097)},76204,e=>{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 o(e){return{data:void 0,error:void 0,called:!1,loading:!1,client:e}}e.s(["f",0,function(e,i){let d=(0,n.f)(i?.client),[u,c]=r.useState(()=>o(d)),m=r.useRef({result:u,mutationId:0,isMounted:!0,client:d,mutation:e,options:i});l(()=>{Object.assign(m.current,{client:d,options:i,mutation:e})});let f=r.useCallback((e={})=>{let{options:r,mutation:l}=m.current,n={...r,mutation:l},o=e.client||m.current.client,i="function"==typeof e.context?e.context(r?.context):e.context;!m.current.result.loading&&m.current.isMounted&&c(m.current.result={loading:!0,error:void 0,data:void 0,called:!0,client:o});let d=++m.current.mutationId,u=(0,s.f)(n,{...e,context:i});return(0,a.f)(o.mutate(u).then(r=>{let{data:s,error:a}=r,l=e.onError||m.current.options?.onError;if(a&&l&&l(a,u),d===m.current.mutationId){let e={called:!0,loading:!1,data:s,error:a,client:o};m.current.isMounted&&!(0,t.f)(m.current.result,e)&&c(m.current.result=e)}let n=e.onCompleted||m.current.options?.onCompleted;return a||n?.(r.data,u),r},r=>{if(d===m.current.mutationId&&m.current.isMounted){let e={loading:!1,error:r,data:void 0,called:!0,client:o};(0,t.f)(m.current.result,e)||c(m.current.result=e)}let s=e.onError||m.current.options?.onError;throw s&&s(r,u),r}))},[]),x=r.useCallback(()=>{if(m.current.isMounted){let e=o(m.current.client);Object.assign(m.current,{mutationId:0,result:e}),c(e)}},[]);return r.useEffect(()=>{let e=m.current;return e.isMounted=!0,()=>{e.isMounted=!1}},[]),[f,{reset:x,...u}]}],76204)},15361,e=>{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:"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,r],15361)},38322,e=>{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:"m4.5 12.75 6 6 9-13.5"}))});e.s(["f",0,r],38322)},53463,e=>{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:"M6 12 3.269 3.125A59.769 59.769 0 0 1 21.485 12 59.768 59.768 0 0 1 3.27 20.875L5.999 12Zm0 0h7.5"}))});e.s(["f",0,r],53463)},37369,e=>{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=>{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=>{var t=e.i(35113);e.s(["f",0,function(e){return!(!(e instanceof Date||"object"==typeof e&&"[object Date]"===Object.prototype.toString.call(e))&&"number"!=typeof e||isNaN(+(0,t.f)(e)))}],9356)},49543,e=>{var t=e.i(35113);e.s(["f",0,function(e,r){let s=(0,t.f)(e,r?.in);return s.setHours(0,0,0,0),s}])},35113,2848,98170,e=>{let t=Symbol.for("constructDateFrom");function r(e,r){return"function"==typeof e?e(r):e&&"object"==typeof e&&t in e?e[t](r):e instanceof Date?new e.constructor(r):new Date(r)}e.s(["C",0,t,"_",0,864e5,"r",0,36e5,"z",0,6e4,"A",0,6048e5,"k",0,1440,"d",0,43200,"l",0,525600],2848),e.s(["f",0,r],98170),e.s(["f",0,function(e,t){return r(t||e,e)}],35113)},34980,(e,t,r)=>{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},o={};function i(e){return s.isMemo(e)?n:o[e.$$typeof]||a}o[s.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},o[s.Memo]=n;var d=Object.defineProperty,u=Object.getOwnPropertyNames,c=Object.getOwnPropertySymbols,m=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,x=Object.prototype;t.exports=function e(t,r,s){if("string"!=typeof r){if(x){var a=f(r);a&&a!==x&&e(t,a,s)}var n=u(r);c&&(n=n.concat(c(r)));for(var o=i(t),p=i(r),b=0;b<n.length;++b){var g=n[b];if(!l[g]&&!(s&&s[g])&&!(p&&p[g])&&!(o&&o[g])){var h=m(r,g);try{d(t,g,h)}catch(e){}}}}return t}},40563,(e,t,r)=>{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,o=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,m=s?Symbol.for("react.concurrent_mode"):60111,f=s?Symbol.for("react.forward_ref"):60112,x=s?Symbol.for("react.suspense"):60113,p=s?Symbol.for("react.suspense_list"):60120,b=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 w(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case a:switch(e=e.type){case c:case m:case n:case i:case o:case x:return e;default:switch(e=e&&e.$$typeof){case u:case f:case g:case b:case d:return e;default:return t}}case l:return t}}}function k(e){return w(e)===m}r.AsyncMode=c,r.ConcurrentMode=m,r.ContextConsumer=u,r.ContextProvider=d,r.Element=a,r.ForwardRef=f,r.Fragment=n,r.Lazy=g,r.Memo=b,r.Portal=l,r.Profiler=i,r.StrictMode=o,r.Suspense=x,r.isAsyncMode=function(e){return k(e)||w(e)===c},r.isConcurrentMode=k,r.isContextConsumer=function(e){return w(e)===u},r.isContextProvider=function(e){return w(e)===d},r.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===a},r.isForwardRef=function(e){return w(e)===f},r.isFragment=function(e){return w(e)===n},r.isLazy=function(e){return w(e)===g},r.isMemo=function(e){return w(e)===b},r.isPortal=function(e){return w(e)===l},r.isProfiler=function(e){return w(e)===i},r.isStrictMode=function(e){return w(e)===o},r.isSuspense=function(e){return w(e)===x},r.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===n||e===m||e===i||e===o||e===x||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===b||e.$$typeof===d||e.$$typeof===u||e.$$typeof===f||e.$$typeof===y||e.$$typeof===v||e.$$typeof===j||e.$$typeof===h)},r.typeOf=w},49957,(e,t,r)=>{e.i(50461),t.exports=e.r(40563)}])})();
@@ -1 +0,0 @@
1
- (()=>{"use strict";(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,75229,88737,e=>{var t=e.i(91398);e.s(["f",0,({name:e="",showName:r=!0,className:n=""}={})=>(0,t.jsx)("div",{className:`flex-col ${n}`,children:e&&r&&(0,t.jsx)("p",{className:"text-sm font-medium text-slate-700 group-hover:text-slate-900",children:e})})],75229);var r=e.i(91788);let n=r.forwardRef(function({title:e,titleId:t,...n},i){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:i,"aria-labelledby":t},n),e?r.createElement("title",{id:t},e):null,r.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M2.25 3h1.386c.51 0 .955.343 1.087.835l.383 1.437M7.5 14.25a3 3 0 0 0-3 3h15.75m-12.75-3h11.218c1.121-2.3 2.1-4.684 2.924-7.138a60.114 60.114 0 0 0-16.536-1.84M7.5 14.25 5.106 5.272M6 20.25a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0Zm12.75 0a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0Z"}))});e.s(["f",0,n],88737)},1880,e=>{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()}])},51782,e=>{var t=e.i(91398),r=e.i(69322),n=e.i(65153),i=e.i(60193);let a={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:o=""})=>{let{formatMessage:l}=(0,r.S)(),s={PENDING:l({id:"pending",defaultMessage:"PENDING"}),CONFIRMED:l({id:"confirmed",defaultMessage:"CONFIRMED"}),OPEN:l({id:"open",defaultMessage:"OPEN"}),FULFILLED:l({id:"fulfilled",defaultMessage:"FULFILLED"}),REJECTED:l({id:"rejected",defaultMessage:"REJECTED"})},u=s?.[e]??l({id:"cart",defaultMessage:"Cart"});return a?.[e],(0,t.jsx)(n.f,{text:u,color:i.v[e],square:!0,className:`uppercase ${o}`})}])},75155,e=>{var t=e.i(91398),r=e.i(69322),n=e.i(65153);let i={DRAFT:"yellow",ACTIVE:"emerald",DELETED:"amber",null:"yellow",undefined:"yellow"};e.s(["f",0,({status:e})=>{let{formatMessage:a}=(0,r.S)();return a({id:"pending",defaultMessage:"PENDING"}),a({id:"confirmed",defaultMessage:"CONFIRMED"}),a({id:"open",defaultMessage:"OPEN"}),a({id:"fulfilled",defaultMessage:"FULFILLED"}),a({id:"rejected",defaultMessage:"REJECTED"}),(0,t.jsx)(n.f,{text:(e=>{switch(e){case"ACTIVE":return a({id:"active",defaultMessage:"Active"});case"DRAFT":default:return a({id:"draft",defaultMessage:"Draft"});case"DELETED":return a({id:"deleted",defaultMessage:"Deleted"})}})(e),color:i[e]||"yellow",square:!0,dotted:!0})}])},86129,e=>{var t=e.i(91788);let r=t.forwardRef(function({title:e,titleId:r,...n},i){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:i,"aria-labelledby":r},n),e?t.createElement("title",{id:r},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M16.023 9.348h4.992v-.001M2.985 19.644v-4.992m0 0h4.992m-4.993 0 3.181 3.183a8.25 8.25 0 0 0 13.803-3.7M4.031 9.865a8.25 8.25 0 0 1 13.803-3.7l3.181 3.182m0-4.991v4.99"}))});e.s(["f",0,r],86129)},38187,e=>{var t=e.i(91788);let r=t.forwardRef(function({title:e,titleId:r,...n},i){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:i,"aria-labelledby":r},n),e?t.createElement("title",{id:r},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m19.5 8.25-7.5 7.5-7.5-7.5"}))});e.s(["f",0,r],38187)},91412,e=>{var t=e.i(91788);let r=t.forwardRef(function({title:e,titleId:r,...n},i){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:i,"aria-labelledby":r},n),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)},44112,e=>{var t=e.i(91788);let r=t.forwardRef(function({title:e,titleId:r,...n},i){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:i,"aria-labelledby":r},n),e?t.createElement("title",{id:r},e):null,t.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,r],44112)},53463,e=>{var t=e.i(91788);let r=t.forwardRef(function({title:e,titleId:r,...n},i){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:i,"aria-labelledby":r},n),e?t.createElement("title",{id:r},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 12 3.269 3.125A59.769 59.769 0 0 1 21.485 12 59.768 59.768 0 0 1 3.27 20.875L5.999 12Zm0 0h7.5"}))});e.s(["f",0,r],53463)},81618,e=>{var t=e.i(91788);let r=t.forwardRef(function({title:e,titleId:r,...n},i){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:i,"aria-labelledby":r},n),e?t.createElement("title",{id:r},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m2.25 15.75 5.159-5.159a2.25 2.25 0 0 1 3.182 0l5.159 5.159m-1.5-1.5 1.409-1.409a2.25 2.25 0 0 1 3.182 0l2.909 2.909m-18 3.75h16.5a1.5 1.5 0 0 0 1.5-1.5V6a1.5 1.5 0 0 0-1.5-1.5H3.75A1.5 1.5 0 0 0 2.25 6v12a1.5 1.5 0 0 0 1.5 1.5Zm10.5-11.25h.008v.008h-.008V8.25Zm.375 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Z"}))});e.s(["f",0,r],81618)},57748,e=>{var t=e.i(91788);let r=t.forwardRef(function({title:e,titleId:r,...n},i){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:i,"aria-labelledby":r},n),e?t.createElement("title",{id:r},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9.813 15.904 9 18.75l-.813-2.846a4.5 4.5 0 0 0-3.09-3.09L2.25 12l2.846-.813a4.5 4.5 0 0 0 3.09-3.09L9 5.25l.813 2.846a4.5 4.5 0 0 0 3.09 3.09L15.75 12l-2.846.813a4.5 4.5 0 0 0-3.09 3.09ZM18.259 8.715 18 9.75l-.259-1.035a3.375 3.375 0 0 0-2.455-2.456L14.25 6l1.036-.259a3.375 3.375 0 0 0 2.455-2.456L18 2.25l.259 1.035a3.375 3.375 0 0 0 2.456 2.456L21.75 6l-1.035.259a3.375 3.375 0 0 0-2.456 2.456ZM16.894 20.567 16.5 21.75l-.394-1.183a2.25 2.25 0 0 0-1.423-1.423L13.5 18.75l1.183-.394a2.25 2.25 0 0 0 1.423-1.423l.394-1.183.394 1.183a2.25 2.25 0 0 0 1.423 1.423l1.183.394-1.183.394a2.25 2.25 0 0 0-1.423 1.423Z"}))});e.s(["f",0,r],57748)},39382,e=>{var t=e.i(91788);let r=t.forwardRef(function({title:e,titleId:r,...n},i){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:i,"aria-labelledby":r},n),e?t.createElement("title",{id:r},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m14.74 9-.346 9m-4.788 0L9.26 9m9.968-3.21c.342.052.682.107 1.022.166m-1.022-.165L18.16 19.673a2.25 2.25 0 0 1-2.244 2.077H8.084a2.25 2.25 0 0 1-2.244-2.077L4.772 5.79m14.456 0a48.108 48.108 0 0 0-3.478-.397m-12 .562c.34-.059.68-.114 1.022-.165m0 0a48.11 48.11 0 0 1 3.478-.397m7.5 0v-.916c0-1.18-.91-2.164-2.09-2.201a51.964 51.964 0 0 0-3.32 0c-1.18.037-2.09 1.022-2.09 2.201v.916m7.5 0a48.667 48.667 0 0 0-7.5 0"}))});e.s(["f",0,r],39382)},24608,e=>{var t=e.i(91788);let r=t.forwardRef(function({title:e,titleId:r,...n},i){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:i,"aria-labelledby":r},n),e?t.createElement("title",{id:r},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18 18 6M6 6l12 12"}))});e.s(["f",0,r],24608)},31599,e=>{e.s(["f",0,function(e,t){return null==e||null==t?0/0:t<e?-1:t>e?1:t>=e?0:0/0}])},59015,e=>{e.s(["f",0,function(e,t){let r;if(void 0===t)for(let t of e)null!=t&&(r<t||void 0===r&&t>=t)&&(r=t);else{let n=-1;for(let i of e)null!=(i=t(i,++n,e))&&(r<i||void 0===r&&i>=i)&&(r=i)}return r}])},28917,e=>{e.s(["f",0,function(e,t){let r;if(void 0===t)for(let t of e)null!=t&&(r>t||void 0===r&&t>=t)&&(r=t);else{let n=-1;for(let i of e)null!=(i=t(i,++n,e))&&(r>i||void 0===r&&i>=i)&&(r=i)}return r}])},98952,19903,47672,11049,74037,44641,25369,e=>{function t(e,t,r){e.prototype=t.prototype=r,r.constructor=e}function r(e,t){var r=Object.create(e.prototype);for(var n in t)r[n]=t[n];return r}function n(){}e.s(["f",()=>V],44641);var i=1/.7,a="\\s*([+-]?\\d+)\\s*",o="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",l="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",s=/^#([0-9a-f]{3,8})$/,u=RegExp(`^rgb\\(${a},${a},${a}\\)$`),f=RegExp(`^rgb\\(${l},${l},${l}\\)$`),c=RegExp(`^rgba\\(${a},${a},${a},${o}\\)$`),d=RegExp(`^rgba\\(${l},${l},${l},${o}\\)$`),h=RegExp(`^hsl\\(${o},${l},${l}\\)$`),g=RegExp(`^hsla\\(${o},${l},${l},${o}\\)$`),m={aliceblue:0xf0f8ff,antiquewhite:0xfaebd7,aqua:65535,aquamarine:8388564,azure:0xf0ffff,beige:0xf5f5dc,bisque:0xffe4c4,black:0,blanchedalmond:0xffebcd,blue:255,blueviolet:9055202,brown:0xa52a2a,burlywood:0xdeb887,cadetblue:6266528,chartreuse:8388352,chocolate:0xd2691e,coral:0xff7f50,cornflowerblue:6591981,cornsilk:0xfff8dc,crimson:0xdc143c,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:0xb8860b,darkgray:0xa9a9a9,darkgreen:25600,darkgrey:0xa9a9a9,darkkhaki:0xbdb76b,darkmagenta:9109643,darkolivegreen:5597999,darkorange:0xff8c00,darkorchid:0x9932cc,darkred:9109504,darksalmon:0xe9967a,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:0xff1493,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:0xb22222,floralwhite:0xfffaf0,forestgreen:2263842,fuchsia:0xff00ff,gainsboro:0xdcdcdc,ghostwhite:0xf8f8ff,gold:0xffd700,goldenrod:0xdaa520,gray:8421504,green:32768,greenyellow:0xadff2f,grey:8421504,honeydew:0xf0fff0,hotpink:0xff69b4,indianred:0xcd5c5c,indigo:4915330,ivory:0xfffff0,khaki:0xf0e68c,lavender:0xe6e6fa,lavenderblush:0xfff0f5,lawngreen:8190976,lemonchiffon:0xfffacd,lightblue:0xadd8e6,lightcoral:0xf08080,lightcyan:0xe0ffff,lightgoldenrodyellow:0xfafad2,lightgray:0xd3d3d3,lightgreen:9498256,lightgrey:0xd3d3d3,lightpink:0xffb6c1,lightsalmon:0xffa07a,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:0xb0c4de,lightyellow:0xffffe0,lime:65280,limegreen:3329330,linen:0xfaf0e6,magenta:0xff00ff,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:0xba55d3,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:0xc71585,midnightblue:1644912,mintcream:0xf5fffa,mistyrose:0xffe4e1,moccasin:0xffe4b5,navajowhite:0xffdead,navy:128,oldlace:0xfdf5e6,olive:8421376,olivedrab:7048739,orange:0xffa500,orangered:0xff4500,orchid:0xda70d6,palegoldenrod:0xeee8aa,palegreen:0x98fb98,paleturquoise:0xafeeee,palevioletred:0xdb7093,papayawhip:0xffefd5,peachpuff:0xffdab9,peru:0xcd853f,pink:0xffc0cb,plum:0xdda0dd,powderblue:0xb0e0e6,purple:8388736,rebeccapurple:6697881,red:0xff0000,rosybrown:0xbc8f8f,royalblue:4286945,saddlebrown:9127187,salmon:0xfa8072,sandybrown:0xf4a460,seagreen:3050327,seashell:0xfff5ee,sienna:0xa0522d,silver:0xc0c0c0,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:0xfffafa,springgreen:65407,steelblue:4620980,tan:0xd2b48c,teal:32896,thistle:0xd8bfd8,tomato:0xff6347,turquoise:4251856,violet:0xee82ee,wheat:0xf5deb3,white:0xffffff,whitesmoke:0xf5f5f5,yellow:0xffff00,yellowgreen:0x9acd32};function p(){return this.rgb().formatHex()}function b(){return this.rgb().formatRgb()}function x(e){var t,r;return e=(e+"").trim().toLowerCase(),(t=s.exec(e))?(r=t[1].length,t=parseInt(t[1],16),6===r?w(t):3===r?new k(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===r?v(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===r?v(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|240&t,((15&t)<<4|15&t)/255):null):(t=u.exec(e))?new k(t[1],t[2],t[3],1):(t=f.exec(e))?new k(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=c.exec(e))?v(t[1],t[2],t[3],t[4]):(t=d.exec(e))?v(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=h.exec(e))?j(t[1],t[2]/100,t[3]/100,1):(t=g.exec(e))?j(t[1],t[2]/100,t[3]/100,t[4]):m.hasOwnProperty(e)?w(m[e]):"transparent"===e?new k(0/0,0/0,0/0,0):null}function w(e){return new k(e>>16&255,e>>8&255,255&e,1)}function v(e,t,r,n){return n<=0&&(e=t=r=0/0),new k(e,t,r,n)}function y(e,t,r,i){var a;return 1==arguments.length?((a=e)instanceof n||(a=x(a)),a)?new k((a=a.rgb()).r,a.g,a.b,a.opacity):new k:new k(e,t,r,null==i?1:i)}function k(e,t,r,n){this.r=+e,this.g=+t,this.b=+r,this.opacity=+n}function E(){return`#${N(this.r)}${N(this.g)}${N(this.b)}`}function M(){let e=$(this.opacity);return`${1===e?"rgb(":"rgba("}${L(this.r)}, ${L(this.g)}, ${L(this.b)}${1===e?")":`, ${e})`}`}function $(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function L(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function N(e){return((e=L(e))<16?"0":"")+e.toString(16)}function j(e,t,r,n){return n<=0?e=t=r=0/0:r<=0||r>=1?e=t=0/0:t<=0&&(e=0/0),new R(e,t,r,n)}function C(e){if(e instanceof R)return new R(e.h,e.s,e.l,e.opacity);if(e instanceof n||(e=x(e)),!e)return new R;if(e instanceof R)return e;var t=(e=e.rgb()).r/255,r=e.g/255,i=e.b/255,a=Math.min(t,r,i),o=Math.max(t,r,i),l=0/0,s=o-a,u=(o+a)/2;return s?(l=t===o?(r-i)/s+(r<i)*6:r===o?(i-t)/s+2:(t-r)/s+4,s/=u<.5?o+a:2-o-a,l*=60):s=u>0&&u<1?0:l,new R(l,s,u,e.opacity)}function R(e,t,r,n){this.h=+e,this.s=+t,this.l=+r,this.opacity=+n}function O(e){return(e=(e||0)%360)<0?e+360:e}function D(e){return Math.max(0,Math.min(1,e||0))}function A(e,t,r){return(e<60?t+(r-t)*e/60:e<180?r:e<240?t+(r-t)*(240-e)/60:t)*255}function S(e,t,r,n,i){var a=e*e,o=a*e;return((1-3*e+3*a-o)*t+(4-6*a+3*o)*r+(1+3*e+3*a-3*o)*n+o*i)/6}t(n,x,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:p,formatHex:p,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return C(this).formatHsl()},formatRgb:b,toString:b}),t(k,y,r(n,{brighter(e){return e=null==e?i:Math.pow(i,e),new k(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=null==e?.7:Math.pow(.7,e),new k(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new k(L(this.r),L(this.g),L(this.b),$(this.opacity))},displayable(){return -.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:E,formatHex:E,formatHex8:function(){return`#${N(this.r)}${N(this.g)}${N(this.b)}${N((isNaN(this.opacity)?1:this.opacity)*255)}`},formatRgb:M,toString:M})),t(R,function(e,t,r,n){return 1==arguments.length?C(e):new R(e,t,r,null==n?1:n)},r(n,{brighter(e){return e=null==e?i:Math.pow(i,e),new R(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=null==e?.7:Math.pow(.7,e),new R(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+(this.h<0)*360,t=isNaN(e)||isNaN(this.s)?0:this.s,r=this.l,n=r+(r<.5?r:1-r)*t,i=2*r-n;return new k(A(e>=240?e-240:e+120,i,n),A(e,i,n),A(e<120?e+240:e-120,i,n),this.opacity)},clamp(){return new R(O(this.h),D(this.s),D(this.l),$(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){let e=$(this.opacity);return`${1===e?"hsl(":"hsla("}${O(this.h)}, ${100*D(this.s)}%, ${100*D(this.l)}%${1===e?")":`, ${e})`}`}})),e.s(["f",0,x],19903);let W=e=>()=>e;function I(e,t){var r=t-e;return r?function(t){return e+t*r}:W(isNaN(e)?t:e)}let B=function e(t){var r,n=1==(r=+t)?I:function(e,t){var n,i,a;return t-e?(n=e,i=t,n=Math.pow(n,a=r),i=Math.pow(i,a)-n,a=1/a,function(e){return Math.pow(n+e*i,a)}):W(isNaN(e)?t:e)};function i(e,t){var r=n((e=y(e)).r,(t=y(t)).r),i=n(e.g,t.g),a=n(e.b,t.b),o=I(e.opacity,t.opacity);return function(t){return e.r=r(t),e.g=i(t),e.b=a(t),e.opacity=o(t),e+""}}return i.gamma=e,i}(1);function P(e){return function(t){var r,n,i=t.length,a=Array(i),o=Array(i),l=Array(i);for(r=0;r<i;++r)n=y(t[r]),a[r]=n.r||0,o[r]=n.g||0,l[r]=n.b||0;return a=e(a),o=e(o),l=e(l),n.opacity=1,function(e){return n.r=a(e),n.g=o(e),n.b=l(e),n+""}}}function T(e,t){return e*=1,t*=1,function(r){return e*(1-r)+t*r}}P(function(e){var t=e.length-1;return function(r){var n=r<=0?r=0:r>=1?(r=1,t-1):Math.floor(r*t),i=e[n],a=e[n+1],o=n>0?e[n-1]:2*i-a,l=n<t-1?e[n+2]:2*a-i;return S((r-n/t)*t,o,i,a,l)}}),P(function(e){var t=e.length;return function(r){var n=Math.floor(((r%=1)<0?++r:r)*t),i=e[(n+t-1)%t],a=e[n%t],o=e[(n+1)%t],l=e[(n+2)%t];return S((r-n/t)*t,i,a,o,l)}}),e.s(["f",0,B],47672),e.s(["f",0,T],11049);var F=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,Z=RegExp(F.source,"g");function z(e,t){var r,n,i,a,o,l=F.lastIndex=Z.lastIndex=0,s=-1,u=[],f=[];for(e+="",t+="";(i=F.exec(e))&&(a=Z.exec(t));)(o=a.index)>l&&(o=t.slice(l,o),u[s]?u[s]+=o:u[++s]=o),(i=i[0])===(a=a[0])?u[s]?u[s]+=a:u[++s]=a:(u[++s]=null,f.push({i:s,x:T(i,a)})),l=Z.lastIndex;return l<t.length&&(o=t.slice(l),u[s]?u[s]+=o:u[++s]=o),u.length<2?f[0]?(r=f[0].x,function(e){return r(e)+""}):(n=t,function(){return n}):(t=f.length,function(e){for(var r,n=0;n<t;++n)u[(r=f[n]).i]=r.x(e);return u.join("")})}function V(e,t){var r,n,i=typeof t;return null==t||"boolean"===i?W(t):("number"===i?T:"string"===i?(n=x(t))?(t=n,B):z:t instanceof x?B:t instanceof Date?function(e,t){var r=new Date;return e*=1,t*=1,function(n){return r.setTime(e*(1-n)+t*n),r}}:!ArrayBuffer.isView(r=t)||r instanceof DataView?Array.isArray(t)?function(e,t){var r,n=t?t.length:0,i=e?Math.min(n,e.length):0,a=Array(i),o=Array(n);for(r=0;r<i;++r)a[r]=V(e[r],t[r]);for(;r<n;++r)o[r]=t[r];return function(e){for(r=0;r<i;++r)o[r]=a[r](e);return o}}:"function"!=typeof t.valueOf&&"function"!=typeof t.toString||isNaN(t)?function(e,t){var r,n={},i={};for(r in(null===e||"object"!=typeof e)&&(e={}),(null===t||"object"!=typeof t)&&(t={}),t)r in e?n[r]=V(e[r],t[r]):i[r]=t[r];return function(e){for(r in n)i[r]=n[r](e);return i}}:T:function(e,t){t||(t=[]);var r,n=e?Math.min(t.length,e.length):0,i=t.slice();return function(a){for(r=0;r<n;++r)i[r]=e[r]*(1-a)+t[r]*a;return i}})(e,t)}e.s(["f",0,z],74037),e.s(["f",0,V],98952),e.s(["f",0,T],25369)},23874,e=>{e.s(["x",0,function(e,t){switch(arguments.length){case 0:break;case 1:"function"==typeof e?this.interpolator(e):this.range(e);break;default:this.domain(e),"function"==typeof t?this.interpolator(t):this.range(t)}return this},"V",0,function(e,t){switch(arguments.length){case 0:break;case 1:this.range(e);break;default:this.range(t).domain(e)}return this}])},28120,e=>{var t=e.i(21791),r=e.i(23874);let n=Symbol("implicit");e.s(["U",0,function e(){var i=new t.f,a=[],o=[],l=n;function s(e){let t=i.get(e);if(void 0===t){if(l!==n)return l;i.set(e,t=a.push(e)-1)}return o[t%o.length]}return s.domain=function(e){if(!arguments.length)return a.slice();for(let r of(a=[],i=new t.f,e))i.has(r)||i.set(r,a.push(r)-1);return s},s.range=function(e){return arguments.length?(o=Array.from(e),s):o.slice()},s.unknown=function(e){return arguments.length?(l=e,s):l},s.copy=function(){return e(a,o).unknown(l)},r.V.apply(s,arguments),s},"j",0,n])},36980,e=>{e.s(["f",0,function(e){return t=>{let r=(e?Math[e]:Math.trunc)(t);return 0===r?0:r}}])},60836,e=>{var t=e.i(35113);e.s(["f",0,function(e,r){let n=(0,t.f)(e)-(0,t.f)(r);return n<0?-1:n>0?1:n}])},21791,e=>{class t extends Map{constructor(e,t=n){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:t}}),null!=e)for(let[t,r]of e)this.set(t,r)}get(e){return super.get(r(this,e))}has(e){return super.has(r(this,e))}set(e,t){return super.set(function({_intern:e,_key:t},r){let n=t(r);return e.has(n)?e.get(n):(e.set(n,r),r)}(this,e),t)}delete(e){return super.delete(function({_intern:e,_key:t},r){let n=t(r);return e.has(n)&&(r=e.get(n),e.delete(n)),r}(this,e))}}function r({_intern:e,_key:t},n){let i=t(n);return e.has(i)?e.get(i):n}function n(e){return null!==e&&"object"==typeof e?e.valueOf():e}e.s(["f",0,t])},5270,e=>{var t=e.i(91788);let r=(...e)=>e.filter((e,t,r)=>!!e&&""!==e.trim()&&r.indexOf(e)===t).join(" ").trim(),n={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":2,"stroke-linecap":"round","stroke-linejoin":"round"},i=(0,t.createContext)({}),a=(0,t.forwardRef)(({color:e,size:a,width:o,height:l,strokeWidth:s,absoluteStrokeWidth:u,nonScalingStroke:f,className:c="",children:d,iconNode:h=[],icon:g={node:h,aliases:[],size:24},...m},p)=>{let{size:b=24,strokeWidth:x=2,absoluteStrokeWidth:w=!1,nonScalingStroke:v=!1,color:y="currentColor",className:k=""}=(0,t.useContext)(i)??{},E=!!d||(e=>{for(let t in e)if(t.startsWith("aria-")||"role"===t||"title"===t)return!0;return!1})(m),[M,$,L=[]]=function(e,t={}){return function(e,t={}){let i=t.attributeNames??{},a=e=>i[e]??e,o=e.size??e.width??n.width,l=e.size??e.height??n.height,s=e.aliases?.filter(e=>"string"==typeof e&&""!==e.trim()).map(e=>`lucide-${e}`)??[],u=[...e.name?[`lucide-${e.name}`]:[],...s],f=t.className?.split(" ").filter(Boolean)??[],c=!1===t.includeDefaultClasses?r(...f):r("lucide",...u,...f),d=t.absoluteStrokeWidth?Number(t.strokeWidth??n["stroke-width"])*Number(e.size??e.width??n.width)/Number(t.size??t.width??n.width):t.strokeWidth??n["stroke-width"];return["svg",{...Object.entries(n).reduce((e,[t,r])=>(e[a(t)]=r,e),{}),..."color"in t&&t.color&&{[a("stroke")]:t.color},..."size"in t&&null!=t.size&&{[a("width")]:t.size,[a("height")]:t.size},..."width"in t&&null!=t.width&&{[a("width")]:t.width},..."height"in t&&null!=t.height&&{[a("height")]:t.height},[a("stroke-width")]:d,...c&&{[a("class")]:c},[a("viewBox")]:`0 0 ${o} ${l}`,...!1===t.hasA11yProp?{[a("aria-hidden")]:"true"}:{},..."attributes"in t&&t.attributes},e.node.map(e=>{let[r,n,i]=e,o=t.nonScalingStroke?{[a("vector-effect")]:"non-scaling-stroke",...n}:n;return i?[r,o,i]:[r,o]})]}(e,{...t,attributeNames:{...t.attributeNames,class:"className","stroke-width":"strokeWidth","stroke-linecap":"strokeLinecap","stroke-linejoin":"strokeLinejoin","vector-effect":"vectorEffect"}})}(g,{color:e??y,width:o??a??b,height:l??a??b,strokeWidth:s??x,absoluteStrokeWidth:u??w,nonScalingStroke:f??v,className:r(k,c),hasA11yProp:E,attributes:m});return(0,t.createElement)(M,{ref:p,...$},[...L.map(([e,r])=>(0,t.createElement)(e,r)),...Array.isArray(d)?d:[d]])});e.s(["f",0,function(e,r=[],n=[]){let i,o="string"==typeof e?function(e,t,r=[]){if(null==t)throw Error("[lucide]: iconNode is required when icon name is used");return{name:e?.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),size:24,node:t,...r.length>0?{aliases:r}:{}}}(e,r,n):e,l=(0,t.forwardRef)(({className:e,...r},n)=>(0,t.createElement)(a,{ref:n,icon:o,className:e,...r}));return o.name&&(l.displayName=(i=(e=>{let t="",r=!1;for(let n of e){if("-"===n||"_"===n||n<=" "){r=t.length>0;continue}0===t.length?t+=n.toLowerCase():t+=r?n.toUpperCase():n,r=!1}return t})(o.name)).charAt(0).toUpperCase()+i.slice(1)),l}],5270)},40238,(e,t,r)=>{var n=e.r(91788),i="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},a=n.useSyncExternalStore,o=n.useRef,l=n.useEffect,s=n.useMemo,u=n.useDebugValue;r.useSyncExternalStoreWithSelector=function(e,t,r,n,f){var c=o(null);if(null===c.current){var d={hasValue:!1,value:null};c.current=d}else d=c.current;var h=a(e,(c=s(function(){function e(e){if(!l){if(l=!0,a=e,e=n(e),void 0!==f&&d.hasValue){var t=d.value;if(f(t,e))return o=t}return o=e}if(t=o,i(a,e))return t;var r=n(e);return void 0!==f&&f(t,r)?(a=e,t):(a=e,o=r)}var a,o,l=!1,s=void 0===r?null:r;return[function(){return e(t())},null===s?void 0:function(){return e(s())}]},[t,r,n,f]))[0],c[1]);return l(function(){d.hasValue=!0,d.value=h},[h]),u(h),h}},19979,(e,t,r)=>{e.i(50461),t.exports=e.r(40238)}])})();
@@ -1,7 +0,0 @@
1
- __turbopack_load_page_chunks__("/assortments/new", [
2
- "static/chunks/1hih2cxmgqcd3.js",
3
- "static/chunks/0c4jv8pwvpxei.js",
4
- "static/chunks/3c-an5ft_3emc.js",
5
- "static/chunks/336k08jwyc5i-.js",
6
- "static/chunks/turbopack-2c3mg3r-05n1w.js"
7
- ])
@@ -1,5 +0,0 @@
1
- __turbopack_load_page_chunks__("/country/new", [
2
- "static/chunks/3oq-khgfpo0nx.js",
3
- "static/chunks/3c-an5ft_3emc.js",
4
- "static/chunks/turbopack-2c3mg3r-05n1w.js"
5
- ])
@@ -1 +0,0 @@
1
- (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,51585,(e,t,i)=>{let s="/account";(window.__NEXT_P=window.__NEXT_P||[]).push([s,()=>e.r(79354)]),t.hot&&t.hot.dispose(function(){window.__NEXT_P.push([s])})},79354,e=>{"use strict";var t=e.i(91398),i=e.i(69322),s=e.i(3828),c=e.i(51870),a=e.i(61494),o=e.i(17644),n=e.i(62274),u=e.i(23745),d=e.i(6607),l=e.i(15971),r=e.i(28401),f=e.i(42763),h=e.i(86610),_=e.i(72419);e.s(["default",0,()=>{let{formatMessage:e}=(0,i.S)(),w=(0,s.useRouter)(),{currentUser:x,extendedData:T}=(0,c.f)(),{deleteUser:g}=(0,u.f)(),{setModal:m}=(0,d.f)(),j=(0,f.f)({}),p=async()=>{await m((0,t.jsx)(l.f,{onCancelClick:async()=>m(""),message:e({id:"delete_account_confirmation",defaultMessage:"This action might cause inconsistencies with other data that relates to it "}),onOkClick:async()=>{m("");try{await g(),r.c.success(e({id:"account_deleted",defaultMessage:"Account deleted successfully"})),await (0,h.f)(j,w)}catch(t){r.c.error((0,_.f)(t,e))}},okText:e({id:"delete_account",defaultMessage:"Delete account"})}))};return(0,t.jsxs)("div",{className:" max-w-6xl",children:[(0,t.jsx)(a.f,{}),(0,t.jsx)(o.f,{headerText:e({id:"account",defaultMessage:"Account"}),onDelete:p}),(0,t.jsx)(n.f,{user:x,extendedData:T})]})}])}]);