@unchainedshop/admin-ui 4.8.4 → 5.0.0-alpha.1

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 (580) hide show
  1. package/out/403/index.html +2 -2
  2. package/out/404/index.html +2 -2
  3. package/out/404.html +2 -2
  4. package/out/423/index.html +2 -2
  5. package/out/500/index.html +2 -2
  6. package/out/_next/static/{B_HQG2nskQonyzu_4cgAO → _ZCNVAj2ptQ3WvyS9d8fH}/_buildManifest.js +62 -62
  7. package/out/_next/static/_ZCNVAj2ptQ3WvyS9d8fH/_clientMiddlewareManifest.js +1 -0
  8. package/out/_next/static/chunks/0-3aqi0z~0~kq.js +1 -0
  9. package/out/_next/static/chunks/0-_n2k06ojx7r.js +5 -0
  10. package/out/_next/static/chunks/0-b7z0cgkcxjg.js +12 -0
  11. package/out/_next/static/chunks/0-khetjtcca7j.js +23 -0
  12. package/out/_next/static/chunks/0.7c6ora-keix.js +291 -0
  13. package/out/_next/static/chunks/0.9xrb29zv20w.js +1 -0
  14. package/out/_next/static/chunks/00.vtv-~sgyl1.js +1 -0
  15. package/out/_next/static/chunks/002w~0kz13czu.js +2 -0
  16. package/out/_next/static/chunks/00z-be-uhq5~b.js +138 -0
  17. package/out/_next/static/chunks/01.ky4xf9k36u.js +1 -0
  18. package/out/_next/static/chunks/01m_2h75jti7r.js +173 -0
  19. package/out/_next/static/chunks/01r~p51b_ree7.js +12 -0
  20. package/out/_next/static/chunks/01ua~kzkn_2re.js +2 -0
  21. package/out/_next/static/chunks/01~bicjgx9ycz.js +13 -0
  22. package/out/_next/static/chunks/02.h.hxc5z45l.js +58 -0
  23. package/out/_next/static/chunks/020ov1cd5ubsp.js +1 -0
  24. package/out/_next/static/chunks/022.6ji94gj66.js +90 -0
  25. package/out/_next/static/chunks/{618f3339425a898e.js → 02ljwx.y7xl4e.js} +168 -168
  26. package/out/_next/static/chunks/034ij~x6p.1xq.js +7 -0
  27. package/out/_next/static/chunks/0387wujkm6quw.js +26 -0
  28. package/out/_next/static/chunks/03j~743_iaz5a.js +87 -0
  29. package/out/_next/static/chunks/03zc-8olk-a4z.js +11 -0
  30. package/out/_next/static/chunks/042vny1lzms1d.js +1 -0
  31. package/out/_next/static/chunks/045b8oqunhkwz.js +1 -0
  32. package/out/_next/static/chunks/04d1nicvb1h43.js +12 -0
  33. package/out/_next/static/chunks/04hnzv8.xnhtq.js +12 -0
  34. package/out/_next/static/chunks/04j3vrvch7ujx.js +1 -0
  35. package/out/_next/static/chunks/04j47t-gfncz0.js +17 -0
  36. package/out/_next/static/chunks/04wxvqon75sl5.js +15 -0
  37. package/out/_next/static/chunks/0511iudhvmzyd.js +14 -0
  38. package/out/_next/static/chunks/054x6af~vznwl.js +13 -0
  39. package/out/_next/static/chunks/055l.ongzthsf.js +2 -0
  40. package/out/_next/static/chunks/05r6-kh0ahzac.js +288 -0
  41. package/out/_next/static/chunks/068vu6mcq90.a.js +14 -0
  42. package/out/_next/static/chunks/069qmjrpifff9.js +10 -0
  43. package/out/_next/static/chunks/{56b82382d313b5ff.js → 06c.18b146dst.js} +2 -2
  44. package/out/_next/static/chunks/06ciqx79i2-.y.js +16 -0
  45. package/out/_next/static/chunks/06em3notkoupj.js +60 -0
  46. package/out/_next/static/chunks/06fu~nzcm6-xx.js +13 -0
  47. package/out/_next/static/chunks/06ldt6o0kv861.js +12 -0
  48. package/out/_next/static/chunks/06nnfpkytc2xp.js +101 -0
  49. package/out/_next/static/chunks/071ms7.~t3bpc.js +73 -0
  50. package/out/_next/static/chunks/{bf0397bb49e85f73.js → 07absjbyi5efz.js} +15 -15
  51. package/out/_next/static/chunks/07e9hvcn2m7m0.css +1 -0
  52. package/out/_next/static/chunks/{fddd71acbe862123.js → 07gn.w-1ng2vv.js} +3 -3
  53. package/out/_next/static/chunks/07ok4zsn3fbvv.js +8 -0
  54. package/out/_next/static/chunks/07rzofd~n_8p3.js +111 -0
  55. package/out/_next/static/chunks/{cf22bd7f999c9730.js → 08mu1xcbu0z5i.js} +1 -1
  56. package/out/_next/static/chunks/08np.usn69g26.js +12 -0
  57. package/out/_next/static/chunks/08oxo2i_s5k32.js +22 -0
  58. package/out/_next/static/chunks/09.xyqg-s5.hj.js +1 -0
  59. package/out/_next/static/chunks/09kdzdul.4ws~.js +5 -0
  60. package/out/_next/static/chunks/09u84u49rpg~q.js +10 -0
  61. package/out/_next/static/chunks/{b191de8f41e00ce4.js → 0_0s9kzhzuc0n.js} +2 -2
  62. package/out/_next/static/chunks/0_34hlmm2xs02.js +1 -0
  63. package/out/_next/static/chunks/0__0blfuajz3u.js +1 -0
  64. package/out/_next/static/chunks/{1fae4a04bcbd6f57.js → 0_bohk37n03zc.js} +3 -3
  65. package/out/_next/static/chunks/0_fs4fka5dmk4.js +14 -0
  66. package/out/_next/static/chunks/0_t._or66p529.js +10 -0
  67. package/out/_next/static/chunks/0a6n-.sxlxj9i.js +44 -0
  68. package/out/_next/static/chunks/0aewtng76o8~g.js +1 -0
  69. package/out/_next/static/chunks/0aokk5k383t_7.js +1 -0
  70. package/out/_next/static/chunks/0bb3o6y0psmp~.js +137 -0
  71. package/out/_next/static/chunks/{854229936d29e550.js → 0binkax94nk~0.js} +72 -72
  72. package/out/_next/static/chunks/0b~s0.jgd-9e2.js +1 -0
  73. package/out/_next/static/chunks/0c6p-vlcfco03.js +2 -0
  74. package/out/_next/static/chunks/{2bd8be232a656040.js → 0cau~hqb0jkf..js} +1 -1
  75. package/out/_next/static/chunks/0chk_j9c0w74~.js +21 -0
  76. package/out/_next/static/chunks/{d4099cc5c04e160f.js → 0d1xe7n4~ift~.js} +3 -3
  77. package/out/_next/static/chunks/0d2egm4vz55tp.js +16 -0
  78. package/out/_next/static/chunks/0dcng-~m.1-6b.js +31 -0
  79. package/out/_next/static/chunks/{795536cdbb6857ff.js → 0dwysww-f770p.js} +2 -2
  80. package/out/_next/static/chunks/0d~ogeoavcw1p.js +2 -0
  81. package/out/_next/static/chunks/0eh08mw_ge-97.js +20 -0
  82. package/out/_next/static/chunks/0ehfzo.p_8b1p.js +142 -0
  83. package/out/_next/static/chunks/{b930222155336289.js → 0ei4k52e-lv4o.js} +47 -47
  84. package/out/_next/static/chunks/0eq_bq11j1d8h.js +73 -0
  85. package/out/_next/static/chunks/0exrsz6ax-mbc.js +50 -0
  86. package/out/_next/static/chunks/0f7dus4chk-b7.js +1 -0
  87. package/out/_next/static/chunks/0f_2kctvcf9fc.js +132 -0
  88. package/out/_next/static/chunks/0fiu9kb2mg_pe.js +1 -0
  89. package/out/_next/static/chunks/0fzcyuwh8xfnw.js +2 -0
  90. package/out/_next/static/chunks/0gepdh_x8l03e.js +31 -0
  91. package/out/_next/static/chunks/{6d7135bc7cc257ba.js → 0h3apzm4sorb-.js} +2 -2
  92. package/out/_next/static/chunks/0hf6k~k9i9dml.js +101 -0
  93. package/out/_next/static/chunks/{3b5339be122ea5eb.js → 0hggeos.n3ho1.js} +27 -27
  94. package/out/_next/static/chunks/{a51e6aa89d2a14ce.js → 0hs_qs3vvqt40.js} +28 -28
  95. package/out/_next/static/chunks/0i2a62pwzd90a.js +1 -0
  96. package/out/_next/static/chunks/0i6yv64iri6c7.js +14 -0
  97. package/out/_next/static/chunks/0id0hab4x07mp.js +13 -0
  98. package/out/_next/static/chunks/0itsov_woj_gc.js +11 -0
  99. package/out/_next/static/chunks/0j0vos96uuvzn.js +19 -0
  100. package/out/_next/static/chunks/0jl_db3hgihi8.js +1 -0
  101. package/out/_next/static/chunks/{9e08c1215dba1e05.js → 0jsod19bi_.b4.js} +1 -1
  102. package/out/_next/static/chunks/0jt2g8-m-bu3h.js +15 -0
  103. package/out/_next/static/chunks/0jxpx..caiup3.js +51 -0
  104. package/out/_next/static/chunks/0k3anlop2ta22.js +1 -0
  105. package/out/_next/static/chunks/0kg9ib_s2gdgg.js +13 -0
  106. package/out/_next/static/chunks/0klqyqhl-cmiq.js +46 -0
  107. package/out/_next/static/chunks/0krimw~~gz366.js +2 -0
  108. package/out/_next/static/chunks/0kwn.hg1e.um~.js +44 -0
  109. package/out/_next/static/chunks/0kwrzdkwhn88r.js +13 -0
  110. package/out/_next/static/chunks/0lcrt1adr76yw.js +8 -0
  111. package/out/_next/static/chunks/0ljk.6lm3l484.js +7 -0
  112. package/out/_next/static/chunks/0lq8y5ij59ip~.js +1 -0
  113. package/out/_next/static/chunks/0ltj_coftxt~y.js +3 -0
  114. package/out/_next/static/chunks/{65cd6908c81558be.js → 0lvph83c6z2a-.js} +1 -1
  115. package/out/_next/static/chunks/0mehfyjroyd5m.js +22 -0
  116. package/out/_next/static/chunks/0n0rvtqgyilhu.js +13 -0
  117. package/out/_next/static/chunks/0n_8yfa~wwmvn.js +16 -0
  118. package/out/_next/static/chunks/0ncx_fjx5r3e9.js +13 -0
  119. package/out/_next/static/chunks/0njruqifmj7eb.js +73 -0
  120. package/out/_next/static/chunks/0nxa2d3rd~_hk.js +20 -0
  121. package/out/_next/static/chunks/0oavskn-j3nfr.js +12 -0
  122. package/out/_next/static/chunks/0oe9_~e6jba2c.js +108 -0
  123. package/out/_next/static/chunks/0on_9mgul7_i2.js +188 -0
  124. package/out/_next/static/chunks/0o~whquist5u6.js +1 -0
  125. package/out/_next/static/chunks/0p1dktj9e81.u.js +209 -0
  126. package/out/_next/static/chunks/0p2l~~8x6478b.js +73 -0
  127. package/out/_next/static/chunks/0p47r5clv~tji.js +10 -0
  128. package/out/_next/static/chunks/0pu7s41rb3je3.js +1 -0
  129. package/out/_next/static/chunks/0pvo5m24k8fer.js +61 -0
  130. package/out/_next/static/chunks/{5655a77e7f2e8be6.js → 0q_s9ru.9iese.js} +28 -28
  131. package/out/_next/static/chunks/0qoukboupb.ht.js +14 -0
  132. package/out/_next/static/chunks/0qsxmm8vi313~.js +1 -0
  133. package/out/_next/static/chunks/0qvf8s9fxj~ah.js +41 -0
  134. package/out/_next/static/chunks/0qy-relppwey0.js +384 -0
  135. package/out/_next/static/chunks/0r-a0zxkpzy.c.js +14 -0
  136. package/out/_next/static/chunks/0r017e-0mhnx2.js +16 -0
  137. package/out/_next/static/chunks/0r4jylm5inuxv.js +13 -0
  138. package/out/_next/static/chunks/0r6m.pwe-fw0s.js +18 -0
  139. package/out/_next/static/chunks/0rbjbp6y.a5ze.js +8 -0
  140. package/out/_next/static/chunks/0rds3div~3bsj.js +15 -0
  141. package/out/_next/static/chunks/0ridpuenplsy6.js +46 -0
  142. package/out/_next/static/chunks/0rwb5kn3yi~nn.js +16 -0
  143. package/out/_next/static/chunks/0s8kpaa2at0vl.js +1 -0
  144. package/out/_next/static/chunks/0sbwu9f3ons7y.js +13 -0
  145. package/out/_next/static/chunks/0sqtyywk.m-gb.js +119 -0
  146. package/out/_next/static/chunks/0suvx3w6t11x1.js +14 -0
  147. package/out/_next/static/chunks/0t.cqbkm36.29.js +16 -0
  148. package/out/_next/static/chunks/0ta5trm5g8qpx.js +1 -0
  149. package/out/_next/static/chunks/0u5rgvh_590-0.js +15 -0
  150. package/out/_next/static/chunks/0uzv9isqw0xwo.js +12 -0
  151. package/out/_next/static/chunks/0vu00vv4k8fm2.js +5 -0
  152. package/out/_next/static/chunks/{ebe86b0efc1cf8f7.js → 0wbeo27c~tc9b.js} +3 -3
  153. package/out/_next/static/chunks/{e7d35c2c47c89107.js → 0wc49~p9kujfb.js} +32 -32
  154. package/out/_next/static/chunks/0we-.8a4ky2dw.js +2 -0
  155. package/out/_next/static/chunks/0whq69wyy9mrh.js +1 -0
  156. package/out/_next/static/chunks/0wjcrj2l-j~_f.js +188 -0
  157. package/out/_next/static/chunks/0wo4urhtm22ug.js +1 -0
  158. package/out/_next/static/chunks/{e4a18aa7277cccf4.js → 0wuu4uyer4mlk.js} +2 -2
  159. package/out/_next/static/chunks/0x4-t7xmjlqx1.js +12 -0
  160. package/out/_next/static/chunks/0x6_x80dsgoq7.js +2 -0
  161. package/out/_next/static/chunks/0xczkhpv81j3p.js +1 -0
  162. package/out/_next/static/chunks/0xo2uquse155f.js +26 -0
  163. package/out/_next/static/chunks/0xve~a_ipc.21.js +81 -0
  164. package/out/_next/static/chunks/0y153o27bxgcb.js +1 -0
  165. package/out/_next/static/chunks/{f9cabd452c34b5ad.js → 0y51ico3_h9g3.js} +10 -10
  166. package/out/_next/static/chunks/0y5ttyo5uc5l-.js +15 -0
  167. package/out/_next/static/chunks/0ydxs-rl4u1j7.js +8 -0
  168. package/out/_next/static/chunks/0yrt60iy59wz5.js +13 -0
  169. package/out/_next/static/chunks/0z.rzro53h5n6.js +15 -0
  170. package/out/_next/static/chunks/0zhqlp5hndrqa.js +1 -0
  171. package/out/_next/static/chunks/0znn2bf~0xx64.js +46 -0
  172. package/out/_next/static/chunks/0zpe1nbzz~f8h.js +5 -0
  173. package/out/_next/static/chunks/0zr4c4gwoe48t.js +15 -0
  174. package/out/_next/static/chunks/0~gsuncyic_fy.js +2 -0
  175. package/out/_next/static/chunks/0~tk5o7vtfrjq.js +66 -0
  176. package/out/_next/static/chunks/103dw~jwhci8m.js +61 -0
  177. package/out/_next/static/chunks/1041bp0usprml.js +217 -0
  178. package/out/_next/static/chunks/10bhd86pfsoy5.js +3 -0
  179. package/out/_next/static/chunks/10jmwo0cv2790.js +100 -0
  180. package/out/_next/static/chunks/{8917382fb74b9b3a.js → 10m8c175impy1.js} +2 -2
  181. package/out/_next/static/chunks/10y5-.kflf93t.js +13 -0
  182. package/out/_next/static/chunks/11_s223xijkg..js +14 -0
  183. package/out/_next/static/chunks/11rfgl5vsu7np.js +147 -0
  184. package/out/_next/static/chunks/11sml2nj796.7.js +59 -0
  185. package/out/_next/static/chunks/11smy7~k0731f.js +12 -0
  186. package/out/_next/static/chunks/12e_gn-hj1ad4.js +5 -0
  187. package/out/_next/static/chunks/12nnf6pgi3n_-.js +16 -0
  188. package/out/_next/static/chunks/{4f1de04ffe9710b8.js → 12q9qfk5yyvku.js} +28 -28
  189. package/out/_next/static/chunks/13h_3r03rklr2.js +54 -0
  190. package/out/_next/static/chunks/13tjz9q-ls~t3.js +1 -0
  191. package/out/_next/static/chunks/13ytbvm.zbpoc.js +13 -0
  192. package/out/_next/static/chunks/{1d815b4154fd879c.js → 13ztct7h9n9ly.js} +1 -1
  193. package/out/_next/static/chunks/14.go5qd.nd-p.js +22 -0
  194. package/out/_next/static/chunks/14e4xylnze3x2.js +1 -0
  195. package/out/_next/static/chunks/14kk7enrk.1zd.js +14 -0
  196. package/out/_next/static/chunks/14q69-rwokbvm.js +13 -0
  197. package/out/_next/static/chunks/14tbg01czewdy.js +1 -0
  198. package/out/_next/static/chunks/14vhb8kz5tl75.js +471 -0
  199. package/out/_next/static/chunks/15wy-.8-w435h.js +92 -0
  200. package/out/_next/static/chunks/15z9m-o4tbe0n.js +1 -0
  201. package/out/_next/static/chunks/169ub5vhwew62.js +1 -0
  202. package/out/_next/static/chunks/16_-z_hnq-xk7.js +12 -0
  203. package/out/_next/static/chunks/16s_3ks~~cizu.js +31 -0
  204. package/out/_next/static/chunks/16wl81ja44b1o.js +54 -0
  205. package/out/_next/static/chunks/16yuttvlotzf1.js +13 -0
  206. package/out/_next/static/chunks/{4d3445d499eaf3fa.js → 17iwj3.fr3dk8.js} +2 -2
  207. package/out/_next/static/chunks/{320cc644938eb6e3.js → 17l28vjc_z915.js} +48 -48
  208. package/out/_next/static/chunks/17v04.so.9g1..js +1 -0
  209. package/out/_next/static/chunks/181fxym9wgh_m.js +1 -0
  210. package/out/_next/static/chunks/188m.-obobpy_.js +178 -0
  211. package/out/_next/static/chunks/turbopack-0-c-m~y_.l8n2.js +1 -0
  212. package/out/_next/static/chunks/turbopack-0-ly3m1ffx4wa.js +1 -0
  213. package/out/_next/static/chunks/turbopack-0-w~ect25bcud.js +1 -0
  214. package/out/_next/static/chunks/turbopack-0.2nskz5ux6vf.js +1 -0
  215. package/out/_next/static/chunks/turbopack-00s1egv_1qxjy.js +1 -0
  216. package/out/_next/static/chunks/turbopack-00xxfsstzot2t.js +1 -0
  217. package/out/_next/static/chunks/turbopack-01cocbtxks9vh.js +1 -0
  218. package/out/_next/static/chunks/turbopack-032afnigdvseo.js +1 -0
  219. package/out/_next/static/chunks/turbopack-03hvtuilfwgpp.js +1 -0
  220. package/out/_next/static/chunks/turbopack-04r-j8f.wnbc8.js +1 -0
  221. package/out/_next/static/chunks/turbopack-06m0ig9acgabg.js +1 -0
  222. package/out/_next/static/chunks/turbopack-06rfum.y.5-0h.js +1 -0
  223. package/out/_next/static/chunks/turbopack-07kkmwgy.zqc4.js +1 -0
  224. package/out/_next/static/chunks/turbopack-07qbascdm6h.j.js +1 -0
  225. package/out/_next/static/chunks/turbopack-087jzd1gou_ln.js +1 -0
  226. package/out/_next/static/chunks/turbopack-08h61bgwzagra.js +1 -0
  227. package/out/_next/static/chunks/turbopack-09d04tqccs343.js +1 -0
  228. package/out/_next/static/chunks/turbopack-0a1fdpd8.q282.js +1 -0
  229. package/out/_next/static/chunks/turbopack-0azc8sns1skk7.js +1 -0
  230. package/out/_next/static/chunks/turbopack-0b6fo_~4ih.xu.js +1 -0
  231. package/out/_next/static/chunks/turbopack-0bv6z-ics5a1v.js +1 -0
  232. package/out/_next/static/chunks/turbopack-0c6v~i5zl-_gb.js +1 -0
  233. package/out/_next/static/chunks/turbopack-0cn_kcha7l~dv.js +1 -0
  234. package/out/_next/static/chunks/turbopack-0d6899l2l47lo.js +1 -0
  235. package/out/_next/static/chunks/turbopack-0f3a-2xdfi37o.js +1 -0
  236. package/out/_next/static/chunks/turbopack-0h1nt4kh7q.sg.js +1 -0
  237. package/out/_next/static/chunks/turbopack-0hh49n1y8gh-z.js +1 -0
  238. package/out/_next/static/chunks/turbopack-0ike2xsgynih8.js +1 -0
  239. package/out/_next/static/chunks/turbopack-0iyvc628rll34.js +1 -0
  240. package/out/_next/static/chunks/turbopack-0j-vlj505~ob9.js +1 -0
  241. package/out/_next/static/chunks/turbopack-0j4w2c8pgyzts.js +1 -0
  242. package/out/_next/static/chunks/turbopack-0kblf3k62bseb.js +1 -0
  243. package/out/_next/static/chunks/turbopack-0l-~7v3-4~9hg.js +1 -0
  244. package/out/_next/static/chunks/turbopack-0lb9brrvzbipj.js +1 -0
  245. package/out/_next/static/chunks/turbopack-0lxybl6vxlhqz.js +1 -0
  246. package/out/_next/static/chunks/turbopack-0mlri9n~ktoxa.js +1 -0
  247. package/out/_next/static/chunks/turbopack-0mrgw~e1q9n4l.js +1 -0
  248. package/out/_next/static/chunks/turbopack-0na33zduv8spb.js +1 -0
  249. package/out/_next/static/chunks/turbopack-0o_.gb8s5jo85.js +1 -0
  250. package/out/_next/static/chunks/turbopack-0ofwh3p918g-t.js +1 -0
  251. package/out/_next/static/chunks/turbopack-0o~anfgw~s_~q.js +1 -0
  252. package/out/_next/static/chunks/turbopack-0q3dp3wkxb9ro.js +1 -0
  253. package/out/_next/static/chunks/turbopack-0q5hq623ooh_q.js +1 -0
  254. package/out/_next/static/chunks/turbopack-0rd~zo~yh9.xl.js +1 -0
  255. package/out/_next/static/chunks/turbopack-0s3jauzip9.x..js +1 -0
  256. package/out/_next/static/chunks/turbopack-0uukmkfqyl0h8.js +1 -0
  257. package/out/_next/static/chunks/turbopack-0w_qsium_grk3.js +1 -0
  258. package/out/_next/static/chunks/turbopack-0wbajkw2~1l3z.js +1 -0
  259. package/out/_next/static/chunks/turbopack-0wej6bu7ey9au.js +1 -0
  260. package/out/_next/static/chunks/turbopack-0wk424kj.kar2.js +1 -0
  261. package/out/_next/static/chunks/turbopack-0xew6rccsve8y.js +1 -0
  262. package/out/_next/static/chunks/turbopack-0y898tb-~kae~.js +1 -0
  263. package/out/_next/static/chunks/turbopack-0~lzxx1ip4b0u.js +1 -0
  264. package/out/_next/static/chunks/turbopack-11.ar48mv3rch.js +1 -0
  265. package/out/_next/static/chunks/turbopack-11eqwvrhzm6gb.js +1 -0
  266. package/out/_next/static/chunks/turbopack-12cd3.da_pv_e.js +1 -0
  267. package/out/_next/static/chunks/turbopack-12hcx9pi_e_wy.js +1 -0
  268. package/out/_next/static/chunks/turbopack-12pksi_8~z4-a.js +1 -0
  269. package/out/_next/static/chunks/turbopack-146i7rj93.pk3.js +1 -0
  270. package/out/_next/static/chunks/turbopack-15d8c1ob0a6m0.js +1 -0
  271. package/out/_next/static/chunks/turbopack-16-bzzuvc9d9..js +1 -0
  272. package/out/_next/static/chunks/turbopack-17sr.m9o6jhdb.js +1 -0
  273. package/out/_next/static/chunks/turbopack-1829xb~o3h36e.js +1 -0
  274. package/out/_offline/index.html +2 -2
  275. package/out/account/forgot-password/index.html +2 -2
  276. package/out/account/index.html +2 -2
  277. package/out/assortments/AssortmentDetailPage/index.html +2 -2
  278. package/out/assortments/index.html +2 -2
  279. package/out/assortments/new/index.html +2 -2
  280. package/out/copilot/index.html +2 -2
  281. package/out/country/CountryDetailPage/index.html +2 -2
  282. package/out/country/index.html +2 -2
  283. package/out/country/new/index.html +2 -2
  284. package/out/currency/CurrencyDetailPage/index.html +2 -2
  285. package/out/currency/index.html +2 -2
  286. package/out/currency/new/index.html +2 -2
  287. package/out/delivery-provider/DeliveryProviderDetailPage/index.html +2 -2
  288. package/out/delivery-provider/index.html +2 -2
  289. package/out/delivery-provider/new/index.html +2 -2
  290. package/out/enrollments/EnrollmentDetailPage/index.html +2 -2
  291. package/out/enrollments/index.html +2 -2
  292. package/out/events/EventDetailPage/index.html +2 -2
  293. package/out/events/index.html +2 -2
  294. package/out/exports/index.html +2 -2
  295. package/out/external/index.html +2 -2
  296. package/out/filters/FilterDetailPage/index.html +2 -2
  297. package/out/filters/index.html +2 -2
  298. package/out/filters/new/index.html +2 -2
  299. package/out/index.html +2 -2
  300. package/out/install/index.html +2 -2
  301. package/out/language/LanguageDetailPage/index.html +2 -2
  302. package/out/language/index.html +2 -2
  303. package/out/language/new/index.html +2 -2
  304. package/out/log-in/index.html +2 -2
  305. package/out/orders/OrderDetailPage/index.html +2 -2
  306. package/out/orders/index.html +2 -2
  307. package/out/payment-provider/PaymentProviderDetailPage/index.html +2 -2
  308. package/out/payment-provider/index.html +2 -2
  309. package/out/payment-provider/new/index.html +2 -2
  310. package/out/products/ProductDetailPage/index.html +2 -2
  311. package/out/products/index.html +2 -2
  312. package/out/products/new/index.html +2 -2
  313. package/out/quotations/QuotationDetailPage/index.html +2 -2
  314. package/out/quotations/index.html +2 -2
  315. package/out/reset-password/index.html +2 -2
  316. package/out/sign-up/index.html +2 -2
  317. package/out/styleguide/index.html +2 -2
  318. package/out/tokens/TokenDetailPage/index.html +2 -2
  319. package/out/tokens/index.html +2 -2
  320. package/out/users/UserDetailPage/index.html +2 -2
  321. package/out/users/index.html +2 -2
  322. package/out/users/new/index.html +2 -2
  323. package/out/verify-email/index.html +2 -2
  324. package/out/warehousing-provider/WarehousingProviderDetailPage/index.html +2 -2
  325. package/out/warehousing-provider/index.html +2 -2
  326. package/out/warehousing-provider/new/index.html +2 -2
  327. package/out/works/WorkDetailPage/index.html +2 -2
  328. package/out/works/WorkQueueListView/index.html +2 -2
  329. package/out/works/index.html +2 -2
  330. package/out/works/management/index.html +2 -2
  331. package/package.json +6 -4
  332. package/out/_next/static/B_HQG2nskQonyzu_4cgAO/_clientMiddlewareManifest.json +0 -1
  333. package/out/_next/static/chunks/041829d0d3c657f2.js +0 -2
  334. package/out/_next/static/chunks/04ec3d03402261dc.js +0 -14
  335. package/out/_next/static/chunks/0644143aefa7f14a.js +0 -2
  336. package/out/_next/static/chunks/0849f6b1fcc13de5.js +0 -1
  337. package/out/_next/static/chunks/08d070e1430f1d82.js +0 -5
  338. package/out/_next/static/chunks/0a0e112312b8a78b.js +0 -173
  339. package/out/_next/static/chunks/0a238e070d8d1b77.js +0 -13
  340. package/out/_next/static/chunks/0c85a487e925a8fb.js +0 -31
  341. package/out/_next/static/chunks/0d9ed91755412d86.js +0 -1
  342. package/out/_next/static/chunks/11554da02dc15e56.js +0 -178
  343. package/out/_next/static/chunks/156b3bf2bdcc3422.js +0 -13
  344. package/out/_next/static/chunks/18a777407d3164bc.js +0 -2
  345. package/out/_next/static/chunks/18f40edfac0fb728.js +0 -188
  346. package/out/_next/static/chunks/1db4e58a3d233a7d.js +0 -15
  347. package/out/_next/static/chunks/1dd753318de9207d.js +0 -13
  348. package/out/_next/static/chunks/1e2f9b43a8359523.js +0 -14
  349. package/out/_next/static/chunks/1ebe5c69c03e28e8.js +0 -14
  350. package/out/_next/static/chunks/1f7d9381ae4b531f.js +0 -18
  351. package/out/_next/static/chunks/212d59d405dc08f0.js +0 -13
  352. package/out/_next/static/chunks/2166718575524f12.js +0 -61
  353. package/out/_next/static/chunks/24d82657dd0bcd84.js +0 -14
  354. package/out/_next/static/chunks/2e1c43b5d421f19d.js +0 -1
  355. package/out/_next/static/chunks/319e9a96c9819e4e.js +0 -20
  356. package/out/_next/static/chunks/32c96e48b43ea68a.js +0 -10
  357. package/out/_next/static/chunks/330837992d56bd8a.js +0 -1
  358. package/out/_next/static/chunks/3398dc70e287e1b3.js +0 -5
  359. package/out/_next/static/chunks/34b346f4983e1b17.js +0 -61
  360. package/out/_next/static/chunks/34cdee51a883e092.js +0 -1
  361. package/out/_next/static/chunks/3566cef038dbf652.js +0 -15
  362. package/out/_next/static/chunks/36e7312fa0833335.js +0 -288
  363. package/out/_next/static/chunks/3793e819cd9a77f7.js +0 -14
  364. package/out/_next/static/chunks/37a7130d9fc778ee.js +0 -471
  365. package/out/_next/static/chunks/3825de60ef0c1c62.js +0 -13
  366. package/out/_next/static/chunks/3bf952ce3db5ae2b.js +0 -54
  367. package/out/_next/static/chunks/3cd9a008acc9705e.js +0 -14
  368. package/out/_next/static/chunks/40753fe032e64b67.js +0 -1
  369. package/out/_next/static/chunks/43b8d6759ea7be62.js +0 -1
  370. package/out/_next/static/chunks/4490e31d3fa6cac8.js +0 -16
  371. package/out/_next/static/chunks/483fd905b44fe16c.js +0 -13
  372. package/out/_next/static/chunks/4a434ac87d5df19d.js +0 -5
  373. package/out/_next/static/chunks/4af99bc523179eda.js +0 -13
  374. package/out/_next/static/chunks/4b7fc205c0dcfc85.js +0 -12
  375. package/out/_next/static/chunks/4c013c12029d0098.js +0 -15
  376. package/out/_next/static/chunks/4db79e826af39e32.js +0 -2
  377. package/out/_next/static/chunks/4f810ce035ebc0e5.js +0 -2
  378. package/out/_next/static/chunks/5262febd43777bb8.js +0 -132
  379. package/out/_next/static/chunks/52910f0ec7e1a29b.js +0 -26
  380. package/out/_next/static/chunks/547f5a7b04856830.js +0 -12
  381. package/out/_next/static/chunks/55b8a04d8afe9758.js +0 -1
  382. package/out/_next/static/chunks/56f115f08656beaa.js +0 -101
  383. package/out/_next/static/chunks/589ba731744b3bbb.js +0 -1
  384. package/out/_next/static/chunks/58b61ebadd6c7280.js +0 -31
  385. package/out/_next/static/chunks/5a297caf182b5914.js +0 -2
  386. package/out/_next/static/chunks/5cc2513eaf268333.js +0 -1
  387. package/out/_next/static/chunks/5cd7bb2ff39b4594.js +0 -1
  388. package/out/_next/static/chunks/5e96ea5f1375529f.js +0 -15
  389. package/out/_next/static/chunks/62a396b33a7905ad.js +0 -13
  390. package/out/_next/static/chunks/62befc2d2d6a72ed.js +0 -23
  391. package/out/_next/static/chunks/62d9827d793271b3.js +0 -1
  392. package/out/_next/static/chunks/637c63a979962578.js +0 -2
  393. package/out/_next/static/chunks/63c03aeeb5583d48.js +0 -46
  394. package/out/_next/static/chunks/65cf017dbb3312cc.js +0 -1
  395. package/out/_next/static/chunks/663b8a5cb50f1b6e.js +0 -1
  396. package/out/_next/static/chunks/6762e034cb8089d6.js +0 -44
  397. package/out/_next/static/chunks/67b074bcbeba5d6e.js +0 -15
  398. package/out/_next/static/chunks/6ae1423b22f32db7.js +0 -21
  399. package/out/_next/static/chunks/6e395f899facce17.js +0 -88
  400. package/out/_next/static/chunks/740474d96218c3a8.js +0 -12
  401. package/out/_next/static/chunks/76cf755a9c8274a3.js +0 -3
  402. package/out/_next/static/chunks/777daca5f7cb7b6c.js +0 -14
  403. package/out/_next/static/chunks/77f32f3ed3956189.js +0 -2
  404. package/out/_next/static/chunks/780939c727334fbe.js +0 -137
  405. package/out/_next/static/chunks/78454d4e5456396d.js +0 -59
  406. package/out/_next/static/chunks/7876fd667108ff0b.js +0 -1
  407. package/out/_next/static/chunks/79182002cd9d529e.js +0 -1
  408. package/out/_next/static/chunks/797980668b156f05.js +0 -5
  409. package/out/_next/static/chunks/7a5b84c2fc0b6f35.js +0 -8
  410. package/out/_next/static/chunks/7b47feb1b227ac46.js +0 -10
  411. package/out/_next/static/chunks/7bce7b23bf7578ee.js +0 -16
  412. package/out/_next/static/chunks/7ca5a17fd8470247.js +0 -12
  413. package/out/_next/static/chunks/7cf83c5d61ee1111.js +0 -12
  414. package/out/_next/static/chunks/809a82e5c1947547.js +0 -16
  415. package/out/_next/static/chunks/81b92bd0789c83db.js +0 -44
  416. package/out/_next/static/chunks/831f8d669ee17245.js +0 -22
  417. package/out/_next/static/chunks/8481204b6f8a478a.js +0 -1
  418. package/out/_next/static/chunks/849633866e8f5b59.js +0 -5
  419. package/out/_next/static/chunks/85168dcbf11483d8.js +0 -12
  420. package/out/_next/static/chunks/88af33f57c0d6bbb.js +0 -1
  421. package/out/_next/static/chunks/89088a7386e3ea6f.js +0 -1
  422. package/out/_next/static/chunks/89c3b98838a5884f.js +0 -13
  423. package/out/_next/static/chunks/8adf2e89b587e1c7.js +0 -217
  424. package/out/_next/static/chunks/8d3d36493b61ddaa.js +0 -87
  425. package/out/_next/static/chunks/8d983b4b9169e996.js +0 -73
  426. package/out/_next/static/chunks/8ed834a5eee89f61.js +0 -58
  427. package/out/_next/static/chunks/91173824ec07a715.js +0 -26
  428. package/out/_next/static/chunks/92b3c4e79de63a77.js +0 -13
  429. package/out/_next/static/chunks/92baa0dcd7ccc61d.js +0 -12
  430. package/out/_next/static/chunks/958ce42925e8f006.js +0 -2
  431. package/out/_next/static/chunks/95ed0d70c975eb05.js +0 -46
  432. package/out/_next/static/chunks/96954669c3ee7b65.js +0 -81
  433. package/out/_next/static/chunks/970c284e31011901.js +0 -1
  434. package/out/_next/static/chunks/97da9b3750340537.js +0 -51
  435. package/out/_next/static/chunks/9a437959eebacf8d.js +0 -10
  436. package/out/_next/static/chunks/9cc9be90cce32dea.js +0 -73
  437. package/out/_next/static/chunks/9dd12f280237fabf.js +0 -147
  438. package/out/_next/static/chunks/a1b66d526ee855a7.js +0 -20
  439. package/out/_next/static/chunks/a2bc6bcbb9fa94be.js +0 -209
  440. package/out/_next/static/chunks/a346b2c9a094e108.js +0 -1
  441. package/out/_next/static/chunks/a35c032fdf8bfdb9.js +0 -50
  442. package/out/_next/static/chunks/a3e4946a30eb2613.js +0 -13
  443. package/out/_next/static/chunks/a63069897da911ff.js +0 -15
  444. package/out/_next/static/chunks/aabef77277776632.js +0 -13
  445. package/out/_next/static/chunks/aba2c52046d027ff.js +0 -15
  446. package/out/_next/static/chunks/ad5bc88dc8def64f.js +0 -15
  447. package/out/_next/static/chunks/aebcca205530f759.js +0 -13
  448. package/out/_next/static/chunks/af276dfcea23702d.js +0 -7
  449. package/out/_next/static/chunks/af45e5d574bd00f9.js +0 -11
  450. package/out/_next/static/chunks/b041b3cb01e454bf.js +0 -46
  451. package/out/_next/static/chunks/b04e93fe1cefa749.js +0 -1
  452. package/out/_next/static/chunks/b153c5647937fae8.js +0 -1
  453. package/out/_next/static/chunks/b2b8a21eba41b1d9.js +0 -22
  454. package/out/_next/static/chunks/b32109dba223c54f.js +0 -1
  455. package/out/_next/static/chunks/b46b07c553cbd014.js +0 -1
  456. package/out/_next/static/chunks/b81419564400ce65.js +0 -1
  457. package/out/_next/static/chunks/b85acf5da5994927.js +0 -3
  458. package/out/_next/static/chunks/b960c3c83b1c4bee.js +0 -1
  459. package/out/_next/static/chunks/bc26e83b8c56a9bf.js +0 -111
  460. package/out/_next/static/chunks/bc43d7d4b567b5ea.js +0 -1
  461. package/out/_next/static/chunks/bdc7506704cdc8f1.js +0 -1
  462. package/out/_next/static/chunks/be18fecf33b8aff4.js +0 -2
  463. package/out/_next/static/chunks/c022a8ee59e1360f.js +0 -41
  464. package/out/_next/static/chunks/c1ae2fff3412fc3b.js +0 -16
  465. package/out/_next/static/chunks/c26fdd51c0a8dd1b.js +0 -11
  466. package/out/_next/static/chunks/c6935c7d1f702a72.js +0 -22
  467. package/out/_next/static/chunks/c8c017654455a3db.js +0 -73
  468. package/out/_next/static/chunks/c99d4094871d4c32.js +0 -1
  469. package/out/_next/static/chunks/cb9c84baad137d78.js +0 -19
  470. package/out/_next/static/chunks/cd4b1d554140e38a.js +0 -1
  471. package/out/_next/static/chunks/ced67effbb174f33.js +0 -100
  472. package/out/_next/static/chunks/d099b624842dedde.js +0 -108
  473. package/out/_next/static/chunks/d19d35f3f58f81c4.js +0 -10
  474. package/out/_next/static/chunks/d1a23aff64c67058.js +0 -12
  475. package/out/_next/static/chunks/d1e05ddd40d8b838.js +0 -50
  476. package/out/_next/static/chunks/d4797c1d8d5f8d16.js +0 -15
  477. package/out/_next/static/chunks/d5465c55cda4c7ee.js +0 -14
  478. package/out/_next/static/chunks/d59872edc473de58.js +0 -1
  479. package/out/_next/static/chunks/d5d4fe0c2f022c56.js +0 -90
  480. package/out/_next/static/chunks/d62a71a9616d03f6.css +0 -1
  481. package/out/_next/static/chunks/d6d09fbd247f490a.js +0 -60
  482. package/out/_next/static/chunks/d7146be452420d99.js +0 -8
  483. package/out/_next/static/chunks/d72644f384b07353.js +0 -8
  484. package/out/_next/static/chunks/d7afa35f4b0e93e2.js +0 -15
  485. package/out/_next/static/chunks/da6824f16a8c9c16.js +0 -1
  486. package/out/_next/static/chunks/dbd9d92143ac3f09.js +0 -8
  487. package/out/_next/static/chunks/dc1a5c6d670f4d85.js +0 -101
  488. package/out/_next/static/chunks/dd3ab8c44071f106.js +0 -13
  489. package/out/_next/static/chunks/e215055a16899d84.js +0 -1
  490. package/out/_next/static/chunks/e2ea777b6b52d20c.js +0 -384
  491. package/out/_next/static/chunks/e48a99fc33082cdb.js +0 -14
  492. package/out/_next/static/chunks/e91218bc9a43ab15.js +0 -119
  493. package/out/_next/static/chunks/ead734ac488ae47d.js +0 -12
  494. package/out/_next/static/chunks/edf3c79b748cd5ef.js +0 -1
  495. package/out/_next/static/chunks/ee25c9fda8624149.js +0 -7
  496. package/out/_next/static/chunks/f11033e87a574c20.js +0 -31
  497. package/out/_next/static/chunks/f1b505e78dc22c33.js +0 -142
  498. package/out/_next/static/chunks/f25b1e5de69c63ec.js +0 -18
  499. package/out/_next/static/chunks/f6c1f05d71ee9988.js +0 -291
  500. package/out/_next/static/chunks/f71f08f9a8f8e966.js +0 -16
  501. package/out/_next/static/chunks/f8749bfff24ae02d.js +0 -73
  502. package/out/_next/static/chunks/f985949c0c96da68.js +0 -12
  503. package/out/_next/static/chunks/fa0b6dc3c794ad70.js +0 -1
  504. package/out/_next/static/chunks/fa7e6edd281ca588.js +0 -66
  505. package/out/_next/static/chunks/fd0b983618670559.js +0 -1
  506. package/out/_next/static/chunks/fe47fa22d80a1567.js +0 -138
  507. package/out/_next/static/chunks/ff5993cac4be61a6.js +0 -13
  508. package/out/_next/static/chunks/turbopack-0618bf27d24a19ff.js +0 -4
  509. package/out/_next/static/chunks/turbopack-0713648134b7749b.js +0 -4
  510. package/out/_next/static/chunks/turbopack-0e598fcf385644dd.js +0 -4
  511. package/out/_next/static/chunks/turbopack-0f7ad1d620e1f5dd.js +0 -4
  512. package/out/_next/static/chunks/turbopack-136a534a868add2d.js +0 -4
  513. package/out/_next/static/chunks/turbopack-183e22721cfd2290.js +0 -4
  514. package/out/_next/static/chunks/turbopack-1b10c04a632f5f9a.js +0 -4
  515. package/out/_next/static/chunks/turbopack-1cfb05dc03815c33.js +0 -4
  516. package/out/_next/static/chunks/turbopack-1f96045f0c9bbcc5.js +0 -4
  517. package/out/_next/static/chunks/turbopack-21e2f449da4aa40f.js +0 -4
  518. package/out/_next/static/chunks/turbopack-2f4395d184cbbe2a.js +0 -4
  519. package/out/_next/static/chunks/turbopack-30183490f349fa52.js +0 -4
  520. package/out/_next/static/chunks/turbopack-31a61cf8179589b9.js +0 -4
  521. package/out/_next/static/chunks/turbopack-32bda3d7a0ab79bc.js +0 -4
  522. package/out/_next/static/chunks/turbopack-335374aae4f6f7ba.js +0 -4
  523. package/out/_next/static/chunks/turbopack-3ca3b817ce31197c.js +0 -4
  524. package/out/_next/static/chunks/turbopack-3ea50a1a5b658ad9.js +0 -4
  525. package/out/_next/static/chunks/turbopack-403e981d4fb006b9.js +0 -4
  526. package/out/_next/static/chunks/turbopack-41139da59c1ae910.js +0 -4
  527. package/out/_next/static/chunks/turbopack-43c25afcb55040b5.js +0 -4
  528. package/out/_next/static/chunks/turbopack-5215d08471196b30.js +0 -4
  529. package/out/_next/static/chunks/turbopack-5459976f56ad97b2.js +0 -4
  530. package/out/_next/static/chunks/turbopack-557fb226e46069bc.js +0 -4
  531. package/out/_next/static/chunks/turbopack-5ad30fd672f3e8c8.js +0 -4
  532. package/out/_next/static/chunks/turbopack-62649e3cb4c72ddc.js +0 -4
  533. package/out/_next/static/chunks/turbopack-65b51f58ee703548.js +0 -4
  534. package/out/_next/static/chunks/turbopack-6bd3313da6ac60b4.js +0 -4
  535. package/out/_next/static/chunks/turbopack-6f7d6215fc38554b.js +0 -4
  536. package/out/_next/static/chunks/turbopack-71bff6add558c43b.js +0 -4
  537. package/out/_next/static/chunks/turbopack-75664160f7f57d09.js +0 -4
  538. package/out/_next/static/chunks/turbopack-77758797b5677cd0.js +0 -4
  539. package/out/_next/static/chunks/turbopack-7a0a4849df31a8a2.js +0 -4
  540. package/out/_next/static/chunks/turbopack-7d565f917a5c8617.js +0 -4
  541. package/out/_next/static/chunks/turbopack-80dc8e7be69963e5.js +0 -4
  542. package/out/_next/static/chunks/turbopack-84f0759b46af1a9b.js +0 -4
  543. package/out/_next/static/chunks/turbopack-8a9c5308a5a90809.js +0 -4
  544. package/out/_next/static/chunks/turbopack-8c32b3ffd43866ed.js +0 -4
  545. package/out/_next/static/chunks/turbopack-95e9218f8fdda09a.js +0 -4
  546. package/out/_next/static/chunks/turbopack-9c4570e723cfcc78.js +0 -4
  547. package/out/_next/static/chunks/turbopack-9c4ad976eb86594c.js +0 -4
  548. package/out/_next/static/chunks/turbopack-a60e32cc986ebda8.js +0 -4
  549. package/out/_next/static/chunks/turbopack-a9a6da78ac431c29.js +0 -4
  550. package/out/_next/static/chunks/turbopack-acf8186fdbc4a75a.js +0 -4
  551. package/out/_next/static/chunks/turbopack-b5920136e79ad850.js +0 -4
  552. package/out/_next/static/chunks/turbopack-b674b9a8ee12399a.js +0 -4
  553. package/out/_next/static/chunks/turbopack-c09314d0421dc801.js +0 -4
  554. package/out/_next/static/chunks/turbopack-c92b46c7347de0ba.js +0 -4
  555. package/out/_next/static/chunks/turbopack-cad30ef4ef504ca6.js +0 -4
  556. package/out/_next/static/chunks/turbopack-d55d81dd3ca3cff8.js +0 -4
  557. package/out/_next/static/chunks/turbopack-d7298beb454fbd65.js +0 -4
  558. package/out/_next/static/chunks/turbopack-de62fc013488af79.js +0 -4
  559. package/out/_next/static/chunks/turbopack-e01194e51434ff5a.js +0 -4
  560. package/out/_next/static/chunks/turbopack-e2b9c6d7a153fa8f.js +0 -4
  561. package/out/_next/static/chunks/turbopack-e86727b963006ac4.js +0 -4
  562. package/out/_next/static/chunks/turbopack-edcbeaf096e3b920.js +0 -4
  563. package/out/_next/static/chunks/turbopack-efe9558d7badf0ca.js +0 -4
  564. package/out/_next/static/chunks/turbopack-f0c906545b0bc82b.js +0 -4
  565. package/out/_next/static/chunks/turbopack-f4b16491beaa8f76.js +0 -4
  566. package/out/_next/static/chunks/turbopack-f644394dfcba2b4e.js +0 -4
  567. package/out/_next/static/chunks/turbopack-fb645ff11da2afbd.js +0 -4
  568. package/out/_next/static/chunks/turbopack-fb6eae536665a180.js +0 -4
  569. package/out/_next/static/chunks/turbopack-fdf95d9ff3fd7bfc.js +0 -4
  570. package/out/_next/static/chunks/turbopack-fe0a3841bd1334b7.js +0 -4
  571. /package/out/_next/static/{B_HQG2nskQonyzu_4cgAO → _ZCNVAj2ptQ3WvyS9d8fH}/_ssgManifest.js +0 -0
  572. /package/out/_next/static/chunks/{d9f5be23c99d734d.js → 0-vzy055sp9wr.js} +0 -0
  573. /package/out/_next/static/chunks/{a07ce58daa89e354.js → 0.7jou~9s-9ly.js} +0 -0
  574. /package/out/_next/static/chunks/{aac8a0823d648ca4.js → 0.qq-wh2-26q3.js} +0 -0
  575. /package/out/_next/static/chunks/{f3f5bb2da4be059c.js → 00am.v9yslbhb.js} +0 -0
  576. /package/out/_next/static/chunks/{422ee02a73e2338c.js → 02mkjzfq3ks0c.js} +0 -0
  577. /package/out/_next/static/chunks/{52bb95ecf48dacae.js → 0cnjwc8yv_7du.js} +0 -0
  578. /package/out/_next/static/chunks/{c88c6cd9171a39a6.js → 0i.xcdg6xys-l.js} +0 -0
  579. /package/out/_next/static/chunks/{2295bdc38440f7f1.js → 11fl4v~k-i6dd.js} +0 -0
  580. /package/out/_next/static/chunks/{e6f8531b24c4d8aa.js → 15r--ckscx-95.js} +0 -0
@@ -1,291 +0,0 @@
1
- (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,17255,e=>{"use strict";var t=e.i(1415),r=e.i(31617),s=e.i(21154),i=e.i(69178);function a(e){let{formatMessage:r,textComponent:a=t.Fragment}=(0,s.default)(),{id:l,description:n,defaultMessage:o,values:d,children:u,tagName:c=a,ignoreTag:f}=e,h=r({id:l,description:n,defaultMessage:o},d,{ignoreTag:f});return"function"==typeof u?u(Array.isArray(h)?h:[h]):c?(0,i.jsx)(c,{children:h}):(0,i.jsx)(i.Fragment,{children:h})}a.displayName="FormattedMessage";let l=t.memo(a,function(e,t){let{values:s,...i}=e,{values:a,...l}=t;return(0,r.shallowEqual)(a,s)&&(0,r.shallowEqual)(i,l)});l.displayName="MemoizedFormattedMessage",e.s(["FormattedMessage",0,l],17255)},34365,e=>{"use strict";var t=e.i(69178),r=e.i(1415);let s=r.forwardRef(function({title:e,titleId:t,...s},i){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:i,"aria-labelledby":t},s),e?r.createElement("title",{id:t},e):null,r.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"}))});var i=e.i(13071),a=e.i(17255);e.s(["default",0,({message:e,className:r="",Icon:l=null})=>(0,t.jsx)("div",{className:(0,i.default)("rounded-md flex w-full flex-col items-center justify-center min-h-[176px] py-8 border-1 border-dashed border-slate-300 dark:border-slate-700 text-slate-500 dark:text-slate-600",r),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:l||(0,t.jsx)(s,{className:"h-6 w-6"})}),(0,t.jsx)(a.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}})]})})],34365)},98639,5838,e=>{"use strict";var t=e.i(1415);let r=t.forwardRef(function({title:e,titleId:r,...s},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},s),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],98639);let s=t.forwardRef(function({title:e,titleId:r,...s},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},s),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,s],5838)},98531,e=>{"use strict";var t=e.i(69178),r=e.i(1415),s=e.i(13071),i=e.i(98183),a=e.i(98639),l=e.i(5838),n=e.i(49061),o=e.i(81907);let d=({onSort:e,sortDirection:r})=>r?"ASC"===r?(0,t.jsx)(l.ChevronUpIcon,{className:"ml-2 w-5 h-5 text-slate-700",onClick:e}):(0,t.jsx)(a.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 u=e.i(34365);let c=e=>{let t=[],s=[],i=[];return r.default.Children.forEach(e.children,e=>{e?.props?.header?t.push(e):e?.props?.footer?i.push(e):s.push(e)}),{header:t,footer:i,body:s}},f=({className:e="",...a})=>{let[l,n]=(0,r.useState)(c(a)),{formatMessage:o}=(0,i.useIntl)(),d={...l,header:r.default.Children.map(l.header,e=>r.default.cloneElement(e))};return(0,r.useEffect)(()=>{n(c(a))},[a.children]),d.header.length||d.body.length?(0,t.jsxs)("table",{className:(0,s.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),...a,children:[(0,t.jsx)("thead",{className:"hidden sm:table-header-group bg-slate-100 dark:bg-slate-700 text-sm text-slate-700 dark:text-slate-200",children:d.header}),d.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:d.body}):null,d.footer.length?(0,t.jsx)("tfoot",{children:d.footer}):null]}):(0,t.jsx)(u.default,{message:o({id:"data",defaultMessage:"Data"})})};f.Row=({className:e="",children:i=[],header:a=!1,enablesort:l=!1,...n})=>{let o=r.default.Children.map(i,e=>r.default?.cloneElement(e||(0,t.jsx)("span",{}),{header:a,enablesort:l}));return(0,t.jsx)("tr",{className:(0,s.default)("grid grid-cols-1 auto-rows-fr border border-slate-100 dark:border-slate-700 sm:border-0 rounded-md sm:mb-0 sm:table-row sm:rounded-none bg-white dark:bg-slate-800 sm:bg-inherit dark:sm:bg-inherit",e),...n,children:o})},f.Cell=({className:e="",header:r=!1,enablesort:i=!1,children:a,sortKey:l=null,defaultSortDirection:u=null,...c})=>{let f=(0,n.useRouter)(),h=(0,o.getSortKeys)(f.query?.sort),m=r?"th":"td";return(0,t.jsx)(m,{className:(0,s.default)(r?"px-4 py-3 text-left text-slate-500 dark:text-slate-200":"whitespace-nowrap px-4 py-3 text-slate-500 dark:text-slate-200 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:[a,"th"===m&&i&&l&&(0,t.jsx)(d,{onSort:e=>{var t;let r;e.preventDefault(),((t=h[l])?"ASC"===t?"DESC":null:"ASC")||!h[l]?r={...h,[l]:"ASC"===h[l]?"DESC":"ASC"}:(delete h[l],r=h);let s=Object.entries(r).map(([e,t])=>[e,t].join("_")).join(","),{sort:i,...a}=f.query,n=Object.keys(a).map(e=>[e,a[e]].join("=")).join("&"),d=0===Object.keys(a).length?`${f.basePath}?sort=${s}`:`${f.basePath}?${n}&sort=${s}`;s?f.push(d):f.push({query:(0,o.normalizeQuery)(a)})},sortDirection:Object.keys(h).length?h[l]:u})]})})},e.s(["default",0,f],98531)},68155,e=>{"use strict";e.s(["default",0,(e=500)=>t=>{let r;return(...s)=>{let i;clearTimeout(r),r=setTimeout(()=>t.apply(i,s),e)}}])},33593,e=>{"use strict";var t=e.i(69178),r=e.i(98183),s=e.i(68155);e.s(["default",0,({inputText:e=null,onInputChange:i,defaultValue:a})=>{let{formatMessage:l}=(0,r.useIntl)(),n=(0,s.default)(200)(i);return(0,t.jsxs)("div",{className:"w-full",children:[(0,t.jsx)("label",{htmlFor:"search",className:"sr-only",children:e||l({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=>n(e.target.value),id:"search",defaultValue:a,name:"search",className:"block w-full rounded-md border-1 border-slate-300 dark:border-slate-700 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-slate-800 focus:outline-hidden sm:text-sm",placeholder:l({id:"search",defaultMessage:"Search"}),type:"search"})]})]})}])},12763,e=>{"use strict";var t=e.i(69178),r=e.i(98183),s=e.i(49061),i=e.i(33593),a=e.i(38524),l=e.i(72670),n=e.i(81907),o=e.i(5411);e.s(["default",0,({children:e,onSearchChange:d,defaultSearchValue:u,showTagFilter:c=!1,availableTagOptions:f=[]})=>{let{formatMessage:h}=(0,r.useIntl)(),{query:m,push:p}=(0,s.useRouter)(),g=e=>{if((0,o.isTruthy)(e))p({query:(0,n.normalizeQuery)(m,e?.join(","),"tags")});else{let{tags:e,...t}=m;p({query:(0,n.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:d,defaultValue:u})}),c&&(0,t.jsxs)("div",{className:"flex flex-col gap-2 flex-1 sm:border-l sm:border-slate-300 sm:dark:border-slate-700 sm:pl-3",children:[(0,t.jsx)("div",{className:"max-w-xs",children:(0,t.jsx)(a.default,{buttonText:h({id:"apply",defaultMessage:"Apply"}),placeholder:h({id:"enter_tag",defaultMessage:"Enter tag..."}),tagList:m?.tags?.split(","),onChange:g,selectOptions:f,showTagsInline:!1})}),m?.tags?.split(",").filter(Boolean).length>0&&(0,t.jsx)("div",{className:"flex flex-wrap gap-2",children:m?.tags?.split(",").filter(Boolean).map(e=>(0,t.jsx)(l.default,{text:e,color:"slate",onClick:()=>{let t=m?.tags?.split(",").filter(t=>t!==e);g(t.length>0?t:null)}},e))})]})]})}),e]})}])},69438,e=>{"use strict";var t=e.i(69178),r=e.i(1415),s=e.i(51443);e.s(["default",0,({loading:e,hasMore:i,onLoadMore:a,children:l,threshold:n=200})=>{let o=(0,r.useRef)(null),d=(0,r.useCallback)(t=>{let[r]=t;r.isIntersecting&&i&&!e&&a()},[i,e,a]);return(0,r.useEffect)(()=>{let e=o.current;if(!e)return;let t=new IntersectionObserver(d,{rootMargin:`${n}px`});return t.observe(e),()=>{t.disconnect()}},[d,n]),(0,t.jsxs)(t.Fragment,{children:[l,(0,t.jsx)("div",{ref:o,className:"h-4"}),e&&(0,t.jsx)("div",{className:"flex justify-center py-4",children:(0,t.jsx)(s.default,{})})]})}])},1516,e=>{"use strict";var t=e.i(69178),r=e.i(98183);e.s(["default",0,({children:e=null,totalRecords:s=null})=>{let{formatMessage:i}=(0,r.useIntl)();return(0,t.jsxs)("div",{className:"mt-5",children:[null!==s?(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:s??0})}):null,e&&(0,t.jsx)("div",{className:"flex items-center mt-10",children:(0,t.jsx)("h3",{className:"text-xs leading-6 text-slate-500 dark:text-slate-200",children:e})})]})}])},8878,e=>{"use strict";var t=e.i(69178),r=e.i(1415);e.s(["default",0,({value:e,duration:s=300})=>{let[i,a]=(0,r.useState)(0);return(0,r.useEffect)(()=>{let t,r;if(0===e)return void a(0);let i=l=>{t||(t=l);let n=Math.min((l-t)/s,1);a(Math.round((1-Math.pow(1-n,3))*e)),n<1&&(r=requestAnimationFrame(i))};return r=requestAnimationFrame(i),()=>{r&&cancelAnimationFrame(r)}},[e,s]),(0,t.jsx)("span",{children:i})}])},9114,e=>{"use strict";var t=e.i(69178),r=e.i(13071),s=e.i(98639),i=e.i(5838),a=e.i(1415);let l=({header:e,body:l,headerCSS:n="",bodyCSS:o="",itemContainerCSS:d="",itemindex:u=1,hideChevron:c=!1})=>{let[f,h]=(0,a.useState)(!1);return(0,t.jsxs)("div",{className:(0,r.default)("mt-3",d),"data-itemindex":u,children:[(0,t.jsxs)("button",{type:"button",onClick:()=>h(!f),className:(0,r.default)("relative cursor-pointer border dark:border-slate-800 bg-white dark:bg-slate-900 text-slate-500 dark:text-slate-200 hover:bg-slate-50 dark:hover:bg-slate-700 w-full max-w-full overflow-hidden",n),children:[(0,t.jsx)("div",{className:"w-full",children:e}),!c&&(0,t.jsx)("span",{className:"px-2",children:f?(0,t.jsx)(i.ChevronUpIcon,{className:"h-5 w-5"}):(0,t.jsx)(s.ChevronDownIcon,{className:"h-5 w-5"})})]}),f?(0,t.jsx)("div",{className:(0,r.default)("rounded-lg sm:p-4 xl:p-10 relative overflow-visible",o),children:l}):""]})};e.s(["default",0,({data:e,containerCSS:s="",headerCSS:i="",bodyCSS:a="",itemContainerCSS:n="",hideChevron:o=!1,...d})=>(0,t.jsx)("div",{className:(0,r.default)("my-3",s),...d,children:e.map(({header:e,body:r},s)=>(0,t.jsx)(l,{itemindex:s,header:e,body:r,headerCSS:i,bodyCSS:a,itemContainerCSS:n,hideChevron:o},s))})],9114)},81751,e=>{"use strict";var t=e.i(69178),r=e.i(13071),s=e.i(98183),i=e.i(53041),a=e.i(71038);e.s(["default",0,({file:e,className:l=""})=>{let{formatMessage:n}=(0,s.useIntl)();return(0,t.jsx)("div",{className:(0,r.default)("h-10 w-10 shrink-0",l),children:e?(0,t.jsx)(i.default,{className:"relative h-10 w-10 rounded-sm",src:e.url,width:100,height:100,alt:n({id:"image_not_available",defaultMessage:"Image not available"})}):(0,t.jsx)(a.default,{})})}])},25863,e=>{"use strict";e.s(["default",0,e=>e?e?.username?e.username:e?.profile?.displayName?e?.profile?.displayName:e?.profile?.address?.firstName||e?.profile?.address?.lastName?`${e?.profile?.address?.firstName} ${e?.profile?.address?.lastName}`:e?.name?e.name:e.isGuest?e?.primaryEmail?.address?.split(".")?.[0]:null:null])},666,e=>{"use strict";var t=e.i(1415);let r=t.forwardRef(function({title:e,titleId:r,...s},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},s),e?t.createElement("title",{id:r},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M17.982 18.725A7.488 7.488 0 0 0 12 15.75a7.488 7.488 0 0 0-5.982 2.975m11.963 0a9 9 0 1 0-11.963 0m11.963 0A8.966 8.966 0 0 1 12 21a8.966 8.966 0 0 1-5.982-2.275M15 9.75a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"}))});e.s(["UserCircleIcon",0,r],666)},17362,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var s={VALID_LOADERS:function(){return a},imageConfigDefault:function(){return l}};for(var i in s)Object.defineProperty(r,i,{enumerable:!0,get:s[i]});let a=["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}},76648,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"ImageConfigContext",{enumerable:!0,get:function(){return a}});let s=e.r(23726)._(e.r(1415)),i=e.r(17362),a=s.default.createContext(i.imageConfigDefault)},27946,(e,t,r)=>{"use strict";function s({widthInt:e,heightInt:t,blurWidth:r,blurHeight:s,blurDataURL:i,objectFit:a}){let l=r?40*r:e,n=s?40*s:t,o=l&&n?`viewBox='0 0 ${l} ${n}'`:"";return`%3Csvg xmlns='http://www.w3.org/2000/svg' ${o}%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3CfeColorMatrix values='1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 100 -1' result='s'/%3E%3CfeFlood x='0' y='0' width='100%25' height='100%25'/%3E%3CfeComposite operator='out' in='s'/%3E%3CfeComposite in2='SourceGraphic'/%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3C/filter%3E%3Cimage width='100%25' height='100%25' x='0' y='0' preserveAspectRatio='${o?"none":"contain"===a?"xMidYMid":"cover"===a?"xMidYMid slice":"none"}' style='filter: url(%23b);' href='${i}'/%3E%3C/svg%3E`}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"getImageBlurSvg",{enumerable:!0,get:function(){return s}})},6611,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"getImgProps",{enumerable:!0,get:function(){return d}}),e.r(59523);let s=e.r(50907),i=e.r(27946),a=e.r(17362),l=["-moz-initial","fill","none","scale-down",void 0];function n(e){return void 0!==e.default}function o(e){return void 0===e?e:"number"==typeof e?Number.isFinite(e)?e:NaN:"string"==typeof e&&/^[0-9]+$/.test(e)?parseInt(e,10):NaN}function d({src:e,sizes:t,unoptimized:r=!1,priority:d=!1,preload:u=!1,loading:c,className:f,quality:h,width:m,height:p,fill:g=!1,style:x,overrideSrc:v,onLoad:b,onLoadingComplete:y,placeholder:w="empty",blurDataURL:_,fetchPriority:k,decoding:j="async",layout:C,objectFit:I,objectPosition:E,lazyBoundary:S,lazyRoot:N,...M},R){var P;let O,$,L,{imgConf:D,showAltText:T,blurComplete:q,defaultLoader:A}=R,F=D||a.imageConfigDefault;if("allSizes"in F)O=F;else{let e=[...F.deviceSizes,...F.imageSizes].sort((e,t)=>e-t),t=F.deviceSizes.sort((e,t)=>e-t),r=F.qualities?.sort((e,t)=>e-t);O={...F,allSizes:e,deviceSizes:t,qualities:r}}if(void 0===A)throw Object.defineProperty(Error("images.loaderFile detected but the file is missing default export.\nRead more: https://nextjs.org/docs/messages/invalid-images-config"),"__NEXT_ERROR_CODE",{value:"E163",enumerable:!1,configurable:!0});let z=M.loader||A;delete M.loader,delete M.srcSet;let B="__next_img_default"in z;if(B){if("custom"===O.loader)throw Object.defineProperty(Error(`Image with src "${e}" is missing "loader" prop.
2
- Read more: https://nextjs.org/docs/messages/next-image-missing-loader`),"__NEXT_ERROR_CODE",{value:"E252",enumerable:!1,configurable:!0})}else{let e=z;z=t=>{let{config:r,...s}=t;return e(s)}}if(C){"fill"===C&&(g=!0);let e={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}}[C];e&&(x={...x,...e});let r={responsive:"100vw",fill:"100vw"}[C];r&&!t&&(t=r)}let V="",W=o(m),U=o(p);if((P=e)&&"object"==typeof P&&(n(P)||void 0!==P.src)){let t=n(e)?e.default:e;if(!t.src)throw Object.defineProperty(Error(`An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received ${JSON.stringify(t)}`),"__NEXT_ERROR_CODE",{value:"E460",enumerable:!1,configurable:!0});if(!t.height||!t.width)throw Object.defineProperty(Error(`An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received ${JSON.stringify(t)}`),"__NEXT_ERROR_CODE",{value:"E48",enumerable:!1,configurable:!0});if($=t.blurWidth,L=t.blurHeight,_=_||t.blurDataURL,V=t.src,!g)if(W||U){if(W&&!U){let e=W/t.width;U=Math.round(t.height*e)}else if(!W&&U){let e=U/t.height;W=Math.round(t.width*e)}}else W=t.width,U=t.height}let Z=!d&&!u&&("lazy"===c||void 0===c);(!(e="string"==typeof e?e:V)||e.startsWith("data:")||e.startsWith("blob:"))&&(r=!0,Z=!1),O.unoptimized&&(r=!0),B&&!O.dangerouslyAllowSVG&&e.split("?",1)[0].endsWith(".svg")&&(r=!0);let Q=o(h),H=Object.assign(g?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:I,objectPosition:E}:{},T?{}:{color:"transparent"},x),G=q||"empty"===w?null:"blur"===w?`url("data:image/svg+xml;charset=utf-8,${(0,i.getImageBlurSvg)({widthInt:W,heightInt:U,blurWidth:$,blurHeight:L,blurDataURL:_||"",objectFit:H.objectFit})}")`:`url("${w}")`,K=l.includes(H.objectFit)?"fill"===H.objectFit?"100% 100%":"cover":H.objectFit,X=G?{backgroundSize:K,backgroundPosition:H.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:G}:{},J=function({config:e,src:t,unoptimized:r,width:i,quality:a,sizes:l,loader:n}){if(r){let e=(0,s.getDeploymentId)();if(t.startsWith("/")&&!t.startsWith("//")&&e){let r=t.includes("?")?"&":"?";t=`${t}${r}dpl=${e}`}return{src:t,srcSet:void 0,sizes:void 0}}let{widths:o,kind:d}=function({deviceSizes:e,allSizes:t},r,s){if(s){let r=/(^|\s)(1?\d?\d)vw/g,i=[];for(let e;e=r.exec(s);)i.push(parseInt(e[2]));if(i.length){let r=.01*Math.min(...i);return{widths:t.filter(t=>t>=e[0]*r),kind:"w"}}return{widths:t,kind:"w"}}return"number"!=typeof r?{widths:e,kind:"w"}:{widths:[...new Set([r,2*r].map(e=>t.find(t=>t>=e)||t[t.length-1]))],kind:"x"}}(e,i,l),u=o.length-1;return{sizes:l||"w"!==d?l:"100vw",srcSet:o.map((r,s)=>`${n({config:e,src:t,quality:a,width:r})} ${"w"===d?r:s+1}${d}`).join(", "),src:n({config:e,src:t,quality:a,width:o[u]})}}({config:O,src:e,unoptimized:r,width:W,quality:Q,sizes:t,loader:z}),Y=Z?"lazy":c;return{props:{...M,loading:Y,fetchPriority:k,width:W,height:U,decoding:j,className:f,style:{...H,...X},sizes:J.sizes,srcSet:J.srcSet,src:v||J.src},meta:{unoptimized:r,preload:u||d,placeholder:w,fill:g}}}},73837,(e,t,r)=>{"use strict";function s(e,t){let r=e||75;return t?.qualities?.length?t.qualities.reduce((e,t)=>Math.abs(t-r)<Math.abs(e-r)?t:e,0):r}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"findClosestQuality",{enumerable:!0,get:function(){return s}})},47189,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"default",{enumerable:!0,get:function(){return l}});let s=e.r(73837),i=e.r(50907);function a({config:e,src:t,width:r,quality:a}){if(t.startsWith("/")&&t.includes("?")&&e.localPatterns?.length===1&&"**"===e.localPatterns[0].pathname&&""===e.localPatterns[0].search)throw Object.defineProperty(Error(`Image with src "${t}" is using a query string which is not configured in images.localPatterns.
3
- Read more: https://nextjs.org/docs/messages/next-image-unconfigured-localpatterns`),"__NEXT_ERROR_CODE",{value:"E871",enumerable:!1,configurable:!0});let l=(0,s.findClosestQuality)(a,e),n=(0,i.getDeploymentId)();return`${e.path}?url=${encodeURIComponent(t)}&w=${r}&q=${l}${t.startsWith("/")&&n?`&dpl=${n}`:""}`}a.__next_img_default=!0;let l=a},68610,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"Image",{enumerable:!0,get:function(){return y}});let s=e.r(23726),i=e.r(10902),a=e.r(69178),l=i._(e.r(1415)),n=s._(e.r(93736)),o=s._(e.r(84437)),d=e.r(6611),u=e.r(17362),c=e.r(76648);e.r(59523);let f=e.r(73757),h=s._(e.r(47189)),m=e.r(77902),p={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],qualities:[75],path:"/_next/image/",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!0};function g(e,t,r,s,i,a,l){let n=e?.src;e&&e["data-loaded-src"]!==n&&(e["data-loaded-src"]=n,("decode"in e?e.decode():Promise.resolve()).catch(()=>{}).then(()=>{if(e.parentElement&&e.isConnected){if("empty"!==t&&i(!0),r?.current){let t=new Event("load");Object.defineProperty(t,"target",{writable:!1,value:e});let s=!1,i=!1;r.current({...t,nativeEvent:t,currentTarget:e,target:e,isDefaultPrevented:()=>s,isPropagationStopped:()=>i,persist:()=>{},preventDefault:()=>{s=!0,t.preventDefault()},stopPropagation:()=>{i=!0,t.stopPropagation()}})}s?.current&&s.current(e)}}))}function x(e){return l.use?{fetchPriority:e}:{fetchpriority:e}}"u"<typeof window&&(globalThis.__NEXT_IMAGE_IMPORTED=!0);let v=(0,l.forwardRef)(({src:e,srcSet:t,sizes:r,height:s,width:i,decoding:n,className:o,style:d,fetchPriority:u,placeholder:c,loading:f,unoptimized:h,fill:p,onLoadRef:v,onLoadingCompleteRef:b,setBlurComplete:y,setShowAltText:w,sizesInput:_,onLoad:k,onError:j,...C},I)=>{let E=(0,l.useCallback)(e=>{e&&(j&&(e.src=e.src),e.complete&&g(e,c,v,b,y,h,_))},[e,c,v,b,y,j,h,_]),S=(0,m.useMergedRef)(I,E);return(0,a.jsx)("img",{...C,...x(u),loading:f,width:i,height:s,decoding:n,"data-nimg":p?"fill":"1",className:o,style:d,sizes:r,srcSet:t,src:e,ref:S,onLoad:e=>{g(e.currentTarget,c,v,b,y,h,_)},onError:e=>{w(!0),"empty"!==c&&y(!0),j&&j(e)}})});function b({isAppRouter:e,imgAttributes:t}){let r={as:"image",imageSrcSet:t.srcSet,imageSizes:t.sizes,crossOrigin:t.crossOrigin,referrerPolicy:t.referrerPolicy,...x(t.fetchPriority)};return e&&n.default.preload?(n.default.preload(t.src,r),null):(0,a.jsx)(o.default,{children:(0,a.jsx)("link",{rel:"preload",href:t.srcSet?void 0:t.src,...r},"__nimg-"+t.src+t.srcSet+t.sizes)})}let y=(0,l.forwardRef)((e,t)=>{let r=(0,l.useContext)(f.RouterContext),s=(0,l.useContext)(c.ImageConfigContext),i=(0,l.useMemo)(()=>{let e=p||s||u.imageConfigDefault,t=[...e.deviceSizes,...e.imageSizes].sort((e,t)=>e-t),r=e.deviceSizes.sort((e,t)=>e-t),i=e.qualities?.sort((e,t)=>e-t);return{...e,allSizes:t,deviceSizes:r,qualities:i,localPatterns:"u"<typeof window?s?.localPatterns:e.localPatterns}},[s]),{onLoad:n,onLoadingComplete:o}=e,m=(0,l.useRef)(n);(0,l.useEffect)(()=>{m.current=n},[n]);let g=(0,l.useRef)(o);(0,l.useEffect)(()=>{g.current=o},[o]);let[x,y]=(0,l.useState)(!1),[w,_]=(0,l.useState)(!1),{props:k,meta:j}=(0,d.getImgProps)(e,{defaultLoader:h.default,imgConf:i,blurComplete:x,showAltText:w});return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(v,{...k,unoptimized:j.unoptimized,placeholder:j.placeholder,fill:j.fill,onLoadRef:m,onLoadingCompleteRef:g,setBlurComplete:y,setShowAltText:_,sizesInput:e.sizes,ref:t}),j.preload?(0,a.jsx)(b,{isAppRouter:!r,imgAttributes:k}):null]})});("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},537,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var s={default:function(){return u},getImageProps:function(){return d}};for(var i in s)Object.defineProperty(r,i,{enumerable:!0,get:s[i]});let a=e.r(23726),l=e.r(6611),n=e.r(68610),o=a._(e.r(47189));function d(e){let{props:t}=(0,l.getImgProps)(e,{defaultLoader:o.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],qualities:[75],path:"/_next/image/",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!0}});for(let[e,r]of Object.entries(t))void 0===r&&delete t[e];return{props:t}}let u=n.Image},78338,(e,t,r)=>{t.exports=e.r(537)},53041,9570,e=>{"use strict";var t=e.i(69178),r=e.i(78338),s=e.i(1415),i=e.i(98183);let a=({src:e,width:t,quality:r=75})=>e?`${e}?w=${t}&q=${r}`:"/no-image.jpg";e.s(["default",0,a],9570);let l=({className:e="w-full h-full",width:r=200,height:s=200})=>(0,t.jsxs)("svg",{width:r,height:s,viewBox:"0 0 200 200",fill:"none",className:e,xmlns:"http://www.w3.org/2000/svg",children:[(0,t.jsx)("rect",{x:"10",y:"10",width:"180",height:"180",rx:"8",stroke:"currentColor",strokeWidth:"3",strokeDasharray:"8 4",fill:"transparent",className:"text-slate-800 dark:text-slate-400"}),(0,t.jsx)("rect",{x:"40",y:"40",width:"120",height:"80",rx:"4",stroke:"currentColor",strokeWidth:"3",fill:"transparent"}),(0,t.jsx)("path",{d:"M50 100 L70 80 L90 95 L110 75 L130 90 L150 70",stroke:"currentColor",strokeWidth:"3",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"}),(0,t.jsx)("circle",{cx:"130",cy:"55",r:"8",stroke:"currentColor",strokeWidth:"3",fill:"transparent"}),(0,t.jsx)("text",{x:"100",y:"145",textAnchor:"middle",className:"text-slate-800 dark:text-slate-300 text-sm font-semibold",fill:"currentColor",children:"No Image"})]});e.s(["default",0,({fallbackSrc:e="",src:n,...o})=>{let[d,u]=(0,s.useState)(n),[c,f]=(0,s.useState)(!1),{formatMessage:h}=(0,i.useIntl)();return c||!d?(0,t.jsx)("div",{className:o.className||"w-full h-full flex items-center justify-center bg-slate-50 dark:bg-slate-800",children:(0,t.jsx)(l,{width:o.width||200,height:o.height||200,className:"max-w-full max-h-full"})}):(0,t.jsx)(r.default,{src:d,loader:a,alt:h({id:"image-not-found",defaultMessage:"Image not found"}),...o,onError:()=>{e&&d!==e?u(e):f(!0)}})}],53041)},6356,e=>{"use strict";e.s(["default",0,(e={})=>{let{_id:t,texts:r}=e||{};return r||t?`${r?.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()}])},21935,e=>{"use strict";var t=e.i(1415);let r=t.forwardRef(function({title:e,titleId:r,...s},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},s),e?t.createElement("title",{id:r},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m2.25 15.75 5.159-5.159a2.25 2.25 0 0 1 3.182 0l5.159 5.159m-1.5-1.5 1.409-1.409a2.25 2.25 0 0 1 3.182 0l2.909 2.909m-18 3.75h16.5a1.5 1.5 0 0 0 1.5-1.5V6a1.5 1.5 0 0 0-1.5-1.5H3.75A1.5 1.5 0 0 0 2.25 6v12a1.5 1.5 0 0 0 1.5 1.5Zm10.5-11.25h.008v.008h-.008V8.25Zm.375 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Z"}))});e.s(["PhotoIcon",0,r],21935)},71038,e=>{"use strict";var t=e.i(69178),r=e.i(21935),s=e.i(13071);e.s(["default",0,({className:e="",containerClassName:i="",Icon:a=null})=>(0,t.jsx)("span",{className:(0,s.default)("text-slate-400",i),children:a||(0,t.jsx)(r.PhotoIcon,{className:(0,s.default)(e)})})])},97484,e=>{"use strict";var t=e.i(69178),r=e.i(92699);e.s(["default",0,({onOkClick:e,buttonText:s,headerText:i,message:a,icon:l=null})=>(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{children:[l||(0,t.jsx)("div",{className:"mx-auto flex h-12 w-12 items-center justify-center rounded-full bg-emerald-100 dark:bg-emerald-900/30",children:(0,t.jsx)(r.CheckIcon,{className:"h-6 w-6 text-emerald-600 dark:text-emerald-400",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","aria-hidden":"true"})}),(0,t.jsxs)("div",{className:"mt-3 text-center sm:mt-5",children:[(0,t.jsx)("h3",{className:"text-lg text-slate-900 dark:text-slate-200",id:"modal-title",children:i}),(0,t.jsx)("div",{className:"mt-2",children:(0,t.jsx)("p",{className:"text-sm text-slate-500 dark:text-slate-200",children:a})})]})]}),(0,t.jsx)("div",{className:"mt-5 sm:mt-6",children:(0,t.jsx)("button",{id:"alert_ok",onClick:e,type:"button",className:"inline-flex w-full justify-center rounded-md border border-transparent bg-slate-800 dark:bg-slate-600 px-4 py-2 text-base font-medium text-white shadow-xs hover:bg-slate-950 dark:hover:bg-slate-500 focus:outline-hidden focus:ring-2 focus:ring-slate-800 dark:focus:ring-slate-400 focus:ring-offset-2 sm:text-sm",children:s})})]})])},5071,e=>{"use strict";var t=e.i(1415);let r=t.forwardRef(function({title:e,titleId:r,...s},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},s),e?t.createElement("title",{id:r},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m11.25 11.25.041-.02a.75.75 0 0 1 1.063.852l-.708 2.836a.75.75 0 0 0 1.063.853l.041-.021M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Zm-9-3.75h.008v.008H12V8.25Z"}))});e.s(["InformationCircleIcon",0,r],5071)},84883,e=>{"use strict";var t=e.i(69178),r=e.i(5071);e.s(["default",0,({title:e=null,description:s})=>(0,t.jsx)("div",{className:"mb-6 p-4 bg-blue-50 dark:bg-blue-900/20 border border-blue-200 dark:border-blue-800 rounded-lg",children:(0,t.jsxs)("div",{className:"flex items-start gap-3",children:[(0,t.jsx)(r.InformationCircleIcon,{className:"w-5 h-5 text-blue-600 dark:text-blue-400 mt-0.5 flex-shrink-0"}),(0,t.jsxs)("div",{children:[e&&(0,t.jsx)("h3",{className:"text-sm font-semibold text-blue-900 dark:text-blue-100 mb-2",children:e}),(0,t.jsx)("p",{className:"text-sm text-blue-800 dark:text-blue-200 leading-relaxed",children:s})]})]})})])},82028,e=>{"use strict";var t=e.i(69178),r=e.i(13071),s=e.i(4142),i=e.i(88500);e.s(["default",0,e=>{let{options:a,...l}=(0,s.default)(e),{className:n}=e||{className:""};return(0,t.jsx)(i.default,{...l,children:(0,t.jsx)("div",{className:"select-wrap",children:(0,t.jsxs)("select",{className:(0,r.default)("block w-full dark:bg-slate-900 dark:text-white rounded-md border-1 border-slate-300 dark:border-slate-700 py-2.5 pl-3 pr-10 text-base text-black shadow-xs focus:outline-hidden focus:ring-2 focus:ring-slate-800 sm:text-sm",n,{"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(a).map(([e,r])=>(0,t.jsx)("option",{className:"dark:text-slate-200",value:e,children:r},e))]})})})}])},96459,e=>{"use strict";e.s(["default",0,(e,t,r)=>Object.assign({},...e?.map(e=>({[e[r]]:e[t]}))||[])])},96230,e=>{"use strict";var t=e.i(71983);let r=t.gql`
4
- fragment CurrencyFragment on Currency {
5
- _id
6
- isoCode
7
- isActive
8
- contractAddress
9
- decimals
10
- }
11
- `;e.s(["default",0,r])},53211,e=>{"use strict";var t=e.i(71983),r=e.i(13699),s=e.i(96230);let i=t.gql`
12
- query Currencies(
13
- $queryString: String
14
- $limit: Int
15
- $offset: Int
16
- $includeInactive: Boolean
17
- $sort: [SortOptionInput!]
18
- ) {
19
- currencies(
20
- queryString: $queryString
21
- limit: $limit
22
- offset: $offset
23
- includeInactive: $includeInactive
24
- sort: $sort
25
- ) {
26
- ...CurrencyFragment
27
- }
28
- currenciesCount(
29
- includeInactive: $includeInactive
30
- queryString: $queryString
31
- )
32
- }
33
- ${s.default}
34
- `;e.s(["default",0,({queryString:e="",limit:t=20,offset:s=0,includeInactive:a=!0,sort:l=[]}={})=>{let{data:n,loading:o,error:d,fetchMore:u}=(0,r.useQuery)(i,{variables:{queryString:e,limit:t,offset:s,includeInactive:a,sort:l}}),c=n?.currencies||[],f=n?.currenciesCount,h=c?.length<f;return{currencies:c,currenciesCount:f,hasMore:h,loading:o,error:d,loadMore:()=>{u({variables:{offset:c?.length}})}}}])},90575,19190,e=>{"use strict";var t=e.i(1415);let r=t.default.createContext({customProperties:{},hydrateFragment:(e,t)=>null});e.s(["default",0,r],19190),e.s(["default",0,()=>(0,t.useContext)(r)],90575)},81907,e=>{"use strict";let t=()=>({formatPrice:e=>{if(!e?.currencyCode)return"n/a";if(e?.amount===void 0||e?.amount===null)return"";let{amount:t,currencyCode:r}=e||{};return new Intl.NumberFormat(navigator.language,{style:"currency",currency:r}).format(t/100)}}),r=e=>e?.label&&e?.version?`${e.label} ${e.version}`:"",s=(...e)=>e.filter(Boolean).join(" "),i=(e,t,r=!0)=>{if(!t)return"";try{return`${new Intl.DisplayNames([e],{type:"region"}).of(t)} ${r?`(${t})`:""}`}catch{return t}},a=(e,t,r=!0)=>{if(!t)return"";try{return`${new Intl.DisplayNames([e],{type:"language"}).of(t)} ${r?`(${t})`:""}`}catch{return t}},l=(e,t,r=!0)=>{if(!t)return"";try{return`${new Intl.DisplayNames([e],{type:"currency"}).of(t)} ${r?`(${t})`:""}`}catch{return t}},n=e=>e&&e?.split(",").reduce((e,t)=>{let[r=null,s=null]=(t||"")?.split("_")||[];return{...e,[r]:s}},null)||{},o=(e,t,r)=>{let s;return s=r?{...e,[r]:t}:e,Object.keys(s)?.map(e=>[e,s[e]].join("="))?.join("&")};e.s(["classNames",()=>s,"convertSortFieldsToQueryFormat",0,e=>Object.entries(n(e))?.map(([e,t])=>({key:e,value:t})),"getInterfaceLabel",()=>r,"getSortKeys",()=>n,"normalizeCountryISOCode",()=>i,"normalizeCurrencyISOCode",()=>l,"normalizeLanguageISOCode",()=>a,"normalizeQuery",()=>o,"useFormatPrice",()=>t])},53162,e=>{"use strict";let t=e.i(1415).default.createContext({setModal:()=>{throw Error("No ModalContext/ModalWrapper ancestor found.")}});e.s(["default",0,t])},31891,e=>{"use strict";var t=e.i(1415),r=e.i(53162);e.s(["default",0,()=>(0,t.useContext)(r.default)])},17831,e=>{"use strict";var t=e.i(69178),r=e.i(98183);e.s(["default",0,({onOkClick:e,onCancelClick:s,okText:i=null,cancelText:a=null,headerText:l=null,message:n=null,icon:o=null,close:d=null})=>{let{formatMessage:u}=(0,r.useIntl)();return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"sm:flex sm:items-start",children:[o||(0,t.jsx)("div",{className:"mx-auto flex h-12 w-12 shrink-0 items-center justify-center rounded-full bg-rose-100 dark:bg-rose-900/30 sm:mx-0 sm:h-10 sm:w-10",children:(0,t.jsx)("svg",{className:"h-6 w-6 text-rose-600 dark:text-rose-400",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","aria-hidden":"true",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z"})})}),(0,t.jsxs)("div",{className:"mt-3 text-center sm:mt-0 sm:ml-4 sm:text-left",children:[(0,t.jsx)("h3",{className:"text-lg text-slate-900 dark:text-slate-200",id:"modal-title",children:l||u({id:"warning",defaultMessage:"Warning!"})}),(0,t.jsx)("div",{className:"mt-2",children:(0,t.jsx)("p",{className:"text-sm text-slate-500 dark:text-slate-200",children:n||u({id:"are_you_sure",defaultMessage:"Are you sure?"})})})]})]}),(0,t.jsxs)("div",{className:"mt-5 sm:mt-4 sm:flex sm:flex-row-reverse",children:[(0,t.jsx)("button",{id:"danger_continue",onClick:e,type:"button",className:"inline-flex w-full justify-center rounded-md border border-transparent bg-rose-600 px-4 py-2 text-base font-medium text-white shadow-xs hover:bg-rose-700 focus:outline-hidden focus:ring-2 focus:ring-rose-500 focus:ring-offset-2 sm:ml-3 sm:w-auto sm:text-sm",children:i||u({id:"continue",defaultMessage:"Continue"})}),(0,t.jsx)("button",{id:"danger_cancel",onClick:s||d,type:"button",className:"mt-3 inline-flex w-full justify-center rounded-md border border-slate-300 bg-white px-4 py-2 text-base font-medium text-slate-700 shadow-xs hover:bg-slate-50 focus:outline-hidden focus:ring-2 focus:ring-slate-800 focus:ring-offset-2 sm:mt-0 sm:ml-3 sm:w-auto sm:text-sm",children:a||u({id:"cancel",defaultMessage:"Cancel"})})]})]})}])},69744,e=>{"use strict";var t=e.i(1415);let r=t.forwardRef(function({title:e,titleId:r,...s},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},s),e?t.createElement("title",{id:r},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18 18 6M6 6l12 12"}))});e.s(["XMarkIcon",0,r],69744)},33362,e=>{"use strict";var t=e.i(69178),r=e.i(69744),s=e.i(98183);e.s(["default",0,({onClick:e,text:i=null,Icon:a=null})=>{let{formatMessage:l}=(0,s.useIntl)();return(0,t.jsxs)("button",{type:"button",onClick:e,"aria-describedby":"header-delete-button",className:"inline-flex items-center gap-2 justify-center rounded-md border border-rose-500 px-4 py-2 text-sm font-medium leading-5 text-rose-600 dark:text-rose-200 shadow-sm hover:border-rose-600 hover:bg-rose-600 hover:text-white focus:outline-hidden focus:ring-2 focus:ring-rose-500 focus:ring-offset-2 h-[38px]",children:[(0,t.jsx)("span",{children:a||(0,t.jsx)(r.XMarkIcon,{className:"h-5 w-5"})}),i||l({id:"delete",defaultMessage:"Delete"})]})}])},71747,e=>{"use strict";var t=e.i(1415);let r=t.forwardRef(function({title:e,titleId:r,...s},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},s),e?t.createElement("title",{id:r},e):null,t.createElement("path",{fillRule:"evenodd",d:"M8.75 1A2.75 2.75 0 0 0 6 3.75v.443c-.795.077-1.584.176-2.365.298a.75.75 0 1 0 .23 1.482l.149-.022.841 10.518A2.75 2.75 0 0 0 7.596 19h4.807a2.75 2.75 0 0 0 2.742-2.53l.841-10.52.149.023a.75.75 0 0 0 .23-1.482A41.03 41.03 0 0 0 14 4.193V3.75A2.75 2.75 0 0 0 11.25 1h-2.5ZM10 4c.84 0 1.673.025 2.5.075V3.75c0-.69-.56-1.25-1.25-1.25h-2.5c-.69 0-1.25.56-1.25 1.25v.325C8.327 4.025 9.16 4 10 4ZM8.58 7.72a.75.75 0 0 0-1.5.06l.3 7.5a.75.75 0 1 0 1.5-.06l-.3-7.5Zm4.34.06a.75.75 0 1 0-1.5-.06l-.3 7.5a.75.75 0 1 0 1.5.06l.3-7.5Z",clipRule:"evenodd"}))});e.s(["TrashIcon",0,r],71747)},14936,e=>{"use strict";var t=e.i(1415);let r=t.forwardRef(function({title:e,titleId:r,...s},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},s),e?t.createElement("title",{id:r},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6.75 12a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0ZM12.75 12a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0ZM18.75 12a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0Z"}))});e.s(["EllipsisHorizontalIcon",0,r],14936)},21924,e=>{"use strict";var t=e.i(1415);let r=t.forwardRef(function({title:e,titleId:r,...s},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},s),e?t.createElement("title",{id:r},e):null,t.createElement("path",{d:"m2.695 14.762-1.262 3.155a.5.5 0 0 0 .65.65l3.155-1.262a4 4 0 0 0 1.343-.886L17.5 5.501a2.121 2.121 0 0 0-3-3L3.58 13.419a4 4 0 0 0-.885 1.343Z"}))});e.s(["PencilIcon",0,r],21924)},38163,e=>{"use strict";var t=e.i(1415),r=e.i(93736);e.s(["default",0,({children:e,container:s=null,className:i=""})=>{let a=(0,t.useRef)(null),[l,n]=(0,t.useState)(!1);return((0,t.useEffect)(()=>{let e=document.createElement("div");i&&(e.className=i),a.current=e;let t=s||document.body;return t.appendChild(e),n(!0),()=>{a.current&&t.contains(a.current)&&t.removeChild(a.current)}},[s,i]),l&&a.current)?(0,r.createPortal)(e,a.current):null}])},22103,e=>{"use strict";var t=e.i(69178),r=e.i(1415),s=e.i(98183),i=e.i(14936),a=e.i(21924),l=e.i(71747),n=e.i(38163);e.s(["default",0,({onEdit:e,onDelete:o,editLabel:d,deleteLabel:u,showEdit:c=!0,showDelete:f=!0})=>{let{formatMessage:h}=(0,s.useIntl)(),[m,p]=(0,r.useState)(!1),[g,x]=(0,r.useState)({top:0,left:0}),v=(0,r.useRef)(null),b=(0,r.useRef)(null);(0,r.useEffect)(()=>{let e=e=>{v.current&&!v.current.contains(e.target)&&p(!1)};return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}},[]);let y=(e,t)=>{e.stopPropagation(),e.preventDefault(),t&&t(),p(!1)};return 0===[c&&e,f&&o].filter(Boolean).length?null:(0,t.jsxs)("div",{className:"flex justify-end w-full",children:[(0,t.jsx)("button",{ref:b,type:"button",onClick:e=>{e.stopPropagation(),e.preventDefault(),m||(()=>{if(!b.current)return;let e=b.current.getBoundingClientRect(),t=e.bottom+4,r=e.right-192;r<8&&(r=8),t+80>window.innerHeight-8&&(t=e.top-80-4),x({top:t,left:r})})(),p(!m)},className:"flex items-center justify-center w-8 h-8 rounded-md hover:bg-slate-100 dark:hover:bg-slate-700 transition-colors","aria-label":h({id:"table_actions_menu",defaultMessage:"Actions menu"}),children:(0,t.jsx)(i.EllipsisHorizontalIcon,{className:"w-5 h-5 text-slate-500 dark:text-slate-400"})}),m&&(0,t.jsx)(n.default,{children:(0,t.jsx)("div",{ref:v,className:"fixed w-48 bg-white dark:bg-slate-800 rounded-md shadow-xl border border-slate-200 dark:border-slate-700 z-[9999]",style:{top:g.top,left:g.left},children:(0,t.jsxs)("div",{className:"py-1",children:[c&&e&&(0,t.jsxs)("button",{type:"button",onClick:t=>y(t,e),className:"flex items-center w-full px-4 py-2 text-sm text-slate-700 dark:text-slate-200 hover:bg-slate-100 dark:hover:bg-slate-700 transition-colors",children:[(0,t.jsx)(a.PencilIcon,{className:"mr-3 h-5 w-5"}),d||h({id:"edit",defaultMessage:"Edit"})]}),f&&o&&(0,t.jsxs)("button",{type:"button",onClick:e=>y(e,o),className:"flex items-center w-full px-4 py-2 text-sm text-rose-500 dark:text-rose-400 hover:bg-rose-50 dark:hover:bg-rose-900/20 transition-colors",children:[(0,t.jsx)(l.TrashIcon,{className:"mr-3 h-5 w-5"}),u||h({id:"delete",defaultMessage:"Delete"})]})]})})})]})}])},360,e=>{"use strict";var t=e.i(71983);let r=t.gql`
35
- fragment CountryFragment on Country {
36
- _id
37
- isoCode
38
- isActive
39
- isBase
40
-
41
- defaultCurrency {
42
- _id
43
- isoCode
44
- }
45
- }
46
- `;e.s(["default",0,r])},63458,e=>{"use strict";var t=e.i(71983),r=e.i(13699),s=e.i(360);let i=t.gql`
47
- query Countries(
48
- $queryString: String
49
- $limit: Int
50
- $offset: Int
51
- $includeInactive: Boolean
52
- $sort: [SortOptionInput!]
53
- ) {
54
- countries(
55
- queryString: $queryString
56
- limit: $limit
57
- offset: $offset
58
- includeInactive: $includeInactive
59
- sort: $sort
60
- ) {
61
- ...CountryFragment
62
- }
63
- countriesCount(includeInactive: $includeInactive, queryString: $queryString)
64
- }
65
-
66
- ${s.default}
67
- `;e.s(["default",0,({queryString:e="",limit:t=20,offset:s=0,includeInactive:a=!0,sort:l=[]}={})=>{let{data:n,loading:o,error:d,fetchMore:u}=(0,r.useQuery)(i,{variables:{queryString:e,limit:t,offset:s,includeInactive:a,sort:l}}),c=n?.countries||[],f=n?.countriesCount,h=c?.length<f;return{countries:c,countriesCount:f,hasMore:h,loading:o,error:d,loadMore:()=>{u({variables:{offset:c?.length}})}}}])},76691,e=>{"use strict";var t=e.i(71983);let r=t.gql`
68
- fragment LanguageFragment on Language {
69
- _id
70
- isoCode
71
- isActive
72
- isBase
73
- name
74
- }
75
- `;e.s(["default",0,r])},23335,e=>{"use strict";var t=e.i(71983),r=e.i(13699),s=e.i(76691);let i=t.gql`
76
- query Languages(
77
- $queryString: String
78
- $offset: Int
79
- $limit: Int
80
- $includeInactive: Boolean
81
- $sort: [SortOptionInput!]
82
- ) {
83
- languages(
84
- queryString: $queryString
85
- offset: $offset
86
- limit: $limit
87
- includeInactive: $includeInactive
88
- sort: $sort
89
- ) {
90
- ...LanguageFragment
91
- }
92
- languagesCount(includeInactive: $includeInactive, queryString: $queryString)
93
- }
94
- ${s.default}
95
- `;e.s(["default",0,({queryString:e="",limit:t=20,offset:s=0,includeInactive:a=!0,sort:l=[]}={})=>{let{data:n,loading:o,error:d,fetchMore:u}=(0,r.useQuery)(i,{variables:{queryString:e,limit:t,offset:s,includeInactive:a,sort:l}}),c=n?.languages||[],f=n?.languagesCount,h=c?.length<f;return{languages:c,languagesCount:f,hasMore:h,loading:o,error:d,loadMore:()=>{u({variables:{offset:c?.length}})}}}])},81312,79174,58724,e=>{"use strict";var t=e.i(1415),r=e.i(69178),s=e.i(98183),i=e.i(23335),a=e.i(63458),l=e.i(71983),n=e.i(13699);let o=l.gql`
96
- query ShopInfo {
97
- shopInfo {
98
- _id
99
- version
100
- language {
101
- _id
102
- isoCode
103
- name
104
- }
105
- country {
106
- _id
107
- isoCode
108
- flagEmoji
109
- name
110
- defaultCurrency {
111
- _id
112
- isoCode
113
- }
114
- }
115
- adminUiConfig {
116
- singleSignOnURL
117
- externalLinks {
118
- href
119
- title
120
- target
121
- }
122
- customProperties {
123
- entityName
124
- inlineFragment
125
- }
126
- productTags
127
- assortmentTags
128
- userTags
129
- }
130
- }
131
- }
132
- `,d=()=>{let{data:e,loading:t,error:r}=(0,n.useQuery)(o,{fetchPolicy:"cache-first"}),{shopInfo:s}=e||{};return{shopInfo:s,defaultLocale:[s?.language?.isoCode,s?.country?.isoCode?.toUpperCase()].filter(Boolean)?.join("-"),loading:t,error:r}};e.s(["default",0,d],79174);var u=e.i(30060);let c=(0,t.createContext)(void 0);e.s(["AppContextWrapper",0,({children:e,onlyFull:l=!1})=>{let n,{languages:o}=(0,i.default)(),{locale:f}=(0,s.useIntl)(),[h,m]=(0,u.default)("selectedLocale",null),{shopInfo:p,loading:g}=d(),{countries:x}=(0,a.default)(),[v,b]=(0,t.useState)(f),y=e=>{m(e),b(e)};(0,t.useEffect)(()=>{h?b(h):g||y(`${p?.language?.isoCode}-${p?.country?.isoCode?.toUpperCase()}`)},[p,g,f]);let w=(n=[],o.forEach(({_id:e,isoCode:t})=>{n.push({_id:e,isoCode:t}),x.forEach(({isoCode:r,_id:s})=>{let i=[t,r.toUpperCase()].join("-");(e=>{try{return new Intl.DateTimeFormat(e).resolvedOptions().locale.toLowerCase()===e.toLowerCase()}catch(e){return!1}})(i)&&n.push({_id:`${s}-${e}`,isoCode:i})})}),n).filter(e=>!l||e.isoCode.includes("-")),_=!!p?.language&&!!p?.country;return(0,r.jsx)(c.Provider,{value:{selectedLocale:v,setSelectedLocale:y,languageDialectList:w,isSystemReady:_,shopInfo:p},children:e})},"default",0,c],58724),e.s(["default",0,()=>{let e=(0,t.useContext)(c);if(!e)throw Error("useLocale must be used within a LocaleProvider");return e}],81312)},47024,e=>{"use strict";var t=e.i(69178),r=e.i(1415),s=e.i(12442),i=e.i(81312);e.s(["default",0,({children:e,onlyFull:a=!1})=>{let{languageDialectList:l,selectedLocale:n,setSelectedLocale:o}=(0,i.default)(),d=(0,r.useContext)(s.FormWrapperContext),u=l.filter(e=>!a||e.isoCode.includes("-"));return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:`w-fit mt-5 mb-3 ${d?"ml-5":""}`,children:(0,t.jsx)("select",{id:"locale-wrapper",className:"cursor-pointer rounded-md border-1 border-slate-300 dark:border-slate-700 py-1 pr-8 text-sm lg:py-1 lg:pr-10 text-black dark:text-white dark:bg-slate-800 shadow-xs focus:outline-hidden focus:ring-2 focus:ring-slate-800",value:n||"",onChange:e=>{e.stopPropagation(),o(e.target.value)},children:u?.map(e=>(0,t.jsx)("option",{value:e.isoCode,children:e.isoCode},e._id))})}),(0,t.jsx)("div",{children:r.default.cloneElement(e)})]})}])},92699,e=>{"use strict";var t=e.i(1415);let r=t.forwardRef(function({title:e,titleId:r,...s},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},s),e?t.createElement("title",{id:r},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m4.5 12.75 6 6 9-13.5"}))});e.s(["CheckIcon",0,r],92699)},58930,e=>{"use strict";var t=e.i(1415);let r=t.forwardRef(function({title:e,titleId:r,...s},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},s),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(["ChevronDownIcon",0,r],58930)},47426,(e,t,r)=>{"use strict";var s=e.r(1415),i="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},a=s.useSyncExternalStore,l=s.useRef,n=s.useEffect,o=s.useMemo,d=s.useDebugValue;r.useSyncExternalStoreWithSelector=function(e,t,r,s,u){var c=l(null);if(null===c.current){var f={hasValue:!1,value:null};c.current=f}else f=c.current;var h=a(e,(c=o(function(){function e(e){if(!n){if(n=!0,a=e,e=s(e),void 0!==u&&f.hasValue){var t=f.value;if(u(t,e))return l=t}return l=e}if(t=l,i(a,e))return t;var r=s(e);return void 0!==u&&u(t,r)?(a=e,t):(a=e,l=r)}var a,l,n=!1,o=void 0===r?null:r;return[function(){return e(t())},null===o?void 0:function(){return e(o())}]},[t,r,s,u]))[0],c[1]);return n(function(){f.hasValue=!0,f.value=h},[h]),d(h),h}},42806,(e,t,r)=>{"use strict";t.exports=e.r(47426)},55628,e=>{"use strict";var t=e.i(69178),r=e.i(30758),s=e.i(98183),i=e.i(12442);e.s(["default",0,({error:e=null,resetError:a=null})=>{let{formatMessage:l}=(0,s.useIntl)();return(0,t.jsx)("div",{className:"flex min-h-screen items-center justify-center py-12 px-4 sm:px-6 lg:px-8",children:(0,t.jsxs)("div",{className:"w-full max-w-md space-y-4 text-center",children:[(0,t.jsx)("div",{children:(0,t.jsx)("h2",{className:"text-center text-3xl text-slate-900 dark:text-slate-200",children:l({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-rose-600 dark:text-rose-400",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-rose-600 dark:text-rose-400",children:l({id:"error_500",defaultMessage:"500 Error"})}),(0,t.jsx)("p",{className:"mt-2 text-base text-slate-500 dark:text-slate-400",children:l({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-slate-600 dark:text-slate-400 hover:text-slate-800 dark:hover:text-slate-300",children:l({id:"show_error_details",defaultMessage:"Show error details"})}),(0,t.jsx)("pre",{className:"mt-2 text-xs text-slate-500 dark:text-slate-400 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-slate-800 dark:bg-slate-600 py-2 px-4 text-sm font-medium text-white hover:bg-slate-950 dark:hover:bg-slate-500 focus:outline-hidden focus:ring-2 focus:ring-slate-800 dark:focus:ring-slate-400 focus:ring-offset-2",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"})})}),l({id:"back_to_home",defaultMessage:"Back to Home"})]}),a&&(0,t.jsxs)("button",{type:"button",onClick:a,className:"group relative flex w-full justify-center rounded-md border border-slate-300 bg-slate-100 dark:bg-slate-700 dark:border-slate-600 py-2 px-4 text-sm font-medium text-slate-700 dark:text-slate-300 hover:bg-slate-200 dark:hover:bg-slate-600 focus:outline-hidden focus:ring-2 focus:ring-slate-500 dark:focus:ring-slate-400 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-slate-500 dark:text-slate-400 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"})})}),l({id:"try_again",defaultMessage:"Try Again"})]})]})]})})]})})}])},18524,e=>{"use strict";var t=e.i(69178),r=e.i(1415),s=e.i(55628);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)(s.default,{error:this.state.error,resetError:()=>this.setState({hasError:!1,error:null})}):this.props.children}}e.s(["default",0,i])},60474,21205,e=>{"use strict";var t=e.i(71983);let r=t.gql`
133
- fragment ProductDetailFragment on Product {
134
- _id
135
- sequence
136
- status
137
- created
138
- tags
139
- updated
140
- published
141
-
142
- media {
143
- _id
144
- tags
145
- file {
146
- _id
147
- url
148
- }
149
- }
150
- reviews {
151
- _id
152
- created
153
- author {
154
- _id
155
- username
156
- isGuest
157
- }
158
- rating
159
- title
160
- review
161
- voteCount
162
- ownVotes {
163
- type
164
- timestamp
165
- }
166
- }
167
- siblings {
168
- _id
169
- media {
170
- _id
171
- file {
172
- _id
173
- url
174
- }
175
- }
176
- }
177
- }
178
- `;e.s(["default",0,r],60474);let s=t.gql`
179
- fragment ProductTextsFragment on ProductTexts {
180
- _id
181
- locale
182
- slug
183
- title
184
- subtitle
185
- description
186
- vendor
187
- brand
188
- labels
189
- }
190
- `;e.s(["default",0,s],21205)},88246,e=>{"use strict";var t=e.i(69178),r=e.i(1415);let s=r.forwardRef(function({title:e,titleId:t,...s},i){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:i,"aria-labelledby":t},s),e?r.createElement("title",{id:t},e):null,r.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"}))});var i=e.i(98183);e.s(["default",0,({messageKey:e,defaultMessage:r,values:a,className:l="",showIcon:n=!0})=>{let{formatMessage:o}=(0,i.useIntl)(),d=o({id:e,defaultMessage:r},a);return d?(0,t.jsxs)("div",{className:`flex items-start space-x-1 text-sm text-slate-600 dark:text-slate-400 ${l}`,children:[n&&(0,t.jsx)(s,{className:"h-4 w-4 mt-0.5 flex-shrink-0"}),(0,t.jsx)("span",{children:d})]}):null}],88246)},32980,e=>{"use strict";var t=e.i(71983),r=e.i(13686),s=e.i(60474),i=e.i(21205);let a=t.gql`
191
- mutation CreateProduct(
192
- $product: CreateProductInput!
193
- $texts: [ProductTextInput!]
194
- ) {
195
- createProduct(product: $product, texts: $texts) {
196
- ...ProductDetailFragment
197
- ... on SimpleProduct {
198
- texts {
199
- ...ProductTextsFragment
200
- }
201
- }
202
- ... on ConfigurableProduct {
203
- texts {
204
- ...ProductTextsFragment
205
- }
206
- }
207
- ... on BundleProduct {
208
- texts {
209
- ...ProductTextsFragment
210
- }
211
- }
212
- ... on TokenizedProduct {
213
- texts {
214
- ...ProductTextsFragment
215
- }
216
- }
217
- ... on PlanProduct {
218
- texts {
219
- ...ProductTextsFragment
220
- }
221
- }
222
- }
223
- }
224
- ${s.default}
225
- ${i.default}
226
- `;e.s(["default",0,()=>{let[e,{data:t,error:s,loading:i}]=(0,r.useMutation)(a);return{createProduct:async({product:{type:t,tags:r},texts:s})=>e({variables:{product:{type:t,tags:r},texts:s},refetchQueries:["Products","ShopStatus","ShopInfo"]}),newProduct:t?.createProduct,error:s,loading:i}}])},15064,e=>{"use strict";var t=e.i(71983),r=e.i(13699),s=e.i(90575),i=e.i(73517);let a=(e="")=>t.gql`
227
- query Work($workId: ID!) {
228
- work(workId: $workId) {
229
- ...WorkFragment
230
- ${e}
231
- error
232
- priority
233
- worker
234
- timeout
235
- }
236
- }
237
- ${i.default}
238
- `;e.s(["GetWorkQuery",0,a,"default",0,({workId:e=null,...t})=>{let{customProperties:i}=(0,s.default)(),{data:l,loading:n,error:o,previousData:d}=(0,r.useQuery)(a(i?.Work),{skip:!e,variables:{workId:e},...t});return{work:l?.work||d?.work,loading:n,error:o}}])},73517,e=>{"use strict";var t=e.i(71983);let r=t.gql`
239
- fragment WorkFragment on Work {
240
- _id
241
- type
242
- scheduled
243
- status
244
- started
245
- success
246
- finished
247
- created
248
- deleted
249
- retries
250
- original {
251
- _id
252
- retries
253
- }
254
- input
255
- result
256
- }
257
- `;e.s(["default",0,r])},23222,e=>{"use strict";var t=e.i(71983),r=e.i(13686);let s=t.gql`
258
- mutation AddWork(
259
- $type: WorkType!
260
- $priority: Int! = 0
261
- $input: JSON
262
- $originalWorkId: ID
263
- $scheduled: Timestamp
264
- $retries: Int! = 20
265
- ) {
266
- addWork(
267
- type: $type
268
- priority: $priority
269
- input: $input
270
- originalWorkId: $originalWorkId
271
- scheduled: $scheduled
272
- retries: $retries
273
- ) {
274
- _id
275
- }
276
- }
277
- `;e.s(["default",0,()=>{let[e]=(0,r.useMutation)(s);return{addWork:async({type:t,priority:r,input:s,originalWorkId:i,scheduled:a=null,retries:l})=>e({variables:{type:t,priority:r,input:s,originalWorkId:i,scheduled:a,retries:l},refetchQueries:["WorkQueue"]})}}])},16891,e=>{"use strict";var t=e.i(69178),r=e.i(13071),s=e.i(4142);e.s(["default",0,e=>{let{disabled:i,labelClassName:a,containerClassName:l,inputClassName:n,...o}=e,d=(0,s.default)({...e,type:"checkbox"});return(0,t.jsxs)("div",{className:(0,r.default)("",{"text-rose-600":!!d.error,checkbox:!0,disabled:d.disabled,required:d.required},l),children:[(0,t.jsx)("input",{checked:!!d.value,disabled:i,id:d.name,name:d.name,onChange:d.onChange,onBlur:d.onBlur,type:"checkbox",className:(0,r.default)("h-4 w-4 rounded-xs border-slate-300 dark:border-slate-600 bg-white dark:!bg-slate-800 text-indigo-600 dark:text-slate-200 focus:ring-slate-800",n,e.className),...o}),(0,t.jsx)("label",{htmlFor:d.name,className:(0,r.default)("text-sm text-slate-900 dark:text-slate-200",a,{"text-danger":!!d.error}),children:d.label})]})}])},44791,28838,e=>{"use strict";var t=e.i(1415),r=e.i(29252),s=e.i(98183),i=e.i(23222),a=e.i(5858),l=e.i(62497),n=e.i(15064),o=e.i(49061);e.s(["useCSVExport",0,()=>{let[e,d]=(0,t.useState)(!1),u=(0,l.useApolloClient)(),c=(0,o.useRouter)(),{addWork:f}=(0,i.default)(),{formatMessage:h}=(0,s.useIntl)(),m=(0,t.useCallback)(async e=>{let{data:t}=await u.query({query:(0,n.GetWorkQuery)(),variables:{workId:e},fetchPolicy:"network-only"});return t?.work??null},[u]);return{isExporting:e,exportCSV:(0,t.useCallback)(async({type:e,pollInterval:t=2e3,...s})=>{d(!0);try{let r=await f({type:a.IWorkType.BulkExport,input:{type:e,...s}}),i=r?.data?.addWork?._id;if(!i)throw Error("Failed to create export work");await new Promise((e,r)=>{let s=setInterval(async()=>{try{let t=await m(i);if(!t)throw Error("Work not found");(t.status===a.IWorkStatus.Success||t.status===a.IWorkStatus.Failed)&&(clearInterval(s),t.status===a.IWorkStatus.Success&&t.success?(c.push(`/exports?workId=${t._id}`),e(t)):r(t.error||Error("Export failed")))}catch(e){clearInterval(s),r(e)}},t)})}catch(e){return console.error("Export failed:",e),r.toast.error(h({id:"export_failed",defaultMessage:"Export failed. Please try again."})),null}finally{d(!1)}},[f,m,c,h])}}],44791);var d=e.i(69178),u=e.i(62010),c=e.i(16891),f=e.i(5641),h=e.i(23518);function m({options:e,onSubmit:r,loading:i=!1,successMessage:a=""}){let{formatMessage:l}=(0,s.useIntl)(),n=(0,t.useMemo)(()=>e.reduce((e,t)=>(e[t.key]=t.defaultChecked??!0,e),{}),[e]),o=async e=>(await r(e),{success:!0}),m=(0,f.default)({successMessage:a||l({id:"export_completed",defaultMessage:"Data exported successfully"}),submit:o,enableReinitialize:!0,initialValues:n});return(0,d.jsx)(u.default,{form:m,children:m.formik.isSubmitting?(0,d.jsxs)("div",{className:"flex items-center gap-3 p-4 mb-4 rounded-lg animate-pulse",children:[(0,d.jsx)("div",{className:"w-5 h-5 border-2 border-blue-600 border-t-transparent rounded-full animate-spin"}),(0,d.jsx)("span",{className:"text-sm font-medium text-blue-700 dark:text-blue-300",children:l({id:"exporting_message",defaultMessage:"Generating your export files. This may take a moment..."})})]}):(0,d.jsxs)("fieldset",{disabled:i,style:{border:"none",padding:0},children:[(0,d.jsxs)("h3",{children:[" ",l({id:"export_options",defaultMessage:"Export options"})]}),e.map(e=>(0,d.jsx)(c.default,{name:e.key,label:e.label,hideLabel:!0,className:"mr-2 h-4 w-4 justify-between rounded-sm border-slate-300 dark:border-slate-600 bg-white text-slate-950 focus:ring-slate-800 lg:items-center",type:"checkbox"},e.key)),(0,d.jsx)(h.default,{label:l({id:"submit",defaultMessage:"Submit"}),disabled:i})]})})}e.s(["default",()=>m],28838)},14853,e=>{"use strict";var t=e.i(1415),r=e.i(98183),s=e.i(23222),i=e.i(5858);e.s(["useCSVImport",0,({validate:e,process:a})=>{let{addWork:l}=(0,s.default)(),[n,o]=(0,t.useState)(!1),d=(0,r.useIntl)();return{isImporting:n,importItems:async t=>{let r={success:0,failed:0,errors:[]};try{o(!0);let s=e(t,d);s.length>0&&(r.failed+=s.length,r.errors.push(...s));let n=await a(t);for(let e=0;e<n.length;e+=100){let t=n.slice(e,e+100);try{await l({type:i.IWorkType.BulkImport,input:{createShouldUpsertIfIDExists:!0,events:t}}),r.success+=t.length}catch(s){console.error("Batch import failed:",s),r.failed+=t.length,r.errors.push(`Batch starting at index ${e} failed: ${s.message}`)}}return o(!1),r}catch(e){return console.error("Import failed:",e),o(!1),r.errors.push(e.message||"Unknown error"),r}}}}])},79841,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}}])},43409,e=>{"use strict";var t=e.i(69178),r=e.i(98183);e.s(["default",0,({result:e,title:s,entityName:i="items"})=>{let{formatMessage:a}=(0,r.useIntl)();return(0,t.jsxs)("div",{className:"p-4",children:[(0,t.jsx)("h3",{className:"text-lg font-semibold mb-4",children:s||a({id:"import_results",defaultMessage:"Import Results"})}),(0,t.jsx)("p",{className:"text-green-600",children:a({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:a({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"]})]})]})]})}])},36766,(e,t,r)=>{var s;let i;e.e,s=function e(){var t,r="u">typeof self?self:"u">typeof window?window:void 0!==r?r:{},s=!r.document&&!!r.postMessage,i=r.IS_PAPA_WORKER||!1,a={},l=0,n={};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=b(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,t){var s=parseInt(this._config.skipFirstNLines)||0;if(this.isFirstChunk&&0<s){let t=this._config.newline;t||(a=this._config.quoteChar||'"',t=this._handle.guessLineEndings(e,a)),e=[...e.split(t).slice(s)].join(t)}this.isFirstChunk&&w(this._config.beforeFirstChunk)&&void 0!==(a=this._config.beforeFirstChunk(e))&&(e=a),this.isFirstChunk=!1,this._halted=!1;var s=this._partialLine+e,a=(this._partialLine="",this._handle.parse(s,this._baseIndex,!this._finished));if(!this._handle.paused()&&!this._handle.aborted()){if(e=a.meta.cursor,this._finished||(this._partialLine=s.substring(e-this._baseIndex),this._baseIndex=e),a&&a.data&&(this._rowCount+=a.data.length),s=this._finished||this._config.preview&&this._rowCount>=this._config.preview,i)r.postMessage({results:a,workerId:n.WORKER_ID,finished:s});else if(w(this._config.chunk)&&!t){if(this._config.chunk(a,this._handle),this._handle.paused()||this._handle.aborted())return void(this._halted=!0);this._completeResults=a=void 0}return this._config.step||this._config.chunk||(this._completeResults.data=this._completeResults.data.concat(a.data),this._completeResults.errors=this._completeResults.errors.concat(a.errors),this._completeResults.meta=a.meta),this._completed||!s||!w(this._config.complete)||a&&a.meta.aborted||(this._config.complete(this._completeResults,this._input),this._completed=!0),s||a&&a.meta.paused||this._nextChunk(),a}this._halted=!0},this._sendError=function(e){w(this._config.error)?this._config.error(e):i&&this._config.error&&r.postMessage({workerId:n.WORKER_ID,error:e,finished:!1})}}function d(e){var t;(e=e||{}).chunkSize||(e.chunkSize=n.RemoteChunkSize),o.call(this,e),this._nextChunk=s?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),s||(t.onload=y(this._chunkLoaded,this),t.onerror=y(this._chunkError,this)),t.open(this._config.downloadRequestBody?"POST":"GET",this._input,!s),this._config.downloadRequestHeaders){var e,r,i=this._config.downloadRequestHeaders;for(r in i)t.setRequestHeader(r,i[r])}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)}s&&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))}}function u(e){(e=e||{}).chunkSize||(e.chunkSize=n.LocalChunkSize),o.call(this,e);var t,r,s="u">typeof FileReader;this.stream=function(e){this._input=e,r=e.slice||e.webkitSlice||e.mozSlice,s?((t=new FileReader).onload=y(this._chunkLoaded,this),t.onerror=y(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));s||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,s=!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(){s&&1===t.length&&(this._finished=!0)},this._nextChunk=function(){this._checkIsFinished(),t.length?this.parseChunk(t.shift()):r=!0},this._streamData=y(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=y(function(e){this._streamCleanUp(),this._sendError(e)},this),this._streamEnd=y(function(){this._streamCleanUp(),s=!0,this._streamData("")},this),this._streamCleanUp=y(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,s,i,a=/^\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,d=0,u=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 v(){if(g&&s&&(_("Delimiter","UndetectableDelimiter","Unable to auto-detect delimiting character; defaulted to '"+n.DefaultDelimiter+"'"),s=!1),e.skipEmptyLines&&(g.data=g.data.filter(function(e){return!x(e)})),y()){if(g)if(Array.isArray(g.data[0])){for(var t,r=0;y()&&r<g.data.length;r++)g.data[r].forEach(i);g.data.splice(0,1)}else g.data.forEach(i);function i(t,r){w(e.transformHeader)&&(t=e.transformHeader(t,r)),h.push(t)}}function o(t,r){for(var s=e.header?{}:[],i=0;i<t.length;i++){var n=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(a.test(e)&&-0x20000000000000<(e=parseFloat(e))&&e<0x20000000000000)return 1})(r)?parseFloat(r):l.test(r)?new Date(r):""===r?null:r):r)(n=e.header?i>=h.length?"__parsed_extra":h[i]:n,o=e.transform?e.transform(o,n):o);"__parsed_extra"===n?(s[n]=s[n]||[],s[n].push(o)):s[n]=o}return e.header&&(i>h.length?_("FieldMismatch","TooManyFields","Too many fields: expected "+h.length+" fields but parsed "+i,u+r):i<h.length&&_("FieldMismatch","TooFewFields","Too few fields: expected "+h.length+" fields but parsed "+i,u+r)),s}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),u+=t)}function y(){return e.header&&0===h.length}function _(e,t,r,s){e={type:e,code:t,message:r},void 0!==s&&(e.row=s),g.errors.push(e)}w(e.step)&&(i=e.step,e.step=function(t){g=t,y()?v():(v(),0!==g.data.length&&(d+=t.data.length,e.preview&&d>e.preview?r.abort():(g.data=g.data[0],i(g,o))))}),this.parse=function(i,a,l){var o=e.quoteChar||'"',o=(e.newline||(e.newline=this.guessLineEndings(i,o)),s=!1,e.delimiter?w(e.delimiter)&&(e.delimiter=e.delimiter(i),g.meta.delimiter=e.delimiter):((o=((t,r,s,i,a)=>{var l,o,d,u;a=a||[","," ","|",";",n.RECORD_SEP,n.UNIT_SEP];for(var c=0;c<a.length;c++){for(var f,h=a[c],m=0,g=0,v=0,b=(d=void 0,new p({comments:i,delimiter:h,newline:r,preview:10}).parse(t)),y=0;y<b.data.length;y++)s&&x(b.data[y])?v++:(g+=f=b.data[y].length,void 0===d?d=f:0<f&&(m+=Math.abs(f-d),d=f));0<b.data.length&&(g/=b.data.length-v),(void 0===o||m<=o)&&(void 0===u||u<g)&&1.99<g&&(o=m,l=h,u=g)}return{successful:!!(e.delimiter=l),bestDelimiter:l}})(i,e.newline,e.skipEmptyLines,e.comments,e.delimitersToGuess)).successful?e.delimiter=o.bestDelimiter:(s=!0,e.delimiter=n.DefaultDelimiter),g.meta.delimiter=e.delimiter),b(e));return e.preview&&e.header&&o.preview++,t=i,g=(r=new p(o)).parse(t,a,l),v(),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(m(t)+"([^]*?)"+m(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 s=0,i=0;i<r.length;i++)"\n"===r[i][0]&&s++;return s>=r.length/2?"\r\n":"\r"}}function m(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function p(e){var t=(e=e||{}).delimiter,r=e.newline,s=e.comments,i=e.step,a=e.preview,l=e.fastMode,o=null,d=!1,u=null==e.quoteChar?'"':e.quoteChar,c=u;if(void 0!==e.escapeChar&&(c=e.escapeChar),("string"!=typeof t||-1<n.BAD_DELIMITERS.indexOf(t))&&(t=","),s===t)throw Error("Comment character same as delimiter");!0===s?s="#":("string"!=typeof s||-1<n.BAD_DELIMITERS.indexOf(s))&&(s=!1),"\n"!==r&&"\r"!==r&&"\r\n"!==r&&(r="\n");var f=0,h=!1;this.parse=function(n,p,g){if("string"!=typeof n)throw Error("Input must be a string");var x=n.length,v=t.length,b=r.length,y=s.length,_=w(i),k=[],j=[],C=[],I=f=0;if(!n)return q();if(l||!1!==l&&-1===n.indexOf(u)){for(var E=n.split(r),S=0;S<E.length;S++){if(C=E[S],f+=C.length,S!==E.length-1)f+=r.length;else if(g)break;if(!s||C.substring(0,y)!==s){if(_){if(k=[],$(C.split(t)),A(),h)return q()}else $(C.split(t));if(a&&a<=S)return k=k.slice(0,a),q(!0)}}return q()}for(var N=n.indexOf(t,f),M=n.indexOf(r,f),R=RegExp(m(c)+m(u),"g"),P=n.indexOf(u,f);;)if(n[f]===u)for(P=f,f++;;){if(-1===(P=n.indexOf(u,P+1)))return g||j.push({type:"Quotes",code:"MissingQuotes",message:"Quoted field unterminated",row:k.length,index:f}),D();if(P===x-1)return D(n.substring(f,P).replace(R,u));if(u===c&&n[P+1]===c)P++;else if(u===c||0===P||n[P-1]!==c){-1!==N&&N<P+1&&(N=n.indexOf(t,P+1));var O=L(-1===(M=-1!==M&&M<P+1?n.indexOf(r,P+1):M)?N:Math.min(N,M));if(n.substr(P+1+O,v)===t){C.push(n.substring(f,P).replace(R,u)),n[f=P+1+O+v]!==u&&(P=n.indexOf(u,f)),N=n.indexOf(t,f),M=n.indexOf(r,f);break}if(O=L(M),n.substring(P+1+O,P+1+O+b)===r){if(C.push(n.substring(f,P).replace(R,u)),T(P+1+O+b),N=n.indexOf(t,f),P=n.indexOf(u,f),_&&(A(),h))return q();if(a&&k.length>=a)return q(!0);break}j.push({type:"Quotes",code:"InvalidQuotes",message:"Trailing quote on quoted field is malformed",row:k.length,index:f}),P++}}else if(s&&0===C.length&&n.substring(f,f+y)===s){if(-1===M)return q();f=M+b,M=n.indexOf(r,f),N=n.indexOf(t,f)}else if(-1!==N&&(N<M||-1===M))C.push(n.substring(f,N)),f=N+v,N=n.indexOf(t,f);else{if(-1===M)break;if(C.push(n.substring(f,M)),T(M+b),_&&(A(),h))return q();if(a&&k.length>=a)return q(!0)}return D();function $(e){k.push(e),I=f}function L(e){return -1!==e&&(e=n.substring(P+1,e))&&""===e.trim()?e.length:0}function D(e){return g||(void 0===e&&(e=n.substring(f)),C.push(e),f=x,$(C),_&&A()),q()}function T(e){f=e,$(C),C=[],M=n.indexOf(r,f)}function q(s){if(e.header&&!p&&k.length&&!d){var i=k[0],a=Object.create(null),l=new Set(i);let t=!1;for(let r=0;r<i.length;r++){let s=i[r];if(a[s=w(e.transformHeader)?e.transformHeader(s,r):s]){let e,n=a[s];for(;e=s+"_"+n,n++,l.has(e););l.add(e),i[r]=e,a[s]++,t=!0,(o=null===o?{}:o)[e]=s}else a[s]=1,i[r]=s;l.add(s)}t&&console.warn("Duplicate headers found and renamed."),d=!0}return{data:k,errors:j,meta:{delimiter:t,linebreak:r,aborted:h,truncated:!!s,cursor:I+(p||0),renamedHeaders:o}}}function A(){i(q()),k=[],j=[]}},this.abort=function(){h=!0},this.getCharIndex=function(){return f}}function g(e){var t=e.data,r=a[t.workerId],s=!1;if(t.error)r.userError(t.error,t.file);else if(t.results&&t.results.data){var i={abort:function(){s=!0,x(t.workerId,{data:[],errors:[],meta:{aborted:!0}})},pause:v,resume:v};if(w(r.userStep)){for(var l=0;l<t.results.data.length&&(r.userStep({data:t.results.data[l],errors:t.results.errors,meta:t.results.meta},i),!s);l++);delete t.results}else w(r.userChunk)&&(r.userChunk(t.results,i,t.file),delete t.results)}t.finished&&!s&&x(t.workerId,t.results)}function x(e,t){var r=a[e];w(r.userComplete)&&r.userComplete(t),r.terminate(),delete a[e]}function v(){throw Error("Not implemented.")}function b(e){if("object"!=typeof e||null===e)return e;var t,r=Array.isArray(e)?[]:{};for(t in e)r[t]=b(e[t]);return r}function y(e,t){return function(){e.apply(t,arguments)}}function w(e){return"function"==typeof e}return n.parse=function(t,s){var i,o,h,m=(s=s||{}).dynamicTyping||!1;if(w(m)&&(s.dynamicTypingFunction=m,m={}),s.dynamicTyping=m,s.transform=!!w(s.transform)&&s.transform,!s.worker||!n.WORKERS_SUPPORTED){let e;return m=null,n.NODE_STREAM_INPUT,"string"==typeof t?(t=65279!==(e=t).charCodeAt(0)?e:e.slice(1),m=new(s.download?d:c)(s)):!0===t.readable&&w(t.read)&&w(t.on)?m=new f(s):(r.File&&t instanceof File||t instanceof Object)&&(m=new u(s)),m.stream(t)}(m=!!n.WORKERS_SUPPORTED&&(o=r.URL||r.webkitURL||null,h=e.toString(),i=n.BLOB_URL||(n.BLOB_URL=o.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; ","(",h,")();"],{type:"text/javascript"}))),(i=new r.Worker(i)).onmessage=g,i.id=l++,a[i.id]=i)).userStep=s.step,m.userChunk=s.chunk,m.userComplete=s.complete,m.userError=s.error,s.step=w(s.step),s.chunk=w(s.chunk),s.complete=w(s.complete),s.error=w(s.error),delete s.worker,m.postMessage({input:t,config:s,workerId:m.id})},n.unparse=function(e,t){var r=!1,s=!0,i=",",a="\r\n",l='"',o=l+l,d=!1,u=null,c=!1,f=((()=>{if("object"==typeof t){if("string"!=typeof t.delimiter||n.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||(d=t.skipEmptyLines),"string"==typeof t.newline&&(a=t.newline),"string"==typeof t.quoteChar&&(l=t.quoteChar),"boolean"==typeof t.header&&(s=t.header),Array.isArray(t.columns)){if(0===t.columns.length)throw Error("Option columns is empty");u=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(m(l),"g"));if("string"==typeof e&&(e=JSON.parse(e)),Array.isArray(e)){if(!e.length||Array.isArray(e[0]))return h(null,e,d);if("object"==typeof e[0])return h(u||Object.keys(e[0]),e,d)}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||u),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||[],d);throw Error("Unable to serialize unrecognized input");function h(e,t,r){var l="",n=("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(n&&s){for(var d=0;d<e.length;d++)0<d&&(l+=i),l+=p(e[d],d);0<t.length&&(l+=a)}for(var u=0;u<t.length;u++){var c=(n?e:t[u]).length,f=!1,h=n?0===Object.keys(t[u]).length:0===t[u].length;if(r&&!n&&(f="greedy"===r?""===t[u].join("").trim():1===t[u].length&&0===t[u][0].length),"greedy"===r&&n){for(var m=[],g=0;g<c;g++){var x=o?e[g]:g;m.push(t[u][x])}f=""===m.join("").trim()}if(!f){for(var v=0;v<c;v++){0<v&&!h&&(l+=i);var b=n&&o?e[v]:v;l+=p(t[u][b],v)}u<t.length-1&&(!r||0<c&&!h)&&(l+=a)}}return l}function p(e,t){var s,a;return null==e?"":e.constructor===Date?JSON.stringify(e).slice(1,25):(a=!1,c&&"string"==typeof e&&c.test(e)&&(e="'"+e,a=!0),s=e.toString().replace(f,o),(a=a||!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,n.BAD_DELIMITERS)||-1<s.indexOf(i)||" "===s.charAt(0)||" "===s.charAt(s.length-1))?l+s+l:s)}},n.RECORD_SEP="\x1e",n.UNIT_SEP="\x1f",n.BYTE_ORDER_MARK="\uFEFF",n.BAD_DELIMITERS=["\r","\n",'"',n.BYTE_ORDER_MARK],n.WORKERS_SUPPORTED=!s&&!!r.Worker,n.NODE_STREAM_INPUT=1,n.LocalChunkSize=0xa00000,n.RemoteChunkSize=5242880,n.DefaultDelimiter=",",n.Parser=p,n.ParserHandle=h,n.NetworkStreamer=d,n.FileStreamer=u,n.StringStreamer=c,n.ReadableStreamStreamer=f,r.jQuery&&((t=r.jQuery).fn.parse=function(e){var s=e.config||{},i=[];return this.each(function(e){if(!("INPUT"===t(this).prop("tagName").toUpperCase()&&"file"===t(this).attr("type").toLowerCase()&&r.FileReader)||!this.files||0===this.files.length)return!0;for(var a=0;a<this.files.length;a++)i.push({file:this.files[a],inputElem:this,instanceConfig:t.extend({},s)})}),a(),this;function a(){if(0===i.length)w(e.complete)&&e.complete();else{var r,s,a,o=i[0];if(w(e.before)){var d=e.before(o.file,o.inputElem);if("object"==typeof d){if("abort"===d.action)return r=o.file,s=o.inputElem,a=d.reason,void(w(e.error)&&e.error({name:"AbortError"},r,s,a));if("skip"===d.action)return void l();"object"==typeof d.config&&(o.instanceConfig=t.extend(o.instanceConfig,d.config))}else if("skip"===d)return void l()}var u=o.instanceConfig.complete;o.instanceConfig.complete=function(e){w(u)&&u(e,o.file,o.inputElem),l()},n.parse(o.file,o.instanceConfig)}}function l(){i.splice(0,1),a()}}),i&&(r.onmessage=function(e){e=e.data,void 0===n.WORKER_ID&&e&&(n.WORKER_ID=e.workerId),"string"==typeof e.input?r.postMessage({workerId:n.WORKER_ID,results:n.parse(e.input,e.config),finished:!0}):(r.File&&e.input instanceof File||e.input instanceof Object)&&(e=n.parse(e.input,e.config))&&r.postMessage({workerId:n.WORKER_ID,results:e,finished:!0})}),(d.prototype=Object.create(o.prototype)).constructor=d,(u.prototype=Object.create(o.prototype)).constructor=u,(c.prototype=Object.create(c.prototype)).constructor=c,(f.prototype=Object.create(o.prototype)).constructor=f,n},"function"==typeof define&&define.amd?void 0!==(i=s())&&e.v(i):t.exports=s()},3239,e=>{"use strict";e.s(["downloadCSV",0,(e,t)=>{let r=new Blob([e],{type:"text/csv;charset=utf-8;"}),s=document.createElement("a");if(void 0!==s.download){let e=URL.createObjectURL(r);s.setAttribute("href",e),s.setAttribute("download",t),s.style.visibility="hidden",document.body.appendChild(s),s.click(),document.body.removeChild(s),URL.revokeObjectURL(e)}}])},14638,e=>{"use strict";var t=e.i(1415);let r=t.forwardRef(function({title:e,titleId:r,...s},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},s),e?t.createElement("title",{id:r},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9.813 15.904 9 18.75l-.813-2.846a4.5 4.5 0 0 0-3.09-3.09L2.25 12l2.846-.813a4.5 4.5 0 0 0 3.09-3.09L9 5.25l.813 2.846a4.5 4.5 0 0 0 3.09 3.09L15.75 12l-2.846.813a4.5 4.5 0 0 0-3.09 3.09ZM18.259 8.715 18 9.75l-.259-1.035a3.375 3.375 0 0 0-2.455-2.456L14.25 6l1.036-.259a3.375 3.375 0 0 0 2.455-2.456L18 2.25l.259 1.035a3.375 3.375 0 0 0 2.456 2.456L21.75 6l-1.035.259a3.375 3.375 0 0 0-2.456 2.456ZM16.894 20.567 16.5 21.75l-.394-1.183a2.25 2.25 0 0 0-1.423-1.423L13.5 18.75l1.183-.394a2.25 2.25 0 0 0 1.423-1.423l.394-1.183.394 1.183a2.25 2.25 0 0 0 1.423 1.423l1.183.394-1.183.394a2.25 2.25 0 0 0-1.423 1.423Z"}))});e.s(["SparklesIcon",0,r],14638)},23359,e=>{"use strict";var t=e.i(69178),r=e.i(98183),s=e.i(72670);let i={DRAFT:"yellow",ACTIVE:"emerald",DELETED:"amber",null:"yellow",undefined:"yellow"};e.s(["ProductStatusBadge",0,({status:e})=>{let{formatMessage:a}=(0,r.useIntl)();return a({id:"pending",defaultMessage:"PENDING"}),a({id:"confirmed",defaultMessage:"CONFIRMED"}),a({id:"open",defaultMessage:"OPEN"}),a({id:"fulfilled",defaultMessage:"FULFILLED"}),a({id:"rejected",defaultMessage:"REJECTED"}),(0,t.jsx)(s.default,{text:(e=>{switch(e){case"ACTIVE":return a({id:"active",defaultMessage:"Active"});case"DRAFT":default:return a({id:"draft",defaultMessage:"Draft"});case"DELETED":return a({id:"deleted",defaultMessage:"Deleted"})}})(e),color:i[e]||"yellow",square:!0,dotted:!0})}])},41909,e=>{"use strict";var t=e.i(1415);let r=(...e)=>e.filter((e,t,r)=>!!e&&""!==e.trim()&&r.indexOf(e)===t).join(" ").trim(),s=e=>{let t=e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,r)=>r?r.toUpperCase():t.toLowerCase());return t.charAt(0).toUpperCase()+t.slice(1)};var i={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let a=(0,t.forwardRef)(({color:e="currentColor",size:s=24,strokeWidth:a=2,absoluteStrokeWidth:l,className:n="",children:o,iconNode:d,...u},c)=>(0,t.createElement)("svg",{ref:c,...i,width:s,height:s,stroke:e,strokeWidth:l?24*Number(a)/Number(s):a,className:r("lucide",n),...!o&&!(e=>{for(let t in e)if(t.startsWith("aria-")||"role"===t||"title"===t)return!0;return!1})(u)&&{"aria-hidden":"true"},...u},[...d.map(([e,r])=>(0,t.createElement)(e,r)),...Array.isArray(o)?o:[o]])),l=(e,i)=>{let l=(0,t.forwardRef)(({className:l,...n},o)=>(0,t.createElement)(a,{ref:o,iconNode:i,className:r(`lucide-${s(e).replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,`lucide-${e}`,l),...n}));return l.displayName=s(e),l};e.s(["default",()=>l],41909)},69090,e=>{"use strict";var t=e.i(1415);let r=t.forwardRef(function({title:e,titleId:r,...s},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},s),e?t.createElement("title",{id:r},e):null,t.createElement("path",{d:"M7 8a3 3 0 1 0 0-6 3 3 0 0 0 0 6ZM14.5 9a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5ZM1.615 16.428a1.224 1.224 0 0 1-.569-1.175 6.002 6.002 0 0 1 11.908 0c.058.467-.172.92-.57 1.174A9.953 9.953 0 0 1 7 18a9.953 9.953 0 0 1-5.385-1.572ZM14.5 16h-.106c.07-.297.088-.611.048-.933a7.47 7.47 0 0 0-1.588-3.755 4.502 4.502 0 0 1 5.874 2.636.818.818 0 0 1-.36.98A7.465 7.465 0 0 1 14.5 16Z"}))});e.s(["UsersIcon",0,r],69090)},74746,e=>{"use strict";var t=e.i(71983),r=e.i(13699);let s=t.gql`
278
- query ProductsCount(
279
- $queryString: String
280
- $tags: [LowerCaseString!]
281
- $slugs: [String!]
282
- $includeDrafts: Boolean
283
- ) {
284
- productsCount(
285
- tags: $tags
286
- slugs: $slugs
287
- includeDrafts: $includeDrafts
288
- queryString: $queryString
289
- )
290
- }
291
- `;e.s(["default",0,({queryString:e="",tags:t=null,includeDrafts:i=!0})=>{let{data:a,loading:l,error:n}=(0,r.useQuery)(s,{variables:{queryString:e,includeDrafts:i,tags:t}});return{productsCount:a?.productsCount,loading:l,error:n}}])},50909,e=>{"use strict";var t=e.i(69178),r=e.i(98183),s=e.i(5858),i=e.i(49061),a=e.i(23529),l=e.i(1516),n=e.i(71588),o=e.i(62458),d=e.i(39381),u=e.i(51443),c=e.i(69438),f=e.i(98531),h=e.i(12868),m=e.i(30758),p=e.i(72670),g=e.i(81751),x=e.i(22103),v=e.i(6356),b=e.i(19372),y=e.i(31891),w=e.i(17831),_=e.i(22979),k=e.i(29130),j=e.i(23359);let C=({product:e,showAvatar:a=!1,hideSortIndex:l=!1})=>{let{formatMessage:n}=(0,r.useIntl)(),o=(0,i.useRouter)(),{hasRole:d}=(0,b.default)(),{setModal:u}=(0,y.default)(),{updateProduct:c}=(0,_.default)(),{removeProduct:h}=(0,k.default)(),C=async t=>{t.target.value&&await c({productId:e?._id,product:{sequence:parseInt(t.target.value,10)}})},I=async()=>{await u((0,t.jsx)(w.default,{onCancelClick:async()=>u(""),message:n({id:"delete_product_warning",defaultMessage:"This action will permanently delete this product and all associated data. Are you sure you want to continue?"}),onOkClick:async()=>{u(""),await h({productId:e._id})},okText:n({id:"delete_product",defaultMessage:"Delete Product"})}))},E=`/products?slug=${(0,v.default)(e)}`,S=(0,t.jsx)("span",{className:"text-xs mt-1 px-2 py-0.5 bg-slate-100 dark:bg-slate-700 text-slate-700 dark:text-slate-200 rounded w-fit",children:(e.__typename||e.type||"SimpleProduct").replace("Product","")||"Simple"});return(0,t.jsxs)(f.default.Row,{className:"group",children:[(0,t.jsx)(f.default.Cell,{children:e?.status!=="DELETED"?(0,t.jsxs)(m.default,{href:E,className:"flex items-center text-sm text-slate-900 dark:text-slate-300 group-hover:text-slate-700 dark:group-hover:text-slate-100",children:[a&&(0,t.jsx)(g.default,{file:e?.media?.length&&e.media[0].file,className:"mr-3"}),(0,t.jsx)("div",{className:"flex flex-col",children:(0,t.jsx)("div",{className:"flex items-center gap-2",children:e?.texts?.title||(0,t.jsxs)(t.Fragment,{children:[e._id," ",(0,t.jsx)(p.default,{color:"yellow",text:n({id:"title_not_found",defaultMessage:"Title not found"})})]})})})]}):(0,t.jsxs)("div",{className:"flex items-center text-sm text-slate-900",children:[a&&(0,t.jsx)(g.default,{file:e?.media?.length&&e.media[0].file,className:"mr-3"}),(0,t.jsx)("div",{className:"flex flex-col",children:(0,t.jsx)("div",{className:"flex items-center gap-2",children:e?.texts?.title||(0,t.jsxs)(t.Fragment,{children:[e._id," ",(0,t.jsx)(p.default,{color:"yellow",text:n({id:"title_not_found",defaultMessage:"Title not found"})})]})})})]})}),(0,t.jsx)(f.default.Cell,{className:"whitespace-nowrap px-6",children:S}),(0,t.jsx)(f.default.Cell,{className:"whitespace-nowrap px-6",children:e?.status!=="DELETED"?(0,t.jsx)(m.default,{href:E,className:"block",children:(0,t.jsx)(j.ProductStatusBadge,{status:e?.status})}):(0,t.jsx)(j.ProductStatusBadge,{status:e?.status})}),(0,t.jsx)(f.default.Cell,{children:e?.status!=="DELETED"?(0,t.jsx)(m.default,{href:E,className:"block",children:(0,t.jsx)("div",{className:"flex flex-wrap gap-2",children:e.tags?.map(e=>(0,t.jsx)(p.default,{text:e,color:"slate"},e))})}):(0,t.jsx)("div",{className:"flex flex-wrap gap-2",children:e.tags?.map(e=>(0,t.jsx)(p.default,{text:e,color:"slate"},e))})}),l?null:(0,t.jsx)(f.default.Cell,{children:(0,t.jsx)("input",{type:"number",id:`${e?._id}-sequence`,className:"text-center w-16 shadow-xs focus:ring-slate-900 dark:bg-slate-800 dark:border-slate-700 focus:border-slate-900 block text-sm border-slate-300 rounded-md mr-2 font-semibold text-slate-900 dark:text-slate-300",defaultValue:e?.sequence,disabled:!d(s.IRoleAction.ManageProducts),onBlur:C,onClick:e=>e.stopPropagation(),onFocus:e=>e.stopPropagation()})}),(0,t.jsx)(f.default.Cell,{className:"text-right",children:(0,t.jsx)(x.default,{onEdit:e?.status!=="DELETED"?()=>{e?.status!=="DELETED"&&o.push(`/products?slug=${(0,v.default)(e)}`)}:void 0,onDelete:d(s.IRoleAction.ManageProducts)&&e?.status==="DRAFT"?I:void 0,showEdit:e?.status!=="DELETED",showDelete:d(s.IRoleAction.ManageProducts)&&e?.status==="DRAFT"&&!e?.proxies?.length})})]})};var I=e.i(81312);let E=({showAvatar:e=!0,queryString:s,limit:i,offset:a,tags:l,sortKeys:n,includeDrafts:o,sortable:d})=>{let{formatMessage:m}=(0,r.useIntl)(),{selectedLocale:p}=(0,I.default)(),{products:g,loading:x,loadMore:v,hasMore:b}=(0,h.default)({queryString:s,includeDrafts:o,limit:i,offset:a,tags:l,sort:n,forceLocale:p});return x&&g?.length===0?(0,t.jsx)(u.default,{}):(0,t.jsx)(c.default,{loading:x,hasMore:b,onLoadMore:v,children:(0,t.jsxs)(f.default,{className:"min-w-full ",children:[g?.map(e=>(0,t.jsxs)(f.default.Row,{header:!0,enablesort:d,children:[(0,t.jsx)(f.default.Cell,{children:m({id:"name",defaultMessage:"Name"})}),(0,t.jsx)(f.default.Cell,{sortKey:"type",children:m({id:"type",defaultMessage:"Type"})}),(0,t.jsx)(f.default.Cell,{sortKey:"status",children:m({id:"status",defaultMessage:"Status"})}),(0,t.jsx)(f.default.Cell,{children:m({id:"tags",defaultMessage:"Tags"})}),(0,t.jsx)(f.default.Cell,{sortKey:"sequence",defaultSortDirection:"ASC",children:m({id:"sequence",defaultMessage:"Display Order"})}),(0,t.jsx)(f.default.Cell,{children:" "})]},e._id)),g?.map(r=>(0,t.jsx)(C,{product:r,showAvatar:e},`${r?._id}-body`))]})})};var S=e.i(81907),N=e.i(12763),M=e.i(74746),R=e.i(98445),P=e.i(47024),O=e.i(8878),$=e.i(1415),L=e.i(93734),D=e.i(44791);let T=["_id","sku","baseUnit","sequence","status","tags","updated","published","type"],q=["title","subtitle","description","vendor","brand","labels","slug"],A=["productId","amount","currencyCode","countryCode","isTaxable","isNetPrice","maxQuantity"],F=["productId","bundleItemProductId","quantity","configuration"],z=["productId","variationId","key","type"],B=["title","subtitle"],V=["variationId","value"],W=["title","subtitle"];var U=e.i(28838);let Z=({queryString:e,includeDrafts:s,tags:i})=>{let{setModal:a}=(0,y.default)(),{productsCount:l,loading:n}=(0,M.default)({queryString:e,includeDrafts:s,tags:i}),{exportProducts:o,isExporting:d}=(()=>{let{exportCSV:e,isExporting:t}=(0,D.useCSVExport)();return{exportProducts:(0,$.useCallback)(async t=>{await e({type:"PRODUCTS",...t})},[e]),isExporting:t}})(),{formatMessage:u}=(0,r.useIntl)(),c=[{key:"exportProducts",label:u({id:"products",defaultMessage:"Products"})},{key:"exportPrices",label:u({id:"prices",defaultMessage:"Prices"})},{key:"exportBundleItems",label:u({id:"bundle_items",defaultMessage:"Bundle items"})},{key:"exportVariations",label:u({id:"variations",defaultMessage:"Variations"})},{key:"exportVariationOptions",label:u({id:"variation_options",defaultMessage:"Variation options"})}],f=(0,$.useCallback)(async t=>{await o({queryString:e,includeDrafts:s,tags:i,...t}),a(null)},[e,s,i,o,a]);return n?null:(0,t.jsx)(L.default,{onClick:()=>{a((0,t.jsx)(U.default,{options:c,onSubmit:f,loading:d}))},disabled:d||!l,variant:"secondary",text:u(d?{id:"exporting",defaultMessage:"Exporting..."}:{id:"export",defaultMessage:"Export"})})};var Q=e.i(14853),H=e.i(79841);let G={SimpleProduct:"SIMPLE_PRODUCT",BundleProduct:"BUNDLE_PRODUCT",PlanProduct:"PLAN_PRODUCT",ConfigurableProduct:"CONFIGURABLE_PRODUCT",TokenizedProduct:"TOKENIZED_PRODUCT"},K=e=>{let t={};return Object.entries(e).forEach(([e,r])=>{if(!e.startsWith("texts."))return;let[,s,i]=e.split(".");t[s]||={},"labels"===i?t[s][i]=r?r.split(";"):[]:t[s][i]=r||""}),t},X=({productsCSV:e,pricesCSV:t,bundleItemsCSV:r,variationOptionsCSV:i,variationsCSV:a},l)=>{let n=[];for(let t of e)Object.values(G).includes(t?.type)||n.push(l.formatMessage({id:"product_import.validation.invalid_type",defaultMessage:"Invalid product type: {type}"},{type:t.type})),t.sequence||n.push(l.formatMessage({id:"product_import_sequence_required",defaultMessage:"Required field sequence missing"})),t.status&&![s.IProductStatus.Active,s.IProductStatus.Draft,s.IProductStatus.Deleted].includes(t.status)&&n.push(l.formatMessage({id:"product_import_status_invalid",defaultMessage:"Invalid status value given ({status})"},{status:t.status}));for(let e of t)e.productId||n.push(l.formatMessage({id:"product_price_import_product_id_required",defaultMessage:"Required field productId missing"})),e.amount||n.push(l.formatMessage({id:"product_price_import_amount_required",defaultMessage:"Required field amount missing"})),e.countryCode||n.push(l.formatMessage({id:"product_price_import_countryCode_required",defaultMessage:"Required field countryCode missing"})),e.currencyCode||n.push(l.formatMessage({id:"product_price_import_currencyCode_required",defaultMessage:"Required field currencyCode missing"}));for(let e of r)e.productId||n.push(l.formatMessage({id:"product_bundle_import_product_id_required",defaultMessage:"Required field variation productId missing"})),e.bundleItemProductId||n.push(l.formatMessage({id:"product_bundle_import_item_id_required",defaultMessage:"Required field bundleItemProductId missing"}));for(let e of a)e.productId||n.push(l.formatMessage({id:"product_variation_import_product_id_required",defaultMessage:"Required field variation productId missing"})),e.variationId||n.push(l.formatMessage({id:"product_variation_import_variation_id_required",defaultMessage:"Required field variationId missing"})),e.type||n.push(l.formatMessage({id:"product_variation_import_type_required",defaultMessage:"Required field variation type missing"})),e.type&&![s.IProductVariationType.Color,s.IProductVariationType.Text].includes(e.type)&&n.push(l.formatMessage({id:"product_variation_import_invalid_type_required",defaultMessage:"Invalid variation type given ({type})"},{type:e.type}));for(let e of i)e.variationId||n.push(l.formatMessage({id:"product_variation_option_import_variation_id_required",defaultMessage:"Required field variation id missing"})),e.value||n.push(l.formatMessage({id:"product_variation_option_import_value_required",defaultMessage:"Required field variation option value missing"}));return n};var J=e.i(43409),Y=e.i(36766),ee=e.i(3239);let et={productsCSV:T,pricesCSV:A,bundleItemsCSV:F,variationOptionsCSV:V,variationsCSV:z},er=({onImport:e})=>{let s=(0,$.useRef)({}),{formatMessage:i}=(0,r.useIntl)(),{languageDialectList:a}=(0,I.default)(),l=a?.map(e=>e.isoCode)||[],[n,o]=(0,$.useState)({}),[d,u]=(0,$.useState)({productsCSV:[],pricesCSV:[],bundleItemsCSV:[],variationsCSV:[],variationOptionsCSV:[]}),[c,f]=(0,$.useState)(!1),h=[{key:"productsCSV",label:i({id:"product_csv_file",defaultMessage:"Products CSV"})},{key:"pricesCSV",label:i({id:"product_price_csv_file",defaultMessage:"Product prices CSV (Optional)"}),optional:!0},{key:"bundleItemsCSV",label:i({id:"product_bundle_item_csv_file",defaultMessage:"Product bundle items CSV (Optional)"}),optional:!0},{key:"variationsCSV",label:i({id:"product_variations_csv_file",defaultMessage:"Product variations CSV (Optional)"}),optional:!0},{key:"variationOptionsCSV",label:i({id:"product_variation_options_csv_file",defaultMessage:"Product variation options CSV (Optional)"}),optional:!0}],m=async e=>{let t=await e.text();return Y.default.parse(t,{header:!0,skipEmptyLines:!0}).data},p=async(e,t)=>{if(!t)return;let r=await m(t),s=((e,t)=>{if(!t.length)return!1;let r=Object.keys(t[0]),s=et[e].filter(e=>!r.includes(e));return s.length?(o(t=>({...t,[e]:i({id:"csv_missing_fields",defaultMessage:"Missing required columns: {fields}"},{fields:s.join(", ")})})),!1):(o(t=>({...t,[e]:void 0})),!0)})(e,r);u(t=>({...t,[e]:s?r:[]}))},g=async(e,t)=>{let r=e.target.files?.[0];await p(t,r),e.target.value=""},x=(0,$.useCallback)(async()=>{f(!0);try{await e(d)}finally{f(!1)}},[d,e]),v=d.productsCSV.length>0,b=Object.values(n).some(Boolean);return(0,t.jsxs)("div",{className:"sm:max-w-full w-full max-w-xl mx-auto p-6 bg-white border border-gray-200 rounded-lg shadow-md flex flex-col gap-6",children:[(0,t.jsx)("h3",{className:"text-center text-lg font-semibold",children:i({id:"products_import_title",defaultMessage:"Import Products"})}),(0,t.jsx)("p",{className:"text-center text-sm text-gray-600",children:i({id:"product_import_description",defaultMessage:"Select your products CSV and optional CSV files, then click Import."})}),h.map(({key:e,label:r,optional:a})=>(0,t.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,t.jsx)("input",{ref:t=>{s.current[e]=t??null},type:"file",accept:".csv",onChange:t=>g(t,e),className:"hidden"}),(0,t.jsxs)("div",{className:"flex justify-between items-center gap-2",children:[(0,t.jsx)(L.default,{text:d[e].length?i({id:`${e}_file_selected`,defaultMessage:`${r} Selected`}):i({id:`select_${e}`,defaultMessage:`Select ${r}`}),onClick:()=>s.current[e]?.click(),variant:"secondary",className:"flex-1",disabled:c||!v&&a}),(0,t.jsx)("button",{type:"button",className:"text-xs text-blue-600 hover:underline",title:"Download a CSV template with required columns",onClick:()=>((e,t,r=[])=>{let s=((e,t=[])=>{if("productsCSV"===e)return[...T,...t.flatMap(e=>q.map(t=>`texts.${e}.${t}`)),"supply.weightInGram","supply.heightInMillimeters","supply.lengthInMillimeters","supply.widthInMillimeters"];if("bundleItemsCSV"===e)return[...F];if("pricesCSV"===e)return[...A];if("variationsCSV"===e)return[...z,...t.flatMap(e=>B.map(t=>`texts.${e}.${t}`))];if("variationOptionsCSV"===e)return[...V,...t.flatMap(e=>W.map(t=>`texts.${e}.${t}`))];return[]})(e,r).join(",");(0,ee.downloadCSV)(s,t)})(e,`${e}_template.csv`,l),children:i({id:"download_csv_template",defaultMessage:"Download template"})})]}),n[e]&&(0,t.jsxs)("p",{className:"text-red-600 text-xs flex items-center gap-1",children:["⚠ ",n[e]]})]},e)),(0,t.jsx)(L.default,{text:c?"Importing…":"Import",onClick:x,disabled:c||!v||b,variant:"primary",className:"w-full flex justify-center items-center gap-2",children:c&&(0,t.jsx)("span",{className:"w-4 h-4 border-2 border-white border-t-transparent rounded-full animate-spin"})}),v&&!b&&(0,t.jsx)("p",{className:"text-center text-xs text-gray-500",children:i({id:"ready_to_import",defaultMessage:"Ready to import {products} products{prices}{bundleItems}{variations}{variationOptions}."},{products:d.productsCSV.length,prices:d.pricesCSV.length?` with ${d.pricesCSV.length} prices`:"",bundleItems:d.bundleItemsCSV.length?` with ${d.bundleItemsCSV.length} bundle items`:"",variations:d.variationsCSV.length?` with ${d.variationsCSV.length} variations`:"",variationOptions:d.variationOptionsCSV.length?` with ${d.variationOptionsCSV.length} variation options`:""})})]})};var es=e.i(29252);let ei=()=>{let{formatMessage:e}=(0,r.useIntl)(),{hasRole:i}=(0,b.default)(),{setModal:a}=(0,y.default)(),{prepareProductImport:l}={prepareProductImport:async({productsCSV:e,pricesCSV:t,bundleItemsCSV:r,variationsCSV:s,variationOptionsCSV:i})=>(e||[]).map(e=>{let a,l,n,o,d,u,c,f=(t||[]).filter(t=>t.productId===e._id),h=(r||[]).filter(t=>t.productId===e._id),m=(s||[]).filter(t=>t.productId===e._id);return f.length&&(a=f.map(({amount:e,maxQuantity:t,isNetPrice:r,isTaxable:s,...i})=>({...i,amount:parseInt(e)??0,isNetPrice:"true"===r,isTaxable:"true"===s,maxQuantity:parseInt(t,2)||0}))),h.length&&(l=h.map(({bundleItemProductId:e,quantity:t,configuration:r})=>({productId:e,quantity:Number(t||1),configuration:(r||"").split(";").map(e=>{let[t,r]=e.split(":");return{key:t,value:r}})}))),m.length&&(n=m.map(({variationId:e,type:t,key:r,configuration:s,...a})=>({variationId:e,key:r,type:t,content:K(a),options:(i||[]).filter(t=>t.variationId===e).map(e=>({value:e?.value??"",content:K(e)}))}))),(({variations:e=[],...t})=>{let r=new Date;return{entity:"PRODUCT",operation:"CREATE",payload:{_id:t._id,specification:{...t,published:"ACTIVE"===t.status?r:null,status:"ACTIVE"===t.status?"ACTIVE":null,warehousing:{sku:t.sku,baseUnit:t.baseUnit},commerce:t.commerce?{pricing:t.commerce}:void 0,bundleItems:t?.bundleItems},variations:e?.length?e:void 0}}})({...(o=e["supply.weightInGram"]||e["supply.heightInMillimeters"]||e["supply.lengthInMillimeters"]||e["supply.widthInMillimeters"],d=e.sku||e.baseUnit,u=K(e),c=(0,H.default)(e.meta),{_id:e._id||void 0,warehousing:d?{sku:e.sku||void 0,baseUnit:e.baseUnit||void 0}:void 0,sequence:"string"==typeof e.sequence?parseInt(e.sequence||"0",10):e.sequence||0,status:e.status||null,type:e.type,tags:e.tags?e.tags.split(";"):[],updated:e.updated||void 0,published:e.published||void 0,content:u,supply:o?{weightInGram:e["supply.weightInGram"]?parseFloat(e["supply.weightInGram"])??void 0:void 0,heightInMillimeters:e["supply.heightInMillimeters"]?parseFloat(e["supply.heightInMillimeters"])??void 0:void 0,lengthInMillimeters:e["supply.lengthInMillimeters"]?parseFloat(e["supply.lengthInMillimeters"])??void 0:void 0,widthInMillimeters:e["supply.widthInMillimeters"]?parseFloat(e["supply.widthInMillimeters"])??void 0:void 0}:void 0,meta:c}),commerce:a,bundleItems:l,variations:n})})},{isImporting:n,importItems:o}=(0,Q.useCSVImport)({validate:X,process:l});return i(s.IRoleAction.ManageProducts)?(0,t.jsx)(t.Fragment,{children:(0,t.jsx)(L.default,{onClick:()=>{a((0,t.jsx)(er,{onImport:async e=>{let r=await o(e);a(null),(0,es.toast)((0,t.jsx)(J.default,{result:r,entityName:"products"}))}}))},disabled:n,variant:"secondary",text:e(n?{id:"importing",defaultMessage:"Importing..."}:{id:"import",defaultMessage:"Import"})})}):null};e.s(["default",0,()=>{let{formatMessage:e}=(0,r.useIntl)(),{shopInfo:u}=(0,I.default)(),{query:c,push:f}=(0,i.useRouter)(),h=parseInt(c?.limit,10)||d.DefaultLimit,m=parseInt(c?.skip,10)||0,p=c?.includeDrafts==="true"||!c?.includeDrafts,g=c.tags?.split(",")||void 0,x=c.sort||"",{hasRole:v}=(0,b.default)(),{queryString:y,slug:w,..._}=c,k=(0,S.convertSortFieldsToQueryFormat)(x),{productsCount:j}=(0,M.default)({queryString:y,includeDrafts:p,tags:g});if(w)return(0,t.jsx)(R.default,{slug:w});let C=1===j?e({id:"products_header",defaultMessage:"1 Product"}):e({id:"products_count_header",defaultMessage:"{count} Products"},{count:(0,t.jsx)(O.default,{value:j??0})}),$=(u?.adminUiConfig?.productTags||[]).map(e=>({value:e,label:e}));return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(a.default,{}),(0,t.jsx)("div",{className:"w-full",children:(0,t.jsxs)(n.default,{title:e({id:"product_page_title",defaultMessage:"{count, plural, one {# Product} other {# Products}}"},{count:j}),headerText:C,addPath:v(s.IRoleAction.ManageProducts)&&"/products/new",addButtonText:e({id:"add_product",defaultMessage:"Add Product"}),children:[(0,t.jsx)(Z,{includeDrafts:p,queryString:y,tags:g}),(0,t.jsx)(ei,{})]})}),(0,t.jsxs)("div",{className:"min-w-full overflow-x-auto px-1",children:[(0,t.jsx)(l.default,{children:(0,t.jsx)(o.default,{toggleText:e({id:"include_drafts",defaultMessage:"Include drafts"}),toggleKey:"includeDrafts",active:p})}),(0,t.jsx)(N.default,{onSearchChange:e=>{let{skip:t,...r}=_;e?f({query:(0,S.normalizeQuery)(r,e,"queryString")}):f({query:(0,S.normalizeQuery)(_)})},defaultSearchValue:y,showTagFilter:!0,availableTagOptions:$,children:(0,t.jsx)(P.default,{onlyFull:!0,children:(0,t.jsx)(E,{sortable:!0,queryString:y,includeDrafts:p,limit:h,offset:m,tags:g,sortKeys:k})})})]})]})}],50909)},81260,(e,t,r)=>{let s="/products";(window.__NEXT_P=window.__NEXT_P||[]).push([s,()=>e.r(50909)]),t.hot&&t.hot.dispose(function(){window.__NEXT_P.push([s])})},8233,e=>{e.v(t=>Promise.all(["static/chunks/c88c6cd9171a39a6.js"].map(t=>e.l(t))).then(()=>t(64324)))},69209,e=>{e.v(t=>Promise.all(["static/chunks/aac8a0823d648ca4.js"].map(t=>e.l(t))).then(()=>t(3506)))}]);
@@ -1,16 +0,0 @@
1
- __turbopack_load_page_chunks__("/works", [
2
- "static/chunks/b04e93fe1cefa749.js",
3
- "static/chunks/fd0b983618670559.js",
4
- "static/chunks/79182002cd9d529e.js",
5
- "static/chunks/547f5a7b04856830.js",
6
- "static/chunks/4f810ce035ebc0e5.js",
7
- "static/chunks/3398dc70e287e1b3.js",
8
- "static/chunks/bc43d7d4b567b5ea.js",
9
- "static/chunks/1fae4a04bcbd6f57.js",
10
- "static/chunks/b960c3c83b1c4bee.js",
11
- "static/chunks/da6824f16a8c9c16.js",
12
- "static/chunks/1d815b4154fd879c.js",
13
- "static/chunks/65cf017dbb3312cc.js",
14
- "static/chunks/6e395f899facce17.js",
15
- "static/chunks/turbopack-3ca3b817ce31197c.js"
16
- ])