@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
@@ -1,18 +0,0 @@
1
- __turbopack_load_page_chunks__("/works", [
2
- "static/chunks/1l1_ntden2a5-.js",
3
- "static/chunks/01q9gliprwq-_.js",
4
- "static/chunks/15-duc2e3btcy.js",
5
- "static/chunks/44xj9eghssy4h.js",
6
- "static/chunks/1rpgl9uhsj7jq.js",
7
- "static/chunks/2onfts3kpe9d8.js",
8
- "static/chunks/0hm6-xlqw4vmr.js",
9
- "static/chunks/41mslgyvxwsej.js",
10
- "static/chunks/2djnsowjy3p8y.js",
11
- "static/chunks/3154519pby2gj.js",
12
- "static/chunks/252jebodi67kg.js",
13
- "static/chunks/1rgwj4dr0k4_b.js",
14
- "static/chunks/3ghzaufs2n8uq.js",
15
- "static/chunks/2f0e2t3pz-rua.js",
16
- "static/chunks/3zp4iedgev460.js",
17
- "static/chunks/turbopack-0a3d8s54evtiu.js"
18
- ])
@@ -1 +0,0 @@
1
- (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,75761,(e,t,r)=>{let n="/works/WorkQueueListView";(window.__NEXT_P=window.__NEXT_P||[]).push([n,()=>e.r(6506)]),t.hot&&t.hot.dispose(function(){window.__NEXT_P.push([n])})},56779,e=>{"use strict";var t=e.i(91398),r=e.i(56206),n=e.i(3828),i=e.i(91788),s=e.i(69322);e.s(["default",0,({children:e,tabItems:a,defaultTab:o,updateRoute:l=!0})=>{let u=(0,n.useRouter)(),{tab:d=o}=u?.query||{},c=Array.isArray(d)?d[0]:d,{formatMessage:f}=(0,s.useIntl)(),m=e=>{if(l){let{sort:t,...r}=u?.query||{};u.push({query:{...r,tab:e}},void 0,{shallow:!0})}};return(0,t.jsxs)("div",{className:"mt-10",children:[(0,t.jsxs)("div",{className:"lg:hidden",children:[(0,t.jsx)("label",{htmlFor:"selected-tab",className:"sr-only",children:f({id:"select_tab",defaultMessage:"Select a tab"})}),(0,t.jsx)("select",{onChange:e=>m(e.target.value),id:"selected-tab",name:"selected-tab",className:"mt-1 block dark:bg-slate-800 dark:text-white w-full rounded-md border-border-default py-2 pl-3 pr-10 text-base capitalize focus:outline-none focus:ring-2 focus:ring-focus-ring focus:border-slate-800 dark:focus:border-slate-400 sm:text-sm",value:c,children:a.filter(Boolean).map(e=>(0,t.jsx)("option",{value:e.id,className:"dark:text-white",children:e?.title||e?.id},e.id))})]}),(0,t.jsx)("div",{className:"mt-5 hidden lg:block",children:(0,t.jsx)("div",{className:"",children:(0,t.jsx)("nav",{className:"flex flex-wrap gap-3",children:a.filter(Boolean).map(e=>(0,t.jsx)("a",{id:e.id,tabIndex:0,onClick:()=>m(e.id),onKeyDown:t=>{("Enter"===t.key||" "===t.key)&&(t.preventDefault(),m(e.id))},className:(0,r.default)({"cursor-pointer rounded-lg border border-border-default bg-white text-text-primary dark:bg-slate-900 shadow-sm dark:hover:border-slate-500 hover:border-slate-400 focus:outline-none focus:ring-2 focus:ring-focus-ring focus:ring-offset-2 dark:focus:ring-offset-slate-900":c===e.id},"cursor-pointer relative whitespace-nowrap border border-border-subtle py-2 px-1 pr-3 pl-2 text-sm dark:text-slate-400 font-medium hover:bg-white dark:hover:bg-slate-800 hover:border-slate-300 dark:hover:border-slate-500 rounded-lg focus:outline-none focus:ring-2 focus:ring-focus-ring focus:ring-offset-2 dark:focus:ring-offset-slate-900"),children:(0,t.jsxs)("div",{className:"flex items-center space-x-1",children:[(0,t.jsx)("div",{children:e.Icon}),(0,t.jsx)("div",{className:"capitalize",children:e?.title||e?.id}),e?.length?(0,t.jsx)("span",{className:"absolute top-0 right-0 inline-flex translate-x-1/2 -translate-y-1/2 transform items-center justify-center rounded-full bg-slate-400 px-1 py-0.5 text-sm leading-none text-slate-900",children:e?.length}):null]})},e.id))})})}),(0,t.jsx)("div",{className:"mt-5",children:i.default.cloneElement(e,{selectedView:c})})]})}])},75565,51358,36832,e=>{"use strict";var t=e.i(91788),r=e.i(15067);e.s(["useEventListener",0,function(e,n,i,s){let a=(0,r.useLatestValue)(i);(0,t.useEffect)(()=>{function t(e){a.current(e)}return(e=null!=e?e:window).addEventListener(n,t,s),()=>e.removeEventListener(n,t,s)},[e,n,s])}],75565);var n=e.i(93481);e.s(["useWatch",0,function(e,r){let i=(0,t.useRef)([]),s=(0,n.useEvent)(e);(0,t.useEffect)(()=>{let e=[...i.current];for(let[t,n]of r.entries())if(i.current[t]!==n){let t=s(r,e);return i.current=r,t}},[s,...r])}],51358);var i=e.i(55367),s=e.i(65383);let a=[];function o(){"loading"!==document.readyState&&((()=>{function e(e){if(!i.isHTMLorSVGElement(e.target)||e.target===document.body||a[0]===e.target)return;let t=e.target;t=t.closest(s.focusableSelector),a.unshift(null!=t?t:e.target),(a=a.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",o))}"u">typeof window&&"u">typeof document&&(document.addEventListener("DOMContentLoaded",o),o()),e.s(["history",()=>a],36832)},76237,e=>{"use strict";var t=e.i(91788);let r=t.forwardRef(function({title:e,titleId:r,...n},i){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:i,"aria-labelledby":r},n),e?t.createElement("title",{id:r},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m19.5 8.25-7.5 7.5-7.5-7.5"}))});e.s(["default",0,r])},38187,e=>{"use strict";var t=e.i(76237);e.s(["ChevronDownIcon",()=>t.default])},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/2ljoq6sr-g2da.js"].map(t=>e.l(t))).then(()=>t(93594)))},13521,(e,t,r)=>{"use strict";e.i(50461),Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"ImageConfigContext",{enumerable:!0,get:function(){return s}});let n=e.r(41705)._(e.r(91788)),i=e.r(15125),s=n.default.createContext(i.imageConfigDefault)},15125,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={VALID_LOADERS:function(){return s},imageConfigDefault:function(){return a}};for(var i in n)Object.defineProperty(r,i,{enumerable:!0,get:n[i]});let s=["default","imgix","cloudinary","akamai","custom"],a={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}},40238,(e,t,r)=>{"use strict";var n=e.r(91788),i="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},s=n.useSyncExternalStore,a=n.useRef,o=n.useEffect,l=n.useMemo,u=n.useDebugValue;r.useSyncExternalStoreWithSelector=function(e,t,r,n,d){var c=a(null);if(null===c.current){var f={hasValue:!1,value:null};c.current=f}else f=c.current;var m=s(e,(c=l(function(){function e(e){if(!o){if(o=!0,s=e,e=n(e),void 0!==d&&f.hasValue){var t=f.value;if(d(t,e))return a=t}return a=e}if(t=a,i(s,e))return t;var r=n(e);return void 0!==d&&d(t,r)?(s=e,t):(s=e,a=r)}var s,a,o=!1,l=void 0===r?null:r;return[function(){return e(t())},null===l?void 0:function(){return e(l())}]},[t,r,n,d]))[0],c[1]);return o(function(){f.hasValue=!0,f.value=m},[m]),u(m),m}},19979,(e,t,r)=>{"use strict";e.i(50461),t.exports=e.r(40238)}]);
@@ -1,327 +0,0 @@
1
- (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,53296,e=>{"use strict";var t=e.i(91398),a=e.i(74040),a=a,r=e.i(69322);e.s(["default",0,({messageKey:e,defaultMessage:s,values:i,className:l="",showIcon:o=!0})=>{let{formatMessage:d}=(0,r.useIntl)(),n=d({id:e,defaultMessage:s},i);return n?(0,t.jsxs)("div",{className:`flex items-start space-x-1 text-sm text-text-secondary ${l}`,children:[o&&(0,t.jsx)(a.default,{className:"h-4 w-4 mt-0.5 flex-shrink-0"}),(0,t.jsx)("span",{children:n})]}):null}],53296)},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:i,...l}=(0,r.default)(e),{className:o}=e||{className:""};return(0,t.jsx)(s.default,{...l,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":!!l.error}),disabled:l.disabled,id:l.name,name:l.name,onChange:l.onChange,onBlur:l.onBlur,value:l.value,children:[(0,t.jsx)("option",{className:"dark:text-slate-200",value:"",disabled:l.required,hidden:l.required,children:l.placeholder||l.label}),Object.entries(i).map(([e,a])=>(0,t.jsx)("option",{className:"dark:text-slate-200",value:e,children:a},e))]})})})}])},13120,e=>{"use strict";var t=e.i(91398),a=e.i(56206),r=e.i(76038),s=e.i(60741),i=e.i(82226),l=e.i(54879);e.s(["default",0,({buttonText:e="",validators:o=[],selectOptions:d=[],...n})=>{let u=(0,s.default)({validators:[...o,(0,i.validateRequiredTag)(n?.required)],label:"Tags",...n});return(0,t.jsx)(l.default,{...u,children:(0,t.jsx)(r.default,{disabled:u.disabled,id:u.id,name:u.name,className:(0,a.default)({"border-rose-300":!!u.error}),onChange:e=>u.setValue(e,!0),placeholder:u.placeholder,tagList:u.value,buttonText:e,selectOptions:d})})}])},73298,2228,e=>{"use strict";var t=e.i(59080);let a=t.gql`
2
- fragment MD5MetaDataFragment on WebAuthnMDSv3Metadata {
3
- legalHeader
4
- description
5
- authenticatorVersion
6
- protocolFamily
7
- schema
8
- authenticationAlgorithms
9
- publicKeyAlgAndEncodings
10
- attestationTypes
11
- keyProtection
12
- upv
13
- tcDisplay
14
- authenticationAlgorithms
15
- publicKeyAlgAndEncodings
16
- icon
17
- authenticatorGetInfo
18
- }
19
- `;e.s(["default",0,a],2228);let r=t.gql`
20
- fragment UserFragment on User {
21
- _id
22
- lastBillingAddress {
23
- firstName
24
- lastName
25
- company
26
- addressLine
27
- addressLine2
28
- postalCode
29
- countryCode
30
- regionCode
31
- city
32
- }
33
- lastContact {
34
- emailAddress
35
- telNumber
36
- }
37
- lastLogin {
38
- countryCode
39
- locale
40
- remoteAddress
41
- remotePort
42
- timestamp
43
- userAgent
44
- }
45
- avatar {
46
- _id
47
- name
48
- size
49
- type
50
- url
51
- }
52
- allowedActions
53
- paymentCredentials {
54
- _id
55
- isValid
56
- isPreferred
57
- paymentProvider {
58
- _id
59
- type
60
- interface {
61
- _id
62
- label
63
- version
64
- }
65
- }
66
- }
67
- emails {
68
- verified
69
- address
70
- }
71
- web3Addresses {
72
- address
73
- nonce
74
- verified
75
- }
76
- webAuthnCredentials {
77
- _id
78
- created
79
- aaguid
80
- counter
81
- mdsMetadata {
82
- ...MD5MetaDataFragment
83
- }
84
- }
85
- profile {
86
- displayName
87
- phoneMobile
88
- gender
89
- address {
90
- firstName
91
- lastName
92
- company
93
- addressLine
94
- addressLine2
95
- postalCode
96
- countryCode
97
- regionCode
98
- city
99
- }
100
- birthday
101
- }
102
- username
103
- primaryEmail {
104
- verified
105
- address
106
- }
107
- isGuest
108
- isInitialPassword
109
- name
110
- roles
111
- tags
112
- deleted
113
- cart {
114
- _id
115
- items {
116
- _id
117
- }
118
- }
119
- orders {
120
- _id
121
- items {
122
- _id
123
- }
124
- }
125
- }
126
- ${a}
127
- `;e.s(["default",0,r],73298)},51870,e=>{"use strict";var t=e.i(59080),a=e.i(32171),r=e.i(70693),s=e.i(73298);e.s(["default",0,e=>{let{customProperties:i,hydrateFragment:l}=(0,r.default)(),{data:o,loading:d,error:n}=(0,a.useQuery)(((e="")=>t.gql`
128
- query CurrentUser {
129
- me {
130
- ...UserFragment
131
- ${e}
132
- }
133
- }
134
- ${s.default}
135
- `)(i?.User)),u=o?.me,c=l(i?.User,u||null);return{currentUser:u,loading:d,error:n,extendedData:c}}])},11056,e=>{"use strict";var t=e.i(91398),a=e.i(91788),r=e.i(5505),s=e.i(57561);e.s(["default",0,({children:e,onlyFull:i=!1})=>{let{languageDialectList:l,selectedLocale:o,setSelectedLocale:d}=(0,s.default)(),n=(0,a.useContext)(r.FormWrapperContext),u=l.filter(e=>!i||e.isoCode.includes("-"));return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:`w-fit mt-5 mb-3 ${n?"ml-5":""}`,children:(0,t.jsx)("select",{id:"locale-wrapper",className:"cursor-pointer rounded-md border-1 border-border-default py-1 pr-8 text-sm lg:py-1 lg:pr-10 text-black dark:text-white dark:bg-slate-800 shadow-xs focus:outline-hidden focus:ring-2 focus:ring-focus-ring",value:o||"",onChange:e=>{e.stopPropagation(),d(e.target.value)},children:u?.map(e=>(0,t.jsx)("option",{value:e.isoCode,children:e.isoCode},e._id))})}),(0,t.jsx)("div",{children:a.default.cloneElement(e)})]})}])},57561,48539,55989,e=>{"use strict";var t=e.i(91788),a=e.i(91398),r=e.i(69322),s=e.i(51713),i=e.i(98520),l=e.i(59080),o=e.i(32171);let d=l.gql`
136
- query ShopInfo {
137
- shopInfo {
138
- _id
139
- version
140
- language {
141
- _id
142
- isoCode
143
- name
144
- }
145
- country {
146
- _id
147
- isoCode
148
- flagEmoji
149
- name
150
- defaultCurrency {
151
- _id
152
- isoCode
153
- }
154
- }
155
- adminUiConfig {
156
- singleSignOnURL
157
- externalLinks {
158
- href
159
- title
160
- target
161
- }
162
- customProperties {
163
- entityName
164
- inlineFragment
165
- }
166
- productTags
167
- assortmentTags
168
- userTags
169
- }
170
- }
171
- }
172
- `,n=()=>{let{data:e,loading:t,error:a}=(0,o.useQuery)(d,{fetchPolicy:"cache-first"}),{shopInfo:r}=e||{};return{shopInfo:r,defaultLocale:[r?.language?.isoCode,r?.country?.isoCode?.toUpperCase()].filter(Boolean)?.join("-"),loading:t,error:a}};e.s(["default",0,n],48539);var u=e.i(79684),c=e.i(51870);let m=(0,t.createContext)(void 0);e.s(["AppContextWrapper",0,({children:e,onlyFull:l=!1})=>{let o,{currentUser:d}=(0,c.default)(),g=!!d?._id&&!d?.isGuest,{languages:f}=(0,s.default)({skip:!g}),{locale:p}=(0,r.useIntl)(),[h,x]=(0,u.default)("selectedLocale",null),{shopInfo:y,loading:v}=n(),{countries:b}=(0,i.default)({skip:!g}),[C,_]=(0,t.useState)(p),j=e=>{x(e),_(e)};(0,t.useEffect)(()=>{h?_(h):v||j(`${y?.language?.isoCode}-${y?.country?.isoCode?.toUpperCase()}`)},[y,v,p]);let P=(o=[],f.forEach(({_id:e,isoCode:t})=>{o.push({_id:e,isoCode:t}),b.forEach(({isoCode:a,_id:r})=>{let s=[t,a.toUpperCase()].join("-");(e=>{try{return new Intl.DateTimeFormat(e).resolvedOptions().locale.toLowerCase()===e.toLowerCase()}catch(e){return!1}})(s)&&o.push({_id:`${r}-${e}`,isoCode:s})})}),o).filter(e=>!l||e.isoCode.includes("-")),w=!!y?.language&&!!y?.country;return(0,a.jsx)(m.Provider,{value:{selectedLocale:C,setSelectedLocale:j,languageDialectList:P,isSystemReady:w,shopInfo:y},children:e})},"default",0,m],55989),e.s(["default",0,()=>{let e=(0,t.useContext)(m);if(!e)throw Error("useLocale must be used within a LocaleProvider");return e}],57561)},79684,e=>{"use strict";var t=e.i(91788);e.s(["default",0,(e,a)=>{let[r,s]=(0,t.useState)(()=>{try{if(window.localStorage){let t=window.localStorage.getItem(e);return t?JSON.parse(t):a}return a}catch(e){return a}});return[r,t=>{try{if(window.localStorage){let a=t instanceof Function?t(r):t;s(a),window.localStorage.setItem(e,JSON.stringify(a))}else console.error("localStorage is not available")}catch(e){console.error(e)}}]}])},1880,e=>{"use strict";e.s(["default",0,(e={})=>{let{_id:t,texts:a}=e||{};return a||t?`${a?.slug?.split("/").join("")||""}_id_${t}`:null},"parseSlug",0,e=>{if(!e)return null;let[t]=e?.split("_id_")||[];return t},"parseUniqueId",0,e=>{if(!e)return null;let t=e?.split("_id_");return t?.pop()}])},77846,e=>{"use strict";var t=e.i(59080);let a=t.gql`
173
- fragment CountryFragment on Country {
174
- _id
175
- isoCode
176
- isActive
177
- isBase
178
-
179
- defaultCurrency {
180
- _id
181
- isoCode
182
- }
183
- }
184
- `;e.s(["default",0,a])},98520,e=>{"use strict";var t=e.i(59080),a=e.i(32171),r=e.i(77846);let s=t.gql`
185
- query Countries(
186
- $queryString: String
187
- $limit: Int
188
- $offset: Int
189
- $includeInactive: Boolean
190
- $sort: [SortOptionInput!]
191
- ) {
192
- countries(
193
- queryString: $queryString
194
- limit: $limit
195
- offset: $offset
196
- includeInactive: $includeInactive
197
- sort: $sort
198
- ) {
199
- ...CountryFragment
200
- }
201
- countriesCount(includeInactive: $includeInactive, queryString: $queryString)
202
- }
203
-
204
- ${r.default}
205
- `;e.s(["default",0,({queryString:e="",limit:t=20,offset:r=0,includeInactive:i=!0,sort:l=[],skip:o=!1}={})=>{let{data:d,loading:n,error:u,fetchMore:c}=(0,a.useQuery)(s,{variables:{queryString:e,limit:t,offset:r,includeInactive:i,sort:l},errorPolicy:"all",skip:o}),m=d?.countries||[],g=d?.countriesCount,f=m?.length<g;return{countries:m,countriesCount:g,hasMore:f,loading:n,error:u,loadMore:()=>{c({variables:{offset:m?.length}})}}}])},95064,e=>{"use strict";var t=e.i(59080);let a=t.gql`
206
- fragment LanguageFragment on Language {
207
- _id
208
- isoCode
209
- isActive
210
- isBase
211
- name
212
- }
213
- `;e.s(["default",0,a])},51713,e=>{"use strict";var t=e.i(59080),a=e.i(32171),r=e.i(95064);let s=t.gql`
214
- query Languages(
215
- $queryString: String
216
- $offset: Int
217
- $limit: Int
218
- $includeInactive: Boolean
219
- $sort: [SortOptionInput!]
220
- ) {
221
- languages(
222
- queryString: $queryString
223
- offset: $offset
224
- limit: $limit
225
- includeInactive: $includeInactive
226
- sort: $sort
227
- ) {
228
- ...LanguageFragment
229
- }
230
- languagesCount(includeInactive: $includeInactive, queryString: $queryString)
231
- }
232
- ${r.default}
233
- `;e.s(["default",0,({queryString:e="",limit:t=20,offset:r=0,includeInactive:i=!0,sort:l=[],skip:o=!1}={})=>{let{data:d,loading:n,error:u,fetchMore:c}=(0,a.useQuery)(s,{variables:{queryString:e,limit:t,offset:r,includeInactive:i,sort:l},errorPolicy:"all",skip:o}),m=d?.languages||[],g=d?.languagesCount,f=m?.length<g;return{languages:m,languagesCount:g,hasMore:f,loading:n,error:u,loadMore:()=>{c({variables:{offset:m?.length}})}}}])},38994,62199,14336,e=>{"use strict";var t=e.i(59080),a=e.i(76204);let r=t.gql`
234
- fragment ProductDetailFragment on Product {
235
- _id
236
- sequence
237
- status
238
- created
239
- tags
240
- updated
241
- published
242
-
243
- media {
244
- _id
245
- tags
246
- file {
247
- _id
248
- url
249
- }
250
- }
251
- reviews {
252
- _id
253
- created
254
- author {
255
- _id
256
- username
257
- isGuest
258
- }
259
- rating
260
- title
261
- review
262
- voteCount
263
- ownVotes {
264
- type
265
- timestamp
266
- }
267
- }
268
- siblings {
269
- _id
270
- media {
271
- _id
272
- file {
273
- _id
274
- url
275
- }
276
- }
277
- }
278
- }
279
- `;e.s(["default",0,r],62199);let s=t.gql`
280
- fragment ProductTextsFragment on ProductTexts {
281
- _id
282
- locale
283
- slug
284
- title
285
- subtitle
286
- description
287
- vendor
288
- brand
289
- labels
290
- }
291
- `;e.s(["default",0,s],14336);let i=t.gql`
292
- mutation CreateProduct(
293
- $product: CreateProductInput!
294
- $texts: [ProductTextInput!]
295
- ) {
296
- createProduct(product: $product, texts: $texts) {
297
- ...ProductDetailFragment
298
- ... on SimpleProduct {
299
- texts {
300
- ...ProductTextsFragment
301
- }
302
- }
303
- ... on ConfigurableProduct {
304
- texts {
305
- ...ProductTextsFragment
306
- }
307
- }
308
- ... on BundleProduct {
309
- texts {
310
- ...ProductTextsFragment
311
- }
312
- }
313
- ... on TokenizedProduct {
314
- texts {
315
- ...ProductTextsFragment
316
- }
317
- }
318
- ... on PlanProduct {
319
- texts {
320
- ...ProductTextsFragment
321
- }
322
- }
323
- }
324
- }
325
- ${r}
326
- ${s}
327
- `;e.s(["default",0,()=>{let[e,{data:t,error:r,loading:s}]=(0,a.useMutation)(i);return{createProduct:async({product:{type:t,tags:a},texts:r})=>e({variables:{product:{type:t,tags:a},texts:r},refetchQueries:["Products","ShopStatus","ShopInfo"]}),newProduct:t?.createProduct,error:r,loading:s}}],38994)},46342,e=>{"use strict";var t=e.i(91398),a=e.i(3828),r=e.i(69322),s=e.i(50595),i=e.i(5505),l=e.i(25327),o=e.i(1880),d=e.i(66773),n=e.i(58971),u=e.i(69211),c=e.i(10685),m=e.i(21128),g=e.i(13120),f=e.i(16984),p=e.i(98949),h=e.i(53296),x=e.i(57561);let y=({onSubmit:e,onSubmitSuccess:a})=>{let{formatMessage:s}=(0,r.useIntl)(),{hasRole:i}=(0,n.default)(),{selectedLocale:l,shopInfo:o}=(0,x.default)(),y=s({id:"product_added",defaultMessage:"Product added successfully!"}),v=(0,p.default)({submit:async t=>{let{title:a,subtitle:r,type:s,tags:i}=t;if(!a||!s)return{success:!1};let o=[{title:a,subtitle:r||"",slug:a.toLowerCase().replace(/\s+/g,"-"),locale:l}];return await e({texts:o,type:s,tags:i||[]})},onSubmitSuccess:a,successMessage:y,initialValues:{title:"",subtitle:"",type:d.IProductType.SimpleProduct,tags:[]}});return(0,t.jsxs)(u.default,{form:v,children:[(0,t.jsxs)("div",{className:"p-5 pb-7 sm:max-w-full flex flex-col gap-3",children:[(0,t.jsx)(f.default,{name:"title",id:"title",label:s({id:"name",defaultMessage:"Name"}),required:!0,className:"block w-full max-w-full rounded-md border-border-default text-sm focus:ring-focus-ring sm:text-sm"}),(0,t.jsx)(f.default,{name:"subtitle",id:"subtitle",label:s({id:"subtitle",defaultMessage:"Subtitle"}),className:"block w-full max-w-full rounded-md border-border-default text-sm focus:ring-focus-ring sm:text-sm"}),(0,t.jsx)(c.default,{className:"mt-1 w-full",label:s({id:"type",defaultMessage:"Type"}),placeholder:s({id:"type",defaultMessage:"Type"}),required:!0,name:"type",options:Object.fromEntries(Object.entries(d.IProductType).map(([e,t])=>[t,e]))}),(0,t.jsx)(g.default,{name:"tags",label:s({id:"tags",defaultMessage:"Tags"}),placeholder:s({id:"enter_tag",defaultMessage:"Enter tag..."}),selectOptions:(o?.adminUiConfig.productTags||[]).map(e=>({value:e,label:e}))}),(0,t.jsx)(h.default,{messageKey:"product_tags_help",defaultMessage:"Add keywords to organize and filter products (e.g., 'electronics', 'outdoor', 'premium'). These work across all languages and help customers find products through search and filters.",className:"mt-1"})]}),i(d.IRoleAction.ManageProducts)&&(0,t.jsx)("div",{className:"border-t border-t-border-subtle bg-surface-subtle p-5 text-right",children:(0,t.jsx)(m.default,{label:s({id:"add_product",defaultMessage:"Add Product"})})})]})};var v=e.i(38994),b=e.i(11056);e.s(["default",0,()=>{let{createProduct:e}=(0,v.default)(),d=(0,a.useRouter)(),{formatMessage:n}=(0,r.useIntl)(),u=async({texts:t,type:a,tags:r})=>{let{data:s,error:i}=await e({product:{type:a,tags:r},texts:t});return i?{success:!1}:{success:!0,data:s?.createProduct}};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(s.default,{}),(0,t.jsx)(l.default,{headerText:n({id:"new_product_header",defaultMessage:"New product"})}),(0,t.jsxs)("div",{className:"mt-6 lg:grid lg:grid-cols-3 gap-10",children:[(0,t.jsx)("div",{className:"lg:col-span-2",children:(0,t.jsx)(i.default,{children:(0,t.jsx)(b.default,{children:(0,t.jsx)(y,{onSubmit:u,onSubmitSuccess:(e,{...t})=>(d.replace(`/products?slug=${(0,o.default)(t)}`),!0)})})})}),(0,t.jsxs)("div",{className:"mt-10 lg:mt-0 lg:col-span-1 space-y-2",children:[(0,t.jsx)("h3",{className:"text-lg text-text-primary",children:n({id:"product_type",defaultMessage:"Product type"})}),(0,t.jsxs)("div",{className:"text-sm divide-y divide-slate-200 dark:divide-slate-800 dark:text-slate-400 lg:mr-10",children:[(0,t.jsx)("div",{className:"my-2 py-2",children:(0,t.jsx)(r.FormattedMessage,{id:"simple_product_definition",defaultMessage:" <h3>Simple</h3> <p>Simple product is the most commonly used type of product type. It accepts configuration values for price, dimension and warehousing. Most e-commerce product needs are satisfied by this type </p>",values:{h3:e=>(0,t.jsx)("h3",{className:"font-semibold ",children:e}),p:e=>(0,t.jsx)("p",{children:e})}})}),(0,t.jsx)("div",{className:"my-2 py-2",children:(0,t.jsx)(r.FormattedMessage,{id:"plan_product_definition",defaultMessage:" <h3>Plan</h3> <p>Plan product is use when you have a product that is offered per subscription base. Since for this type of product the payment is usually recurring, you can adjust the interval of payment calculation.\n\n </p>",values:{h3:e=>(0,t.jsx)("h3",{className:"font-semibold ",children:e}),p:e=>(0,t.jsx)("p",{children:e})}})}),(0,t.jsx)("div",{className:"my-2 py-2",children:(0,t.jsx)(r.FormattedMessage,{id:"bundle_product_definition",defaultMessage:" <h3>Bundle</h3> <p>As the name suggest this product type enables you to create a collection/bundle of products as one and set the price accordingly. This type of product is useful if you have christmas package for example. </p>",values:{h3:e=>(0,t.jsx)("h3",{className:"font-semibold ",children:e}),p:e=>(0,t.jsx)("p",{children:e})}})}),(0,t.jsx)("div",{className:"my-2 py-2",children:(0,t.jsx)(r.FormattedMessage,{id:"configurable_product_definition",defaultMessage:" <h3>Configurable</h3> <p>Configurable Product is used to organize varieties of a product. A product might have a variation in color, size or other distinct property in that case you can use a configurable product type to organize all the variation under one category and outline-solid there difference. </p>",values:{h3:e=>(0,t.jsx)("h3",{className:"font-semibold ",children:e}),p:e=>(0,t.jsx)("p",{children:e})}})})]})]})]})]})}],46342)},85463,(e,t,a)=>{let r="/products/new";(window.__NEXT_P=window.__NEXT_P||[]).push([r,()=>e.r(46342)]),t.hot&&t.hot.dispose(function(){window.__NEXT_P.push([r])})},74040,e=>{"use strict";var t=e.i(91788);let a=t.forwardRef(function({title:e,titleId:a,...r},s){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:s,"aria-labelledby":a},r),e?t.createElement("title",{id:a},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9.879 7.519c1.171-1.025 3.071-1.025 4.242 0 1.172 1.025 1.172 2.687 0 3.712-.203.179-.43.326-.67.442-.745.361-1.45.999-1.45 1.827v.75M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Zm-9 5.25h.008v.008H12v-.008Z"}))});e.s(["default",0,a])},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 i}});let r=e.r(41705)._(e.r(91788)),s=e.r(15125),i=r.default.createContext(s.imageConfigDefault)},15125,(e,t,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0});var r={VALID_LOADERS:function(){return i},imageConfigDefault:function(){return l}};for(var s in r)Object.defineProperty(a,s,{enumerable:!0,get:r[s]});let i=["default","imgix","cloudinary","akamai","custom"],l={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}}]);
@@ -1,60 +0,0 @@
1
- (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,25093,e=>{"use strict";var t=e.i(91398),r=e.i(91788);e.s(["default",0,({value:e,duration:n=300})=>{let[i,s]=(0,r.useState)(0);return(0,r.useEffect)(()=>{let t,r;if(0===e)return void s(0);let i=a=>{t||(t=a);let l=Math.min((a-t)/n,1);s(Math.round((1-Math.pow(1-l,3))*e)),l<1&&(r=requestAnimationFrame(i))};return r=requestAnimationFrame(i),()=>{r&&cancelAnimationFrame(r)}},[e,n]),(0,t.jsx)("span",{children:i})}])},83788,e=>{"use strict";var t=e.i(91398),r=e.i(91788),n=e.i(86201);class i 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)(n.default,{error:this.state.error,resetError:()=>this.setState({hasError:!1,error:null})}):this.props.children}}e.s(["default",0,i])},86201,e=>{"use strict";var t=e.i(91398),r=e.i(41158),n=e.i(69322),i=e.i(5505);e.s(["default",0,({error:e=null,resetError:s=null})=>{let{formatMessage:a}=(0,n.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:a({id:"internal_server_error",defaultMessage:"500 Internal Server Error"})})}),(0,t.jsx)(i.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:a({id:"error_500",defaultMessage:"500 Error"})}),(0,t.jsx)("p",{className:"mt-2 text-base text-text-muted",children:a({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:a({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"})})}),a({id:"back_to_home",defaultMessage:"Back to Home"})]}),s&&(0,t.jsxs)("button",{type:"button",onClick:s,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"})})}),a({id:"try_again",defaultMessage:"Try Again"})]})]})]})})]})})}])},70553,e=>{"use strict";var t=e.i(91398),r=e.i(69322);e.s(["default",0,({children:e=null,totalRecords:n=null})=>{let{formatMessage:i}=(0,r.useIntl)();return(0,t.jsxs)("div",{className:"mt-5",children:[null!==n?(0,t.jsx)("div",{className:"text-md text-slate-950 dark:text-slate-100 mb-3",children:i({id:"total_records",defaultMessage:"{total} records found"},{total:n??0})}):null,e&&(0,t.jsx)("div",{className:"flex items-center mt-10",children:(0,t.jsx)("h3",{className:"text-xs leading-6 text-text-muted",children:e})})]})}])},2194,e=>{"use strict";var t=e.i(91398),r=e.i(92802),r=r,n=e.i(56206),i=e.i(69322);e.s(["default",0,({message:e,className:s="",Icon:a=null})=>(0,t.jsx)("div",{className:(0,n.default)("rounded-md flex w-full flex-col items-center justify-center min-h-[176px] py-8 border-1 border-dashed border-border-default text-slate-500 dark:text-slate-600",s),children:(0,t.jsxs)("div",{className:"grid items-center justify-center",children:[(0,t.jsx)("div",{className:"flex items-center justify-center text-slate-400 dark:text-slate-600",children:a||(0,t.jsx)(r.default,{className:"h-6 w-6"})}),(0,t.jsx)(i.FormattedMessage,{id:"no_data_message",defaultMessage:"<p>No <span> {message} available</span> </p>",values:{p:e=>(0,t.jsx)("p",{className:"mt-2 m-auto flex items-center justify-center",children:e}),span:e=>(0,t.jsxs)("span",{className:"capitalize ml-1",children:[" ",e," "]}),message:e}})]})})],2194)},35793,e=>{"use strict";var t=e.i(91398),r=e.i(69322),n=e.i(2765);e.s(["default",0,({inputText:e=null,onInputChange:i,defaultValue:s})=>{let{formatMessage:a}=(0,r.useIntl)(),l=(0,n.default)(200)(i);return(0,t.jsxs)("div",{className:"w-full",children:[(0,t.jsx)("label",{htmlFor:"search",className:"sr-only",children:e||a({id:"search",defaultMessage:"Search"})}),(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)("div",{className:"pointer-events-none absolute inset-y-0 left-0 flex items-center pl-3",children:(0,t.jsx)("svg",{className:"h-5 w-5 text-slate-400 dark:text-slate-200",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",children:(0,t.jsx)("path",{fillRule:"evenodd",d:"M8 4a4 4 0 100 8 4 4 0 000-8zM2 8a6 6 0 1110.89 3.476l4.817 4.817a1 1 0 01-1.414 1.414l-4.816-4.816A6 6 0 012 8z",clipRule:"evenodd"})})}),(0,t.jsx)("input",{onChange:e=>l(e.target.value),id:"search",defaultValue:s,name:"search",className:"block w-full rounded-md border-1 border-border-default text-slate-900 dark:bg-slate-900 dark:text-slate-200 py-3 pl-10 px-4 shadow-xs placeholder:text-slate-400 dark:placeholder:text-slate-400 focus:ring-2 focus:ring-focus-ring focus:outline-hidden sm:text-sm",placeholder:a({id:"search",defaultMessage:"Search"}),type:"search"})]})]})}])},76038,e=>{"use strict";var t=e.i(91398),r=e.i(91788),n=e.i(56206),i=e.i(69322),s=e.i(42469);let a=e=>e?Array.isArray(e)?e:e.toString()?.split(",")?.map(e=>e.trim()):[];e.s(["default",0,({tagList:e,onChange:l,disabled:o=!1,name:u="tag-input",id:d="tag-input",placeholder:c="",selectOptions:f=[],className:h="",buttonText:p="",showTagsInline:m=!0})=>{let{formatMessage:g}=(0,i.useIntl)(),[x,b]=(0,r.useState)(a(e)),[y,v]=(0,r.useState)(""),[w,_]=(0,r.useState)(!1),k=(0,r.useRef)(null);(0,r.useEffect)(()=>{b(a(e))},[e]),(0,r.useEffect)(()=>{let e=e=>{k.current&&!k.current.contains(e.target)&&_(!1)};return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e)},[]);let E=(0,r.useCallback)(e=>{if(!x.includes(e)&&e){let t=[...x,e];b(t),l(t),v(""),_(!1)}},[x,l]),j=(0,r.useMemo)(()=>{let e=f.filter(e=>!(x||[]).includes(e.value));return y?e.filter(e=>e.label.toLowerCase().includes(y.toLowerCase())):e},[f,x,y]),C=y.trim()&&!x.includes(y.trim())&&!j.some(e=>e.value.toLowerCase()===y.trim().toLowerCase()),N=(0,t.jsxs)("div",{className:"relative",ref:k,children:[(0,t.jsx)("input",{id:d,name:u,type:"text",role:"combobox","aria-expanded":w,"aria-autocomplete":"list",disabled:o,className:(0,n.default)("w-full rounded-md border border-border-default bg-surface-input py-2.5 pl-4 pr-4 text-sm text-text-primary placeholder:text-text-muted shadow-xs focus:outline-hidden focus:ring-2 focus:ring-focus-ring",h),placeholder:c,value:y,onChange:e=>{v(e.target.value),_(!0)},onFocus:()=>_(!0),onKeyDown:e=>{"Enter"===e.key&&y.trim()&&(e.preventDefault(),E(y.trim()))}}),w&&(C||j.length>0)&&(0,t.jsxs)("ul",{role:"listbox",className:"absolute z-9999999 mt-1 max-h-60 w-full overflow-auto rounded-md bg-surface border border-border-subtle py-1 text-sm shadow-lg",children:[C&&(0,t.jsx)("li",{role:"option","aria-selected":!1,className:"cursor-pointer select-none py-2 px-4 text-text-primary hover:bg-surface-raised",onMouseDown:e=>{e.preventDefault(),E(y.trim())},children:p||g({id:"add_new_tag",defaultMessage:'Add "{inputValue}"'},{inputValue:y.trim()})}),j.map(e=>(0,t.jsx)("li",{role:"option","aria-selected":!1,className:"cursor-pointer select-none py-2 px-4 text-text-primary hover:bg-surface-raised",onMouseDown:t=>{t.preventDefault(),E(e.value)},children:e.label},e.value))]})]});return m?(0,t.jsxs)(t.Fragment,{children:[N,(0,t.jsx)("div",{className:(0,n.default)("ml-4 flex items-center flex-wrap gap-5",x.length>0&&"mt-1"),children:x?.map(e=>(0,t.jsx)(s.default,{text:e,color:"slate",onClick:()=>(e=>{let t=x.indexOf(e);if(-1!==t){let e=[...x];e.splice(t,1),l(e),b(e)}})(e)},e))})]}):N}])},89462,e=>{"use strict";var t=e.i(59080),r=e.i(32171);let n=t.gql`
2
- query AssortmentsCount(
3
- $queryString: String
4
- $tags: [LowerCaseString!]
5
- $includeInactive: Boolean
6
- $includeLeaves: Boolean
7
- ) {
8
- assortmentsCount(
9
- tags: $tags
10
- includeInactive: $includeInactive
11
- includeLeaves: $includeLeaves
12
- queryString: $queryString
13
- )
14
- }
15
- `;e.s(["default",0,({queryString:e="",tags:t=null,includeInactive:i=!0,includeLeaves:s=!1})=>{let{data:a,loading:l,error:o}=(0,r.useQuery)(n,{errorPolicy:"all",variables:{queryString:e,tags:t,includeInactive:i,includeLeaves:s}});return{loading:l,error:o,assortmentsCount:a?.assortmentsCount}}])},78704,e=>{"use strict";var t=e.i(91398),r=e.i(91788),n=e.i(53576);e.s(["default",0,({loading:e,hasMore:i,onLoadMore:s,children:a,threshold:l=200})=>{let o=(0,r.useRef)(null),u=(0,r.useCallback)(t=>{let[r]=t;r.isIntersecting&&i&&!e&&s()},[i,e,s]);return(0,r.useEffect)(()=>{let e=o.current;if(!e)return;let t=new IntersectionObserver(u,{rootMargin:`${l}px`});return t.observe(e),()=>{t.disconnect()}},[u,l]),(0,t.jsxs)(t.Fragment,{children:[a,(0,t.jsx)("div",{ref:o,className:"h-4"}),e&&(0,t.jsx)("div",{className:"flex justify-center py-4",children:(0,t.jsx)(n.default,{})})]})}])},51128,e=>{"use strict";var t=e.i(91398),r=e.i(69322),n=e.i(3828),i=e.i(35793),s=e.i(76038),a=e.i(42469),l=e.i(83147),o=e.i(73319);e.s(["default",0,({children:e,onSearchChange:u,defaultSearchValue:d,showTagFilter:c=!1,availableTagOptions:f=[]})=>{let{formatMessage:h}=(0,r.useIntl)(),{query:p,push:m}=(0,n.useRouter)(),g=e=>{if((0,o.isTruthy)(e))m({query:(0,l.normalizeQuery)(p,e?.join(","),"tags")});else{let{tags:e,...t}=p;m({query:(0,l.normalizeQuery)(t)})}};return(0,t.jsxs)("div",{children:[(0,t.jsx)("div",{className:"my-3 flex flex-col gap-3",children:(0,t.jsxs)("div",{className:"flex flex-col sm:flex-row sm:items-start gap-3",children:[(0,t.jsx)("div",{className:"flex-shrink-0",children:(0,t.jsx)(i.default,{onInputChange:u,defaultValue:d})}),c&&(0,t.jsxs)("div",{className:"flex flex-col gap-2 flex-1 sm:border-l sm:border-border-default sm:pl-3",children:[(0,t.jsx)("div",{className:"max-w-xs",children:(0,t.jsx)(s.default,{buttonText:h({id:"apply",defaultMessage:"Apply"}),placeholder:h({id:"enter_tag",defaultMessage:"Enter tag..."}),tagList:p?.tags?.split(","),onChange:g,selectOptions:f,showTagsInline:!1})}),p?.tags?.split(",").filter(Boolean).length>0&&(0,t.jsx)("div",{className:"flex flex-wrap gap-2",children:p?.tags?.split(",").filter(Boolean).map(e=>(0,t.jsx)(a.default,{text:e,color:"slate",onClick:()=>{let t=p?.tags?.split(",").filter(t=>t!==e);g(t.length>0?t:null)}},e))})]})]})}),e]})}])},8918,e=>{"use strict";var t=e.i(91398),r=e.i(91788),n=e.i(56206),i=e.i(69322),s=e.i(88566),a=e.i(25575),l=e.i(3828),o=e.i(83147);let u=({onSort:e,sortDirection:r})=>r?"ASC"===r?(0,t.jsx)(a.ChevronUpIcon,{className:"ml-2 w-5 h-5 text-slate-700",onClick:e}):(0,t.jsx)(s.ChevronDownIcon,{className:"ml-2 w-5 h-5 text-slate-700",onClick:e}):(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:"ml-2 w-6 h-6",onClick:e,children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8.25 15L12 18.75 15.75 15m-7.5-6L12 5.25 15.75 9"})});var d=e.i(2194);let c=e=>{let t=[],n=[],i=[];return r.default.Children.forEach(e.children,e=>{e?.props?.header?t.push(e):e?.props?.footer?i.push(e):n.push(e)}),{header:t,footer:i,body:n}},f=({className:e="",...s})=>{let[a,l]=(0,r.useState)(c(s)),{formatMessage:o}=(0,i.useIntl)(),u={...a,header:r.default.Children.map(a.header,e=>r.default.cloneElement(e))};return(0,r.useEffect)(()=>{l(c(s))},[s.children]),u.header.length||u.body.length?(0,t.jsxs)("table",{className:(0,n.default)("overflow-hidden my-3 flex w-full flex-row flex-nowrap divide-y divide-slate-200 dark:divide-slate-600 shadow-sm sm:rounded-lg sm:bg-white dark:bg-slate-950",e),...s,children:[(0,t.jsx)("thead",{className:"hidden sm:table-header-group bg-surface-raised text-sm text-text-secondary",children:u.header}),u.body.length?(0,t.jsx)("tbody",{className:"space-y-4 sm:space-y-0 flex-1 sm:divide-y divide-slate-200 dark:divide-slate-700 sm:bg-white dark:sm:bg-slate-800 sm:flex-none",children:u.body}):null,u.footer.length?(0,t.jsx)("tfoot",{children:u.footer}):null]}):(0,t.jsx)(d.default,{message:o({id:"data",defaultMessage:"Data"})})};f.Row=({className:e="",children:i=[],header:s=!1,enablesort:a=!1,...l})=>{let o=r.default.Children.map(i,e=>r.default?.cloneElement(e||(0,t.jsx)("span",{}),{header:s,enablesort:a}));return(0,t.jsx)("tr",{className:(0,n.default)("grid grid-cols-1 auto-rows-fr border border-border-subtle sm:border-0 rounded-md sm:mb-0 sm:table-row sm:rounded-none bg-surface sm:bg-inherit dark:sm:bg-inherit",e),...l,children:o})},f.Cell=({className:e="",header:r=!1,enablesort:i=!1,children:s,sortKey:a=null,defaultSortDirection:d=null,...c})=>{let f=(0,l.useRouter)(),h=(0,o.getSortKeys)(f.query?.sort),p=r?"th":"td";return(0,t.jsx)(p,{className:(0,n.default)(r?"px-4 py-3 text-left text-text-muted":"whitespace-nowrap px-4 py-3 text-text-muted border-b dark:border-slate-300 last:border-b-0 sm:border-b-0 text-left flex items-center sm:table-cell",e),...c,children:(0,t.jsxs)("div",{className:"flex items-center",children:[s,"th"===p&&i&&a&&(0,t.jsx)(u,{onSort:e=>{var t;let r;e.preventDefault(),((t=h[a])?"ASC"===t?"DESC":null:"ASC")||!h[a]?r={...h,[a]:"ASC"===h[a]?"DESC":"ASC"}:(delete h[a],r=h);let n=Object.entries(r).map(([e,t])=>[e,t].join("_")).join(","),{sort:i,...s}=f.query,l=Object.keys(s).map(e=>[e,s[e]].join("=")).join("&"),u=0===Object.keys(s).length?`${f.basePath}?sort=${n}`:`${f.basePath}?${l}&sort=${n}`;n?f.push(u):f.push({query:(0,o.normalizeQuery)(s)})},sortDirection:Object.keys(h).length?h[a]:d})]})})},e.s(["default",0,f],8918)},78193,e=>{"use strict";var t=e.i(91788),r=e.i(69322),n=e.i(30086),i=e.i(66773);e.s(["useCSVImport",0,({validate:e,process:s})=>{let{addWork:a}=(0,n.default)(),[l,o]=(0,t.useState)(!1),u=(0,r.useIntl)();return{isImporting:l,importItems:async t=>{let r={success:0,failed:0,errors:[]};try{o(!0);let n=e(t,u);n.length>0&&(r.failed+=n.length,r.errors.push(...n));let l=await s(t);for(let e=0;e<l.length;e+=100){let t=l.slice(e,e+100);try{await a({type:i.IWorkType.BulkImport,input:{createShouldUpsertIfIDExists:!0,events:t}}),r.success+=t.length}catch(n){console.error("Batch import failed:",n),r.failed+=t.length,r.errors.push(`Batch starting at index ${e} failed: ${n.message}`)}}return o(!1),r}catch(e){return console.error("Import failed:",e),o(!1),r.errors.push(e.message||"Unknown error"),r}}}}])},16785,e=>{"use strict";e.s(["downloadCSV",0,(e,t)=>{let r=new Blob([e],{type:"text/csv;charset=utf-8;"}),n=document.createElement("a");if(void 0!==n.download){let e=URL.createObjectURL(r);n.setAttribute("href",e),n.setAttribute("download",t),n.style.visibility="hidden",document.body.appendChild(n),n.click(),document.body.removeChild(n),URL.revokeObjectURL(e)}}])},2765,e=>{"use strict";e.s(["default",0,(e=500)=>t=>{let r;return(...n)=>{let i;clearTimeout(r),r=setTimeout(()=>t.apply(i,n),e)}}])},22003,e=>{"use strict";e.s(["default",0,e=>{if("string"==typeof e&&e.trim())try{let t=JSON.parse(e);return t&&"object"==typeof t&&Object.keys(t).length?t:void 0}catch{return}}])},80294,e=>{"use strict";var t=e.i(59080);let r=t.gql`
16
- fragment FilterFragment on Filter {
17
- _id
18
- updated
19
- created
20
- key
21
- isActive
22
- type
23
- options {
24
- _id
25
- texts {
26
- _id
27
- title
28
- subtitle
29
- locale
30
- }
31
- value
32
- }
33
- }
34
- `;e.s(["default",0,r])},54680,e=>{"use strict";var t=e.i(59080),r=e.i(32171),n=e.i(80294);let i=t.gql`
35
- query Filters(
36
- $queryString: String
37
- $limit: Int
38
- $offset: Int
39
- $includeInactive: Boolean
40
- $sort: [SortOptionInput!]
41
- ) {
42
- filters(
43
- queryString: $queryString
44
- limit: $limit
45
- offset: $offset
46
- includeInactive: $includeInactive
47
- sort: $sort
48
- ) {
49
- ...FilterFragment
50
- texts {
51
- _id
52
- title
53
- subtitle
54
- locale
55
- }
56
- }
57
- filtersCount(includeInactive: $includeInactive, queryString: $queryString)
58
- }
59
- ${n.default}
60
- `;e.s(["default",0,({queryString:e="",limit:t=20,offset:n=0,includeInactive:s=!0,sort:a=[],forceLocale:l=""}={})=>{let{data:o,loading:u,error:d,fetchMore:c,client:f}=(0,r.useQuery)(i,{context:{headers:{forceLocale:l}},variables:{queryString:e,limit:t,offset:n,includeInactive:s,sort:a}}),h=o?.filters||[],p=o?.filtersCount,m=h?.length<p;return{filters:h,filtersCount:p,hasMore:m,loading:u,error:d,loadMore:()=>{c({variables:{offset:h?.length}})},client:f}}])},42912,e=>{"use strict";var t=e.i(91398),r=e.i(69322);e.s(["default",0,({result:e,title:n,entityName:i="items"})=>{let{formatMessage:s}=(0,r.useIntl)();return(0,t.jsxs)("div",{className:"p-4",children:[(0,t.jsx)("h3",{className:"text-lg font-semibold mb-4",children:n||s({id:"import_results",defaultMessage:"Import Results"})}),(0,t.jsx)("p",{className:"text-green-600",children:s({id:"items_imported",defaultMessage:"{count} {entityName} imported successfully"},{count:e?.success,entityName:i})}),e?.failed>0&&(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"text-red-600 mt-2",children:s({id:"items_failed",defaultMessage:"{count} {entityName} failed to import"},{count:e?.failed,entityName:i})}),(0,t.jsxs)("div",{className:"mt-2 max-h-40 overflow-y-auto",children:[e.errors.slice(0,10).map((e,r)=>(0,t.jsx)("p",{className:"text-sm text-red-500",children:e},r)),e.errors.length>10&&(0,t.jsxs)("p",{className:"text-sm text-gray-500",children:["... and ",e.errors.length-10," more errors"]})]})]})]})}])},75565,51358,36832,e=>{"use strict";var t=e.i(91788),r=e.i(15067);e.s(["useEventListener",0,function(e,n,i,s){let a=(0,r.useLatestValue)(i);(0,t.useEffect)(()=>{function t(e){a.current(e)}return(e=null!=e?e:window).addEventListener(n,t,s),()=>e.removeEventListener(n,t,s)},[e,n,s])}],75565);var n=e.i(93481);e.s(["useWatch",0,function(e,r){let i=(0,t.useRef)([]),s=(0,n.useEvent)(e);(0,t.useEffect)(()=>{let e=[...i.current];for(let[t,n]of r.entries())if(i.current[t]!==n){let t=s(r,e);return i.current=r,t}},[s,...r])}],51358);var i=e.i(55367),s=e.i(65383);let a=[];function l(){"loading"!==document.readyState&&((()=>{function e(e){if(!i.isHTMLorSVGElement(e.target)||e.target===document.body||a[0]===e.target)return;let t=e.target;t=t.closest(s.focusableSelector),a.unshift(null!=t?t:e.target),(a=a.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",l))}"u">typeof window&&"u">typeof document&&(document.addEventListener("DOMContentLoaded",l),l()),e.s(["history",()=>a],36832)},88566,25575,e=>{"use strict";var t=e.i(91788);let r=t.forwardRef(function({title:e,titleId:r,...n},i){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:i,"aria-labelledby":r},n),e?t.createElement("title",{id:r},e):null,t.createElement("path",{fillRule:"evenodd",d:"M5.22 8.22a.75.75 0 0 1 1.06 0L10 11.94l3.72-3.72a.75.75 0 1 1 1.06 1.06l-4.25 4.25a.75.75 0 0 1-1.06 0L5.22 9.28a.75.75 0 0 1 0-1.06Z",clipRule:"evenodd"}))});e.s(["ChevronDownIcon",0,r],88566);let n=t.forwardRef(function({title:e,titleId:r,...n},i){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:i,"aria-labelledby":r},n),e?t.createElement("title",{id:r},e):null,t.createElement("path",{fillRule:"evenodd",d:"M9.47 6.47a.75.75 0 0 1 1.06 0l4.25 4.25a.75.75 0 1 1-1.06 1.06L10 8.06l-3.72 3.72a.75.75 0 0 1-1.06-1.06l4.25-4.25Z",clipRule:"evenodd"}))});e.s(["ChevronUpIcon",0,n],25575)},52745,e=>{"use strict";var t=e.i(91788);let r=t.forwardRef(function({title:e,titleId:r,...n},i){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:i,"aria-labelledby":r},n),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)},43529,e=>{"use strict";var t=e.i(91788);let r=t.forwardRef(function({title:e,titleId:r,...n},i){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:i,"aria-labelledby":r},n),e?t.createElement("title",{id:r},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M10.5 19.5 3 12m0 0 7.5-7.5M3 12h18"}))});e.s(["default",0,r])},13938,e=>{"use strict";var t=e.i(43529);e.s(["ArrowLeftIcon",()=>t.default])},92802,e=>{"use strict";var t=e.i(91788);let r=t.forwardRef(function({title:e,titleId:r,...n},i){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:i,"aria-labelledby":r},n),e?t.createElement("title",{id:r},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M18.364 18.364A9 9 0 0 0 5.636 5.636m12.728 12.728A9 9 0 0 1 5.636 5.636m12.728 12.728L5.636 5.636"}))});e.s(["default",0,r])},31599,e=>{"use strict";e.s(["default",0,function(e,t){return null==e||null==t?NaN:t<e?-1:t>e?1:t>=e?0:NaN}])},59015,e=>{"use strict";e.s(["default",0,function(e,t){let r;if(void 0===t)for(let t of e)null!=t&&(r<t||void 0===r&&t>=t)&&(r=t);else{let n=-1;for(let i of e)null!=(i=t(i,++n,e))&&(r<i||void 0===r&&i>=i)&&(r=i)}return r}])},28917,e=>{"use strict";e.s(["default",0,function(e,t){let r;if(void 0===t)for(let t of e)null!=t&&(r>t||void 0===r&&t>=t)&&(r=t);else{let n=-1;for(let i of e)null!=(i=t(i,++n,e))&&(r>i||void 0===r&&i>=i)&&(r=i)}return r}])},98952,19903,47672,11049,74037,44641,25369,e=>{"use strict";function t(e,t,r){e.prototype=t.prototype=r,r.constructor=e}function r(e,t){var r=Object.create(e.prototype);for(var n in t)r[n]=t[n];return r}function n(){}e.s(["default",()=>U],44641);var i="\\s*([+-]?\\d+)\\s*",s="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",a="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",l=/^#([0-9a-f]{3,8})$/,o=RegExp(`^rgb\\(${i},${i},${i}\\)$`),u=RegExp(`^rgb\\(${a},${a},${a}\\)$`),d=RegExp(`^rgba\\(${i},${i},${i},${s}\\)$`),c=RegExp(`^rgba\\(${a},${a},${a},${s}\\)$`),f=RegExp(`^hsl\\(${s},${a},${a}\\)$`),h=RegExp(`^hsla\\(${s},${a},${a},${s}\\)$`),p={aliceblue:0xf0f8ff,antiquewhite:0xfaebd7,aqua:65535,aquamarine:8388564,azure:0xf0ffff,beige:0xf5f5dc,bisque:0xffe4c4,black:0,blanchedalmond:0xffebcd,blue:255,blueviolet:9055202,brown:0xa52a2a,burlywood:0xdeb887,cadetblue:6266528,chartreuse:8388352,chocolate:0xd2691e,coral:0xff7f50,cornflowerblue:6591981,cornsilk:0xfff8dc,crimson:0xdc143c,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:0xb8860b,darkgray:0xa9a9a9,darkgreen:25600,darkgrey:0xa9a9a9,darkkhaki:0xbdb76b,darkmagenta:9109643,darkolivegreen:5597999,darkorange:0xff8c00,darkorchid:0x9932cc,darkred:9109504,darksalmon:0xe9967a,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:0xff1493,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:0xb22222,floralwhite:0xfffaf0,forestgreen:2263842,fuchsia:0xff00ff,gainsboro:0xdcdcdc,ghostwhite:0xf8f8ff,gold:0xffd700,goldenrod:0xdaa520,gray:8421504,green:32768,greenyellow:0xadff2f,grey:8421504,honeydew:0xf0fff0,hotpink:0xff69b4,indianred:0xcd5c5c,indigo:4915330,ivory:0xfffff0,khaki:0xf0e68c,lavender:0xe6e6fa,lavenderblush:0xfff0f5,lawngreen:8190976,lemonchiffon:0xfffacd,lightblue:0xadd8e6,lightcoral:0xf08080,lightcyan:0xe0ffff,lightgoldenrodyellow:0xfafad2,lightgray:0xd3d3d3,lightgreen:9498256,lightgrey:0xd3d3d3,lightpink:0xffb6c1,lightsalmon:0xffa07a,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:0xb0c4de,lightyellow:0xffffe0,lime:65280,limegreen:3329330,linen:0xfaf0e6,magenta:0xff00ff,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:0xba55d3,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:0xc71585,midnightblue:1644912,mintcream:0xf5fffa,mistyrose:0xffe4e1,moccasin:0xffe4b5,navajowhite:0xffdead,navy:128,oldlace:0xfdf5e6,olive:8421376,olivedrab:7048739,orange:0xffa500,orangered:0xff4500,orchid:0xda70d6,palegoldenrod:0xeee8aa,palegreen:0x98fb98,paleturquoise:0xafeeee,palevioletred:0xdb7093,papayawhip:0xffefd5,peachpuff:0xffdab9,peru:0xcd853f,pink:0xffc0cb,plum:0xdda0dd,powderblue:0xb0e0e6,purple:8388736,rebeccapurple:6697881,red:0xff0000,rosybrown:0xbc8f8f,royalblue:4286945,saddlebrown:9127187,salmon:0xfa8072,sandybrown:0xf4a460,seagreen:3050327,seashell:0xfff5ee,sienna:0xa0522d,silver:0xc0c0c0,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:0xfffafa,springgreen:65407,steelblue:4620980,tan:0xd2b48c,teal:32896,thistle:0xd8bfd8,tomato:0xff6347,turquoise:4251856,violet:0xee82ee,wheat:0xf5deb3,white:0xffffff,whitesmoke:0xf5f5f5,yellow:0xffff00,yellowgreen:0x9acd32};function m(){return this.rgb().formatHex()}function g(){return this.rgb().formatRgb()}function x(e){var t,r;return e=(e+"").trim().toLowerCase(),(t=l.exec(e))?(r=t[1].length,t=parseInt(t[1],16),6===r?b(t):3===r?new w(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===r?y(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===r?y(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|240&t,((15&t)<<4|15&t)/255):null):(t=o.exec(e))?new w(t[1],t[2],t[3],1):(t=u.exec(e))?new w(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=d.exec(e))?y(t[1],t[2],t[3],t[4]):(t=c.exec(e))?y(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=f.exec(e))?N(t[1],t[2]/100,t[3]/100,1):(t=h.exec(e))?N(t[1],t[2]/100,t[3]/100,t[4]):p.hasOwnProperty(e)?b(p[e]):"transparent"===e?new w(NaN,NaN,NaN,0):null}function b(e){return new w(e>>16&255,e>>8&255,255&e,1)}function y(e,t,r,n){return n<=0&&(e=t=r=NaN),new w(e,t,r,n)}function v(e,t,r,i){var s;return 1==arguments.length?((s=e)instanceof n||(s=x(s)),s)?new w((s=s.rgb()).r,s.g,s.b,s.opacity):new w:new w(e,t,r,null==i?1:i)}function w(e,t,r,n){this.r=+e,this.g=+t,this.b=+r,this.opacity=+n}function _(){return`#${C(this.r)}${C(this.g)}${C(this.b)}`}function k(){let e=E(this.opacity);return`${1===e?"rgb(":"rgba("}${j(this.r)}, ${j(this.g)}, ${j(this.b)}${1===e?")":`, ${e})`}`}function E(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function j(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function C(e){return((e=j(e))<16?"0":"")+e.toString(16)}function N(e,t,r,n){return n<=0?e=t=r=NaN:r<=0||r>=1?e=t=NaN:t<=0&&(e=NaN),new S(e,t,r,n)}function R(e){if(e instanceof S)return new S(e.h,e.s,e.l,e.opacity);if(e instanceof n||(e=x(e)),!e)return new S;if(e instanceof S)return e;var t=(e=e.rgb()).r/255,r=e.g/255,i=e.b/255,s=Math.min(t,r,i),a=Math.max(t,r,i),l=NaN,o=a-s,u=(a+s)/2;return o?(l=t===a?(r-i)/o+(r<i)*6:r===a?(i-t)/o+2:(t-r)/o+4,o/=u<.5?a+s:2-a-s,l*=60):o=u>0&&u<1?0:l,new S(l,o,u,e.opacity)}function S(e,t,r,n){this.h=+e,this.s=+t,this.l=+r,this.opacity=+n}function I(e){return(e=(e||0)%360)<0?e+360:e}function M(e){return Math.max(0,Math.min(1,e||0))}function L(e,t,r){return(e<60?t+(r-t)*e/60:e<180?r:e<240?t+(r-t)*(240-e)/60:t)*255}function O(e,t,r,n,i){var s=e*e,a=s*e;return((1-3*e+3*s-a)*t+(4-6*s+3*a)*r+(1+3*e+3*s-3*a)*n+a*i)/6}t(n,x,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:m,formatHex:m,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return R(this).formatHsl()},formatRgb:g,toString:g}),t(w,v,r(n,{brighter(e){return e=null==e?1.4285714285714286:Math.pow(1.4285714285714286,e),new w(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=null==e?.7:Math.pow(.7,e),new w(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new w(j(this.r),j(this.g),j(this.b),E(this.opacity))},displayable(){return -.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:_,formatHex:_,formatHex8:function(){return`#${C(this.r)}${C(this.g)}${C(this.b)}${C((isNaN(this.opacity)?1:this.opacity)*255)}`},formatRgb:k,toString:k})),t(S,function(e,t,r,n){return 1==arguments.length?R(e):new S(e,t,r,null==n?1:n)},r(n,{brighter(e){return e=null==e?1.4285714285714286:Math.pow(1.4285714285714286,e),new S(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=null==e?.7:Math.pow(.7,e),new S(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+(this.h<0)*360,t=isNaN(e)||isNaN(this.s)?0:this.s,r=this.l,n=r+(r<.5?r:1-r)*t,i=2*r-n;return new w(L(e>=240?e-240:e+120,i,n),L(e,i,n),L(e<120?e+240:e-120,i,n),this.opacity)},clamp(){return new S(I(this.h),M(this.s),M(this.l),E(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){let e=E(this.opacity);return`${1===e?"hsl(":"hsla("}${I(this.h)}, ${100*M(this.s)}%, ${100*M(this.l)}%${1===e?")":`, ${e})`}`}})),e.s(["color",0,x],19903);let $=e=>()=>e;function A(e,t){var r=t-e;return r?function(t){return e+t*r}:$(isNaN(e)?t:e)}let T=function e(t){var r,n=1==(r=+t)?A:function(e,t){var n,i,s;return t-e?(n=e,i=t,n=Math.pow(n,s=r),i=Math.pow(i,s)-n,s=1/s,function(e){return Math.pow(n+e*i,s)}):$(isNaN(e)?t:e)};function i(e,t){var r=n((e=v(e)).r,(t=v(t)).r),i=n(e.g,t.g),s=n(e.b,t.b),a=A(e.opacity,t.opacity);return function(t){return e.r=r(t),e.g=i(t),e.b=s(t),e.opacity=a(t),e+""}}return i.gamma=e,i}(1);function D(e){return function(t){var r,n,i=t.length,s=Array(i),a=Array(i),l=Array(i);for(r=0;r<i;++r)n=v(t[r]),s[r]=n.r||0,a[r]=n.g||0,l[r]=n.b||0;return s=e(s),a=e(a),l=e(l),n.opacity=1,function(e){return n.r=s(e),n.g=a(e),n.b=l(e),n+""}}}function F(e,t){return e*=1,t*=1,function(r){return e*(1-r)+t*r}}D(function(e){var t=e.length-1;return function(r){var n=r<=0?r=0:r>=1?(r=1,t-1):Math.floor(r*t),i=e[n],s=e[n+1],a=n>0?e[n-1]:2*i-s,l=n<t-1?e[n+2]:2*s-i;return O((r-n/t)*t,a,i,s,l)}}),D(function(e){var t=e.length;return function(r){var n=Math.floor(((r%=1)<0?++r:r)*t),i=e[(n+t-1)%t],s=e[n%t],a=e[(n+1)%t],l=e[(n+2)%t];return O((r-n/t)*t,i,s,a,l)}}),e.s(["default",0,T],47672),e.s(["default",0,F],11049);var q=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,z=RegExp(q.source,"g");function B(e,t){var r,n,i,s,a,l=q.lastIndex=z.lastIndex=0,o=-1,u=[],d=[];for(e+="",t+="";(i=q.exec(e))&&(s=z.exec(t));)(a=s.index)>l&&(a=t.slice(l,a),u[o]?u[o]+=a:u[++o]=a),(i=i[0])===(s=s[0])?u[o]?u[o]+=s:u[++o]=s:(u[++o]=null,d.push({i:o,x:F(i,s)})),l=z.lastIndex;return l<t.length&&(a=t.slice(l),u[o]?u[o]+=a:u[++o]=a),u.length<2?d[0]?(r=d[0].x,function(e){return r(e)+""}):(n=t,function(){return n}):(t=d.length,function(e){for(var r,n=0;n<t;++n)u[(r=d[n]).i]=r.x(e);return u.join("")})}function U(e,t){var r,n,i=typeof t;return null==t||"boolean"===i?$(t):("number"===i?F:"string"===i?(n=x(t))?(t=n,T):B:t instanceof x?T:t instanceof Date?function(e,t){var r=new Date;return e*=1,t*=1,function(n){return r.setTime(e*(1-n)+t*n),r}}:!ArrayBuffer.isView(r=t)||r instanceof DataView?Array.isArray(t)?function(e,t){var r,n=t?t.length:0,i=e?Math.min(n,e.length):0,s=Array(i),a=Array(n);for(r=0;r<i;++r)s[r]=U(e[r],t[r]);for(;r<n;++r)a[r]=t[r];return function(e){for(r=0;r<i;++r)a[r]=s[r](e);return a}}:"function"!=typeof t.valueOf&&"function"!=typeof t.toString||isNaN(t)?function(e,t){var r,n={},i={};for(r in(null===e||"object"!=typeof e)&&(e={}),(null===t||"object"!=typeof t)&&(t={}),t)r in e?n[r]=U(e[r],t[r]):i[r]=t[r];return function(e){for(r in n)i[r]=n[r](e);return i}}:F:function(e,t){t||(t=[]);var r,n=e?Math.min(t.length,e.length):0,i=t.slice();return function(s){for(r=0;r<n;++r)i[r]=e[r]*(1-s)+t[r]*s;return i}})(e,t)}e.s(["default",0,B],74037),e.s(["interpolate",0,U],98952),e.s(["interpolateNumber",0,F],25369)},23874,e=>{"use strict";e.s(["initInterpolator",0,function(e,t){switch(arguments.length){case 0:break;case 1:"function"==typeof e?this.interpolator(e):this.range(e);break;default:this.domain(e),"function"==typeof t?this.interpolator(t):this.range(t)}return this},"initRange",0,function(e,t){switch(arguments.length){case 0:break;case 1:this.range(e);break;default:this.range(t).domain(e)}return this}])},28120,e=>{"use strict";var t=e.i(21791),r=e.i(23874);let n=Symbol("implicit");e.s(["default",0,function e(){var i=new t.InternMap,s=[],a=[],l=n;function o(e){let t=i.get(e);if(void 0===t){if(l!==n)return l;i.set(e,t=s.push(e)-1)}return a[t%a.length]}return o.domain=function(e){if(!arguments.length)return s.slice();for(let r of(s=[],i=new t.InternMap,e))i.has(r)||i.set(r,s.push(r)-1);return o},o.range=function(e){return arguments.length?(a=Array.from(e),o):a.slice()},o.unknown=function(e){return arguments.length?(l=e,o):l},o.copy=function(){return e(s,a).unknown(l)},r.initRange.apply(o,arguments),o},"implicit",0,n])},21791,e=>{"use strict";class t extends Map{constructor(e,t=n){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:t}}),null!=e)for(const[t,r]of e)this.set(t,r)}get(e){return super.get(r(this,e))}has(e){return super.has(r(this,e))}set(e,t){return super.set(function({_intern:e,_key:t},r){let n=t(r);return e.has(n)?e.get(n):(e.set(n,r),r)}(this,e),t)}delete(e){return super.delete(function({_intern:e,_key:t},r){let n=t(r);return e.has(n)&&(r=e.get(n),e.delete(n)),r}(this,e))}}function r({_intern:e,_key:t},n){let i=t(n);return e.has(i)?e.get(i):n}function n(e){return null!==e&&"object"==typeof e?e.valueOf():e}e.s(["InternMap",0,t])},72552,(e,t,r)=>{var n;let i;e.e,n=function e(){var t="u">typeof self?self:"u">typeof window?window:void 0!==t?t:{},r=!t.document&&!!t.postMessage,n=t.IS_PAPA_WORKER||!1,i={},s=0,a={};function l(e){return 65279===e.charCodeAt(0)?e.slice(1):e}function o(e){this._handle=null,this._finished=!1,this._completed=!1,this._halted=!1,this._input=null,this._baseIndex=0,this._partialLine="",this._rowCount=0,this._start=0,this._nextChunk=null,this.isFirstChunk=!0,this._completeResults={data:[],errors:[],meta:{}},(function(e){var t=y(e);t.chunkSize=parseInt(t.chunkSize),e.step||e.chunk||(t.chunkSize=null),this._handle=new h(t),(this._handle.streamer=this)._config=t}).call(this,e),this.parseChunk=function(e,r){var i=parseInt(this._config.skipFirstNLines)||0;if(this.isFirstChunk&&0<i){let t=this._config.newline;t||(s=this._config.quoteChar||'"',t=this._handle.guessLineEndings(e,s)),e=[...e.split(t).slice(i)].join(t)}this.isFirstChunk&&w(this._config.beforeFirstChunk)&&void 0!==(s=this._config.beforeFirstChunk(e))&&(e=s),this.isFirstChunk=!1,this._halted=!1;var i=this._partialLine+e,s=(this._partialLine="",this._handle.parse(i,this._baseIndex,!this._finished));if(!this._handle.paused()&&!this._handle.aborted()){if(e=s.meta.cursor,this._finished||(this._partialLine=i.substring(e-this._baseIndex),this._baseIndex=e),s&&s.data&&(this._rowCount+=s.data.length),i=this._finished||this._config.preview&&this._rowCount>=this._config.preview,n)t.postMessage({results:s,workerId:a.WORKER_ID,finished:i});else if(w(this._config.chunk)&&!r){if(this._config.chunk(s,this._handle),this._handle.paused()||this._handle.aborted())return void(this._halted=!0);this._completeResults=s=void 0}return this._config.step||this._config.chunk||(this._completeResults.data=this._completeResults.data.concat(s.data),this._completeResults.errors=this._completeResults.errors.concat(s.errors),this._completeResults.meta=s.meta),this._completed||!i||!w(this._config.complete)||s&&s.meta.aborted||(this._config.complete(this._completeResults,this._input),this._completed=!0),i||s&&s.meta.paused||this._nextChunk(),s}this._halted=!0},this._sendError=function(e){w(this._config.error)?this._config.error(e):n&&this._config.error&&t.postMessage({workerId:a.WORKER_ID,error:e,finished:!1})}}function u(e){var t;(e=e||{}).chunkSize||(e.chunkSize=a.RemoteChunkSize),o.call(this,e),this._nextChunk=r?function(){this._readChunk(),this._chunkLoaded()}:function(){this._readChunk()},this.stream=function(e){this._input=e,this._nextChunk()},this._readChunk=function(){if(this._finished)this._chunkLoaded();else{if(t=new XMLHttpRequest,this._config.withCredentials&&(t.withCredentials=this._config.withCredentials),r||(t.onload=v(this._chunkLoaded,this),t.onerror=v(this._chunkError,this)),t.ontimeout=v(this._chunkTimeout,this),t.open(this._config.downloadRequestBody?"POST":"GET",this._input,!r),this._config.downloadTimeout&&!r&&(t.timeout=this._config.downloadTimeout),this._config.downloadRequestHeaders){var e,n,i=this._config.downloadRequestHeaders;for(n in i)t.setRequestHeader(n,i[n])}this._config.chunkSize&&(e=this._start+this._config.chunkSize-1,t.setRequestHeader("Range","bytes="+this._start+"-"+e));try{t.send(this._config.downloadRequestBody)}catch(e){this._chunkError(e.message)}r&&0===t.status&&this._chunkError()}},this._chunkLoaded=function(){let e;4===t.readyState&&(t.status<200||400<=t.status?this._chunkError():(this._start+=this._config.chunkSize||t.responseText.length,this._finished=!this._config.chunkSize||this._start>=(null!==(e=(e=t).getResponseHeader("Content-Range"))?parseInt(e.substring(e.lastIndexOf("/")+1)):-1),this.parseChunk(t.responseText)))},this._chunkError=function(e){e=t.statusText||e,this._sendError(Error(e))},this._chunkTimeout=function(){this._chunkError("Request timed out after "+this._config.downloadTimeout+"ms")}}function d(e){(e=e||{}).chunkSize||(e.chunkSize=a.LocalChunkSize),o.call(this,e);var t,r,n="u">typeof FileReader;this.stream=function(e){this._input=e,r=e.slice||e.webkitSlice||e.mozSlice,n?((t=new FileReader).onload=v(this._chunkLoaded,this),t.onerror=v(this._chunkError,this)):t=new FileReaderSync,this._nextChunk()},this._nextChunk=function(){this._finished||this._config.preview&&!(this._rowCount<this._config.preview)||this._readChunk()},this._readChunk=function(){var e=this._input,i=(this._config.chunkSize&&(i=Math.min(this._start+this._config.chunkSize,this._input.size),e=r.call(e,this._start,i)),t.readAsText(e,this._config.encoding));n||this._chunkLoaded({target:{result:i}})},this._chunkLoaded=function(e){this._start+=this._config.chunkSize,this._finished=!this._config.chunkSize||this._start>=this._input.size,this.parseChunk(e.target.result)},this._chunkError=function(){this._sendError(t.error)}}function c(e){var t;o.call(this,e=e||{}),this.stream=function(e){return t=e,this._nextChunk()},this._nextChunk=function(){var e,r;if(!this._finished)return t=(e=this._config.chunkSize)?(r=t.substring(0,e),t.substring(e)):(r=t,""),this._finished=!t,this.parseChunk(r)}}function f(e){o.call(this,e=e||{});var t=[],r=!0,n=!1;this.pause=function(){o.prototype.pause.apply(this,arguments),this._input.pause()},this.resume=function(){o.prototype.resume.apply(this,arguments),this._input.resume()},this.stream=function(e){this._input=e,this._input.on("data",this._streamData),this._input.on("end",this._streamEnd),this._input.on("error",this._streamError)},this._checkIsFinished=function(){n&&1===t.length&&(this._finished=!0)},this._nextChunk=function(){this._checkIsFinished(),t.length?this.parseChunk(t.shift()):r=!0},this._streamData=v(function(e){try{t.push("string"==typeof e?e:e.toString(this._config.encoding)),r&&(r=!1,this._checkIsFinished(),this.parseChunk(t.shift()))}catch(e){this._streamError(e)}},this),this._streamError=v(function(e){this._streamCleanUp(),this._sendError(e)},this),this._streamEnd=v(function(){this._streamCleanUp(),n=!0,this._streamData("")},this),this._streamCleanUp=v(function(){this._input.removeListener("data",this._streamData),this._input.removeListener("end",this._streamEnd),this._input.removeListener("error",this._streamError)},this)}function h(e){var t,r,n,i,s=/^\s*-?(\d+\.?|\.\d+|\d+\.\d+)([eE][-+]?\d+)?\s*$/,l=/^((\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z)))$/,o=this,u=0,d=0,c=!1,f=!1,h=[],g={data:[],errors:[],meta:{}};function x(t){return"greedy"===e.skipEmptyLines?""===t.join("").trim():1===t.length&&0===t[0].length}function b(){if(g&&n&&(_("Delimiter","UndetectableDelimiter","Unable to auto-detect delimiting character; defaulted to '"+a.DefaultDelimiter+"'"),n=!1),e.skipEmptyLines&&(g.data=g.data.filter(function(e){return!x(e)})),v()){if(g)if(Array.isArray(g.data[0])){for(var t,r=0;v()&&r<g.data.length;r++)g.data[r].forEach(i);g.data.splice(0,1)}else g.data.forEach(i);function i(e){h.push(e)}}function o(t,r){for(var n=e.header?{}:[],i=0;i<t.length;i++){var a=i,o=t[i],o=((t,r)=>(e.dynamicTypingFunction&&void 0===e.dynamicTyping[t]&&(e.dynamicTyping[t]=e.dynamicTypingFunction(t)),!0===(e.dynamicTyping[t]||e.dynamicTyping))?"true"===r||"TRUE"===r||"false"!==r&&"FALSE"!==r&&((e=>{if(s.test(e)&&-0x20000000000000<(e=parseFloat(e))&&e<0x20000000000000)return 1})(r)?parseFloat(r):l.test(r)?new Date(r):""===r?null:r):r)(a=e.header?i>=h.length?"__parsed_extra":h[i]:a,o=e.transform?e.transform(o,a):o);"__parsed_extra"===a?(n[a]=n[a]||[],n[a].push(o)):n[a]=o}return e.header&&(i>h.length?_("FieldMismatch","TooManyFields","Too many fields: expected "+h.length+" fields but parsed "+i,d+r):i<h.length&&_("FieldMismatch","TooFewFields","Too few fields: expected "+h.length+" fields but parsed "+i,d+r)),n}g&&(e.header||e.dynamicTyping||e.transform)&&(t=1,!g.data.length||Array.isArray(g.data[0])?(g.data=g.data.map(o),t=g.data.length):g.data=o(g.data,0),e.header&&g.meta&&(g.meta.fields=h),d+=t)}function v(){return e.header&&0===h.length}function _(e,t,r,n){e={type:e,code:t,message:r},void 0!==n&&(e.row=n),g.errors.push(e)}w(e.step)&&(i=e.step,e.step=function(t){g=t,v()?b():(b(),0!==g.data.length&&(u+=t.data.length,e.preview&&u>e.preview?r.abort():(g.data=g.data[0],i(g,o))))}),this.parse=function(i,s,l){var o=e.quoteChar||'"',o=(e.newline||(e.newline=this.guessLineEndings(i,o)),n=!1,e.delimiter?w(e.delimiter)&&(e.delimiter=e.delimiter(i),g.meta.delimiter=e.delimiter):((o=((t,r,n,i,s)=>{var l,o,u,d;s=s||[","," ","|",";",a.RECORD_SEP,a.UNIT_SEP];for(var c=0;c<s.length;c++){for(var f,h=s[c],p=0,g=0,b=0,y=(u=void 0,new m({comments:i,delimiter:h,newline:r,preview:10}).parse(t)),v=0;v<y.data.length;v++)n&&x(y.data[v])?b++:(g+=f=y.data[v].length,void 0===u?u=f:0<f&&(p+=Math.abs(f-u),u=f));0<y.data.length&&(g/=y.data.length-b),1.99<g&&(void 0===o||p<o||p===o&&d<g)&&(o=p,l=h,d=g)}return{successful:!!(e.delimiter=l),bestDelimiter:l}})(i,e.newline,e.skipEmptyLines,e.comments,e.delimitersToGuess)).successful?e.delimiter=o.bestDelimiter:(n=!0,e.delimiter=a.DefaultDelimiter),g.meta.delimiter=e.delimiter),y(e));return o.header=v(),e.preview&&e.header&&o.preview++,t=i,g=(r=new m(o)).parse(t,s,l),b(),c?{meta:{paused:!0}}:g||{meta:{paused:!1}}},this.paused=function(){return c},this.pause=function(){c=!0,r.abort(),t=w(e.chunk)?"":t.substring(r.getCharIndex())},this.resume=function(){o.streamer._halted?(c=!1,o.streamer.parseChunk(t,!0)):setTimeout(o.resume,3)},this.aborted=function(){return f},this.abort=function(){f=!0,r.abort(),g.meta.aborted=!0,w(e.complete)&&e.complete(g),t=""},this.guessLineEndings=function(e,t){e=e.substring(0,1048576);var t=RegExp(p(t)+"([^]*?)"+p(t),"gm"),r=(e=e.replace(t,"")).split("\r"),t=e.split("\n"),e=1<t.length&&t[0].length<r[0].length;if(1===r.length||e)return"\n";for(var n=0,i=0;i<r.length;i++)"\n"===r[i][0]&&n++;return n>=r.length/2?"\r\n":"\r"}}function p(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function m(e){var t=(e=e||{}).delimiter,r=e.newline,n=e.comments,i=e.step,s=e.preview,o=e.fastMode,u=null,d=!1,c=null==e.quoteChar?'"':e.quoteChar,f=c;if(void 0!==e.escapeChar&&(f=e.escapeChar),("string"!=typeof t||-1<a.BAD_DELIMITERS.indexOf(t))&&(t=","),n===t)throw Error("Comment character same as delimiter");!0===n?n="#":("string"!=typeof n||-1<a.BAD_DELIMITERS.indexOf(n))&&(n=!1),"\n"!==r&&"\r"!==r&&"\r\n"!==r&&(r="\n");var h=0,m=!1;this.parse=function(a,g,x){if("string"!=typeof a)throw Error("Input must be a string");var b=a.length,y=t.length,v=r.length,_=n.length,k=w(i),E=[],j=[],C=[],N=h=0;if(!a)return q();if(o||!1!==o&&-1===a.indexOf(c)){for(var R=a.split(r),S=0;S<R.length;S++){if(C=R[S],h+=C.length,S!==R.length-1)h+=r.length;else if(x)break;if(!n||C.substring(0,_)!==n){if(k){if(E=[],A(C.split(t)),z(),m)return q()}else A(C.split(t));if(s&&s<=S)return E=E.slice(0,s),q(!0)}}return q()}for(var I=a.indexOf(t,h),M=a.indexOf(r,h),L=RegExp(p(f)+p(c),"g"),O=a.indexOf(c,h);;)if(a[h]===c)for(O=h,h++;;){if(-1===(O=a.indexOf(c,O+1)))return x||j.push({type:"Quotes",code:"MissingQuotes",message:"Quoted field unterminated",row:E.length,index:h}),D();if(O===b-1)return D(a.substring(h,O).replace(L,c));if(c===f&&a[O+1]===f)O++;else if(c===f||0===O||a[O-1]!==f){-1!==I&&I<O+1&&(I=a.indexOf(t,O+1));var $=T(-1===(M=-1!==M&&M<O+1?a.indexOf(r,O+1):M)?I:Math.min(I,M));if(a.substr(O+1+$,y)===t){C.push(a.substring(h,O).replace(L,c)),a[h=O+1+$+y]!==c&&(O=a.indexOf(c,h)),I=a.indexOf(t,h),M=a.indexOf(r,h);break}if($=T(M),a.substring(O+1+$,O+1+$+v)===r){if(C.push(a.substring(h,O).replace(L,c)),F(O+1+$+v),I=a.indexOf(t,h),O=a.indexOf(c,h),k&&(z(),m))return q();if(s&&E.length>=s)return q(!0);break}j.push({type:"Quotes",code:"InvalidQuotes",message:"Trailing quote on quoted field is malformed",row:E.length,index:h}),O++}}else if(n&&0===C.length&&a.substring(h,h+_)===n){if(-1===M)return q();h=M+v,M=a.indexOf(r,h),I=a.indexOf(t,h)}else if(-1!==I&&(I<M||-1===M))C.push(a.substring(h,I)),h=I+y,I=a.indexOf(t,h);else{if(-1===M)break;if(C.push(a.substring(h,M)),F(M+v),k&&(z(),m))return q();if(s&&E.length>=s)return q(!0)}return D();function A(e){E.push(e),N=h}function T(e){return -1!==e&&(e=a.substring(O+1,e))&&""===e.trim()?e.length:0}function D(e){return x||(void 0===e&&(e=a.substring(h)),C.push(e),h=b,A(C),k&&z()),q()}function F(e){h=e,A(C),C=[],M=a.indexOf(r,h)}function q(n){if(e.header&&!g&&E.length&&!d){var i=E[0],s=Object.create(null),a=new Set(i);let t=!1;for(let r=0;r<i.length;r++){let n=l(i[r]);if(s[n=w(e.transformHeader)?e.transformHeader(n,r):n]){let e,l=s[n];for(;e=n+"_"+l,l++,a.has(e););a.add(e),i[r]=e,s[n]++,t=!0,(u=null===u?{}:u)[e]=n}else s[n]=1,i[r]=n;a.add(n)}t&&console.warn("Duplicate headers found and renamed."),d=!0}return{data:E,errors:j,meta:{delimiter:t,linebreak:r,aborted:m,truncated:!!n,cursor:N+(g||0),renamedHeaders:u}}}function z(){i(q()),E=[],j=[]}},this.abort=function(){m=!0},this.getCharIndex=function(){return h}}function g(e){var t=e.data,r=i[t.workerId],n=!1;if(t.error)r.userError(t.error,t.file);else if(t.results&&t.results.data){var s={abort:function(){n=!0,x(t.workerId,{data:[],errors:[],meta:{aborted:!0}})},pause:b,resume:b};if(w(r.userStep)){for(var a=0;a<t.results.data.length&&(r.userStep({data:t.results.data[a],errors:t.results.errors,meta:t.results.meta},s),!n);a++);delete t.results}else w(r.userChunk)&&(r.userChunk(t.results,s,t.file),delete t.results)}t.finished&&!n&&x(t.workerId,t.results)}function x(e,t){var r=i[e];w(r.userComplete)&&r.userComplete(t),r.terminate(),delete i[e]}function b(){throw Error("Not implemented.")}function y(e){if("object"!=typeof e||null===e)return e;var t,r=Array.isArray(e)?[]:{};for(t in e)r[t]=y(e[t]);return r}function v(e,t){return function(){e.apply(t,arguments)}}function w(e){return"function"==typeof e}return a.parse=function(r,n){var o,h,p,m=(n=n||{}).dynamicTyping||!1;if(w(m)&&(n.dynamicTypingFunction=m,m={}),n.dynamicTyping=m,n.transform=!!w(n.transform)&&n.transform,void 0!==n.downloadTimeout){var m=parseInt(n.downloadTimeout);if(isNaN(m))throw Error("Config downloadTimeout value ("+n.downloadTimeout+") not parsable by parseInt(val).");n.downloadTimeout=m}if(!n.worker||!a.WORKERS_SUPPORTED)return m=null,a.NODE_STREAM_INPUT,"string"==typeof r?(r=l(r),m=new(n.download?u:c)(n)):!0===r.readable&&w(r.read)&&w(r.on)?m=new f(n):(t.File&&r instanceof File||r instanceof Object)&&(m=new d(n)),m.stream(r);(m=!!a.WORKERS_SUPPORTED&&(h=t.URL||t.webkitURL||null,p=e.toString(),o=a.BLOB_URL||(a.BLOB_URL=h.createObjectURL(new Blob(["var global = (function() { if (typeof self !== 'undefined') { return self; } if (typeof window !== 'undefined') { return window; } if (typeof global !== 'undefined') { return global; } return {}; })(); global.IS_PAPA_WORKER=true; ","(",p,")();"],{type:"text/javascript"}))),(o=new t.Worker(o)).onmessage=g,o.id=s++,i[o.id]=o)).userStep=n.step,m.userChunk=n.chunk,m.userComplete=n.complete,m.userError=n.error,n.step=w(n.step),n.chunk=w(n.chunk),n.complete=w(n.complete),n.error=w(n.error),delete n.worker,m.postMessage({input:r,config:n,workerId:m.id})},a.unparse=function(e,t){var r=!1,n=!0,i=",",s="\r\n",l='"',o=l+l,u=!1,d=null,c=!1,f=((()=>{if("object"==typeof t){if("string"!=typeof t.delimiter||a.BAD_DELIMITERS.filter(function(e){return -1!==t.delimiter.indexOf(e)}).length||(i=t.delimiter),("boolean"==typeof t.quotes||"function"==typeof t.quotes||Array.isArray(t.quotes))&&(r=t.quotes),"boolean"!=typeof t.skipEmptyLines&&"string"!=typeof t.skipEmptyLines||(u=t.skipEmptyLines),"string"==typeof t.newline&&(s=t.newline),"string"==typeof t.quoteChar&&(o=(l=t.quoteChar)+l),"boolean"==typeof t.header&&(n=t.header),Array.isArray(t.columns)){if(0===t.columns.length)throw Error("Option columns is empty");d=t.columns}void 0!==t.escapeChar&&(o=t.escapeChar+l),t.escapeFormulae instanceof RegExp?c=t.escapeFormulae:"boolean"==typeof t.escapeFormulae&&t.escapeFormulae&&(c=/^[=+\-@\t\r].*$/)}})(),RegExp(p(l),"g"));if("string"==typeof e&&(e=JSON.parse(e)),Array.isArray(e)){if(!e.length||Array.isArray(e[0]))return h(null,e,u);if("object"==typeof e[0])return h(d||Object.keys(e[0]),e,u)}else if("object"==typeof e)return"string"==typeof e.data&&(e.data=JSON.parse(e.data)),Array.isArray(e.data)&&(e.fields||(e.fields=e.meta&&e.meta.fields||d),e.fields||(e.fields=Array.isArray(e.data[0])?e.fields:"object"==typeof e.data[0]?Object.keys(e.data[0]):[]),Array.isArray(e.data[0])||"object"==typeof e.data[0]||(e.data=[e.data])),h(e.fields||[],e.data||[],u);throw Error("Unable to serialize unrecognized input");function h(e,t,r){var a="",l=("string"==typeof e&&(e=JSON.parse(e)),"string"==typeof t&&(t=JSON.parse(t)),Array.isArray(e)&&0<e.length),o=!Array.isArray(t[0]);if(l&&n){for(var u=0;u<e.length;u++)0<u&&(a+=i),a+=m(e[u],u);0<t.length&&(a+=s)}for(var d=0;d<t.length;d++){var c=(l?e:t[d]).length,f=!1,h=l?0===Object.keys(t[d]).length:0===t[d].length;if(r&&!l&&(f="greedy"===r?""===t[d].join("").trim():1===t[d].length&&0===t[d][0].length),"greedy"===r&&l){for(var p=[],g=0;g<c;g++){var x=o?e[g]:g;p.push(t[d][x])}f=""===p.join("").trim()}if(!f){for(var b=0;b<c;b++){0<b&&!h&&(a+=i);var y=l&&o?e[b]:b;a+=m(t[d][y],b)}d<t.length-1&&(!r||0<c&&!h)&&(a+=s)}}return a}function m(e,t){var n,s,u;return null==e?"":e.constructor===Date?isNaN(e.getTime())?"":e.toISOString():(u=!1,c&&"string"==typeof e&&c.test(e)&&(e="'"+e,u=!0),s=(n=e.toString()).replace(f,o),(u=u||!0===r||"function"==typeof r&&r(e,t)||Array.isArray(r)&&r[t]||((e,t)=>{for(var r=0;r<t.length;r++)if(-1<e.indexOf(t[r]))return!0;return!1})(s,a.BAD_DELIMITERS)||-1<s.indexOf(i)||-1<n.indexOf(l)||" "===s.charAt(0)||" "===s.charAt(s.length-1))?l+s+l:s)}},a.RECORD_SEP="\x1e",a.UNIT_SEP="\x1f",a.BYTE_ORDER_MARK="\uFEFF",a.BAD_DELIMITERS=["\r","\n",'"',a.BYTE_ORDER_MARK],a.WORKERS_SUPPORTED=!r&&!!t.Worker,a.NODE_STREAM_INPUT=1,a.LocalChunkSize=0xa00000,a.RemoteChunkSize=5242880,a.DefaultDelimiter=",",a.Parser=m,a.ParserHandle=h,a.NetworkStreamer=u,a.FileStreamer=d,a.StringStreamer=c,a.ReadableStreamStreamer=f,n&&(t.onmessage=function(e){e=e.data,void 0===a.WORKER_ID&&e&&(a.WORKER_ID=e.workerId),"string"==typeof e.input?t.postMessage({workerId:a.WORKER_ID,results:a.parse(e.input,e.config),finished:!0}):(t.File&&e.input instanceof File||e.input instanceof Object)&&(e=a.parse(e.input,e.config))&&t.postMessage({workerId:a.WORKER_ID,results:e,finished:!0})}),(u.prototype=Object.create(o.prototype)).constructor=u,(d.prototype=Object.create(o.prototype)).constructor=d,(c.prototype=Object.create(c.prototype)).constructor=c,(f.prototype=Object.create(o.prototype)).constructor=f,a},"function"==typeof define&&define.amd?void 0!==(i=n())&&e.v(i):t.exports=n()}]);