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

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 (281) hide show
  1. package/dist/chunk-2ARWAOZW.js +17 -0
  2. package/dist/{chunk-7PPOGX7R.js → chunk-6ZZIMVID.js} +36 -3
  3. package/dist/{chunk-KCN7DDPH.js → chunk-A3WBMBUF.js} +3 -2
  4. package/dist/{chunk-QNLGYFV7.js → chunk-IYKPRAWC.js} +4 -0
  5. package/dist/{chunk-F2TCVEQX.js → chunk-QVKXUZEC.js} +1 -1
  6. package/dist/{chunk-MSPWYMDY.js → chunk-SDA2A6TP.js} +1 -1
  7. package/dist/{chunk-4VNS5WPM.js → chunk-WPLOTFGW.js} +7 -8
  8. package/dist/components/ui/form/ChoicesField.d.ts.map +1 -1
  9. package/dist/components/ui/index.d.ts +2 -0
  10. package/dist/components/ui/index.d.ts.map +1 -1
  11. package/dist/form.js +377 -314
  12. package/dist/gql/operation-types.d.ts +20 -0
  13. package/dist/gql/operation-types.d.ts.map +1 -1
  14. package/dist/gql/schema-types.d.ts +1 -0
  15. package/dist/gql/schema-types.d.ts.map +1 -1
  16. package/dist/hooks.js +2 -3
  17. package/dist/modal.js +4 -3
  18. package/dist/modules/accounts.js +1 -1
  19. package/dist/modules/assortment.js +1 -1
  20. package/dist/modules/common/components/MediaAvatar.d.ts +6 -0
  21. package/dist/modules/common/components/MediaAvatar.d.ts.map +1 -0
  22. package/dist/modules/common/components/Table.d.ts +25 -0
  23. package/dist/modules/common/components/Table.d.ts.map +1 -0
  24. package/dist/modules/common/components/TableCell.d.ts +12 -0
  25. package/dist/modules/common/components/TableCell.d.ts.map +1 -0
  26. package/dist/modules/common/components/TableRow.d.ts +10 -0
  27. package/dist/modules/common/components/TableRow.d.ts.map +1 -0
  28. package/dist/modules/country.js +1 -1
  29. package/dist/modules/currency.js +1 -1
  30. package/dist/modules/delivery-provider.js +1 -1
  31. package/dist/modules/enrollment.js +1 -1
  32. package/dist/modules/event.js +1 -1
  33. package/dist/modules/filter.js +1 -1
  34. package/dist/modules/language.js +1 -1
  35. package/dist/modules/order.js +1 -1
  36. package/dist/modules/payment-providers.js +1 -1
  37. package/dist/modules/product-review.js +1 -1
  38. package/dist/modules/product.js +2 -2
  39. package/dist/modules/quotation.js +1 -1
  40. package/dist/modules/token.js +2 -2
  41. package/dist/modules/warehousing-providers.js +1 -1
  42. package/dist/modules/work.js +6 -10
  43. package/dist/plugins.js +1 -1
  44. package/dist/providers.js +4 -3
  45. package/dist/shims/admin-ui-plugins.js +1 -1
  46. package/dist/shims/apollo-client-react.js +1 -1
  47. package/dist/shims/apollo-client.js +1 -1
  48. package/dist/shims/next-head.js +1 -1
  49. package/dist/shims/next-image.js +1 -1
  50. package/dist/shims/next-link.js +1 -1
  51. package/dist/shims/next-router.js +1 -1
  52. package/dist/shims/react-dom-client.js +1 -1
  53. package/dist/shims/react-dom.js +1 -1
  54. package/dist/shims/react-hook-form.js +1 -1
  55. package/dist/shims/react-intl.js +1 -1
  56. package/dist/shims/react-jsx-runtime.js +1 -1
  57. package/dist/shims/react-toastify.js +1 -1
  58. package/dist/shims/react.js +1 -1
  59. package/dist/theme.js +1 -1
  60. package/dist/ui.js +2434 -279
  61. package/out/403/index.html +2 -2
  62. package/out/404/index.html +2 -2
  63. package/out/404.html +2 -2
  64. package/out/423/index.html +2 -2
  65. package/out/500/index.html +2 -2
  66. package/out/_next/static/{hH8h6SzcZWEUFySYqRPbW → 9EKCOng_3jDFmFdZSuNp0}/_buildManifest.js +63 -63
  67. package/out/_next/static/chunks/{2l4pfo_tsvn5w.js → 065x9wl2mga3m.js} +2 -2
  68. package/out/_next/static/chunks/{3l1zucp3a411p.js → 07evy5u8ldd1y.js} +2 -2
  69. package/out/_next/static/chunks/{2cmaw01_r48ot.js → 0_o5motvr7gdv.js} +7 -7
  70. package/out/_next/static/chunks/{13__7-sf28ub5.js → 0b28h3157pjxr.js} +2 -2
  71. package/out/_next/static/chunks/{1r7dh_p70r7o8.js → 0bd_--7-52ko6.js} +3 -3
  72. package/out/_next/static/chunks/{2e0dz59httb-e.js → 0bg4_y1qh5y5h.js} +4 -0
  73. package/out/_next/static/chunks/{2d1zehr8zc3vb.js → 0e7hhok2eawc3.js} +2 -2
  74. package/out/_next/static/chunks/{0qq_lp3pk8bjf.js → 0el-98_f_r8ex.js} +4 -4
  75. package/out/_next/static/chunks/{0-cyinqk2ne8t.js → 0g2igd8sj5-gg.js} +3 -3
  76. package/out/_next/static/chunks/{0qh0vqpui2alf.js → 0gx9t6j5kx_ho.js} +2 -2
  77. package/out/_next/static/chunks/{3ulbhhqw8rxd8.js → 0iebz0rtddbw8.js} +3 -3
  78. package/out/_next/static/chunks/0iy11ws57hzzr.js +99 -0
  79. package/out/_next/static/chunks/{1fvr9k_o63j_m.js → 0l4eldqr95f75.js} +3 -3
  80. package/out/_next/static/chunks/{3idwjqiel9n9v.js → 0ld6wd2it3xix.js} +5 -5
  81. package/out/_next/static/chunks/{3wy5jhrulhwb9.js → 0lzvfs3koqtzr.js} +3 -3
  82. package/out/_next/static/chunks/{0kwf2vel2xmdi.js → 0pgpevl26rrte.js} +3 -3
  83. package/out/_next/static/chunks/0r5wwinf72z4g.js +1 -0
  84. package/out/_next/static/chunks/{3m2yam5_cs1h7.js → 0s165pqd53i2e.js} +3 -3
  85. package/out/_next/static/chunks/{3v38tvcona4gy.js → 0v0928tdjepyk.js} +2 -2
  86. package/out/_next/static/chunks/{1qwid0d89bzpw.js → 0x97pf4va0tdj.js} +3 -3
  87. package/out/_next/static/chunks/{0fv1w56e25gt5.js → 10u71-qve349q.js} +3 -3
  88. package/out/_next/static/chunks/{1imv5a-ymrj2t.js → 10vpdjjvq7u53.js} +3 -3
  89. package/out/_next/static/chunks/{355nca7if7l9n.js → 13pcz259h-_kj.js} +2 -2
  90. package/out/_next/static/chunks/{0dewly3vo-mcq.js → 1a5z9hqww-usq.js} +3 -3
  91. package/out/_next/static/chunks/{19ou9pxeiwehs.js → 1feyuu-4twwai.js} +3 -3
  92. package/out/_next/static/chunks/{0sc71p-6lnm1e.js → 1i8wb5lh3jac1.js} +2 -2
  93. package/out/_next/static/chunks/{0nga8f0q2d0bl.js → 1ngpcnj86ohnv.js} +3 -3
  94. package/out/_next/static/chunks/{2nm_wdmfjcbyc.js → 1ocvneidf1syf.js} +4 -4
  95. package/out/_next/static/chunks/{42p2hm8ca34f6.js → 1p639idox1vll.js} +3 -3
  96. package/out/_next/static/chunks/{00tf1qsuwqywe.js → 1q5b4oexneef5.js} +3 -3
  97. package/out/_next/static/chunks/{2v57_n8he320z.js → 1rkg8vhvo8vgz.js} +1 -1
  98. package/out/_next/static/chunks/{0om7fxf5bczpu.js → 1s8vxngh_0xfn.js} +3 -3
  99. package/out/_next/static/chunks/{326rk3t0gtxp_.js → 1tkaly-z0eb-q.js} +3 -3
  100. package/out/_next/static/chunks/{1cfjbvjo0o9fx.js → 1tvr-10z5x0by.js} +1 -1
  101. package/out/_next/static/chunks/{2_l14rwu6kgzl.js → 1z1jxtjhg_5v6.js} +2 -2
  102. package/out/_next/static/chunks/{2tm822rgn8g7-.js → 1zgah7t55d46v.js} +5 -5
  103. package/out/_next/static/chunks/{0208v89kdo_s9.js → 205q4wv45jomk.js} +3 -3
  104. package/out/_next/static/chunks/{3_dqxs_vhmfqd.js → 20usp87kxiivk.js} +3 -3
  105. package/out/_next/static/chunks/{2540mqfxc7ehr.js → 224p31baeu3c3.js} +3 -3
  106. package/out/_next/static/chunks/{3hqec4-3one07.js → 22mj125470p07.js} +3 -3
  107. package/out/_next/static/chunks/{3ls4kv54f3x8u.js → 22ud9v8dzixqk.js} +3 -3
  108. package/out/_next/static/chunks/{339y1tm7s80tn.js → 24mbze45k4evy.js} +9 -9
  109. package/out/_next/static/chunks/{11oq6l46lynfn.js → 26mue2l4069m0.js} +3 -3
  110. package/out/_next/static/chunks/{0_xtedn8e1vu_.js → 26yksvb45bfug.js} +3 -3
  111. package/out/_next/static/chunks/{19pi48hqksvo9.js → 29m1e34-eyni_.js} +2 -2
  112. package/out/_next/static/chunks/{1dqgs827_hiod.js → 2__i5ksblcvil.js} +3 -3
  113. package/out/_next/static/chunks/{3cp9qqljcytup.js → 2d_tll2e3tyei.js} +2 -2
  114. package/out/_next/static/chunks/{0ij8fs6-w0pr_.js → 2dnjzvnx4dg-n.js} +6 -6
  115. package/out/_next/static/chunks/{1rw6681ieb3-5.js → 2f16josk9b_cl.js} +2 -2
  116. package/out/_next/static/chunks/{32te9ivrk54l0.js → 2g7t-73faoik2.js} +3 -3
  117. package/out/_next/static/chunks/{1184evhxs01_c.js → 2hg887w-4-saz.js} +2 -2
  118. package/out/_next/static/chunks/{447b5tn4-avdv.js → 2j3p_ne416507.js} +3 -3
  119. package/out/_next/static/chunks/{1h_o__x8jw8gt.js → 2k5rg3rwz2qz1.js} +3 -3
  120. package/out/_next/static/chunks/2kjux30i3gg-c.js +5 -0
  121. package/out/_next/static/chunks/{3doujqxnfq19f.js → 2lal4ruoql8-s.js} +3 -3
  122. package/out/_next/static/chunks/{0p09_ncs0g7m2.js → 2m4su5mqey5cb.js} +3 -3
  123. package/out/_next/static/chunks/{40s6ngsexc737.js → 2on7of8c32boh.js} +2 -2
  124. package/out/_next/static/chunks/{3il9u-mfrp2sn.js → 2skfzjx2g9hkk.js} +6 -2
  125. package/out/_next/static/chunks/{3grllla8v0ctl.js → 2sw8wfufjrcpb.js} +3 -3
  126. package/out/_next/static/chunks/{11zynllx8mmh5.js → 2szj6o9fr-rib.js} +3 -3
  127. package/out/_next/static/chunks/{0q6-fplpae_ie.js → 2zynam_mr2g6y.js} +9 -9
  128. package/out/_next/static/chunks/{3uytb2p7vzafp.js → 3-xi25w8-k-02.js} +3 -3
  129. package/out/_next/static/chunks/{2-7e3ttj92hfr.js → 32gi2dpw3twz7.js} +3 -3
  130. package/out/_next/static/chunks/348d_4lpnrkzq.js +100 -0
  131. package/out/_next/static/chunks/{0b33bcf7x5rgy.js → 35mb--fw85e9-.js} +3 -3
  132. package/out/_next/static/chunks/{2ork76jhxvxke.js → 360g4b1clnt45.js} +4 -0
  133. package/out/_next/static/chunks/{1fg6jbuxeuj0w.js → 38kjuo_3xeof3.js} +3 -3
  134. package/out/_next/static/chunks/{2t-_fecnp5yzr.js → 3krpx72smyufn.js} +3 -3
  135. package/out/_next/static/chunks/{224ovcn90ebcs.js → 3m2hre_c-kclo.js} +4 -4
  136. package/out/_next/static/chunks/3om1fkw-lrmng.js +1 -0
  137. package/out/_next/static/chunks/{14c_mq04p7pu0.js → 3p0ir-pqcslbi.js} +9 -5
  138. package/out/_next/static/chunks/{2u8ns-x384r3i.js → 3pr477_ci25mm.js} +3 -3
  139. package/out/_next/static/chunks/{2ou2_nhvunq72.js → 3r54d1b_uyq95.js} +5 -5
  140. package/out/_next/static/chunks/{0nlirgt-x5pqr.js → 3rh3nigvg06yu.js} +17 -17
  141. package/out/_next/static/chunks/{2le8e8u2nvp0j.js → 3sc7jsyx25g08.js} +3 -3
  142. package/out/_next/static/chunks/{3yvmkdc088aly.js → 3vjgbl76cgrmt.js} +1 -1
  143. package/out/_next/static/chunks/{3o23w25lfn4mo.js → 3z3k6qx61arup.js} +4 -4
  144. package/out/_next/static/chunks/{1o4hor3cwzcxc.js → 42x9tn0uff92o.js} +3 -3
  145. package/out/_next/static/chunks/{turbopack-2w9_vscbr0eag.js → turbopack-02-k6w2e9_3af.js} +1 -1
  146. package/out/_next/static/chunks/{turbopack-05rmr02n9n2u0.js → turbopack-03fj2scz_09ul.js} +1 -1
  147. package/out/_next/static/chunks/{turbopack-3a196kafnj312.js → turbopack-0_42u9tky4zng.js} +1 -1
  148. package/out/_next/static/chunks/{turbopack-2q65pei-ck559.js → turbopack-0gnmdx6ye6n_e.js} +1 -1
  149. package/out/_next/static/chunks/turbopack-0iozo8xy34oiw.js +1 -0
  150. package/out/_next/static/chunks/{turbopack-1azvbmrq_bxq7.js → turbopack-0rb_mm-wnau-3.js} +1 -1
  151. package/out/_next/static/chunks/{turbopack-1rdxfvyldfwrq.js → turbopack-0v5-op7r79bhf.js} +1 -1
  152. package/out/_next/static/chunks/{turbopack-3a6igydfvv1_v.js → turbopack-0zf_85we0x_rs.js} +1 -1
  153. package/out/_next/static/chunks/{turbopack-0k8oea6xmzbjh.js → turbopack-1-ukcimwb2wq1.js} +1 -1
  154. package/out/_next/static/chunks/{turbopack-0xgswwqf_4vrt.js → turbopack-10anz7o9kcb98.js} +1 -1
  155. package/out/_next/static/chunks/{turbopack-1g8mmayckmfib.js → turbopack-12-4lgc8wbnmx.js} +1 -1
  156. package/out/_next/static/chunks/{turbopack-2z2joyd6mdhpo.js → turbopack-14bpgd3qmna2b.js} +1 -1
  157. package/out/_next/static/chunks/{turbopack-0s-h1cgwrfgo-.js → turbopack-16ecm5pf7vta6.js} +1 -1
  158. package/out/_next/static/chunks/{turbopack-425nfopoa8wxd.js → turbopack-16gej7p33tsw5.js} +1 -1
  159. package/out/_next/static/chunks/{turbopack-0qxkaq0f9ka24.js → turbopack-1iglf5syrme2d.js} +1 -1
  160. package/out/_next/static/chunks/{turbopack-0dj-aua684j9c.js → turbopack-1l2mxrtt6fj2q.js} +1 -1
  161. package/out/_next/static/chunks/{turbopack-298vdad77pw5z.js → turbopack-1nwkuzx-97xdl.js} +1 -1
  162. package/out/_next/static/chunks/{turbopack-3bnkwdcrz_ts-.js → turbopack-1od40dnbx8fg3.js} +1 -1
  163. package/out/_next/static/chunks/{turbopack-02cmv-knpzk52.js → turbopack-1qg_72lzl6ek8.js} +1 -1
  164. package/out/_next/static/chunks/{turbopack-2gehqsln39zg1.js → turbopack-1rmjnbaunrx2u.js} +1 -1
  165. package/out/_next/static/chunks/{turbopack-1p11xfz8qe15i.js → turbopack-1wpa09idv1cyh.js} +1 -1
  166. package/out/_next/static/chunks/{turbopack-3vncwrj5x9j44.js → turbopack-1ykuk8u3enawr.js} +1 -1
  167. package/out/_next/static/chunks/{turbopack-07fw0g9aver98.js → turbopack-21_p8k9zs76-x.js} +1 -1
  168. package/out/_next/static/chunks/{turbopack-2it1jk212m2ud.js → turbopack-220rj632xmu2e.js} +1 -1
  169. package/out/_next/static/chunks/{turbopack-2sqnlbl-ardf7.js → turbopack-22p012gdqk61c.js} +1 -1
  170. package/out/_next/static/chunks/{turbopack-3yk72bgipb8hc.js → turbopack-25j7jj4dskbwu.js} +1 -1
  171. package/out/_next/static/chunks/{turbopack-0ricnx7znhztj.js → turbopack-27pc-r2lunwha.js} +1 -1
  172. package/out/_next/static/chunks/{turbopack-3uc-2ah0uehj3.js → turbopack-2bb143jjb45b6.js} +1 -1
  173. package/out/_next/static/chunks/{turbopack-3nta8sa99guti.js → turbopack-2esinq43hb-vc.js} +1 -1
  174. package/out/_next/static/chunks/{turbopack-3hsu2nw8qlox4.js → turbopack-2g3vf-v8r3qd2.js} +1 -1
  175. package/out/_next/static/chunks/{turbopack-2l-gbnaw39ht4.js → turbopack-2gxln6h99_6pp.js} +1 -1
  176. package/out/_next/static/chunks/{turbopack-3wxlut7e7jmsi.js → turbopack-2j5sxbr_zaxjf.js} +1 -1
  177. package/out/_next/static/chunks/{turbopack-08x92457_z4ve.js → turbopack-2j61phdts4xpn.js} +1 -1
  178. package/out/_next/static/chunks/{turbopack-0a2sfur4bx222.js → turbopack-2nd6qjscj3z2p.js} +1 -1
  179. package/out/_next/static/chunks/{turbopack-3r9uyzwi0dtwb.js → turbopack-2o76al0gsswxo.js} +1 -1
  180. package/out/_next/static/chunks/{turbopack-2n2ksqygaakbh.js → turbopack-2pe-c3nyyswmm.js} +1 -1
  181. package/out/_next/static/chunks/{turbopack-0h5lj7lnf9_tb.js → turbopack-2tz1t67cqt8ex.js} +1 -1
  182. package/out/_next/static/chunks/{turbopack-1y3x6n223v6d1.js → turbopack-2u-4w10t8mu6i.js} +1 -1
  183. package/out/_next/static/chunks/{turbopack-2068cl63o32re.js → turbopack-2u879ap4um9kt.js} +1 -1
  184. package/out/_next/static/chunks/{turbopack-3iiyu2cek78ut.js → turbopack-2ubl1vyufevbf.js} +1 -1
  185. package/out/_next/static/chunks/{turbopack-2d5v28yt0xnri.js → turbopack-2x85w-5txf7i5.js} +1 -1
  186. package/out/_next/static/chunks/{turbopack-3ww1zabqxbxit.js → turbopack-32oolm1x2hqm8.js} +1 -1
  187. package/out/_next/static/chunks/{turbopack-2hj-ffuco6-u7.js → turbopack-32unbrrzdhim9.js} +1 -1
  188. package/out/_next/static/chunks/{turbopack-2dicmowo2x4t1.js → turbopack-37e-e484qmc03.js} +1 -1
  189. package/out/_next/static/chunks/{turbopack-3r17oio1oe7jw.js → turbopack-3aa45-9tjh99k.js} +1 -1
  190. package/out/_next/static/chunks/turbopack-3d9zuhypuljic.js +1 -0
  191. package/out/_next/static/chunks/{turbopack-1td004byboyz2.js → turbopack-3dl00zga30bss.js} +1 -1
  192. package/out/_next/static/chunks/{turbopack-35awx_qvevnch.js → turbopack-3f06s1e12y6j9.js} +1 -1
  193. package/out/_next/static/chunks/{turbopack-14rn07-ki7f_7.js → turbopack-3g98_iakkqypg.js} +1 -1
  194. package/out/_next/static/chunks/{turbopack-1r_uprn020kr7.js → turbopack-3j4bdo8-ldea5.js} +1 -1
  195. package/out/_next/static/chunks/{turbopack-3458e7jmj1e27.js → turbopack-3l3o1x7j1z_63.js} +1 -1
  196. package/out/_next/static/chunks/{turbopack-1330tdm8r390q.js → turbopack-3lm631px3s8-4.js} +1 -1
  197. package/out/_next/static/chunks/{turbopack-0m1qzkhnpuk2j.js → turbopack-3mwf6he42ff9n.js} +1 -1
  198. package/out/_next/static/chunks/{turbopack-1csu0s9cycwgo.js → turbopack-3oih6rrmvb7t3.js} +1 -1
  199. package/out/_next/static/chunks/{turbopack-338xrj-0fpsqu.js → turbopack-3oq88d3632ksa.js} +1 -1
  200. package/out/_next/static/chunks/{turbopack-2t6ex34_bkvoe.js → turbopack-3q1s32jzw2pnu.js} +1 -1
  201. package/out/_next/static/chunks/{turbopack-351l-va10h8kw.js → turbopack-3snas0eww9sey.js} +1 -1
  202. package/out/_next/static/chunks/{turbopack-3tntqotcyx6oq.js → turbopack-3tg-pp9_bemtn.js} +1 -1
  203. package/out/_next/static/chunks/{turbopack-0n73ad0fad4yl.js → turbopack-3tlngjwse53m1.js} +1 -1
  204. package/out/_next/static/chunks/{turbopack-0b-g0lpiikryt.js → turbopack-3tp3s3o8o9e-_.js} +1 -1
  205. package/out/_next/static/chunks/{turbopack-1hty_7i5tzg63.js → turbopack-3tyhe6yjnx5h6.js} +1 -1
  206. package/out/_next/static/chunks/{turbopack-3uvfl95p1ubqn.js → turbopack-3v3wnwaeu0os5.js} +1 -1
  207. package/out/_next/static/chunks/{turbopack-2mbsjg411_ndq.js → turbopack-3xc_rmnnnzfkm.js} +1 -1
  208. package/out/_next/static/chunks/{turbopack-1bjaxey2pj8nn.js → turbopack-4592lth1oe0jg.js} +1 -1
  209. package/out/_offline/index.html +2 -2
  210. package/out/account/forgot-password/index.html +2 -2
  211. package/out/account/index.html +2 -2
  212. package/out/assortments/AssortmentDetailPage/index.html +2 -2
  213. package/out/assortments/index.html +2 -2
  214. package/out/assortments/new/index.html +2 -2
  215. package/out/copilot/index.html +2 -2
  216. package/out/country/CountryDetailPage/index.html +2 -2
  217. package/out/country/index.html +2 -2
  218. package/out/country/new/index.html +2 -2
  219. package/out/currency/CurrencyDetailPage/index.html +2 -2
  220. package/out/currency/index.html +2 -2
  221. package/out/currency/new/index.html +2 -2
  222. package/out/delivery-provider/DeliveryProviderDetailPage/index.html +2 -2
  223. package/out/delivery-provider/index.html +2 -2
  224. package/out/delivery-provider/new/index.html +2 -2
  225. package/out/enrollments/EnrollmentDetailPage/index.html +2 -2
  226. package/out/enrollments/index.html +2 -2
  227. package/out/events/EventDetailPage/index.html +2 -2
  228. package/out/events/index.html +2 -2
  229. package/out/exports/index.html +2 -2
  230. package/out/ext/[[...slug]]/index.html +2 -2
  231. package/out/external/index.html +2 -2
  232. package/out/filters/FilterDetailPage/index.html +2 -2
  233. package/out/filters/index.html +2 -2
  234. package/out/filters/new/index.html +2 -2
  235. package/out/index.html +2 -2
  236. package/out/install/index.html +2 -2
  237. package/out/language/LanguageDetailPage/index.html +2 -2
  238. package/out/language/index.html +2 -2
  239. package/out/language/new/index.html +2 -2
  240. package/out/log-in/index.html +2 -2
  241. package/out/orders/OrderDetailPage/index.html +2 -2
  242. package/out/orders/index.html +2 -2
  243. package/out/payment-provider/PaymentProviderDetailPage/index.html +2 -2
  244. package/out/payment-provider/index.html +2 -2
  245. package/out/payment-provider/new/index.html +2 -2
  246. package/out/products/ProductDetailPage/index.html +2 -2
  247. package/out/products/index.html +2 -2
  248. package/out/products/new/index.html +2 -2
  249. package/out/quotations/QuotationDetailPage/index.html +2 -2
  250. package/out/quotations/index.html +2 -2
  251. package/out/reset-password/index.html +2 -2
  252. package/out/sign-up/index.html +2 -2
  253. package/out/styleguide/index.html +2 -2
  254. package/out/tokens/TokenDetailPage/index.html +2 -2
  255. package/out/tokens/index.html +2 -2
  256. package/out/users/UserDetailPage/index.html +2 -2
  257. package/out/users/index.html +2 -2
  258. package/out/users/new/index.html +2 -2
  259. package/out/verify-email/index.html +2 -2
  260. package/out/warehousing-provider/WarehousingProviderDetailPage/index.html +2 -2
  261. package/out/warehousing-provider/index.html +2 -2
  262. package/out/warehousing-provider/new/index.html +2 -2
  263. package/out/works/WorkDetailPage/index.html +2 -2
  264. package/out/works/WorkQueueListView/index.html +2 -2
  265. package/out/works/index.html +2 -2
  266. package/out/works/management/index.html +2 -2
  267. package/package.json +1 -1
  268. package/src/sdk/README.md +1 -1
  269. package/src/sdk/plugin-build.mjs +4 -2
  270. package/src/sdk/plugin-build.test.mjs +33 -1
  271. package/dist/chunk-2RTX42IE.js +0 -2083
  272. package/dist/chunk-YZGQJJCD.js +0 -37
  273. package/out/_next/static/chunks/2_vu2hve2j-6g.js +0 -5
  274. package/out/_next/static/chunks/2dvrbmh97duba.js +0 -1
  275. package/out/_next/static/chunks/2pf0d3jgcae7b.js +0 -99
  276. package/out/_next/static/chunks/2rve5gtfjiz-p.js +0 -100
  277. package/out/_next/static/chunks/3cq123yj25_36.js +0 -1
  278. package/out/_next/static/chunks/turbopack-3rgdcfralfvsa.js +0 -1
  279. package/out/_next/static/chunks/turbopack-4025_4zwqnrk-.js +0 -1
  280. /package/out/_next/static/{hH8h6SzcZWEUFySYqRPbW → 9EKCOng_3jDFmFdZSuNp0}/_clientMiddlewareManifest.js +0 -0
  281. /package/out/_next/static/{hH8h6SzcZWEUFySYqRPbW → 9EKCOng_3jDFmFdZSuNp0}/_ssgManifest.js +0 -0
@@ -3,11 +3,11 @@ __turbopack_load_page_chunks__("/language/new", [
3
3
  "static/chunks/1k4ep4igedo8p.js",
4
4
  "static/chunks/41e2wlkp9_pvk.js",
5
5
  "static/chunks/1_lrjs51fhhko.js",
6
- "static/chunks/3yvmkdc088aly.js",
6
+ "static/chunks/3vjgbl76cgrmt.js",
7
7
  "static/chunks/0rqjr_lmrk4pz.js",
8
8
  "static/chunks/0jeddko6bac8h.js",
9
9
  "static/chunks/252jebodi67kg.js",
10
10
  "static/chunks/33emlry70k-lv.js",
11
- "static/chunks/3cq123yj25_36.js",
12
- "static/chunks/turbopack-3tntqotcyx6oq.js"
11
+ "static/chunks/3om1fkw-lrmng.js",
12
+ "static/chunks/turbopack-3tg-pp9_bemtn.js"
13
13
  ])
@@ -4,7 +4,7 @@ __turbopack_load_page_chunks__("/enrollments", [
4
4
  "static/chunks/17b4rvj5k8ye2.js",
5
5
  "static/chunks/1rtv3c_klo0jk.js",
6
6
  "static/chunks/1k4ep4igedo8p.js",
7
- "static/chunks/3yvmkdc088aly.js",
7
+ "static/chunks/3vjgbl76cgrmt.js",
8
8
  "static/chunks/252jebodi67kg.js",
9
9
  "static/chunks/41e2wlkp9_pvk.js",
10
10
  "static/chunks/33emlry70k-lv.js",
@@ -12,5 +12,5 @@ __turbopack_load_page_chunks__("/enrollments", [
12
12
  "static/chunks/05-ui58k9illr.js",
13
13
  "static/chunks/0jeddko6bac8h.js",
14
14
  "static/chunks/015ge5k3o3f-r.js",
15
- "static/chunks/turbopack-1rdxfvyldfwrq.js"
15
+ "static/chunks/turbopack-0v5-op7r79bhf.js"
16
16
  ])
@@ -3,15 +3,15 @@ __turbopack_load_page_chunks__("/orders/OrderDetailPage", [
3
3
  "static/chunks/1k4ep4igedo8p.js",
4
4
  "static/chunks/3ti7tims6gz1j.js",
5
5
  "static/chunks/33emlry70k-lv.js",
6
- "static/chunks/3yvmkdc088aly.js",
6
+ "static/chunks/3vjgbl76cgrmt.js",
7
7
  "static/chunks/252jebodi67kg.js",
8
8
  "static/chunks/05nn5xr3ufcsh.js",
9
9
  "static/chunks/0jeddko6bac8h.js",
10
10
  "static/chunks/41e2wlkp9_pvk.js",
11
11
  "static/chunks/13u_a5l2xngm4.js",
12
12
  "static/chunks/3oz5p4rrvnew1.js",
13
- "static/chunks/3cq123yj25_36.js",
13
+ "static/chunks/3om1fkw-lrmng.js",
14
14
  "static/chunks/1x-t9f0f5vr10.js",
15
15
  "static/chunks/0rqjr_lmrk4pz.js",
16
- "static/chunks/turbopack-0dj-aua684j9c.js"
16
+ "static/chunks/turbopack-1l2mxrtt6fj2q.js"
17
17
  ])
@@ -5,10 +5,10 @@ __turbopack_load_page_chunks__("/currency/new", [
5
5
  "static/chunks/1_lrjs51fhhko.js",
6
6
  "static/chunks/1k4ep4igedo8p.js",
7
7
  "static/chunks/0rqjr_lmrk4pz.js",
8
- "static/chunks/3cq123yj25_36.js",
8
+ "static/chunks/3om1fkw-lrmng.js",
9
9
  "static/chunks/41e2wlkp9_pvk.js",
10
10
  "static/chunks/33emlry70k-lv.js",
11
11
  "static/chunks/0jeddko6bac8h.js",
12
- "static/chunks/3yvmkdc088aly.js",
13
- "static/chunks/turbopack-3a196kafnj312.js"
12
+ "static/chunks/3vjgbl76cgrmt.js",
13
+ "static/chunks/turbopack-0_42u9tky4zng.js"
14
14
  ])
@@ -9,7 +9,7 @@ __turbopack_load_page_chunks__("/country/new", [
9
9
  "static/chunks/252jebodi67kg.js",
10
10
  "static/chunks/33emlry70k-lv.js",
11
11
  "static/chunks/0jeddko6bac8h.js",
12
- "static/chunks/3yvmkdc088aly.js",
13
- "static/chunks/3cq123yj25_36.js",
14
- "static/chunks/turbopack-338xrj-0fpsqu.js"
12
+ "static/chunks/3vjgbl76cgrmt.js",
13
+ "static/chunks/3om1fkw-lrmng.js",
14
+ "static/chunks/turbopack-3oq88d3632ksa.js"
15
15
  ])
@@ -1,6 +1,6 @@
1
1
  __turbopack_load_page_chunks__("/works/WorkQueueListView", [
2
2
  "static/chunks/43jyzccx6x0lw.js",
3
- "static/chunks/3yvmkdc088aly.js",
3
+ "static/chunks/3vjgbl76cgrmt.js",
4
4
  "static/chunks/1ndk3s-aeqfej.js",
5
5
  "static/chunks/41e2wlkp9_pvk.js",
6
6
  "static/chunks/1rtv3c_klo0jk.js",
@@ -13,5 +13,5 @@ __turbopack_load_page_chunks__("/works/WorkQueueListView", [
13
13
  "static/chunks/3cdfuacs4_0d-.js",
14
14
  "static/chunks/252jebodi67kg.js",
15
15
  "static/chunks/0rqjr_lmrk4pz.js",
16
- "static/chunks/turbopack-3458e7jmj1e27.js"
16
+ "static/chunks/turbopack-3l3o1x7j1z_63.js"
17
17
  ])
@@ -2,7 +2,7 @@ __turbopack_load_page_chunks__("/works", [
2
2
  "static/chunks/3dopaxkoi5px6.js",
3
3
  "static/chunks/17b4rvj5k8ye2.js",
4
4
  "static/chunks/1k4ep4igedo8p.js",
5
- "static/chunks/3yvmkdc088aly.js",
5
+ "static/chunks/3vjgbl76cgrmt.js",
6
6
  "static/chunks/33emlry70k-lv.js",
7
7
  "static/chunks/1rtv3c_klo0jk.js",
8
8
  "static/chunks/0dxu94yin5gdn.js",
@@ -15,6 +15,6 @@ __turbopack_load_page_chunks__("/works", [
15
15
  "static/chunks/270ua9t85a7ev.js",
16
16
  "static/chunks/05-ui58k9illr.js",
17
17
  "static/chunks/0rqjr_lmrk4pz.js",
18
- "static/chunks/3cq123yj25_36.js",
19
- "static/chunks/turbopack-3iiyu2cek78ut.js"
18
+ "static/chunks/3om1fkw-lrmng.js",
19
+ "static/chunks/turbopack-2ubl1vyufevbf.js"
20
20
  ])
@@ -1,15 +1,15 @@
1
1
  __turbopack_load_page_chunks__("/tokens", [
2
- "static/chunks/14c_mq04p7pu0.js",
2
+ "static/chunks/3p0ir-pqcslbi.js",
3
3
  "static/chunks/1k4ep4igedo8p.js",
4
4
  "static/chunks/17b4rvj5k8ye2.js",
5
5
  "static/chunks/1rtv3c_klo0jk.js",
6
6
  "static/chunks/05-ui58k9illr.js",
7
- "static/chunks/3yvmkdc088aly.js",
7
+ "static/chunks/3vjgbl76cgrmt.js",
8
8
  "static/chunks/33emlry70k-lv.js",
9
9
  "static/chunks/41e2wlkp9_pvk.js",
10
10
  "static/chunks/252jebodi67kg.js",
11
11
  "static/chunks/0jeddko6bac8h.js",
12
12
  "static/chunks/24-pobk4qjjvp.js",
13
13
  "static/chunks/0rqjr_lmrk4pz.js",
14
- "static/chunks/turbopack-3rgdcfralfvsa.js"
14
+ "static/chunks/turbopack-1-ukcimwb2wq1.js"
15
15
  ])
@@ -1,7 +1,7 @@
1
1
  __turbopack_load_page_chunks__("/events/EventDetailPage", [
2
2
  "static/chunks/1yp98n-n4gxwy.js",
3
3
  "static/chunks/3ti7tims6gz1j.js",
4
- "static/chunks/3yvmkdc088aly.js",
4
+ "static/chunks/3vjgbl76cgrmt.js",
5
5
  "static/chunks/3pbyo5kkko3wh.js",
6
6
  "static/chunks/2ztcyhxd9w5_m.js",
7
7
  "static/chunks/41e2wlkp9_pvk.js",
@@ -9,5 +9,5 @@ __turbopack_load_page_chunks__("/events/EventDetailPage", [
9
9
  "static/chunks/0jeddko6bac8h.js",
10
10
  "static/chunks/33emlry70k-lv.js",
11
11
  "static/chunks/0rqjr_lmrk4pz.js",
12
- "static/chunks/turbopack-0ricnx7znhztj.js"
12
+ "static/chunks/turbopack-27pc-r2lunwha.js"
13
13
  ])
@@ -3,12 +3,12 @@ __turbopack_load_page_chunks__("/reset-password", [
3
3
  "static/chunks/09qx8ltnvw8f2.js",
4
4
  "static/chunks/33emlry70k-lv.js",
5
5
  "static/chunks/252jebodi67kg.js",
6
- "static/chunks/3yvmkdc088aly.js",
7
- "static/chunks/3cq123yj25_36.js",
6
+ "static/chunks/3vjgbl76cgrmt.js",
7
+ "static/chunks/3om1fkw-lrmng.js",
8
8
  "static/chunks/0jeddko6bac8h.js",
9
9
  "static/chunks/41e2wlkp9_pvk.js",
10
10
  "static/chunks/36zrtyhmqlx_n.js",
11
11
  "static/chunks/0rqjr_lmrk4pz.js",
12
12
  "static/chunks/3xmtbqm0gddn8.js",
13
- "static/chunks/turbopack-1g8mmayckmfib.js"
13
+ "static/chunks/turbopack-12-4lgc8wbnmx.js"
14
14
  ])
@@ -1,7 +1,7 @@
1
1
  __turbopack_load_page_chunks__("/assortments/AssortmentDetailPage", [
2
2
  "static/chunks/2rddaar-ns45d.js",
3
3
  "static/chunks/17b4rvj5k8ye2.js",
4
- "static/chunks/3yvmkdc088aly.js",
4
+ "static/chunks/3vjgbl76cgrmt.js",
5
5
  "static/chunks/05au-xyt__0f2.js",
6
6
  "static/chunks/1k4ep4igedo8p.js",
7
7
  "static/chunks/0rqjr_lmrk4pz.js",
@@ -12,7 +12,7 @@ __turbopack_load_page_chunks__("/assortments/AssortmentDetailPage", [
12
12
  "static/chunks/1r_e-dk-1oicl.js",
13
13
  "static/chunks/0jeddko6bac8h.js",
14
14
  "static/chunks/13u_a5l2xngm4.js",
15
- "static/chunks/3cq123yj25_36.js",
15
+ "static/chunks/3om1fkw-lrmng.js",
16
16
  "static/chunks/3cdfuacs4_0d-.js",
17
17
  "static/chunks/270ua9t85a7ev.js",
18
18
  "static/chunks/41e2wlkp9_pvk.js",
@@ -20,6 +20,6 @@ __turbopack_load_page_chunks__("/assortments/AssortmentDetailPage", [
20
20
  "static/chunks/1rtv3c_klo0jk.js",
21
21
  "static/chunks/02dnhll1bce87.js",
22
22
  "static/chunks/0ubzi2s1spm4e.js",
23
- "static/chunks/2dvrbmh97duba.js",
24
- "static/chunks/turbopack-1y3x6n223v6d1.js"
23
+ "static/chunks/0r5wwinf72z4g.js",
24
+ "static/chunks/turbopack-2u-4w10t8mu6i.js"
25
25
  ])
@@ -3,14 +3,14 @@ __turbopack_load_page_chunks__("/works/WorkDetailPage", [
3
3
  "static/chunks/1k4ep4igedo8p.js",
4
4
  "static/chunks/3yqmjvx7t3t0_.js",
5
5
  "static/chunks/0o7k5vanq57ch.js",
6
- "static/chunks/3yvmkdc088aly.js",
6
+ "static/chunks/3vjgbl76cgrmt.js",
7
7
  "static/chunks/3ti7tims6gz1j.js",
8
8
  "static/chunks/41e2wlkp9_pvk.js",
9
- "static/chunks/3cq123yj25_36.js",
9
+ "static/chunks/3om1fkw-lrmng.js",
10
10
  "static/chunks/252jebodi67kg.js",
11
11
  "static/chunks/0rqjr_lmrk4pz.js",
12
12
  "static/chunks/05nn5xr3ufcsh.js",
13
13
  "static/chunks/0jeddko6bac8h.js",
14
14
  "static/chunks/33emlry70k-lv.js",
15
- "static/chunks/turbopack-3r9uyzwi0dtwb.js"
15
+ "static/chunks/turbopack-2o76al0gsswxo.js"
16
16
  ])
@@ -3,15 +3,15 @@ __turbopack_load_page_chunks__("/quotations/QuotationDetailPage", [
3
3
  "static/chunks/1k4ep4igedo8p.js",
4
4
  "static/chunks/17b4rvj5k8ye2.js",
5
5
  "static/chunks/1rtv3c_klo0jk.js",
6
- "static/chunks/3yvmkdc088aly.js",
6
+ "static/chunks/3vjgbl76cgrmt.js",
7
7
  "static/chunks/0uecw_5mn0zvr.js",
8
8
  "static/chunks/0nkkcq0-s-9fo.js",
9
9
  "static/chunks/0jeddko6bac8h.js",
10
10
  "static/chunks/252jebodi67kg.js",
11
11
  "static/chunks/41e2wlkp9_pvk.js",
12
12
  "static/chunks/05-ui58k9illr.js",
13
- "static/chunks/3cq123yj25_36.js",
13
+ "static/chunks/3om1fkw-lrmng.js",
14
14
  "static/chunks/33emlry70k-lv.js",
15
15
  "static/chunks/0rqjr_lmrk4pz.js",
16
- "static/chunks/turbopack-2w9_vscbr0eag.js"
16
+ "static/chunks/turbopack-02-k6w2e9_3af.js"
17
17
  ])
@@ -48,7 +48,7 @@
48
48
  input
49
49
  result
50
50
  }
51
- `;e.s(["default",0,r])},5432,e=>{"use strict";var t=e.i(91788);e.i(51523);var r=e.i(19518),n=e.i(52835),i=e.i(84818);e.s(["default",0,({queryString:e=null,sortOptions:a,skip:o=!1}={})=>{let s=(0,t.useMemo)(()=>new Date(Date.now()-864e5).toISOString(),[]),{formatDateTime:l}=(0,i.default)(),{workQueue:u}=(0,n.default)({types:[r.IWorkType.BulkExport],queryString:e,created:{start:s},status:[r.IWorkStatus.Success],pollInterval:6e4,skip:o});if(!u?.length)return{exports:[],count:0};let c=Date.now(),d=e=>l(e,{dateStyle:"medium",timeStyle:"short"}),f=u.map(e=>{let t=new Date(e.finished).getTime(),r=Object.entries(e.result?.files||{}).filter(([,e])=>!!e?.url&&(!e?.expires||e.expires>c)).map(([e,r])=>({name:e.toUpperCase(),url:r.url,expiresAt:d(t+r.expires)}));return 0===r.length?null:{id:e._id,type:e.input?.type,finished:d(e.finished),files:r}}).filter(e=>null!==e);return{count:f.reduce((e,t)=>e+t.files.length,0),exports:f}}])},52835,e=>{"use strict";var t=e.i(59080),r=e.i(32171);e.i(51523);var n=e.i(19518),i=e.i(94672);let a=t.gql`
51
+ `;e.s(["default",0,r])},5432,e=>{"use strict";var t=e.i(91788);e.i(51523);var r=e.i(19518),n=e.i(52835);let i=(e,t)=>new Intl.DateTimeFormat(void 0,t).format(new Date(e));e.s(["default",0,({queryString:e=null,sortOptions:a,skip:o=!1,formatDateTime:s=i}={})=>{let l=(0,t.useMemo)(()=>new Date(Date.now()-864e5).toISOString(),[]),{workQueue:u}=(0,n.default)({types:[r.IWorkType.BulkExport],queryString:e,created:{start:l},status:[r.IWorkStatus.Success],pollInterval:6e4,skip:o});if(!u?.length)return{exports:[],count:0};let c=Date.now(),d=e=>s(e,{dateStyle:"medium",timeStyle:"short"}),f=u.map(e=>{let t=new Date(e.finished).getTime(),r=Object.entries(e.result?.files||{}).filter(([,e])=>!!e?.url&&(!e?.expires||e.expires>c)).map(([e,r])=>({name:e.toUpperCase(),url:r.url,expiresAt:d(t+r.expires)}));return 0===r.length?null:{id:e._id,type:e.input?.type,finished:d(e.finished),files:r}}).filter(e=>null!==e);return{count:f.reduce((e,t)=>e+t.files.length,0),exports:f}}])},52835,e=>{"use strict";var t=e.i(59080),r=e.i(32171);e.i(51523);var n=e.i(19518),i=e.i(94672);let a=t.gql`
52
52
  query WorkQueue(
53
53
  $queryString: String
54
54
  $offset: Int
@@ -1,6 +1,6 @@
1
1
  __turbopack_load_page_chunks__("/install", [
2
2
  "static/chunks/2u6jwsqz0uhes.js",
3
- "static/chunks/3yvmkdc088aly.js",
3
+ "static/chunks/3vjgbl76cgrmt.js",
4
4
  "static/chunks/252jebodi67kg.js",
5
5
  "static/chunks/33emlry70k-lv.js",
6
6
  "static/chunks/1srfjl1rurrm9.js",
@@ -8,6 +8,6 @@ __turbopack_load_page_chunks__("/install", [
8
8
  "static/chunks/0rqjr_lmrk4pz.js",
9
9
  "static/chunks/41e2wlkp9_pvk.js",
10
10
  "static/chunks/36zrtyhmqlx_n.js",
11
- "static/chunks/3cq123yj25_36.js",
12
- "static/chunks/turbopack-0b-g0lpiikryt.js"
11
+ "static/chunks/3om1fkw-lrmng.js",
12
+ "static/chunks/turbopack-3mwf6he42ff9n.js"
13
13
  ])
@@ -3,12 +3,12 @@ __turbopack_load_page_chunks__("/works/management", [
3
3
  "static/chunks/1k4ep4igedo8p.js",
4
4
  "static/chunks/41e2wlkp9_pvk.js",
5
5
  "static/chunks/1rtv3c_klo0jk.js",
6
- "static/chunks/3yvmkdc088aly.js",
6
+ "static/chunks/3vjgbl76cgrmt.js",
7
7
  "static/chunks/0jeddko6bac8h.js",
8
8
  "static/chunks/0rqjr_lmrk4pz.js",
9
9
  "static/chunks/252jebodi67kg.js",
10
10
  "static/chunks/33emlry70k-lv.js",
11
- "static/chunks/3cq123yj25_36.js",
11
+ "static/chunks/3om1fkw-lrmng.js",
12
12
  "static/chunks/3s-n0xc-vi0ww.js",
13
- "static/chunks/turbopack-0h5lj7lnf9_tb.js"
13
+ "static/chunks/turbopack-2tz1t67cqt8ex.js"
14
14
  ])
@@ -101,4 +101,4 @@
101
101
  confirmCount
102
102
  }
103
103
  }
104
- `,ek={sales:{label:"Sales",color:"hsl(var(--chart-1))"},orders:{label:"Orders",color:"hsl(var(--chart-2))"},avgOrderValue:{label:"Avg Order Value",color:"hsl(var(--chart-3))"}},eC=()=>{let{formatMessage:e}=(0,s.useIntl)(),{hasRole:a}=(0,S.default)(),i=a(A.IRoleAction.ViewOrders),{dateRange:l,totalSales:n,totalOrders:o,averageOrderValue:d,salesData:c,loading:u,currencyCode:m}=(({days:e=30,skip:t=!1})=>{let s=(0,r.useMemo)(()=>new Date,[]),a=eb(s,e),i=(0,r.useMemo)(()=>({start:(0,ew.startOfDay)(a).toISOString(),end:(0,ej.endOfDay)(s).toISOString()}),[a,s]),{data:l,loading:n,error:o}=(0,eg.useQuery)(ey,{variables:{dateRange:i},errorPolicy:"all",skip:t});return(0,r.useMemo)(()=>{let t=l?.orderStatistics;if(!l?.orderStatistics?.confirmCount)return{totalSales:0,totalOrders:0,averageOrderValue:0,salesData:[],loading:n,error:o,dateRange:i};let r=((e,t)=>{let r=new Map;for(let s=0;s<e;s++){let e=(0,ef.format)(eb(t,s),"MMM d");r.set(e,{sales:0,orders:0})}return r})(e,s),a=0,d=t.confirmRecords[0]?.total?.currencyCode;t.confirmRecords.forEach(e=>{if(!e.date||!e.total?.amount||!e.count)return;let t=(0,ef.format)((0,ex.parseISO)(e.date),"MMM d"),s=r.get(t),i=Number(e.total.amount??0),l=e.count??0;s&&(s.sales+=i,s.orders+=l),a+=i});let c=t.confirmCount,u=c>0?a/c:0;return{totalSales:Math.round(a),totalOrders:c,currencyCode:d,averageOrderValue:Math.round(u),salesData:Array.from(r.entries()).map(([e,{sales:t,orders:r}])=>({date:e,sales:Number(t.toFixed(2)),orders:r,avgOrderValue:r>0?Math.round(t/r):0})).reverse(),loading:n,error:o,dateRange:i}},[l,n,o,i,e,s])})({days:30,skip:!i}),{formatPrice:h}=(0,eu.useFormatPrice)();return i?u?(0,t.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6 my-8",children:[1,2,3].map(e=>(0,t.jsxs)(ed.Card,{className:"animate-pulse",children:[(0,t.jsxs)(ed.CardHeader,{className:"pb-2",children:[(0,t.jsx)("div",{className:"h-4 bg-surface-raised rounded w-1/2"}),(0,t.jsx)("div",{className:"h-8 bg-surface-raised rounded w-1/3"})]}),(0,t.jsx)(ed.CardContent,{children:(0,t.jsx)("div",{className:"h-32 bg-surface-raised rounded"})})]},e))}):(0,t.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6 my-8",children:[(0,t.jsx)(em.default,{icon:(0,t.jsx)(eo.CurrencyIcon,{className:"h-4 w-4"}),title:e({id:"total_sales",defaultMessage:"Total sales"}),value:h({currencyCode:m,amount:n}),chart:(0,t.jsx)(ec.ChartContainer,{config:ek,children:(0,t.jsxs)(K.LineChart,{accessibilityLayer:!0,data:c,margin:{left:12,right:12},children:[(0,t.jsx)(er.CartesianGrid,{vertical:!1}),(0,t.jsx)(ee.XAxis,{dataKey:"date",tickLine:!1,axisLine:!1,tickMargin:8,tickFormatter:e=>e.slice(0,6)}),(0,t.jsx)(et.YAxis,{hide:!0}),(0,t.jsx)(ec.ChartTooltip,{wrapperStyle:{pointerEvents:"auto",zIndex:50},cursor:!1,content:(0,t.jsx)(ec.ChartTooltipContent,{formatter:e=>h({currencyCode:m,amount:e})})}),(0,t.jsx)(X.Line,{dataKey:"sales",type:"natural",stroke:"var(--color-sales)",strokeWidth:2,dot:!1})]})}),dateRange:l}),(0,t.jsx)(em.default,{icon:(0,t.jsx)(ei,{className:"h-4 w-4"}),title:e({id:"total_orders",defaultMessage:"Total orders"}),value:o,chart:(0,t.jsx)(ec.ChartContainer,{config:ek,children:(0,t.jsxs)(Y.BarChart,{accessibilityLayer:!0,data:c,margin:{left:12,right:12},children:[(0,t.jsx)(er.CartesianGrid,{vertical:!1}),(0,t.jsx)(ee.XAxis,{dataKey:"date",tickLine:!1,axisLine:!1,tickMargin:8,tickFormatter:e=>e.slice(0,6)}),(0,t.jsx)(et.YAxis,{hide:!0}),(0,t.jsx)(ec.ChartTooltip,{cursor:!1,content:(0,t.jsx)(ec.ChartTooltipContent,{})}),(0,t.jsx)(J.Bar,{dataKey:"orders",fill:"var(--color-orders)",radius:4})]})}),dateRange:l}),(0,t.jsx)(em.default,{icon:(0,t.jsx)(en,{className:"h-4 w-4"}),title:e({id:"average_order_value",defaultMessage:"Average order value"}),value:h({amount:d,currencyCode:m}),chart:(0,t.jsx)(ec.ChartContainer,{config:ek,children:(0,t.jsxs)(K.LineChart,{accessibilityLayer:!0,data:c,margin:{left:12,right:12},children:[(0,t.jsx)(er.CartesianGrid,{vertical:!1}),(0,t.jsx)(ee.XAxis,{dataKey:"date",tickLine:!1,axisLine:!1,tickMargin:8,tickFormatter:e=>e.slice(0,6)}),(0,t.jsx)(et.YAxis,{hide:!0}),(0,t.jsx)(ec.ChartTooltip,{cursor:!1,content:(0,t.jsx)(ec.ChartTooltipContent,{formatter:e=>h({currencyCode:m,amount:e})})}),(0,t.jsx)(X.Line,{dataKey:"avgOrderValue",type:"natural",stroke:"var(--color-avgOrderValue)",strokeWidth:2,dot:!1})]})}),dateRange:l})]}):null};var eN=e.i(70475);e.s(["default",0,()=>{let{configuration:e}=(0,c.default)(),{isFullyConfigured:r}=e;return(0,t.jsxs)("div",{children:[(0,t.jsx)(R,{}),(0,t.jsx)("div",{className:"mt-5",children:(0,t.jsxs)("div",{className:"text-xl font-semibold text-text-primary",children:["Unchained",(0,t.jsxs)("span",{className:"font-light ml-1",children:["AdminUI",(0,t.jsxs)("span",{className:"text-xs ml-1",children:[" ","5.0.0-alpha.7"]})]})]})}),(0,t.jsxs)("div",{className:"mx-auto py-6",children:[(0,t.jsx)(_,{className:"mb-8"}),r&&(0,t.jsx)(G,{}),(0,t.jsx)(eC,{}),(0,t.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-6",children:[r&&(0,t.jsx)("div",{className:"bg-surface rounded-lg border border-border-subtle p-6",children:(0,t.jsx)(B,{})}),(0,t.jsx)(q,{})]}),(0,t.jsx)(eN.default,{slot:"dashboard:widgets",children:(e,r)=>(0,t.jsx)("div",{className:`mt-6 ${"full"===r.width?"w-full":"third"===r.width?"w-full lg:w-1/3":"w-full lg:w-1/2"}`,children:(0,t.jsx)(e,{})})})]})]})}],57201)},3050,(e,t,r)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/",()=>e.r(57201)]),t.hot&&t.hot.dispose(function(){window.__NEXT_P.push(["/"])})},31004,e=>{"use strict";var t=e.i(91788);let r=t.forwardRef(function({title:e,titleId:r,...s},a){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":r},s),e?t.createElement("title",{id:r},e):null,t.createElement("path",{d:"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],31004)},82798,e=>{"use strict";var t=e.i(91788);let r=t.forwardRef(function({title:e,titleId:r,...s},a){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":r},s),e?t.createElement("title",{id:r},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M13.5 21v-7.5a.75.75 0 0 1 .75-.75h3a.75.75 0 0 1 .75.75V21m-4.5 0H2.36m11.14 0H18m0 0h3.64m-1.39 0V9.349M3.75 21V9.349m0 0a3.001 3.001 0 0 0 3.75-.615A2.993 2.993 0 0 0 9.75 9.75c.896 0 1.7-.393 2.25-1.016a2.993 2.993 0 0 0 2.25 1.016c.896 0 1.7-.393 2.25-1.015a3.001 3.001 0 0 0 3.75.614m-16.5 0a3.004 3.004 0 0 1-.621-4.72l1.189-1.19A1.5 1.5 0 0 1 5.378 3h13.243a1.5 1.5 0 0 1 1.06.44l1.19 1.189a3 3 0 0 1-.621 4.72M6.75 18h3.75a.75.75 0 0 0 .75-.75V13.5a.75.75 0 0 0-.75-.75H6.75a.75.75 0 0 0-.75.75v3.75c0 .414.336.75.75.75Z"}))});e.s(["default",0,r])},95100,e=>{"use strict";var t=e.i(91788);let r=t.forwardRef(function({title:e,titleId:r,...s},a){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":r},s),e?t.createElement("title",{id:r},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m4.5 15.75 7.5-7.5 7.5 7.5"}))});e.s(["default",0,r])},26588,e=>{"use strict";var t=e.i(91788);let r=t.forwardRef(function({title:e,titleId:r,...s},a){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":r},s),e?t.createElement("title",{id:r},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 6v6h4.5m4.5 0a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"}))});e.s(["default",0,r])},48953,e=>{"use strict";var t=e.i(26588);e.s(["ClockIcon",()=>t.default])},7920,e=>{"use strict";var t=e.i(91788);let r=t.forwardRef(function({title:e,titleId:r,...s},a){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":r},s),e?t.createElement("title",{id:r},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M2.25 8.25h19.5M2.25 9h19.5m-16.5 5.25h6m-6 2.25h3m-3.75 3h15a2.25 2.25 0 0 0 2.25-2.25V6.75A2.25 2.25 0 0 0 19.5 4.5h-15a2.25 2.25 0 0 0-2.25 2.25v10.5A2.25 2.25 0 0 0 4.5 19.5Z"}))});e.s(["default",0,r])},83345,33033,e=>{"use strict";var t=e.i(91788);let r=t.forwardRef(function({title:e,titleId:r,...s},a){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":r},s),e?t.createElement("title",{id:r},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m21 7.5-9-5.25L3 7.5m18 0-9 5.25m9-5.25v9l-9 5.25M3 7.5l9 5.25M3 7.5v9l9 5.25m0-9v9"}))});e.s(["default",0,r],33033),e.s(["CubeIcon",0,r],83345)},16184,e=>{"use strict";var t=e.i(91788);let r=t.forwardRef(function({title:e,titleId:r,...s},a){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":r},s),e?t.createElement("title",{id:r},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 9v3.75m-9.303 3.376c-.866 1.5.217 3.374 1.948 3.374h14.71c1.73 0 2.813-1.874 1.948-3.374L13.949 3.378c-.866-1.5-3.032-1.5-3.898 0L2.697 16.126ZM12 15.75h.007v.008H12v-.008Z"}))});e.s(["default",0,r])},9465,e=>{"use strict";var t=e.i(16184);e.s(["ExclamationTriangleIcon",()=>t.default])},82405,e=>{"use strict";var t=e.i(91788);let r=t.forwardRef(function({title:e,titleId:r,...s},a){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":r},s),e?t.createElement("title",{id:r},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M2.25 12.75V12A2.25 2.25 0 0 1 4.5 9.75h15A2.25 2.25 0 0 1 21.75 12v.75m-8.69-6.44-2.12-2.12a1.5 1.5 0 0 0-1.061-.44H4.5A2.25 2.25 0 0 0 2.25 6v12a2.25 2.25 0 0 0 2.25 2.25h15A2.25 2.25 0 0 0 21.75 18V9a2.25 2.25 0 0 0-2.25-2.25h-5.379a1.5 1.5 0 0 1-1.06-.44Z"}))});e.s(["default",0,r])},96643,e=>{"use strict";var t=e.i(91788);let r=t.forwardRef(function({title:e,titleId:r,...s},a){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":r},s),e?t.createElement("title",{id:r},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 3c2.755 0 5.455.232 8.083.678.533.09.917.556.917 1.096v1.044a2.25 2.25 0 0 1-.659 1.591l-5.432 5.432a2.25 2.25 0 0 0-.659 1.591v2.927a2.25 2.25 0 0 1-1.244 2.013L9.75 21v-6.568a2.25 2.25 0 0 0-.659-1.591L3.659 7.409A2.25 2.25 0 0 1 3 5.818V4.774c0-.54.384-1.006.917-1.096A48.32 48.32 0 0 1 12 3Z"}))});e.s(["default",0,r])},24629,57191,e=>{"use strict";var t=e.i(91788);let r=t.forwardRef(function({title:e,titleId:r,...s},a){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":r},s),e?t.createElement("title",{id:r},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 21a9.004 9.004 0 0 0 8.716-6.747M12 21a9.004 9.004 0 0 1-8.716-6.747M12 21c2.485 0 4.5-4.03 4.5-9S14.485 3 12 3m0 18c-2.485 0-4.5-4.03-4.5-9S9.515 3 12 3m0 0a8.997 8.997 0 0 1 7.843 4.582M12 3a8.997 8.997 0 0 0-7.843 4.582m15.686 0A11.953 11.953 0 0 1 12 10.5c-2.998 0-5.74-1.1-7.843-2.918m15.686 0A8.959 8.959 0 0 1 21 12c0 .778-.099 1.533-.284 2.253m0 0A17.919 17.919 0 0 1 12 16.5c-3.162 0-6.133-.815-8.716-2.247m0 0A9.015 9.015 0 0 1 3 12c0-1.605.42-3.113 1.157-4.418"}))});e.s(["default",0,r],57191),e.s(["GlobeAltIcon",0,r],24629)},29988,e=>{"use strict";var t=e.i(91788);let r=t.forwardRef(function({title:e,titleId:r,...s},a){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":r},s),e?t.createElement("title",{id:r},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m10.5 21 5.25-11.25L21 21m-9-3h7.5M3 5.621a48.474 48.474 0 0 1 6-.371m0 0c1.12 0 2.233.038 3.334.114M9 5.25V3m3.334 2.364C11.176 10.658 7.69 15.08 3 17.502m9.334-12.138c.896.061 1.785.147 2.666.257m-4.589 8.495a18.023 18.023 0 0 1-3.827-5.802"}))});e.s(["default",0,r])},78588,e=>{"use strict";var t=e.i(91788);let r=t.forwardRef(function({title:e,titleId:r,...s},a){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":r},s),e?t.createElement("title",{id:r},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15.59 14.37a6 6 0 0 1-5.84 7.38v-4.8m5.84-2.58a14.98 14.98 0 0 0 6.16-12.12A14.98 14.98 0 0 0 9.631 8.41m5.96 5.96a14.926 14.926 0 0 1-5.841 2.58m-.119-8.54a6 6 0 0 0-7.381 5.84h4.8m2.581-5.84a14.927 14.927 0 0 0-2.58 5.84m2.699 2.7c-.103.021-.207.041-.311.06a15.09 15.09 0 0 1-2.448-2.448 14.9 14.9 0 0 1 .06-.312m-2.24 2.39a4.493 4.493 0 0 0-1.757 4.306 4.493 4.493 0 0 0 4.306-1.758M16.5 9a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Z"}))});e.s(["default",0,r])},43944,e=>{"use strict";var t=e.i(91788);let r=t.forwardRef(function({title:e,titleId:r,...s},a){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":r},s),e?t.createElement("title",{id:r},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8.25 18.75a1.5 1.5 0 0 1-3 0m3 0a1.5 1.5 0 0 0-3 0m3 0h6m-9 0H3.375a1.125 1.125 0 0 1-1.125-1.125V14.25m17.25 4.5a1.5 1.5 0 0 1-3 0m3 0a1.5 1.5 0 0 0-3 0m3 0h1.125c.621 0 1.129-.504 1.09-1.124a17.902 17.902 0 0 0-3.213-9.193 2.056 2.056 0 0 0-1.58-.86H14.25M16.5 18.75h-2.25m0-11.177v-.958c0-.568-.422-1.048-.987-1.106a48.554 48.554 0 0 0-10.026 0 1.106 1.106 0 0 0-.987 1.106v7.635m12-6.677v6.677m0 4.5v-4.5m0 0h-12"}))});e.s(["default",0,r])},56417,27028,e=>{"use strict";var t=e.i(43944);e.s(["TruckIcon",()=>t.default],56417);var r=e.i(82798);e.s(["BuildingStorefrontIcon",()=>r.default],27028)},5270,e=>{"use strict";var t=e.i(91788);let r=(...e)=>e.filter((e,t,r)=>!!e&&""!==e.trim()&&r.indexOf(e)===t).join(" ").trim(),s={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":2,"stroke-linecap":"round","stroke-linejoin":"round"},a=(0,t.createContext)({}),i=(0,t.forwardRef)(({color:e,size:i,width:l,height:n,strokeWidth:o,absoluteStrokeWidth:d,nonScalingStroke:c,className:u="",children:m,iconNode:h=[],icon:g={node:h,aliases:[],size:24},...f},x)=>{let{size:p=24,strokeWidth:v=2,absoluteStrokeWidth:b=!1,nonScalingStroke:w=!1,color:j="currentColor",className:y=""}=(0,t.useContext)(a)??{},k=!!m||(e=>{for(let t in e)if(t.startsWith("aria-")||"role"===t||"title"===t)return!0;return!1})(f),[C,N,M=[]]=function(e,t={}){return function(e,t={}){let a=t.attributeNames??{},i=e=>a[e]??e,l=e.size??e.width??s.width,n=e.size??e.height??s.height,o=e.aliases?.filter(e=>"string"==typeof e&&""!==e.trim()).map(e=>`lucide-${e}`)??[],d=[...e.name?[`lucide-${e.name}`]:[],...o],c=t.className?.split(" ").filter(Boolean)??[],u=!1===t.includeDefaultClasses?r(...c):r("lucide",...d,...c),m=t.absoluteStrokeWidth?Number(t.strokeWidth??s["stroke-width"])*Number(e.size??e.width??s.width)/Number(t.size??t.width??s.width):t.strokeWidth??s["stroke-width"];return["svg",{...Object.entries(s).reduce((e,[t,r])=>(e[i(t)]=r,e),{}),..."color"in t&&t.color&&{[i("stroke")]:t.color},..."size"in t&&null!=t.size&&{[i("width")]:t.size,[i("height")]:t.size},..."width"in t&&null!=t.width&&{[i("width")]:t.width},..."height"in t&&null!=t.height&&{[i("height")]:t.height},[i("stroke-width")]:m,...u&&{[i("class")]:u},[i("viewBox")]:`0 0 ${l} ${n}`,...!1===t.hasA11yProp?{[i("aria-hidden")]:"true"}:{},..."attributes"in t&&t.attributes},e.node.map(e=>{let[r,s,a]=e,l=t.nonScalingStroke?{[i("vector-effect")]:"non-scaling-stroke",...s}:s;return a?[r,l,a]:[r,l]})]}(e,{...t,attributeNames:{...t.attributeNames,class:"className","stroke-width":"strokeWidth","stroke-linecap":"strokeLinecap","stroke-linejoin":"strokeLinejoin","vector-effect":"vectorEffect"}})}(g,{color:e??j,width:l??i??p,height:n??i??p,strokeWidth:o??v,absoluteStrokeWidth:d??b,nonScalingStroke:c??w,className:r(y,u),hasA11yProp:k,attributes:f});return(0,t.createElement)(C,{ref:x,...N},[...M.map(([e,r])=>(0,t.createElement)(e,r)),...Array.isArray(m)?m:[m]])});e.s(["default",0,function(e,r=[],s=[]){let a,l="string"==typeof e?function(e,t,r=[]){if(null==t)throw Error("[lucide]: iconNode is required when icon name is used");return{name:e?.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),size:24,node:t,...r.length>0?{aliases:r}:{}}}(e,r,s):e,n=(0,t.forwardRef)(({className:e,...r},s)=>(0,t.createElement)(i,{ref:s,icon:l,className:e,...r}));return l.name&&(n.displayName=(a=(e=>{let t="",r=!1;for(let s of e){if("-"===s||"_"===s||s<=" "){r=t.length>0;continue}0===t.length?t+=s.toLowerCase():t+=r?s.toUpperCase():s,r=!1}return t})(l.name)).charAt(0).toUpperCase()+a.slice(1)),n}],5270)},60121,(e,t,r)=>{"use strict";var s=e.r(91788),a="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},i=s.useState,l=s.useEffect,n=s.useLayoutEffect,o=s.useDebugValue;function d(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!a(e,r)}catch(e){return!0}}var c="u"<typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var r=t(),s=i({inst:{value:r,getSnapshot:t}}),a=s[0].inst,c=s[1];return n(function(){a.value=r,a.getSnapshot=t,d(a)&&c({inst:a})},[e,r,t]),l(function(){return d(a)&&c({inst:a}),e(function(){d(a)&&c({inst:a})})},[e]),o(r),r};r.useSyncExternalStore=void 0!==s.useSyncExternalStore?s.useSyncExternalStore:c},90979,(e,t,r)=>{"use strict";e.i(50461),t.exports=e.r(60121)}]);
104
+ `,ek={sales:{label:"Sales",color:"hsl(var(--chart-1))"},orders:{label:"Orders",color:"hsl(var(--chart-2))"},avgOrderValue:{label:"Avg Order Value",color:"hsl(var(--chart-3))"}},eC=()=>{let{formatMessage:e}=(0,s.useIntl)(),{hasRole:a}=(0,S.default)(),i=a(A.IRoleAction.ViewOrders),{dateRange:l,totalSales:n,totalOrders:o,averageOrderValue:d,salesData:c,loading:u,currencyCode:m}=(({days:e=30,skip:t=!1})=>{let s=(0,r.useMemo)(()=>new Date,[]),a=eb(s,e),i=(0,r.useMemo)(()=>({start:(0,ew.startOfDay)(a).toISOString(),end:(0,ej.endOfDay)(s).toISOString()}),[a,s]),{data:l,loading:n,error:o}=(0,eg.useQuery)(ey,{variables:{dateRange:i},errorPolicy:"all",skip:t});return(0,r.useMemo)(()=>{let t=l?.orderStatistics;if(!l?.orderStatistics?.confirmCount)return{totalSales:0,totalOrders:0,averageOrderValue:0,salesData:[],loading:n,error:o,dateRange:i};let r=((e,t)=>{let r=new Map;for(let s=0;s<e;s++){let e=(0,ef.format)(eb(t,s),"MMM d");r.set(e,{sales:0,orders:0})}return r})(e,s),a=0,d=t.confirmRecords[0]?.total?.currencyCode;t.confirmRecords.forEach(e=>{if(!e.date||!e.total?.amount||!e.count)return;let t=(0,ef.format)((0,ex.parseISO)(e.date),"MMM d"),s=r.get(t),i=Number(e.total.amount??0),l=e.count??0;s&&(s.sales+=i,s.orders+=l),a+=i});let c=t.confirmCount,u=c>0?a/c:0;return{totalSales:Math.round(a),totalOrders:c,currencyCode:d,averageOrderValue:Math.round(u),salesData:Array.from(r.entries()).map(([e,{sales:t,orders:r}])=>({date:e,sales:Number(t.toFixed(2)),orders:r,avgOrderValue:r>0?Math.round(t/r):0})).reverse(),loading:n,error:o,dateRange:i}},[l,n,o,i,e,s])})({days:30,skip:!i}),{formatPrice:h}=(0,eu.useFormatPrice)();return i?u?(0,t.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6 my-8",children:[1,2,3].map(e=>(0,t.jsxs)(ed.Card,{className:"animate-pulse",children:[(0,t.jsxs)(ed.CardHeader,{className:"pb-2",children:[(0,t.jsx)("div",{className:"h-4 bg-surface-raised rounded w-1/2"}),(0,t.jsx)("div",{className:"h-8 bg-surface-raised rounded w-1/3"})]}),(0,t.jsx)(ed.CardContent,{children:(0,t.jsx)("div",{className:"h-32 bg-surface-raised rounded"})})]},e))}):(0,t.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6 my-8",children:[(0,t.jsx)(em.default,{icon:(0,t.jsx)(eo.CurrencyIcon,{className:"h-4 w-4"}),title:e({id:"total_sales",defaultMessage:"Total sales"}),value:h({currencyCode:m,amount:n}),chart:(0,t.jsx)(ec.ChartContainer,{config:ek,children:(0,t.jsxs)(K.LineChart,{accessibilityLayer:!0,data:c,margin:{left:12,right:12},children:[(0,t.jsx)(er.CartesianGrid,{vertical:!1}),(0,t.jsx)(ee.XAxis,{dataKey:"date",tickLine:!1,axisLine:!1,tickMargin:8,tickFormatter:e=>e.slice(0,6)}),(0,t.jsx)(et.YAxis,{hide:!0}),(0,t.jsx)(ec.ChartTooltip,{wrapperStyle:{pointerEvents:"auto",zIndex:50},cursor:!1,content:(0,t.jsx)(ec.ChartTooltipContent,{formatter:e=>h({currencyCode:m,amount:e})})}),(0,t.jsx)(X.Line,{dataKey:"sales",type:"natural",stroke:"var(--color-sales)",strokeWidth:2,dot:!1})]})}),dateRange:l}),(0,t.jsx)(em.default,{icon:(0,t.jsx)(ei,{className:"h-4 w-4"}),title:e({id:"total_orders",defaultMessage:"Total orders"}),value:o,chart:(0,t.jsx)(ec.ChartContainer,{config:ek,children:(0,t.jsxs)(Y.BarChart,{accessibilityLayer:!0,data:c,margin:{left:12,right:12},children:[(0,t.jsx)(er.CartesianGrid,{vertical:!1}),(0,t.jsx)(ee.XAxis,{dataKey:"date",tickLine:!1,axisLine:!1,tickMargin:8,tickFormatter:e=>e.slice(0,6)}),(0,t.jsx)(et.YAxis,{hide:!0}),(0,t.jsx)(ec.ChartTooltip,{cursor:!1,content:(0,t.jsx)(ec.ChartTooltipContent,{})}),(0,t.jsx)(J.Bar,{dataKey:"orders",fill:"var(--color-orders)",radius:4})]})}),dateRange:l}),(0,t.jsx)(em.default,{icon:(0,t.jsx)(en,{className:"h-4 w-4"}),title:e({id:"average_order_value",defaultMessage:"Average order value"}),value:h({amount:d,currencyCode:m}),chart:(0,t.jsx)(ec.ChartContainer,{config:ek,children:(0,t.jsxs)(K.LineChart,{accessibilityLayer:!0,data:c,margin:{left:12,right:12},children:[(0,t.jsx)(er.CartesianGrid,{vertical:!1}),(0,t.jsx)(ee.XAxis,{dataKey:"date",tickLine:!1,axisLine:!1,tickMargin:8,tickFormatter:e=>e.slice(0,6)}),(0,t.jsx)(et.YAxis,{hide:!0}),(0,t.jsx)(ec.ChartTooltip,{cursor:!1,content:(0,t.jsx)(ec.ChartTooltipContent,{formatter:e=>h({currencyCode:m,amount:e})})}),(0,t.jsx)(X.Line,{dataKey:"avgOrderValue",type:"natural",stroke:"var(--color-avgOrderValue)",strokeWidth:2,dot:!1})]})}),dateRange:l})]}):null};var eN=e.i(70475);e.s(["default",0,()=>{let{configuration:e}=(0,c.default)(),{isFullyConfigured:r}=e;return(0,t.jsxs)("div",{children:[(0,t.jsx)(R,{}),(0,t.jsx)("div",{className:"mt-5",children:(0,t.jsxs)("div",{className:"text-xl font-semibold text-text-primary",children:["Unchained",(0,t.jsxs)("span",{className:"font-light ml-1",children:["AdminUI",(0,t.jsxs)("span",{className:"text-xs ml-1",children:[" ","5.0.0-alpha.8"]})]})]})}),(0,t.jsxs)("div",{className:"mx-auto py-6",children:[(0,t.jsx)(_,{className:"mb-8"}),r&&(0,t.jsx)(G,{}),(0,t.jsx)(eC,{}),(0,t.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-6",children:[r&&(0,t.jsx)("div",{className:"bg-surface rounded-lg border border-border-subtle p-6",children:(0,t.jsx)(B,{})}),(0,t.jsx)(q,{})]}),(0,t.jsx)(eN.default,{slot:"dashboard:widgets",children:(e,r)=>(0,t.jsx)("div",{className:`mt-6 ${"full"===r.width?"w-full":"third"===r.width?"w-full lg:w-1/3":"w-full lg:w-1/2"}`,children:(0,t.jsx)(e,{})})})]})]})}],57201)},3050,(e,t,r)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/",()=>e.r(57201)]),t.hot&&t.hot.dispose(function(){window.__NEXT_P.push(["/"])})},31004,e=>{"use strict";var t=e.i(91788);let r=t.forwardRef(function({title:e,titleId:r,...s},a){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":r},s),e?t.createElement("title",{id:r},e):null,t.createElement("path",{d:"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],31004)},82798,e=>{"use strict";var t=e.i(91788);let r=t.forwardRef(function({title:e,titleId:r,...s},a){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":r},s),e?t.createElement("title",{id:r},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M13.5 21v-7.5a.75.75 0 0 1 .75-.75h3a.75.75 0 0 1 .75.75V21m-4.5 0H2.36m11.14 0H18m0 0h3.64m-1.39 0V9.349M3.75 21V9.349m0 0a3.001 3.001 0 0 0 3.75-.615A2.993 2.993 0 0 0 9.75 9.75c.896 0 1.7-.393 2.25-1.016a2.993 2.993 0 0 0 2.25 1.016c.896 0 1.7-.393 2.25-1.015a3.001 3.001 0 0 0 3.75.614m-16.5 0a3.004 3.004 0 0 1-.621-4.72l1.189-1.19A1.5 1.5 0 0 1 5.378 3h13.243a1.5 1.5 0 0 1 1.06.44l1.19 1.189a3 3 0 0 1-.621 4.72M6.75 18h3.75a.75.75 0 0 0 .75-.75V13.5a.75.75 0 0 0-.75-.75H6.75a.75.75 0 0 0-.75.75v3.75c0 .414.336.75.75.75Z"}))});e.s(["default",0,r])},95100,e=>{"use strict";var t=e.i(91788);let r=t.forwardRef(function({title:e,titleId:r,...s},a){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":r},s),e?t.createElement("title",{id:r},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m4.5 15.75 7.5-7.5 7.5 7.5"}))});e.s(["default",0,r])},26588,e=>{"use strict";var t=e.i(91788);let r=t.forwardRef(function({title:e,titleId:r,...s},a){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":r},s),e?t.createElement("title",{id:r},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 6v6h4.5m4.5 0a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"}))});e.s(["default",0,r])},48953,e=>{"use strict";var t=e.i(26588);e.s(["ClockIcon",()=>t.default])},7920,e=>{"use strict";var t=e.i(91788);let r=t.forwardRef(function({title:e,titleId:r,...s},a){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":r},s),e?t.createElement("title",{id:r},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M2.25 8.25h19.5M2.25 9h19.5m-16.5 5.25h6m-6 2.25h3m-3.75 3h15a2.25 2.25 0 0 0 2.25-2.25V6.75A2.25 2.25 0 0 0 19.5 4.5h-15a2.25 2.25 0 0 0-2.25 2.25v10.5A2.25 2.25 0 0 0 4.5 19.5Z"}))});e.s(["default",0,r])},83345,33033,e=>{"use strict";var t=e.i(91788);let r=t.forwardRef(function({title:e,titleId:r,...s},a){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":r},s),e?t.createElement("title",{id:r},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m21 7.5-9-5.25L3 7.5m18 0-9 5.25m9-5.25v9l-9 5.25M3 7.5l9 5.25M3 7.5v9l9 5.25m0-9v9"}))});e.s(["default",0,r],33033),e.s(["CubeIcon",0,r],83345)},16184,e=>{"use strict";var t=e.i(91788);let r=t.forwardRef(function({title:e,titleId:r,...s},a){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":r},s),e?t.createElement("title",{id:r},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 9v3.75m-9.303 3.376c-.866 1.5.217 3.374 1.948 3.374h14.71c1.73 0 2.813-1.874 1.948-3.374L13.949 3.378c-.866-1.5-3.032-1.5-3.898 0L2.697 16.126ZM12 15.75h.007v.008H12v-.008Z"}))});e.s(["default",0,r])},9465,e=>{"use strict";var t=e.i(16184);e.s(["ExclamationTriangleIcon",()=>t.default])},82405,e=>{"use strict";var t=e.i(91788);let r=t.forwardRef(function({title:e,titleId:r,...s},a){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":r},s),e?t.createElement("title",{id:r},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M2.25 12.75V12A2.25 2.25 0 0 1 4.5 9.75h15A2.25 2.25 0 0 1 21.75 12v.75m-8.69-6.44-2.12-2.12a1.5 1.5 0 0 0-1.061-.44H4.5A2.25 2.25 0 0 0 2.25 6v12a2.25 2.25 0 0 0 2.25 2.25h15A2.25 2.25 0 0 0 21.75 18V9a2.25 2.25 0 0 0-2.25-2.25h-5.379a1.5 1.5 0 0 1-1.06-.44Z"}))});e.s(["default",0,r])},96643,e=>{"use strict";var t=e.i(91788);let r=t.forwardRef(function({title:e,titleId:r,...s},a){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":r},s),e?t.createElement("title",{id:r},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 3c2.755 0 5.455.232 8.083.678.533.09.917.556.917 1.096v1.044a2.25 2.25 0 0 1-.659 1.591l-5.432 5.432a2.25 2.25 0 0 0-.659 1.591v2.927a2.25 2.25 0 0 1-1.244 2.013L9.75 21v-6.568a2.25 2.25 0 0 0-.659-1.591L3.659 7.409A2.25 2.25 0 0 1 3 5.818V4.774c0-.54.384-1.006.917-1.096A48.32 48.32 0 0 1 12 3Z"}))});e.s(["default",0,r])},24629,57191,e=>{"use strict";var t=e.i(91788);let r=t.forwardRef(function({title:e,titleId:r,...s},a){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":r},s),e?t.createElement("title",{id:r},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 21a9.004 9.004 0 0 0 8.716-6.747M12 21a9.004 9.004 0 0 1-8.716-6.747M12 21c2.485 0 4.5-4.03 4.5-9S14.485 3 12 3m0 18c-2.485 0-4.5-4.03-4.5-9S9.515 3 12 3m0 0a8.997 8.997 0 0 1 7.843 4.582M12 3a8.997 8.997 0 0 0-7.843 4.582m15.686 0A11.953 11.953 0 0 1 12 10.5c-2.998 0-5.74-1.1-7.843-2.918m15.686 0A8.959 8.959 0 0 1 21 12c0 .778-.099 1.533-.284 2.253m0 0A17.919 17.919 0 0 1 12 16.5c-3.162 0-6.133-.815-8.716-2.247m0 0A9.015 9.015 0 0 1 3 12c0-1.605.42-3.113 1.157-4.418"}))});e.s(["default",0,r],57191),e.s(["GlobeAltIcon",0,r],24629)},29988,e=>{"use strict";var t=e.i(91788);let r=t.forwardRef(function({title:e,titleId:r,...s},a){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":r},s),e?t.createElement("title",{id:r},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m10.5 21 5.25-11.25L21 21m-9-3h7.5M3 5.621a48.474 48.474 0 0 1 6-.371m0 0c1.12 0 2.233.038 3.334.114M9 5.25V3m3.334 2.364C11.176 10.658 7.69 15.08 3 17.502m9.334-12.138c.896.061 1.785.147 2.666.257m-4.589 8.495a18.023 18.023 0 0 1-3.827-5.802"}))});e.s(["default",0,r])},78588,e=>{"use strict";var t=e.i(91788);let r=t.forwardRef(function({title:e,titleId:r,...s},a){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":r},s),e?t.createElement("title",{id:r},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15.59 14.37a6 6 0 0 1-5.84 7.38v-4.8m5.84-2.58a14.98 14.98 0 0 0 6.16-12.12A14.98 14.98 0 0 0 9.631 8.41m5.96 5.96a14.926 14.926 0 0 1-5.841 2.58m-.119-8.54a6 6 0 0 0-7.381 5.84h4.8m2.581-5.84a14.927 14.927 0 0 0-2.58 5.84m2.699 2.7c-.103.021-.207.041-.311.06a15.09 15.09 0 0 1-2.448-2.448 14.9 14.9 0 0 1 .06-.312m-2.24 2.39a4.493 4.493 0 0 0-1.757 4.306 4.493 4.493 0 0 0 4.306-1.758M16.5 9a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Z"}))});e.s(["default",0,r])},43944,e=>{"use strict";var t=e.i(91788);let r=t.forwardRef(function({title:e,titleId:r,...s},a){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":r},s),e?t.createElement("title",{id:r},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8.25 18.75a1.5 1.5 0 0 1-3 0m3 0a1.5 1.5 0 0 0-3 0m3 0h6m-9 0H3.375a1.125 1.125 0 0 1-1.125-1.125V14.25m17.25 4.5a1.5 1.5 0 0 1-3 0m3 0a1.5 1.5 0 0 0-3 0m3 0h1.125c.621 0 1.129-.504 1.09-1.124a17.902 17.902 0 0 0-3.213-9.193 2.056 2.056 0 0 0-1.58-.86H14.25M16.5 18.75h-2.25m0-11.177v-.958c0-.568-.422-1.048-.987-1.106a48.554 48.554 0 0 0-10.026 0 1.106 1.106 0 0 0-.987 1.106v7.635m12-6.677v6.677m0 4.5v-4.5m0 0h-12"}))});e.s(["default",0,r])},56417,27028,e=>{"use strict";var t=e.i(43944);e.s(["TruckIcon",()=>t.default],56417);var r=e.i(82798);e.s(["BuildingStorefrontIcon",()=>r.default],27028)},5270,e=>{"use strict";var t=e.i(91788);let r=(...e)=>e.filter((e,t,r)=>!!e&&""!==e.trim()&&r.indexOf(e)===t).join(" ").trim(),s={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":2,"stroke-linecap":"round","stroke-linejoin":"round"},a=(0,t.createContext)({}),i=(0,t.forwardRef)(({color:e,size:i,width:l,height:n,strokeWidth:o,absoluteStrokeWidth:d,nonScalingStroke:c,className:u="",children:m,iconNode:h=[],icon:g={node:h,aliases:[],size:24},...f},x)=>{let{size:p=24,strokeWidth:v=2,absoluteStrokeWidth:b=!1,nonScalingStroke:w=!1,color:j="currentColor",className:y=""}=(0,t.useContext)(a)??{},k=!!m||(e=>{for(let t in e)if(t.startsWith("aria-")||"role"===t||"title"===t)return!0;return!1})(f),[C,N,M=[]]=function(e,t={}){return function(e,t={}){let a=t.attributeNames??{},i=e=>a[e]??e,l=e.size??e.width??s.width,n=e.size??e.height??s.height,o=e.aliases?.filter(e=>"string"==typeof e&&""!==e.trim()).map(e=>`lucide-${e}`)??[],d=[...e.name?[`lucide-${e.name}`]:[],...o],c=t.className?.split(" ").filter(Boolean)??[],u=!1===t.includeDefaultClasses?r(...c):r("lucide",...d,...c),m=t.absoluteStrokeWidth?Number(t.strokeWidth??s["stroke-width"])*Number(e.size??e.width??s.width)/Number(t.size??t.width??s.width):t.strokeWidth??s["stroke-width"];return["svg",{...Object.entries(s).reduce((e,[t,r])=>(e[i(t)]=r,e),{}),..."color"in t&&t.color&&{[i("stroke")]:t.color},..."size"in t&&null!=t.size&&{[i("width")]:t.size,[i("height")]:t.size},..."width"in t&&null!=t.width&&{[i("width")]:t.width},..."height"in t&&null!=t.height&&{[i("height")]:t.height},[i("stroke-width")]:m,...u&&{[i("class")]:u},[i("viewBox")]:`0 0 ${l} ${n}`,...!1===t.hasA11yProp?{[i("aria-hidden")]:"true"}:{},..."attributes"in t&&t.attributes},e.node.map(e=>{let[r,s,a]=e,l=t.nonScalingStroke?{[i("vector-effect")]:"non-scaling-stroke",...s}:s;return a?[r,l,a]:[r,l]})]}(e,{...t,attributeNames:{...t.attributeNames,class:"className","stroke-width":"strokeWidth","stroke-linecap":"strokeLinecap","stroke-linejoin":"strokeLinejoin","vector-effect":"vectorEffect"}})}(g,{color:e??j,width:l??i??p,height:n??i??p,strokeWidth:o??v,absoluteStrokeWidth:d??b,nonScalingStroke:c??w,className:r(y,u),hasA11yProp:k,attributes:f});return(0,t.createElement)(C,{ref:x,...N},[...M.map(([e,r])=>(0,t.createElement)(e,r)),...Array.isArray(m)?m:[m]])});e.s(["default",0,function(e,r=[],s=[]){let a,l="string"==typeof e?function(e,t,r=[]){if(null==t)throw Error("[lucide]: iconNode is required when icon name is used");return{name:e?.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),size:24,node:t,...r.length>0?{aliases:r}:{}}}(e,r,s):e,n=(0,t.forwardRef)(({className:e,...r},s)=>(0,t.createElement)(i,{ref:s,icon:l,className:e,...r}));return l.name&&(n.displayName=(a=(e=>{let t="",r=!1;for(let s of e){if("-"===s||"_"===s||s<=" "){r=t.length>0;continue}0===t.length?t+=s.toLowerCase():t+=r?s.toUpperCase():s,r=!1}return t})(l.name)).charAt(0).toUpperCase()+a.slice(1)),n}],5270)},60121,(e,t,r)=>{"use strict";var s=e.r(91788),a="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},i=s.useState,l=s.useEffect,n=s.useLayoutEffect,o=s.useDebugValue;function d(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!a(e,r)}catch(e){return!0}}var c="u"<typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var r=t(),s=i({inst:{value:r,getSnapshot:t}}),a=s[0].inst,c=s[1];return n(function(){a.value=r,a.getSnapshot=t,d(a)&&c({inst:a})},[e,r,t]),l(function(){return d(a)&&c({inst:a}),e(function(){d(a)&&c({inst:a})})},[e]),o(r),r};r.useSyncExternalStore=void 0!==s.useSyncExternalStore?s.useSyncExternalStore:c},90979,(e,t,r)=>{"use strict";e.i(50461),t.exports=e.r(60121)}]);
@@ -1,11 +1,11 @@
1
1
  __turbopack_load_page_chunks__("/verify-email", [
2
2
  "static/chunks/07o7bmqljy89r.js",
3
3
  "static/chunks/401o5bfi_90qs.js",
4
- "static/chunks/3yvmkdc088aly.js",
4
+ "static/chunks/3vjgbl76cgrmt.js",
5
5
  "static/chunks/33emlry70k-lv.js",
6
6
  "static/chunks/0rqjr_lmrk4pz.js",
7
7
  "static/chunks/0jeddko6bac8h.js",
8
8
  "static/chunks/252jebodi67kg.js",
9
9
  "static/chunks/41e2wlkp9_pvk.js",
10
- "static/chunks/turbopack-2gehqsln39zg1.js"
10
+ "static/chunks/turbopack-1rmjnbaunrx2u.js"
11
11
  ])
@@ -2,18 +2,18 @@ __turbopack_load_page_chunks__("/", [
2
2
  "static/chunks/0uw9cbq0ivaz0.js",
3
3
  "static/chunks/27jaailh2k450.js",
4
4
  "static/chunks/1k4ep4igedo8p.js",
5
- "static/chunks/3yvmkdc088aly.js",
5
+ "static/chunks/3vjgbl76cgrmt.js",
6
6
  "static/chunks/1rtv3c_klo0jk.js",
7
7
  "static/chunks/3ic_dagw-uvrx.js",
8
8
  "static/chunks/0i9ymn9xxs0nx.js",
9
- "static/chunks/3cq123yj25_36.js",
10
- "static/chunks/2_vu2hve2j-6g.js",
9
+ "static/chunks/3om1fkw-lrmng.js",
10
+ "static/chunks/2kjux30i3gg-c.js",
11
11
  "static/chunks/252jebodi67kg.js",
12
12
  "static/chunks/33emlry70k-lv.js",
13
13
  "static/chunks/0rqjr_lmrk4pz.js",
14
14
  "static/chunks/41e2wlkp9_pvk.js",
15
15
  "static/chunks/13u_a5l2xngm4.js",
16
- "static/chunks/1cfjbvjo0o9fx.js",
16
+ "static/chunks/1tvr-10z5x0by.js",
17
17
  "static/chunks/0jeddko6bac8h.js",
18
- "static/chunks/turbopack-3r17oio1oe7jw.js"
18
+ "static/chunks/turbopack-3aa45-9tjh99k.js"
19
19
  ])
@@ -3,11 +3,11 @@ __turbopack_load_page_chunks__("/account/forgot-password", [
3
3
  "static/chunks/2rywg4dn0aeez.js",
4
4
  "static/chunks/41e2wlkp9_pvk.js",
5
5
  "static/chunks/1am9n6exll687.js",
6
- "static/chunks/3yvmkdc088aly.js",
6
+ "static/chunks/3vjgbl76cgrmt.js",
7
7
  "static/chunks/0jeddko6bac8h.js",
8
8
  "static/chunks/0rqjr_lmrk4pz.js",
9
9
  "static/chunks/252jebodi67kg.js",
10
10
  "static/chunks/33emlry70k-lv.js",
11
- "static/chunks/3cq123yj25_36.js",
12
- "static/chunks/turbopack-3a6igydfvv1_v.js"
11
+ "static/chunks/3om1fkw-lrmng.js",
12
+ "static/chunks/turbopack-0zf_85we0x_rs.js"
13
13
  ])
@@ -3,12 +3,12 @@ __turbopack_load_page_chunks__("/ext/[[...slug]]", [
3
3
  "static/chunks/07o7bmqljy89r.js",
4
4
  "static/chunks/33emlry70k-lv.js",
5
5
  "static/chunks/252jebodi67kg.js",
6
- "static/chunks/3yvmkdc088aly.js",
6
+ "static/chunks/3vjgbl76cgrmt.js",
7
7
  "static/chunks/0jeddko6bac8h.js",
8
8
  "static/chunks/41e2wlkp9_pvk.js",
9
9
  "static/chunks/0rqjr_lmrk4pz.js",
10
- "static/chunks/3cq123yj25_36.js",
10
+ "static/chunks/3om1fkw-lrmng.js",
11
11
  "static/chunks/13u_a5l2xngm4.js",
12
12
  "static/chunks/39m5tbxzzsmn4.js",
13
- "static/chunks/turbopack-2dicmowo2x4t1.js"
13
+ "static/chunks/turbopack-37e-e484qmc03.js"
14
14
  ])
@@ -5,11 +5,11 @@ __turbopack_load_page_chunks__("/assortments/new", [
5
5
  "static/chunks/1rtv3c_klo0jk.js",
6
6
  "static/chunks/1k4ep4igedo8p.js",
7
7
  "static/chunks/252jebodi67kg.js",
8
- "static/chunks/3cq123yj25_36.js",
8
+ "static/chunks/3om1fkw-lrmng.js",
9
9
  "static/chunks/0rqjr_lmrk4pz.js",
10
10
  "static/chunks/33emlry70k-lv.js",
11
11
  "static/chunks/41e2wlkp9_pvk.js",
12
- "static/chunks/3yvmkdc088aly.js",
12
+ "static/chunks/3vjgbl76cgrmt.js",
13
13
  "static/chunks/0jeddko6bac8h.js",
14
- "static/chunks/turbopack-2n2ksqygaakbh.js"
14
+ "static/chunks/turbopack-2pe-c3nyyswmm.js"
15
15
  ])
@@ -9,7 +9,7 @@ __turbopack_load_page_chunks__("/country/CountryDetailPage", [
9
9
  "static/chunks/252jebodi67kg.js",
10
10
  "static/chunks/33emlry70k-lv.js",
11
11
  "static/chunks/0jeddko6bac8h.js",
12
- "static/chunks/3yvmkdc088aly.js",
13
- "static/chunks/3cq123yj25_36.js",
14
- "static/chunks/turbopack-2068cl63o32re.js"
12
+ "static/chunks/3vjgbl76cgrmt.js",
13
+ "static/chunks/3om1fkw-lrmng.js",
14
+ "static/chunks/turbopack-2u879ap4um9kt.js"
15
15
  ])
@@ -8,8 +8,8 @@ __turbopack_load_page_chunks__("/filters/new", [
8
8
  "static/chunks/0rqjr_lmrk4pz.js",
9
9
  "static/chunks/41e2wlkp9_pvk.js",
10
10
  "static/chunks/33emlry70k-lv.js",
11
- "static/chunks/3cq123yj25_36.js",
12
- "static/chunks/3yvmkdc088aly.js",
11
+ "static/chunks/3om1fkw-lrmng.js",
12
+ "static/chunks/3vjgbl76cgrmt.js",
13
13
  "static/chunks/0jeddko6bac8h.js",
14
- "static/chunks/turbopack-0qxkaq0f9ka24.js"
14
+ "static/chunks/turbopack-1iglf5syrme2d.js"
15
15
  ])
@@ -6,17 +6,17 @@ __turbopack_load_page_chunks__("/account", [
6
6
  "static/chunks/33emlry70k-lv.js",
7
7
  "static/chunks/1rtv3c_klo0jk.js",
8
8
  "static/chunks/39-19ao-xkexy.js",
9
- "static/chunks/0rqjr_lmrk4pz.js",
9
+ "static/chunks/41e2wlkp9_pvk.js",
10
10
  "static/chunks/2e47h0g7w7si3.js",
11
- "static/chunks/2dvrbmh97duba.js",
12
- "static/chunks/0nlirgt-x5pqr.js",
13
- "static/chunks/3cq123yj25_36.js",
11
+ "static/chunks/0r5wwinf72z4g.js",
12
+ "static/chunks/3rh3nigvg06yu.js",
13
+ "static/chunks/3om1fkw-lrmng.js",
14
14
  "static/chunks/252jebodi67kg.js",
15
- "static/chunks/41e2wlkp9_pvk.js",
16
- "static/chunks/05-ui58k9illr.js",
17
15
  "static/chunks/13u_a5l2xngm4.js",
18
- "static/chunks/2ork76jhxvxke.js",
16
+ "static/chunks/05-ui58k9illr.js",
17
+ "static/chunks/0rqjr_lmrk4pz.js",
18
+ "static/chunks/360g4b1clnt45.js",
19
19
  "static/chunks/0jeddko6bac8h.js",
20
- "static/chunks/3yvmkdc088aly.js",
21
- "static/chunks/turbopack-1330tdm8r390q.js"
20
+ "static/chunks/3vjgbl76cgrmt.js",
21
+ "static/chunks/turbopack-3lm631px3s8-4.js"
22
22
  ])
@@ -5,7 +5,7 @@ __turbopack_load_page_chunks__("/orders", [
5
5
  "static/chunks/304cl99rh8rs_.js",
6
6
  "static/chunks/3cdfuacs4_0d-.js",
7
7
  "static/chunks/1rtv3c_klo0jk.js",
8
- "static/chunks/3yvmkdc088aly.js",
8
+ "static/chunks/3vjgbl76cgrmt.js",
9
9
  "static/chunks/33emlry70k-lv.js",
10
10
  "static/chunks/40xhwnc_48o73.js",
11
11
  "static/chunks/0rqjr_lmrk4pz.js",
@@ -14,9 +14,9 @@ __turbopack_load_page_chunks__("/orders", [
14
14
  "static/chunks/252jebodi67kg.js",
15
15
  "static/chunks/0jeddko6bac8h.js",
16
16
  "static/chunks/05-ui58k9illr.js",
17
- "static/chunks/3cq123yj25_36.js",
17
+ "static/chunks/3om1fkw-lrmng.js",
18
18
  "static/chunks/41e2wlkp9_pvk.js",
19
19
  "static/chunks/270ua9t85a7ev.js",
20
20
  "static/chunks/1cy-2yb5j5_9b.js",
21
- "static/chunks/turbopack-07fw0g9aver98.js"
21
+ "static/chunks/turbopack-21_p8k9zs76-x.js"
22
22
  ])
@@ -3,11 +3,11 @@ __turbopack_load_page_chunks__("/log-in", [
3
3
  "static/chunks/1ndk3s-aeqfej.js",
4
4
  "static/chunks/41e2wlkp9_pvk.js",
5
5
  "static/chunks/2fjmw94mat8m0.js",
6
- "static/chunks/3yvmkdc088aly.js",
6
+ "static/chunks/3vjgbl76cgrmt.js",
7
7
  "static/chunks/0jeddko6bac8h.js",
8
8
  "static/chunks/0rqjr_lmrk4pz.js",
9
9
  "static/chunks/252jebodi67kg.js",
10
10
  "static/chunks/33emlry70k-lv.js",
11
- "static/chunks/3cq123yj25_36.js",
12
- "static/chunks/turbopack-0m1qzkhnpuk2j.js"
11
+ "static/chunks/3om1fkw-lrmng.js",
12
+ "static/chunks/turbopack-3d9zuhypuljic.js"
13
13
  ])
@@ -1,9 +1,9 @@
1
1
  __turbopack_load_page_chunks__("/500", [
2
2
  "static/chunks/37uz0njkj43tz.js",
3
3
  "static/chunks/252jebodi67kg.js",
4
- "static/chunks/3yvmkdc088aly.js",
4
+ "static/chunks/3vjgbl76cgrmt.js",
5
5
  "static/chunks/41e2wlkp9_pvk.js",
6
6
  "static/chunks/0jeddko6bac8h.js",
7
7
  "static/chunks/0rqjr_lmrk4pz.js",
8
- "static/chunks/turbopack-35awx_qvevnch.js"
8
+ "static/chunks/turbopack-3f06s1e12y6j9.js"
9
9
  ])
@@ -3,14 +3,14 @@ __turbopack_load_page_chunks__("/payment-provider/PaymentProviderDetailPage", [
3
3
  "static/chunks/1k4ep4igedo8p.js",
4
4
  "static/chunks/17b4rvj5k8ye2.js",
5
5
  "static/chunks/1rtv3c_klo0jk.js",
6
- "static/chunks/3yvmkdc088aly.js",
6
+ "static/chunks/3vjgbl76cgrmt.js",
7
7
  "static/chunks/1z1esw-t8kopy.js",
8
8
  "static/chunks/0jeddko6bac8h.js",
9
9
  "static/chunks/252jebodi67kg.js",
10
10
  "static/chunks/33emlry70k-lv.js",
11
- "static/chunks/3cq123yj25_36.js",
11
+ "static/chunks/3om1fkw-lrmng.js",
12
12
  "static/chunks/05-ui58k9illr.js",
13
13
  "static/chunks/0rqjr_lmrk4pz.js",
14
14
  "static/chunks/41e2wlkp9_pvk.js",
15
- "static/chunks/turbopack-1bjaxey2pj8nn.js"
15
+ "static/chunks/turbopack-4592lth1oe0jg.js"
16
16
  ])