@unchainedshop/admin-ui 5.0.0-alpha.6 → 5.0.0-alpha.7

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 (711) hide show
  1. package/README.md +27 -19
  2. package/dist/chunk-2RTX42IE.js +2083 -0
  3. package/dist/chunk-6UGLNLJG.js +44 -0
  4. package/dist/{chunk-UXG7EYHC.js → chunk-7PPOGX7R.js} +2 -35
  5. package/dist/{chunk-45H2WVIC.js → chunk-COV7BREX.js} +0 -1
  6. package/dist/{chunk-RHUFQVKL.js → chunk-F2TCVEQX.js} +1 -1
  7. package/dist/{chunk-UFYR5WZT.js → chunk-GY2DRQGW.js} +2 -1
  8. package/dist/{chunk-BGCKJQGS.js → chunk-JAVEZY3Q.js} +22 -15
  9. package/dist/{chunk-6TXD4TA7.js → chunk-KCN7DDPH.js} +2 -82
  10. package/dist/{chunk-YSKZE2KN.js → chunk-MSPWYMDY.js} +37 -24
  11. package/dist/chunk-RORNAN2J.js +12 -0
  12. package/dist/chunk-YZGQJJCD.js +37 -0
  13. package/dist/components/ui/Tag/TagInput.d.ts +10 -5
  14. package/dist/components/ui/Tag/TagInput.d.ts.map +1 -1
  15. package/dist/components/ui/form/TagInputField.d.ts +2 -1
  16. package/dist/components/ui/form/TagInputField.d.ts.map +1 -1
  17. package/dist/form.js +699 -2497
  18. package/dist/gql/operation-types.d.ts +13043 -0
  19. package/dist/gql/operation-types.d.ts.map +1 -0
  20. package/dist/gql/schema-types.d.ts +3820 -0
  21. package/dist/gql/schema-types.d.ts.map +1 -0
  22. package/dist/gql/types.d.ts +2 -17208
  23. package/dist/gql/types.d.ts.map +1 -1
  24. package/dist/hooks.js +3 -2
  25. package/dist/modal.js +9 -5
  26. package/dist/modules/accounts/fragment/UserFragment.d.ts.map +1 -1
  27. package/dist/modules/accounts/hooks/useCurrentUser.d.ts.map +1 -1
  28. package/dist/modules/accounts.js +219 -63
  29. package/dist/modules/assortment.js +9 -4
  30. package/dist/modules/common/hooks/useApp.d.ts +1 -1
  31. package/dist/modules/common/hooks/useBulkResultHandler.d.ts +8 -0
  32. package/dist/modules/common/hooks/useBulkResultHandler.d.ts.map +1 -0
  33. package/dist/modules/common/hooks/useBulkSelection.d.ts +12 -0
  34. package/dist/modules/common/hooks/useBulkSelection.d.ts.map +1 -0
  35. package/dist/modules/common/hooks/useScrollRestoration.d.ts +8 -0
  36. package/dist/modules/common/hooks/useScrollRestoration.d.ts.map +1 -0
  37. package/dist/modules/common/hooks/useShopInfo.d.ts +13 -13
  38. package/dist/modules/common/hooks/useShopInfo.d.ts.map +1 -1
  39. package/dist/modules/common/utils/useFormatDateTime.d.ts +10 -1
  40. package/dist/modules/common/utils/useFormatDateTime.d.ts.map +1 -1
  41. package/dist/modules/country/hooks/useCountries.d.ts +4 -4
  42. package/dist/modules/enrollment.js +23 -2
  43. package/dist/modules/event.js +1 -1
  44. package/dist/modules/filter.js +1 -1
  45. package/dist/modules/language/hooks/useLanguages.d.ts +4 -4
  46. package/dist/modules/modal/components/DangerMessage.d.ts +2 -1
  47. package/dist/modules/modal/components/DangerMessage.d.ts.map +1 -1
  48. package/dist/modules/order/hooks/useOrders.d.ts +20 -20
  49. package/dist/modules/order/hooks/useOrders.d.ts.map +1 -1
  50. package/dist/modules/order.js +9 -3
  51. package/dist/modules/product-review.js +24 -5
  52. package/dist/modules/product.js +12 -16
  53. package/dist/modules/quotation.js +22 -2
  54. package/dist/modules/token.js +1 -1
  55. package/dist/modules/work/hooks/useWork.d.ts +14 -14
  56. package/dist/modules/work.js +17 -5
  57. package/dist/plugins.js +6 -1
  58. package/dist/providers.js +3 -3
  59. package/dist/sdk/plugins.d.ts +11 -0
  60. package/dist/sdk/plugins.d.ts.map +1 -1
  61. package/dist/sdk/shims/admin-ui-plugins.d.ts +3 -0
  62. package/dist/sdk/shims/admin-ui-plugins.d.ts.map +1 -0
  63. package/dist/sdk/shims/apollo-client-react.d.ts +3 -0
  64. package/dist/sdk/shims/apollo-client-react.d.ts.map +1 -0
  65. package/dist/sdk/shims/apollo-client.d.ts +3 -0
  66. package/dist/sdk/shims/apollo-client.d.ts.map +1 -0
  67. package/dist/sdk/shims/host.d.ts +17 -0
  68. package/dist/sdk/shims/host.d.ts.map +1 -0
  69. package/dist/sdk/shims/next-head.d.ts +3 -0
  70. package/dist/sdk/shims/next-head.d.ts.map +1 -0
  71. package/dist/sdk/shims/next-image.d.ts +3 -0
  72. package/dist/sdk/shims/next-image.d.ts.map +1 -0
  73. package/dist/sdk/shims/next-link.d.ts +3 -0
  74. package/dist/sdk/shims/next-link.d.ts.map +1 -0
  75. package/dist/sdk/shims/next-router.d.ts +3 -0
  76. package/dist/sdk/shims/next-router.d.ts.map +1 -0
  77. package/dist/sdk/shims/react-dom-client.d.ts +3 -0
  78. package/dist/sdk/shims/react-dom-client.d.ts.map +1 -0
  79. package/dist/sdk/shims/react-dom.d.ts +3 -0
  80. package/dist/sdk/shims/react-dom.d.ts.map +1 -0
  81. package/dist/sdk/shims/react-hook-form.d.ts +3 -0
  82. package/dist/sdk/shims/react-hook-form.d.ts.map +1 -0
  83. package/dist/sdk/shims/react-intl.d.ts +3 -0
  84. package/dist/sdk/shims/react-intl.d.ts.map +1 -0
  85. package/dist/sdk/shims/react-jsx-runtime.d.ts +3 -0
  86. package/dist/sdk/shims/react-jsx-runtime.d.ts.map +1 -0
  87. package/dist/sdk/shims/react-toastify.d.ts +3 -0
  88. package/dist/sdk/shims/react-toastify.d.ts.map +1 -0
  89. package/dist/sdk/shims/react.d.ts +3 -0
  90. package/dist/sdk/shims/react.d.ts.map +1 -0
  91. package/dist/shims/admin-ui-plugins.js +9 -0
  92. package/dist/shims/apollo-client-react.js +25 -0
  93. package/dist/shims/apollo-client.js +55 -0
  94. package/dist/shims/next-head.js +9 -0
  95. package/dist/shims/next-image.js +9 -0
  96. package/dist/shims/next-link.js +9 -0
  97. package/dist/shims/next-router.js +13 -0
  98. package/dist/shims/react-dom-client.js +11 -0
  99. package/dist/shims/react-dom.js +22 -0
  100. package/dist/shims/react-hook-form.js +25 -0
  101. package/dist/shims/react-intl.js +37 -0
  102. package/dist/shims/react-jsx-runtime.js +11 -0
  103. package/dist/shims/react-toastify.js +16 -0
  104. package/dist/shims/react.js +52 -0
  105. package/dist/ui.js +1261 -3443
  106. package/out/403/index.html +2 -2
  107. package/out/404/index.html +2 -2
  108. package/out/404.html +2 -2
  109. package/out/423/index.html +2 -2
  110. package/out/500/index.html +2 -2
  111. package/out/_next/static/chunks/0-2b37ubdpy0o.js +7 -0
  112. package/out/_next/static/chunks/0-cyinqk2ne8t.js +16 -0
  113. package/out/_next/static/chunks/00tf1qsuwqywe.js +17 -0
  114. package/out/_next/static/chunks/015ge5k3o3f-r.js +226 -0
  115. package/out/_next/static/chunks/0208v89kdo_s9.js +13 -0
  116. package/out/_next/static/chunks/05-ui58k9illr.js +234 -0
  117. package/out/_next/static/chunks/05au-xyt__0f2.js +3 -0
  118. package/out/_next/static/chunks/{087a2d-0e1pvn.js → 05nn5xr3ufcsh.js} +1 -1
  119. package/out/_next/static/chunks/{1m5m15javwn8p.js → 05o_q7jg8wucs.js} +1 -1
  120. package/out/_next/static/chunks/0752goe9_9g2s.js +110 -0
  121. package/out/_next/static/chunks/07o7bmqljy89r.js +1 -0
  122. package/out/_next/static/chunks/083ylavob4a8d.js +3 -0
  123. package/out/_next/static/chunks/09qx8ltnvw8f2.js +12 -0
  124. package/out/_next/static/chunks/0_puys1lwhv9m.js +16 -0
  125. package/out/_next/static/chunks/0_xtedn8e1vu_.js +13 -0
  126. package/out/_next/static/chunks/0a_bg-ub3r2eo.js +60 -0
  127. package/out/_next/static/chunks/0b33bcf7x5rgy.js +20 -0
  128. package/out/_next/static/chunks/0ckhtcvz1kyxg.js +1 -0
  129. package/out/_next/static/chunks/0dewly3vo-mcq.js +20 -0
  130. package/out/_next/static/chunks/{19y4w6_d_qiou.js → 0dnh0kr83_tj0.js} +1 -1
  131. package/out/_next/static/chunks/0dxu94yin5gdn.js +35 -0
  132. package/out/_next/static/chunks/0e2c-jlh2q_eq.js +74 -0
  133. package/out/_next/static/chunks/0fv1w56e25gt5.js +14 -0
  134. package/out/_next/static/chunks/0i9ymn9xxs0nx.js +18 -0
  135. package/out/_next/static/chunks/0ij8fs6-w0pr_.js +22 -0
  136. package/out/_next/static/chunks/0iqjlf_9c6eo_.js +59 -0
  137. package/out/_next/static/chunks/0j838r-8ied1f.js +1 -0
  138. package/out/_next/static/chunks/0jeddko6bac8h.js +1 -0
  139. package/out/_next/static/chunks/0kwf2vel2xmdi.js +13 -0
  140. package/out/_next/static/chunks/0m6jydfuy_4o3.js +1 -0
  141. package/out/_next/static/chunks/0mez27zlo26ni.js +103 -0
  142. package/out/_next/static/chunks/0n9to89fz811b.js +3 -0
  143. package/out/_next/static/chunks/0nga8f0q2d0bl.js +14 -0
  144. package/out/_next/static/chunks/0nkkcq0-s-9fo.js +1 -0
  145. package/out/_next/static/chunks/0nlirgt-x5pqr.js +337 -0
  146. package/out/_next/static/chunks/0o7k5vanq57ch.js +807 -0
  147. package/out/_next/static/chunks/0om7fxf5bczpu.js +13 -0
  148. package/out/_next/static/chunks/0ou6gsnpn0wml.js +1 -0
  149. package/out/_next/static/chunks/0p09_ncs0g7m2.js +14 -0
  150. package/out/_next/static/chunks/0pji5t2zheb2j.js +234 -0
  151. package/out/_next/static/chunks/0q6-fplpae_ie.js +21 -0
  152. package/out/_next/static/chunks/0qh0vqpui2alf.js +9 -0
  153. package/out/_next/static/chunks/0qq_lp3pk8bjf.js +27 -0
  154. package/out/_next/static/chunks/0rgdxqr_0y-g-.js +136 -0
  155. package/out/_next/static/chunks/0rqjr_lmrk4pz.js +5 -0
  156. package/out/_next/static/chunks/0sc71p-6lnm1e.js +13 -0
  157. package/out/_next/static/chunks/0tej_--_qru5h.js +126 -0
  158. package/out/_next/static/chunks/0tnyefaaxof6-.js +247 -0
  159. package/out/_next/static/chunks/{1dsjo02ozub3p.js → 0ubzi2s1spm4e.js} +4 -4
  160. package/out/_next/static/chunks/0uecw_5mn0zvr.js +110 -0
  161. package/out/_next/static/chunks/0vbqa5pd_ajm5.js +1 -0
  162. package/out/_next/static/chunks/0w7ic_22nz92w.js +58 -0
  163. package/out/_next/static/chunks/0y4eg57kgif01.js +1 -0
  164. package/out/_next/static/chunks/0ywlba3uh1t0x.js +16 -0
  165. package/out/_next/static/chunks/0zoum0jzrtu0s.js +145 -0
  166. package/out/_next/static/chunks/1184evhxs01_c.js +11 -0
  167. package/out/_next/static/chunks/11oq6l46lynfn.js +22 -0
  168. package/out/_next/static/chunks/11zynllx8mmh5.js +15 -0
  169. package/out/_next/static/chunks/13__7-sf28ub5.js +17 -0
  170. package/out/_next/static/chunks/13u_a5l2xngm4.js +1 -0
  171. package/out/_next/static/chunks/13wfvr2b0-qlj.js +30 -0
  172. package/out/_next/static/chunks/14c_mq04p7pu0.js +171 -0
  173. package/out/_next/static/chunks/151puw-sc__by.js +103 -0
  174. package/out/_next/static/chunks/15vz50rks0o2-.js +238 -0
  175. package/out/_next/static/chunks/17b4rvj5k8ye2.js +807 -0
  176. package/out/_next/static/chunks/188l-km9dyejj.js +34 -0
  177. package/out/_next/static/chunks/{252n_i72ate30.js → 18juy_eauk94g.js} +2 -2
  178. package/out/_next/static/chunks/{0k-vf2ns330qm.js → 19eflki8bmivb.js} +1 -1
  179. package/out/_next/static/chunks/19eu5d-wm2hfr.js +23 -0
  180. package/out/_next/static/chunks/19ou9pxeiwehs.js +15 -0
  181. package/out/_next/static/chunks/19pi48hqksvo9.js +9 -0
  182. package/out/_next/static/chunks/1_5ba1obzc231.js +1 -0
  183. package/out/_next/static/chunks/1_lrjs51fhhko.js +807 -0
  184. package/out/_next/static/chunks/1am9n6exll687.js +807 -0
  185. package/out/_next/static/chunks/1cfjbvjo0o9fx.js +104 -0
  186. package/out/_next/static/chunks/1cqhbfj3zp710.js +1 -0
  187. package/out/_next/static/chunks/1cy-2yb5j5_9b.js +157 -0
  188. package/out/_next/static/chunks/1dqgs827_hiod.js +16 -0
  189. package/out/_next/static/chunks/{1ji44prsmhq_a.js → 1dt9_bzfioi8a.js} +3 -3
  190. package/out/_next/static/chunks/1fg6jbuxeuj0w.js +14 -0
  191. package/out/_next/static/chunks/1fvr9k_o63j_m.js +16 -0
  192. package/out/_next/static/chunks/1h_o__x8jw8gt.js +15 -0
  193. package/out/_next/static/chunks/1imv5a-ymrj2t.js +15 -0
  194. package/out/_next/static/chunks/1k4ep4igedo8p.js +1 -0
  195. package/out/_next/static/chunks/1kn74nabrpy14.js +3 -0
  196. package/out/_next/static/chunks/{34sm1u3s14z4b.js → 1ndk3s-aeqfej.js} +1 -1
  197. package/out/_next/static/chunks/1o4hor3cwzcxc.js +15 -0
  198. package/out/_next/static/chunks/1og09fg689_nc.js +180 -0
  199. package/out/_next/static/chunks/1q_sewe1wbxsk.js +54 -0
  200. package/out/_next/static/chunks/1qwid0d89bzpw.js +17 -0
  201. package/out/_next/static/chunks/1r7dh_p70r7o8.js +13 -0
  202. package/out/_next/static/chunks/1r_e-dk-1oicl.js +2 -0
  203. package/out/_next/static/chunks/1rtv3c_klo0jk.js +1 -0
  204. package/out/_next/static/chunks/1rw6681ieb3-5.js +8 -0
  205. package/out/_next/static/chunks/1srfjl1rurrm9.js +3 -0
  206. package/out/_next/static/chunks/1t8mb2td_pm1h.js +43 -0
  207. package/out/_next/static/chunks/1v-2aqdslc2g1.js +1 -0
  208. package/out/_next/static/chunks/1w5uao_cylgd1.js +234 -0
  209. package/out/_next/static/chunks/1x-t9f0f5vr10.js +329 -0
  210. package/out/_next/static/chunks/1ylgjha1c0ua_.js +124 -0
  211. package/out/_next/static/chunks/1yp98n-n4gxwy.js +15 -0
  212. package/out/_next/static/chunks/1yy_-xc9xthfo.js +3 -0
  213. package/out/_next/static/chunks/1z1esw-t8kopy.js +1 -0
  214. package/out/_next/static/chunks/2-7e3ttj92hfr.js +17 -0
  215. package/out/_next/static/chunks/200_u2ywg-be1.js +43 -0
  216. package/out/_next/static/chunks/224ovcn90ebcs.js +25 -0
  217. package/out/_next/static/chunks/24-pobk4qjjvp.js +3 -0
  218. package/out/_next/static/chunks/2540mqfxc7ehr.js +15 -0
  219. package/out/_next/static/chunks/{1rgwj4dr0k4_b.js → 270ua9t85a7ev.js} +1 -1
  220. package/out/_next/static/chunks/27jaailh2k450.js +879 -0
  221. package/out/_next/static/chunks/2_l14rwu6kgzl.js +11 -0
  222. package/out/_next/static/chunks/2_vu2hve2j-6g.js +5 -0
  223. package/out/_next/static/chunks/2cmaw01_r48ot.js +21 -0
  224. package/out/_next/static/chunks/2d1zehr8zc3vb.js +9 -0
  225. package/out/_next/static/chunks/{2tw-iq1oliu-h.js → 2dvrbmh97duba.js} +1 -1
  226. package/out/_next/static/chunks/{34dhtdp_8idgm.js → 2dyj8q92_k5el.js} +112 -62
  227. package/out/_next/static/chunks/2e0dz59httb-e.js +43 -0
  228. package/out/_next/static/chunks/2e47h0g7w7si3.js +7 -0
  229. package/out/_next/static/chunks/2fjmw94mat8m0.js +807 -0
  230. package/out/_next/static/chunks/{0f7z8oojvqahv.js → 2fo2ki1egxbah.js} +1 -1
  231. package/out/_next/static/chunks/2httcwd92at4i.js +9 -0
  232. package/out/_next/static/chunks/2ib6fee-nqe-z.js +23 -0
  233. package/out/_next/static/chunks/2l4pfo_tsvn5w.js +11 -0
  234. package/out/_next/static/chunks/2l629mu99aqil.js +9 -0
  235. package/out/_next/static/chunks/2le8e8u2nvp0j.js +16 -0
  236. package/out/_next/static/chunks/2lx_iig9xewfj.js +52 -0
  237. package/out/_next/static/chunks/2nm_wdmfjcbyc.js +25 -0
  238. package/out/_next/static/chunks/2o9hdz0gk1-s7.js +165 -0
  239. package/out/_next/static/chunks/2ork76jhxvxke.js +138 -0
  240. package/out/_next/static/chunks/2ou2_nhvunq72.js +13 -0
  241. package/out/_next/static/chunks/2pf0d3jgcae7b.js +99 -0
  242. package/out/_next/static/chunks/2q-mpau-4gsvd.js +1 -0
  243. package/out/_next/static/chunks/2qzxq2qs80c_8.js +11 -0
  244. package/out/_next/static/chunks/2rddaar-ns45d.js +116 -0
  245. package/out/_next/static/chunks/2rve5gtfjiz-p.js +100 -0
  246. package/out/_next/static/chunks/2rywg4dn0aeez.js +1 -0
  247. package/out/_next/static/chunks/2s6u8274_jzk2.js +105 -0
  248. package/out/_next/static/chunks/2t-_fecnp5yzr.js +15 -0
  249. package/out/_next/static/chunks/2tm822rgn8g7-.js +19 -0
  250. package/out/_next/static/chunks/{1cgliwmj52a0t.js → 2u6jwsqz0uhes.js} +3 -3
  251. package/out/_next/static/chunks/2u8ns-x384r3i.js +22 -0
  252. package/out/_next/static/chunks/{08o69avnk4qvk.js → 2v4k4vpb2id7m.js} +1 -1
  253. package/out/_next/static/chunks/2v57_n8he320z.js +83 -0
  254. package/out/_next/static/chunks/2vkqez8xx-yp9.js +807 -0
  255. package/out/_next/static/chunks/2ztcyhxd9w5_m.js +1 -0
  256. package/out/_next/static/chunks/304cl99rh8rs_.js +2 -0
  257. package/out/_next/static/chunks/30_ns6urg1dkn.js +41 -0
  258. package/out/_next/static/chunks/{0gurfn3nhm859.js → 313i1x81q2xj1.js} +1 -1
  259. package/out/_next/static/chunks/325a7n__tfxy_.js +61 -0
  260. package/out/_next/static/chunks/326rk3t0gtxp_.js +14 -0
  261. package/out/_next/static/chunks/32te9ivrk54l0.js +15 -0
  262. package/out/_next/static/chunks/339y1tm7s80tn.js +22 -0
  263. package/out/_next/static/chunks/33emlry70k-lv.js +2 -0
  264. package/out/_next/static/chunks/{202a3z9hys0o7.js → 346itdsbw-5tn.js} +2 -2
  265. package/out/_next/static/chunks/351jscvbk_wb9.js +13 -0
  266. package/out/_next/static/chunks/355nca7if7l9n.js +17 -0
  267. package/out/_next/static/chunks/357odtev0t245.js +59 -0
  268. package/out/_next/static/chunks/{2oz58zpay0wub.js → 35fjd9uhctw7y.js} +1 -1
  269. package/out/_next/static/chunks/36aqs7u7s-lb1.js +119 -0
  270. package/out/_next/static/chunks/36zrtyhmqlx_n.js +807 -0
  271. package/out/_next/static/chunks/{18yg2pj3hb_in.js → 37uz0njkj43tz.js} +1 -1
  272. package/out/_next/static/chunks/38ffn8gazqz8_.js +3 -0
  273. package/out/_next/static/chunks/39-19ao-xkexy.js +2 -0
  274. package/out/_next/static/chunks/39m5tbxzzsmn4.js +807 -0
  275. package/out/_next/static/chunks/3_dqxs_vhmfqd.js +14 -0
  276. package/out/_next/static/chunks/3bgtu00fe99yc.js +1 -0
  277. package/out/_next/static/chunks/3c1rc1w-xe4u7.js +39 -0
  278. package/out/_next/static/chunks/3cdfuacs4_0d-.js +1 -0
  279. package/out/_next/static/chunks/3cp9qqljcytup.js +9 -0
  280. package/out/_next/static/chunks/3cq123yj25_36.js +1 -0
  281. package/out/_next/static/chunks/3d1ofcqmlbg-5.js +52 -0
  282. package/out/_next/static/chunks/3dopaxkoi5px6.js +1 -0
  283. package/out/_next/static/chunks/3doujqxnfq19f.js +16 -0
  284. package/out/_next/static/chunks/3grllla8v0ctl.js +14 -0
  285. package/out/_next/static/chunks/3hqec4-3one07.js +15 -0
  286. package/out/_next/static/chunks/3ic_dagw-uvrx.js +234 -0
  287. package/out/_next/static/chunks/3idwjqiel9n9v.js +18 -0
  288. package/out/_next/static/chunks/{0qjv_q4seojfh.js → 3il9u-mfrp2sn.js} +1 -1
  289. package/out/_next/static/chunks/3jtzvr48aaoo0.js +13 -0
  290. package/out/_next/static/chunks/3k5lt5_-g36w9.js +9 -0
  291. package/out/_next/static/chunks/3l-9xxd1i1sya.js +1 -0
  292. package/out/_next/static/chunks/3l1zucp3a411p.js +50 -0
  293. package/out/_next/static/chunks/3ls4kv54f3x8u.js +15 -0
  294. package/out/_next/static/chunks/3m2yam5_cs1h7.js +13 -0
  295. package/out/_next/static/chunks/3mancxzz8c7hl.js +51 -0
  296. package/out/_next/static/chunks/3nkse7h0-kbyx.js +126 -0
  297. package/out/_next/static/chunks/3o23w25lfn4mo.js +27 -0
  298. package/out/_next/static/chunks/{3m7-q-ztmzcf5.js → 3oynij37wfjb2.js} +2 -2
  299. package/out/_next/static/chunks/3oz5p4rrvnew1.js +807 -0
  300. package/out/_next/static/chunks/{434iz38padke2.js → 3pbyo5kkko3wh.js} +1 -1
  301. package/out/_next/static/chunks/3qjgt-x153i6u.js +234 -0
  302. package/out/_next/static/chunks/3s-n0xc-vi0ww.js +31 -0
  303. package/out/_next/static/chunks/3t_3vlnk1ntkb.js +95 -0
  304. package/out/_next/static/chunks/3ti7tims6gz1j.js +234 -0
  305. package/out/_next/static/chunks/3tzaludii6vtu.js +54 -0
  306. package/out/_next/static/chunks/{01q9gliprwq-_.js → 3u504487p_y7e.js} +2 -2
  307. package/out/_next/static/chunks/3ufg-in2riva7.js +1 -0
  308. package/out/_next/static/chunks/3ugwv1vrnbivg.js +1 -0
  309. package/out/_next/static/chunks/3ulbhhqw8rxd8.js +15 -0
  310. package/out/_next/static/chunks/3uytb2p7vzafp.js +15 -0
  311. package/out/_next/static/chunks/3v38tvcona4gy.js +16 -0
  312. package/out/_next/static/chunks/3vet2a9q9rf2c.js +61 -0
  313. package/out/_next/static/chunks/3vz3gqmojh7sx.js +4 -0
  314. package/out/_next/static/chunks/3w9xrlkiztuwi.js +23 -0
  315. package/out/_next/static/chunks/3wy5jhrulhwb9.js +15 -0
  316. package/out/_next/static/chunks/3xmtbqm0gddn8.js +3 -0
  317. package/out/_next/static/chunks/3yqmjvx7t3t0_.js +1 -0
  318. package/out/_next/static/chunks/3yvmkdc088aly.js +1 -0
  319. package/out/_next/static/chunks/401o5bfi_90qs.js +141 -0
  320. package/out/_next/static/chunks/40s6ngsexc737.js +15 -0
  321. package/out/_next/static/chunks/40xhwnc_48o73.js +297 -0
  322. package/out/_next/static/chunks/41e2wlkp9_pvk.js +28 -0
  323. package/out/_next/static/chunks/41g7mv3yuhz6k.js +68 -0
  324. package/out/_next/static/chunks/429ihwc6co7u7.js +32 -0
  325. package/out/_next/static/chunks/42p2hm8ca34f6.js +16 -0
  326. package/out/_next/static/chunks/43jyzccx6x0lw.js +1 -0
  327. package/out/_next/static/chunks/447b5tn4-avdv.js +16 -0
  328. package/out/_next/static/chunks/44daaafswok67.css +1 -0
  329. package/out/_next/static/chunks/turbopack-02cmv-knpzk52.js +1 -0
  330. package/out/_next/static/chunks/{turbopack-04ukk4jyuwwfc.js → turbopack-05rmr02n9n2u0.js} +1 -1
  331. package/out/_next/static/chunks/{turbopack-0cwxwz82vstff.js → turbopack-07fw0g9aver98.js} +1 -1
  332. package/out/_next/static/chunks/turbopack-08x92457_z4ve.js +1 -0
  333. package/out/_next/static/chunks/{turbopack-13v4uorj3l10n.js → turbopack-0a2sfur4bx222.js} +1 -1
  334. package/out/_next/static/chunks/{turbopack-3b2k0p0g1mako.js → turbopack-0b-g0lpiikryt.js} +1 -1
  335. package/out/_next/static/chunks/turbopack-0dj-aua684j9c.js +1 -0
  336. package/out/_next/static/chunks/{turbopack-3p-k1txa6-4ik.js → turbopack-0h5lj7lnf9_tb.js} +1 -1
  337. package/out/_next/static/chunks/{turbopack-04s7-zvvb1coi.js → turbopack-0k8oea6xmzbjh.js} +1 -1
  338. package/out/_next/static/chunks/{turbopack-14kspgbfigjpa.js → turbopack-0m1qzkhnpuk2j.js} +1 -1
  339. package/out/_next/static/chunks/{turbopack-41cj0-dssfw9l.js → turbopack-0n73ad0fad4yl.js} +1 -1
  340. package/out/_next/static/chunks/{turbopack-2k2d3c2qq-0z0.js → turbopack-0qxkaq0f9ka24.js} +1 -1
  341. package/out/_next/static/chunks/{turbopack-34749rlp0_n5c.js → turbopack-0ricnx7znhztj.js} +1 -1
  342. package/out/_next/static/chunks/turbopack-0s-h1cgwrfgo-.js +1 -0
  343. package/out/_next/static/chunks/turbopack-0xgswwqf_4vrt.js +1 -0
  344. package/out/_next/static/chunks/{turbopack-1sllc7f9its9a.js → turbopack-1330tdm8r390q.js} +1 -1
  345. package/out/_next/static/chunks/{turbopack-0qa163y1bx_g6.js → turbopack-14rn07-ki7f_7.js} +1 -1
  346. package/out/_next/static/chunks/turbopack-1azvbmrq_bxq7.js +1 -0
  347. package/out/_next/static/chunks/turbopack-1bjaxey2pj8nn.js +1 -0
  348. package/out/_next/static/chunks/turbopack-1csu0s9cycwgo.js +1 -0
  349. package/out/_next/static/chunks/{turbopack-0w2ztfttfubzl.js → turbopack-1g8mmayckmfib.js} +1 -1
  350. package/out/_next/static/chunks/turbopack-1hty_7i5tzg63.js +1 -0
  351. package/out/_next/static/chunks/turbopack-1p11xfz8qe15i.js +1 -0
  352. package/out/_next/static/chunks/turbopack-1r_uprn020kr7.js +1 -0
  353. package/out/_next/static/chunks/{turbopack-29n-soxzu37jf.js → turbopack-1rdxfvyldfwrq.js} +1 -1
  354. package/out/_next/static/chunks/{turbopack-40xcd2mr6qovi.js → turbopack-1td004byboyz2.js} +1 -1
  355. package/out/_next/static/chunks/turbopack-1y3x6n223v6d1.js +1 -0
  356. package/out/_next/static/chunks/turbopack-2068cl63o32re.js +1 -0
  357. package/out/_next/static/chunks/turbopack-298vdad77pw5z.js +1 -0
  358. package/out/_next/static/chunks/{turbopack-1wqjl3y4c1ij-.js → turbopack-2d5v28yt0xnri.js} +1 -1
  359. package/out/_next/static/chunks/{turbopack-3jw01psrsjqdi.js → turbopack-2dicmowo2x4t1.js} +1 -1
  360. package/out/_next/static/chunks/turbopack-2gehqsln39zg1.js +1 -0
  361. package/out/_next/static/chunks/turbopack-2hj-ffuco6-u7.js +1 -0
  362. package/out/_next/static/chunks/turbopack-2it1jk212m2ud.js +1 -0
  363. package/out/_next/static/chunks/{turbopack-0sv7lr_kx3kdq.js → turbopack-2l-gbnaw39ht4.js} +1 -1
  364. package/out/_next/static/chunks/turbopack-2mbsjg411_ndq.js +1 -0
  365. package/out/_next/static/chunks/turbopack-2n2ksqygaakbh.js +1 -0
  366. package/out/_next/static/chunks/turbopack-2q65pei-ck559.js +1 -0
  367. package/out/_next/static/chunks/turbopack-2sqnlbl-ardf7.js +1 -0
  368. package/out/_next/static/chunks/turbopack-2t6ex34_bkvoe.js +1 -0
  369. package/out/_next/static/chunks/{turbopack-1au-y5u3wzv22.js → turbopack-2w9_vscbr0eag.js} +1 -1
  370. package/out/_next/static/chunks/turbopack-2z2joyd6mdhpo.js +1 -0
  371. package/out/_next/static/chunks/turbopack-338xrj-0fpsqu.js +1 -0
  372. package/out/_next/static/chunks/turbopack-3458e7jmj1e27.js +1 -0
  373. package/out/_next/static/chunks/turbopack-351l-va10h8kw.js +1 -0
  374. package/out/_next/static/chunks/turbopack-35awx_qvevnch.js +1 -0
  375. package/out/_next/static/chunks/{turbopack-1noe2ur-_o71n.js → turbopack-3a196kafnj312.js} +1 -1
  376. package/out/_next/static/chunks/turbopack-3a6igydfvv1_v.js +1 -0
  377. package/out/_next/static/chunks/{turbopack-1-ceqxb_000x-.js → turbopack-3bnkwdcrz_ts-.js} +1 -1
  378. package/out/_next/static/chunks/{turbopack-32kxihayw_v97.js → turbopack-3hsu2nw8qlox4.js} +1 -1
  379. package/out/_next/static/chunks/turbopack-3iiyu2cek78ut.js +1 -0
  380. package/out/_next/static/chunks/turbopack-3nta8sa99guti.js +1 -0
  381. package/out/_next/static/chunks/turbopack-3r17oio1oe7jw.js +1 -0
  382. package/out/_next/static/chunks/turbopack-3r9uyzwi0dtwb.js +1 -0
  383. package/out/_next/static/chunks/turbopack-3rgdcfralfvsa.js +1 -0
  384. package/out/_next/static/chunks/{turbopack-1h9u07n6a83dl.js → turbopack-3tntqotcyx6oq.js} +1 -1
  385. package/out/_next/static/chunks/turbopack-3uc-2ah0uehj3.js +1 -0
  386. package/out/_next/static/chunks/turbopack-3uvfl95p1ubqn.js +1 -0
  387. package/out/_next/static/chunks/turbopack-3vncwrj5x9j44.js +1 -0
  388. package/out/_next/static/chunks/turbopack-3ww1zabqxbxit.js +1 -0
  389. package/out/_next/static/chunks/{turbopack-17gr4a9fxe8he.js → turbopack-3wxlut7e7jmsi.js} +1 -1
  390. package/out/_next/static/chunks/turbopack-3yk72bgipb8hc.js +1 -0
  391. package/out/_next/static/chunks/turbopack-4025_4zwqnrk-.js +1 -0
  392. package/out/_next/static/chunks/{turbopack-298r66lt68r_n.js → turbopack-425nfopoa8wxd.js} +1 -1
  393. package/out/_next/static/{VYWUvBJY94uiS3jm4HOFN → hH8h6SzcZWEUFySYqRPbW}/_buildManifest.js +63 -63
  394. package/out/_offline/index.html +2 -2
  395. package/out/account/forgot-password/index.html +2 -2
  396. package/out/account/index.html +2 -2
  397. package/out/assortments/AssortmentDetailPage/index.html +2 -2
  398. package/out/assortments/index.html +2 -2
  399. package/out/assortments/new/index.html +2 -2
  400. package/out/copilot/index.html +2 -2
  401. package/out/country/CountryDetailPage/index.html +2 -2
  402. package/out/country/index.html +2 -2
  403. package/out/country/new/index.html +2 -2
  404. package/out/currency/CurrencyDetailPage/index.html +2 -2
  405. package/out/currency/index.html +2 -2
  406. package/out/currency/new/index.html +2 -2
  407. package/out/delivery-provider/DeliveryProviderDetailPage/index.html +2 -2
  408. package/out/delivery-provider/index.html +2 -2
  409. package/out/delivery-provider/new/index.html +2 -2
  410. package/out/enrollments/EnrollmentDetailPage/index.html +2 -2
  411. package/out/enrollments/index.html +2 -2
  412. package/out/events/EventDetailPage/index.html +2 -2
  413. package/out/events/index.html +2 -2
  414. package/out/exports/index.html +2 -2
  415. package/out/ext/[[...slug]]/index.html +2 -2
  416. package/out/external/index.html +2 -2
  417. package/out/filters/FilterDetailPage/index.html +2 -2
  418. package/out/filters/index.html +2 -2
  419. package/out/filters/new/index.html +2 -2
  420. package/out/index.html +2 -2
  421. package/out/install/index.html +2 -2
  422. package/out/language/LanguageDetailPage/index.html +2 -2
  423. package/out/language/index.html +2 -2
  424. package/out/language/new/index.html +2 -2
  425. package/out/log-in/index.html +2 -2
  426. package/out/orders/OrderDetailPage/index.html +2 -2
  427. package/out/orders/index.html +2 -2
  428. package/out/payment-provider/PaymentProviderDetailPage/index.html +2 -2
  429. package/out/payment-provider/index.html +2 -2
  430. package/out/payment-provider/new/index.html +2 -2
  431. package/out/products/ProductDetailPage/index.html +2 -2
  432. package/out/products/index.html +2 -2
  433. package/out/products/new/index.html +2 -2
  434. package/out/quotations/QuotationDetailPage/index.html +2 -2
  435. package/out/quotations/index.html +2 -2
  436. package/out/reset-password/index.html +2 -2
  437. package/out/sign-up/index.html +2 -2
  438. package/out/styleguide/index.html +2 -2
  439. package/out/tokens/TokenDetailPage/index.html +2 -2
  440. package/out/tokens/index.html +2 -2
  441. package/out/users/UserDetailPage/index.html +2 -2
  442. package/out/users/index.html +2 -2
  443. package/out/users/new/index.html +2 -2
  444. package/out/verify-email/index.html +2 -2
  445. package/out/warehousing-provider/WarehousingProviderDetailPage/index.html +2 -2
  446. package/out/warehousing-provider/index.html +2 -2
  447. package/out/warehousing-provider/new/index.html +2 -2
  448. package/out/works/WorkDetailPage/index.html +2 -2
  449. package/out/works/WorkQueueListView/index.html +2 -2
  450. package/out/works/index.html +2 -2
  451. package/out/works/management/index.html +2 -2
  452. package/package.json +18 -13
  453. package/src/sdk/README.md +195 -0
  454. package/src/sdk/plugin-build.mjs +81 -98
  455. package/src/sdk/plugin-build.test.mjs +6 -3
  456. package/src/sdk/plugin-runtime.cjs +66 -0
  457. package/src/sdk/plugin-runtime.d.mts +11 -0
  458. package/src/sdk/plugin-runtime.mjs +27 -0
  459. package/src/sdk/plugin-runtime.test.mjs +32 -0
  460. package/src/sdk/plugins.mjs +17 -0
  461. package/src/sdk/plugins.ts +17 -0
  462. package/src/sdk/shims/admin-ui-plugins.ts +3 -0
  463. package/src/sdk/shims/apollo-client-react.ts +3 -0
  464. package/src/sdk/shims/apollo-client.ts +3 -0
  465. package/src/sdk/shims/host.ts +61 -0
  466. package/src/sdk/shims/next-head.ts +3 -0
  467. package/src/sdk/shims/next-image.ts +3 -0
  468. package/src/sdk/shims/next-link.ts +3 -0
  469. package/src/sdk/shims/next-router.ts +3 -0
  470. package/src/sdk/shims/react-dom-client.ts +3 -0
  471. package/src/sdk/shims/react-dom.ts +3 -0
  472. package/src/sdk/shims/react-hook-form.ts +3 -0
  473. package/src/sdk/shims/react-intl.ts +3 -0
  474. package/src/sdk/shims/react-jsx-runtime.ts +3 -0
  475. package/src/sdk/shims/react-toastify.ts +3 -0
  476. package/src/sdk/shims/react.ts +3 -0
  477. package/out/_next/static/chunks/00zpb_zgq36h-.js +0 -14
  478. package/out/_next/static/chunks/02aa23atze2y4.js +0 -119
  479. package/out/_next/static/chunks/02u93m0n7n-q-.js +0 -12
  480. package/out/_next/static/chunks/03n4up296yhei.js +0 -138
  481. package/out/_next/static/chunks/03zrzz0sb-gy8.js +0 -14
  482. package/out/_next/static/chunks/044dmimivt13x.js +0 -233
  483. package/out/_next/static/chunks/07pwkvl-lm4vp.js +0 -24
  484. package/out/_next/static/chunks/08vf2wf3mxta3.js +0 -13
  485. package/out/_next/static/chunks/094s-grteo6tb.js +0 -31
  486. package/out/_next/static/chunks/0_wt7zjqgpl76.js +0 -807
  487. package/out/_next/static/chunks/0a81cjauoijka.js +0 -1
  488. package/out/_next/static/chunks/0ab_-095b34n5.js +0 -90
  489. package/out/_next/static/chunks/0ac9c5ecooaav.js +0 -234
  490. package/out/_next/static/chunks/0b--0624xswmi.js +0 -16
  491. package/out/_next/static/chunks/0b3hl4d_27v6q.js +0 -173
  492. package/out/_next/static/chunks/0braigkg4hdry.js +0 -39
  493. package/out/_next/static/chunks/0cdcsn87u-tzw.js +0 -1
  494. package/out/_next/static/chunks/0d9cf7svcpjcu.js +0 -1
  495. package/out/_next/static/chunks/0eooy6dat270h.js +0 -226
  496. package/out/_next/static/chunks/0ety-u93s5lsq.js +0 -188
  497. package/out/_next/static/chunks/0fb5j_lva6f8h.js +0 -19
  498. package/out/_next/static/chunks/0hm6-xlqw4vmr.js +0 -1
  499. package/out/_next/static/chunks/0im5k2e2u2uz_.js +0 -8
  500. package/out/_next/static/chunks/0iv288bepx0ug.js +0 -29
  501. package/out/_next/static/chunks/0ld2eenwz_blg.js +0 -52
  502. package/out/_next/static/chunks/0m9y8-nk64c1e.js +0 -12
  503. package/out/_next/static/chunks/0nz8nqr7k7pni.js +0 -61
  504. package/out/_next/static/chunks/0pyfoz6288y0f.js +0 -1
  505. package/out/_next/static/chunks/0qfjbvj6nn9zr.js +0 -18
  506. package/out/_next/static/chunks/0r0l1vs8bls6y.js +0 -1
  507. package/out/_next/static/chunks/0r2v5se5riad_.js +0 -227
  508. package/out/_next/static/chunks/0rdl1jrsef2ew.js +0 -3
  509. package/out/_next/static/chunks/0sutuaadm9sa2.js +0 -11
  510. package/out/_next/static/chunks/0tmo-o_wjgk4-.js +0 -8
  511. package/out/_next/static/chunks/0u-md-qpvyccn.js +0 -149
  512. package/out/_next/static/chunks/0u881hesm8z4s.js +0 -14
  513. package/out/_next/static/chunks/0u_efcr52k9v1.js +0 -15
  514. package/out/_next/static/chunks/0ukobsq85_to1.js +0 -135
  515. package/out/_next/static/chunks/0vxvcl2s96x4f.js +0 -24
  516. package/out/_next/static/chunks/0vyfm3usoot1p.js +0 -60
  517. package/out/_next/static/chunks/0wr0r7tr1jbcz.js +0 -10
  518. package/out/_next/static/chunks/0x_i69reqib8u.js +0 -3
  519. package/out/_next/static/chunks/0xxl7fb2bi8_8.js +0 -82
  520. package/out/_next/static/chunks/0z7jldn83dst6.js +0 -13
  521. package/out/_next/static/chunks/1-4f-vlpf5end.js +0 -43
  522. package/out/_next/static/chunks/1293ysgb8y4y3.js +0 -12
  523. package/out/_next/static/chunks/129pi8m3j6761.js +0 -1
  524. package/out/_next/static/chunks/12lbg_ctrshrg.js +0 -1
  525. package/out/_next/static/chunks/13f9ypdy9t6l8.js +0 -15
  526. package/out/_next/static/chunks/13g90lbjehcp1.js +0 -12
  527. package/out/_next/static/chunks/1413uu5ol2rfr.js +0 -166
  528. package/out/_next/static/chunks/15-duc2e3btcy.js +0 -1
  529. package/out/_next/static/chunks/155jjdhtr4dhn.js +0 -30
  530. package/out/_next/static/chunks/1679i7xv8jnle.js +0 -117
  531. package/out/_next/static/chunks/16a-8jlyrl0m8.js +0 -12
  532. package/out/_next/static/chunks/16bdu48a5vry_.js +0 -13
  533. package/out/_next/static/chunks/16r_t7quts1w0.js +0 -289
  534. package/out/_next/static/chunks/189epg0ebf7bc.js +0 -13
  535. package/out/_next/static/chunks/18ujb5-7bg1p4.js +0 -1
  536. package/out/_next/static/chunks/19fzi9f2kw8zv.js +0 -233
  537. package/out/_next/static/chunks/1_ov-8bomgh6c.js +0 -54
  538. package/out/_next/static/chunks/1axp79-x4n7i4.js +0 -242
  539. package/out/_next/static/chunks/1bga5_ny7avyr.js +0 -23
  540. package/out/_next/static/chunks/1bgsls3okrjue.js +0 -1
  541. package/out/_next/static/chunks/1cliieayy_gw1.js +0 -13
  542. package/out/_next/static/chunks/1cvyi5qu_s_d7.js +0 -10
  543. package/out/_next/static/chunks/1dcw-b0uqh6b0.js +0 -1
  544. package/out/_next/static/chunks/1drrou5kp4qdz.js +0 -1
  545. package/out/_next/static/chunks/1e4ue1_7qn6kz.js +0 -14
  546. package/out/_next/static/chunks/1emope9zm_-ch.js +0 -14
  547. package/out/_next/static/chunks/1f7ar56dj5j8s.js +0 -21
  548. package/out/_next/static/chunks/1fk9whsy-495f.js +0 -1
  549. package/out/_next/static/chunks/1fp7uihlvzcij.js +0 -13
  550. package/out/_next/static/chunks/1g0syfr6r0rj8.js +0 -111
  551. package/out/_next/static/chunks/1g5l7e7du4p25.js +0 -1
  552. package/out/_next/static/chunks/1h03py7retxw8.js +0 -13
  553. package/out/_next/static/chunks/1i6-vxhyp4fan.js +0 -73
  554. package/out/_next/static/chunks/1ihjqvn68cj5e.js +0 -36
  555. package/out/_next/static/chunks/1ij-bgloqrwlw.js +0 -809
  556. package/out/_next/static/chunks/1l1_ntden2a5-.js +0 -58
  557. package/out/_next/static/chunks/1m0x2mb91rv2i.js +0 -13
  558. package/out/_next/static/chunks/1mw35msx036qx.js +0 -66
  559. package/out/_next/static/chunks/1ou8q3ltdifd1.js +0 -34
  560. package/out/_next/static/chunks/1prx7jjoz9cq8.js +0 -3
  561. package/out/_next/static/chunks/1q1js93yqv2ym.js +0 -14
  562. package/out/_next/static/chunks/1qkgln72hya5g.js +0 -1
  563. package/out/_next/static/chunks/1qn6du1pk46f0.js +0 -14
  564. package/out/_next/static/chunks/1r_q8-_cl6_b-.js +0 -23
  565. package/out/_next/static/chunks/1rirgtcu6_bpa.js +0 -17
  566. package/out/_next/static/chunks/1rpgl9uhsj7jq.js +0 -28
  567. package/out/_next/static/chunks/1tzo3v9d5ccon.js +0 -15
  568. package/out/_next/static/chunks/1uculcrefh01f.js +0 -16
  569. package/out/_next/static/chunks/1uinfdu-lhddb.js +0 -1
  570. package/out/_next/static/chunks/1uiqmuia9hpwc.js +0 -32
  571. package/out/_next/static/chunks/1ukg1j06gk9j7.js +0 -233
  572. package/out/_next/static/chunks/1v2r-dm5xnwxd.js +0 -95
  573. package/out/_next/static/chunks/1x8c4f-tlz8oq.js +0 -54
  574. package/out/_next/static/chunks/1xic7x33en-_t.js +0 -46
  575. package/out/_next/static/chunks/1y-vwb0-v5xv0.js +0 -304
  576. package/out/_next/static/chunks/1ymswtxkxcnfi.js +0 -11
  577. package/out/_next/static/chunks/1yrby6v2msnio.js +0 -13
  578. package/out/_next/static/chunks/1yx8v1-jzs__q.js +0 -234
  579. package/out/_next/static/chunks/1yxsj_p-0xiav.js +0 -14
  580. package/out/_next/static/chunks/2-1ihmwxm5nd8.js +0 -13
  581. package/out/_next/static/chunks/2-hsn5zne_kbo.js +0 -18
  582. package/out/_next/static/chunks/20ndjd4r5l6vk.js +0 -1
  583. package/out/_next/static/chunks/22l-2aehes9lx.js +0 -153
  584. package/out/_next/static/chunks/23ju3v8ue0m8a.js +0 -8
  585. package/out/_next/static/chunks/23lmor9w4r767.js +0 -1
  586. package/out/_next/static/chunks/24p5ic154k1id.js +0 -50
  587. package/out/_next/static/chunks/250qu8q7duhe7.js +0 -1
  588. package/out/_next/static/chunks/25asi1rq6d8hb.js +0 -7
  589. package/out/_next/static/chunks/263u-_eyq54xn.js +0 -155
  590. package/out/_next/static/chunks/26ca8aneaqvre.js +0 -2
  591. package/out/_next/static/chunks/27_5des_qn7kz.js +0 -1
  592. package/out/_next/static/chunks/27ek8w2c2mk46.js +0 -15
  593. package/out/_next/static/chunks/28d90lqq_6ddl.js +0 -135
  594. package/out/_next/static/chunks/29yitf66u5w9d.js +0 -1
  595. package/out/_next/static/chunks/2_3qu55ddb4jo.js +0 -3
  596. package/out/_next/static/chunks/2b8nhs_3rpawc.js +0 -1
  597. package/out/_next/static/chunks/2bby8chs2h2zt.js +0 -190
  598. package/out/_next/static/chunks/2ch1ir5bauqm-.js +0 -41
  599. package/out/_next/static/chunks/2cwzq52lgg7tg.js +0 -147
  600. package/out/_next/static/chunks/2dbrybnhe5thu.css +0 -1
  601. package/out/_next/static/chunks/2dddh3jepg6r9.js +0 -22
  602. package/out/_next/static/chunks/2epfbio36cp2x.js +0 -13
  603. package/out/_next/static/chunks/2ev7bgw2foqui.js +0 -12
  604. package/out/_next/static/chunks/2f0e2t3pz-rua.js +0 -1
  605. package/out/_next/static/chunks/2ibnigbqfhrjb.js +0 -8
  606. package/out/_next/static/chunks/2iuu4shi025hv.js +0 -10
  607. package/out/_next/static/chunks/2n3x1m3a_ria_.js +0 -1
  608. package/out/_next/static/chunks/2ngg-2uli_wsk.js +0 -17
  609. package/out/_next/static/chunks/2nofj6ud99639.js +0 -2
  610. package/out/_next/static/chunks/2onfts3kpe9d8.js +0 -1
  611. package/out/_next/static/chunks/2rdh3y4-gf0r1.js +0 -7
  612. package/out/_next/static/chunks/2ry72x6et3uyk.js +0 -235
  613. package/out/_next/static/chunks/2t2zzfasof1ej.js +0 -18
  614. package/out/_next/static/chunks/2twd9trj9horc.js +0 -61
  615. package/out/_next/static/chunks/2uln0xj_hk2xv.js +0 -22
  616. package/out/_next/static/chunks/2x0c4v5dipld3.js +0 -13
  617. package/out/_next/static/chunks/2xhllcys1_u52.js +0 -14
  618. package/out/_next/static/chunks/3-n5bzlk225-y.js +0 -1
  619. package/out/_next/static/chunks/3154519pby2gj.js +0 -5
  620. package/out/_next/static/chunks/327jk4epgudqh.js +0 -110
  621. package/out/_next/static/chunks/334lcmrt6lgtz.js +0 -14
  622. package/out/_next/static/chunks/33bnjdrokmipf.js +0 -12
  623. package/out/_next/static/chunks/33g91_yljnpiw.js +0 -807
  624. package/out/_next/static/chunks/33getgbb1rmpa.js +0 -43
  625. package/out/_next/static/chunks/342etvf_c28cb.js +0 -39
  626. package/out/_next/static/chunks/34kqgu8bnykwx.js +0 -315
  627. package/out/_next/static/chunks/34zya3wqxvl8k.js +0 -19
  628. package/out/_next/static/chunks/35k7e1g1muu56.js +0 -5
  629. package/out/_next/static/chunks/399t21noeueqk.js +0 -13
  630. package/out/_next/static/chunks/39ze4mwy903wm.js +0 -13
  631. package/out/_next/static/chunks/3_8h-x8lcmhr7.js +0 -339
  632. package/out/_next/static/chunks/3_j5zrbyysq1g.js +0 -31
  633. package/out/_next/static/chunks/3a8a8fpl7-ndf.js +0 -1
  634. package/out/_next/static/chunks/3a9g7ouf888jt.js +0 -1
  635. package/out/_next/static/chunks/3anxg7pk9-h3t.js +0 -50
  636. package/out/_next/static/chunks/3blzs4z5wryub.js +0 -1
  637. package/out/_next/static/chunks/3cfkqo3t0m0es.js +0 -3
  638. package/out/_next/static/chunks/3coz1fo064u6a.js +0 -12
  639. package/out/_next/static/chunks/3cr1as0q659er.js +0 -1
  640. package/out/_next/static/chunks/3crdcex_nrx3o.js +0 -12
  641. package/out/_next/static/chunks/3crkl2ligc-kt.js +0 -14
  642. package/out/_next/static/chunks/3d0ic2ovyeue7.js +0 -2
  643. package/out/_next/static/chunks/3ddaet08eakmw.js +0 -18
  644. package/out/_next/static/chunks/3dh3x6thy7fef.js +0 -1
  645. package/out/_next/static/chunks/3e75y5wr7_vem.js +0 -327
  646. package/out/_next/static/chunks/3e98ykfx_vamf.js +0 -60
  647. package/out/_next/static/chunks/3eq-uts_yz1e5.js +0 -1
  648. package/out/_next/static/chunks/3ghzaufs2n8uq.js +0 -2
  649. package/out/_next/static/chunks/3ie60090urams.js +0 -16
  650. package/out/_next/static/chunks/3jffivfbeet7f.js +0 -15
  651. package/out/_next/static/chunks/3mskn3uvx6s77.js +0 -142
  652. package/out/_next/static/chunks/3oppyz2wurlv-.js +0 -329
  653. package/out/_next/static/chunks/3p-pioxz8jyip.js +0 -15
  654. package/out/_next/static/chunks/3po1wffu1pc3k.js +0 -12
  655. package/out/_next/static/chunks/3rvxjwpm2hkzt.js +0 -13
  656. package/out/_next/static/chunks/3snnfwi0hsfwy.js +0 -31
  657. package/out/_next/static/chunks/3so-jsqyai73m.js +0 -1
  658. package/out/_next/static/chunks/3voheu4m42ctw.js +0 -14
  659. package/out/_next/static/chunks/3x3oqxb68-ull.js +0 -7
  660. package/out/_next/static/chunks/3ysj3lx_q697-.js +0 -124
  661. package/out/_next/static/chunks/3zncjth-kop8p.js +0 -1
  662. package/out/_next/static/chunks/3zp4iedgev460.js +0 -35
  663. package/out/_next/static/chunks/40jzqlki-ix7b.js +0 -17
  664. package/out/_next/static/chunks/4138xi7jgdv_o.js +0 -107
  665. package/out/_next/static/chunks/413d2n3_vvshb.js +0 -14
  666. package/out/_next/static/chunks/41mslgyvxwsej.js +0 -1
  667. package/out/_next/static/chunks/44kw4hk598ruu.js +0 -1
  668. package/out/_next/static/chunks/44um3bi95nxcy.js +0 -1
  669. package/out/_next/static/chunks/44xj9eghssy4h.js +0 -1
  670. package/out/_next/static/chunks/turbopack-00bqo3amk802l.js +0 -1
  671. package/out/_next/static/chunks/turbopack-00xv5x2980kaw.js +0 -1
  672. package/out/_next/static/chunks/turbopack-07riv31885zxj.js +0 -1
  673. package/out/_next/static/chunks/turbopack-0_sc_n1p1bcp9.js +0 -1
  674. package/out/_next/static/chunks/turbopack-0a3d8s54evtiu.js +0 -1
  675. package/out/_next/static/chunks/turbopack-0eg08vs3s4808.js +0 -1
  676. package/out/_next/static/chunks/turbopack-0j5aiynif9rh6.js +0 -1
  677. package/out/_next/static/chunks/turbopack-0utbjxefp9fml.js +0 -1
  678. package/out/_next/static/chunks/turbopack-12eu9ngd0g762.js +0 -1
  679. package/out/_next/static/chunks/turbopack-169mif_3j2xs7.js +0 -1
  680. package/out/_next/static/chunks/turbopack-16y9ecuw-sg_1.js +0 -1
  681. package/out/_next/static/chunks/turbopack-19agtluuz9hs9.js +0 -1
  682. package/out/_next/static/chunks/turbopack-1qm1ao7m24ujy.js +0 -1
  683. package/out/_next/static/chunks/turbopack-1tefm98ftz444.js +0 -1
  684. package/out/_next/static/chunks/turbopack-1yd96mx8ypi2r.js +0 -1
  685. package/out/_next/static/chunks/turbopack-1yr-b62bnm8pn.js +0 -1
  686. package/out/_next/static/chunks/turbopack-20jztdd3emk_4.js +0 -1
  687. package/out/_next/static/chunks/turbopack-24wh5-0ze4f20.js +0 -1
  688. package/out/_next/static/chunks/turbopack-27e97jv6b-s-_.js +0 -1
  689. package/out/_next/static/chunks/turbopack-2_-s3bsa7fy5n.js +0 -1
  690. package/out/_next/static/chunks/turbopack-2agmtzzi93gcu.js +0 -1
  691. package/out/_next/static/chunks/turbopack-2krkwbmqyusjo.js +0 -1
  692. package/out/_next/static/chunks/turbopack-2ktr6ad7w59-u.js +0 -1
  693. package/out/_next/static/chunks/turbopack-2o3ztc3qxaqmv.js +0 -1
  694. package/out/_next/static/chunks/turbopack-2ocojyxy_6ohm.js +0 -1
  695. package/out/_next/static/chunks/turbopack-2p09rgir8a_rr.js +0 -1
  696. package/out/_next/static/chunks/turbopack-2s314huts4-ih.js +0 -1
  697. package/out/_next/static/chunks/turbopack-2uy0-z_9q9r-t.js +0 -1
  698. package/out/_next/static/chunks/turbopack-2xkr4g1kb-c30.js +0 -1
  699. package/out/_next/static/chunks/turbopack-38uc2-slitwye.js +0 -1
  700. package/out/_next/static/chunks/turbopack-3_vxq7t7y83kn.js +0 -1
  701. package/out/_next/static/chunks/turbopack-3b4ho7bon8y1n.js +0 -1
  702. package/out/_next/static/chunks/turbopack-3j07f1odh4keh.js +0 -1
  703. package/out/_next/static/chunks/turbopack-3ldzloccscyev.js +0 -1
  704. package/out/_next/static/chunks/turbopack-3o2wlpvy73vfc.js +0 -1
  705. package/out/_next/static/chunks/turbopack-3u8iq4uiukeh-.js +0 -1
  706. package/out/_next/static/chunks/turbopack-3ywen4wf3l3h-.js +0 -1
  707. package/out/_next/static/chunks/turbopack-3zajpzv2knbum.js +0 -1
  708. package/out/_next/static/chunks/turbopack-42c24-sypz5zz.js +0 -1
  709. /package/dist/{chunk-BYXBJQAS.js → chunk-QWQ3WJJN.js} +0 -0
  710. /package/out/_next/static/{VYWUvBJY94uiS3jm4HOFN → hH8h6SzcZWEUFySYqRPbW}/_clientMiddlewareManifest.js +0 -0
  711. /package/out/_next/static/{VYWUvBJY94uiS3jm4HOFN → hH8h6SzcZWEUFySYqRPbW}/_ssgManifest.js +0 -0
@@ -0,0 +1 @@
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,42469,e=>{"use strict";var r=e.i(91398),t=e.i(56206),o=e.i(60193);e.s(["default",0,({text:e,className:n="",dotted:a=null,color:i="green",square:l=null,onClick:s=null})=>{let d=i?.trim(),b="rainbow"===d;return(0,r.jsx)("span",{id:"badge",className:(0,t.default)(b?"inline-flex items-center text-sm font-bold text-text-primary shadow-lg relative p-[2px] bg-gradient-to-r from-rose-500 via-emerald-500 to-sky-500":`inline-flex items-center border ${(0,o.borderColor)(d,400)} px-2.5 py-0.5 text-sm font-medium ${(0,o.bgColor)(d,100)} ${(0,o.textColor)(d,800)}`,n,{"rounded-full":!l,"rounded-md":l}),children:b?(0,r.jsxs)("span",{className:(0,t.default)("inline-flex items-center bg-white dark:bg-slate-700 px-2.5 py-0.5",{"rounded-full":!l,"rounded-md":l}),children:[a&&(0,r.jsx)("svg",{className:"text-text-primary -ml-1 mr-1.5 h-2 w-2",fill:"currentColor",viewBox:"0 0 8 8",children:(0,r.jsx)("circle",{cx:"4",cy:"4",r:"3"})}),e,s&&(0,r.jsx)("button",{id:"badge-x-button",type:"button",onClick:s,className:"ml-0.5 inline-flex h-4 w-4 shrink-0 items-center justify-center rounded-full text-text-primary hover:bg-slate-900 hover:bg-opacity-10 dark:hover:bg-white dark:hover:bg-opacity-20 focus:outline-hidden focus:bg-slate-900 focus:bg-opacity-20 dark:focus:bg-white dark:focus:bg-opacity-30",children:(0,r.jsx)("svg",{className:"h-2 w-2",stroke:"currentColor",fill:"none",viewBox:"0 0 8 8",children:(0,r.jsx)("path",{strokeLinecap:"round",strokeWidth:"1.5",d:"M1 1l6 6m0-6L1 7"})})})]}):(0,r.jsxs)(r.Fragment,{children:[a&&(0,r.jsx)("svg",{className:`-ml-1 mr-1.5 h-2 w-2 ${(0,o.textColor)(d,400)}`,fill:"currentColor",viewBox:"0 0 8 8",children:(0,r.jsx)("circle",{cx:"4",cy:"4",r:"3"})}),e,s&&(0,r.jsx)("button",{id:"badge-x-button",type:"button",onClick:s,className:`ml-0.5 inline-flex h-4 w-4 shrink-0 items-center justify-center rounded-full ${(0,o.textColor)(d,400)} hover:${(0,o.bgColor)(d,200)} hover:text-${d}-500 focus:outline-hidden focus:${(0,o.bgColor)(d,500)} focus:text-white`,children:(0,r.jsx)("svg",{className:"h-2 w-2",stroke:"currentColor",fill:"none",viewBox:"0 0 8 8",children:(0,r.jsx)("path",{strokeLinecap:"round",strokeWidth:"1.5",d:"M1 1l6 6m0-6L1 7"})})})]})})}])},70693,12970,e=>{"use strict";var r=e.i(91788);let t=r.default.createContext({customProperties:{},hydrateFragment:(e,r)=>null});e.s(["default",0,t],12970),e.s(["default",0,()=>(0,r.useContext)(t)],70693)},60193,e=>{"use strict";let r={red:{bg:{50:"bg-rose-50 dark:bg-rose-900/20",100:"bg-rose-100 dark:bg-rose-900/30",200:"bg-rose-200",300:"bg-rose-300 dark:bg-rose-900/30",400:"bg-rose-400",500:"bg-rose-500",600:"bg-rose-600",700:"bg-rose-700",800:"bg-rose-800",900:"bg-rose-900"},text:{50:"text-rose-50",100:"text-rose-100",200:"text-rose-200",300:"text-rose-300",400:"text-rose-400 dark:text-rose-300",500:"text-rose-500",600:"text-danger",700:"text-rose-700 dark:text-rose-300",800:"text-rose-800 dark:text-rose-200",900:"text-rose-900"},border:{50:"border-rose-50",100:"border-rose-100",200:"border-rose-200 dark:border-rose-800",300:"border-rose-300 dark:border-rose-700",400:"border-rose-400 dark:border-rose-600",500:"border-rose-500",600:"border-rose-600",700:"border-rose-700",800:"border-rose-800",900:"border-rose-900"}},pink:{bg:{50:"bg-pink-50",100:"bg-pink-100",200:"bg-pink-200",300:"bg-pink-300",400:"bg-pink-400",500:"bg-pink-500",600:"bg-pink-600",700:"bg-pink-700",800:"bg-pink-800",900:"bg-pink-900"},text:{50:"text-pink-50",100:"text-pink-100",200:"text-pink-200",300:"text-pink-300",400:"text-pink-400",500:"text-pink-500",600:"text-pink-600",700:"text-pink-700",800:"text-pink-800",900:"text-pink-900"},border:{50:"border-pink-50",100:"border-pink-100",200:"border-pink-200",300:"border-pink-300",400:"border-pink-400",500:"border-pink-500",600:"border-pink-600",700:"border-pink-700",800:"border-pink-800",900:"border-pink-900"}},purple:{bg:{50:"bg-purple-50 dark:bg-purple-900/20",100:"bg-purple-100 dark:bg-purple-900/30",200:"bg-purple-200",300:"bg-purple-300",400:"bg-purple-400",500:"bg-purple-500",600:"bg-purple-600",700:"bg-purple-700",800:"bg-purple-800",900:"bg-purple-900"},text:{50:"text-purple-50",100:"text-purple-100",200:"text-purple-200",300:"text-purple-300",400:"text-purple-400 dark:text-purple-300",500:"text-purple-500",600:"text-purple-600 dark:text-purple-400",700:"text-purple-700",800:"text-purple-800 dark:text-purple-300",900:"text-purple-900"},border:{50:"border-purple-50",100:"border-purple-100",200:"border-purple-200 dark:border-purple-600",300:"border-purple-300 dark:border-purple-500",400:"border-purple-400 dark:border-purple-500",500:"border-purple-500",600:"border-purple-600",700:"border-purple-700",800:"border-purple-800",900:"border-purple-900"}},"deep-purple":{bg:{50:"bg-deep-purple-50",100:"bg-deep-purple-100",200:"bg-deep-purple-200",300:"bg-deep-purple-300",400:"bg-deep-purple-400",500:"bg-deep-purple-500",600:"bg-deep-purple-600",700:"bg-deep-purple-700",800:"bg-deep-purple-800",900:"bg-deep-purple-900"},text:{50:"text-deep-purple-50",100:"text-deep-purple-100",200:"text-deep-purple-200",300:"text-deep-purple-300",400:"text-deep-purple-400",500:"text-deep-purple-500",600:"text-deep-purple-600",700:"text-deep-purple-700",800:"text-deep-purple-800",900:"text-deep-purple-900"},border:{50:"border-deep-purple-50",100:"border-deep-purple-100",200:"border-deep-purple-200",300:"border-deep-purple-300",400:"border-deep-purple-400",500:"border-deep-purple-500",600:"border-deep-purple-600",700:"border-deep-purple-700",800:"border-deep-purple-800",900:"border-deep-purple-900"}},blue:{bg:{50:"bg-sky-50 dark:bg-sky-900/20",100:"bg-sky-100 dark:bg-sky-900/30",200:"bg-sky-200",300:"bg-sky-300",400:"bg-sky-400",500:"bg-sky-500",600:"bg-sky-600",700:"bg-sky-700",800:"bg-sky-800",900:"bg-sky-900"},text:{50:"text-sky-50",100:"text-sky-100",200:"text-sky-200",300:"text-sky-300",400:"text-sky-400 dark:text-sky-300",500:"text-sky-500",600:"text-sky-600 dark:text-sky-400",700:"text-sky-700 dark:text-sky-300",800:"text-sky-800 dark:text-sky-200",900:"text-sky-900"},border:{50:"border-sky-50",100:"border-sky-100",200:"border-sky-200 dark:border-sky-800",300:"border-sky-300 dark:border-sky-700",400:"border-sky-400 dark:border-sky-600",500:"border-sky-500",600:"border-sky-600",700:"border-sky-700",800:"border-sky-800",900:"border-sky-900"}},"light-blue":{bg:{50:"bg-sky-50",100:"bg-sky-100",200:"bg-sky-200",300:"bg-sky-300",400:"bg-sky-400",500:"bg-sky-500",600:"bg-sky-600",700:"bg-sky-700",800:"bg-sky-800",900:"bg-sky-900"},text:{50:"text-sky-50",100:"text-sky-100",200:"text-sky-200",300:"text-sky-300",400:"text-sky-400",500:"text-sky-500",600:"text-sky-600",700:"text-sky-700",800:"text-sky-800",900:"text-sky-900"},border:{50:"border-sky-50",100:"border-sky-100",200:"border-sky-200",300:"border-sky-300",400:"border-sky-400",500:"border-sky-500",600:"border-sky-600",700:"border-sky-700",800:"border-sky-800",900:"border-sky-900"}},indigo:{bg:{50:"bg-indigo-50",100:"bg-indigo-100",200:"bg-indigo-200",300:"bg-indigo-300",400:"bg-indigo-400",500:"bg-indigo-500",600:"bg-indigo-600",700:"bg-indigo-700",800:"bg-indigo-800",900:"bg-indigo-900"},text:{50:"text-indigo-50",100:"text-indigo-100",200:"text-indigo-200",300:"text-indigo-300",400:"text-indigo-400",500:"text-indigo-500",600:"text-indigo-600",700:"text-indigo-700",800:"text-indigo-800",900:"text-indigo-900"},border:{50:"border-indigo-50",100:"border-indigo-100",200:"border-indigo-200",300:"border-indigo-300",400:"border-indigo-400",500:"border-indigo-500",600:"border-indigo-600",700:"border-indigo-700",800:"border-indigo-800",900:"border-indigo-900"}},cyan:{bg:{50:"bg-cyan-50 dark:bg-cyan-900/20",100:"bg-cyan-100 dark:bg-cyan-900/30",200:"bg-cyan-200",300:"bg-cyan-300",400:"bg-cyan-400",500:"bg-cyan-500",600:"bg-cyan-600",700:"bg-cyan-700",800:"bg-cyan-800",900:"bg-cyan-900"},text:{50:"text-cyan-50",100:"text-cyan-100",200:"text-cyan-200",300:"text-cyan-300",400:"text-cyan-400 dark:text-cyan-300",500:"text-cyan-500",600:"text-cyan-600 dark:text-cyan-400",700:"text-cyan-700 dark:text-cyan-300",800:"text-cyan-800 dark:text-cyan-200",900:"text-cyan-900"},border:{50:"border-cyan-50",100:"border-cyan-100",200:"border-cyan-200 dark:border-cyan-800",300:"border-cyan-300 dark:border-cyan-700",400:"border-cyan-400 dark:border-cyan-600",500:"border-cyan-500",600:"border-cyan-600",700:"border-cyan-700",800:"border-cyan-800",900:"border-cyan-900"}},teal:{bg:{50:"bg-teal-50 dark:bg-teal-900/20",100:"bg-teal-100 dark:bg-teal-900/30",200:"bg-teal-200",300:"bg-teal-300",400:"bg-teal-400",500:"bg-teal-500",600:"bg-teal-600",700:"bg-teal-700",800:"bg-teal-800",900:"bg-teal-900"},text:{50:"text-teal-50",100:"text-teal-100",200:"text-teal-200",300:"text-teal-300",400:"text-teal-400 dark:text-teal-300",500:"text-teal-500",600:"text-teal-600 dark:text-teal-400",700:"text-teal-700 dark:text-teal-300",800:"text-teal-800 dark:text-teal-200",900:"text-teal-900"},border:{50:"border-teal-50",100:"border-teal-100",200:"border-teal-200 dark:border-teal-800",300:"border-teal-300 dark:border-teal-700",400:"border-teal-400 dark:border-teal-600",500:"border-teal-500",600:"border-teal-600",700:"border-teal-700",800:"border-teal-800",900:"border-teal-900"}},green:{bg:{50:"bg-emerald-50 dark:bg-emerald-900/20",100:"bg-emerald-50 dark:bg-emerald-900/30",200:"bg-emerald-200",300:"bg-emerald-300",400:"bg-emerald-400",500:"bg-emerald-500",600:"bg-emerald-600",700:"bg-emerald-700",800:"bg-emerald-800",900:"bg-emerald-900"},text:{50:"text-emerald-50",100:"text-emerald-100",200:"text-emerald-200",300:"text-emerald-300",400:"text-emerald-400",500:"text-emerald-500",600:"text-emerald-600 dark:text-emerald-400",700:"text-emerald-700 dark:text-emerald-300",800:"text-emerald-700 dark:text-emerald-300",900:"text-emerald-900"},border:{50:"border-emerald-50",100:"border-emerald-100",200:"border-emerald-200 dark:border-emerald-800",300:"border-emerald-300 dark:border-emerald-700",400:"border-emerald-200 dark:border-emerald-800",500:"border-emerald-500",600:"border-emerald-600",700:"border-emerald-700",800:"border-emerald-800",900:"border-emerald-900"}},"light-green":{bg:{50:"bg-light-green-50",100:"bg-light-green-100",200:"bg-light-green-200",300:"bg-light-green-300",400:"bg-light-green-400",500:"bg-light-green-500",600:"bg-light-green-600",700:"bg-light-green-700",800:"bg-light-green-800",900:"bg-light-green-900"},text:{50:"text-light-green-50",100:"text-light-green-100",200:"text-light-green-200",300:"text-light-green-300",400:"text-light-green-400",500:"text-light-green-500",600:"text-light-green-600",700:"text-light-green-700",800:"text-light-green-800",900:"text-light-green-900"},border:{50:"border-light-green-50",100:"border-light-green-100",200:"border-light-green-200",300:"border-light-green-300",400:"border-light-green-400",500:"border-light-green-500",600:"border-light-green-600",700:"border-light-green-700",800:"border-light-green-800",900:"border-light-green-900"}},lime:{bg:{50:"bg-lime-50 dark:bg-lime-900/20",100:"bg-lime-100 dark:bg-lime-900/30",200:"bg-lime-200",300:"bg-lime-300",400:"bg-lime-400",500:"bg-lime-500",600:"bg-lime-600",700:"bg-lime-700",800:"bg-lime-800",900:"bg-lime-900"},text:{50:"text-lime-50",100:"text-lime-100",200:"text-lime-200",300:"text-lime-300",400:"text-lime-400 dark:text-lime-300",500:"text-lime-500",600:"text-lime-600 dark:text-lime-400",700:"text-lime-700 dark:text-lime-300",800:"text-lime-800 dark:text-lime-200",900:"text-lime-900"},border:{50:"border-lime-50",100:"border-lime-100",200:"border-lime-200 dark:border-lime-800",300:"border-lime-300 dark:border-lime-700",400:"border-lime-400 dark:border-lime-600",500:"border-lime-500",600:"border-lime-600",700:"border-lime-700",800:"border-lime-800",900:"border-lime-900"}},yellow:{bg:{50:"bg-yellow-50 dark:bg-yellow-900/20",100:"bg-amber-100 dark:bg-yellow-900/30",200:"bg-yellow-200",300:"bg-yellow-300",400:"bg-amber-400",500:"bg-amber-500",600:"bg-yellow-600",700:"bg-yellow-700",800:"bg-yellow-800",900:"bg-yellow-900"},text:{50:"text-yellow-50",100:"text-yellow-100",200:"text-yellow-200",300:"text-yellow-300",400:"text-amber-400 dark:text-yellow-300",500:"text-amber-500",600:"text-amber-600 dark:text-yellow-400",700:"text-yellow-700",800:"text-yellow-800 dark:text-yellow-300",900:"text-yellow-900"},border:{50:"border-yellow-50",100:"border-yellow-100",200:"border-yellow-200 dark:border-yellow-800",300:"border-yellow-300 dark:border-yellow-700",400:"border-amber-400 dark:border-yellow-800",500:"border-yellow-500",600:"border-yellow-600",700:"border-yellow-700",800:"border-yellow-800",900:"border-yellow-900"}},amber:{bg:{50:"bg-amber-50 dark:bg-amber-900/20",100:"bg-amber-100 dark:bg-amber-900/30",200:"bg-amber-200",300:"bg-amber-300",400:"bg-amber-400",500:"bg-amber-500",600:"bg-amber-600",700:"bg-amber-700",800:"bg-amber-800",900:"bg-amber-900"},text:{50:"text-amber-50",100:"text-amber-100",200:"text-amber-200",300:"text-amber-300",400:"text-amber-400 dark:text-amber-300",500:"text-amber-500",600:"text-amber-600 dark:text-amber-400",700:"text-amber-700 dark:text-amber-300",800:"text-amber-800 dark:text-amber-200",900:"text-amber-900"},border:{50:"border-amber-50",100:"border-amber-100",200:"border-amber-200 dark:border-amber-800",300:"border-amber-300 dark:border-amber-700",400:"border-amber-400 dark:border-amber-600",500:"border-amber-500",600:"border-amber-600",700:"border-amber-700",800:"border-amber-800",900:"border-amber-900"}},orange:{bg:{50:"bg-orange-50 dark:bg-orange-900/20",100:"bg-orange-100 dark:bg-orange-900/30",200:"bg-orange-200",300:"bg-orange-300",400:"bg-orange-400",500:"bg-orange-500",600:"bg-orange-600",700:"bg-orange-700",800:"bg-orange-800",900:"bg-orange-900"},text:{50:"text-orange-50",100:"text-orange-100",200:"text-orange-200",300:"text-orange-300",400:"text-orange-400 dark:text-orange-300",500:"text-orange-500",600:"text-orange-600 dark:text-orange-400",700:"text-orange-700 dark:text-orange-300",800:"text-orange-800 dark:text-orange-200",900:"text-orange-900"},border:{50:"border-orange-50",100:"border-orange-100",200:"border-orange-200 dark:border-orange-800",300:"border-orange-300 dark:border-orange-700",400:"border-orange-400 dark:border-orange-600",500:"border-orange-500",600:"border-orange-600",700:"border-orange-700",800:"border-orange-800",900:"border-orange-900"}},"deep-orange":{bg:{50:"bg-deep-orange-50",100:"bg-deep-orange-100",200:"bg-deep-orange-200",300:"bg-deep-orange-300",400:"bg-deep-orange-400",500:"bg-deep-orange-500",600:"bg-deep-orange-600",700:"bg-deep-orange-700",800:"bg-deep-orange-800",900:"bg-deep-orange-900"},text:{50:"text-deep-orange-50",100:"text-deep-orange-100",200:"text-deep-orange-200",300:"text-deep-orange-300",400:"text-deep-orange-400",500:"text-deep-orange-500",600:"text-deep-orange-600",700:"text-deep-orange-700",800:"text-deep-orange-800",900:"text-deep-orange-900"},border:{50:"border-deep-orange-50",100:"border-deep-orange-100",200:"border-deep-orange-200",300:"border-deep-orange-300",400:"border-deep-orange-400",500:"border-deep-orange-500",600:"border-deep-orange-600",700:"border-deep-orange-700",800:"border-deep-orange-800",900:"border-deep-orange-900"}},stone:{bg:{50:"bg-stone-50",100:"bg-stone-100",200:"bg-stone-200",300:"bg-stone-300",400:"bg-stone-400",500:"bg-stone-500",600:"bg-stone-600",700:"bg-stone-700",800:"bg-stone-800",900:"bg-stone-900"},text:{50:"text-stone-50",100:"text-stone-100",200:"text-stone-200",300:"text-stone-300",400:"text-stone-400",500:"text-stone-500",600:"text-stone-600",700:"text-stone-700",800:"text-stone-800",900:"text-stone-900"},border:{50:"border-stone-50",100:"border-stone-100",200:"border-stone-200",300:"border-stone-300",400:"border-stone-400",500:"border-stone-500",600:"border-stone-600",700:"border-stone-700",800:"border-stone-800",900:"border-stone-900"}},slate:{bg:{50:"bg-slate-50",100:"bg-surface/50",200:"bg-slate-200",300:"bg-slate-300",400:"bg-slate-400",500:"bg-slate-500",600:"bg-slate-600",700:"bg-slate-700",800:"bg-slate-800",900:"bg-slate-900"},text:{50:"text-slate-50",100:"text-slate-100",200:"text-slate-200",300:"text-slate-300",400:"text-slate-400",500:"text-slate-500",600:"text-text-secondary",700:"text-slate-700",800:"text-text-secondary",900:"text-slate-900"},border:{50:"border-slate-50",100:"border-slate-100",200:"border-border-default",300:"border-slate-300",400:"border-border-default",500:"border-slate-500",600:"border-slate-600",700:"border-slate-700",800:"border-slate-800",900:"border-slate-900"}},rose:{bg:{50:"bg-rose-50 dark:bg-rose-900/20",100:"bg-rose-100 dark:bg-rose-900/30",200:"bg-rose-200",300:"bg-rose-300 dark:bg-rose-900/30",400:"bg-rose-400",500:"bg-rose-500",600:"bg-rose-600",700:"bg-rose-700",800:"bg-rose-800",900:"bg-rose-900"},text:{50:"text-rose-50",100:"text-rose-100",200:"text-rose-200",300:"text-rose-300",400:"text-rose-400 dark:text-rose-300",500:"text-rose-500",600:"text-danger",700:"text-rose-700 dark:text-rose-300",800:"text-rose-800 dark:text-rose-200",900:"text-rose-900"},border:{50:"border-rose-50",100:"border-rose-100",200:"border-rose-200 dark:border-rose-800",300:"border-rose-300 dark:border-rose-700",400:"border-rose-400 dark:border-rose-600",500:"border-rose-500",600:"border-rose-600",700:"border-rose-700",800:"border-rose-800",900:"border-rose-900"}},sky:{bg:{50:"bg-sky-50 dark:bg-sky-900/20",100:"bg-sky-100 dark:bg-sky-900/30",200:"bg-sky-200",300:"bg-sky-300",400:"bg-sky-400",500:"bg-sky-500",600:"bg-sky-600",700:"bg-sky-700",800:"bg-sky-800",900:"bg-sky-900"},text:{50:"text-sky-50",100:"text-sky-100",200:"text-sky-200",300:"text-sky-300",400:"text-sky-400 dark:text-sky-300",500:"text-sky-500",600:"text-sky-600 dark:text-sky-400",700:"text-sky-700 dark:text-sky-300",800:"text-sky-800 dark:text-sky-200",900:"text-sky-900"},border:{50:"border-sky-50",100:"border-sky-100",200:"border-sky-200 dark:border-sky-800",300:"border-sky-300 dark:border-sky-700",400:"border-sky-400 dark:border-sky-600",500:"border-sky-500",600:"border-sky-600",700:"border-sky-700",800:"border-sky-800",900:"border-sky-900"}},emerald:{bg:{50:"bg-emerald-50 dark:bg-emerald-900/20",100:"bg-emerald-100 dark:bg-emerald-900/30",200:"bg-emerald-200",300:"bg-emerald-300",400:"bg-emerald-400",500:"bg-emerald-500",600:"bg-emerald-600",700:"bg-emerald-700",800:"bg-emerald-800",900:"bg-emerald-900"},text:{50:"text-emerald-50",100:"text-emerald-100",200:"text-emerald-200",300:"text-emerald-300",400:"text-emerald-400",500:"text-emerald-500",600:"text-emerald-600 dark:text-emerald-400",700:"text-emerald-700 dark:text-emerald-300",800:"text-emerald-800 dark:text-emerald-200",900:"text-emerald-900"},border:{50:"border-emerald-50",100:"border-emerald-100",200:"border-emerald-200 dark:border-emerald-800",300:"border-emerald-300 dark:border-emerald-700",400:"border-emerald-400 dark:border-emerald-600",500:"border-emerald-500",600:"border-emerald-600",700:"border-emerald-700",800:"border-emerald-800",900:"border-emerald-900"}},"blue-slate":{bg:{50:"bg-slate-50",100:"bg-slate-100",200:"bg-slate-200",300:"bg-slate-300",400:"bg-slate-400",500:"bg-slate-500",600:"bg-slate-600",700:"bg-slate-700",800:"bg-slate-800",900:"bg-slate-900"},text:{50:"text-slate-50",100:"text-slate-100",200:"text-slate-200",300:"text-slate-300",400:"text-slate-400",500:"text-slate-500",600:"text-slate-600",700:"text-slate-700",800:"text-slate-800",900:"text-slate-900"}}},t={NEW:"shadow-[inset_0_0_0_5px_rgb(168_85_247)]",ALLOCATED:"shadow-[inset_0_0_0_5px_rgb(14_165_233)]",SUCCESS:"shadow-[inset_0_0_0_5px_rgb(16_185_129)]",FAILED:"shadow-[inset_0_0_0_5px_rgb(244_63_94)]",DELETED:"shadow-[inset_0_0_0_5px_rgb(251_146_60)]"};e.s(["DELIVERY_STATUSES",0,{DELIVERED:"green",RETURNED:"red",OPEN:"yellow"},"DefaultLimit",0,50,"ORDER_STATUSES",0,{OPEN:"purple",PENDING:"sky",CONFIRMED:"lime",FULFILLED:"emerald",REJECTED:"rose"},"PAYMENT_STATUSES",0,{PAID:"green",REFUNDED:"red",OPEN:"yellow"},"PROVIDER_TYPE_CLASSES",0,{PHYSICAL:"emerald",CARD:"sky",INVOICE:"lime",GENERIC:"purple",PICKUP:"red",SHIPPING:"sky"},"QUOTATION_STATUS",0,{REQUESTED:"orange",PROCESSING:"yellow",PROPOSED:"cyan",REJECTED:"red",FULFILLED:"emerald"},"TOKEN_STATUSES",0,{CENTRALIZED:"sky",EXPORTING:"amber",DECENTRALIZED:"emerald"},"WORK_STATUSES",0,{NEW:"purple",ALLOCATED:"sky",SUCCESS:"emerald",FAILED:"rose",DELETED:"orange"},"bgColor",0,(e,t)=>`${r?.[e].bg[t]}`,"borderColor",0,(e,t)=>`${r[e]?.border[t]}`,"getShadowStyle",0,e=>`${t[e]}`,"textColor",0,(e,t)=>`${r[e].text[t]}`])},83147,e=>{"use strict";let r=e=>e&&e?.split(",").reduce((e,r)=>{let[t=null,o=null]=(r||"")?.split("_")||[];return{...e,[t]:o}},null)||{};e.s(["classNames",0,(...e)=>e.filter(Boolean).join(" "),"convertSortFieldsToQueryFormat",0,e=>Object.entries(r(e))?.map(([e,r])=>({key:e,value:r})),"getInterfaceLabel",0,e=>e?.label&&e?.version?`${e.label} ${e.version}`:"","getSortKeys",0,r,"normalizeCountryISOCode",0,(e,r,t=!0)=>{if(!r)return"";try{return`${new Intl.DisplayNames([e],{type:"region"}).of(r)} ${t?`(${r})`:""}`}catch{return r}},"normalizeCurrencyISOCode",0,(e,r,t=!0)=>{if(!r)return"";try{return`${new Intl.DisplayNames([e],{type:"currency"}).of(r)} ${t?`(${r})`:""}`}catch{return r}},"normalizeLanguageISOCode",0,(e,r,t=!0)=>{if(!r)return"";try{return`${new Intl.DisplayNames([e],{type:"language"}).of(r)} ${t?`(${r})`:""}`}catch{return r}},"normalizeQuery",0,(e,r,t)=>{let o;return o=t?{...e,[t]:r}:e,Object.keys(o)?.map(e=>[e,o[e]].join("="))?.join("&")},"useFormatPrice",0,()=>({formatPrice:e=>{if(!e?.currencyCode)return"n/a";if(e?.amount===void 0||e?.amount===null)return"";let{amount:r,currencyCode:t}=e||{};return new Intl.NumberFormat(navigator.language,{style:"currency",currency:t}).format(r/100)}})])},76810,e=>{"use strict";var r,t;(t=r||(r={}))[t.loading=1]="loading",t[t.setVariables=2]="setVariables",t[t.fetchMore=3]="fetchMore",t[t.refetch=4]="refetch",t[t.poll=6]="poll",t[t.ready=7]="ready",t[t.error=8]="error",t[t.streaming=9]="streaming",e.s(["NetworkStatus",0,r])},1151,e=>{"use strict";let r=Symbol.for("apollo.skipToken");e.s(["skipToken",0,r])},28775,e=>{"use strict";var r=e.i(24669),t=e.i(91788);e.s(["useDeepMemo",0,function(e,o){let n=t.useRef(void 0);return n.current&&(0,r.equal)(n.current.deps,o)||(n.current={value:e(),deps:o}),n.current.value}])},97046,e=>{"use strict";var r=e.i(91788);let t=Symbol.for("apollo.hook.wrappers");var o=e.i(21805);e.s(["wrapHook",0,function(e,n,a){let i=[a.queryManager,e.startsWith("use")?r.useContext((0,o.getApolloContext)()):void 0],l=n;for(let r of i){let o=r?.[t]?.[e];o&&(l=o(l))}return l}],97046)},32171,e=>{"use strict";var r=e.i(24669),t=e.i(91788),o=e.i(18018),n=e.i(32106),a=e.i(76810),i=e.i(91584),l=e.i(30928),s=e.i(15953),d=e.i(1151),b=e.i(28775),u=e.i(97046),c=e.i(98926),p=e.i(32854);let g=Symbol(),y=function(e,...[r]){return(0,u.wrapHook)("useQuery",x,(0,c.useApolloClient)("object"==typeof r?r.client:void 0))(e,r)};function x(e,a={}){var i,u,f,m,k,v,_,w;let S,E=(0,c.useApolloClient)("object"==typeof a?a.client:void 0),{ssr:I}="object"==typeof a?a:{},D=(i=e,u=a,f=E.defaultOptions.watchQuery,(0,b.useDeepMemo)(()=>{if(u===d.skipToken){let e={...(0,l.mergeOptions)(f,{query:i,fetchPolicy:"standby"}),[s.variablesUnknownSymbol]:!0};return e[h]=!0,e}let e=(0,l.mergeOptions)(f,{...u,query:i});return u.skip&&(e.initialFetchPolicy=u.initialFetchPolicy||u.fetchPolicy,e.fetchPolicy="standby"),e},[i,u,f]));function A(r){let t=E.watchQuery(D);return{client:E,query:e,observable:t,resultData:{current:t.getCurrentResult(),previousData:r?.resultData.current.data,variables:t.variables}}}let[C,P]=t.useState(A);(E!==C.client||e!==C.query)&&P(C=A(C));let{observable:T,resultData:O}=C;m=D,k=T,m.fetchPolicy||(m.fetchPolicy=k.options.initialFetchPolicy),function(e,t,o){if(t[g]&&!(0,r.equal)(t[g],o)){var n,a;t[g][h]&&!o.initialFetchPolicy&&(o.initialFetchPolicy=o.fetchPolicy),(n=t[g],a=o,n.query===a.query&&(0,r.equal)(n.variables,a.variables)&&(n.fetchPolicy===a.fetchPolicy||"standby"!==a.fetchPolicy&&"standby"!==n.fetchPolicy))?t.applyOptions(o):t.reobserve(o);let i=t.getCurrentResult();(0,r.equal)(i.data,e.current.data)||(e.previousData=e.current.data||e.previousData),e.current=i,e.variables=t.variables}t[g]=o}(O,T,D);let j=(v=T,_=O,w=I,S=v.options.fetchPolicy,(0,p.useSyncExternalStore)(t.useCallback(e=>{let t=v.pipe((0,n.observeOn)(o.asapScheduler)).subscribe(t=>{let o=_.current;(0,r.equal)(o,t)&&(0,r.equal)(_.variables,v.variables)||(_.variables=v.variables,o.data&&!(0,r.equal)(o.data,t.data)&&(_.previousData=o.data),_.current=t,e())});return()=>{setTimeout(()=>t.unsubscribe())}},[v,_]),()=>_.current,()=>"standby"!==S&&!1===w||"no-cache"===S?y.ssrDisabledResult:_.current)),N=t.useMemo(()=>({refetch:T.refetch.bind(T),fetchMore:T.fetchMore.bind(T),updateQuery:T.updateQuery.bind(T),startPolling:T.startPolling.bind(T),stopPolling:T.stopPolling.bind(T),subscribeToMore:T.subscribeToMore.bind(T)}),[T]),U=O.previousData;return t.useMemo(()=>{let{partial:e,...r}=j;return{...r,client:E,observable:T,variables:T.variables,previousData:U,...N}},[j,E,T,U,N])}let h=Symbol();y.ssrDisabledResult=(0,i.maybeDeepFreeze)({loading:!0,data:void 0,dataState:"empty",error:void 0,networkStatus:a.NetworkStatus.loading,partial:!0}),e.s(["useQuery",0,y])},32854,e=>{"use strict";var r=e.i(91788),t=e.i(29520),o=e.i(21953),n=e.i(22420),a=e.i(93532);let i=!1,l=r.useSyncExternalStore,s="ReactNative"==(0,n.maybe)(()=>navigator.product),d=(0,n.maybe)(()=>navigator.userAgent.indexOf("jsdom")>=0)||!1,b=(o.canUseDOM||s)&&!d,u=l||((e,o,n)=>{let l=o();t.__DEV__&&!i&&l!==o()&&(i=!0,a.invariant.error(36));let[{inst:s},d]=r.useState({inst:{value:l,getSnapshot:o}});return b?r.useLayoutEffect(()=>{Object.assign(s,{value:l,getSnapshot:o}),c(s)&&d({inst:s})},[e,l,o]):Object.assign(s,{value:l,getSnapshot:o}),r.useEffect(()=>(c(s)&&d({inst:s}),e(function(){c(s)&&d({inst:s})})),[e]),l});function c({value:e,getSnapshot:r}){try{return e!==r()}catch{return!0}}e.s(["useSyncExternalStore",0,u])},91584,66930,15953,e=>{"use strict";var r=e.i(29520);function t(e){return null!==e&&"object"==typeof e}e.s(["isNonNullObject",0,t],66930),e.s(["maybeDeepFreeze",0,function(e){let o;return r.__DEV__&&(o=new Set([e])).forEach(e=>{t(e)&&function(e){if(r.__DEV__&&!Object.isFrozen(e))try{Object.freeze(e)}catch(e){if(e instanceof TypeError)return null;throw e}return e}(e)===e&&Object.getOwnPropertyNames(e).forEach(r=>{t(e[r])&&o.add(e[r])})}),e}],91584);let o=Symbol.for("apollo.result.extensions"),n=Symbol.for("apollo.result.streamInfo"),a=Symbol.for("apollo.observableQuery.variablesUnknown"),i=Symbol.for("apollo.cache.handleIncremental");e.s(["extensionsSymbol",0,o,"handleIncrementalSymbol",0,i,"streamInfoSymbol",0,n,"variablesUnknownSymbol",0,a],15953)},9356,e=>{"use strict";var r=e.i(35113);e.s(["isValid",0,function(e){return!(!(e instanceof Date||"object"==typeof e&&"[object Date]"===Object.prototype.toString.call(e))&&"number"!=typeof e||isNaN(+(0,r.toDate)(e)))}],9356)},49543,e=>{"use strict";var r=e.i(35113);e.s(["startOfDay",0,function(e,t){let o=(0,r.toDate)(e,t?.in);return o.setHours(0,0,0,0),o}])},35113,2848,98170,e=>{"use strict";let r=Symbol.for("constructDateFrom");function t(e,t){return"function"==typeof e?e(t):e&&"object"==typeof e&&r in e?e[r](t):e instanceof Date?new e.constructor(t):new Date(t)}e.s(["constructFromSymbol",0,r,"millisecondsInDay",0,864e5,"millisecondsInHour",0,36e5,"millisecondsInMinute",0,6e4,"millisecondsInWeek",0,6048e5,"minutesInDay",0,1440,"minutesInMonth",0,43200,"minutesInYear",0,525600],2848),e.s(["constructFrom",0,t],98170),e.s(["toDate",0,function(e,r){return t(r||e,e)}],35113)},80963,(e,r,t)=>{"use strict";e.i(50461),Object.defineProperty(t,"__esModule",{value:!0});var o={default:function(){return y},defaultHead:function(){return u}};for(var n in o)Object.defineProperty(t,n,{enumerable:!0,get:o[n]});let a=e.r(41705),i=e.r(52456),l=e.r(91398),s=i._(e.r(91788)),d=a._(e.r(94941)),b=e.r(13584);function u(){return[(0,l.jsx)("meta",{charSet:"utf-8"},"charset"),(0,l.jsx)("meta",{name:"viewport",content:"width=device-width"},"viewport")]}function c(e,r){return"string"==typeof r||"number"==typeof r?e:r.type===s.default.Fragment?e.concat(s.default.Children.toArray(r.props.children).reduce((e,r)=>"string"==typeof r||"number"==typeof r?e:e.concat(r),[])):e.concat(r)}let p=["name","httpEquiv","charSet","itemProp"];function g(e){let r,t,o,n;return e.reduce(c,[]).reverse().concat(u().reverse()).filter((r=new Set,t=new Set,o=new Set,n={},e=>{let a=!0,i=!1;if(e.key&&"number"!=typeof e.key&&e.key.indexOf("$")>0){i=!0;let t=e.key.slice(e.key.indexOf("$")+1);r.has(t)?a=!1:r.add(t)}switch(e.type){case"title":case"base":t.has(e.type)?a=!1:t.add(e.type);break;case"meta":for(let r=0,t=p.length;r<t;r++){let t=p[r];if(e.props.hasOwnProperty(t))if("charSet"===t)o.has(t)?a=!1:o.add(t);else{let r=e.props[t],o=n[t]||new Set;("name"!==t||!i)&&o.has(r)?a=!1:(o.add(r),n[t]=o)}}}return a})).reverse().map((e,r)=>{let t=e.key||r;return s.default.cloneElement(e,{key:t})})}let y=function({children:e}){let r=(0,s.useContext)(b.HeadManagerContext);return(0,l.jsx)(d.default,{reduceComponentsToState:g,headManager:r,children:e})};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),r.exports=t.default)},94941,(e,r,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});let o=e.r(91788),n="u"<typeof window,a=n?()=>{}:o.useLayoutEffect,i=n?()=>{}:o.useEffect;function l(e){let{headManager:r,reduceComponentsToState:t}=e;function l(){if(r&&r.mountedInstances){let e=o.Children.toArray(Array.from(r.mountedInstances).filter(Boolean));r.updateHead(t(e))}}return n&&(r?.mountedInstances?.add(e.children),l()),a(()=>(r?.mountedInstances?.add(e.children),()=>{r?.mountedInstances?.delete(e.children)})),a(()=>(r&&(r._pendingUpdate=l),()=>{r&&(r._pendingUpdate=l)})),i(()=>(r&&r._pendingUpdate&&(r._pendingUpdate(),r._pendingUpdate=null),()=>{r&&r._pendingUpdate&&(r._pendingUpdate(),r._pendingUpdate=null)})),null}},61340,57070,72572,e=>{"use strict";var r=e.i(89280),t=e.i(49363);function o(e){var r=e(function(e){Error.call(e),e.stack=Error().stack});return r.prototype=Object.create(Error.prototype),r.prototype.constructor=r,r}e.s(["createErrorClass",0,o],57070);var n=o(function(e){return function(r){e(this),this.message=r?r.length+" errors occurred during unsubscription:\n"+r.map(function(e,r){return r+1+") "+e.toString()}).join("\n "):"",this.name="UnsubscriptionError",this.errors=r}});function a(e,r){if(e){var t=e.indexOf(r);0<=t&&e.splice(t,1)}}e.s(["arrRemove",0,a],72572);var i=function(){var e;function o(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}return o.prototype.unsubscribe=function(){if(!this.closed){this.closed=!0;var e,o,a,i,l,d=this._parentage;if(d)if(this._parentage=null,Array.isArray(d))try{for(var b=(0,r.__values)(d),u=b.next();!u.done;u=b.next())u.value.remove(this)}catch(r){e={error:r}}finally{try{u&&!u.done&&(o=b.return)&&o.call(b)}finally{if(e)throw e.error}}else d.remove(this);var c=this.initialTeardown;if((0,t.isFunction)(c))try{c()}catch(e){l=e instanceof n?e.errors:[e]}var p=this._finalizers;if(p){this._finalizers=null;try{for(var g=(0,r.__values)(p),y=g.next();!y.done;y=g.next()){var x=y.value;try{s(x)}catch(e){l=null!=l?l:[],e instanceof n?l=(0,r.__spreadArray)((0,r.__spreadArray)([],(0,r.__read)(l)),(0,r.__read)(e.errors)):l.push(e)}}}catch(e){a={error:e}}finally{try{y&&!y.done&&(i=g.return)&&i.call(g)}finally{if(a)throw a.error}}}if(l)throw new n(l)}},o.prototype.add=function(e){var r;if(e&&e!==this)if(this.closed)s(e);else{if(e instanceof o){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=null!=(r=this._finalizers)?r:[]).push(e)}},o.prototype._hasParent=function(e){var r=this._parentage;return r===e||Array.isArray(r)&&r.includes(e)},o.prototype._addParent=function(e){var r=this._parentage;this._parentage=Array.isArray(r)?(r.push(e),r):r?[r,e]:e},o.prototype._removeParent=function(e){var r=this._parentage;r===e?this._parentage=null:Array.isArray(r)&&a(r,e)},o.prototype.remove=function(e){var r=this._finalizers;r&&a(r,e),e instanceof o&&e._removeParent(this)},(e=new o).closed=!0,o.EMPTY=e,o}(),l=i.EMPTY;function s(e){(0,t.isFunction)(e)?e():e.unsubscribe()}e.s(["EMPTY_SUBSCRIPTION",0,l,"Subscription",0,i,"isSubscription",0,function(e){return e instanceof i||e&&"closed"in e&&(0,t.isFunction)(e.remove)&&(0,t.isFunction)(e.add)&&(0,t.isFunction)(e.unsubscribe)}],61340)},99657,80406,33229,58365,13616,e=>{"use strict";var r=e.i(89280),t=e.i(49363),o=e.i(61340),n={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};e.s(["config",0,n],80406);var a={setTimeout:function(e,t){for(var o=[],n=2;n<arguments.length;n++)o[n-2]=arguments[n];var i=a.delegate;return(null==i?void 0:i.setTimeout)?i.setTimeout.apply(i,(0,r.__spreadArray)([e,t],(0,r.__read)(o))):setTimeout.apply(void 0,(0,r.__spreadArray)([e,t],(0,r.__read)(o)))},clearTimeout:function(e){var r=a.delegate;return((null==r?void 0:r.clearTimeout)||clearTimeout)(e)},delegate:void 0};function i(e){a.setTimeout(function(){var r=n.onUnhandledError;if(r)r(e);else throw e})}function l(){}e.s(["reportUnhandledError",0,i],33229);var s=d("C",void 0,void 0);function d(e,r,t){return{kind:e,value:r,error:t}}var b=null;function u(e){n.useDeprecatedSynchronousErrorHandling&&b&&(b.errorThrown=!0,b.error=e)}e.s(["captureError",0,u,"errorContext",0,function(e){if(n.useDeprecatedSynchronousErrorHandling){var r=!b;if(r&&(b={errorThrown:!1,error:null}),e(),r){var t=b,o=t.errorThrown,a=t.error;if(b=null,o)throw a}}else e()}],58365);var c=function(e){function t(r){var t=e.call(this)||this;return t.isStopped=!1,r?(t.destination=r,(0,o.isSubscription)(r)&&r.add(t)):t.destination=m,t}return(0,r.__extends)(t,e),t.create=function(e,r,t){return new x(e,r,t)},t.prototype.next=function(e){this.isStopped?f(d("N",e,void 0),this):this._next(e)},t.prototype.error=function(e){this.isStopped?f(d("E",void 0,e),this):(this.isStopped=!0,this._error(e))},t.prototype.complete=function(){this.isStopped?f(s,this):(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this),this.destination=null)},t.prototype._next=function(e){this.destination.next(e)},t.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(o.Subscription),p=Function.prototype.bind;function g(e,r){return p.call(e,r)}var y=function(){function e(e){this.partialObserver=e}return e.prototype.next=function(e){var r=this.partialObserver;if(r.next)try{r.next(e)}catch(e){h(e)}},e.prototype.error=function(e){var r=this.partialObserver;if(r.error)try{r.error(e)}catch(e){h(e)}else h(e)},e.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){h(e)}},e}(),x=function(e){function o(r,o,a){var i,l,s=e.call(this)||this;return(0,t.isFunction)(r)||!r?i={next:null!=r?r:void 0,error:null!=o?o:void 0,complete:null!=a?a:void 0}:s&&n.useDeprecatedNextContext?((l=Object.create(r)).unsubscribe=function(){return s.unsubscribe()},i={next:r.next&&g(r.next,l),error:r.error&&g(r.error,l),complete:r.complete&&g(r.complete,l)}):i=r,s.destination=new y(i),s}return(0,r.__extends)(o,e),o}(c);function h(e){n.useDeprecatedSynchronousErrorHandling?u(e):i(e)}function f(e,r){var t=n.onStoppedNotification;t&&a.setTimeout(function(){return t(e,r)})}var m={closed:!0,next:l,error:function(e){throw e},complete:l};e.s(["SafeSubscriber",0,x,"Subscriber",0,c],13616);var k=function(e){function t(r,t,o,n,a,i){var l=e.call(this,r)||this;return l.onFinalize=a,l.shouldUnsubscribe=i,l._next=t?function(e){try{t(e)}catch(e){r.error(e)}}:e.prototype._next,l._error=n?function(e){try{n(e)}catch(e){r.error(e)}finally{this.unsubscribe()}}:e.prototype._error,l._complete=o?function(){try{o()}catch(e){r.error(e)}finally{this.unsubscribe()}}:e.prototype._complete,l}return(0,r.__extends)(t,e),t.prototype.unsubscribe=function(){var r;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){var t=this.closed;e.prototype.unsubscribe.call(this),t||null==(r=this.onFinalize)||r.call(this)}},t}(c);e.s(["createOperatorSubscriber",0,function(e,r,t,o,n){return new k(e,r,t,o,n)}],99657)},32106,e=>{"use strict";var r=e.i(95065),t=e.i(81288),o=e.i(99657);e.s(["observeOn",0,function(e,n){return void 0===n&&(n=0),(0,t.operate)(function(t,a){t.subscribe((0,o.createOperatorSubscriber)(a,function(t){return(0,r.executeSchedule)(a,e,function(){return a.next(t)},n)},function(){return(0,r.executeSchedule)(a,e,function(){return a.complete()},n)},function(t){return(0,r.executeSchedule)(a,e,function(){return a.error(t)},n)}))})}])},42410,e=>{"use strict";var r,t=e.i(89280),o=e.i(87268),n=1,a={};function i(e){return e in a&&(delete a[e],!0)}var l=function(e){var t=n++;return a[t]=!0,r||(r=Promise.resolve()),r.then(function(){return i(t)&&e()}),t},s=function(e){i(e)},d={setImmediate:function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var o=d.delegate;return((null==o?void 0:o.setImmediate)||l).apply(void 0,(0,t.__spreadArray)([],(0,t.__read)(e)))},clearImmediate:function(e){var r=d.delegate;return((null==r?void 0:r.clearImmediate)||s)(e)},delegate:void 0},b=function(e){function r(r,t){var o=e.call(this,r,t)||this;return o.scheduler=r,o.work=t,o}return(0,t.__extends)(r,e),r.prototype.requestAsyncId=function(r,t,o){return(void 0===o&&(o=0),null!==o&&o>0)?e.prototype.requestAsyncId.call(this,r,t,o):(r.actions.push(this),r._scheduled||(r._scheduled=d.setImmediate(r.flush.bind(r,void 0))))},r.prototype.recycleAsyncId=function(r,t,o){if(void 0===o&&(o=0),null!=o?o>0:this.delay>0)return e.prototype.recycleAsyncId.call(this,r,t,o);var n,a=r.actions;null!=t&&(null==(n=a[a.length-1])?void 0:n.id)!==t&&(d.clearImmediate(t),r._scheduled===t&&(r._scheduled=void 0))},r}(o.AsyncAction);e.s(["AsapAction",0,b],42410)},87268,e=>{"use strict";var r=e.i(89280),t=function(e){function t(r,t){return e.call(this)||this}return(0,r.__extends)(t,e),t.prototype.schedule=function(e,r){return void 0===r&&(r=0),this},t}(e.i(61340).Subscription),o={setInterval:function(e,t){for(var n=[],a=2;a<arguments.length;a++)n[a-2]=arguments[a];var i=o.delegate;return(null==i?void 0:i.setInterval)?i.setInterval.apply(i,(0,r.__spreadArray)([e,t],(0,r.__read)(n))):setInterval.apply(void 0,(0,r.__spreadArray)([e,t],(0,r.__read)(n)))},clearInterval:function(e){var r=o.delegate;return((null==r?void 0:r.clearInterval)||clearInterval)(e)},delegate:void 0},n=e.i(72572),a=function(e){function t(r,t){var o=e.call(this,r,t)||this;return o.scheduler=r,o.work=t,o.pending=!1,o}return(0,r.__extends)(t,e),t.prototype.schedule=function(e,r){if(void 0===r&&(r=0),this.closed)return this;this.state=e;var t,o=this.id,n=this.scheduler;return null!=o&&(this.id=this.recycleAsyncId(n,o,r)),this.pending=!0,this.delay=r,this.id=null!=(t=this.id)?t:this.requestAsyncId(n,this.id,r),this},t.prototype.requestAsyncId=function(e,r,t){return void 0===t&&(t=0),o.setInterval(e.flush.bind(e,this),t)},t.prototype.recycleAsyncId=function(e,r,t){if(void 0===t&&(t=0),null!=t&&this.delay===t&&!1===this.pending)return r;null!=r&&o.clearInterval(r)},t.prototype.execute=function(e,r){if(this.closed)return Error("executing a cancelled action");this.pending=!1;var t=this._execute(e,r);if(t)return t;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},t.prototype._execute=function(e,r){var t,o=!1;try{this.work(e)}catch(e){o=!0,t=e||Error("Scheduled action threw falsy error")}if(o)return this.unsubscribe(),t},t.prototype.unsubscribe=function(){if(!this.closed){var r=this.id,t=this.scheduler,o=t.actions;this.work=this.state=this.scheduler=null,this.pending=!1,(0,n.arrRemove)(o,this),null!=r&&(this.id=this.recycleAsyncId(t,r,null)),this.delay=null,e.prototype.unsubscribe.call(this)}},t}(t);e.s(["AsyncAction",0,a],87268)},12884,e=>{"use strict";var r=e.i(89280),t=e.i(68827),o=function(){function e(r,t){void 0===t&&(t=e.now),this.schedulerActionCtor=r,this.now=t}return e.prototype.schedule=function(e,r,t){return void 0===r&&(r=0),new this.schedulerActionCtor(this,e).schedule(t,r)},e.now=t.dateTimestampProvider.now,e}(),n=function(e){function t(r,t){void 0===t&&(t=o.now);var n=e.call(this,r,t)||this;return n.actions=[],n._active=!1,n}return(0,r.__extends)(t,e),t.prototype.flush=function(e){var r,t=this.actions;if(this._active)return void t.push(e);this._active=!0;do if(r=e.execute(e.state,e.delay))break;while(e=t.shift())if(this._active=!1,r){for(;e=t.shift();)e.unsubscribe();throw r}},t}(o);e.s(["AsyncScheduler",0,n],12884)},18018,e=>{"use strict";var r=e.i(42410),t=e.i(89280),o=new(function(e){function r(){return null!==e&&e.apply(this,arguments)||this}return(0,t.__extends)(r,e),r.prototype.flush=function(e){this._active=!0;var r,t=this._scheduled;this._scheduled=void 0;var o=this.actions;e=e||o.shift();do if(r=e.execute(e.state,e.delay))break;while((e=o[0])&&e.id===t&&o.shift())if(this._active=!1,r){for(;(e=o[0])&&e.id===t&&o.shift();)e.unsubscribe();throw r}},r}(e.i(12884).AsyncScheduler))(r.AsapAction);e.s(["asapScheduler",0,o],18018)},68827,e=>{"use strict";var r={now:function(){return(r.delegate||Date).now()},delegate:void 0};e.s(["dateTimestampProvider",0,r])},95065,e=>{"use strict";e.s(["executeSchedule",0,function(e,r,t,o,n){void 0===o&&(o=0),void 0===n&&(n=!1);var a=r.schedule(function(){t(),n?e.add(this.schedule(null,o)):this.unsubscribe()},o);if(e.add(a),!n)return a}])},49363,e=>{"use strict";e.s(["isFunction",0,function(e){return"function"==typeof e}])},81288,e=>{"use strict";var r=e.i(49363);e.s(["operate",0,function(e){return function(t){if((0,r.isFunction)(null==t?void 0:t.lift))return t.lift(function(r){try{return e(r,this)}catch(e){this.error(e)}});throw TypeError("Unable to lift unknown Observable type")}}])}]);
@@ -0,0 +1,11 @@
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,35429,e=>{"use strict";var t=e.i(91398),a=e.i(56206),r=e.i(69322),s=e.i(21128);e.s(["default",0,({cancelText:e=null,showCancel:l=!0,submitText:i=null,showSubmit:o=!0,onCancel:n,className:d=""})=>{let{formatMessage:u}=(0,r.useIntl)();return(0,t.jsxs)("span",{className:(0,a.default)("flex shrink-0 items-center space-x-4 py-5 pl-1",d),children:[l?(0,t.jsx)("button",{onClick:n,"data-id":"cancel_update",type:"button",className:(0,a.default)("focus:ring-focus-ring","inline-flex items-center rounded-md border border-border-default bg-surface px-4 py-2 text-sm font-medium text-text-secondary shadow-xs hover:bg-surface-raised focus:outline-hidden focus:ring-2 focus:ring-focus-ring focus:ring-offset-2"),children:e||u({id:"cancel",defaultMessage:"Cancel"})}):null,o?(0,t.jsx)(s.default,{label:i||u({id:"save",defaultMessage:"Save"})}):null]})}])},97776,e=>{"use strict";var t=e.i(91398),a=e.i(56206),r=e.i(60741),s=e.i(82226),l=e.i(54879);e.s(["default",0,({validators:e=[],className:i,...o})=>{let n=(0,r.default)({validators:[...e,s.validateDate],...o}),d=n.value?new Date(n.value).toISOString().split("T")[0]:"";return(0,t.jsx)(l.default,{...n,className:o.containerClassName,children:(0,t.jsx)("input",{type:"date",id:n.id,name:n.name,disabled:n.disabled,className:(0,a.default)("relative mt-0 block w-full appearance-none rounded-md rounded-b-md border-1 border-border-default px-4 py-2.5 text-sm text-text-primary dark:bg-slate-900 placeholder-slate-400 shadow-xs focus:z-10 focus:outline-hidden focus:ring-2 focus:ring-focus-ring",i,{"border-rose-700 placeholder:text-rose-300":!!n.error}),onChange:n.onChange,onBlur:n.onBlur,value:d,placeholder:n.placeholder,autoComplete:"off",...o})})}])},57243,e=>{"use strict";var t=e.i(91398),a=e.i(16984),r=e.i(82226);e.s(["default",0,({validators:e=[],value:s="",...l})=>(0,t.jsx)(a.default,{value:s,autoComplete:l?.autoComplete||"on",name:"email",validators:[...e,r.validateEmail],...l})])},54879,e=>{"use strict";var t=e.i(91398),a=e.i(56206);e.s(["default",0,({children:e,className:r,error:s,disabled:l,required:i,name:o,label:n,hideLabel:d,labelClassName:u})=>(0,t.jsxs)("div",{className:(0,a.default)("container",{"is-invalid":!!s,disabled:l,required:i},r),children:[(0,t.jsx)("label",{"aria-label":n,htmlFor:o,className:(0,a.default)("mb-2 block text-left text-sm font-light text-text-secondary",{"mt-1 rounded-sm border border-rose-100 dark:border-rose-800 bg-rose-50 dark:bg-rose-900/20 p-2 pl-4 text-rose-700 dark:text-rose-400":!!s,"sr-only":d},u),children:s||n}),e]})])},63094,e=>{"use strict";var t=e.i(91398),a=e.i(91788),r=e.i(61898);let s=(e,t="")=>e&&"object"==typeof e?Object.entries(e).reduce((e,[r,l])=>{if(!l||"ref"===r)return e;let i=`${t}${r}`;return"string"==typeof l||a.default.isValidElement(l)?e[i]=l:"string"==typeof l.message&&l.message?e[i]=l.message:"object"==typeof l&&Object.assign(e,s(l,`${i}.`)),e},{}):{},l=({submitError:e="",fieldErrors:r={}})=>(0,t.jsx)("div",{className:"my-2 mb-5 text-rose-700",children:(0,t.jsxs)("ul",{className:"space-y-1",children:[e&&(0,t.jsx)("li",{className:"disabled",children:(0,t.jsx)("span",{dangerouslySetInnerHTML:{__html:e}})},"submitError"),Object.entries(r).map(([e,r])=>(0,t.jsx)("li",{className:"disabled",children:(0,t.jsx)("button",{type:"button",className:"no-button text-danger","aria-label":"Error button",onClick:()=>{let t=document.getElementById(e);t&&t.focus()},children:a.default.isValidElement(r)?r:(0,t.jsx)("span",{dangerouslySetInnerHTML:{__html:r}})})},e))]})});e.s(["default",0,({displayFieldErrors:e=!1})=>{var a;let i,{submitError:o,rhf:n}=(0,r.default)(),d=e?(a=s(n?.formState?.errors),i=new Set,Object.fromEntries(Object.entries(a).filter(([,e])=>"string"!=typeof e||!i.has(e)&&(i.add(e),!0)))):{};return(o||e)&&(0,t.jsx)(l,{submitError:o,fieldErrors:d})}])},56985,e=>{"use strict";var t=e.i(91398),a=e.i(56206),r=e.i(91788),s=e.i(16984);e.s(["default",0,({autoComplete:e="on",...l})=>{let[i,o]=(0,r.useState)(!1),n=e=>{e.preventDefault(),o(!i)};return(0,t.jsxs)("div",{className:(0,a.default)("relative",l.className),children:[(0,t.jsx)(s.default,{autoComplete:e||"on",name:"password",...l,type:i?"text":"password"}),(0,t.jsx)("span",{role:"button",tabIndex:-1,"aria-label":"toggle password visibility",className:"absolute translate-y-[-137%] outline-hidden block right-3",onClick:n,onKeyUp:n,children:i?(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-6 w-6 stroke-slate-700",fill:"none",viewBox:"0 0 24 24",children:[(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M15 12a3 3 0 11-6 0 3 3 0 016 0z"}),(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M2.458 12C3.732 7.943 7.523 5 12 5c4.478 0 8.268 2.943 9.542 7-1.274 4.057-5.064 7-9.542 7-4.477 0-8.268-2.943-9.542-7z"})]}):(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-6 w-6 stroke-slate-700",fill:"none",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M13.875 18.825A10.05 10.05 0 0112 19c-4.478 0-8.268-2.943-9.543-7a9.97 9.97 0 011.563-3.029m5.858.908a3 3 0 114.243 4.243M9.878 9.878l4.242 4.242M9.88 9.88l-3.29-3.29m7.532 7.532l3.29 3.29M3 3l3.59 3.59m0 0A9.953 9.953 0 0112 5c4.478 0 8.268 2.943 9.543 7a10.025 10.025 0 01-4.132 5.411m0 0L21 21"})})})]})}])},10685,e=>{"use strict";var t=e.i(91398),a=e.i(56206),r=e.i(60741),s=e.i(54879);e.s(["default",0,e=>{let{options:l,...i}=(0,r.default)(e),{className:o}=e||{className:""};return(0,t.jsx)(s.default,{...i,children:(0,t.jsx)("div",{className:"select-wrap",children:(0,t.jsxs)("select",{className:(0,a.default)("block w-full dark:bg-slate-900 dark:text-white rounded-md border-1 border-border-default py-2.5 pl-3 pr-10 text-base text-black shadow-xs focus:outline-hidden focus:ring-2 focus:ring-focus-ring sm:text-sm",o,{"border-rose-700 text-rose-600 dark:border-rose-500 dark:text-rose-400":!!i.error}),disabled:i.disabled,id:i.name,name:i.name,onChange:i.onChange,onBlur:i.onBlur,value:i.value,children:[(0,t.jsx)("option",{className:"dark:text-slate-200",value:"",disabled:i.required,hidden:i.required,children:i.placeholder||i.label}),Object.entries(l).map(([e,a])=>(0,t.jsx)("option",{className:"dark:text-slate-200",value:e,children:a},e))]})})})}])},21128,e=>{"use strict";var t=e.i(91398),a=e.i(56206),r=e.i(58021),s=e.i(61898);e.s(["default",0,({label:e,disabled:l=!1,className:i="",hidden:o=!1,...n})=>{let{formState:d}=(0,r.useFormContext)(),{...u}=n,c=Object.keys(d.errors).length>0&&Object.values(d.errors).some(e=>!!e),{disabled:f}=(0,s.default)(),m=l||f||d.isSubmitting||c,p=d.isSubmitting&&!c,g=(l||f||c)&&!d.isSubmitting;return(0,t.jsx)("input",{className:(0,a.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-focus-ring",i,{"bg-rose-50 dark:bg-slate-800 dark:text-rose-300 cursor-not-allowed border-rose-300 dark:border-rose-600 text-rose-900":g,"bg-slate-600 dark:bg-slate-700 text-white cursor-not-allowed border-slate-400 dark:border-slate-600":p,"bg-accent text-text-on-accent hover:bg-accent-hover focus:outline-hidden focus:ring-2 focus:ring-offset-2 border-transparent":!m,hidden:o}),"aria-label":e,type:"submit",value:e,disabled:m,...u})}])},16984,e=>{"use strict";var t=e.i(91398),a=e.i(56206),r=e.i(82226),s=e.i(60741),l=e.i(54879);e.s(["default",0,({maxLength:e=0,validators:i=[],...o})=>{let n=(0,s.default)({validators:[...i,e&&(0,r.validateMaxLength)(e)],...o});return(0,t.jsx)(l.default,{...n,children:(0,t.jsx)("input",{className:(0,a.default)("relative mt-1 block w-full dark:focus:autofill dark:hover:autofill dark:autofill dark:placeholder:text-slate-600 dark:bg-slate-900 dark:text-slate-200 appearance-none rounded-md border-1 dark:border-slate-700 px-4 py-2.5 text-sm text-slate-900 focus:outline-hidden focus:ring-2 focus:ring-focus-ring shadow-xs",{"border-rose-700 placeholder:text-rose-500":!!n.error,"border-slate-300 placeholder-slate-400":!n.error}),disabled:n.disabled,id:n.name,name:n.name,onChange:n.onChange,onClick:e=>{e.stopPropagation()},onBlur:n.onBlur,placeholder:n.placeholder,autoComplete:n.autoComplete||"off",type:n.type||"text",value:n.value,autoFocus:n.autoFocus})})}])},73319,e=>{"use strict";let t=e=>"[object Object]"===Object.prototype.toString.call(e);e.s(["extractQuery",0,e=>decodeURIComponent(e||[])?.split(",")?.filter(Boolean),"isObject",0,t,"isTruthy",0,e=>!(!e||null==e||t(e)&&!Object.keys(e).length||Array.isArray(e)&&!e.length)])},69211,e=>{"use strict";var t=e.i(91398),a=e.i(58021),r=e.i(60170);e.s(["default",0,({form:e,children:s,className:l="",...i})=>(0,t.jsx)(r.default.Provider,{value:e,children:(0,t.jsx)(a.FormProvider,{...e.rhf,children:(0,t.jsx)("form",{onReset:()=>e.api.handleReset(),onSubmit:e.api.handleSubmit,method:"POST",className:l,...i,children:s})})})])},60741,e=>{"use strict";var t=e.i(91788),a=e.i(69322),r=e.i(58021),s=e.i(82226),l=e.i(61898);e.s(["default",0,e=>{let i=(0,a.useIntl)(),{rhf:o,...n}=(0,l.default)(),{name:d,required:u,errorMessage:c,disabled:f=n.disabled||o?.formState?.isSubmitting,label:m=i.formatMessage({id:d,defaultMessage:"default_input_name",description:"DO not translate Skip this as it's the default given label when a component is not provided explicit label"}),validators:p=[]}=e,g=[...p,u&&s.validateRequired].filter(Boolean),b=e=>g.reduce((t,{isValid:a,intlMessageDescriptor:r,intlMessageValues:s})=>t||a(e)?t:c||i.formatMessage(r,{label:m,...s}),""),h=(0,t.useRef)(b);h.current=b;let{field:x,fieldState:y,formState:v}=(0,r.useController)({name:d,control:o?.control,rules:{validate:e=>h.current(e)||!0}}),_=(y.isTouched||v.isSubmitted)&&y.error?.message;return{...e,name:d,error:_,label:m,disabled:f,required:u,onChange:t=>{if(e.onChange&&e.onChange(t),"number"===e.type){let e=t?.target?.value,a=""===e||null==e?null:Number(e);x.onChange(a)}else x.onChange(t)},onBlur:x.onBlur,value:null==x.value?"":x.value,setValue:(e,t)=>{o?.setValue(d,e,{shouldDirty:!0,shouldValidate:t??!1})},setError:e=>{e?o?.setError(d,{type:"manual",message:e}):o?.clearErrors(d)},setTouched:e=>{e&&o?.trigger(d)}}}])},98949,e=>{"use strict";var t=e.i(91788),a=e.i(58021),r=e.i(69322),s=e.i(28401),l=e.i(73319);let i=e=>""===e||"string"==typeof e&&e?.trim()===""?null:"string"==typeof e&&e.length?e.trim():Array.isArray(e)&&e?.length&&"string"==typeof e[0]?e.map(e=>i(e)):Array.isArray(e)&&e?.length&&(0,l.isObject)(e[0])?e.map(e=>Object.fromEntries(Object.entries(e).map(([e,t])=>[e,i(t)]))):e,o=e=>e&&"object"==typeof e?"string"==typeof e.message&&e.message?e.message:Array.isArray(e)?e.map(e=>o(e)):Object.fromEntries(Object.entries(e).filter(([e])=>"ref"!==e).map(([e,t])=>[e,o(t)])):e;e.s(["default",0,({submit:e,getSubmitErrorMessage:l=()=>"",onSubmitSuccess:n=()=>!0,initialValues:d,initialErrors:u,initialTouched:c,successMessage:f,enableReinitialize:m,validate:p,disabled:g=!1})=>{let b=(0,r.useIntl)(),[h,x]=(0,t.useState)(""),y=(0,a.useForm)({mode:"onTouched",defaultValues:d,values:m?d:void 0,errors:u?Object.fromEntries(Object.entries(u).map(([e,t])=>[e,{type:"manual",message:t}])):void 0}),v=(0,t.useCallback)(e=>{let t=e?.errors?.[0];return b.formatMessage({id:"error_server",defaultMessage:"{details}"},{details:t?.message||""})},[b]),_=(0,t.useCallback)(async t=>{let a=!0;try{let r=await e(Object.fromEntries(Object.entries(t).map(([e,t])=>[e,i(t)]))),o=("boolean"==typeof r?r:r?.success)??!r?.error;if(o)f&&s.toast.success(f),await n(o,r?.data||t);else{let e="boolean"==typeof r?!r:r?.error;Array.isArray(e)?e.forEach(e=>{a=!1,x(l(e)||v(e))}):(a=!1,x(l(e)||v(e)))}}catch(e){a=!1,x(l(e)||v(e))}a&&x("")},[e,f,n,l,v]);return{submitError:h,api:(0,t.useMemo)(()=>({setFieldError:(e,t)=>{y.setError(e,{type:"manual",message:t})},setFieldValue:(e,t)=>{y.setValue(e,t,{shouldDirty:!0,shouldTouch:!0})},setValues:e=>{y.reset(e,{keepDirtyValues:!1,keepErrors:!1})},get values(){return y.getValues()},get isValid(){return y.formState.isValid},get isSubmitting(){return y.formState.isSubmitting},handleSubmit:y.handleSubmit(_),handleReset:()=>{y.reset()},resetForm:e=>{y.reset(e||d)},submitForm:()=>{y.handleSubmit(_)()},getFieldMeta:e=>{let t=y.getFieldState(e,y.formState);return{error:t.error?.message,touched:t.isTouched}},get initialValues(){return d},get errors(){return o(y.formState.errors)}}),[y,_,d]),rhf:y,setSubmitError:x,disabled:g}}],98949)},61898,e=>{"use strict";var t=e.i(91788),a=e.i(60170);e.s(["default",0,()=>(0,t.useContext)(a.default)])},60170,e=>{"use strict";let t=e.i(91788).default.createContext({submitError:"",rhf:null,api:null,setSubmitError:()=>{},disabled:!1});e.s(["default",0,t])},82226,e=>{"use strict";var t=e.i(73663),a=e.i(12051),r=e.i(35113),s=e.i(9356),l=e.i(49543);e.i(69322);let i=["AD","AE","AF","AG","AI","AL","AM","AN","AO","AQ","AR","AS","AT","AU","AW","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BR","BS","BT","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CR","CU","CV","CX","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","ER","ES","ET","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GH","GI","GL","GM","GN","GQ","GR","GT","GU","GW","GY","HK","HN","HR","HT","HU","ID","IE","IL","IM","IN","IQ","IR","IS","IT","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NG","NI","NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PT","PW","PY","QA","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SK","SL","SM","SN","SO","SR","ST","SV","SY","SZ","TC","TD","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","XK","YE","YT","ZA","ZM","ZW"],o=["ab","aa","af","ak","sq","am","ar","an","hy","as","av","ae","ay","az","bm","ba","eu","be","bn","bh","bi","bs","br","bg","my","ca","ch","ce","ny","zh","cv","kw","co","cr","hr","cs","da","dv","nl","en","eo","et","ee","fo","fj","fi","fr","ff","gl","ka","de","el","gn","gu","ht","ha","he","hz","hi","ho","hu","ia","id","ie","ga","ig","ik","io","is","it","iu","ja","jv","kl","kn","kr","ks","kk","km","ki","rw","ky","kv","kg","ko","ku","kj","la","lb","lg","li","ln","lo","lt","lu","lv","gv","mk","mg","ms","ml","mt","mi","mr","mh","mn","na","nv","nb","nd","ne","ng","nn","no","ii","nr","oc","oj","cu","om","or","os","pa","pi","fa","pl","ps","pt","qu","rm","rn","ro","ru","sa","sc","sd","se","sm","sg","sr","gd","sn","si","sk","sl","so","st","es","su","sw","ss","sv","ta","te","tg","th","ti","bo","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","cy","wo","fy","xh","yi","yo","za"];e.s(["isContractAddress",0,(e=!1)=>({isValid:t=>!e&&!t||/^(0x)?[a-z0-9]{40}$/i.test(t),intlMessageDescriptor:{id:"error_contract_address",defaultMessage:"Invalid contract address"}}),"validateBirthdate",0,{isValid:e=>{if(!e)return!0;let t=new Date(e);if(!(0,s.isValid)(t))return!1;let a=(0,l.startOfDay)(new Date);return!(+(0,r.toDate)(t)>+(0,r.toDate)(a))},intlMessageDescriptor:{id:"error_birthdate_in_future",defaultMessage:"{label} cannot be in the future"}},"validateCountry",0,()=>({isValid:e=>i.includes(e.toUpperCase()),intlMessageDescriptor:{id:"error_country_code",defaultMessage:"Invalid country code"}}),"validateDate",0,{isValid:e=>!e||(0,s.isValid)(new Date(e)),intlMessageDescriptor:{id:"error_invalid_date",defaultMessage:"{label} is not a valid date"}},"validateEmail",0,{isValid:e=>(0,a.default)(e||""),intlMessageDescriptor:{id:"error_email",defaultMessage:"{label} must be a valid email address"}},"validateInteger",0,()=>({isValid:e=>null==e||""===e||!Number.isNaN(e)&&Number.isInteger(Number(e)),intlMessageDescriptor:{id:"error_number_not_int",defaultMessage:"Invalid value please provide integer value"}}),"validateLanguage",0,()=>({isValid:e=>o.includes(e?.toLowerCase()),intlMessageDescriptor:{id:"error_language_code",defaultMessage:"Invalid language code"}}),"validateMaxLength",0,e=>({isValid:a=>(0,t.default)(a||"",{max:e}),intlMessageDescriptor:{id:"error_max_length"},intlMessageValues:{maxLength:e.toString()}}),"validateProductCommerce",0,(e,t)=>({isValid:()=>{let a="function"==typeof t?t():t;if(!a?.length||a?.length===1)return!0;let r=a[e];return a.filter((t,a)=>a!==e).every(({minQuantity:e,countryCode:t,currencyCode:a})=>e!==r?.minQuantity||t!==r?.countryCode||a!==r?.currencyCode)},intlMessageDescriptor:{id:"error_same_product_prices",defaultMessage:"{label} can not be equal for a price with the same country and currency"}}),"validateProductCommerceOneZero",0,e=>({isValid:()=>{let t="function"==typeof e?e():e;if(!t?.length)return!0;let a=e=>null===e||""===e||void 0===e||0===Number(e);return(1!==t.length||!!a(t[0].minQuantity))&&t.filter(({minQuantity:e})=>a(e))?.length===1},intlMessageDescriptor:{id:"error_commerce_quantity_null_required",defaultMessage:"{label} should have one price with min quantity of 0 or empty"}}),"validateRequired",0,{isValid:e=>"string"==typeof e?e.trim().length>0:"number"==typeof e||(Array.isArray(e)?e.length>0:!!e),intlMessageDescriptor:{id:"error_required",defaultMessage:"{label} is a required field"}},"validateRequiredTag",0,e=>({isValid:t=>!e||t.length>0,intlMessageDescriptor:{id:"error_tag_required",defaultMessage:"{label} you must provide at least one tag"}})],82226)},54021,e=>{"use strict";var t=e.i(91398),a=e.i(3828);e.i(51523);var r=e.i(19518),s=e.i(69322),l=e.i(98949),i=e.i(69211),o=e.i(16984),n=e.i(10685),d=e.i(97776),u=e.i(57243),c=e.i(56985),f=e.i(35429),m=e.i(63094),p=e.i(82226);let g=({onSubmit:e,onSubmitSuccess:r})=>{let{formatMessage:g}=(0,s.useIntl)(),b=(0,a.useRouter)(),h=g({id:"user_profile_created",defaultMessage:"User profile created successfully!"}),x=(0,l.default)({submit:e,onSubmitSuccess:r,getSubmitErrorMessage:e=>(e?.message?.toLowerCase().includes("email already exists")&&x.api.setFieldError("email",g({id:"email_already_exists_error",defaultMessage:"Email already exists"})),""),successMessage:h,initialValues:{displayName:"",gender:"",birthday:new Date,phoneMobile:"",email:"",password:"",firstName:"",lastName:"",company:"",addressLine:"",addressLine2:"",postalCode:"",regionCode:"",countryCode:"",city:""}}),y=()=>{b.back()};return(0,t.jsx)(i.default,{form:x,className:"max-w-6xl",children:(0,t.jsxs)("div",{className:"space-y-4 overflow-hidden rounded-md lg:grid lg:grid-cols-3",children:[(0,t.jsxs)("div",{className:"flex justify-between pt-5 sm:col-span-1",children:[(0,t.jsxs)("div",{className:"space-y-1",children:[(0,t.jsx)("h3",{className:"text-lg text-text-primary",children:g({id:"profile",defaultMessage:"Profile"})}),(0,t.jsx)("p",{className:"divide-y divide-slate-200 dark:divide-slate-700 dark:text-slate-400 mr-4",children:g({id:"profile_notice",defaultMessage:"This information will be displayed publicly so be careful what you share."})})]}),(0,t.jsx)("span",{className:"ml-4 flex shrink-0 items-start space-x-4"})]}),(0,t.jsxs)("div",{className:"mt-1 rounded-md border-border-default bg-surface pt-5 shadow-sm dark:shadow-none lg:col-span-2",children:[(0,t.jsxs)("div",{className:"px-6 space-y-4",children:[(0,t.jsx)("div",{children:(0,t.jsx)(u.default,{className:"mt-0 w-full",name:"email",required:!0,label:g({id:"email",defaultMessage:"Email"})})}),(0,t.jsx)("div",{children:(0,t.jsx)(c.default,{className:"mt-0 w-full",name:"password",label:g({id:"password",defaultMessage:"Password"})})}),(0,t.jsx)("div",{children:(0,t.jsx)(o.default,{className:"mt-0 w-full",name:"displayName",label:g({id:"display_name",defaultMessage:"Display name"})})}),(0,t.jsx)("div",{children:(0,t.jsx)(n.default,{className:"mt-0 w-full",label:g({id:"gender",defaultMessage:"Gender"}),name:"gender",options:{M:g({id:"male",defaultMessage:"Male"}),F:g({id:"female",defaultMessage:"Female"})}})}),(0,t.jsx)("div",{children:(0,t.jsx)(d.default,{label:g({id:"birthday",defaultMessage:"Birthday"}),className:"mt-0 w-full",name:"birthday",validators:[p.validateBirthdate]})}),(0,t.jsx)("div",{children:(0,t.jsx)(o.default,{className:"mt-0 w-full",name:"phoneMobile",label:g({id:"mobile_phone",defaultMessage:"Mobile phone"})})})]}),(0,t.jsxs)("div",{className:"border-t-slate-100 border-t border-t-border-subtle bg-surface mt-5 pr-5",children:[(0,t.jsx)(m.default,{}),(0,t.jsx)(f.default,{className:"justify-end",onCancel:y})]})]}),(0,t.jsx)("div",{className:"mb-6 w-full lg:col-span-3"}),(0,t.jsx)("div",{className:"flex justify-between pt-6 lg:col-span-1",children:(0,t.jsxs)("div",{className:"space-y-1",children:[(0,t.jsx)("h3",{className:"text-lg text-text-primary",children:g({id:"address",defaultMessage:"Address"})}),(0,t.jsx)("p",{className:"divide-y divide-slate-200 dark:divide-slate-700 dark:text-slate-400 mr-4",children:g({id:"address_notice",defaultMessage:"This information will be displayed publicly so be careful what you share."})})]})}),(0,t.jsxs)("div",{className:"rounded-md bg-surface pt-5 mb-5 shadow-sm dark:shadow-none lg:col-span-2",children:[(0,t.jsxs)("div",{className:"px-5 space-y-4",children:[(0,t.jsx)("div",{className:"mt-1 flex text-sm sm:mt-0",children:(0,t.jsxs)("div",{className:"flex w-full",children:[(0,t.jsx)(o.default,{className:"mt-0 w-full",name:"firstName",label:g({id:"first_name",defaultMessage:"First name"})}),(0,t.jsx)(o.default,{className:"ml-2 mt-0 w-full",name:"lastName",label:g({id:"last_Name",defaultMessage:"Last name"})})]})}),(0,t.jsx)("div",{children:(0,t.jsx)(o.default,{className:"mt-0 w-full",name:"company",label:g({id:"company",defaultMessage:"Company"})})}),(0,t.jsx)("div",{children:(0,t.jsx)(o.default,{className:"mt-0 w-full",name:"addressLine",label:g({id:"address_line_1",defaultMessage:"Address line 1 (Street, House no)"})})}),(0,t.jsx)("div",{children:(0,t.jsx)(o.default,{className:"mt-0 w-full",name:"addressLine2",label:g({id:"address_line_2",defaultMessage:"Address line 2"})})}),(0,t.jsxs)("div",{className:"grid grid-cols-1 gap-x-4 sm:grid-cols-2 space-y-4 sm:space-y-0",children:[(0,t.jsx)("div",{children:(0,t.jsx)(o.default,{className:"mt-0 w-full",name:"regionCode",label:g({id:"region_Code",defaultMessage:"Region"})})}),(0,t.jsx)("div",{children:(0,t.jsx)(o.default,{className:"mt-0 w-full",name:"postalCode",label:g({id:"postal_code",defaultMessage:"Postal/ZIP code"})})})]}),(0,t.jsxs)("div",{className:"grid grid-cols-1 gap-x-4 sm:grid-cols-2 space-y-4 sm:space-y-0",children:[(0,t.jsx)("div",{children:(0,t.jsx)(o.default,{className:"mt-0 w-full",name:"city",label:g({id:"city",defaultMessage:"City"})})}),(0,t.jsx)("div",{children:(0,t.jsx)(o.default,{className:"mt-0 w-full",name:"countryCode",label:g({id:"country_code",defaultMessage:"Country code"})})})]})]}),(0,t.jsx)("div",{className:"border-t border-border-subtle bg-surface mt-5 pr-5",children:(0,t.jsx)(f.default,{className:"justify-end",onCancel:y})})]})]})})};var b=e.i(50595),h=e.i(25327),x=e.i(58971),y=e.i(59080),v=e.i(76204);let _=y.gql`
2
+ mutation EnrollUser(
3
+ $email: String!
4
+ $plainPassword: String
5
+ $profile: UserProfileInput!
6
+ ) {
7
+ enrollUser(email: $email, password: $plainPassword, profile: $profile) {
8
+ _id
9
+ }
10
+ }
11
+ `;e.s(["default",0,()=>{let{formatMessage:e}=(0,s.useIntl)(),{enrollUser:l}=(()=>{let[e,{data:t,error:a,loading:r}]=(0,v.useMutation)(_);return{enrollUser:async({email:t,password:a,profile:r})=>{let s={email:t,profile:r,plainPassword:null};return s.plainPassword=a,e({variables:s,refetchQueries:["Users"]})},newUser:t?.enrollUser,error:a,loading:r}})(),{hasRole:i}=(0,x.default)(),o=(0,a.useRouter)(),n=async e=>{let{phoneMobile:t,birthday:a,gender:r,password:s,email:i,displayName:o}=e,{firstName:n,lastName:d,company:u,addressLine:c,addressLine2:f,postalCode:m,regionCode:p,countryCode:g,city:b}=e;return await l({email:i,password:s,profile:{displayName:o,phoneMobile:t,birthday:a,gender:r,address:{firstName:n,lastName:d,company:u,addressLine:c,addressLine2:f,postalCode:m,regionCode:p,countryCode:g,city:b}}})};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(b.default,{}),(0,t.jsx)(h.default,{headerText:e({id:"new_user_header",defaultMessage:"New user"})}),(0,t.jsx)("div",{className:"mt-6",children:(0,t.jsx)(g,{onSubmit:n,onSubmitSuccess:(e,{enrollUser:t})=>{i(r.IRoleAction.ViewUser)&&o.replace(`/users?userId=${t?._id}`)}})})]})}],54021)},75186,(e,t,a)=>{let r="/users/new";(window.__NEXT_P=window.__NEXT_P||[]).push([r,()=>e.r(54021)]),t.hot&&t.hot.dispose(function(){window.__NEXT_P.push([r])})},28805,e=>{e.v(t=>Promise.all(["static/chunks/0h0r_q6xa9qr_.js"].map(t=>e.l(t))).then(()=>t(79466)))},48761,e=>{e.v(t=>Promise.all(["static/chunks/1ae-9ft5cgojf.js"].map(t=>e.l(t))).then(()=>t(93594)))},13521,(e,t,a)=>{"use strict";e.i(50461),Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"ImageConfigContext",{enumerable:!0,get:function(){return l}});let r=e.r(41705)._(e.r(91788)),s=e.r(15125),l=r.default.createContext(s.imageConfigDefault)},15125,(e,t,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0});var r={VALID_LOADERS:function(){return l},imageConfigDefault:function(){return i}};for(var s in r)Object.defineProperty(a,s,{enumerable:!0,get:r[s]});let l=["default","imgix","cloudinary","akamai","custom"],i={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],path:"/_next/image",loader:"default",loaderFile:"",domains:[],disableStaticImages:!1,minimumCacheTTL:14400,formats:["image/webp"],maximumDiskCacheSize:void 0,maximumRedirects:3,maximumResponseBody:5e7,dangerouslyAllowLocalIP:!1,dangerouslyAllowSVG:!1,contentSecurityPolicy:"script-src 'none'; frame-src 'none'; sandbox;",contentDispositionType:"attachment",localPatterns:void 0,remotePatterns:[],qualities:[75],unoptimized:!1,customCacheHandler:!1}},78262,(e,t,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.default=function(e){if(null==e)throw TypeError("Expected a string but received a ".concat(e));if("String"!==e.constructor.name)throw TypeError("Expected a string but received a ".concat(e.constructor.name))},t.exports=a.default,t.exports.default=a.default},73663,(e,t,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.default=function(e,t){(0,s.default)(e),"object"===l(t)?(a=t.min||0,r=t.max):(a=arguments[1]||0,r=arguments[2]);var a,r,i=e.match(/[^\uFE0F\uFE0E][\uFE0F\uFE0E]/g)||[],o=e.match(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g)||[],n=e.length-i.length-o.length,d=n>=a&&(void 0===r||n<=r);return d&&Array.isArray(null==t?void 0:t.discreteLengths)?t.discreteLengths.some(function(e){return e===n}):d};var r,s=(r=e.r(78262))&&r.__esModule?r:{default:r};function l(e){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}t.exports=a.default,t.exports.default=a.default},80930,(e,t,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.default=function(e,t){for(var a=0;a<t.length;a++){var r=t[a];if(e===r||"[object RegExp]"===Object.prototype.toString.call(r)&&r.test(e))return!0}return!1},t.exports=a.default,t.exports.default=a.default},60054,(e,t,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.default=function(e,t){(0,s.default)(e),"object"===l(t)?(a=t.min||0,r=t.max):(a=arguments[1],r=arguments[2]);var a,r,i=encodeURI(e).split(/%..|./).length-1;return i>=a&&(void 0===r||i<=r)};var r,s=(r=e.r(78262))&&r.__esModule?r:{default:r};function l(e){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}t.exports=a.default,t.exports.default=a.default},34058,(e,t,a)=>{"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(a,"__esModule",{value:!0}),a.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;for(var a in("object"!==r(e)||null===e)&&(e={}),t)void 0===e[a]&&(e[a]=t[a]);return e},t.exports=a.default,t.exports.default=a.default},96184,(e,t,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.default=function(e,t){(0,r.default)(e),(t=(0,s.default)(t,i)).allow_trailing_dot&&"."===e[e.length-1]&&(e=e.substring(0,e.length-1)),!0===t.allow_wildcard&&0===e.indexOf("*.")&&(e=e.substring(2));var a=e.split("."),l=a[a.length-1];return!(t.require_tld&&(a.length<2||!t.allow_numeric_tld&&!/^([a-z\u00A1-\u00A8\u00AA-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}|xn[a-z0-9-]{2,})$/i.test(l)||/\s/.test(l)))&&!(!t.allow_numeric_tld&&/^\d+$/.test(l))&&a.every(function(e){return!(e.length>63&&!t.ignore_max_length||!/^[a-z_\u00a1-\uffff0-9-]+$/i.test(e)||/[\uff01-\uff5e]/.test(e)||/^-|-$/.test(e)||!t.allow_underscores&&/_/.test(e))})};var r=l(e.r(78262)),s=l(e.r(34058));function l(e){return e&&e.__esModule?e:{default:e}}var i={require_tld:!0,allow_underscores:!1,allow_trailing_dot:!1,allow_numeric_tld:!1,allow_wildcard:!1,ignore_max_length:!1};t.exports=a.default,t.exports.default=a.default},90498,(e,t,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.default=function e(t){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,s.default)(t);var r=("object"===l(a)?a.version:arguments[1])||"";return r?"4"===r.toString()?n.test(t):"6"===r.toString()&&u.test(t):e(t,{version:4})||e(t,{version:6})};var r,s=(r=e.r(78262))&&r.__esModule?r:{default:r};function l(e){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var i="(?:[0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])",o="(".concat(i,"[.]){3}").concat(i),n=new RegExp("^".concat(o,"$")),d="(?:[0-9a-fA-F]{1,4})",u=RegExp("^("+"(?:".concat(d,":){7}(?:").concat(d,"|:)|")+"(?:".concat(d,":){6}(?:").concat(o,"|:").concat(d,"|:)|")+"(?:".concat(d,":){5}(?::").concat(o,"|(:").concat(d,"){1,2}|:)|")+"(?:".concat(d,":){4}(?:(:").concat(d,"){0,1}:").concat(o,"|(:").concat(d,"){1,3}|:)|")+"(?:".concat(d,":){3}(?:(:").concat(d,"){0,2}:").concat(o,"|(:").concat(d,"){1,4}|:)|")+"(?:".concat(d,":){2}(?:(:").concat(d,"){0,3}:").concat(o,"|(:").concat(d,"){1,5}|:)|")+"(?:".concat(d,":){1}(?:(:").concat(d,"){0,4}:").concat(o,"|(:").concat(d,"){1,6}|:)|")+"(?::((?::".concat(d,"){0,5}:").concat(o,"|(?::").concat(d,"){1,7}|:))")+")(%[0-9a-zA-Z.]{1,})?$");t.exports=a.default,t.exports.default=a.default},12051,(e,t,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.default=function(e,t){if((0,r.default)(e),(t=(0,n.default)(t,u)).require_display_name||t.allow_display_name){var a=e.match(c);if(a){var d,h,x=a[1];if(e=e.replace(x,"").replace(/(^<|>$)/g,""),x.endsWith(" ")&&(x=x.slice(0,-1)),!(!(!(h=(d=x).replace(/^"(.+)"$/,"$1")).trim()||/[\.";<>]/.test(h)&&(h===d||h.split('"').length!==h.split('\\"').length))&&1))return!1}else if(t.require_display_name)return!1}if(!t.ignore_max_length&&e.length>254)return!1;var y=e.split("@"),v=y.pop(),_=v.toLowerCase();if(t.host_blacklist.length>0&&(0,s.default)(_,t.host_blacklist)||t.host_whitelist.length>0&&!(0,s.default)(_,t.host_whitelist))return!1;var j=y.join("@");if(t.domain_specific_validation&&("gmail.com"===_||"googlemail.com"===_)){var w=(j=j.toLowerCase()).split("+")[0];if(!(0,l.default)(w.replace(/\./g,""),{min:6,max:30}))return!1;for(var M=w.split("."),N=0;N<M.length;N++)if(!m.test(M[N]))return!1}if(!1===t.ignore_max_length&&(!(0,l.default)(j,{max:64})||!(0,l.default)(v,{max:254})))return!1;if(!(0,i.default)(v,{require_tld:t.require_tld,ignore_max_length:t.ignore_max_length,allow_underscores:t.allow_underscores})){if(!t.allow_ip_domain)return!1;if(!(0,o.default)(v)){if(!v.startsWith("[")||!v.endsWith("]"))return!1;var S=v.slice(1,-1);if(0===S.length||!(0,o.default)(S))return!1}}if(t.blacklisted_chars&&-1!==j.search(RegExp("[".concat(t.blacklisted_chars,"]+"),"g")))return!1;if('"'===j[0]&&'"'===j[j.length-1])return j=j.slice(1,j.length-1),t.allow_utf8_local_part?b.test(j):p.test(j);for(var C=t.allow_utf8_local_part?g:f,k=j.split("."),F=0;F<k.length;F++)if(!C.test(k[F]))return!1;return!0};var r=d(e.r(78262)),s=d(e.r(80930)),l=d(e.r(60054)),i=d(e.r(96184)),o=d(e.r(90498)),n=d(e.r(34058));function d(e){return e&&e.__esModule?e:{default:e}}var u={allow_display_name:!1,allow_underscores:!1,require_display_name:!1,allow_utf8_local_part:!0,require_tld:!0,blacklisted_chars:"",ignore_max_length:!1,host_blacklist:[],host_whitelist:[]},c=/^([^\x00-\x1F\x7F-\x9F\cX]+)</i,f=/^[a-z\d!#\$%&'\*\+\-\/=\?\^_`{\|}~]+$/i,m=/^[a-z\d]+$/,p=/^([\s\x01-\x08\x0b\x0c\x0e-\x1f\x7f\x21\x23-\x5b\x5d-\x7e]|(\\[\x01-\x09\x0b\x0c\x0d-\x7f]))*$/i,g=/^[a-z\d!#\$%&'\*\+\-\/=\?\^_`{\|}~\u00A1-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+$/i,b=/^([\s\x01-\x08\x0b\x0c\x0e-\x1f\x7f\x21\x23-\x5b\x5d-\x7e\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]|(\\[\x01-\x09\x0b\x0c\x0d-\x7f\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))*$/i;t.exports=a.default,t.exports.default=a.default}]);
@@ -0,0 +1,116 @@
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,11255,(e,t,r)=>{let s="/assortments/AssortmentDetailPage";(window.__NEXT_P=window.__NEXT_P||[]).push([s,()=>e.r(98568)]),t.hot&&t.hot.dispose(function(){window.__NEXT_P.push([s])})},83788,e=>{"use strict";var t=e.i(91398),r=e.i(91788),s=e.i(86201);class a extends r.default.Component{constructor(e){super(e),this.state={hasError:!1,error:null}}static getDerivedStateFromError(e){return{hasError:!0,error:e}}componentDidCatch(e,t){console.error({error:e,errorInfo:t})}render(){return this.state.hasError?(0,t.jsx)(s.default,{error:this.state.error,resetError:()=>this.setState({hasError:!1,error:null})}):this.props.children}}e.s(["default",0,a])},86201,e=>{"use strict";var t=e.i(91398),r=e.i(41158),s=e.i(69322),a=e.i(5505);e.s(["default",0,({error:e=null,resetError:l=null})=>{let{formatMessage:i}=(0,s.useIntl)();return(0,t.jsx)("div",{className:"flex min-h-screen items-center justify-center py-12 px-4 sm:px-6 lg:px-8",children:(0,t.jsxs)("div",{className:"w-full max-w-md space-y-4 text-center",children:[(0,t.jsx)("div",{children:(0,t.jsx)("h2",{className:"text-center text-3xl text-text-primary",children:i({id:"internal_server_error",defaultMessage:"500 Internal Server Error"})})}),(0,t.jsx)(a.default,{children:(0,t.jsxs)("div",{className:"space-y-6 px-4 pb-5 pt-3 sm:rounded-lg sm:px-10",children:[(0,t.jsxs)("div",{className:"text-center",children:[(0,t.jsx)("div",{className:"mx-auto flex h-12 w-12 items-center justify-center rounded-full bg-rose-100 dark:bg-rose-900",children:(0,t.jsx)("svg",{className:"h-6 w-6 text-danger",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","aria-hidden":"true",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-2.5L13.732 4c-.77-.833-1.964-.833-2.732 0L3.732 16.5c-.77.833.192 2.5 1.732 2.5z"})})}),(0,t.jsx)("p",{className:"mt-4 text-sm font-semibold uppercase tracking-wide text-danger",children:i({id:"error_500",defaultMessage:"500 Error"})}),(0,t.jsx)("p",{className:"mt-2 text-base text-text-muted",children:i({id:"internal_server_error_message",defaultMessage:"Sorry, something went wrong on our end. We are working to fix this."})}),e?.message&&(0,t.jsxs)("details",{className:"mt-4 text-left",children:[(0,t.jsx)("summary",{className:"cursor-pointer text-sm text-text-secondary hover:text-slate-800 dark:hover:text-slate-300",children:i({id:"show_error_details",defaultMessage:"Show error details"})}),(0,t.jsx)("pre",{className:"mt-2 text-xs text-text-muted whitespace-pre-wrap break-all",children:e?.message})]})]}),(0,t.jsxs)("div",{className:"flex flex-col gap-3 mt-6",children:[(0,t.jsxs)(r.default,{href:"/",className:"group relative flex w-full justify-center rounded-md border border-transparent bg-accent py-2 px-4 text-sm font-medium text-text-on-accent hover:bg-accent-hover focus:outline-hidden focus:ring-2 focus:ring-focus-ring focus:ring-offset-2",children:[(0,t.jsx)("span",{className:"absolute inset-y-0 left-0 flex items-center pl-3",children:(0,t.jsx)("svg",{className:"h-5 w-5 text-white group-hover:text-slate-200",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",children:(0,t.jsx)("path",{fillRule:"evenodd",d:"M9.707 16.707a1 1 0 01-1.414 0l-6-6a1 1 0 010-1.414l6-6a1 1 0 011.414 1.414L5.414 9H17a1 1 0 110 2H5.414l4.293 4.293a1 1 0 010 1.414z",clipRule:"evenodd"})})}),i({id:"back_to_home",defaultMessage:"Back to Home"})]}),l&&(0,t.jsxs)("button",{type:"button",onClick:l,className:"group relative flex w-full justify-center rounded-md border border-slate-300 bg-surface-raised dark:border-slate-600 py-2 px-4 text-sm font-medium text-text-secondary hover:bg-surface-raised focus:outline-hidden focus:ring-2 focus:ring-focus-ring dark:focus:ring-focus-ring focus:ring-offset-2",children:[(0,t.jsx)("span",{className:"absolute inset-y-0 left-0 flex items-center pl-3",children:(0,t.jsx)("svg",{className:"h-5 w-5 text-text-muted group-hover:text-slate-600 dark:group-hover:text-slate-300",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:"M4 2a1 1 0 011 1v2.101a7.002 7.002 0 0111.601 2.566 1 1 0 11-1.885.666A5.002 5.002 0 005.999 7H9a1 1 0 010 2H4a1 1 0 01-1-1V3a1 1 0 011-1zm.008 9.057a1 1 0 011.276.61A5.002 5.002 0 0014.001 13H11a1 1 0 110-2h5a1 1 0 011 1v5a1 1 0 11-2 0v-2.101a7.002 7.002 0 01-11.601-2.566 1 1 0 01.61-1.276z",clipRule:"evenodd"})})}),i({id:"try_again",defaultMessage:"Try Again"})]})]})]})})]})})}])},35429,e=>{"use strict";var t=e.i(91398),r=e.i(56206),s=e.i(69322),a=e.i(21128);e.s(["default",0,({cancelText:e=null,showCancel:l=!0,submitText:i=null,showSubmit:n=!0,onCancel:d,className:o=""})=>{let{formatMessage:u}=(0,s.useIntl)();return(0,t.jsxs)("span",{className:(0,r.default)("flex shrink-0 items-center space-x-4 py-5 pl-1",o),children:[l?(0,t.jsx)("button",{onClick:d,"data-id":"cancel_update",type:"button",className:(0,r.default)("focus:ring-focus-ring","inline-flex items-center rounded-md border border-border-default bg-surface px-4 py-2 text-sm font-medium text-text-secondary shadow-xs hover:bg-surface-raised focus:outline-hidden focus:ring-2 focus:ring-focus-ring focus:ring-offset-2"),children:e||u({id:"cancel",defaultMessage:"Cancel"})}):null,n?(0,t.jsx)(a.default,{label:i||u({id:"save",defaultMessage:"Save"})}):null]})}])},34948,e=>{"use strict";var t=e.i(91398),r=e.i(69322),s=e.i(6607),a=e.i(42469),l=e.i(69211),i=e.i(13120),n=e.i(98949),d=e.i(35429);let o=({tags:e,onSubmit:s,onCancel:a,selectOptions:o=[]})=>{let{formatMessage:u}=(0,r.useIntl)(),c=u({id:"tags_updated",defaultMessage:"Tags updated successfully"}),f=(0,n.default)({submit:s,successMessage:c,onSubmitSuccess:a,initialValues:{tags:e}});return(0,t.jsxs)(l.default,{form:f,id:"add_tag_form",children:[(0,t.jsx)("div",{children:(0,t.jsx)(i.default,{name:"tags",id:"tags",label:u({id:"tags",defaultMessage:"Tags"}),tagList:e,selectOptions:o})}),(0,t.jsx)("div",{className:"border border-t-slate-100 bg-slate-50 mt-6 -mx-6 -mb-6 px-6 dark:bg-slate-900 dark:border-0",children:(0,t.jsx)(d.default,{onCancel:a,className:"justify-end "})})]})};e.s(["default",0,({defaultValue:e,onSubmit:l,enableEdit:i,availableTagOptions:n=[]})=>{let{formatMessage:d}=(0,r.useIntl)(),{setModal:u}=(0,s.default)();return(0,t.jsxs)("div",{className:"flex items-center mr-auto gap-2",children:[(0,t.jsx)("div",{className:"flex flex-wrap items-center gap-2",children:e?.length?e.map((e,r)=>(0,t.jsx)("span",{children:(0,t.jsx)(a.default,{text:e,color:"sky"})},`${e}${r+1}`)):(0,t.jsx)("span",{children:(0,t.jsx)(a.default,{text:d({id:"no_tag",defaultMessage:"No Tag"}),color:"slate"})})}),i&&(0,t.jsx)("button",{id:"add_tag",type:"button",className:"rounded-sm hover:shadow-sm px-3 py-2 text-xs inline-flex items-center justify-center text-slate-800 hover:text-slate-900 hover:bg-slate-50 hover:border border-transparent border-1 hover:border-slate-300 dark:text-slate-400 dark:hover:text-slate-200 dark:hover:bg-slate-800 transition-colors focus:outline-hidden focus:ring-2 focus:ring-focus-ring",onClick:()=>u((0,t.jsx)(o,{tags:e||[],onCancel:()=>u(""),onSubmit:l,selectOptions:n})),children:d({id:"edit_tags",defaultMessage:"Edit tags"})})]})}],34948)},63094,e=>{"use strict";var t=e.i(91398),r=e.i(91788),s=e.i(61898);let a=(e,t="")=>e&&"object"==typeof e?Object.entries(e).reduce((e,[s,l])=>{if(!l||"ref"===s)return e;let i=`${t}${s}`;return"string"==typeof l||r.default.isValidElement(l)?e[i]=l:"string"==typeof l.message&&l.message?e[i]=l.message:"object"==typeof l&&Object.assign(e,a(l,`${i}.`)),e},{}):{},l=({submitError:e="",fieldErrors:s={}})=>(0,t.jsx)("div",{className:"my-2 mb-5 text-rose-700",children:(0,t.jsxs)("ul",{className:"space-y-1",children:[e&&(0,t.jsx)("li",{className:"disabled",children:(0,t.jsx)("span",{dangerouslySetInnerHTML:{__html:e}})},"submitError"),Object.entries(s).map(([e,s])=>(0,t.jsx)("li",{className:"disabled",children:(0,t.jsx)("button",{type:"button",className:"no-button text-danger","aria-label":"Error button",onClick:()=>{let t=document.getElementById(e);t&&t.focus()},children:r.default.isValidElement(s)?s:(0,t.jsx)("span",{dangerouslySetInnerHTML:{__html:s}})})},e))]})});e.s(["default",0,({displayFieldErrors:e=!1})=>{var r;let i,{submitError:n,rhf:d}=(0,s.default)(),o=e?(r=a(d?.formState?.errors),i=new Set,Object.fromEntries(Object.entries(r).filter(([,e])=>"string"!=typeof e||!i.has(e)&&(i.add(e),!0)))):{};return(n||e)&&(0,t.jsx)(l,{submitError:n,fieldErrors:o})}])},83094,e=>{"use strict";var t=e.i(91398),r=e.i(56206),s=e.i(69322),a=e.i(91412),l=e.i(10947),l=l,i=e.i(7654),n=e.i(31858),d=e.i(3812),o=e.i(98634),u=e.i(82226),c=e.i(60741),f=e.i(54879),m=e.i(56779);let x=({selectedView:e="edit",...s})=>"preview"===e?(0,t.jsx)("div",{className:"prose dark:prose-invert",children:(0,t.jsx)(i.default,{rehypePlugins:[n.default,d.default,o.default],children:s.value})}):(0,t.jsx)("textarea",{className:(0,r.default)("relative mt-1 block w-full dark:focus:autofill dark:hover:autofill dark:autofill dark:placeholder:text-slate-400 dark:bg-slate-900 dark:text-slate-200 appearance-none rounded-md border-1 border-border-default px-4 py-2.5 text-sm text-slate-900 placeholder-slate-400 shadow-xs placeholder:text-slate-400 focus:outline-hidden focus:ring-2 focus:ring-focus-ring",s.className,{"border-rose-700 placeholder:text-rose-300 placeholder-rose-300":!!s.error}),disabled:s.disabled,id:s.name,name:s.name,rows:s.rows||10,onChange:s.onChange,onBlur:s.onBlur,placeholder:s.placeholder,autoComplete:s.autoComplete||"off",value:s.value});e.s(["default",0,({maxLength:e,validators:r=[],...i})=>{let{formatMessage:n}=(0,s.useIntl)(),d=(0,c.default)({validators:[...r,e&&(0,u.validateMaxLength)(e)],...i}),o=[{id:"editor",title:n({id:"editor",defaultMessage:"Editor"}),Icon:(0,t.jsx)(l.default,{className:"h-4 w-5"})},{id:"preview",title:n({id:"preview",defaultMessage:"preview"}),Icon:(0,t.jsx)(a.EyeIcon,{className:"h-4 w-5"})}];return(0,t.jsx)(f.default,{...d,children:(0,t.jsx)("div",{className:"-mt-8",children:(0,t.jsx)(m.default,{tabItems:o,defaultTab:"editor",children:(0,t.jsx)(x,{...d})})})})}],83094)},13120,e=>{"use strict";var t=e.i(91398),r=e.i(56206),s=e.i(76038),a=e.i(60741),l=e.i(82226),i=e.i(54879);e.s(["default",0,({buttonText:e="",validators:n=[],selectOptions:d=[],...o})=>{let u=(0,a.default)({validators:[...n,(0,l.validateRequiredTag)(o?.required)],label:"Tags",...o});return(0,t.jsx)(i.default,{...u,children:(0,t.jsx)(s.default,{disabled:u.disabled,id:u.id,name:u.name,className:(0,r.default)({"border-rose-300":!!u.error}),onChange:e=>u.setValue(e,!0),placeholder:u.placeholder,tagList:u.value,buttonText:e,selectOptions:d})})}])},64479,e=>{"use strict";var t=e.i(59080),r=e.i(76204);let s=t.gql`
2
+ mutation ConfirmMediaUpload(
3
+ $mediaUploadTicketId: ID!
4
+ $size: Int!
5
+ $type: String!
6
+ ) {
7
+ confirmMediaUpload(
8
+ mediaUploadTicketId: $mediaUploadTicketId
9
+ size: $size
10
+ type: $type
11
+ ) {
12
+ _id
13
+ name
14
+ type
15
+ size
16
+ url
17
+ }
18
+ }
19
+ `;e.s(["default",0,(e={})=>{let[t]=(0,r.useMutation)(s,e);return{confirmMediaUpload:async({mediaUploadTicketId:e,size:r,type:s})=>t({variables:{mediaUploadTicketId:e,size:r,type:s}})}}])},93994,e=>{"use strict";let t=async(e,t)=>{let r=await fetch(t,{method:"PUT",body:e});return r.ok?Promise.resolve({}):Promise.reject(Error(r.statusText))};e.s(["default",0,t])},80294,e=>{"use strict";var t=e.i(59080);let r=t.gql`
20
+ fragment FilterFragment on Filter {
21
+ _id
22
+ updated
23
+ created
24
+ key
25
+ isActive
26
+ type
27
+ options {
28
+ _id
29
+ texts {
30
+ _id
31
+ title
32
+ subtitle
33
+ locale
34
+ }
35
+ value
36
+ }
37
+ }
38
+ `;e.s(["default",0,r])},54680,e=>{"use strict";var t=e.i(59080),r=e.i(32171),s=e.i(80294);let a=t.gql`
39
+ query Filters(
40
+ $queryString: String
41
+ $limit: Int
42
+ $offset: Int
43
+ $includeInactive: Boolean
44
+ $sort: [SortOptionInput!]
45
+ ) {
46
+ filters(
47
+ queryString: $queryString
48
+ limit: $limit
49
+ offset: $offset
50
+ includeInactive: $includeInactive
51
+ sort: $sort
52
+ ) {
53
+ ...FilterFragment
54
+ texts {
55
+ _id
56
+ title
57
+ subtitle
58
+ locale
59
+ }
60
+ }
61
+ filtersCount(includeInactive: $includeInactive, queryString: $queryString)
62
+ }
63
+ ${s.default}
64
+ `;e.s(["default",0,({queryString:e="",limit:t=20,offset:s=0,includeInactive:l=!0,sort:i=[],forceLocale:n=""}={})=>{let{data:d,loading:o,error:u,fetchMore:c,client:f}=(0,r.useQuery)(a,{context:{headers:{forceLocale:n}},variables:{queryString:e,limit:t,offset:s,includeInactive:l,sort:i}}),m=d?.filters||[],x=d?.filtersCount,g=m?.length<x;return{filters:m,filtersCount:x,hasMore:g,loading:o,error:u,loadMore:()=>{c({variables:{offset:m?.length}})},client:f}}])},54529,e=>{"use strict";var t=e.i(59080);let r=t.gql`
65
+ fragment ProductBriefFragment on Product {
66
+ texts(forceLocale: $forceLocale) {
67
+ _id
68
+ slug
69
+ title
70
+ subtitle
71
+ description
72
+ vendor
73
+ brand
74
+ labels
75
+ locale
76
+ }
77
+ _id
78
+ sequence
79
+ status
80
+ tags
81
+ sequence
82
+ updated
83
+ published
84
+ media {
85
+ _id
86
+ tags
87
+ file {
88
+ _id
89
+ url
90
+ }
91
+ }
92
+ ... on BundleProduct {
93
+ proxies {
94
+ __typename
95
+ }
96
+ }
97
+ ... on SimpleProduct {
98
+ catalogPrice {
99
+ amount
100
+ currencyCode
101
+ }
102
+ proxies {
103
+ __typename
104
+ }
105
+ }
106
+ ... on PlanProduct {
107
+ catalogPrice {
108
+ amount
109
+ currencyCode
110
+ }
111
+ proxies {
112
+ __typename
113
+ }
114
+ }
115
+ }
116
+ `;e.s(["default",0,r])},75565,51358,36832,e=>{"use strict";var t=e.i(91788),r=e.i(15067);e.s(["useEventListener",0,function(e,s,a,l){let i=(0,r.useLatestValue)(a);(0,t.useEffect)(()=>{function t(e){i.current(e)}return(e=null!=e?e:window).addEventListener(s,t,l),()=>e.removeEventListener(s,t,l)},[e,s,l])}],75565);var s=e.i(93481);e.s(["useWatch",0,function(e,r){let a=(0,t.useRef)([]),l=(0,s.useEvent)(e);(0,t.useEffect)(()=>{let e=[...a.current];for(let[t,s]of r.entries())if(a.current[t]!==s){let t=l(r,e);return a.current=r,t}},[l,...r])}],51358);var a=e.i(55367),l=e.i(65383);let i=[];function n(){"loading"!==document.readyState&&((()=>{function e(e){if(!a.isHTMLorSVGElement(e.target)||e.target===document.body||i[0]===e.target)return;let t=e.target;t=t.closest(l.focusableSelector),i.unshift(null!=t?t:e.target),(i=i.filter(e=>null!=e&&e.isConnected)).splice(10)}window.addEventListener("click",e,{capture:!0}),window.addEventListener("mousedown",e,{capture:!0}),window.addEventListener("focus",e,{capture:!0}),document.body.addEventListener("click",e,{capture:!0}),document.body.addEventListener("mousedown",e,{capture:!0}),document.body.addEventListener("focus",e,{capture:!0})})(),document.removeEventListener("DOMContentLoaded",n))}"u">typeof window&&"u">typeof document&&(document.addEventListener("DOMContentLoaded",n),n()),e.s(["history",()=>i],36832)},52745,e=>{"use strict";var t=e.i(91788);let r=t.forwardRef(function({title:e,titleId:r,...s},a){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":r},s),e?t.createElement("title",{id:r},e):null,t.createElement("path",{d:"M10.362 1.093a.75.75 0 0 0-.724 0L2.523 5.018 10 9.143l7.477-4.125-7.115-3.925ZM18 6.443l-7.25 4v8.25l6.862-3.786A.75.75 0 0 0 18 14.25V6.443ZM9.25 18.693v-8.25l-7.25-4v7.807a.75.75 0 0 0 .388.657l6.862 3.786Z"}))});e.s(["CubeIcon",0,r],52745)},86173,e=>{"use strict";var t=e.i(91788);let r=t.forwardRef(function({title:e,titleId:r,...s},a){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":r},s),e?t.createElement("title",{id:r},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M2.036 12.322a1.012 1.012 0 0 1 0-.639C3.423 7.51 7.36 4.5 12 4.5c4.638 0 8.573 3.007 9.963 7.178.07.207.07.431 0 .639C20.577 16.49 16.64 19.5 12 19.5c-4.638 0-8.573-3.007-9.963-7.178Z"}),t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15 12a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"}))});e.s(["default",0,r])},91412,e=>{"use strict";var t=e.i(86173);e.s(["EyeIcon",()=>t.default])},10947,e=>{"use strict";var t=e.i(91788);let r=t.forwardRef(function({title:e,titleId:r,...s},a){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":r},s),e?t.createElement("title",{id:r},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m16.862 4.487 1.687-1.688a1.875 1.875 0 1 1 2.652 2.652L6.832 19.82a4.5 4.5 0 0 1-1.897 1.13l-2.685.8.8-2.685a4.5 4.5 0 0 1 1.13-1.897L16.863 4.487Zm0 0L19.5 7.125"}))});e.s(["default",0,r])},28805,e=>{e.v(t=>Promise.all(["static/chunks/0h0r_q6xa9qr_.js"].map(t=>e.l(t))).then(()=>t(79466)))},48761,e=>{e.v(t=>Promise.all(["static/chunks/1ae-9ft5cgojf.js"].map(t=>e.l(t))).then(()=>t(93594)))}]);