@unchainedshop/admin-ui 4.8.11 → 5.0.0-alpha.2

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 (599) 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/{Oej-rEkSjTdhkP0aBqeby → NCD-SJ8yCV0Afw8rFopK9}/_buildManifest.js +62 -62
  7. package/out/_next/static/chunks/0-beu4vu82jrh.js +1 -0
  8. package/out/_next/static/chunks/0-bq_~1lrxscv.js +1 -0
  9. package/out/_next/static/chunks/0-gs6rs8.en66.js +807 -0
  10. package/out/_next/static/chunks/0.4qfzuvwzsxc.js +346 -0
  11. package/out/_next/static/chunks/0.ezy3xvxrqcc.js +15 -0
  12. package/out/_next/static/chunks/0.i9a933lfo25.js +110 -0
  13. package/out/_next/static/chunks/0.qv4h3l4v.mz.js +807 -0
  14. package/out/_next/static/chunks/00-1l-sb67jn-.js +807 -0
  15. package/out/_next/static/chunks/0063j04yfdol-.js +13 -0
  16. package/out/_next/static/chunks/006d2uxhsngs-.js +1 -0
  17. package/out/_next/static/chunks/00d66~in48qe1.js +108 -0
  18. package/out/_next/static/chunks/00u_9mz-xfmbu.js +119 -0
  19. package/out/_next/static/chunks/00ysn67q-k.lf.js +384 -0
  20. package/out/_next/static/chunks/00z8y5zmd5ley.js +16 -0
  21. package/out/_next/static/chunks/01.ug0e_hak5n.js +31 -0
  22. package/out/_next/static/chunks/{0444v9vs5vvje.js → 01755gvyv1u4p.js} +20 -20
  23. package/out/_next/static/chunks/024hggxa5rlsk.js +16 -0
  24. package/out/_next/static/chunks/025rs.6-.kttm.js +177 -0
  25. package/out/_next/static/chunks/029met6o9c69_.js +132 -0
  26. package/out/_next/static/chunks/035ijcwfe128..js +13 -0
  27. package/out/_next/static/chunks/039.n12k.ourz.js +1 -0
  28. package/out/_next/static/chunks/039laq217w5af.js +1 -0
  29. package/out/_next/static/chunks/03awhk2amfyg9.js +13 -0
  30. package/out/_next/static/chunks/03b6o0yl3wq69.js +324 -0
  31. package/out/_next/static/chunks/03exf~-d8n0~p.js +12 -0
  32. package/out/_next/static/chunks/043qhigp~b~xd.js +288 -0
  33. package/out/_next/static/chunks/047b32b2zk0zr.js +50 -0
  34. package/out/_next/static/chunks/{0dj69-rrt68gb.js → 04ljxsi4h8opa.js} +2 -2
  35. package/out/_next/static/chunks/05-wy9wkovd44.js +66 -0
  36. package/out/_next/static/chunks/059j6ba8pjbxt.js +2 -0
  37. package/out/_next/static/chunks/05c669_6-rcl4.js +15 -0
  38. package/out/_next/static/chunks/05ebn-rbx77t1.js +1 -0
  39. package/out/_next/static/chunks/05ijoypg9erzj.js +15 -0
  40. package/out/_next/static/chunks/05mdbs7fsyl0j.js +15 -0
  41. package/out/_next/static/chunks/05xkbw-s9zm4v.js +1 -0
  42. package/out/_next/static/chunks/05y5i1xi9l7xo.js +46 -0
  43. package/out/_next/static/chunks/06jxo~w32bob0.js +14 -0
  44. package/out/_next/static/chunks/06l-x0hfnht~9.js +12 -0
  45. package/out/_next/static/chunks/06rpbu900ohev.js +807 -0
  46. package/out/_next/static/chunks/06wxd~64yev29.js +1 -0
  47. package/out/_next/static/chunks/074t2kkalxoor.js +54 -0
  48. package/out/_next/static/chunks/0757.exyqs35o.js +1 -0
  49. package/out/_next/static/chunks/07bj_95mgrfr7.js +81 -0
  50. package/out/_next/static/chunks/07gsr_4x3t83l.js +1 -0
  51. package/out/_next/static/chunks/07m0kcby2q9_3.js +119 -0
  52. package/out/_next/static/chunks/07rosayyue4dv.js +5 -0
  53. package/out/_next/static/chunks/07vc0lr9~n374.js +807 -0
  54. package/out/_next/static/chunks/07we~tcuuf587.js +1 -0
  55. package/out/_next/static/chunks/08-e12375gky7.js +1 -0
  56. package/out/_next/static/chunks/08g5cr0k-wewy.js +13 -0
  57. package/out/_next/static/chunks/08gnfg~ucaonj.js +31 -0
  58. package/out/_next/static/chunks/08l8.c5-zq8l_.js +13 -0
  59. package/out/_next/static/chunks/08s08655wboxs.js +224 -0
  60. package/out/_next/static/chunks/08ubwqxtv1pi8.js +471 -0
  61. package/out/_next/static/chunks/093du9_a7j~e9.js +22 -0
  62. package/out/_next/static/chunks/09ar00gwggnv2.js +92 -0
  63. package/out/_next/static/chunks/09ew07.pd~qmo.js +31 -0
  64. package/out/_next/static/chunks/09h16th.ukf49.js +9 -0
  65. package/out/_next/static/chunks/09i.iewg619r8.js +1 -0
  66. package/out/_next/static/chunks/09ird980jk5l4.js +1 -0
  67. package/out/_next/static/chunks/09ti6--w-81qk.js +12 -0
  68. package/out/_next/static/chunks/0_.rynghl8eid.js +16 -0
  69. package/out/_next/static/chunks/0_fjllta7r.pd.js +1 -0
  70. package/out/_next/static/chunks/0_hapi9~w_m74.js +807 -0
  71. package/out/_next/static/chunks/0_rymam7ts5h_.js +61 -0
  72. package/out/_next/static/chunks/0_tmrtwx_w001.js +1 -0
  73. package/out/_next/static/chunks/0_wmd30ovkohg.js +14 -0
  74. package/out/_next/static/chunks/0a1flay6uksa2.js +1 -0
  75. package/out/_next/static/chunks/0a4iuso54enw6.js +43 -0
  76. package/out/_next/static/chunks/0a9xn3eyi55p7.js +807 -0
  77. package/out/_next/static/chunks/0ab-_zb.d-ta~.js +13 -0
  78. package/out/_next/static/chunks/0agmcim_ow38h.js +41 -0
  79. package/out/_next/static/chunks/0ah_xk7gumihc.js +10 -0
  80. package/out/_next/static/chunks/0al9fetggpofs.js +101 -0
  81. package/out/_next/static/chunks/0apih1f_pg7x5.js +22 -0
  82. package/out/_next/static/chunks/0aqef_pw6d4-x.js +12 -0
  83. package/out/_next/static/chunks/0av.mpk52l~sj.js +78 -0
  84. package/out/_next/static/chunks/0b26w_2v.jnnp.js +23 -0
  85. package/out/_next/static/chunks/{0y153o27bxgcb.js → 0bgpq4k~.1ow~.js} +1 -1
  86. package/out/_next/static/chunks/0b~~k586vhgzn.js +22 -0
  87. package/out/_next/static/chunks/0c1ohyu0~45-6.js +16 -0
  88. package/out/_next/static/chunks/0c6zpdc5tnyit.js +14 -0
  89. package/out/_next/static/chunks/0cxr_f9owlixa.js +147 -0
  90. package/out/_next/static/chunks/0d4_~230qii9x.js +8 -0
  91. package/out/_next/static/chunks/0d7ng.3g0fqyq.js +14 -0
  92. package/out/_next/static/chunks/0dgzbrz_ks6y3.js +836 -0
  93. package/out/_next/static/chunks/0dmlsqy.34z7l.js +5 -0
  94. package/out/_next/static/chunks/0d~mpqdnsqc_3.js +217 -0
  95. package/out/_next/static/chunks/0e.ov59u.i2g..js +26 -0
  96. package/out/_next/static/chunks/0e7j7~xp-kfcl.js +1 -0
  97. package/out/_next/static/chunks/0eshxr9tyc-ob.js +1 -0
  98. package/out/_next/static/chunks/0eyuawigvkque.js +144 -0
  99. package/out/_next/static/chunks/0f0p~b_1z06f-.js +12 -0
  100. package/out/_next/static/chunks/0f1vh2kuipe~w.js +1 -0
  101. package/out/_next/static/chunks/0f2lcm2fvm0o4.js +15 -0
  102. package/out/_next/static/chunks/0f5-n-rcb1ksy.js +61 -0
  103. package/out/_next/static/chunks/0f7rfo-9v~6ta.js +16 -0
  104. package/out/_next/static/chunks/0fadm_h6dqral.js +1 -0
  105. package/out/_next/static/chunks/0fgje3pp6kr-..js +21 -0
  106. package/out/_next/static/chunks/0fixfg1.spty7.js +8 -0
  107. package/out/_next/static/chunks/0fo857sizpzb..js +14 -0
  108. package/out/_next/static/chunks/0fpmn5~h1l5fy.js +51 -0
  109. package/out/_next/static/chunks/0fzx56yu8w89-.js +1 -0
  110. package/out/_next/static/chunks/0g5.zeq8z86p8.js +22 -0
  111. package/out/_next/static/chunks/0gcrw01taxxl6.js +1 -0
  112. package/out/_next/static/chunks/0hprhos6ompyh.js +1 -0
  113. package/out/_next/static/chunks/0htfk2vj7m.9j.js +1 -0
  114. package/out/_next/static/chunks/0hv.16xst798a.js +807 -0
  115. package/out/_next/static/chunks/0i67~d9m79069.js +1 -0
  116. package/out/_next/static/chunks/0i9ujbll13rjg.js +7 -0
  117. package/out/_next/static/chunks/0ixp-hqnt2hdk.js +188 -0
  118. package/out/_next/static/chunks/0j3_ll.umtrlh.js +15 -0
  119. package/out/_next/static/chunks/0j8_vntnh3wh1.js +384 -0
  120. package/out/_next/static/chunks/0jcl.bguz9-il.js +173 -0
  121. package/out/_next/static/chunks/0jhfv_wn9s6x1.js +1 -0
  122. package/out/_next/static/chunks/0jthyhkkkajye.js +87 -0
  123. package/out/_next/static/chunks/0jyfzjlxmkv47.js +1 -0
  124. package/out/_next/static/chunks/0k33b3l3swmdp.js +14 -0
  125. package/out/_next/static/chunks/0k8cqr5rpupnp.js +12 -0
  126. package/out/_next/static/chunks/0kacoozv1plky.js +12 -0
  127. package/out/_next/static/chunks/{0dtm~dk5ru_ql.js → 0kb8vq-u9e5ie.js} +51 -51
  128. package/out/_next/static/chunks/0kpfj.1wbd8ym.js +200 -0
  129. package/out/_next/static/chunks/0kws6.oh9adj9.js +14 -0
  130. package/out/_next/static/chunks/0l6-vjb..0-s7.js +286 -0
  131. package/out/_next/static/chunks/0l8ujxmk7702g.js +1 -0
  132. package/out/_next/static/chunks/0lcd2so6jg-_l.js +44 -0
  133. package/out/_next/static/chunks/0lhvveiv7i555.js +13 -0
  134. package/out/_next/static/chunks/0lim3v66fnjbi.js +73 -0
  135. package/out/_next/static/chunks/0lj_~1h9s9o4p.js +15 -0
  136. package/out/_next/static/chunks/0m2jz56bm31rn.js +13 -0
  137. package/out/_next/static/chunks/0mw6751mia5o-.js +13 -0
  138. package/out/_next/static/chunks/0m~4npg.nbafl.js +807 -0
  139. package/out/_next/static/chunks/0nnrgfwlre~2w.js +12 -0
  140. package/out/_next/static/chunks/0nvdm-r7zmv-l.js +1 -0
  141. package/out/_next/static/chunks/0nyyy1v4911lw.js +59 -0
  142. package/out/_next/static/chunks/{0jd8.rmorspgs.js → 0o05daemjdhug.js} +22 -22
  143. package/out/_next/static/chunks/0o6szwcbqvtk..js +1 -0
  144. package/out/_next/static/chunks/0oq1lazm-ypco.js +15 -0
  145. package/out/_next/static/chunks/0owfq70q4gv3g.js +11 -0
  146. package/out/_next/static/chunks/0o~ytet2snd7..js +18 -0
  147. package/out/_next/static/chunks/0pooq0ei74.fu.js +17 -0
  148. package/out/_next/static/chunks/0q92oiu-paus_.js +1 -0
  149. package/out/_next/static/chunks/{0-p9pb.cw90kr.js → 0r.pkr~.dyugv.js} +9 -9
  150. package/out/_next/static/chunks/0r.xn-_woklgt.js +138 -0
  151. package/out/_next/static/chunks/0r2eg~z0yxhkm.js +384 -0
  152. package/out/_next/static/chunks/{0dbnzgy__l-zl.js → 0rf4yd5v399-n.js} +20 -20
  153. package/out/_next/static/chunks/0s9gw8v77opep.js +12 -0
  154. package/out/_next/static/chunks/0sq1ba8siz_al.js +46 -0
  155. package/out/_next/static/chunks/0tgyufn7ieyma.js +23 -0
  156. package/out/_next/static/chunks/0tq-lptj3-s~9.js +7 -0
  157. package/out/_next/static/chunks/0tur4u0bq8afu.js +1 -0
  158. package/out/_next/static/chunks/0u.p7-5euvw9g.js +101 -0
  159. package/out/_next/static/chunks/0u0zlnx_0uuo~.js +1 -0
  160. package/out/_next/static/chunks/0ud072y3rsxuo.js +26 -0
  161. package/out/_next/static/chunks/0ueboweabxsm_.js +12 -0
  162. package/out/_next/static/chunks/0ulpot4q9efmn.js +1 -0
  163. package/out/_next/static/chunks/0up4o93erzv5i.js +15 -0
  164. package/out/_next/static/chunks/0uppdoxx035f~.js +807 -0
  165. package/out/_next/static/chunks/0v01e3xk0z2zz.js +10 -0
  166. package/out/_next/static/chunks/0v7odmyxhwxk9.js +5 -0
  167. package/out/_next/static/chunks/0vaop4ncta92i.js +43 -0
  168. package/out/_next/static/chunks/0vef8~~ul~q~3.js +188 -0
  169. package/out/_next/static/chunks/{0yemg5dfo1d6c.js → 0vjviijon1cf_.js} +22 -22
  170. package/out/_next/static/chunks/0vo3lqvc1gnao.js +1 -0
  171. package/out/_next/static/chunks/0vqde~70jg4mp.js +13 -0
  172. package/out/_next/static/chunks/0w_lpiygl_gbj.js +51 -0
  173. package/out/_next/static/chunks/0wm9vrqp0f2-g.js +1 -0
  174. package/out/_next/static/chunks/0wt4fkc59wtk~.js +1 -0
  175. package/out/_next/static/chunks/0x0ro0p0oede-.js +1 -0
  176. package/out/_next/static/chunks/0x5~rk9ckvkzm.js +5 -0
  177. package/out/_next/static/chunks/0xa.gldl0ypuc.js +36 -0
  178. package/out/_next/static/chunks/0xyz4eb8oj14e.js +32 -0
  179. package/out/_next/static/chunks/0x~m529wi_q8r.js +807 -0
  180. package/out/_next/static/chunks/0ygzo.kyf038-.js +13 -0
  181. package/out/_next/static/chunks/{0xu40j3x4u2c0.js → 0z5_-ukry36hl.js} +7 -7
  182. package/out/_next/static/chunks/0z69nmy7s-zha.js +10 -0
  183. package/out/_next/static/chunks/0zcy4ll048jyy.js +13 -0
  184. package/out/_next/static/chunks/0zpa9vt2u_r06.js +14 -0
  185. package/out/_next/static/chunks/0zsl0gp2-m_8s.js +1 -0
  186. package/out/_next/static/chunks/0zw1-wa39f8lg.js +1 -0
  187. package/out/_next/static/chunks/0z~lvtnl1p.em.js +78 -0
  188. package/out/_next/static/chunks/0~4r9ol9.3i_l.js +46 -0
  189. package/out/_next/static/chunks/0~4s5vi61p7ev.js +291 -0
  190. package/out/_next/static/chunks/0~6ud_t-945ch.js +288 -0
  191. package/out/_next/static/chunks/0~mh5ybxo9nf2.js +19 -0
  192. package/out/_next/static/chunks/0~zg_~~subg_x.js +1 -0
  193. package/out/_next/static/chunks/10.uqlra33~68.js +13 -0
  194. package/out/_next/static/chunks/10g0ipk~-ofy6.js +20 -0
  195. package/out/_next/static/chunks/10h4imeqlg217.js +8 -0
  196. package/out/_next/static/chunks/10jiudk1sj2jm.js +14 -0
  197. package/out/_next/static/chunks/10kcfk2uu1e6x.js +73 -0
  198. package/out/_next/static/chunks/10pv9vc9myzuy.js +58 -0
  199. package/out/_next/static/chunks/11d00p~.l1k_u.js +8 -0
  200. package/out/_next/static/chunks/{0_peeqj43watt.js → 11lx7_qu.04js.js} +51 -51
  201. package/out/_next/static/chunks/11svm4d1gbpg3.js +13 -0
  202. package/out/_next/static/chunks/11xvbwibrxg70.js +44 -0
  203. package/out/_next/static/chunks/12_-fnbe.fpy3.js +142 -0
  204. package/out/_next/static/chunks/12_5sds1suvhm.js +13 -0
  205. package/out/_next/static/chunks/12eo~x2_f0n1c.js +1 -0
  206. package/out/_next/static/chunks/131o1ib1p4q0~.js +807 -0
  207. package/out/_next/static/chunks/{04tuvmeysc~sl.js → 13azvhnsuoq~i.js} +9 -9
  208. package/out/_next/static/chunks/13qkehmx~~nca.js +1 -0
  209. package/out/_next/static/chunks/13xo605mvuvr..js +137 -0
  210. package/out/_next/static/chunks/14-js791sn0n..js +90 -0
  211. package/out/_next/static/chunks/149uwpe4mqt~4.js +3 -0
  212. package/out/_next/static/chunks/152e33k3zn_7h.js +13 -0
  213. package/out/_next/static/chunks/{0v4n6xg99spau.js → 156o0mg9e~c1z.js} +4 -4
  214. package/out/_next/static/chunks/15946_7~ym9mj.js +1 -0
  215. package/out/_next/static/chunks/15im3g6.ezb86.js +16 -0
  216. package/out/_next/static/chunks/167enz~evud8u.js +1 -0
  217. package/out/_next/static/chunks/16dxg.m0iyhff.js +20 -0
  218. package/out/_next/static/chunks/16e76-izprx_3.js +60 -0
  219. package/out/_next/static/chunks/17556jivokcgt.js +13 -0
  220. package/out/_next/static/chunks/17831iuhggap-.js +5 -0
  221. package/out/_next/static/chunks/17lq99ack-rqn.js +7 -0
  222. package/out/_next/static/chunks/1801hoawv7tvj.js +209 -0
  223. package/out/_next/static/chunks/turbopack-0-f1h~_vf~hgt.js +1 -0
  224. package/out/_next/static/chunks/turbopack-00gp6932c5-pc.js +1 -0
  225. package/out/_next/static/chunks/turbopack-00tplfce3sqmv.js +1 -0
  226. package/out/_next/static/chunks/turbopack-02xfqg-e5e5bq.js +1 -0
  227. package/out/_next/static/chunks/turbopack-033ew5zdp4sni.js +1 -0
  228. package/out/_next/static/chunks/turbopack-04ryg.qj6ce.e.js +1 -0
  229. package/out/_next/static/chunks/turbopack-05pr_j8b3qpck.js +1 -0
  230. package/out/_next/static/chunks/turbopack-05t73_ssb6_h5.js +1 -0
  231. package/out/_next/static/chunks/turbopack-06k1fv3edi.oc.js +1 -0
  232. package/out/_next/static/chunks/turbopack-06s9wk6xrnhe..js +1 -0
  233. package/out/_next/static/chunks/{turbopack-07774tspl5h6_.js → turbopack-07pf350usbyrn.js} +1 -1
  234. package/out/_next/static/chunks/turbopack-07qx6il~q8zvj.js +1 -0
  235. package/out/_next/static/chunks/turbopack-093c3g8x0fud~.js +1 -0
  236. package/out/_next/static/chunks/turbopack-09mkh-~o1m0t4.js +1 -0
  237. package/out/_next/static/chunks/turbopack-0_6hyjgtzvvlt.js +1 -0
  238. package/out/_next/static/chunks/turbopack-0_jrb8zv4u-h5.js +1 -0
  239. package/out/_next/static/chunks/turbopack-0_z4clx8_mihg.js +1 -0
  240. package/out/_next/static/chunks/turbopack-0_~3azjxcbh7b.js +1 -0
  241. package/out/_next/static/chunks/{turbopack-0_04py46q81ll.js → turbopack-0acoq2sfyoi9y.js} +1 -1
  242. package/out/_next/static/chunks/turbopack-0ce310hugu4ud.js +1 -0
  243. package/out/_next/static/chunks/turbopack-0cq29kq0j_4v~.js +1 -0
  244. package/out/_next/static/chunks/{turbopack-0ll7hnc1de-69.js → turbopack-0e-cncqz58fjt.js} +1 -1
  245. package/out/_next/static/chunks/turbopack-0e2su8irrrxe9.js +1 -0
  246. package/out/_next/static/chunks/{turbopack-03z9vio13h1ny.js → turbopack-0e8f.eohopo8i.js} +1 -1
  247. package/out/_next/static/chunks/turbopack-0ek~cn8gmycju.js +1 -0
  248. package/out/_next/static/chunks/turbopack-0eywiuu9zzv~v.js +1 -0
  249. package/out/_next/static/chunks/{turbopack-0kuvqte--qm2t.js → turbopack-0ft2eo1uoq84f.js} +1 -1
  250. package/out/_next/static/chunks/turbopack-0h0v60mhtl8e5.js +1 -0
  251. package/out/_next/static/chunks/turbopack-0hd7gd_hw0ffd.js +1 -0
  252. package/out/_next/static/chunks/turbopack-0ho~reia368_n.js +1 -0
  253. package/out/_next/static/chunks/turbopack-0hs67a4-408yr.js +1 -0
  254. package/out/_next/static/chunks/turbopack-0hzo_yuvuoq4p.js +1 -0
  255. package/out/_next/static/chunks/turbopack-0iqen9zbwhwwt.js +1 -0
  256. package/out/_next/static/chunks/turbopack-0lse_458kpvoc.js +1 -0
  257. package/out/_next/static/chunks/turbopack-0m802fcmg9zeo.js +1 -0
  258. package/out/_next/static/chunks/{turbopack-0-6~w8q~9si0v.js → turbopack-0mh8jqpakiu6t.js} +1 -1
  259. package/out/_next/static/chunks/turbopack-0n7uk~in3~kz5.js +1 -0
  260. package/out/_next/static/chunks/turbopack-0oq4yqp_mwlp8.js +1 -0
  261. package/out/_next/static/chunks/turbopack-0p8.m9z07pk0d.js +1 -0
  262. package/out/_next/static/chunks/turbopack-0q35m3rl2~7_w.js +1 -0
  263. package/out/_next/static/chunks/{turbopack-11e6.8on39y6h.js → turbopack-0qj_d90z9-.xb.js} +1 -1
  264. package/out/_next/static/chunks/{turbopack-11x68dboksic9.js → turbopack-0rw3antw3c5q1.js} +1 -1
  265. package/out/_next/static/chunks/turbopack-0s1w5b4s~tq0a.js +1 -0
  266. package/out/_next/static/chunks/{turbopack-0_3nhb8brb5wh.js → turbopack-0s3brlp4-qpvy.js} +1 -1
  267. package/out/_next/static/chunks/{turbopack-0iemdkj3a807v.js → turbopack-0ssu8b8ns4wgj.js} +1 -1
  268. package/out/_next/static/chunks/{turbopack-0oj-rr3iw4m38.js → turbopack-0txlw7w4nbwom.js} +1 -1
  269. package/out/_next/static/chunks/turbopack-0umaqu4ffby0g.js +1 -0
  270. package/out/_next/static/chunks/turbopack-0upagoxw-k-s-.js +1 -0
  271. package/out/_next/static/chunks/{turbopack-0gsddwulki_dd.js → turbopack-0v97f616jctw_.js} +1 -1
  272. package/out/_next/static/chunks/turbopack-0vborwvkaogp3.js +1 -0
  273. package/out/_next/static/chunks/turbopack-0vii195vc_rhx.js +1 -0
  274. package/out/_next/static/chunks/turbopack-0vy4m9hkmjj~..js +1 -0
  275. package/out/_next/static/chunks/turbopack-0wkwlz_hsol74.js +1 -0
  276. package/out/_next/static/chunks/turbopack-0w~j_hagmzb-9.js +1 -0
  277. package/out/_next/static/chunks/turbopack-0xe-7k8uoudaf.js +1 -0
  278. package/out/_next/static/chunks/turbopack-107_r~te8y84z.js +1 -0
  279. package/out/_next/static/chunks/turbopack-10m1bv2pqkdnu.js +1 -0
  280. package/out/_next/static/chunks/turbopack-11b3cci1vf3sv.js +1 -0
  281. package/out/_next/static/chunks/turbopack-11bncwch._hz4.js +1 -0
  282. package/out/_next/static/chunks/turbopack-11f~mh1t1pbfv.js +1 -0
  283. package/out/_next/static/chunks/turbopack-14fqn-ie4g30t.js +1 -0
  284. package/out/_next/static/chunks/turbopack-151-hh8klk1hk.js +1 -0
  285. package/out/_next/static/chunks/turbopack-16yza259goc47.js +1 -0
  286. package/out/_offline/index.html +2 -2
  287. package/out/account/forgot-password/index.html +2 -2
  288. package/out/account/index.html +2 -2
  289. package/out/assortments/AssortmentDetailPage/index.html +2 -2
  290. package/out/assortments/index.html +2 -2
  291. package/out/assortments/new/index.html +2 -2
  292. package/out/copilot/index.html +2 -2
  293. package/out/country/CountryDetailPage/index.html +2 -2
  294. package/out/country/index.html +2 -2
  295. package/out/country/new/index.html +2 -2
  296. package/out/currency/CurrencyDetailPage/index.html +2 -2
  297. package/out/currency/index.html +2 -2
  298. package/out/currency/new/index.html +2 -2
  299. package/out/delivery-provider/DeliveryProviderDetailPage/index.html +2 -2
  300. package/out/delivery-provider/index.html +2 -2
  301. package/out/delivery-provider/new/index.html +2 -2
  302. package/out/enrollments/EnrollmentDetailPage/index.html +2 -2
  303. package/out/enrollments/index.html +2 -2
  304. package/out/events/EventDetailPage/index.html +2 -2
  305. package/out/events/index.html +2 -2
  306. package/out/exports/index.html +2 -2
  307. package/out/external/index.html +2 -2
  308. package/out/filters/FilterDetailPage/index.html +2 -2
  309. package/out/filters/index.html +2 -2
  310. package/out/filters/new/index.html +2 -2
  311. package/out/index.html +2 -2
  312. package/out/install/index.html +2 -2
  313. package/out/language/LanguageDetailPage/index.html +2 -2
  314. package/out/language/index.html +2 -2
  315. package/out/language/new/index.html +2 -2
  316. package/out/log-in/index.html +2 -2
  317. package/out/orders/OrderDetailPage/index.html +2 -2
  318. package/out/orders/index.html +2 -2
  319. package/out/payment-provider/PaymentProviderDetailPage/index.html +2 -2
  320. package/out/payment-provider/index.html +2 -2
  321. package/out/payment-provider/new/index.html +2 -2
  322. package/out/products/ProductDetailPage/index.html +2 -2
  323. package/out/products/index.html +2 -2
  324. package/out/products/new/index.html +2 -2
  325. package/out/quotations/QuotationDetailPage/index.html +2 -2
  326. package/out/quotations/index.html +2 -2
  327. package/out/reset-password/index.html +2 -2
  328. package/out/sign-up/index.html +2 -2
  329. package/out/styleguide/index.html +2 -2
  330. package/out/tokens/TokenDetailPage/index.html +2 -2
  331. package/out/tokens/index.html +2 -2
  332. package/out/users/UserDetailPage/index.html +2 -2
  333. package/out/users/index.html +2 -2
  334. package/out/users/new/index.html +2 -2
  335. package/out/verify-email/index.html +2 -2
  336. package/out/warehousing-provider/WarehousingProviderDetailPage/index.html +2 -2
  337. package/out/warehousing-provider/index.html +2 -2
  338. package/out/warehousing-provider/new/index.html +2 -2
  339. package/out/works/WorkDetailPage/index.html +2 -2
  340. package/out/works/WorkQueueListView/index.html +2 -2
  341. package/out/works/index.html +2 -2
  342. package/out/works/management/index.html +2 -2
  343. package/package.json +4 -1
  344. package/out/_next/static/chunks/0-01u~qwm1fkg.js +0 -14
  345. package/out/_next/static/chunks/0-1z9mbb_fbs..js +0 -14
  346. package/out/_next/static/chunks/0-vzy055sp9wr.js +0 -1
  347. package/out/_next/static/chunks/0.dn-h1j8v4~x.js +0 -7
  348. package/out/_next/static/chunks/0.fks0wfe_0-_.js +0 -1
  349. package/out/_next/static/chunks/0.gta53a9m-7m.js +0 -13
  350. package/out/_next/static/chunks/0.j7go8pveth3.js +0 -1
  351. package/out/_next/static/chunks/0.qq-wh2-26q3.js +0 -1
  352. package/out/_next/static/chunks/0.yn.a-3s4rgo.js +0 -13
  353. package/out/_next/static/chunks/005unltz3zdzz.js +0 -20
  354. package/out/_next/static/chunks/00cuokq6s_y23.js +0 -14
  355. package/out/_next/static/chunks/00ec7abn0h4kb.js +0 -16
  356. package/out/_next/static/chunks/00ny.5yebvyk2.js +0 -22
  357. package/out/_next/static/chunks/00q8cuapvy.ul.js +0 -88
  358. package/out/_next/static/chunks/01ly37nt0r9t_.js +0 -1
  359. package/out/_next/static/chunks/01p9qhko~whou.js +0 -16
  360. package/out/_next/static/chunks/02by8gs6xcp~a.js +0 -1
  361. package/out/_next/static/chunks/02k_d8_f063hp.js +0 -807
  362. package/out/_next/static/chunks/02ox.vp-1k8aw.js +0 -1
  363. package/out/_next/static/chunks/02oxvuuiqli6w.js +0 -23
  364. package/out/_next/static/chunks/02~2u2nfraaq0.js +0 -46
  365. package/out/_next/static/chunks/03f.hgo5xe9oh.js +0 -13
  366. package/out/_next/static/chunks/03i-oh-s7n3ic.js +0 -224
  367. package/out/_next/static/chunks/048r0bfvv6~ly.js +0 -14
  368. package/out/_next/static/chunks/04um8leo5wbqf.js +0 -13
  369. package/out/_next/static/chunks/05f.wewtaqw_~.js +0 -21
  370. package/out/_next/static/chunks/05w2_9eaof2.g.js +0 -807
  371. package/out/_next/static/chunks/066b-zet2bxyn.js +0 -78
  372. package/out/_next/static/chunks/067_urd-skw__.js +0 -15
  373. package/out/_next/static/chunks/069adpw594mmv.js +0 -807
  374. package/out/_next/static/chunks/06f9kp8f6~v2~.js +0 -13
  375. package/out/_next/static/chunks/06~j41cq6t4ez.js +0 -200
  376. package/out/_next/static/chunks/076fkz9jmd3rf.js +0 -188
  377. package/out/_next/static/chunks/07ji_96l7c-59.js +0 -119
  378. package/out/_next/static/chunks/0834492o--b0c.js +0 -1
  379. package/out/_next/static/chunks/088sjtqtc1dog.js +0 -43
  380. package/out/_next/static/chunks/08_3bc9rrp1nx.js +0 -807
  381. package/out/_next/static/chunks/08_t2zuh7p_8s.js +0 -73
  382. package/out/_next/static/chunks/08e102fb8y-n0.js +0 -324
  383. package/out/_next/static/chunks/08ea123yfenal.js +0 -44
  384. package/out/_next/static/chunks/08fcowge4kbn9.js +0 -17
  385. package/out/_next/static/chunks/08mu1xcbu0z5i.js +0 -1
  386. package/out/_next/static/chunks/08w_25l-9w__o.js +0 -807
  387. package/out/_next/static/chunks/092ay7yuyzc01.js +0 -1
  388. package/out/_next/static/chunks/097t33pwe895m.js +0 -1
  389. package/out/_next/static/chunks/099-wzq75lo~z.js +0 -61
  390. package/out/_next/static/chunks/09n7j2308y8rm.js +0 -119
  391. package/out/_next/static/chunks/09pznmi_a7y23.js +0 -7
  392. package/out/_next/static/chunks/09x0hx.fq_r1s.js +0 -384
  393. package/out/_next/static/chunks/0_bep1vjodl5x.js +0 -9
  394. package/out/_next/static/chunks/0_d.1muczyn53.js +0 -16
  395. package/out/_next/static/chunks/0_y0xpy88b_2a.js +0 -13
  396. package/out/_next/static/chunks/0a2p8fhu8my4l.js +0 -1
  397. package/out/_next/static/chunks/0aibn-vwfwnf7.js +0 -1
  398. package/out/_next/static/chunks/0apxfgx8fmha1.js +0 -8
  399. package/out/_next/static/chunks/0b77vnsduw424.js +0 -14
  400. package/out/_next/static/chunks/0bw9asdu.7f8g.js +0 -1
  401. package/out/_next/static/chunks/0cdswa.k71071.js +0 -59
  402. package/out/_next/static/chunks/0cqqtana0-p-8.js +0 -12
  403. package/out/_next/static/chunks/0d.hwx1daedfr.js +0 -13
  404. package/out/_next/static/chunks/0dayur_cchf2h.js +0 -1
  405. package/out/_next/static/chunks/0ddrwf88~cv.0.js +0 -132
  406. package/out/_next/static/chunks/0dplgfla93266.js +0 -288
  407. package/out/_next/static/chunks/0dv1tx7.yhe38.js +0 -10
  408. package/out/_next/static/chunks/0dwhff.v_~qy~.js +0 -81
  409. package/out/_next/static/chunks/0ei31tr0nzzpl.js +0 -209
  410. package/out/_next/static/chunks/0ekon89b1fwgg.js +0 -12
  411. package/out/_next/static/chunks/0eq5ptzaf6xwj.js +0 -217
  412. package/out/_next/static/chunks/0eqdirb3kr3_b.js +0 -19
  413. package/out/_next/static/chunks/0er8mp7b.-nmu.js +0 -1
  414. package/out/_next/static/chunks/0e~u0yv5hneyu.js +0 -12
  415. package/out/_next/static/chunks/0fkb~clkm7ljr.js +0 -51
  416. package/out/_next/static/chunks/0fr~--jq.h_41.js +0 -291
  417. package/out/_next/static/chunks/0ft4-vz2clmus.js +0 -346
  418. package/out/_next/static/chunks/0fy~3srvbjtzf.js +0 -8
  419. package/out/_next/static/chunks/0gkl4g.-ckw_m.js +0 -51
  420. package/out/_next/static/chunks/0gum1rmu988ah.js +0 -138
  421. package/out/_next/static/chunks/0h-6e.oxx.eqh.js +0 -13
  422. package/out/_next/static/chunks/0h.x_o_ck9t6g.js +0 -1
  423. package/out/_next/static/chunks/0h2.omn909o6x.js +0 -384
  424. package/out/_next/static/chunks/0hhfluc_sufgg.js +0 -7
  425. package/out/_next/static/chunks/0hj60nuxbwn6s.js +0 -23
  426. package/out/_next/static/chunks/0hv7e.jpmlvop.js +0 -61
  427. package/out/_next/static/chunks/0i.xcdg6xys-l.js +0 -1
  428. package/out/_next/static/chunks/0i3y-crk_xo3_.js +0 -14
  429. package/out/_next/static/chunks/0i5k7p8ofcp1x.js +0 -22
  430. package/out/_next/static/chunks/0i5uqe9h~gpfd.js +0 -15
  431. package/out/_next/static/chunks/0iqqjeg8f~phg.js +0 -836
  432. package/out/_next/static/chunks/0itsxwgpdfxpy.js +0 -1
  433. package/out/_next/static/chunks/0j2~9scdvg.0r.js +0 -1
  434. package/out/_next/static/chunks/0j4na46~xag8..js +0 -1
  435. package/out/_next/static/chunks/0jd1330r820ut.js +0 -13
  436. package/out/_next/static/chunks/0jj-w1zk-rk~d.js +0 -20
  437. package/out/_next/static/chunks/0jkqe2ebokvyz.js +0 -384
  438. package/out/_next/static/chunks/0jn7d~le.l-qy.js +0 -2
  439. package/out/_next/static/chunks/0jnzutr.4lybd.js +0 -13
  440. package/out/_next/static/chunks/0jtj1si~jhlq9.js +0 -14
  441. package/out/_next/static/chunks/0k3anlop2ta22.js +0 -1
  442. package/out/_next/static/chunks/0k5axa4.4x.4o.js +0 -1
  443. package/out/_next/static/chunks/0khnmpb9b54fj.js +0 -8
  444. package/out/_next/static/chunks/0kmh5j-_kjc~8.js +0 -177
  445. package/out/_next/static/chunks/0kwrv_~caahvk.js +0 -26
  446. package/out/_next/static/chunks/0l0~tb-cqltqh.js +0 -12
  447. package/out/_next/static/chunks/0lf4oc~5k8ob9.js +0 -31
  448. package/out/_next/static/chunks/0lftyg3ehly5-.js +0 -15
  449. package/out/_next/static/chunks/0lvph83c6z2a-.js +0 -1
  450. package/out/_next/static/chunks/0m05ofmbkwg~q.js +0 -15
  451. package/out/_next/static/chunks/0mb684ugzx0cd.js +0 -26
  452. package/out/_next/static/chunks/0mu0~~ci10n8m.js +0 -142
  453. package/out/_next/static/chunks/0n4fjutti0~d7.js +0 -50
  454. package/out/_next/static/chunks/0n8djcfqaa_s7.js +0 -807
  455. package/out/_next/static/chunks/0nir1be42q_w3.js +0 -13
  456. package/out/_next/static/chunks/0njdnvxfz3dun.js +0 -31
  457. package/out/_next/static/chunks/0nk56oi0x2gr8.js +0 -44
  458. package/out/_next/static/chunks/0nqc.toz8_xyd.js +0 -12
  459. package/out/_next/static/chunks/0o0ndzxedn8q1.js +0 -10
  460. package/out/_next/static/chunks/0o7s-i44qyxk3.js +0 -16
  461. package/out/_next/static/chunks/0oe8a9lw3ixw_.js +0 -90
  462. package/out/_next/static/chunks/0oo9g8eo9h5yw.js +0 -173
  463. package/out/_next/static/chunks/0ouimssgncvft.js +0 -87
  464. package/out/_next/static/chunks/0ozk6.xt1lkr_.js +0 -14
  465. package/out/_next/static/chunks/0o~whquist5u6.js +0 -1
  466. package/out/_next/static/chunks/0p.l10y-00o4w.js +0 -12
  467. package/out/_next/static/chunks/0p3qkswgdp17x.js +0 -1
  468. package/out/_next/static/chunks/0p4-vkuu76u5~.js +0 -471
  469. package/out/_next/static/chunks/0plpuwh-.mwo5.js +0 -1
  470. package/out/_next/static/chunks/0px8flnc6r_g4.js +0 -31
  471. package/out/_next/static/chunks/0qeca73h4q43p.js +0 -41
  472. package/out/_next/static/chunks/0ryq71192mcev.js +0 -43
  473. package/out/_next/static/chunks/0s-f8~rl~zf2..js +0 -13
  474. package/out/_next/static/chunks/0smri9mw5phdg.js +0 -288
  475. package/out/_next/static/chunks/0t0pn.iys9fdl.js +0 -16
  476. package/out/_next/static/chunks/0t52j5xo_.0jd.js +0 -73
  477. package/out/_next/static/chunks/0t88lle6oetlb.js +0 -15
  478. package/out/_next/static/chunks/0ta5trm5g8qpx.js +0 -1
  479. package/out/_next/static/chunks/0tav_iy10~qcx.js +0 -18
  480. package/out/_next/static/chunks/0ukwl63tysj1t.js +0 -12
  481. package/out/_next/static/chunks/0v19iij34y1g4.js +0 -1
  482. package/out/_next/static/chunks/0vdmirwhkt_t7.js +0 -286
  483. package/out/_next/static/chunks/0veeay_174wme.js +0 -13
  484. package/out/_next/static/chunks/0voqqs739t.uk.js +0 -78
  485. package/out/_next/static/chunks/0w0x67uxhefa9.js +0 -13
  486. package/out/_next/static/chunks/0w2~_0hgru~wr.js +0 -46
  487. package/out/_next/static/chunks/0wcvru_c_21av.js +0 -1
  488. package/out/_next/static/chunks/0whq69wyy9mrh.js +0 -1
  489. package/out/_next/static/chunks/0wkhi7vsft5zy.js +0 -807
  490. package/out/_next/static/chunks/0wzxbg~gfdkkc.js +0 -14
  491. package/out/_next/static/chunks/0x3~dktev02hs.js +0 -13
  492. package/out/_next/static/chunks/0x5ilscrrv6~1.js +0 -110
  493. package/out/_next/static/chunks/0x_q8ktl_ccm7.js +0 -12
  494. package/out/_next/static/chunks/0xg13~h1q-4wq.js +0 -807
  495. package/out/_next/static/chunks/0xo8shvrztopj.js +0 -147
  496. package/out/_next/static/chunks/0xxv0h5xelyms.js +0 -101
  497. package/out/_next/static/chunks/0y716m85hgco3.js +0 -5
  498. package/out/_next/static/chunks/0y9.8zp_to0fs.js +0 -11
  499. package/out/_next/static/chunks/0yjqctx~9h.9k.js +0 -1
  500. package/out/_next/static/chunks/0z55vj~dwehry.js +0 -807
  501. package/out/_next/static/chunks/0zd5afm6t81vs.js +0 -1
  502. package/out/_next/static/chunks/0zff0c7x5z6_z.js +0 -13
  503. package/out/_next/static/chunks/0zjngfnbmwi6m.js +0 -60
  504. package/out/_next/static/chunks/0~0k0yxy.x0ih.js +0 -188
  505. package/out/_next/static/chunks/0~40bss~m7hpk.js +0 -13
  506. package/out/_next/static/chunks/0~43o-wxy_.-w.js +0 -15
  507. package/out/_next/static/chunks/0~67ogqi2l8n~.js +0 -22
  508. package/out/_next/static/chunks/0~ldj8e4t-0-5.js +0 -144
  509. package/out/_next/static/chunks/0~w0afyd_zp4j.js +0 -14
  510. package/out/_next/static/chunks/10g_ivkfe_49~.js +0 -12
  511. package/out/_next/static/chunks/10k~k9x3.e99r.js +0 -16
  512. package/out/_next/static/chunks/10lg-c~h0z6~d.js +0 -12
  513. package/out/_next/static/chunks/10~.1apsh-kfb.js +0 -1
  514. package/out/_next/static/chunks/117qfpg418vc6.js +0 -5
  515. package/out/_next/static/chunks/11bf5zm2mn9px.js +0 -46
  516. package/out/_next/static/chunks/11rru5ogzzx_j.js +0 -36
  517. package/out/_next/static/chunks/12.h76jtor_rj.js +0 -66
  518. package/out/_next/static/chunks/1263v.z.fftxb.js +0 -15
  519. package/out/_next/static/chunks/12e9r88m3f7iz.js +0 -108
  520. package/out/_next/static/chunks/12e_gn-hj1ad4.js +0 -5
  521. package/out/_next/static/chunks/12udenvxlldjc.js +0 -1
  522. package/out/_next/static/chunks/12uh_yb_75x0h.js +0 -1
  523. package/out/_next/static/chunks/12yq1ls494c3e.js +0 -1
  524. package/out/_next/static/chunks/132a7_rgx_rus.js +0 -50
  525. package/out/_next/static/chunks/139_oo00lvydh.js +0 -807
  526. package/out/_next/static/chunks/13eiix5u7i7j1.js +0 -3
  527. package/out/_next/static/chunks/1440uyef3_ev4.js +0 -807
  528. package/out/_next/static/chunks/14ndhua15~3r1.js +0 -10
  529. package/out/_next/static/chunks/14tbg01czewdy.js +0 -1
  530. package/out/_next/static/chunks/14yoqfc~gp5yq.js +0 -1
  531. package/out/_next/static/chunks/15-wwksq4a9o5.js +0 -32
  532. package/out/_next/static/chunks/15a678vk8~p11.js +0 -137
  533. package/out/_next/static/chunks/15smkfwzgkz~2.js +0 -5
  534. package/out/_next/static/chunks/15tvy019rwlb..js +0 -58
  535. package/out/_next/static/chunks/15wk0oyu.adi8.js +0 -1
  536. package/out/_next/static/chunks/16.yzw8q5dwcz.js +0 -1
  537. package/out/_next/static/chunks/167p0dsz_1f4v.js +0 -807
  538. package/out/_next/static/chunks/16as4rb85ngv2.js +0 -1
  539. package/out/_next/static/chunks/16iaexcq32a3m.js +0 -101
  540. package/out/_next/static/chunks/17.fqrstqymk0.js +0 -5
  541. package/out/_next/static/chunks/173avbzj-ghr~.js +0 -1
  542. package/out/_next/static/chunks/180ah77iay.nu.js +0 -22
  543. package/out/_next/static/chunks/181fxym9wgh_m.js +0 -1
  544. package/out/_next/static/chunks/189adz9jh0e80.js +0 -15
  545. package/out/_next/static/chunks/18aidrj1ftmgi.js +0 -8
  546. package/out/_next/static/chunks/18djseicy_rdm.js +0 -1
  547. package/out/_next/static/chunks/turbopack-0-a6wkl2rnj3u.js +0 -1
  548. package/out/_next/static/chunks/turbopack-0-n0i.nps89_u.js +0 -1
  549. package/out/_next/static/chunks/turbopack-0.dvna7u5z_2t.js +0 -1
  550. package/out/_next/static/chunks/turbopack-004_5glz4tzvt.js +0 -1
  551. package/out/_next/static/chunks/turbopack-00k74f.l.n9eh.js +0 -1
  552. package/out/_next/static/chunks/turbopack-0390je36abn47.js +0 -1
  553. package/out/_next/static/chunks/turbopack-04-czjdptl98~.js +0 -1
  554. package/out/_next/static/chunks/turbopack-05fcyg.6697~o.js +0 -1
  555. package/out/_next/static/chunks/turbopack-06trn4mxohhv9.js +0 -1
  556. package/out/_next/static/chunks/turbopack-06y4ti_3-xfxw.js +0 -1
  557. package/out/_next/static/chunks/turbopack-09.yk~v._-~sx.js +0 -1
  558. package/out/_next/static/chunks/turbopack-0902ghvz2yz7f.js +0 -1
  559. package/out/_next/static/chunks/turbopack-09a.nrbi3_mhm.js +0 -1
  560. package/out/_next/static/chunks/turbopack-09gl2yvdtqgnd.js +0 -1
  561. package/out/_next/static/chunks/turbopack-09sbn6m8t1l1b.js +0 -1
  562. package/out/_next/static/chunks/turbopack-09x4vbn68qqj4.js +0 -1
  563. package/out/_next/static/chunks/turbopack-0acsueuxvueuc.js +0 -1
  564. package/out/_next/static/chunks/turbopack-0ba~ohd6ky71h.js +0 -1
  565. package/out/_next/static/chunks/turbopack-0bf.2m~ui4my-.js +0 -1
  566. package/out/_next/static/chunks/turbopack-0gd92jf0d4bgr.js +0 -1
  567. package/out/_next/static/chunks/turbopack-0g~vbyk00wb23.js +0 -1
  568. package/out/_next/static/chunks/turbopack-0jvz~lcpfbuee.js +0 -1
  569. package/out/_next/static/chunks/turbopack-0l8qj~w4ih2cx.js +0 -1
  570. package/out/_next/static/chunks/turbopack-0lzhnlcrz_on1.js +0 -1
  571. package/out/_next/static/chunks/turbopack-0l~s3xbld.u~z.js +0 -1
  572. package/out/_next/static/chunks/turbopack-0ng7vn_2eleeu.js +0 -1
  573. package/out/_next/static/chunks/turbopack-0p4habx8v2ccd.js +0 -1
  574. package/out/_next/static/chunks/turbopack-0pgzk3qaktn53.js +0 -1
  575. package/out/_next/static/chunks/turbopack-0pxn8-79qjgyv.js +0 -1
  576. package/out/_next/static/chunks/turbopack-0q5m_baxveajn.js +0 -1
  577. package/out/_next/static/chunks/turbopack-0q5~zozdebjbe.js +0 -1
  578. package/out/_next/static/chunks/turbopack-0qi3gzg9qtbih.js +0 -1
  579. package/out/_next/static/chunks/turbopack-0r84wo.plvkxs.js +0 -1
  580. package/out/_next/static/chunks/turbopack-0rjd_ensgfs~b.js +0 -1
  581. package/out/_next/static/chunks/turbopack-0trnu9~qz9yvi.js +0 -1
  582. package/out/_next/static/chunks/turbopack-0v__gbq59q6q0.js +0 -1
  583. package/out/_next/static/chunks/turbopack-0w.zkn_tez0p6.js +0 -1
  584. package/out/_next/static/chunks/turbopack-0w0lcfu6m3l9z.js +0 -1
  585. package/out/_next/static/chunks/turbopack-0x453rmw90218.js +0 -1
  586. package/out/_next/static/chunks/turbopack-0xkqa2y7qn~si.js +0 -1
  587. package/out/_next/static/chunks/turbopack-0zp8i89l2wy4y.js +0 -1
  588. package/out/_next/static/chunks/turbopack-0~8px0bzi31v-.js +0 -1
  589. package/out/_next/static/chunks/turbopack-10c.zb-bjct.l.js +0 -1
  590. package/out/_next/static/chunks/turbopack-10qvj~h62yz48.js +0 -1
  591. package/out/_next/static/chunks/turbopack-119p20o.d-xn5.js +0 -1
  592. package/out/_next/static/chunks/turbopack-11f9mhvf8_mx5.js +0 -1
  593. package/out/_next/static/chunks/turbopack-12me97v06hgrm.js +0 -1
  594. package/out/_next/static/chunks/turbopack-14p.bskh~a~bd.js +0 -1
  595. package/out/_next/static/chunks/turbopack-14yag6-p94nko.js +0 -1
  596. package/out/_next/static/chunks/turbopack-17xf1732v9xvx.js +0 -1
  597. package/out/_next/static/chunks/turbopack-181yxvwqi0zym.js +0 -1
  598. /package/out/_next/static/{Oej-rEkSjTdhkP0aBqeby → NCD-SJ8yCV0Afw8rFopK9}/_clientMiddlewareManifest.js +0 -0
  599. /package/out/_next/static/{Oej-rEkSjTdhkP0aBqeby → NCD-SJ8yCV0Afw8rFopK9}/_ssgManifest.js +0 -0
@@ -1,20 +0,0 @@
1
- __turbopack_load_page_chunks__("/users/UserDetailPage", [
2
- "static/chunks/0zjngfnbmwi6m.js",
3
- "static/chunks/12udenvxlldjc.js",
4
- "static/chunks/14tbg01czewdy.js",
5
- "static/chunks/10~.1apsh-kfb.js",
6
- "static/chunks/0i5k7p8ofcp1x.js",
7
- "static/chunks/0o~whquist5u6.js",
8
- "static/chunks/0h2.omn909o6x.js",
9
- "static/chunks/076fkz9jmd3rf.js",
10
- "static/chunks/0.j7go8pveth3.js",
11
- "static/chunks/03f.hgo5xe9oh.js",
12
- "static/chunks/181fxym9wgh_m.js",
13
- "static/chunks/0834492o--b0c.js",
14
- "static/chunks/12e_gn-hj1ad4.js",
15
- "static/chunks/0whq69wyy9mrh.js",
16
- "static/chunks/02k_d8_f063hp.js",
17
- "static/chunks/0er8mp7b.-nmu.js",
18
- "static/chunks/0jd8.rmorspgs.js",
19
- "static/chunks/turbopack-0pxn8-79qjgyv.js"
20
- ])
@@ -1,14 +0,0 @@
1
- __turbopack_load_page_chunks__("/payment-provider/PaymentProviderDetailPage", [
2
- "static/chunks/0nk56oi0x2gr8.js",
3
- "static/chunks/12udenvxlldjc.js",
4
- "static/chunks/0i5k7p8ofcp1x.js",
5
- "static/chunks/02k_d8_f063hp.js",
6
- "static/chunks/10~.1apsh-kfb.js",
7
- "static/chunks/12e_gn-hj1ad4.js",
8
- "static/chunks/181fxym9wgh_m.js",
9
- "static/chunks/0zd5afm6t81vs.js",
10
- "static/chunks/03f.hgo5xe9oh.js",
11
- "static/chunks/0er8mp7b.-nmu.js",
12
- "static/chunks/0o~whquist5u6.js",
13
- "static/chunks/turbopack-09.yk~v._-~sx.js"
14
- ])
@@ -1,16 +0,0 @@
1
- (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,17362,(e,r,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a={VALID_LOADERS:function(){return i},imageConfigDefault:function(){return n}};for(var s in a)Object.defineProperty(t,s,{enumerable:!0,get:a[s]});let i=["default","imgix","cloudinary","akamai","custom"],n={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],path:"/_next/image",loader:"default",loaderFile:"",domains:[],disableStaticImages:!1,minimumCacheTTL:14400,formats:["image/webp"],maximumDiskCacheSize:void 0,maximumRedirects:3,maximumResponseBody:5e7,dangerouslyAllowLocalIP:!1,dangerouslyAllowSVG:!1,contentSecurityPolicy:"script-src 'none'; frame-src 'none'; sandbox;",contentDispositionType:"attachment",localPatterns:void 0,remotePatterns:[],qualities:[75],unoptimized:!1,customCacheHandler:!1}},76648,(e,r,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ImageConfigContext",{enumerable:!0,get:function(){return i}});let a=e.r(23726)._(e.r(1415)),s=e.r(17362),i=a.default.createContext(s.imageConfigDefault)},81907,e=>{"use strict";let r=e=>e&&e?.split(",").reduce((e,r)=>{let[t=null,a=null]=(r||"")?.split("_")||[];return{...e,[t]:a}},null)||{};e.s(["classNames",0,(...e)=>e.filter(Boolean).join(" "),"convertSortFieldsToQueryFormat",0,e=>Object.entries(r(e))?.map(([e,r])=>({key:e,value:r})),"getInterfaceLabel",0,e=>e?.label&&e?.version?`${e.label} ${e.version}`:"","getSortKeys",0,r,"normalizeCountryISOCode",0,(e,r,t=!0)=>{if(!r)return"";try{return`${new Intl.DisplayNames([e],{type:"region"}).of(r)} ${t?`(${r})`:""}`}catch{return r}},"normalizeCurrencyISOCode",0,(e,r,t=!0)=>{if(!r)return"";try{return`${new Intl.DisplayNames([e],{type:"currency"}).of(r)} ${t?`(${r})`:""}`}catch{return r}},"normalizeLanguageISOCode",0,(e,r,t=!0)=>{if(!r)return"";try{return`${new Intl.DisplayNames([e],{type:"language"}).of(r)} ${t?`(${r})`:""}`}catch{return r}},"normalizeQuery",0,(e,r,t)=>{let a;return a=t?{...e,[t]:r}:e,Object.keys(a)?.map(e=>[e,a[e]].join("="))?.join("&")},"useFormatPrice",0,()=>({formatPrice:e=>{if(!e?.currencyCode)return"n/a";if(e?.amount===void 0||e?.amount===null)return"";let{amount:r,currencyCode:t}=e||{};return new Intl.NumberFormat(navigator.language,{style:"currency",currency:t}).format(r/100)}})])},23518,e=>{"use strict";var r=e.i(69178),t=e.i(13071),a=e.i(87993),s=e.i(70882);e.s(["default",0,({label:e,disabled:i=!1,className:n="",hidden:o=!1,...l})=>{let d=(0,a.useFormikContext)(),{...u}=l,c=Object.fromEntries(Object.keys(d.initialValues).map(e=>[e,d.getFieldMeta(e)])),{disabled:m}=(0,s.default)(),g=Object.values(c).reduce((e,{error:r,touched:t})=>e||r&&t,!1),v=i||m||d.isSubmitting||g,w=d.isSubmitting&&!g,f=(i||m||g)&&!d.isSubmitting;return(0,r.jsx)("input",{className:(0,t.default)("inline-flex cursor-pointer justify-center rounded-sm border border-slate-300 px-4 py-2 text-center text-sm font-medium leading-5 shadow-sm hover:shadow-md focus:ring-slate-800 dark:focus:ring-slate-400",n,{"bg-rose-50 dark:bg-slate-800 dark:text-rose-300 cursor-not-allowed border-rose-300 dark:border-rose-600 text-rose-900":f,"bg-slate-600 dark:bg-slate-700 text-white cursor-not-allowed border-slate-400 dark:border-slate-600":w,"bg-slate-800 dark:bg-slate-600 text-white hover:bg-slate-900 dark:hover:bg-slate-500 focus:outline-hidden focus:ring-2 focus:ring-offset-2 border-transparent":!v,hidden:o}),"aria-label":e,type:"submit",value:e,disabled:v,...u})}])},5858,e=>{"use strict";var r,t,a,s,i,n,o,l,d,u,c,m=((r={}).Pickup="PICKUP",r.Shipping="SHIPPING",r),g=((t={}).MultiChoice="MULTI_CHOICE",t.Range="RANGE",t.SingleChoice="SINGLE_CHOICE",t.Switch="SWITCH",t),v=((a={}).Generic="GENERIC",a.Invoice="INVOICE",a),w=((s={}).Active="ACTIVE",s.Deleted="DELETED",s.Draft="DRAFT",s),f=((i={}).BundleProduct="BUNDLE_PRODUCT",i.ConfigurableProduct="CONFIGURABLE_PRODUCT",i.PlanProduct="PLAN_PRODUCT",i.SimpleProduct="SIMPLE_PRODUCT",i.TokenizedProduct="TOKENIZED_PRODUCT",i),p=((n={}).Color="COLOR",n.Text="TEXT",n),h=((o={}).AnswerQuotation="answerQuotation",o.BookmarkProduct="bookmarkProduct",o.BulkImport="bulkImport",o.ChangePassword="changePassword",o.CheckoutCart="checkoutCart",o.ConfirmMediaUpload="confirmMediaUpload",o.CreateCart="createCart",o.CreateEnrollment="createEnrollment",o.CreateUser="createUser",o.DownloadFile="downloadFile",o.EnrollUser="enrollUser",o.ForgotPassword="forgotPassword",o.Heartbeat="heartbeat",o.Impersonate="impersonate",o.LoginAsGuest="loginAsGuest",o.LoginWithPassword="loginWithPassword",o.LoginWithWebAuthn="loginWithWebAuthn",o.Logout="logout",o.ManageAssortments="manageAssortments",o.ManageBookmarks="manageBookmarks",o.ManageCountries="manageCountries",o.ManageCurrencies="manageCurrencies",o.ManageDeliveryProviders="manageDeliveryProviders",o.ManageFilters="manageFilters",o.ManageLanguages="manageLanguages",o.ManagePaymentCredentials="managePaymentCredentials",o.ManagePaymentProviders="managePaymentProviders",o.ManageProductReviews="manageProductReviews",o.ManageProducts="manageProducts",o.ManageQuotations="manageQuotations",o.ManageUsers="manageUsers",o.ManageWarehousingProviders="manageWarehousingProviders",o.ManageWorker="manageWorker",o.MarkOrderConfirmed="markOrderConfirmed",o.MarkOrderDelivered="markOrderDelivered",o.MarkOrderPaid="markOrderPaid",o.MarkOrderRejected="markOrderRejected",o.PageView="pageView",o.RegisterPaymentCredentials="registerPaymentCredentials",o.RemoveUser="removeUser",o.RequestQuotation="requestQuotation",o.ResetPassword="resetPassword",o.ReviewProduct="reviewProduct",o.Search="search",o.SendEmail="sendEmail",o.StopImpersonation="stopImpersonation",o.UpdateCart="updateCart",o.UpdateEnrollment="updateEnrollment",o.UpdateOrder="updateOrder",o.UpdateOrderDelivery="updateOrderDelivery",o.UpdateOrderDiscount="updateOrderDiscount",o.UpdateOrderItem="updateOrderItem",o.UpdateOrderPayment="updateOrderPayment",o.UpdateProductReview="updateProductReview",o.UpdateToken="updateToken",o.UpdateUser="updateUser",o.UpdateUsername="updateUsername",o.UploadTempFile="uploadTempFile",o.UploadUserAvatar="uploadUserAvatar",o.UseWebAuthn="useWebAuthn",o.VerifyEmail="verifyEmail",o.ViewAssortment="viewAssortment",o.ViewAssortments="viewAssortments",o.ViewCountries="viewCountries",o.ViewCountry="viewCountry",o.ViewCurrencies="viewCurrencies",o.ViewCurrency="viewCurrency",o.ViewDeliveryInterfaces="viewDeliveryInterfaces",o.ViewDeliveryProvider="viewDeliveryProvider",o.ViewDeliveryProviders="viewDeliveryProviders",o.ViewEnrollment="viewEnrollment",o.ViewEnrollments="viewEnrollments",o.ViewEvent="viewEvent",o.ViewEvents="viewEvents",o.ViewFilter="viewFilter",o.ViewFilters="viewFilters",o.ViewLanguage="viewLanguage",o.ViewLanguages="viewLanguages",o.ViewLogs="viewLogs",o.ViewOrder="viewOrder",o.ViewOrders="viewOrders",o.ViewPaymentInterfaces="viewPaymentInterfaces",o.ViewPaymentProvider="viewPaymentProvider",o.ViewPaymentProviders="viewPaymentProviders",o.ViewProduct="viewProduct",o.ViewProducts="viewProducts",o.ViewQuotation="viewQuotation",o.ViewQuotations="viewQuotations",o.ViewShopInfo="viewShopInfo",o.ViewStatistics="viewStatistics",o.ViewToken="viewToken",o.ViewTokens="viewTokens",o.ViewTranslations="viewTranslations",o.ViewUser="viewUser",o.ViewUserCount="viewUserCount",o.ViewUserEnrollments="viewUserEnrollments",o.ViewUserOrders="viewUserOrders",o.ViewUserPrivateInfos="viewUserPrivateInfos",o.ViewUserProductReviews="viewUserProductReviews",o.ViewUserPublicInfos="viewUserPublicInfos",o.ViewUserQuotations="viewUserQuotations",o.ViewUserRoles="viewUserRoles",o.ViewUserTokens="viewUserTokens",o.ViewUsers="viewUsers",o.ViewWarehousingInterfaces="viewWarehousingInterfaces",o.ViewWarehousingProvider="viewWarehousingProvider",o.ViewWarehousingProviders="viewWarehousingProviders",o.ViewWork="viewWork",o.ViewWorkQueue="viewWorkQueue",o.VoteProductReview="voteProductReview",o),y=((l={}).Asc="ASC",l.Desc="DESC",l),C=((d={}).Physical="PHYSICAL",d.Virtual="VIRTUAL",d),b=((u={}).Allocated="ALLOCATED",u.Deleted="DELETED",u.Failed="FAILED",u.New="NEW",u.Success="SUCCESS",u),P=((c={}).Budgetsms="BUDGETSMS",c.Bulkgate="BULKGATE",c.BulkExport="BULK_EXPORT",c.BulkImport="BULK_IMPORT",c.Email="EMAIL",c.EnrollmentOrderGenerator="ENROLLMENT_ORDER_GENERATOR",c.ErrorNotifications="ERROR_NOTIFICATIONS",c.ExportToken="EXPORT_TOKEN",c.External="EXTERNAL",c.Heartbeat="HEARTBEAT",c.HttpRequest="HTTP_REQUEST",c.Message="MESSAGE",c.Push="PUSH",c.Twilio="TWILIO",c.Unknown="UNKNOWN",c.UpdateCoinbaseRates="UPDATE_COINBASE_RATES",c.UpdateEcbRates="UPDATE_ECB_RATES",c.ZombieKiller="ZOMBIE_KILLER",c);e.s(["IDeliveryProviderType",()=>m,"IFilterType",()=>g,"IPaymentProviderType",()=>v,"IProductStatus",()=>w,"IProductType",()=>f,"IProductVariationType",()=>p,"IRoleAction",()=>h,"ISortDirection",()=>y,"IWarehousingProviderType",()=>C,"IWorkStatus",()=>b,"IWorkType",()=>P])},19372,46554,e=>{"use strict";var r=e.i(1415);let t=r.default.createContext({isAdmin:()=>!1,hasRole:()=>!1});e.s(["default",0,t],46554),e.s(["default",0,()=>(0,r.useContext)(t)],19372)},12442,e=>{"use strict";var r=e.i(69178),t=e.i(1415),a=e.i(13071);let s=(0,t.createContext)(!1);e.s(["FormWrapperContext",0,s,"default",0,({children:e,className:t=""})=>(0,r.jsx)(s.Provider,{value:!0,children:(0,r.jsx)("div",{className:"sm:max-w-full",children:(0,r.jsx)("div",{className:(0,a.default)("bg-white dark:bg-slate-800 rounded-md shadow-sm overflow-hidden",t),children:e})})})])},68686,e=>{"use strict";var r=e.i(69178),t=e.i(13071),a=e.i(19892),s=e.i(4142),i=e.i(88500);e.s(["default",0,({maxLength:e=0,validators:n=[],...o})=>{let l=(0,s.default)({validators:[...n,e&&(0,a.validateMaxLength)(e)],...o});return(0,r.jsx)(i.default,{...l,children:(0,r.jsx)("input",{className:(0,t.default)("relative mt-1 block w-full dark:focus:autofill dark:hover:autofill dark:autofill dark:placeholder:text-slate-600 dark:bg-slate-900 dark:text-slate-200 appearance-none rounded-md border-1 dark:border-slate-700 px-4 py-2.5 text-sm text-slate-900 focus:outline-hidden focus:ring-2 focus:ring-slate-800 shadow-xs",{"border-rose-700 placeholder:text-rose-500":!!l.error,"border-slate-300 placeholder-slate-400":!l.error}),disabled:l.disabled,id:l.name,name:l.name,onChange:l.onChange,onClick:e=>{e.stopPropagation()},onBlur:l.onBlur,placeholder:l.placeholder,autoComplete:l.autoComplete||"off",type:l.type||"text",value:l.value,autoFocus:l.autoFocus})})}])},62458,e=>{"use strict";var r=e.i(69178),t=e.i(13071),a=e.i(49061),s=e.i(81907);e.s(["default",0,({toggleText:e="",toggleKey:i=null,onToggle:n=null,active:o=!1,className:l="",disabled:d=!1,...u})=>{let c=(0,a.useRouter)(),m=c?.query?.[i]==="true"||o;return(0,r.jsxs)("div",{className:(0,t.default)("",l),children:[(0,r.jsxs)("button",{id:i,disabled:d,type:"button",className:(0,t.default)("relative inline-flex h-3.5 w-9 shrink-0 cursor-pointer rounded-full border-1 border-transparent transition-all duration-200 ease-in-out focus:outline-hidden focus:ring-2 focus:ring-slate-400 focus:ring-offset-2",{"bg-slate-200 dark:bg-slate-700":!m,"bg-emerald-500 dark:bg-emerald-600 shadow-sm":m}),role:"switch",onClick:n||(()=>{let{skip:e,...r}=c.query;c.push({query:(0,s.normalizeQuery)(r,!m,i)})}),"aria-checked":m?"true":"false",...u,children:[(0,r.jsx)("span",{className:"sr-only",children:e}),(0,r.jsxs)("span",{className:(0,t.default)("ml-0.5 pointer-events-none relative inline-block h-3 w-3 transform rounded-full bg-white shadow-sm ring-0 transition-all duration-200 ease-in-out",{"translate-x-5 shadow-md":m,"translate-x-0":!m}),children:[(0,r.jsx)("span",{className:(0,t.default)("absolute inset-0 flex h-full w-full items-center justify-center transition-opacity",{"opacity-0 duration-100 ease-out":m,"opacity-100 duration-200 ease-in":!m}),"aria-hidden":"true",children:(0,r.jsx)("svg",{className:"h-3 w-3 text-slate-400",fill:"none",viewBox:"0 0 12 12",children:(0,r.jsx)("path",{d:"M4 8l2-2m0 0l2-2M6 6L4 4m2 2l2 2",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})}),(0,r.jsx)("span",{className:(0,t.default)("absolute inset-0 flex h-full w-full items-center justify-center transition-opacity",{"opacity-100 duration-200 ease-in":m,"opacity-0 duration-100 ease-out":!m}),"aria-hidden":"true",children:(0,r.jsx)("svg",{className:"h-3 w-3 text-emerald-500",fill:"currentColor",viewBox:"0 0 12 12",children:(0,r.jsx)("path",{d:"M3.707 5.293a1 1 0 00-1.414 1.414l1.414-1.414zM5 8l-.707.707a1 1 0 001.414 0L5 8zm4.707-3.293a1 1 0 00-1.414-1.414l1.414 1.414zm-7.414 2l2 2 1.414-1.414-2-2-1.414 1.414zm3.414 2l4-4-1.414-1.414-4 4 1.414 1.414z"})})})]})]}),(0,r.jsx)("span",{className:"ml-3",id:"annual-billing-label",children:(0,r.jsx)("span",{className:"text-sm font-medium text-slate-900 dark:text-slate-200",children:e})})]})}])},82028,e=>{"use strict";var r=e.i(69178),t=e.i(13071),a=e.i(4142),s=e.i(88500);e.s(["default",0,e=>{let{options:i,...n}=(0,a.default)(e),{className:o}=e||{className:""};return(0,r.jsx)(s.default,{...n,children:(0,r.jsx)("div",{className:"select-wrap",children:(0,r.jsxs)("select",{className:(0,t.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",o,{"border-rose-700 text-rose-600 dark:border-rose-500 dark:text-rose-400":!!n.error}),disabled:n.disabled,id:n.name,name:n.name,onChange:n.onChange,onBlur:n.onBlur,value:n.value,children:[(0,r.jsx)("option",{className:"dark:text-slate-200",value:"",disabled:n.required,hidden:n.required,children:n.placeholder||n.label}),Object.entries(i).map(([e,t])=>(0,r.jsx)("option",{className:"dark:text-slate-200",value:e,children:t},e))]})})})}])},96230,e=>{"use strict";var r=e.i(71983);let t=r.gql`
2
- fragment CurrencyFragment on Currency {
3
- _id
4
- isoCode
5
- isActive
6
- contractAddress
7
- decimals
8
- }
9
- `;e.s(["default",0,t])},32425,e=>{"use strict";var r=e.i(69178),t=e.i(48021),a=e.i(5858),s=e.i(19372),i=e.i(62458),n=e.i(62010),o=e.i(23518),l=e.i(68686),d=e.i(82028),u=e.i(5641),c=e.i(19892);e.s(["default",0,({onSubmit:e,onSubmitSuccess:m=null,defaultValue:g={},isEdit:v=!1})=>{let{formatMessage:w}=(0,t.useIntl)(),{hasRole:f}=(0,s.default)(),p=w({id:"currency_added",defaultMessage:"Currency added successfully!"}),h=w({id:"currency_updated",defaultMessage:"Currency updated successfully!"}),y=(0,u.default)({submit:e,onSubmitSuccess:m,successMessage:v?h:p,getSubmitErrorMessage:e=>{if(e?.message?.includes("duplicate key"))return y.formik.setFieldError("isoCode",w({id:"currency_exists",defaultMessage:"Currency with the same ISO code already exists"})),null},initialValues:{isoCode:"",contractAddress:"",isActive:!1,decimals:2,...g}});return(0,r.jsxs)(n.default,{form:y,children:[(0,r.jsxs)("div",{className:"p-5 pb-7",children:[(0,r.jsx)(l.default,{name:"isoCode",disabled:!f(a.IRoleAction.ManageCurrencies),id:"isoCode",label:w({id:"iso_code",defaultMessage:"ISO code"}),autoComplete:"on",required:!0}),(0,r.jsx)(l.default,{name:"contractAddress",disabled:!f(a.IRoleAction.ManageCurrencies),id:"contractAddress",validators:[(0,c.isContractAddress)()],label:w({id:"contract_address",defaultMessage:"Contract Address"}),autoComplete:"on",className:"mt-4"}),(0,r.jsx)(d.default,{className:"mt-4",label:w({id:"decimals",defaultMessage:"Decimals"}),required:!0,name:"decimals",disabled:!f(a.IRoleAction.ManageCurrencies),options:Object.fromEntries(Array(32).fill(null).map((e,r)=>[r,`${r}`]))}),v&&(0,r.jsx)("div",{className:"mt-5 flex items-center",children:(0,r.jsx)(i.default,{toggleText:w({id:"active",defaultMessage:"Active"}),disabled:!f(a.IRoleAction.ManageCurrencies),active:y.formik.values.isActive,onToggle:()=>y.formik.setFieldValue("isActive",!y.formik.values.isActive)})})]}),f(a.IRoleAction.ManageCurrencies)&&(0,r.jsx)("div",{className:"border-t-slate-100 border-t dark:border-t-slate-700 space-y-6 rounded-b-md bg-slate-50 dark:bg-slate-900 p-5 text-right",children:(0,r.jsx)(o.default,{label:v?w({id:"update_currency",defaultMessage:"Update Currency"}):w({id:"add_currency",defaultMessage:"Add Currency"})})})]})}])},90062,e=>{"use strict";var r=e.i(69178),t=e.i(49061),a=e.i(48021),s=e.i(23529),i=e.i(12442),n=e.i(71588),o=e.i(32425),l=e.i(71983),d=e.i(13686),u=e.i(96230);let c=l.gql`
10
- mutation CreateCurrency($currency: CreateCurrencyInput!) {
11
- createCurrency(currency: $currency) {
12
- ...CurrencyFragment
13
- }
14
- }
15
- ${u.default}
16
- `;e.s(["default",0,()=>{let{createCurrency:e}=(()=>{let[e,{data:r,loading:t,error:a}]=(0,d.useMutation)(c);return{createCurrency:async({currency:{isoCode:r,contractAddress:t,decimals:a}})=>e({variables:{currency:{isoCode:r,contractAddress:t,decimals:parseInt(a||"2",10)}},refetchQueries:["Currencies","ShopStatus","ShopInfo"]}),newCurrency:r?.createCurrency,error:a,loading:t}})(),l=(0,t.useRouter)(),{formatMessage:u}=(0,a.useIntl)(),m=async({isoCode:r,contractAddress:t,decimals:a})=>{let{data:s,error:i}=await e({currency:{isoCode:r,contractAddress:t,decimals:a}});return!i&&{success:!0,data:s?.createCurrency}};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(s.default,{}),(0,r.jsx)(n.default,{headerText:u({id:"new_currency_header",defaultMessage:"New currency"})}),(0,r.jsxs)("div",{className:"mt-6 lg:grid lg:grid-cols-3 gap-10",children:[(0,r.jsx)("div",{className:"lg:col-span-2",children:(0,r.jsx)(i.default,{children:(0,r.jsx)(o.default,{onSubmit:m,onSubmitSuccess:(e,{_id:r})=>{l.replace(`/currency?currencyId=${r}`)}})})}),(0,r.jsx)("div",{className:"mt-10 lg:mt-44 lg:col-span-1",children:(0,r.jsx)("div",{className:"-my-5 divide-y divide-slate-200 dark:divide-slate-700 dark:text-slate-400 mr-4",children:u({id:"currency_contract_address_description",defaultMessage:"Contract address is optional and represents address of the 40 character long deployed token contract on the ethereum network. "})})})]})]})}],90062)},25626,(e,r,t)=>{let a="/currency/new";(window.__NEXT_P=window.__NEXT_P||[]).push([a,()=>e.r(90062)]),r.hot&&r.hot.dispose(function(){window.__NEXT_P.push([a])})},8233,e=>{e.v(r=>Promise.all(["static/chunks/0i.xcdg6xys-l.js"].map(r=>e.l(r))).then(()=>r(64324)))},69209,e=>{e.v(r=>Promise.all(["static/chunks/0.qq-wh2-26q3.js"].map(r=>e.l(r))).then(()=>r(3506)))}]);
@@ -1,22 +0,0 @@
1
- __turbopack_load_page_chunks__("/products", [
2
- "static/chunks/12udenvxlldjc.js",
3
- "static/chunks/14tbg01czewdy.js",
4
- "static/chunks/10~.1apsh-kfb.js",
5
- "static/chunks/0vdmirwhkt_t7.js",
6
- "static/chunks/03f.hgo5xe9oh.js",
7
- "static/chunks/15smkfwzgkz~2.js",
8
- "static/chunks/0i5k7p8ofcp1x.js",
9
- "static/chunks/181fxym9wgh_m.js",
10
- "static/chunks/0o~whquist5u6.js",
11
- "static/chunks/0whq69wyy9mrh.js",
12
- "static/chunks/0a2p8fhu8my4l.js",
13
- "static/chunks/097t33pwe895m.js",
14
- "static/chunks/11bf5zm2mn9px.js",
15
- "static/chunks/0834492o--b0c.js",
16
- "static/chunks/02k_d8_f063hp.js",
17
- "static/chunks/0_peeqj43watt.js",
18
- "static/chunks/12e_gn-hj1ad4.js",
19
- "static/chunks/0er8mp7b.-nmu.js",
20
- "static/chunks/0fr~--jq.h_41.js",
21
- "static/chunks/turbopack-09sbn6m8t1l1b.js"
22
- ])
@@ -1,88 +0,0 @@
1
- (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,12442,e=>{"use strict";var t=e.i(69178),s=e.i(1415),a=e.i(13071);let l=(0,s.createContext)(!1);e.s(["FormWrapperContext",0,l,"default",0,({children:e,className:s=""})=>(0,t.jsx)(l.Provider,{value:!0,children:(0,t.jsx)("div",{className:"sm:max-w-full",children:(0,t.jsx)("div",{className:(0,a.default)("bg-white dark:bg-slate-800 rounded-md shadow-sm overflow-hidden",s),children:e})})})])},68686,e=>{"use strict";var t=e.i(69178),s=e.i(13071),a=e.i(19892),l=e.i(4142),r=e.i(88500);e.s(["default",0,({maxLength:e=0,validators:d=[],...i})=>{let n=(0,l.default)({validators:[...d,e&&(0,a.validateMaxLength)(e)],...i});return(0,t.jsx)(r.default,{...n,children:(0,t.jsx)("input",{className:(0,s.default)("relative mt-1 block w-full dark:focus:autofill dark:hover:autofill dark:autofill dark:placeholder:text-slate-600 dark:bg-slate-900 dark:text-slate-200 appearance-none rounded-md border-1 dark:border-slate-700 px-4 py-2.5 text-sm text-slate-900 focus:outline-hidden focus:ring-2 focus:ring-slate-800 shadow-xs",{"border-rose-700 placeholder:text-rose-500":!!n.error,"border-slate-300 placeholder-slate-400":!n.error}),disabled:n.disabled,id:n.name,name:n.name,onChange:n.onChange,onClick:e=>{e.stopPropagation()},onBlur:n.onBlur,placeholder:n.placeholder,autoComplete:n.autoComplete||"off",type:n.type||"text",value:n.value,autoFocus:n.autoFocus})})}])},17362,(e,t,s)=>{"use strict";Object.defineProperty(s,"__esModule",{value:!0});var a={VALID_LOADERS:function(){return r},imageConfigDefault:function(){return d}};for(var l in a)Object.defineProperty(s,l,{enumerable:!0,get:a[l]});let r=["default","imgix","cloudinary","akamai","custom"],d={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],path:"/_next/image",loader:"default",loaderFile:"",domains:[],disableStaticImages:!1,minimumCacheTTL:14400,formats:["image/webp"],maximumDiskCacheSize:void 0,maximumRedirects:3,maximumResponseBody:5e7,dangerouslyAllowLocalIP:!1,dangerouslyAllowSVG:!1,contentSecurityPolicy:"script-src 'none'; frame-src 'none'; sandbox;",contentDispositionType:"attachment",localPatterns:void 0,remotePatterns:[],qualities:[75],unoptimized:!1,customCacheHandler:!1}},76648,(e,t,s)=>{"use strict";Object.defineProperty(s,"__esModule",{value:!0}),Object.defineProperty(s,"ImageConfigContext",{enumerable:!0,get:function(){return r}});let a=e.r(23726)._(e.r(1415)),l=e.r(17362),r=a.default.createContext(l.imageConfigDefault)},90575,19190,e=>{"use strict";var t=e.i(1415);let s=t.default.createContext({customProperties:{},hydrateFragment:(e,t)=>null});e.s(["default",0,s],19190),e.s(["default",0,()=>(0,t.useContext)(s)],90575)},51443,e=>{"use strict";var t=e.i(69178),s=e.i(48021);e.s(["default",0,()=>{let{formatMessage:e}=(0,s.useIntl)();return(0,t.jsx)("div",{className:"my-5 flex h-full w-full items-center justify-center bg-slate-50 dark:bg-slate-950 py-5",children:(0,t.jsxs)("div",{className:"flex items-center justify-center space-x-1 text-sm text-slate-700 dark:text-slate-200",children:[(0,t.jsx)("svg",{fill:"none",className:"h-6 w-6 animate-spin",viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg",children:(0,t.jsx)("path",{clipRule:"evenodd",d:"M15.165 8.53a.5.5 0 01-.404.58A7 7 0 1023 16a.5.5 0 011 0 8 8 0 11-9.416-7.874.5.5 0 01.58.404z",fill:"currentColor",fillRule:"evenodd"})}),(0,t.jsx)("div",{children:e({id:"loading",defaultMessage:"Loading ..."})})]})})}])},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),s=e.i(53162);e.s(["default",0,()=>(0,t.useContext)(s.default)])},17831,e=>{"use strict";var t=e.i(69178),s=e.i(48021);e.s(["default",0,({onOkClick:e,onCancelClick:a,okText:l=null,cancelText:r=null,headerText:d=null,message:i=null,icon:n=null,close:o=null})=>{let{formatMessage:u}=(0,s.useIntl)();return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"sm:flex sm:items-start",children:[n||(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:d||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:i||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:l||u({id:"continue",defaultMessage:"Continue"})}),(0,t.jsx)("button",{id:"danger_cancel",onClick:a||o,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:r||u({id:"cancel",defaultMessage:"Cancel"})})]})]})}])},69744,e=>{"use strict";var t=e.i(1415);let s=t.forwardRef(function({title:e,titleId:s,...a},l){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:l,"aria-labelledby":s},a),e?t.createElement("title",{id:s},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18 18 6M6 6l12 12"}))});e.s(["XMarkIcon",0,s],69744)},33362,e=>{"use strict";var t=e.i(69178),s=e.i(69744),a=e.i(48021);e.s(["default",0,({onClick:e,text:l=null,Icon:r=null})=>{let{formatMessage:d}=(0,a.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:r||(0,t.jsx)(s.XMarkIcon,{className:"h-5 w-5"})}),l||d({id:"delete",defaultMessage:"Delete"})]})}])},34365,e=>{"use strict";var t=e.i(69178),s=e.i(1415);let a=s.forwardRef(function({title:e,titleId:t,...a},l){return s.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:l,"aria-labelledby":t},a),e?s.createElement("title",{id:t},e):null,s.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 l=e.i(13071),r=e.i(48021);e.s(["default",0,({message:e,className:s="",Icon:d=null})=>(0,t.jsx)("div",{className:(0,l.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",s),children:(0,t.jsxs)("div",{className:"grid items-center justify-center",children:[(0,t.jsx)("div",{className:"flex items-center justify-center text-slate-400 dark:text-slate-600",children:d||(0,t.jsx)(a,{className:"h-6 w-6"})}),(0,t.jsx)(r.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 s=t.forwardRef(function({title:e,titleId:s,...a},l){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:l,"aria-labelledby":s},a),e?t.createElement("title",{id:s},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,s],98639);let a=t.forwardRef(function({title:e,titleId:s,...a},l){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:l,"aria-labelledby":s},a),e?t.createElement("title",{id:s},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,a],5838)},98531,e=>{"use strict";var t=e.i(69178),s=e.i(1415),a=e.i(13071),l=e.i(48021),r=e.i(98639),d=e.i(5838),i=e.i(49061),n=e.i(81907);let o=({onSort:e,sortDirection:s})=>s?"ASC"===s?(0,t.jsx)(d.ChevronUpIcon,{className:"ml-2 w-5 h-5 text-slate-700",onClick:e}):(0,t.jsx)(r.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=[],a=[],l=[];return s.default.Children.forEach(e.children,e=>{e?.props?.header?t.push(e):e?.props?.footer?l.push(e):a.push(e)}),{header:t,footer:l,body:a}},m=({className:e="",...r})=>{let[d,i]=(0,s.useState)(c(r)),{formatMessage:n}=(0,l.useIntl)(),o={...d,header:s.default.Children.map(d.header,e=>s.default.cloneElement(e))};return(0,s.useEffect)(()=>{i(c(r))},[r.children]),o.header.length||o.body.length?(0,t.jsxs)("table",{className:(0,a.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),...r,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:o.header}),o.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:o.body}):null,o.footer.length?(0,t.jsx)("tfoot",{children:o.footer}):null]}):(0,t.jsx)(u.default,{message:n({id:"data",defaultMessage:"Data"})})};m.Row=({className:e="",children:l=[],header:r=!1,enablesort:d=!1,...i})=>{let n=s.default.Children.map(l,e=>s.default?.cloneElement(e||(0,t.jsx)("span",{}),{header:r,enablesort:d}));return(0,t.jsx)("tr",{className:(0,a.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),...i,children:n})},m.Cell=({className:e="",header:s=!1,enablesort:l=!1,children:r,sortKey:d=null,defaultSortDirection:u=null,...c})=>{let m=(0,i.useRouter)(),x=(0,n.getSortKeys)(m.query?.sort),f=s?"th":"td";return(0,t.jsx)(f,{className:(0,a.default)(s?"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:[r,"th"===f&&l&&d&&(0,t.jsx)(o,{onSort:e=>{var t;let s;e.preventDefault(),((t=x[d])?"ASC"===t?"DESC":null:"ASC")||!x[d]?s={...x,[d]:"ASC"===x[d]?"DESC":"ASC"}:(delete x[d],s=x);let a=Object.entries(s).map(([e,t])=>[e,t].join("_")).join(","),{sort:l,...r}=m.query,i=Object.keys(r).map(e=>[e,r[e]].join("=")).join("&"),o=0===Object.keys(r).length?`${m.basePath}?sort=${a}`:`${m.basePath}?${i}&sort=${a}`;a?m.push(o):m.push({query:(0,n.normalizeQuery)(r)})},sortDirection:Object.keys(x).length?x[d]:u})]})})},e.s(["default",0,m],98531)},68155,e=>{"use strict";e.s(["default",0,(e=500)=>t=>{let s;return(...a)=>{let l;clearTimeout(s),s=setTimeout(()=>t.apply(l,a),e)}}])},33593,e=>{"use strict";var t=e.i(69178),s=e.i(48021),a=e.i(68155);e.s(["default",0,({inputText:e=null,onInputChange:l,defaultValue:r})=>{let{formatMessage:d}=(0,s.useIntl)(),i=(0,a.default)(200)(l);return(0,t.jsxs)("div",{className:"w-full",children:[(0,t.jsx)("label",{htmlFor:"search",className:"sr-only",children:e||d({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=>i(e.target.value),id:"search",defaultValue:r,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:d({id:"search",defaultMessage:"Search"}),type:"search"})]})]})}])},12763,e=>{"use strict";var t=e.i(69178),s=e.i(48021),a=e.i(49061),l=e.i(33593),r=e.i(38524),d=e.i(72670),i=e.i(81907),n=e.i(5411);e.s(["default",0,({children:e,onSearchChange:o,defaultSearchValue:u,showTagFilter:c=!1,availableTagOptions:m=[]})=>{let{formatMessage:x}=(0,s.useIntl)(),{query:f,push:h}=(0,a.useRouter)(),g=e=>{if((0,n.isTruthy)(e))h({query:(0,i.normalizeQuery)(f,e?.join(","),"tags")});else{let{tags:e,...t}=f;h({query:(0,i.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)(l.default,{onInputChange:o,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)(r.default,{buttonText:x({id:"apply",defaultMessage:"Apply"}),placeholder:x({id:"enter_tag",defaultMessage:"Enter tag..."}),tagList:f?.tags?.split(","),onChange:g,selectOptions:m,showTagsInline:!1})}),f?.tags?.split(",").filter(Boolean).length>0&&(0,t.jsx)("div",{className:"flex flex-wrap gap-2",children:f?.tags?.split(",").filter(Boolean).map(e=>(0,t.jsx)(d.default,{text:e,color:"slate",onClick:()=>{let t=f?.tags?.split(",").filter(t=>t!==e);g(t.length>0?t:null)}},e))})]})]})}),e]})}])},69438,e=>{"use strict";var t=e.i(69178),s=e.i(1415),a=e.i(51443);e.s(["default",0,({loading:e,hasMore:l,onLoadMore:r,children:d,threshold:i=200})=>{let n=(0,s.useRef)(null),o=(0,s.useCallback)(t=>{let[s]=t;s.isIntersecting&&l&&!e&&r()},[l,e,r]);return(0,s.useEffect)(()=>{let e=n.current;if(!e)return;let t=new IntersectionObserver(o,{rootMargin:`${i}px`});return t.observe(e),()=>{t.disconnect()}},[o,i]),(0,t.jsxs)(t.Fragment,{children:[d,(0,t.jsx)("div",{ref:n,className:"h-4"}),e&&(0,t.jsx)("div",{className:"flex justify-center py-4",children:(0,t.jsx)(a.default,{})})]})}])},47822,e=>{"use strict";var t=e.i(69178),s=e.i(13071);e.s(["default",0,({value:e,className:a,onChange:l=()=>{},rows:r=7,...d})=>{let i=Math.max(e?e.split("\n").length:1,r);return(0,t.jsx)("textarea",{className:(0,s.default)("text-black dark:bg-slate-900 dark:text-slate-200 border-transparent border-t border-t-slate-200 dark:border-t-slate-800 resize-y",a),value:e,onChange:l,rows:i,...d})}])},36187,e=>{"use strict";var t=e.i(69178),s=e.i(13071),a=e.i(47822),l=e.i(4142),r=e.i(88500);e.s(["default",0,({validators:e=[],rows:d=10,...i})=>{let n=(0,l.default)({...i,validators:[...e,{isValid:e=>{try{return JSON?.parse(e),!0}catch(e){return!1}},intlMessageDescriptor:{id:"invalid_json_input",defaultMessage:"Invalid JSON input"}}]});return(0,t.jsx)(r.default,{...n,children:(0,t.jsx)(a.default,{className:(0,s.default)("mt-1 block w-full max-w-full rounded-md border-1 border-slate-300 dark:border-slate-800 dark:bg-slate-900 dark:text-slate-200 shadow-xs dark:shadow-none focus:ring-slate-800 sm:text-sm",{"border-rose-300 text-rose-600 focus:border-rose-600 focus:ring-rose-600":!!n.error},i.className),disabled:n.disabled,id:n.name,name:n.name,onChange:e=>{try{JSON.parse(e.target.value||"{}"),n.setError("")}catch(e){n.setError(e.message?.replace("JSON.parse",""))}finally{n.setValue(e.target.value,!0),n.setTouched(!0)}},onBlur:e=>{try{n.setValue(JSON.stringify(JSON.parse(e.target.value),void 0,2),!0),n.setError("")}catch(e){n.setError(e.message)}},placeholder:n.placeholder,autoComplete:n.autoComplete,value:n.value})})}])},8295,e=>{"use strict";var t=e.i(69178),s=e.i(13071),a=e.i(49061),l=e.i(1415),r=e.i(48021);e.s(["default",0,({children:e,tabItems:d,defaultTab:i,updateRoute:n=!0})=>{let o=(0,a.useRouter)(),{tab:u=i}=o?.query||{},c=Array.isArray(u)?u[0]:u,{formatMessage:m}=(0,r.useIntl)(),x=e=>{if(n){let{sort:t,...s}=o?.query||{};o.push({query:{...s,tab:e}},void 0,{shallow:!0})}};return(0,t.jsxs)("div",{className:"mt-10",children:[(0,t.jsxs)("div",{className:"lg:hidden",children:[(0,t.jsx)("label",{htmlFor:"selected-tab",className:"sr-only",children:m({id:"select_tab",defaultMessage:"Select a tab"})}),(0,t.jsx)("select",{onChange:e=>x(e.target.value),id:"selected-tab",name:"selected-tab",className:"mt-1 block dark:bg-slate-800 dark:text-white w-full rounded-md border-slate-300 dark:border-slate-600 py-2 pl-3 pr-10 text-base capitalize focus:outline-none focus:ring-2 focus:ring-slate-800 dark:focus:ring-slate-400 focus:border-slate-800 dark:focus:border-slate-400 sm:text-sm",value:c,children:d.filter(Boolean).map(e=>(0,t.jsx)("option",{value:e.id,className:"dark:text-white",children:e?.title||e?.id},e.id))})]}),(0,t.jsx)("div",{className:"mt-5 hidden lg:block",children:(0,t.jsx)("div",{className:"",children:(0,t.jsx)("nav",{className:"flex flex-wrap gap-3",children:d.filter(Boolean).map(e=>(0,t.jsx)("a",{id:e.id,tabIndex:0,onClick:()=>x(e.id),onKeyDown:t=>{("Enter"===t.key||" "===t.key)&&(t.preventDefault(),x(e.id))},className:(0,s.default)({"cursor-pointer rounded-lg border border-slate-300 dark:border-slate-600 bg-white text-slate-900 dark:text-slate-100 dark:bg-slate-900 shadow-sm dark:hover:border-slate-500 hover:border-slate-400 focus:outline-none focus:ring-2 focus:ring-slate-800 dark:focus:ring-slate-400 focus:ring-offset-2 dark:focus:ring-offset-slate-900":c===e.id},"cursor-pointer relative whitespace-nowrap border border-slate-200 dark:border-slate-800 py-2 px-1 pr-3 pl-2 text-sm dark:text-slate-400 font-medium hover:bg-white dark:hover:bg-slate-800 hover:border-slate-300 dark:hover:border-slate-500 rounded-lg focus:outline-none focus:ring-2 focus:ring-slate-800 dark:focus:ring-slate-400 focus:ring-offset-2 dark:focus:ring-offset-slate-900"),children:(0,t.jsxs)("div",{className:"flex items-center space-x-1",children:[(0,t.jsx)("div",{children:e.Icon}),(0,t.jsx)("div",{className:"capitalize",children:e?.title||e?.id}),e?.length?(0,t.jsx)("span",{className:"absolute top-0 right-0 inline-flex translate-x-1/2 -translate-y-1/2 transform items-center justify-center rounded-full bg-slate-400 px-1 py-0.5 text-sm leading-none text-slate-900",children:e?.length}):null]})},e.id))})})}),(0,t.jsx)("div",{className:"mt-5",children:l.default.cloneElement(e,{selectedView:c})})]})}])},58930,e=>{"use strict";var t=e.i(1415);let s=t.forwardRef(function({title:e,titleId:s,...a},l){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:l,"aria-labelledby":s},a),e?t.createElement("title",{id:s},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,s],58930)},95126,e=>{"use strict";var t=e.i(69178),s=e.i(13071),a=e.i(4142),l=e.i(19892),r=e.i(88500);let d=e=>{let t=new Date(e);return isNaN(t.getTime())?null:t.toISOString().split("T")[0]};e.s(["default",0,({validators:e=[],className:i,parseDate:n=d,...o})=>{let u=(0,a.default)({validators:[...e,l.validateDate],...o}),c=u.value?new Date(u.value).toISOString().split("T")[0]:"";return(0,t.jsx)(r.default,{...u,className:o.containerClassName,children:(0,t.jsx)("input",{type:"date",id:u.id,name:u.name,disabled:u.disabled,className:(0,s.default)("relative mt-0 block w-full appearance-none rounded-md rounded-b-md border-1 border-slate-300 dark:border-slate-700 px-4 py-2.5 text-sm text-slate-900 dark:text-slate-200 dark:bg-slate-900 placeholder-slate-400 shadow-xs focus:z-10 focus:outline-hidden focus:ring-2 focus:ring-slate-800",i,{"border-rose-700 placeholder:text-rose-300":!!u.error}),onChange:e=>u.setValue(e.target.value),value:c,placeholder:u.placeholder,autoComplete:"off",...o})})}])},73517,e=>{"use strict";var t=e.i(71983);let s=t.gql`
2
- fragment WorkFragment on Work {
3
- _id
4
- type
5
- scheduled
6
- status
7
- started
8
- success
9
- finished
10
- created
11
- deleted
12
- retries
13
- original {
14
- _id
15
- retries
16
- }
17
- input
18
- result
19
- }
20
- `;e.s(["default",0,s])},23222,e=>{"use strict";var t=e.i(71983),s=e.i(13686);let a=t.gql`
21
- mutation AddWork(
22
- $type: WorkType!
23
- $priority: Int! = 0
24
- $input: JSON
25
- $originalWorkId: ID
26
- $scheduled: Timestamp
27
- $retries: Int! = 20
28
- ) {
29
- addWork(
30
- type: $type
31
- priority: $priority
32
- input: $input
33
- originalWorkId: $originalWorkId
34
- scheduled: $scheduled
35
- retries: $retries
36
- ) {
37
- _id
38
- }
39
- }
40
- `;e.s(["default",0,()=>{let[e]=(0,s.useMutation)(a);return{addWork:async({type:t,priority:s,input:a,originalWorkId:l,scheduled:r=null,retries:d})=>e({variables:{type:t,priority:s,input:a,originalWorkId:l,scheduled:r,retries:d},refetchQueries:["WorkQueue"]})}}])},15064,e=>{"use strict";var t=e.i(71983),s=e.i(13699),a=e.i(90575),l=e.i(73517);let r=(e="")=>t.gql`
41
- query Work($workId: ID!) {
42
- work(workId: $workId) {
43
- ...WorkFragment
44
- ${e}
45
- error
46
- priority
47
- worker
48
- timeout
49
- }
50
- }
51
- ${l.default}
52
- `;e.s(["GetWorkQuery",0,r,"default",0,({workId:e=null,...t})=>{let{customProperties:l}=(0,a.default)(),{data:d,loading:i,error:n,previousData:o}=(0,s.useQuery)(r(l?.Work),{skip:!e,variables:{workId:e},...t});return{work:d?.work||o?.work,loading:i,error:n}}])},37620,e=>{"use strict";var t=e.i(71983),s=e.i(13699),a=e.i(5858),l=e.i(73517);let r=t.gql`
53
- query WorkQueue(
54
- $queryString: String
55
- $offset: Int
56
- $limit: Int
57
- $status: [WorkStatus!]
58
- $types: [WorkType!]
59
- $created: DateFilterInput
60
- $sort: [SortOptionInput!]
61
- ) {
62
- workQueue(
63
- queryString: $queryString
64
- offset: $offset
65
- limit: $limit
66
- status: $status
67
- types: $types
68
- created: $created
69
- sort: $sort
70
- ) {
71
- ...WorkFragment
72
- }
73
- activeWorkTypes
74
- workQueueCount(
75
- status: $status
76
- types: $types
77
- created: $created
78
- queryString: $queryString
79
- )
80
- }
81
- ${l.default}
82
- `;e.s(["default",0,({queryString:e="",limit:t=50,status:l,types:d,created:i=null,sort:n=[],offset:o=0,pollInterval:u=1e3})=>{let{data:c,loading:m,error:x,fetchMore:f,previousData:h}=(0,s.useQuery)(r,{fetchPolicy:"cache-and-network",pollInterval:u,variables:{queryString:e,offset:o,limit:t,status:l,types:d,created:Object.fromEntries(Object.entries(i||{}).filter(([,e])=>e).map(([e,t])=>[e,t])),sort:(n||[]).length?n:[{key:"scheduled",value:a.ISortDirection.Desc}]}}),g=c?.workQueue||h?.workQueue||[],p=c?.activeWorkTypes||[],j=c?.workQueueCount||0,v=g?.length<j;return{workQueue:g,total:j,activeWorkTypes:p,hasMore:v,loading:m,error:x,loadMore:()=>{f({variables:{offset:g.length}})}}}])},28314,e=>{"use strict";var t=e.i(1415);let s=t.forwardRef(function({title:e,titleId:s,...a},l){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:l,"aria-labelledby":s},a),e?t.createElement("title",{id:s},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 6.878V6a2.25 2.25 0 0 1 2.25-2.25h7.5A2.25 2.25 0 0 1 18 6v.878m-12 0c.235-.083.487-.128.75-.128h10.5c.263 0 .515.045.75.128m-12 0A2.25 2.25 0 0 0 4.5 9v.878m13.5-3A2.25 2.25 0 0 1 19.5 9v.878m0 0a2.246 2.246 0 0 0-.75-.128H5.25c-.263 0-.515.045-.75.128m15 0A2.25 2.25 0 0 1 21 12v6a2.25 2.25 0 0 1-2.25 2.25H5.25A2.25 2.25 0 0 1 3 18v-6c0-.98.626-1.813 1.5-2.122"}))});e.s(["RectangleStackIcon",0,s],28314)},23654,e=>{"use strict";var t=e.i(69178),s=e.i(1415),a=e.i(48021);e.s(["default",0,({selectedStatuses:e,onStatusChange:l,statuses:r})=>{let{formatMessage:d}=(0,a.useIntl)(),[i,n]=(0,s.useState)(e||[]),o=e=>{let t,{value:s,checked:a}=e.target;n(t=a?[...i,s]:i.filter(e=>e!==s)),l(t)};return r?.map(e=>(0,t.jsxs)("div",{className:"inline-flex items-center rounded-md py-2 text-sm font-medium text-slate-900",children:[(0,t.jsx)("input",{className:"h-4 w-4 rounded-sm border-slate-300 dark:border-slate-600 bg-white dark:!bg-slate-800 text-slate-950 focus:ring-slate-800",type:"checkbox",id:e,name:e,value:e,checked:i.includes(e),onChange:o}),(0,t.jsx)("div",{className:"ml-2",children:(0,t.jsx)("label",{className:"text-sm text-slate-600 dark:text-slate-200",htmlFor:e,children:d({id:e.toLowerCase(),defaultMessage:e})})})]},e))}])},16017,e=>{"use strict";var t=e.i(69178),s=e.i(13071);e.s(["default",0,({id:e,label:a,value:l,onChange:r,placeholder:d,min:i,max:n,className:o,containerClassName:u})=>(0,t.jsxs)("div",{className:(0,s.default)("flex flex-col gap-1",u),children:[a&&(0,t.jsx)("label",{htmlFor:e,className:"text-sm font-medium text-slate-700 dark:text-slate-300",children:a}),(0,t.jsx)("input",{type:"date",id:e,value:l||"",onChange:e=>{r(e.target.value||null)},placeholder:d,min:i,max:n,className:(0,s.default)("w-full rounded-md border-1 border-slate-300 dark:border-slate-700 bg-white dark:bg-slate-900 px-3 py-2 text-sm shadow-xs text-slate-900 dark:text-slate-200 focus:outline-hidden focus:ring-2 focus:ring-slate-800 dark:[color-scheme:dark]",o)})]})])},89808,39357,e=>{"use strict";var t=e.i(69178),s=e.i(1415),a=e.i(48021),l=e.i(72670);e.s(["default",0,({tagList:e,onChange:r,options:d,label:i})=>{let{formatMessage:n}=(0,a.useIntl)(),o=(0,s.useRef)(!1),u=(0,s.useRef)(!1),[c,m]=(0,s.useState)([]);return(0,s.useEffect)(()=>{if(!o.current&&d.length>0){let t=new Set(e||[]);m(d.filter(({label:e})=>t.has(e)).map(({value:e})=>e)),o.current=!0}},[d,e]),(0,s.useEffect)(()=>{u.current?r(c):u.current=!0},[c]),(0,t.jsxs)("div",{className:"mt-2 flex-col sm:mt-0",children:[i&&(0,t.jsx)("h3",{className:"text-sm font-semibold text-gray-700 dark:text-slate-200 uppercase tracking-wide mb-3",children:i}),(0,t.jsx)("div",{children:c.map(e=>{let s=d.find(t=>t.value===e)?.label||e;return(0,t.jsx)(l.default,{text:s,color:"slate",onClick:()=>{m(t=>t.filter(t=>t!==e))},className:"ml-2 mb-2"},e)})}),(0,t.jsx)("div",{children:(0,t.jsx)("div",{className:"mt-1 flex max-w-full rounded-md shadow-xs dark:text-slate-200",children:(0,t.jsx)("div",{className:"relative flex grow items-stretch focus-within:z-10",children:(0,t.jsxs)("select",{id:"tag-input",className:"mt-1 block w-full rounded-md dark:bg-slate-800 border-slate-300 dark:border-slate-700 py-2 pl-3 text-base focus:outline-hidden focus:ring-slate-800 sm:text-sm",onChange:e=>{var t;(t=e.target.value)&&!c.includes(t)&&m(e=>[...e,t])},value:"",children:[(0,t.jsx)("option",{value:"",children:n({id:"select_option",defaultMessage:"Select an option"})}),d.map(e=>(0,t.jsx)("option",{value:e.value,className:"dark:text-slate-200",children:e.label},e.value))]})})})})]})}],89808);var r=e.i(49061),d=e.i(81907),i=e.i(16017),n=e.i(70079);e.s(["default",0,()=>{let{parseDate:e}=(0,n.default)(),{formatMessage:s}=(0,a.useIntl)(),l=(0,r.useRouter)();return(0,t.jsxs)("div",{className:"flex items-center justify-center",children:[(0,t.jsx)("label",{className:"ml-1 mr-2",htmlFor:"work-start",children:s({id:"from",defaultMessage:"From"})}),(0,t.jsx)(i.default,{id:"work-start",onChange:e=>{if(e)l.push({query:(0,d.normalizeQuery)(l.query,new Date(e).toISOString(),"start")});else{let{start:e,...t}=l.query;l.push({query:{...t}})}},placeholder:s({id:"start_date",defaultMessage:"Start date"}),value:l?.query?.start?e(l?.query?.start):null,containerClassName:"w-full"}),(0,t.jsx)("label",{className:"mr-2 ml-3 ",htmlFor:"report-end",children:s({id:"to",defaultMessage:"To"})}),(0,t.jsx)(i.default,{id:"work-end",onChange:e=>{if(e)l.push({query:(0,d.normalizeQuery)(l.query,new Date(e).toISOString(),"end")});else{let{end:e,...t}=l.query;l.push({query:{...t}})}},placeholder:s({id:"end_date",defaultMessage:"End Date"}),value:e(l?.query?.end?l?.query?.end:new Date),containerClassName:"w-full"})]})}],39357)},98495,e=>{"use strict";var t=e.i(69178),s=e.i(48021),a=e.i(49061),l=e.i(1415),r=e.i(69438),d=e.i(51443),i=e.i(89808),n=e.i(23654),o=e.i(5411),u=e.i(81907),c=e.i(39357);let m=["NEW","ALLOCATED","SUCCESS","FAILED","DELETED"],x=({workTypes:e=[]})=>{let l=(0,a.useRouter)(),{formatMessage:r}=(0,s.useIntl)(),d=(0,o.extractQuery)(l.query.status),x=(0,o.extractQuery)(l.query.types);return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"mt-5 text-md text-slate-600 dark:text-slate-200",children:r({id:"filter_by_creation_date",defaultMessage:"Filter by creation date"})}),(0,t.jsx)("div",{className:"mt-3",children:(0,t.jsx)(c.default,{})}),e?.length?(0,t.jsx)("div",{className:"mt-5",children:(0,t.jsx)(i.default,{label:r({id:"select_type",defaultMessage:"Select type"}),tagList:x,onChange:e=>{let{types:t,...s}=l.query;e?.length?l.push({query:(0,u.normalizeQuery)(s,e?.join(","),"types")}):l.push({query:(0,u.normalizeQuery)(s)})},options:e.map(e=>({label:e,value:e}))})}):null,(0,t.jsxs)("div",{className:"mt-5",children:[(0,t.jsx)("div",{className:"text-md text-slate-800 dark:text-slate-200",children:r({id:"status",defaultMessage:"Status"})}),(0,t.jsx)("div",{className:"flex flex-wrap gap-5",children:(0,t.jsx)(n.default,{onStatusChange:e=>{let{status:t,...s}=l.query;e?.length?l.push({query:(0,u.normalizeQuery)(s,e,"status")}):l.push({query:s})},selectedStatuses:d,statuses:m})})]})]})};var f=e.i(98531),h=e.i(30758),g=e.i(72670),p=e.i(39381),j=e.i(70079),v=e.i(79180),w=e.i(81856),k=e.i(52626);let b=({work:e})=>{let{formatMessage:a}=(0,s.useIntl)(),{formatDateTime:r}=(0,j.default)(),{getScheduledTime:d,getDuration:i}=(0,v.default)(),[,n]=(0,l.useState)(null);(0,l.useEffect)(()=>{let t=null;return e&&("NEW"===e.status||"ALLOCATED"===e.status)&&(t=setInterval(()=>n(Date.now()),1e3)),()=>{clearInterval(t)}},[e?.status]);let o={dateStyle:"short",timeStyle:"short"};return(0,t.jsxs)(f.default.Row,{children:[(0,t.jsx)(f.default.Cell,{children:(0,t.jsx)("div",{className:"flex items-center text-sm",children:(0,t.jsx)(h.default,{href:`/works?workerId=${e._id}`,className:"text-slate-900 dark:text-slate-300",children:(0,t.jsx)(k.default,{work:e,children:e?.type||(0,t.jsxs)(t.Fragment,{children:[e._id," ",(0,t.jsx)(g.default,{color:"blue",text:a({id:"type",defaultMessage:"Type"})})]})})})})}),(0,t.jsx)(f.default.Cell,{children:(0,t.jsx)(g.default,{text:e?.status,color:p.WORK_STATUSES[e.status],square:!0})}),(0,t.jsx)(f.default.Cell,{children:(0,t.jsx)("div",{className:"flex items-center text-sm",children:e.created?r(e.created,o):"n/a"})}),(0,t.jsx)(f.default.Cell,{children:(0,t.jsx)("div",{className:"flex items-center text-sm",children:(0,t.jsx)(w.default,{text:r(e?.scheduled,o),children:d(e)})})}),(0,t.jsx)(f.default.Cell,{children:(0,t.jsx)("div",{className:"flex items-center text-sm",children:e.started?r(e.started,o):"n/a"})}),(0,t.jsx)(f.default.Cell,{children:(0,t.jsx)("div",{className:"flex items-center text-sm",children:e.finished?r(e.finished,o):"n/a"})}),(0,t.jsx)(f.default.Cell,{children:(0,t.jsx)("div",{className:"flex items-center text-sm",children:i(e)})})]})},y=({workQueue:e,sortable:a})=>{let{formatMessage:l}=(0,s.useIntl)();return(0,t.jsxs)(f.default,{className:"min-w-full",children:[e?.map(e=>(0,t.jsxs)(f.default.Row,{header:!0,enablesort:a,children:[(0,t.jsx)(f.default.Cell,{sortKey:"type",children:l({id:"work_type_header",defaultMessage:"Type"})}),(0,t.jsx)(f.default.Cell,{sortKey:"status",children:l({id:"status",defaultMessage:"Status"})}),(0,t.jsx)(f.default.Cell,{sortKey:"created",children:l({id:"created",defaultMessage:"Created"})}),(0,t.jsx)(f.default.Cell,{sortKey:"scheduled",defaultSortDirection:"DESC",children:l({id:"scheduled",defaultMessage:"Scheduled"})}),(0,t.jsx)(f.default.Cell,{sortKey:"started",children:l({id:"started",defaultMessage:"Started"})}),(0,t.jsx)(f.default.Cell,{sortKey:"finished",children:l({id:"finished",defaultMessage:"Finished"})}),(0,t.jsx)(f.default.Cell,{children:l({id:"duration",defaultMessage:"Duration"})})]},`${e._id}-header`)),e?.map(e=>(0,t.jsx)(b,{work:e},`${e?._id}-body-${JSON.stringify(e)}`))]})};var N=e.i(58930);let C=l.forwardRef(function({title:e,titleId:t,...s},a){return l.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":t},s),e?l.createElement("title",{id:t},e):null,l.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m8.25 4.5 7.5 7.5-7.5 7.5"}))}),M=({messageWork:e,childWorks:a,expanded:l,onToggleExpanded:r})=>{let{formatMessage:d}=(0,s.useIntl)(),{formatDateTime:i}=(0,j.default)(),n=((e,t,s)=>{if(Array.isArray(e?.result?.forked)&&0===e.result.forked.length||e?.result?.forked==="[]")return s({id:"message_status_skipped",defaultMessage:"Skipped"});if(!t||0===t.length)return s("SUCCESS"===e.status?{id:"message_status_sent",defaultMessage:"Sent"}:{id:"message_status_processing",defaultMessage:"Processing"});let a=t.some(e=>"SUCCESS"===e.status),l=t.every(e=>"FAILED"===e.status);return s(t.some(e=>"NEW"===e.status||"ALLOCATED"===e.status)?{id:"message_status_sending",defaultMessage:"Sending"}:a&&!l?{id:"message_status_sent",defaultMessage:"Sent"}:l?{id:"message_status_undeliverable",defaultMessage:"Undeliverable"}:{id:"message_status_processing",defaultMessage:"Processing"})})(e,a,d),o=((e,t)=>{if(Array.isArray(e?.result?.forked)&&0===e.result.forked.length||e?.result?.forked==="[]")return"slate";if(!t||0===t.length)return"SUCCESS"===e.status?"green":"yellow";let s=t.some(e=>"SUCCESS"===e.status),a=t.every(e=>"FAILED"===e.status);return t.some(e=>"NEW"===e.status||"ALLOCATED"===e.status)?"blue":s&&!a?"green":a?"red":"yellow"})(e,a),u={dateStyle:"short",timeStyle:"short"},c=Object.entries(a?.reduce((e,t)=>(e[t.type]||(e[t.type]=0),e[t.type]++,e),{})||{}).map(([e,t])=>`${t} ${e}${t>1?"s":""}`).join(", ")||d({id:"no_retries",defaultMessage:"No retries"});return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(f.default.Row,{className:"bg-slate-50 dark:bg-slate-800/50",children:[(0,t.jsx)(f.default.Cell,{children:(0,t.jsxs)("div",{className:"flex items-center text-sm",children:[(0,t.jsx)("button",{onClick:r,className:"mr-2 p-1 hover:bg-slate-200 dark:hover:bg-slate-700 rounded",children:l?(0,t.jsx)(N.ChevronDownIcon,{className:"w-4 h-4"}):(0,t.jsx)(C,{className:"w-4 h-4"})}),(0,t.jsx)(h.default,{href:`/works?workerId=${e._id}`,className:"text-slate-900 dark:text-slate-300 font-medium",children:e?.input?.template}),(0,t.jsxs)("span",{className:"ml-2 text-slate-500 text-xs",children:["(",c,")"]})]})}),(0,t.jsx)(f.default.Cell,{children:(0,t.jsx)(g.default,{text:n,color:o,square:!0})}),(0,t.jsx)(f.default.Cell,{children:(0,t.jsx)("div",{className:"flex items-center text-sm",children:e.created?i(e.created,u):"n/a"})}),(0,t.jsx)(f.default.Cell,{children:(0,t.jsx)("div",{className:"flex items-center text-sm",children:e.scheduled?i(e.scheduled,u):"n/a"})}),(0,t.jsx)(f.default.Cell,{children:(0,t.jsx)("div",{className:"flex items-center text-sm",children:e.started?i(e.started,u):"n/a"})}),(0,t.jsx)(f.default.Cell,{children:(0,t.jsx)("div",{className:"flex items-center text-sm",children:e.finished?i(e.finished,u):"n/a"})}),(0,t.jsx)(f.default.Cell,{children:(0,t.jsx)("div",{className:"flex items-center text-sm",children:"-"})})]}),l&&a?.map(e=>(0,t.jsxs)(f.default.Row,{className:"bg-slate-25 dark:bg-slate-900/30",children:[(0,t.jsx)(f.default.Cell,{children:(0,t.jsxs)("div",{className:"flex items-center text-sm pl-8",children:[(0,t.jsx)(h.default,{href:`/works?workerId=${e._id}`,className:"text-slate-700 dark:text-slate-400",children:e.type}),e.retries>0&&(0,t.jsxs)("span",{className:"ml-2 text-xs text-orange-600 dark:text-orange-400",children:["(",d({id:"retry_remaining",defaultMessage:"retry"})," ",e.retries,")"]})]})}),(0,t.jsx)(f.default.Cell,{children:(0,t.jsx)(g.default,{text:e.status,color:p.WORK_STATUSES[e.status],square:!0})}),(0,t.jsx)(f.default.Cell,{children:(0,t.jsx)("div",{className:"flex items-center text-sm",children:e.created?i(e.created,u):"n/a"})}),(0,t.jsx)(f.default.Cell,{children:(0,t.jsx)("div",{className:"flex items-center text-sm",children:e.scheduled?i(e.scheduled,u):"n/a"})}),(0,t.jsx)(f.default.Cell,{children:(0,t.jsx)("div",{className:"flex items-center text-sm",children:e.started?i(e.started,u):"n/a"})}),(0,t.jsx)(f.default.Cell,{children:(0,t.jsx)("div",{className:"flex items-center text-sm",children:e.finished?i(e.finished,u):"n/a"})}),(0,t.jsx)(f.default.Cell,{children:(0,t.jsx)("div",{className:"flex items-center text-sm",children:"-"})})]},e._id))]})},S=({messageGroups:e,sortable:a,expandedMessages:l,onToggleExpanded:r})=>{let{formatMessage:d}=(0,s.useIntl)();return(0,t.jsxs)(f.default,{className:"min-w-full",children:[(0,t.jsxs)(f.default.Row,{header:!0,enablesort:a,children:[(0,t.jsx)(f.default.Cell,{sortKey:"type",children:d({id:"work_type_header",defaultMessage:"Type"})}),(0,t.jsx)(f.default.Cell,{sortKey:"status",children:d({id:"status",defaultMessage:"Status"})}),(0,t.jsx)(f.default.Cell,{sortKey:"created",children:d({id:"created",defaultMessage:"Created"})}),(0,t.jsx)(f.default.Cell,{sortKey:"scheduled",defaultSortDirection:"DESC",children:d({id:"scheduled",defaultMessage:"Scheduled"})}),(0,t.jsx)(f.default.Cell,{sortKey:"started",children:d({id:"started",defaultMessage:"Started"})}),(0,t.jsx)(f.default.Cell,{sortKey:"finished",children:d({id:"finished",defaultMessage:"Finished"})}),(0,t.jsx)(f.default.Cell,{children:d({id:"duration",defaultMessage:"Duration"})})]}),e.filter(e=>e?.message?.input?.template)?.map(e=>(0,t.jsx)(M,{messageWork:e.message,childWorks:e.children,expanded:l.has(e.message._id),onToggleExpanded:()=>r(e.message._id)},`${e.message._id}-${e?.message?.created}-${e?.message?.status}-${e?.message?.scheduled}-${e?.message?.finished}`))]})};var I=e.i(8295),_=e.i(12763),E=e.i(37620);let D=l.forwardRef(function({title:e,titleId:t,...s},a){return l.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":t},s),e?l.createElement("title",{id:t},e):null,l.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M21.75 6.75v10.5a2.25 2.25 0 0 1-2.25 2.25h-15a2.25 2.25 0 0 1-2.25-2.25V6.75m19.5 0A2.25 2.25 0 0 0 19.5 4.5h-15a2.25 2.25 0 0 0-2.25 2.25m19.5 0v.243a2.25 2.25 0 0 1-1.07 1.916l-7.5 4.615a2.25 2.25 0 0 1-2.36 0L3.32 8.91a2.25 2.25 0 0 1-1.07-1.916V6.75"}))});var L=e.i(28314);e.s(["default",0,()=>{let{query:e,push:i}=(0,a.useRouter)(),{formatMessage:n}=(0,s.useIntl)(),[o,c]=(0,l.useState)(new Set),m={created:{start:e?.start,end:e?.end},status:e?.status?.split(","),types:e?.tab==="messages"?["MESSAGE","EMAIL",...(e.types??"").split(",")].filter(Boolean):e?.types?.split(",")},f=parseInt(e?.limit,10)||p.DefaultLimit,h=parseInt(e?.skip,10)||0,g=e?.sort||"",{queryString:j,workerId:v,...w}=e,k=(0,u.convertSortFieldsToQueryFormat)(g),{workQueue:b,loadMore:N,loading:C,activeWorkTypes:M,total:W,hasMore:T}=(0,E.default)({queryString:j,limit:f,...m,sort:k,offset:h}),{messageGroups:$}=(0,l.useMemo)(()=>({messageGroups:(e=>{if(!e)return[];let t=e.filter(e=>"MESSAGE"===e.type),s=e.filter(e=>e.original&&e.original._id),a=[];return t.forEach(e=>{let t=s.filter(t=>t.original._id===e._id);a.push({message:e,children:t.sort((e,t)=>e.retries-t.retries)})}),a.sort((e,t)=>new Date(t.message.created).getTime()-new Date(e.message.created).getTime())})(b)}),[b]),O=(0,l.useMemo)(()=>[{id:"all",title:n({id:"all_workers",defaultMessage:"All Workers"}),Icon:(0,t.jsx)(L.RectangleStackIcon,{className:"h-5 w-5"})},{id:"messages",title:n({id:"messages",defaultMessage:"Messages"}),Icon:(0,t.jsx)(D,{className:"h-5 w-5"})}],[n]),A=(0,l.useCallback)(e=>{let{skip:t,...s}=w;e?i({query:(0,u.normalizeQuery)(s,e,"queryString")}):i({query:(0,u.normalizeQuery)(w)})},[w,i]),R=(0,l.useCallback)(e=>{c(t=>{let s=new Set(t);return s.has(e)?s.delete(e):s.add(e),s})},[]),q=(0,l.useCallback)(({selectedView:e="all"})=>{let s="messages"===e,a=s?T&&$.length>0:T;return(0,t.jsx)(r.default,{loading:C,hasMore:a,onLoadMore:N,threshold:s?600:200,children:C&&b?.length===0?(0,t.jsx)(d.default,{}):s?(0,t.jsx)(S,{messageGroups:$,sortable:!0,expandedMessages:o,onToggleExpanded:R}):(0,t.jsx)(y,{workQueue:b,sortable:!0})})},[C,T,N,b,$,o,R]);return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(x,{workTypes:e?.tab==="messages"?[]:M}),(0,t.jsx)(_.default,{onSearchChange:A,defaultSearchValue:j,children:(0,t.jsx)(I.default,{tabItems:O,defaultTab:"all",children:(0,t.jsx)(q,{})})})]})}],98495)},79180,81856,52626,e=>{"use strict";var t=e.i(92024),s=e.i(27817),a=e.i(5944),l=e.i(77860),r=e.i(66752),d=e.i(44701),i=e.i(10863),n=e.i(31556);let o=["years","months","weeks","days","hours","minutes","seconds"];e.s(["default",0,()=>({getScheduledTime:e=>{if(!e)return null;let{scheduled:o,status:u,started:c}=e;if("FAILED"===u||"SUCCESS"===u||"DELETED"===u)return null;let m=new Date(o).getTime();if("ALLOCATED"===u||"NEW"===u&&!c){var x;return x={addSuffix:!0},function(e,t,o){let u,c=(0,a.getDefaultOptions)(),m=o?.locale??c.locale??s.defaultLocale,x=(0,i.compareAsc)(e,t);if(isNaN(x))throw RangeError("Invalid time value");let f=Object.assign({},o,{addSuffix:o?.addSuffix,comparison:x}),[h,g]=(0,d.normalizeDates)(o?.in,...x>0?[t,e]:[e,t]),p=(0,l.getRoundingMethod)(o?.roundingMethod??"round"),j=g.getTime()-h.getTime(),v=j/n.millisecondsInMinute,w=(j-((0,r.getTimezoneOffsetInMilliseconds)(g)-(0,r.getTimezoneOffsetInMilliseconds)(h)))/n.millisecondsInMinute,k=o?.unit;if("second"===(u=k||(v<1?"second":v<60?"minute":v<n.minutesInDay?"hour":w<n.minutesInMonth?"day":w<n.minutesInYear?"month":"year"))){let e=p(j/1e3);return m.formatDistance("xSeconds",e,f)}if("minute"===u){let e=p(v);return m.formatDistance("xMinutes",e,f)}if("hour"===u){let e=p(v/60);return m.formatDistance("xHours",e,f)}if("day"===u){let e=p(w/n.minutesInDay);return m.formatDistance("xDays",e,f)}if("month"===u){let e=p(w/n.minutesInMonth);return 12===e&&"month"!==k?m.formatDistance("xYears",1,f):m.formatDistance("xMonths",e,f)}else{let e=p(w/n.minutesInYear);return m.formatDistance("xYears",e,f)}}(m,(0,t.constructFrom)(m,Date.now()),x)}return null},getDuration:e=>{var t,l;let r,d,i,n,u,c;if(!e)return null;let{started:m,finished:x}=e,f=new Date().getTime();return m?(t={hours:Number(Math.floor((r=x?new Date(x).getTime()-new Date(m).getTime():f-new Date(m).getTime())/1e3/60/60)%24),minutes:Number(Math.floor(r/1e3/60)%60),seconds:Number(Math.ceil(r/1e3)%60)},l={zero:!1},d=(0,a.getDefaultOptions)(),i=l?.locale??d.locale??s.defaultLocale,n=l?.format??o,u=l?.zero??!1,c=l?.delimiter??" ",i.formatDistance?n.reduce((e,s)=>{let a=`x${s.replace(/(^.)/,e=>e.toUpperCase())}`,l=t[s];return void 0!==l&&(u||t[s])?e.concat(i.formatDistance(a,l)):e},[]).join(c):""):null}})],79180);var u=e.i(69178),c=e.i(1415);e.s(["default",0,({text:e,children:t})=>{let[s,a]=(0,c.useState)(!1);return(0,u.jsxs)("div",{className:"relative",children:[(0,u.jsx)("div",{onMouseEnter:()=>{a(!0)},onMouseLeave:()=>{a(!1)},children:t}),s&&(0,u.jsx)("div",{className:"tooltip absolute p-2 bg-slate-700 text-white rounded-lg whitespace-nowrap",children:e})]})}],81856),e.s(["default",0,({work:e,children:t=null})=>e?.original?e?.original?.retries===e?.retries?(0,u.jsxs)("span",{children:[(0,u.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor",className:"w-3 h-3 inline-block text-slate-500 mr-2",children:(0,u.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M16.023 9.348h4.992v-.001M2.985 19.644v-4.992m0 0h4.992m-4.993 0 3.181 3.183a8.25 8.25 0 0 0 13.803-3.7M4.031 9.865a8.25 8.25 0 0 1 13.803-3.7l3.181 3.182m0-4.991v4.99"})}),t]}):(0,u.jsx)("span",{children:(0,u.jsxs)("span",{children:[(0,u.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor",className:"w-3 h-3 inline-block text-slate-500 mr-2",children:(0,u.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M16.023 9.348h4.992v-.001M2.985 19.644v-4.992m0 0h4.992m-4.993 0 3.181 3.183a8.25 8.25 0 0 0 13.803-3.7M4.031 9.865a8.25 8.25 0 0 1 13.803-3.7l3.181 3.182m0-4.991v4.99"})}),t,(0,u.jsx)("span",{className:"text-rose-400 text-sm ml-2",children:`${e?.retries} / ${e?.original?.retries}`})]})}):t],52626)},77860,e=>{"use strict";e.s(["getRoundingMethod",0,function(e){return t=>{let s=(e?Math[e]:Math.trunc)(t);return 0===s?0:s}}])},10863,e=>{"use strict";var t=e.i(23317);e.s(["compareAsc",0,function(e,s){let a=(0,t.toDate)(e)-(0,t.toDate)(s);return a<0?-1:a>0?1:a}])},20124,e=>{"use strict";var t=e.i(1415);let s=t.forwardRef(function({title:e,titleId:s,...a},l){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:l,"aria-labelledby":s},a),e?t.createElement("title",{id:s},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M16.023 9.348h4.992v-.001M2.985 19.644v-4.992m0 0h4.992m-4.993 0 3.181 3.183a8.25 8.25 0 0 0 13.803-3.7M4.031 9.865a8.25 8.25 0 0 1 13.803-3.7l3.181 3.182m0-4.991v4.99"}))});e.s(["ArrowPathIcon",0,s],20124)},92648,e=>{"use strict";var t=e.i(69178),s=e.i(49061),a=e.i(48021),l=e.i(29252),r=e.i(30758),d=e.i(1415),i=e.i(72670),n=e.i(70079),o=e.i(39381),u=e.i(47822),c=e.i(79180),m=e.i(81856),x=e.i(52626);let f=({work:e})=>{let{formatMessage:s}=(0,a.useIntl)(),{formatDateTime:l}=(0,n.default)(),{getDuration:f,getScheduledTime:h}=(0,c.default)(),[,g]=(0,d.useState)(null);(0,d.useEffect)(()=>{let t=null;return e&&("NEW"===e.status||"ALLOCATED"===e.status)&&(t=setInterval(()=>g(Date.now()),1e3)),()=>{clearInterval(t)}},[e?.status]);let p={timeStyle:"medium",dateStyle:"long"};return(0,t.jsx)("div",{className:`rounded-xl xl:-mx-8 mt-10 p-2 sm:p-6 lg:p-8 ${(0,o.getShadowStyle)(e?.status)}`,children:(0,t.jsxs)("div",{className:"grid grid-cols-1 gap-8 lg:grid-cols-2 auto-rows-max",children:[(0,t.jsxs)("div",{className:"max-h-fit col-span-2 rounded-lg border border-slate-300 dark:border-slate-800 bg-white dark:bg-slate-900 p-4 shadow-md dark:shadow-none sm:p-6 lg:col-span-1 lg:p-8",children:[(0,t.jsxs)("div",{className:"mb-2 flex flex-wrap items-center justify-between",children:[(0,t.jsx)("div",{className:"mr-4 text-base text-slate-500 dark:text-slate-500 ",children:s({id:"work_type",defaultMessage:"Work type"})}),(0,t.jsx)("div",{className:"mt-2 max-w-prose space-y-5 text-sm",children:e?.type})]}),(0,t.jsxs)("div",{className:"mb-2 flex flex-wrap items-center justify-between",children:[(0,t.jsx)("div",{className:"mr-4 text-base text-slate-500 dark:text-slate-500 ",children:s({id:"work_status",defaultMessage:"Work Status"})}),(0,t.jsx)(i.default,{text:e?.status,color:o.WORK_STATUSES[e?.status]})]}),(0,t.jsxs)("div",{className:"mb-2 flex flex-wrap items-center justify-between",children:[(0,t.jsx)("div",{className:"mr-4 text-base text-slate-500 dark:text-slate-500 ",children:s({id:"work_priority",defaultMessage:"Priority"})}),(0,t.jsx)("div",{className:"mt-2 max-w-prose space-y-5 text-sm ",children:e?.priority})]}),(0,t.jsxs)("div",{className:"mb-2 flex flex-wrap items-center justify-between",children:[(0,t.jsx)("div",{className:"mr-4 text-base text-slate-500 dark:text-slate-500 ",children:s({id:"work_retries",defaultMessage:"Retries"})}),(0,t.jsx)("div",{className:"mt-2 max-w-prose space-y-5 text-sm",children:(0,t.jsx)(x.default,{work:e})})]}),(0,t.jsxs)("div",{className:"mb-2 flex flex-wrap items-center justify-between",children:[(0,t.jsx)("div",{className:"mr-4 text-base text-slate-500 dark:text-slate-500 ",children:s({id:"worker",defaultMessage:"Worker"})}),(0,t.jsx)("div",{className:"mt-2 max-w-prose space-y-5 text-sm",children:e?.worker?(0,t.jsx)(i.default,{text:s({id:"worker_dynamic",defaultMessage:"{worker}"},{worker:e?.worker}),color:"purple"}):"n/a"})]}),e?.retries||e?.original?(0,t.jsxs)("div",{className:"mb-2 flex flex-wrap items-center justify-between",children:[(0,t.jsx)("div",{className:"mr-4 text-base text-slate-500 dark:text-slate-500 ",children:s({id:"work_original",defaultMessage:"Original Work"})}),(0,t.jsx)("div",{className:"mt-2 max-w-prose space-y-5 text-sm",children:(0,t.jsx)(r.default,{href:`/works?workerId=${e?.original?._id}`,className:"text-slate-900 dark:text-slate-300",children:e?.original?._id})})]}):""]}),(0,t.jsx)("div",{className:"col-span-2 rounded-lg border border-slate-300 dark:border-slate-800 bg-white dark:bg-slate-900 p-4 shadow-md dark:shadow-none sm:p-6 lg:col-span-1 lg:p-8",children:(0,t.jsxs)("div",{className:"grid grid-cols-2 gap-5",children:[(0,t.jsxs)("div",{className:"sm:col-span-1",children:[(0,t.jsx)("div",{className:"flex text-base text-slate-500 dark:text-slate-500 ",children:s({id:"work_created",defaultMessage:"Created"})}),(0,t.jsx)("div",{className:"flex text-sm",children:l(e?.created,p)})]}),(0,t.jsxs)("div",{className:"sm:col-span-1",children:[(0,t.jsx)("div",{className:"flex text-base text-slate-500 dark:text-slate-500 ",children:s({id:"work_scheduled",defaultMessage:"Scheduled"})}),(0,t.jsx)("div",{className:"flex text-sm w-100",children:(0,t.jsx)(m.default,{text:l(e?.scheduled,p),children:h(e)})})]}),(0,t.jsxs)("div",{className:"sm:col-span-1",children:[(0,t.jsx)("div",{className:"flex text-base text-slate-500 dark:text-slate-500 ",children:s({id:"work_started",defaultMessage:"Started"})}),(0,t.jsx)("div",{className:"flex text-sm",children:l(e?.started,p)})]}),(0,t.jsxs)("div",{className:"sm:col-span-1",children:[(0,t.jsx)("div",{className:"flex text-base text-slate-500 dark:text-slate-500 ",children:s({id:"work_finished",defaultMessage:"Finished"})}),(0,t.jsx)("div",{className:"flex text-sm",children:l(e?.finished,p)})]}),(0,t.jsxs)("div",{className:"sm:col-span-1",children:[(0,t.jsx)("div",{className:"flex text-base text-slate-500 dark:text-slate-500 ",children:s({id:"duration",defaultMessage:"Duration"})}),(0,t.jsx)("div",{className:"flex text-sm",children:f(e)})]}),e?.deleted&&(0,t.jsxs)("div",{className:"sm:col-span-1",children:[(0,t.jsx)("div",{className:"flex text-base text-slate-500 dark:text-slate-500 ",children:s({id:"deleted",defaultMessage:"Deleted"})}),(0,t.jsx)("div",{className:"flex text-sm",children:l(e?.deleted,p)})]})]})}),e?.error&&(0,t.jsxs)("div",{className:"rounded-lg shadow-md dark:shadow-none border-2 border-rose-300 dark:border-rose-800 col-span-2 lg:col-span-2 order-first overflow-hidden bg-rose-100 dark:bg-rose-800",children:[(0,t.jsx)("div",{className:"px-4 py-5 sm:px-6 border-b border-rose-300 dark:border-rose-800",children:(0,t.jsxs)("h3",{className:"text-lg font-medium leading-6 text-rose-700 dark:text-rose-300 flex items-center gap-2",children:[(0,t.jsx)("svg",{className:"w-6 h-6",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M12 8v4m0 4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"})}),s({id:"error",defaultMessage:"Error"})]})}),(0,t.jsx)("div",{className:"bg-rose-50 dark:bg-rose-950",children:(0,t.jsx)(u.default,{value:decodeURI(JSON.stringify(e.error,null,2)),disabled:!0,className:"block border-none w-full max-w-full resize-none sm:text-sm text-rose-900 dark:text-rose-100"})})]}),e?.input&&(0,t.jsxs)("div",{className:"overflow-hidden rounded-lg border border-slate-300 dark:border-slate-800 col-span-2 shadow-md dark:shadow-none bg-white dark:bg-slate-900 lg:col-span-1",children:[(0,t.jsx)("div",{className:"px-4 py-5 sm:px-6",children:(0,t.jsx)("h3",{className:"text-lg font-medium leading-6 text-slate-900 dark:text-slate-500",children:s({id:"input",defaultMessage:"Input"})})}),(0,t.jsx)(u.default,{value:JSON.stringify(e.input,null,2),disabled:!0,className:"block w-full max-w-full resize-none sm:text-sm"})]}),e?.result&&(0,t.jsxs)("div",{className:"overflow-hidden rounded-lg shadow-md dark:shadow-none border border-slate-300 dark:border-slate-800 col-span-2 bg-white dark:bg-slate-900 lg:col-span-1",children:[(0,t.jsxs)("div",{className:"px-4 py-5 sm:px-6 flex items-center justify-between",children:[(0,t.jsx)("h3",{className:"text-lg font-medium leading-6 text-slate-900 dark:text-slate-500",children:s({id:"result",defaultMessage:"Result"})}),e?.type==="BULK_IMPORT"&&e?.result?.created&&(0,t.jsx)("span",{className:"text-sm text-slate-600 dark:text-slate-400",children:s({id:"items_created",defaultMessage:"{count} items created"},{count:e.result.created.length})})]}),(0,t.jsx)(u.default,{value:JSON.stringify(e.result,null,2),disabled:!0,className:`block w-full max-w-full resize-none sm:text-sm ${e?.type==="BULK_IMPORT"&&e?.result?.created?.length>50?"max-h-96 overflow-y-auto":""}`})]})]})})};var h=e.i(15064),g=e.i(71983),p=e.i(13686);let j=g.gql`
83
- mutation RemoveWork($workId: ID!) {
84
- removeWork(workId: $workId) {
85
- _id
86
- }
87
- }
88
- `;var v=e.i(23222),w=e.i(51443),k=e.i(71588),b=e.i(23529),y=e.i(17831),N=e.i(31891),C=e.i(33362),M=e.i(20124),S=e.i(5858),I=e.i(12442),_=e.i(95126),E=e.i(62010),D=e.i(36187),L=e.i(23518),W=e.i(68686),T=e.i(5641);let $=({work:e,onSubmit:l})=>{let{formatMessage:r,locale:d}=(0,a.useIntl)(),i=(0,s.useRouter)(),n=r({id:"work_added_success",defaultMessage:"Work added successfully!"}),o=(0,T.default)({submit:l,successMessage:n,onSubmitSuccess:(e,{_id:t})=>(i.replace(`/works?workerId=${t}`),!0),enableReinitialize:!0,initialValues:{...e,input:JSON.stringify(e?.input||{},null,2)}});return(0,t.jsx)(I.default,{children:(0,t.jsx)(E.default,{form:o,children:(0,t.jsxs)("div",{className:"space-y-6 rounded-md bg-white dark:bg-slate-900 shadow-md ",children:[(0,t.jsx)("h2",{className:"text-2xl font-bold text-slate-900 dark:text-slate-200 ",children:r({id:"retry_work",defaultMessage:"Retry Work"})}),(0,t.jsx)("div",{className:"flex flex-col sm:flex-row sm:justify-between sm:items-center dark:border-slate-700 pb-4 mb-4",children:(0,t.jsx)("div",{className:"text-sm text-slate-500 dark:text-slate-400 mt-2 sm:mt-0 flex flex-col sm:flex-row sm:gap-4",children:(0,t.jsxs)("span",{children:[(0,t.jsx)("strong",{children:r({id:"type",defaultMessage:"Type"})})," ",e.type]})})}),(0,t.jsxs)("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-4",children:[(0,t.jsx)(W.default,{name:"priority",id:"priority",label:r({id:"priority",defaultMessage:"Priority"}),labelClassName:"text-sm font-medium text-slate-500 mb-1",type:"number",className:"w-full py-2 text-sm text-slate-900 dark:text-slate-200 dark:bg-slate-800 rounded-md"}),(0,t.jsx)(W.default,{name:"retries",id:"retries",label:r({id:"retries",defaultMessage:"Retries"}),labelClassName:"text-sm font-medium text-slate-500 mb-1",type:"number",className:"w-full py-2 text-sm text-slate-900 dark:text-slate-200 dark:bg-slate-800 rounded-md"})]}),(0,t.jsx)(_.default,{name:"scheduled",label:r({id:"scheduled",defaultMessage:"Scheduled"}),labelClassName:"text-sm font-medium text-slate-500 mb-1",className:"w-full py-2 text-sm text-slate-900 dark:text-slate-200 dark:bg-slate-800 rounded-md",containerClassName:"w-full",locale:d,showTimeInput:!0,timeFormat:"p",timeIntervals:15}),(0,t.jsx)("div",{children:(0,t.jsx)(D.default,{name:"input",label:r({id:"input",defaultMessage:"Input"}),labelClassName:"text-sm font-medium text-slate-500 mb-1",className:"w-full h-48 text-sm text-slate-900 dark:text-slate-200 dark:bg-slate-800 rounded-md"})}),(0,t.jsx)("div",{className:"border-t-slate-100 border-t dark:border-t-slate-700 space-y-6 bg-slate-50 dark:bg-slate-900 p-5 text-right",children:(0,t.jsx)(L.default,{label:r({id:"retry_submit",defaultMessage:"Retry"})})})]})})})};e.s(["default",0,({workerId:e})=>{let r,{formatMessage:i}=(0,a.useIntl)(),{push:n}=(0,s.useRouter)(),{work:o}=(0,h.default)({workId:e,pollInterval:2e3}),{setModal:u}=(0,N.default)(),{removeWork:c}=(()=>{let[e]=(0,p.useMutation)(j);return{removeWork:async({workId:t})=>e({variables:{workId:t},refetchQueries:["WorkQueue"]})}})(),{addWork:m}=(0,v.default)(),x=(0,d.useCallback)(async()=>{u((0,t.jsx)($,{work:o,onSubmit:async e=>{try{let{data:t}=await m({type:o?.type,priority:e.priority||o?.priority,retries:e.retries,scheduled:e.scheduled,input:JSON.parse(e.input||"{}"),originalWorkId:o?._id});return n(`/works?workerId=${t.addWork._id}`),u(null),{success:!0}}catch(e){return{success:!1,error:e}}}}),{closeOnOutsideClick:!0})},[o]),g=async()=>{await u((0,t.jsx)(y.default,{onCancelClick:()=>u(""),message:i({id:"delete_work_confirmation",defaultMessage:"This action might cause inconsistencies with other data that relates to it. Are you sure you want to delete this work? "}),onOkClick:async()=>{u(""),await c({workId:e}),l.toast.success(i({id:"work_deleted",defaultMessage:"Work deleted successfully"}))},okText:i({id:"delete_work",defaultMessage:"Delete work"})}))};return(0,t.jsxs)("div",{className:"mt-5 max-w-full",children:[(0,t.jsx)(b.default,{}),(0,t.jsxs)("div",{className:"items-center flex min-w-full justify-between gap-3 flex-wrap",children:[(0,t.jsx)(k.default,{headerText:i({id:"work_detail",defaultMessage:"Work Detail"}),title:i({id:"work_detail_title",defaultMessage:"Work {id}"},{id:o?._id})}),o&&(o?.status===S.IWorkStatus.Failed||o?.status===S.IWorkStatus.Success)?(0,t.jsxs)("button",{type:"button","aria-describedby":"header-delete-button",className:"my-auto flex items-center justify-center rounded-sm border-1 border-emerald-600 px-3 py-2 text-sm font-semibold text-emerald-600 shadow-xs hover:border-emerald-800 hover:bg-emerald-700 hover:text-white focus:outline-hidden focus:ring-2 focus:ring-emerald-700 focus:ring-offset-2",onClick:x,children:[(0,t.jsx)("span",{className:"pr-1",children:(0,t.jsx)(M.ArrowPathIcon,{className:"h-5 w-5"})}),i({id:"retry-work",defaultMessage:"Retry"})]}):null,o&&((r=o?.status)===S.IWorkStatus.New||r===S.IWorkStatus.Allocated)?(0,t.jsx)(C.default,{onClick:g}):null]}),o?(0,t.jsx)(f,{work:o}):(0,t.jsx)(w.default,{})]})}],92648)},12976,e=>{"use strict";var t=e.i(69178),s=e.i(48021),a=e.i(5858),l=e.i(49061),r=e.i(23529),d=e.i(71588),i=e.i(19372),n=e.i(92648),o=e.i(98495);e.s(["default",0,()=>{let{query:e}=(0,l.useRouter)(),{hasRole:u}=(0,i.default)(),{formatMessage:c}=(0,s.useIntl)(),{workerId:m}=e;return m?(0,t.jsx)(n.default,{workerId:m}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(r.default,{depth:3,currentPageTitle:c({id:"work_queue_header",defaultMessage:"Work queue"})}),(0,t.jsx)(d.default,{title:c({id:"work_queue_header",defaultMessage:"Work queue"}),addPath:u(a.IRoleAction.ManageWorker)&&"/works/management",addButtonText:c({id:"manage",defaultMessage:"Manage"})}),(0,t.jsx)(o.default,{})]})}])},8908,(e,t,s)=>{let a="/works";(window.__NEXT_P=window.__NEXT_P||[]).push([a,()=>e.r(12976)]),t.hot&&t.hot.dispose(function(){window.__NEXT_P.push([a])})},8233,e=>{e.v(t=>Promise.all(["static/chunks/0i.xcdg6xys-l.js"].map(t=>e.l(t))).then(()=>t(64324)))},69209,e=>{e.v(t=>Promise.all(["static/chunks/0.qq-wh2-26q3.js"].map(t=>e.l(t))).then(()=>t(3506)))}]);
@@ -1 +0,0 @@
1
- (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,51443,e=>{"use strict";var t=e.i(69178),r=e.i(48021);e.s(["default",0,()=>{let{formatMessage:e}=(0,r.useIntl)();return(0,t.jsx)("div",{className:"my-5 flex h-full w-full items-center justify-center bg-slate-50 dark:bg-slate-950 py-5",children:(0,t.jsxs)("div",{className:"flex items-center justify-center space-x-1 text-sm text-slate-700 dark:text-slate-200",children:[(0,t.jsx)("svg",{fill:"none",className:"h-6 w-6 animate-spin",viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg",children:(0,t.jsx)("path",{clipRule:"evenodd",d:"M15.165 8.53a.5.5 0 01-.404.58A7 7 0 1023 16a.5.5 0 011 0 8 8 0 11-9.416-7.874.5.5 0 01.58.404z",fill:"currentColor",fillRule:"evenodd"})}),(0,t.jsx)("div",{children:e({id:"loading",defaultMessage:"Loading ..."})})]})})}])},39381,e=>{"use strict";let t={red:{bg:{50:"bg-rose-50 dark:bg-rose-900/20",100:"bg-rose-100 dark:bg-rose-900/30",200:"bg-rose-200",300:"bg-rose-300 dark:bg-rose-900/30",400:"bg-rose-400",500:"bg-rose-500",600:"bg-rose-600",700:"bg-rose-700",800:"bg-rose-800",900:"bg-rose-900"},text:{50:"text-rose-50",100:"text-rose-100",200:"text-rose-200",300:"text-rose-300",400:"text-rose-400 dark:text-rose-300",500:"text-rose-500",600:"text-rose-600 dark:text-rose-400",700:"text-rose-700 dark:text-rose-300",800:"text-rose-800 dark:text-rose-200",900:"text-rose-900"},border:{50:"border-rose-50",100:"border-rose-100",200:"border-rose-200 dark:border-rose-800",300:"border-rose-300 dark:border-rose-700",400:"border-rose-400 dark:border-rose-600",500:"border-rose-500",600:"border-rose-600",700:"border-rose-700",800:"border-rose-800",900:"border-rose-900"}},pink:{bg:{50:"bg-pink-50",100:"bg-pink-100",200:"bg-pink-200",300:"bg-pink-300",400:"bg-pink-400",500:"bg-pink-500",600:"bg-pink-600",700:"bg-pink-700",800:"bg-pink-800",900:"bg-pink-900"},text:{50:"text-pink-50",100:"text-pink-100",200:"text-pink-200",300:"text-pink-300",400:"text-pink-400",500:"text-pink-500",600:"text-pink-600",700:"text-pink-700",800:"text-pink-800",900:"text-pink-900"},border:{50:"border-pink-50",100:"border-pink-100",200:"border-pink-200",300:"border-pink-300",400:"border-pink-400",500:"border-pink-500",600:"border-pink-600",700:"border-pink-700",800:"border-pink-800",900:"border-pink-900"}},purple:{bg:{50:"bg-purple-50 dark:bg-purple-900/20",100:"bg-purple-100 dark:bg-purple-900/30",200:"bg-purple-200",300:"bg-purple-300",400:"bg-purple-400",500:"bg-purple-500",600:"bg-purple-600",700:"bg-purple-700",800:"bg-purple-800",900:"bg-purple-900"},text:{50:"text-purple-50",100:"text-purple-100",200:"text-purple-200",300:"text-purple-300",400:"text-purple-400 dark:text-purple-300",500:"text-purple-500",600:"text-purple-600 dark:text-purple-400",700:"text-purple-700",800:"text-purple-800 dark:text-purple-300",900:"text-purple-900"},border:{50:"border-purple-50",100:"border-purple-100",200:"border-purple-200 dark:border-purple-600",300:"border-purple-300 dark:border-purple-500",400:"border-purple-400 dark:border-purple-500",500:"border-purple-500",600:"border-purple-600",700:"border-purple-700",800:"border-purple-800",900:"border-purple-900"}},"deep-purple":{bg:{50:"bg-deep-purple-50",100:"bg-deep-purple-100",200:"bg-deep-purple-200",300:"bg-deep-purple-300",400:"bg-deep-purple-400",500:"bg-deep-purple-500",600:"bg-deep-purple-600",700:"bg-deep-purple-700",800:"bg-deep-purple-800",900:"bg-deep-purple-900"},text:{50:"text-deep-purple-50",100:"text-deep-purple-100",200:"text-deep-purple-200",300:"text-deep-purple-300",400:"text-deep-purple-400",500:"text-deep-purple-500",600:"text-deep-purple-600",700:"text-deep-purple-700",800:"text-deep-purple-800",900:"text-deep-purple-900"},border:{50:"border-deep-purple-50",100:"border-deep-purple-100",200:"border-deep-purple-200",300:"border-deep-purple-300",400:"border-deep-purple-400",500:"border-deep-purple-500",600:"border-deep-purple-600",700:"border-deep-purple-700",800:"border-deep-purple-800",900:"border-deep-purple-900"}},blue:{bg:{50:"bg-sky-50 dark:bg-sky-900/20",100:"bg-sky-100 dark:bg-sky-900/30",200:"bg-sky-200",300:"bg-sky-300",400:"bg-sky-400",500:"bg-sky-500",600:"bg-sky-600",700:"bg-sky-700",800:"bg-sky-800",900:"bg-sky-900"},text:{50:"text-sky-50",100:"text-sky-100",200:"text-sky-200",300:"text-sky-300",400:"text-sky-400 dark:text-sky-300",500:"text-sky-500",600:"text-sky-600 dark:text-sky-400",700:"text-sky-700 dark:text-sky-300",800:"text-sky-800 dark:text-sky-200",900:"text-sky-900"},border:{50:"border-sky-50",100:"border-sky-100",200:"border-sky-200 dark:border-sky-800",300:"border-sky-300 dark:border-sky-700",400:"border-sky-400 dark:border-sky-600",500:"border-sky-500",600:"border-sky-600",700:"border-sky-700",800:"border-sky-800",900:"border-sky-900"}},"light-blue":{bg:{50:"bg-sky-50",100:"bg-sky-100",200:"bg-sky-200",300:"bg-sky-300",400:"bg-sky-400",500:"bg-sky-500",600:"bg-sky-600",700:"bg-sky-700",800:"bg-sky-800",900:"bg-sky-900"},text:{50:"text-sky-50",100:"text-sky-100",200:"text-sky-200",300:"text-sky-300",400:"text-sky-400",500:"text-sky-500",600:"text-sky-600",700:"text-sky-700",800:"text-sky-800",900:"text-sky-900"},border:{50:"border-sky-50",100:"border-sky-100",200:"border-sky-200",300:"border-sky-300",400:"border-sky-400",500:"border-sky-500",600:"border-sky-600",700:"border-sky-700",800:"border-sky-800",900:"border-sky-900"}},indigo:{bg:{50:"bg-indigo-50",100:"bg-indigo-100",200:"bg-indigo-200",300:"bg-indigo-300",400:"bg-indigo-400",500:"bg-indigo-500",600:"bg-indigo-600",700:"bg-indigo-700",800:"bg-indigo-800",900:"bg-indigo-900"},text:{50:"text-indigo-50",100:"text-indigo-100",200:"text-indigo-200",300:"text-indigo-300",400:"text-indigo-400",500:"text-indigo-500",600:"text-indigo-600",700:"text-indigo-700",800:"text-indigo-800",900:"text-indigo-900"},border:{50:"border-indigo-50",100:"border-indigo-100",200:"border-indigo-200",300:"border-indigo-300",400:"border-indigo-400",500:"border-indigo-500",600:"border-indigo-600",700:"border-indigo-700",800:"border-indigo-800",900:"border-indigo-900"}},cyan:{bg:{50:"bg-cyan-50 dark:bg-cyan-900/20",100:"bg-cyan-100 dark:bg-cyan-900/30",200:"bg-cyan-200",300:"bg-cyan-300",400:"bg-cyan-400",500:"bg-cyan-500",600:"bg-cyan-600",700:"bg-cyan-700",800:"bg-cyan-800",900:"bg-cyan-900"},text:{50:"text-cyan-50",100:"text-cyan-100",200:"text-cyan-200",300:"text-cyan-300",400:"text-cyan-400 dark:text-cyan-300",500:"text-cyan-500",600:"text-cyan-600 dark:text-cyan-400",700:"text-cyan-700 dark:text-cyan-300",800:"text-cyan-800 dark:text-cyan-200",900:"text-cyan-900"},border:{50:"border-cyan-50",100:"border-cyan-100",200:"border-cyan-200 dark:border-cyan-800",300:"border-cyan-300 dark:border-cyan-700",400:"border-cyan-400 dark:border-cyan-600",500:"border-cyan-500",600:"border-cyan-600",700:"border-cyan-700",800:"border-cyan-800",900:"border-cyan-900"}},teal:{bg:{50:"bg-teal-50 dark:bg-teal-900/20",100:"bg-teal-100 dark:bg-teal-900/30",200:"bg-teal-200",300:"bg-teal-300",400:"bg-teal-400",500:"bg-teal-500",600:"bg-teal-600",700:"bg-teal-700",800:"bg-teal-800",900:"bg-teal-900"},text:{50:"text-teal-50",100:"text-teal-100",200:"text-teal-200",300:"text-teal-300",400:"text-teal-400 dark:text-teal-300",500:"text-teal-500",600:"text-teal-600 dark:text-teal-400",700:"text-teal-700 dark:text-teal-300",800:"text-teal-800 dark:text-teal-200",900:"text-teal-900"},border:{50:"border-teal-50",100:"border-teal-100",200:"border-teal-200 dark:border-teal-800",300:"border-teal-300 dark:border-teal-700",400:"border-teal-400 dark:border-teal-600",500:"border-teal-500",600:"border-teal-600",700:"border-teal-700",800:"border-teal-800",900:"border-teal-900"}},green:{bg:{50:"bg-emerald-50 dark:bg-emerald-900/20",100:"bg-emerald-50 dark:bg-emerald-900/30",200:"bg-emerald-200",300:"bg-emerald-300",400:"bg-emerald-400",500:"bg-emerald-500",600:"bg-emerald-600",700:"bg-emerald-700",800:"bg-emerald-800",900:"bg-emerald-900"},text:{50:"text-emerald-50",100:"text-emerald-100",200:"text-emerald-200",300:"text-emerald-300",400:"text-emerald-400",500:"text-emerald-500",600:"text-emerald-600 dark:text-emerald-400",700:"text-emerald-700 dark:text-emerald-300",800:"text-emerald-700 dark:text-emerald-300",900:"text-emerald-900"},border:{50:"border-emerald-50",100:"border-emerald-100",200:"border-emerald-200 dark:border-emerald-800",300:"border-emerald-300 dark:border-emerald-700",400:"border-emerald-200 dark:border-emerald-800",500:"border-emerald-500",600:"border-emerald-600",700:"border-emerald-700",800:"border-emerald-800",900:"border-emerald-900"}},"light-green":{bg:{50:"bg-light-green-50",100:"bg-light-green-100",200:"bg-light-green-200",300:"bg-light-green-300",400:"bg-light-green-400",500:"bg-light-green-500",600:"bg-light-green-600",700:"bg-light-green-700",800:"bg-light-green-800",900:"bg-light-green-900"},text:{50:"text-light-green-50",100:"text-light-green-100",200:"text-light-green-200",300:"text-light-green-300",400:"text-light-green-400",500:"text-light-green-500",600:"text-light-green-600",700:"text-light-green-700",800:"text-light-green-800",900:"text-light-green-900"},border:{50:"border-light-green-50",100:"border-light-green-100",200:"border-light-green-200",300:"border-light-green-300",400:"border-light-green-400",500:"border-light-green-500",600:"border-light-green-600",700:"border-light-green-700",800:"border-light-green-800",900:"border-light-green-900"}},lime:{bg:{50:"bg-lime-50 dark:bg-lime-900/20",100:"bg-lime-100 dark:bg-lime-900/30",200:"bg-lime-200",300:"bg-lime-300",400:"bg-lime-400",500:"bg-lime-500",600:"bg-lime-600",700:"bg-lime-700",800:"bg-lime-800",900:"bg-lime-900"},text:{50:"text-lime-50",100:"text-lime-100",200:"text-lime-200",300:"text-lime-300",400:"text-lime-400 dark:text-lime-300",500:"text-lime-500",600:"text-lime-600 dark:text-lime-400",700:"text-lime-700 dark:text-lime-300",800:"text-lime-800 dark:text-lime-200",900:"text-lime-900"},border:{50:"border-lime-50",100:"border-lime-100",200:"border-lime-200 dark:border-lime-800",300:"border-lime-300 dark:border-lime-700",400:"border-lime-400 dark:border-lime-600",500:"border-lime-500",600:"border-lime-600",700:"border-lime-700",800:"border-lime-800",900:"border-lime-900"}},yellow:{bg:{50:"bg-yellow-50 dark:bg-yellow-900/20",100:"bg-amber-100 dark:bg-yellow-900/30",200:"bg-yellow-200",300:"bg-yellow-300",400:"bg-amber-400",500:"bg-amber-500",600:"bg-yellow-600",700:"bg-yellow-700",800:"bg-yellow-800",900:"bg-yellow-900"},text:{50:"text-yellow-50",100:"text-yellow-100",200:"text-yellow-200",300:"text-yellow-300",400:"text-amber-400 dark:text-yellow-300",500:"text-amber-500",600:"text-amber-600 dark:text-yellow-400",700:"text-yellow-700",800:"text-yellow-800 dark:text-yellow-300",900:"text-yellow-900"},border:{50:"border-yellow-50",100:"border-yellow-100",200:"border-yellow-200 dark:border-yellow-800",300:"border-yellow-300 dark:border-yellow-700",400:"border-amber-400 dark:border-yellow-800",500:"border-yellow-500",600:"border-yellow-600",700:"border-yellow-700",800:"border-yellow-800",900:"border-yellow-900"}},amber:{bg:{50:"bg-amber-50 dark:bg-amber-900/20",100:"bg-amber-100 dark:bg-amber-900/30",200:"bg-amber-200",300:"bg-amber-300",400:"bg-amber-400",500:"bg-amber-500",600:"bg-amber-600",700:"bg-amber-700",800:"bg-amber-800",900:"bg-amber-900"},text:{50:"text-amber-50",100:"text-amber-100",200:"text-amber-200",300:"text-amber-300",400:"text-amber-400 dark:text-amber-300",500:"text-amber-500",600:"text-amber-600 dark:text-amber-400",700:"text-amber-700 dark:text-amber-300",800:"text-amber-800 dark:text-amber-200",900:"text-amber-900"},border:{50:"border-amber-50",100:"border-amber-100",200:"border-amber-200 dark:border-amber-800",300:"border-amber-300 dark:border-amber-700",400:"border-amber-400 dark:border-amber-600",500:"border-amber-500",600:"border-amber-600",700:"border-amber-700",800:"border-amber-800",900:"border-amber-900"}},orange:{bg:{50:"bg-orange-50 dark:bg-orange-900/20",100:"bg-orange-100 dark:bg-orange-900/30",200:"bg-orange-200",300:"bg-orange-300",400:"bg-orange-400",500:"bg-orange-500",600:"bg-orange-600",700:"bg-orange-700",800:"bg-orange-800",900:"bg-orange-900"},text:{50:"text-orange-50",100:"text-orange-100",200:"text-orange-200",300:"text-orange-300",400:"text-orange-400 dark:text-orange-300",500:"text-orange-500",600:"text-orange-600 dark:text-orange-400",700:"text-orange-700 dark:text-orange-300",800:"text-orange-800 dark:text-orange-200",900:"text-orange-900"},border:{50:"border-orange-50",100:"border-orange-100",200:"border-orange-200 dark:border-orange-800",300:"border-orange-300 dark:border-orange-700",400:"border-orange-400 dark:border-orange-600",500:"border-orange-500",600:"border-orange-600",700:"border-orange-700",800:"border-orange-800",900:"border-orange-900"}},"deep-orange":{bg:{50:"bg-deep-orange-50",100:"bg-deep-orange-100",200:"bg-deep-orange-200",300:"bg-deep-orange-300",400:"bg-deep-orange-400",500:"bg-deep-orange-500",600:"bg-deep-orange-600",700:"bg-deep-orange-700",800:"bg-deep-orange-800",900:"bg-deep-orange-900"},text:{50:"text-deep-orange-50",100:"text-deep-orange-100",200:"text-deep-orange-200",300:"text-deep-orange-300",400:"text-deep-orange-400",500:"text-deep-orange-500",600:"text-deep-orange-600",700:"text-deep-orange-700",800:"text-deep-orange-800",900:"text-deep-orange-900"},border:{50:"border-deep-orange-50",100:"border-deep-orange-100",200:"border-deep-orange-200",300:"border-deep-orange-300",400:"border-deep-orange-400",500:"border-deep-orange-500",600:"border-deep-orange-600",700:"border-deep-orange-700",800:"border-deep-orange-800",900:"border-deep-orange-900"}},stone:{bg:{50:"bg-stone-50",100:"bg-stone-100",200:"bg-stone-200",300:"bg-stone-300",400:"bg-stone-400",500:"bg-stone-500",600:"bg-stone-600",700:"bg-stone-700",800:"bg-stone-800",900:"bg-stone-900"},text:{50:"text-stone-50",100:"text-stone-100",200:"text-stone-200",300:"text-stone-300",400:"text-stone-400",500:"text-stone-500",600:"text-stone-600",700:"text-stone-700",800:"text-stone-800",900:"text-stone-900"},border:{50:"border-stone-50",100:"border-stone-100",200:"border-stone-200",300:"border-stone-300",400:"border-stone-400",500:"border-stone-500",600:"border-stone-600",700:"border-stone-700",800:"border-stone-800",900:"border-stone-900"}},slate:{bg:{50:"bg-slate-50",100:"bg-slate-50 dark:bg-slate-800/50",200:"bg-slate-200",300:"bg-slate-300",400:"bg-slate-400",500:"bg-slate-500",600:"bg-slate-600",700:"bg-slate-700",800:"bg-slate-800",900:"bg-slate-900"},text:{50:"text-slate-50",100:"text-slate-100",200:"text-slate-200",300:"text-slate-300",400:"text-slate-400",500:"text-slate-500",600:"text-slate-600 dark:text-slate-400",700:"text-slate-700",800:"text-slate-600 dark:text-slate-400",900:"text-slate-900"},border:{50:"border-slate-50",100:"border-slate-100",200:"border-slate-300 dark:border-slate-700",300:"border-slate-300",400:"border-slate-300 dark:border-slate-700",500:"border-slate-500",600:"border-slate-600",700:"border-slate-700",800:"border-slate-800",900:"border-slate-900"}},rose:{bg:{50:"bg-rose-50 dark:bg-rose-900/20",100:"bg-rose-100 dark:bg-rose-900/30",200:"bg-rose-200",300:"bg-rose-300 dark:bg-rose-900/30",400:"bg-rose-400",500:"bg-rose-500",600:"bg-rose-600",700:"bg-rose-700",800:"bg-rose-800",900:"bg-rose-900"},text:{50:"text-rose-50",100:"text-rose-100",200:"text-rose-200",300:"text-rose-300",400:"text-rose-400 dark:text-rose-300",500:"text-rose-500",600:"text-rose-600 dark:text-rose-400",700:"text-rose-700 dark:text-rose-300",800:"text-rose-800 dark:text-rose-200",900:"text-rose-900"},border:{50:"border-rose-50",100:"border-rose-100",200:"border-rose-200 dark:border-rose-800",300:"border-rose-300 dark:border-rose-700",400:"border-rose-400 dark:border-rose-600",500:"border-rose-500",600:"border-rose-600",700:"border-rose-700",800:"border-rose-800",900:"border-rose-900"}},sky:{bg:{50:"bg-sky-50 dark:bg-sky-900/20",100:"bg-sky-100 dark:bg-sky-900/30",200:"bg-sky-200",300:"bg-sky-300",400:"bg-sky-400",500:"bg-sky-500",600:"bg-sky-600",700:"bg-sky-700",800:"bg-sky-800",900:"bg-sky-900"},text:{50:"text-sky-50",100:"text-sky-100",200:"text-sky-200",300:"text-sky-300",400:"text-sky-400 dark:text-sky-300",500:"text-sky-500",600:"text-sky-600 dark:text-sky-400",700:"text-sky-700 dark:text-sky-300",800:"text-sky-800 dark:text-sky-200",900:"text-sky-900"},border:{50:"border-sky-50",100:"border-sky-100",200:"border-sky-200 dark:border-sky-800",300:"border-sky-300 dark:border-sky-700",400:"border-sky-400 dark:border-sky-600",500:"border-sky-500",600:"border-sky-600",700:"border-sky-700",800:"border-sky-800",900:"border-sky-900"}},emerald:{bg:{50:"bg-emerald-50 dark:bg-emerald-900/20",100:"bg-emerald-100 dark:bg-emerald-900/30",200:"bg-emerald-200",300:"bg-emerald-300",400:"bg-emerald-400",500:"bg-emerald-500",600:"bg-emerald-600",700:"bg-emerald-700",800:"bg-emerald-800",900:"bg-emerald-900"},text:{50:"text-emerald-50",100:"text-emerald-100",200:"text-emerald-200",300:"text-emerald-300",400:"text-emerald-400",500:"text-emerald-500",600:"text-emerald-600 dark:text-emerald-400",700:"text-emerald-700 dark:text-emerald-300",800:"text-emerald-800 dark:text-emerald-200",900:"text-emerald-900"},border:{50:"border-emerald-50",100:"border-emerald-100",200:"border-emerald-200 dark:border-emerald-800",300:"border-emerald-300 dark:border-emerald-700",400:"border-emerald-400 dark:border-emerald-600",500:"border-emerald-500",600:"border-emerald-600",700:"border-emerald-700",800:"border-emerald-800",900:"border-emerald-900"}},"blue-slate":{bg:{50:"bg-slate-50",100:"bg-slate-100",200:"bg-slate-200",300:"bg-slate-300",400:"bg-slate-400",500:"bg-slate-500",600:"bg-slate-600",700:"bg-slate-700",800:"bg-slate-800",900:"bg-slate-900"},text:{50:"text-slate-50",100:"text-slate-100",200:"text-slate-200",300:"text-slate-300",400:"text-slate-400",500:"text-slate-500",600:"text-slate-600",700:"text-slate-700",800:"text-slate-800",900:"text-slate-900"}}},r={NEW:"shadow-[inset_0_0_0_5px_rgb(168_85_247)]",ALLOCATED:"shadow-[inset_0_0_0_5px_rgb(14_165_233)]",SUCCESS:"shadow-[inset_0_0_0_5px_rgb(16_185_129)]",FAILED:"shadow-[inset_0_0_0_5px_rgb(244_63_94)]",DELETED:"shadow-[inset_0_0_0_5px_rgb(251_146_60)]"};e.s(["DELIVERY_STATUSES",0,{DELIVERED:"green",RETURNED:"red",OPEN:"yellow"},"DefaultLimit",0,50,"ORDER_STATUSES",0,{OPEN:"purple",PENDING:"sky",CONFIRMED:"lime",FULFILLED:"emerald",REJECTED:"rose"},"PAYMENT_STATUSES",0,{PAID:"green",REFUNDED:"red",OPEN:"yellow"},"PROVIDER_TYPE_CLASSES",0,{PHYSICAL:"emerald",CARD:"sky",INVOICE:"lime",GENERIC:"purple",PICKUP:"red",SHIPPING:"sky"},"QUOTATION_STATUS",0,{REQUESTED:"orange",PROCESSING:"yellow",PROPOSED:"cyan",REJECTED:"red",FULFILLED:"emerald"},"TOKEN_STATUSES",0,{CENTRALIZED:"sky",EXPORTING:"amber",DECENTRALIZED:"emerald"},"WORK_STATUSES",0,{NEW:"purple",ALLOCATED:"sky",SUCCESS:"emerald",FAILED:"rose",DELETED:"orange"},"bgColor",0,(e,r)=>`${t?.[e].bg[r]}`,"borderColor",0,(e,r)=>`${t[e]?.border[r]}`,"getShadowStyle",0,e=>`${r[e]}`,"textColor",0,(e,r)=>`${t[e].text[r]}`])},72670,e=>{"use strict";var t=e.i(69178),r=e.i(13071),a=e.i(39381);e.s(["default",0,({text:e,className:n="",dotted:o=null,color:d="green",square:i=null,onClick:l=null})=>{let s=d?.trim(),b="rainbow"===s;return(0,t.jsx)("span",{id:"badge",className:(0,r.default)(b?"inline-flex items-center text-sm font-bold text-slate-900 dark:text-white shadow-lg relative p-[2px] bg-gradient-to-r from-rose-500 via-emerald-500 to-sky-500":`inline-flex items-center border ${(0,a.borderColor)(s,400)} px-2.5 py-0.5 text-sm font-medium ${(0,a.bgColor)(s,100)} ${(0,a.textColor)(s,800)}`,n,{"rounded-full":!i,"rounded-md":i}),children:b?(0,t.jsxs)("span",{className:(0,r.default)("inline-flex items-center bg-white dark:bg-slate-700 px-2.5 py-0.5",{"rounded-full":!i,"rounded-md":i}),children:[o&&(0,t.jsx)("svg",{className:"text-slate-900 dark:text-white -ml-1 mr-1.5 h-2 w-2",fill:"currentColor",viewBox:"0 0 8 8",children:(0,t.jsx)("circle",{cx:"4",cy:"4",r:"3"})}),e,l&&(0,t.jsx)("button",{id:"badge-x-button",type:"button",onClick:l,className:"ml-0.5 inline-flex h-4 w-4 shrink-0 items-center justify-center rounded-full text-slate-900 dark:text-white hover:bg-slate-900 hover:bg-opacity-10 dark:hover:bg-white dark:hover:bg-opacity-20 focus:outline-hidden focus:bg-slate-900 focus:bg-opacity-20 dark:focus:bg-white dark:focus:bg-opacity-30",children:(0,t.jsx)("svg",{className:"h-2 w-2",stroke:"currentColor",fill:"none",viewBox:"0 0 8 8",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeWidth:"1.5",d:"M1 1l6 6m0-6L1 7"})})})]}):(0,t.jsxs)(t.Fragment,{children:[o&&(0,t.jsx)("svg",{className:`-ml-1 mr-1.5 h-2 w-2 ${(0,a.textColor)(s,400)}`,fill:"currentColor",viewBox:"0 0 8 8",children:(0,t.jsx)("circle",{cx:"4",cy:"4",r:"3"})}),e,l&&(0,t.jsx)("button",{id:"badge-x-button",type:"button",onClick:l,className:`ml-0.5 inline-flex h-4 w-4 shrink-0 items-center justify-center rounded-full ${(0,a.textColor)(s,400)} hover:${(0,a.bgColor)(s,200)} hover:text-${s}-500 focus:outline-hidden focus:${(0,a.bgColor)(s,500)} focus:text-white`,children:(0,t.jsx)("svg",{className:"h-2 w-2",stroke:"currentColor",fill:"none",viewBox:"0 0 8 8",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeWidth:"1.5",d:"M1 1l6 6m0-6L1 7"})})})]})})}])},70111,27817,5944,66752,44701,e=>{"use strict";let t={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};function r(e){return (t={})=>{let r=t.width?String(t.width):e.defaultWidth;return e.formats[r]||e.formats[e.defaultWidth]}}let a={date:r({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:r({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:r({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},n={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function o(e){return(t,r)=>{let a;if("formatting"===(r?.context?String(r.context):"standalone")&&e.formattingValues){let t=e.defaultFormattingWidth||e.defaultWidth,n=r?.width?String(r.width):t;a=e.formattingValues[n]||e.formattingValues[t]}else{let t=e.defaultWidth,n=r?.width?String(r.width):e.defaultWidth;a=e.values[n]||e.values[t]}return a[e.argumentCallback?e.argumentCallback(t):t]}}function d(e){return(t,r={})=>{let a,n=r.width,o=n&&e.matchPatterns[n]||e.matchPatterns[e.defaultMatchWidth],d=t.match(o);if(!d)return null;let i=d[0],l=n&&e.parsePatterns[n]||e.parsePatterns[e.defaultParseWidth],s=Array.isArray(l)?function(e,t){for(let r=0;r<e.length;r++)if(t(e[r]))return r}(l,e=>e.test(i)):function(e,t){for(let r in e)if(Object.prototype.hasOwnProperty.call(e,r)&&t(e[r]))return r}(l,e=>e.test(i));return a=e.valueCallback?e.valueCallback(s):s,{value:a=r.valueCallback?r.valueCallback(a):a,rest:t.slice(i.length)}}}let i={code:"en-US",formatDistance:(e,r,a)=>{let n,o=t[e];if(n="string"==typeof o?o:1===r?o.one:o.other.replace("{{count}}",r.toString()),a?.addSuffix)if(a.comparison&&a.comparison>0)return"in "+n;else return n+" ago";return n},formatLong:a,formatRelative:(e,t,r,a)=>n[e],localize:{ordinalNumber:(e,t)=>{let r=Number(e),a=r%100;if(a>20||a<10)switch(a%10){case 1:return r+"st";case 2:return r+"nd";case 3:return r+"rd"}return r+"th"},era:o({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:o({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:o({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:o({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:o({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:(b={matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)},(e,t={})=>{let r=e.match(b.matchPattern);if(!r)return null;let a=r[0],n=e.match(b.parsePattern);if(!n)return null;let o=b.valueCallback?b.valueCallback(n[0]):n[0];return{value:o=t.valueCallback?t.valueCallback(o):o,rest:e.slice(a.length)}}),era:d({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:d({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:d({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:d({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:d({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}};e.s(["defaultLocale",0,i],27817);let l={};function s(){return l}e.s(["getDefaultOptions",0,s],5944);var b,u=e.i(23317);function g(e){let t=(0,u.toDate)(e),r=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return r.setUTCFullYear(t.getFullYear()),e-r}e.s(["getTimezoneOffsetInMilliseconds",0,g],66752);var c=e.i(92024);function m(e,...t){let r=c.constructFrom.bind(null,e||t.find(e=>"object"==typeof e));return t.map(r)}e.s(["normalizeDates",0,m],44701);var h=e.i(31556),x=e.i(62845);function p(e,t){let r=s(),a=t?.weekStartsOn??t?.locale?.options?.weekStartsOn??r.weekStartsOn??r.locale?.options?.weekStartsOn??0,n=(0,u.toDate)(e,t?.in),o=n.getDay();return n.setDate(n.getDate()-(7*(o<a)+o-a)),n.setHours(0,0,0,0),n}function y(e,t){return p(e,{...t,weekStartsOn:1})}function f(e,t){let r=(0,u.toDate)(e,t?.in),a=r.getFullYear(),n=(0,c.constructFrom)(r,0);n.setFullYear(a+1,0,4),n.setHours(0,0,0,0);let o=y(n),d=(0,c.constructFrom)(r,0);d.setFullYear(a,0,4),d.setHours(0,0,0,0);let i=y(d);return r.getTime()>=o.getTime()?a+1:r.getTime()>=i.getTime()?a:a-1}function k(e,t){let r=(0,u.toDate)(e,t?.in),a=r.getFullYear(),n=s(),o=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??n.firstWeekContainsDate??n.locale?.options?.firstWeekContainsDate??1,d=(0,c.constructFrom)(t?.in||e,0);d.setFullYear(a+1,0,o),d.setHours(0,0,0,0);let i=p(d,t),l=(0,c.constructFrom)(t?.in||e,0);l.setFullYear(a,0,o),l.setHours(0,0,0,0);let b=p(l,t);return+r>=+i?a+1:+r>=+b?a:a-1}function w(e,t){let r=Math.abs(e).toString().padStart(t,"0");return(e<0?"-":"")+r}let D={y(e,t){let r=e.getFullYear(),a=r>0?r:1-r;return w("yy"===t?a%100:a,t.length)},M(e,t){let r=e.getMonth();return"M"===t?String(r+1):w(r+1,2)},d:(e,t)=>w(e.getDate(),t.length),a(e,t){let r=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return r.toUpperCase();case"aaa":return r;case"aaaaa":return r[0];default:return"am"===r?"a.m.":"p.m."}},h:(e,t)=>w(e.getHours()%12||12,t.length),H:(e,t)=>w(e.getHours(),t.length),m:(e,t)=>w(e.getMinutes(),t.length),s:(e,t)=>w(e.getSeconds(),t.length),S(e,t){let r=t.length;return w(Math.trunc(e.getMilliseconds()*Math.pow(10,r-3)),t.length)}},v={G:function(e,t,r){let a=+(e.getFullYear()>0);switch(t){case"G":case"GG":case"GGG":return r.era(a,{width:"abbreviated"});case"GGGGG":return r.era(a,{width:"narrow"});default:return r.era(a,{width:"wide"})}},y:function(e,t,r){if("yo"===t){let t=e.getFullYear();return r.ordinalNumber(t>0?t:1-t,{unit:"year"})}return D.y(e,t)},Y:function(e,t,r,a){let n=k(e,a),o=n>0?n:1-n;return"YY"===t?w(o%100,2):"Yo"===t?r.ordinalNumber(o,{unit:"year"}):w(o,t.length)},R:function(e,t){return w(f(e),t.length)},u:function(e,t){return w(e.getFullYear(),t.length)},Q:function(e,t,r){let a=Math.ceil((e.getMonth()+1)/3);switch(t){case"Q":return String(a);case"QQ":return w(a,2);case"Qo":return r.ordinalNumber(a,{unit:"quarter"});case"QQQ":return r.quarter(a,{width:"abbreviated",context:"formatting"});case"QQQQQ":return r.quarter(a,{width:"narrow",context:"formatting"});default:return r.quarter(a,{width:"wide",context:"formatting"})}},q:function(e,t,r){let a=Math.ceil((e.getMonth()+1)/3);switch(t){case"q":return String(a);case"qq":return w(a,2);case"qo":return r.ordinalNumber(a,{unit:"quarter"});case"qqq":return r.quarter(a,{width:"abbreviated",context:"standalone"});case"qqqqq":return r.quarter(a,{width:"narrow",context:"standalone"});default:return r.quarter(a,{width:"wide",context:"standalone"})}},M:function(e,t,r){let a=e.getMonth();switch(t){case"M":case"MM":return D.M(e,t);case"Mo":return r.ordinalNumber(a+1,{unit:"month"});case"MMM":return r.month(a,{width:"abbreviated",context:"formatting"});case"MMMMM":return r.month(a,{width:"narrow",context:"formatting"});default:return r.month(a,{width:"wide",context:"formatting"})}},L:function(e,t,r){let a=e.getMonth();switch(t){case"L":return String(a+1);case"LL":return w(a+1,2);case"Lo":return r.ordinalNumber(a+1,{unit:"month"});case"LLL":return r.month(a,{width:"abbreviated",context:"standalone"});case"LLLLL":return r.month(a,{width:"narrow",context:"standalone"});default:return r.month(a,{width:"wide",context:"standalone"})}},w:function(e,t,r,a){let n,o,d,i,l,b=Math.round((p(n=(0,u.toDate)(e,a?.in),a)-(o=s(),d=a?.firstWeekContainsDate??a?.locale?.options?.firstWeekContainsDate??o.firstWeekContainsDate??o.locale?.options?.firstWeekContainsDate??1,i=k(n,a),(l=(0,c.constructFrom)(a?.in||n,0)).setFullYear(i,0,d),l.setHours(0,0,0,0),p(l,a)))/h.millisecondsInWeek)+1;return"wo"===t?r.ordinalNumber(b,{unit:"week"}):w(b,t.length)},I:function(e,t,r){let a,n,o,d=Math.round((y(a=(0,u.toDate)(e,void 0))-(n=f(a,void 0),(o=(0,c.constructFrom)(a,0)).setFullYear(n,0,4),o.setHours(0,0,0,0),y(o)))/h.millisecondsInWeek)+1;return"Io"===t?r.ordinalNumber(d,{unit:"week"}):w(d,t.length)},d:function(e,t,r){return"do"===t?r.ordinalNumber(e.getDate(),{unit:"date"}):D.d(e,t)},D:function(e,t,r){let a,n,o=function(e,t){let[r,a]=m(void 0,e,t),n=(0,x.startOfDay)(r),o=(0,x.startOfDay)(a);return Math.round((n-g(n)-(o-g(o)))/h.millisecondsInDay)}(a=(0,u.toDate)(e,void 0),((n=(0,u.toDate)(a,void 0)).setFullYear(n.getFullYear(),0,1),n.setHours(0,0,0,0),n))+1;return"Do"===t?r.ordinalNumber(o,{unit:"dayOfYear"}):w(o,t.length)},E:function(e,t,r){let a=e.getDay();switch(t){case"E":case"EE":case"EEE":return r.day(a,{width:"abbreviated",context:"formatting"});case"EEEEE":return r.day(a,{width:"narrow",context:"formatting"});case"EEEEEE":return r.day(a,{width:"short",context:"formatting"});default:return r.day(a,{width:"wide",context:"formatting"})}},e:function(e,t,r,a){let n=e.getDay(),o=(n-a.weekStartsOn+8)%7||7;switch(t){case"e":return String(o);case"ee":return w(o,2);case"eo":return r.ordinalNumber(o,{unit:"day"});case"eee":return r.day(n,{width:"abbreviated",context:"formatting"});case"eeeee":return r.day(n,{width:"narrow",context:"formatting"});case"eeeeee":return r.day(n,{width:"short",context:"formatting"});default:return r.day(n,{width:"wide",context:"formatting"})}},c:function(e,t,r,a){let n=e.getDay(),o=(n-a.weekStartsOn+8)%7||7;switch(t){case"c":return String(o);case"cc":return w(o,t.length);case"co":return r.ordinalNumber(o,{unit:"day"});case"ccc":return r.day(n,{width:"abbreviated",context:"standalone"});case"ccccc":return r.day(n,{width:"narrow",context:"standalone"});case"cccccc":return r.day(n,{width:"short",context:"standalone"});default:return r.day(n,{width:"wide",context:"standalone"})}},i:function(e,t,r){let a=e.getDay(),n=0===a?7:a;switch(t){case"i":return String(n);case"ii":return w(n,t.length);case"io":return r.ordinalNumber(n,{unit:"day"});case"iii":return r.day(a,{width:"abbreviated",context:"formatting"});case"iiiii":return r.day(a,{width:"narrow",context:"formatting"});case"iiiiii":return r.day(a,{width:"short",context:"formatting"});default:return r.day(a,{width:"wide",context:"formatting"})}},a:function(e,t,r){let a=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return r.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"aaa":return r.dayPeriod(a,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return r.dayPeriod(a,{width:"narrow",context:"formatting"});default:return r.dayPeriod(a,{width:"wide",context:"formatting"})}},b:function(e,t,r){let a,n=e.getHours();switch(a=12===n?"noon":0===n?"midnight":n/12>=1?"pm":"am",t){case"b":case"bb":return r.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"bbb":return r.dayPeriod(a,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return r.dayPeriod(a,{width:"narrow",context:"formatting"});default:return r.dayPeriod(a,{width:"wide",context:"formatting"})}},B:function(e,t,r){let a,n=e.getHours();switch(a=n>=17?"evening":n>=12?"afternoon":n>=4?"morning":"night",t){case"B":case"BB":case"BBB":return r.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"BBBBB":return r.dayPeriod(a,{width:"narrow",context:"formatting"});default:return r.dayPeriod(a,{width:"wide",context:"formatting"})}},h:function(e,t,r){if("ho"===t){let t=e.getHours()%12;return 0===t&&(t=12),r.ordinalNumber(t,{unit:"hour"})}return D.h(e,t)},H:function(e,t,r){return"Ho"===t?r.ordinalNumber(e.getHours(),{unit:"hour"}):D.H(e,t)},K:function(e,t,r){let a=e.getHours()%12;return"Ko"===t?r.ordinalNumber(a,{unit:"hour"}):w(a,t.length)},k:function(e,t,r){let a=e.getHours();return(0===a&&(a=24),"ko"===t)?r.ordinalNumber(a,{unit:"hour"}):w(a,t.length)},m:function(e,t,r){return"mo"===t?r.ordinalNumber(e.getMinutes(),{unit:"minute"}):D.m(e,t)},s:function(e,t,r){return"so"===t?r.ordinalNumber(e.getSeconds(),{unit:"second"}):D.s(e,t)},S:function(e,t){return D.S(e,t)},X:function(e,t,r){let a=e.getTimezoneOffset();if(0===a)return"Z";switch(t){case"X":return M(a);case"XXXX":case"XX":return N(a);default:return N(a,":")}},x:function(e,t,r){let a=e.getTimezoneOffset();switch(t){case"x":return M(a);case"xxxx":case"xx":return N(a);default:return N(a,":")}},O:function(e,t,r){let a=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+T(a,":");default:return"GMT"+N(a,":")}},z:function(e,t,r){let a=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+T(a,":");default:return"GMT"+N(a,":")}},t:function(e,t,r){return w(Math.trunc(e/1e3),t.length)},T:function(e,t,r){return w(+e,t.length)}};function T(e,t=""){let r=e>0?"-":"+",a=Math.abs(e),n=Math.trunc(a/60),o=a%60;return 0===o?r+String(n):r+String(n)+t+w(o,2)}function M(e,t){return e%60==0?(e>0?"-":"+")+w(Math.abs(e)/60,2):N(e,t)}function N(e,t=""){let r=Math.abs(e);return(e>0?"-":"+")+w(Math.trunc(r/60),2)+t+w(r%60,2)}let S=(e,t)=>{switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});default:return t.date({width:"full"})}},E=(e,t)=>{switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});default:return t.time({width:"full"})}},C={p:E,P:(e,t)=>{let r,a=e.match(/(P+)(p+)?/)||[],n=a[1],o=a[2];if(!o)return S(e,t);switch(n){case"P":r=t.dateTime({width:"short"});break;case"PP":r=t.dateTime({width:"medium"});break;case"PPP":r=t.dateTime({width:"long"});break;default:r=t.dateTime({width:"full"})}return r.replace("{{date}}",S(n,t)).replace("{{time}}",E(o,t))}},P=/^D+$/,F=/^Y+$/,I=["D","DD","YY","YYYY"];var W=e.i(34374);let O=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Y=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,j=/^'([^]*?)'?$/,L=/''/g,_=/[a-zA-Z]/;e.s(["format",0,function(e,t,r){let a=s(),n=r?.locale??a.locale??i,o=r?.firstWeekContainsDate??r?.locale?.options?.firstWeekContainsDate??a.firstWeekContainsDate??a.locale?.options?.firstWeekContainsDate??1,d=r?.weekStartsOn??r?.locale?.options?.weekStartsOn??a.weekStartsOn??a.locale?.options?.weekStartsOn??0,l=(0,u.toDate)(e,r?.in);if(!(0,W.isValid)(l))throw RangeError("Invalid time value");let b=t.match(Y).map(e=>{let t=e[0];return"p"===t||"P"===t?(0,C[t])(e,n.formatLong):e}).join("").match(O).map(e=>{if("''"===e)return{isToken:!1,value:"'"};let t=e[0];if("'"===t){var r;let t;return{isToken:!1,value:(t=(r=e).match(j))?t[1].replace(L,"'"):r}}if(v[t])return{isToken:!0,value:e};if(t.match(_))throw RangeError("Format string contains an unescaped latin alphabet character `"+t+"`");return{isToken:!1,value:e}});n.localize.preprocessor&&(b=n.localize.preprocessor(l,b));let g={firstWeekContainsDate:o,weekStartsOn:d,locale:n};return b.map(a=>{if(!a.isToken)return a.value;let o=a.value;return(!r?.useAdditionalWeekYearTokens&&F.test(o)||!r?.useAdditionalDayOfYearTokens&&P.test(o))&&function(e,t,r){var a,n,o;let d,i=(a=e,n=t,o=r,d="Y"===a[0]?"years":"days of the month",`Use \`${a.toLowerCase()}\` instead of \`${a}\` (in \`${n}\`) for formatting ${d} to the input \`${o}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`);if(console.warn(i),I.includes(e))throw RangeError(i)}(o,t,String(e)),(0,v[o[0]])(l,o,n.localize,g)}).join("")}],70111)},70079,e=>{"use strict";var t=e.i(70111);e.i(5944);let r={year:0,month:1,day:2,hour:3,minute:4,second:5},a={},n=new Intl.DateTimeFormat("en-US",{hourCycle:"h23",timeZone:"America/New_York",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}).format(new Date("2014-06-25T04:00:00.123Z")),o="06/25/2014, 00:00:00"===n||"‎06‎/‎25‎/‎2014‎ ‎00‎:‎00‎:‎00"===n;function d(e,t,r,a,n,o,d){let i=new Date(0);return i.setUTCFullYear(e,t,r),i.setUTCHours(a,n,o,d),i}let i=/^(Z)$/,l=/^([+-]\d{2})$/,s=/^([+-])(\d{2}):?(\d{2})$/;function b(e,t,r){let a,n;if(!e)return 0;let o=i.exec(e);if(o)return 0;if(o=l.exec(e))return g(a=parseInt(o[1],10))?-(36e5*a):NaN;if(o=s.exec(e)){a=parseInt(o[2],10);let e=parseInt(o[3],10);return g(a,e)?(n=36e5*Math.abs(a)+6e4*e,"+"===o[1]?-n:n):NaN}if(function(e){if(c[e])return!0;try{return new Intl.DateTimeFormat(void 0,{timeZone:e}),c[e]=!0,!0}catch(e){return!1}}(e)){var b;t=new Date(t||Date.now());let a=u(r?t:d((b=t).getFullYear(),b.getMonth(),b.getDate(),b.getHours(),b.getMinutes(),b.getSeconds(),b.getMilliseconds()),e);return-(r?a:function(e,t,r){let a=e.getTime()-t,n=u(new Date(a),r);if(t===n)return t;let o=u(new Date(a-=n-t),r);return n===o?n:Math.max(n,o)}(t,a,e))}return NaN}function u(e,t){var n,i,l;let s,b,u,g=(a[n=t]||(a[n]=o?new Intl.DateTimeFormat("en-US",{hourCycle:"h23",timeZone:n,year:"numeric",month:"numeric",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}):new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:n,year:"numeric",month:"numeric",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"})),"formatToParts"in(u=a[n])?function(e,t){try{let a=e.formatToParts(t),n=[];for(let e=0;e<a.length;e++){let t=r[a[e].type];void 0!==t&&(n[t]=parseInt(a[e].value,10))}return n}catch(e){if(e instanceof RangeError)return[NaN];throw e}}(u,e):(i=u,l=e,s=i.format(l),[parseInt((b=/(\d+)\/(\d+)\/(\d+),? (\d+):(\d+):(\d+)/.exec(s))[3],10),parseInt(b[1],10),parseInt(b[2],10),parseInt(b[4],10),parseInt(b[5],10),parseInt(b[6],10)])),c=d(g[0],g[1]-1,g[2],g[3]%24,g[4],g[5],0).getTime(),m=e.getTime(),h=m%1e3;return c-(m-=h>=0?h:1e3+h)}function g(e,t){return -23<=e&&e<=23&&(null==t||0<=t&&t<=59)}let c={};function m(e){let t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.setUTCFullYear(e.getFullYear()),e-t}let h=/(Z|[+-]\d{2}(?::?\d{2})?| UTC| [a-zA-Z]+\/[a-zA-Z_]+(?:\/[a-zA-Z_]+)?)$/,x=/^([0-9W+-]+)(T| )(.*)/,p=/^([0-9W+-]+)(.*)/,y=/^(\d{2})$/,f=[/^([+-]\d{2})$/,/^([+-]\d{3})$/,/^([+-]\d{4})$/],k=/^(\d{4})/,w=[/^([+-]\d{4})/,/^([+-]\d{5})/,/^([+-]\d{6})/],D=/^-(\d{2})$/,v=/^-?(\d{3})$/,T=/^-?(\d{2})-?(\d{2})$/,M=/^-?W(\d{2})$/,N=/^-?W(\d{2})-?(\d{1})$/,S=/^(\d{2}([.,]\d*)?)$/,E=/^(\d{2}):?(\d{2}([.,]\d*)?)$/,C=/^(\d{2}):?(\d{2}):?(\d{2}([.,]\d*)?)$/;function P(e,t={}){if(arguments.length<1)throw TypeError("1 argument required, but only "+arguments.length+" present");if(null===e)return new Date(NaN);let r=null==t.additionalDigits?2:Number(t.additionalDigits);if(2!==r&&1!==r&&0!==r)throw RangeError("additionalDigits must be 0, 1 or 2");if(e instanceof Date||"object"==typeof e&&"[object Date]"===Object.prototype.toString.call(e))return new Date(e.getTime());if("number"==typeof e||"[object Number]"===Object.prototype.toString.call(e))return new Date(e);if("[object String]"!==Object.prototype.toString.call(e))return new Date(NaN);let a=function(e){let t,r={},a=x.exec(e);if(a?(r.date=a[1],t=a[3]):(a=p.exec(e))?(r.date=a[1],t=a[2]):(r.date=null,t=e),t){let e=h.exec(t);e?(r.time=t.replace(e[1],""),r.timeZone=e[1].trim()):r.time=t}return r}(e),{year:n,restDateString:o}=function(e,t){if(e){let r=f[t],a=w[t],n=k.exec(e)||a.exec(e);if(n){let t=n[1];return{year:parseInt(t,10),restDateString:e.slice(t.length)}}if(n=y.exec(e)||r.exec(e)){let t=n[1];return{year:100*parseInt(t,10),restDateString:e.slice(t.length)}}}return{year:null}}(a.date,r),d=function(e,t){let r,a,n;if(null===t)return null;if(!e||!e.length)return(r=new Date(0)).setUTCFullYear(t),r;let o=D.exec(e);if(o)return(r=new Date(0),Y(t,a=parseInt(o[1],10)-1))?(r.setUTCFullYear(t,a),r):new Date(NaN);if(o=v.exec(e)){r=new Date(0);let e=parseInt(o[1],10);return!function(e,t){if(t<1)return!1;let r=O(e);return(!r||!(t>366))&&(!!r||!(t>365))}(t,e)?new Date(NaN):(r.setUTCFullYear(t,0,e),r)}if(o=T.exec(e)){r=new Date(0),a=parseInt(o[1],10)-1;let e=parseInt(o[2],10);return Y(t,a,e)?(r.setUTCFullYear(t,a,e),r):new Date(NaN)}if(o=M.exec(e))return j(n=parseInt(o[1],10)-1)?F(t,n):new Date(NaN);if(o=N.exec(e)){n=parseInt(o[1],10)-1;let e=parseInt(o[2],10)-1;return j(n,e)?F(t,n,e):new Date(NaN)}return null}(o,n);if(null===d||isNaN(d.getTime())||!d)return new Date(NaN);{let e,r=d.getTime(),n=0;if(a.time&&(null===(n=function(e){let t,r,a=S.exec(e);if(a)return L(t=parseFloat(a[1].replace(",",".")))?t%24*36e5:NaN;if(a=E.exec(e))return L(t=parseInt(a[1],10),r=parseFloat(a[2].replace(",",".")))?t%24*36e5+6e4*r:NaN;if(a=C.exec(e)){t=parseInt(a[1],10),r=parseInt(a[2],10);let e=parseFloat(a[3].replace(",","."));return L(t,r,e)?t%24*36e5+6e4*r+1e3*e:NaN}return null}(a.time))||isNaN(n)))return new Date(NaN);if(a.timeZone||t.timeZone){if(isNaN(e=b(a.timeZone||t.timeZone,new Date(r+n))))return new Date(NaN)}else e=m(new Date(r+n)),e=m(new Date(r+n+e));return new Date(r+n+e)}}function F(e,t,r){t=t||0,r=r||0;let a=new Date(0);a.setUTCFullYear(e,0,4);let n=7*t+r+1-(a.getUTCDay()||7);return a.setUTCDate(a.getUTCDate()+n),a}let I=[31,28,31,30,31,30,31,31,30,31,30,31],W=[31,29,31,30,31,30,31,31,30,31,30,31];function O(e){return e%400==0||e%4==0&&e%100!=0}function Y(e,t,r){if(t<0||t>11)return!1;if(null!=r){if(r<1)return!1;let a=O(e);if(a&&r>W[t]||!a&&r>I[t])return!1}return!0}function j(e,t){return!(e<0)&&!(e>52)&&(null==t||!(t<0)&&!(t>6))}function L(e,t,r){return!(e<0)&&!(e>=25)&&(null==t||!(t<0)&&!(t>=60))&&(null==r||!(r<0)&&!(r>=60))}e.s(["default",0,()=>({formatDateTime:(e,t={})=>e&&Date.parse(e)?Intl.DateTimeFormat(void 0,t).format(new Date(e).getTime()):"n/a",getDateFormatPattern:()=>new Intl.DateTimeFormat(void 0).formatToParts(new Date).map(e=>{switch(e.type){case"day":return"d".repeat(e.value.length);case"month":return"M".repeat(e.value.length);case"year":return"y".repeat(e.value.length);case"literal":return e.value;default:return"dd.mm.yyyy"}}).join(""),parseDate:e=>(0,t.format)(function(e,t){if("string"==typeof e&&!e.match(h))return P(e,{...void 0,timeZone:t});let r=d((e=P(e,void 0)).getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()).getTime(),a=b(t,new Date(r));return new Date(r+a)}(e,Intl.DateTimeFormat().resolvedOptions().timeZone),"yyyy-MM-dd")})],70079)}]);
@@ -1,16 +0,0 @@
1
- __turbopack_load_page_chunks__("/quotations", [
2
- "static/chunks/12udenvxlldjc.js",
3
- "static/chunks/0xg13~h1q-4wq.js",
4
- "static/chunks/14tbg01czewdy.js",
5
- "static/chunks/0i5k7p8ofcp1x.js",
6
- "static/chunks/10~.1apsh-kfb.js",
7
- "static/chunks/0kmh5j-_kjc~8.js",
8
- "static/chunks/0er8mp7b.-nmu.js",
9
- "static/chunks/03f.hgo5xe9oh.js",
10
- "static/chunks/181fxym9wgh_m.js",
11
- "static/chunks/16.yzw8q5dwcz.js",
12
- "static/chunks/0o~whquist5u6.js",
13
- "static/chunks/0834492o--b0c.js",
14
- "static/chunks/12e_gn-hj1ad4.js",
15
- "static/chunks/turbopack-0acsueuxvueuc.js"
16
- ])
@@ -1 +0,0 @@
1
- (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,681,e=>{"use strict";e.s(["isFunction",0,function(e){return"function"==typeof e}])},62516,8791,61513,e=>{"use strict";var t=e.i(17665),r=e.i(681);function n(e){var t=e(function(e){Error.call(e),e.stack=Error().stack});return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}e.s(["createErrorClass",0,n],8791);var i=n(function(e){return function(t){e(this),this.message=t?t.length+" errors occurred during unsubscription:\n"+t.map(function(e,t){return t+1+") "+e.toString()}).join("\n "):"",this.name="UnsubscriptionError",this.errors=t}});function s(e,t){if(e){var r=e.indexOf(t);0<=r&&e.splice(r,1)}}e.s(["arrRemove",0,s],61513);var o=function(){var e;function n(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}return n.prototype.unsubscribe=function(){if(!this.closed){this.closed=!0;var e,n,s,o,a,u=this._parentage;if(u)if(this._parentage=null,Array.isArray(u))try{for(var c=(0,t.__values)(u),d=c.next();!d.done;d=c.next())d.value.remove(this)}catch(t){e={error:t}}finally{try{d&&!d.done&&(n=c.return)&&n.call(c)}finally{if(e)throw e.error}}else u.remove(this);var h=this.initialTeardown;if((0,r.isFunction)(h))try{h()}catch(e){a=e instanceof i?e.errors:[e]}var f=this._finalizers;if(f){this._finalizers=null;try{for(var p=(0,t.__values)(f),v=p.next();!v.done;v=p.next()){var b=v.value;try{l(b)}catch(e){a=null!=a?a:[],e instanceof i?a=(0,t.__spreadArray)((0,t.__spreadArray)([],(0,t.__read)(a)),(0,t.__read)(e.errors)):a.push(e)}}}catch(e){s={error:e}}finally{try{v&&!v.done&&(o=p.return)&&o.call(p)}finally{if(s)throw s.error}}}if(a)throw new i(a)}},n.prototype.add=function(e){var t;if(e&&e!==this)if(this.closed)l(e);else{if(e instanceof n){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=null!=(t=this._finalizers)?t:[]).push(e)}},n.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},n.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},n.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&s(t,e)},n.prototype.remove=function(e){var t=this._finalizers;t&&s(t,e),e instanceof n&&e._removeParent(this)},(e=new n).closed=!0,n.EMPTY=e,n}(),a=o.EMPTY;function l(e){(0,r.isFunction)(e)?e():e.unsubscribe()}e.s(["EMPTY_SUBSCRIPTION",0,a,"Subscription",0,o,"isSubscription",0,function(e){return e instanceof o||e&&"closed"in e&&(0,r.isFunction)(e.remove)&&(0,r.isFunction)(e.add)&&(0,r.isFunction)(e.unsubscribe)}],62516)},18436,e=>{"use strict";var t=e.i(17665),r=function(e){function r(t,r){return e.call(this)||this}return(0,t.__extends)(r,e),r.prototype.schedule=function(e,t){return void 0===t&&(t=0),this},r}(e.i(62516).Subscription),n={setInterval:function(e,r){for(var i=[],s=2;s<arguments.length;s++)i[s-2]=arguments[s];var o=n.delegate;return(null==o?void 0:o.setInterval)?o.setInterval.apply(o,(0,t.__spreadArray)([e,r],(0,t.__read)(i))):setInterval.apply(void 0,(0,t.__spreadArray)([e,r],(0,t.__read)(i)))},clearInterval:function(e){var t=n.delegate;return((null==t?void 0:t.clearInterval)||clearInterval)(e)},delegate:void 0},i=e.i(61513),s=function(e){function r(t,r){var n=e.call(this,t,r)||this;return n.scheduler=t,n.work=r,n.pending=!1,n}return(0,t.__extends)(r,e),r.prototype.schedule=function(e,t){if(void 0===t&&(t=0),this.closed)return this;this.state=e;var r,n=this.id,i=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(i,n,t)),this.pending=!0,this.delay=t,this.id=null!=(r=this.id)?r:this.requestAsyncId(i,this.id,t),this},r.prototype.requestAsyncId=function(e,t,r){return void 0===r&&(r=0),n.setInterval(e.flush.bind(e,this),r)},r.prototype.recycleAsyncId=function(e,t,r){if(void 0===r&&(r=0),null!=r&&this.delay===r&&!1===this.pending)return t;null!=t&&n.clearInterval(t)},r.prototype.execute=function(e,t){if(this.closed)return Error("executing a cancelled action");this.pending=!1;var r=this._execute(e,t);if(r)return r;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},r.prototype._execute=function(e,t){var r,n=!1;try{this.work(e)}catch(e){n=!0,r=e||Error("Scheduled action threw falsy error")}if(n)return this.unsubscribe(),r},r.prototype.unsubscribe=function(){if(!this.closed){var t=this.id,r=this.scheduler,n=r.actions;this.work=this.state=this.scheduler=null,this.pending=!1,(0,i.arrRemove)(n,this),null!=t&&(this.id=this.recycleAsyncId(r,t,null)),this.delay=null,e.prototype.unsubscribe.call(this)}},r}(r);e.s(["AsyncAction",0,s],18436)},46711,e=>{"use strict";var t,r=e.i(17665),n=e.i(18436),i=1,s={};function o(e){return e in s&&(delete s[e],!0)}var a=function(e){var r=i++;return s[r]=!0,t||(t=Promise.resolve()),t.then(function(){return o(r)&&e()}),r},l=function(e){o(e)},u={setImmediate:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=u.delegate;return((null==n?void 0:n.setImmediate)||a).apply(void 0,(0,r.__spreadArray)([],(0,r.__read)(e)))},clearImmediate:function(e){var t=u.delegate;return((null==t?void 0:t.clearImmediate)||l)(e)},delegate:void 0},c=function(e){function t(t,r){var n=e.call(this,t,r)||this;return n.scheduler=t,n.work=r,n}return(0,r.__extends)(t,e),t.prototype.requestAsyncId=function(t,r,n){return(void 0===n&&(n=0),null!==n&&n>0)?e.prototype.requestAsyncId.call(this,t,r,n):(t.actions.push(this),t._scheduled||(t._scheduled=u.setImmediate(t.flush.bind(t,void 0))))},t.prototype.recycleAsyncId=function(t,r,n){if(void 0===n&&(n=0),null!=n?n>0:this.delay>0)return e.prototype.recycleAsyncId.call(this,t,r,n);var i,s=t.actions;null!=r&&(null==(i=s[s.length-1])?void 0:i.id)!==r&&(u.clearImmediate(r),t._scheduled===r&&(t._scheduled=void 0))},t}(n.AsyncAction);e.s(["AsapAction",0,c],46711)},17920,e=>{"use strict";var t={now:function(){return(t.delegate||Date).now()},delegate:void 0};e.s(["dateTimestampProvider",0,t])},69066,e=>{"use strict";var t=e.i(17665),r=e.i(17920),n=function(){function e(t,r){void 0===r&&(r=e.now),this.schedulerActionCtor=t,this.now=r}return e.prototype.schedule=function(e,t,r){return void 0===t&&(t=0),new this.schedulerActionCtor(this,e).schedule(r,t)},e.now=r.dateTimestampProvider.now,e}(),i=function(e){function r(t,r){void 0===r&&(r=n.now);var i=e.call(this,t,r)||this;return i.actions=[],i._active=!1,i}return(0,t.__extends)(r,e),r.prototype.flush=function(e){var t,r=this.actions;if(this._active)return void r.push(e);this._active=!0;do if(t=e.execute(e.state,e.delay))break;while(e=r.shift())if(this._active=!1,t){for(;e=r.shift();)e.unsubscribe();throw t}},r}(n);e.s(["AsyncScheduler",0,i],69066)},44743,e=>{"use strict";var t=e.i(46711),r=e.i(17665),n=new(function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,r.__extends)(t,e),t.prototype.flush=function(e){this._active=!0;var t,r=this._scheduled;this._scheduled=void 0;var n=this.actions;e=e||n.shift();do if(t=e.execute(e.state,e.delay))break;while((e=n[0])&&e.id===r&&n.shift())if(this._active=!1,t){for(;(e=n[0])&&e.id===r&&n.shift();)e.unsubscribe();throw t}},t}(e.i(69066).AsyncScheduler))(t.AsapAction);e.s(["asapScheduler",0,n],44743)},18473,e=>{"use strict";e.s(["executeSchedule",0,function(e,t,r,n,i){void 0===n&&(n=0),void 0===i&&(i=!1);var s=t.schedule(function(){r(),i?e.add(this.schedule(null,n)):this.unsubscribe()},n);if(e.add(s),!i)return s}])},93856,e=>{"use strict";var t=e.i(681);e.s(["operate",0,function(e){return function(r){if((0,t.isFunction)(null==r?void 0:r.lift))return r.lift(function(t){try{return e(t,this)}catch(e){this.error(e)}});throw TypeError("Unable to lift unknown Observable type")}}])},8845,71639,70496,13128,41359,e=>{"use strict";var t=e.i(17665),r=e.i(681),n=e.i(62516),i={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};e.s(["config",0,i],71639);var s={setTimeout:function(e,r){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];var o=s.delegate;return(null==o?void 0:o.setTimeout)?o.setTimeout.apply(o,(0,t.__spreadArray)([e,r],(0,t.__read)(n))):setTimeout.apply(void 0,(0,t.__spreadArray)([e,r],(0,t.__read)(n)))},clearTimeout:function(e){var t=s.delegate;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function o(e){s.setTimeout(function(){var t=i.onUnhandledError;if(t)t(e);else throw e})}function a(){}e.s(["reportUnhandledError",0,o],70496);var l=u("C",void 0,void 0);function u(e,t,r){return{kind:e,value:t,error:r}}var c=null;function d(e){i.useDeprecatedSynchronousErrorHandling&&c&&(c.errorThrown=!0,c.error=e)}e.s(["captureError",0,d,"errorContext",0,function(e){if(i.useDeprecatedSynchronousErrorHandling){var t=!c;if(t&&(c={errorThrown:!1,error:null}),e(),t){var r=c,n=r.errorThrown,s=r.error;if(c=null,n)throw s}}else e()}],13128);var h=function(e){function r(t){var r=e.call(this)||this;return r.isStopped=!1,t?(r.destination=t,(0,n.isSubscription)(t)&&t.add(r)):r.destination=g,r}return(0,t.__extends)(r,e),r.create=function(e,t,r){return new b(e,t,r)},r.prototype.next=function(e){this.isStopped?m(u("N",e,void 0),this):this._next(e)},r.prototype.error=function(e){this.isStopped?m(u("E",void 0,e),this):(this.isStopped=!0,this._error(e))},r.prototype.complete=function(){this.isStopped?m(l,this):(this.isStopped=!0,this._complete())},r.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this),this.destination=null)},r.prototype._next=function(e){this.destination.next(e)},r.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},r.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},r}(n.Subscription),f=Function.prototype.bind;function p(e,t){return f.call(e,t)}var v=function(){function e(e){this.partialObserver=e}return e.prototype.next=function(e){var t=this.partialObserver;if(t.next)try{t.next(e)}catch(e){y(e)}},e.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){y(e)}else y(e)},e.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){y(e)}},e}(),b=function(e){function n(t,n,s){var o,a,l=e.call(this)||this;return(0,r.isFunction)(t)||!t?o={next:null!=t?t:void 0,error:null!=n?n:void 0,complete:null!=s?s:void 0}:l&&i.useDeprecatedNextContext?((a=Object.create(t)).unsubscribe=function(){return l.unsubscribe()},o={next:t.next&&p(t.next,a),error:t.error&&p(t.error,a),complete:t.complete&&p(t.complete,a)}):o=t,l.destination=new v(o),l}return(0,t.__extends)(n,e),n}(h);function y(e){i.useDeprecatedSynchronousErrorHandling?d(e):o(e)}function m(e,t){var r=i.onStoppedNotification;r&&s.setTimeout(function(){return r(e,t)})}var g={closed:!0,next:a,error:function(e){throw e},complete:a};e.s(["SafeSubscriber",0,b,"Subscriber",0,h],41359);var x=function(e){function r(t,r,n,i,s,o){var a=e.call(this,t)||this;return a.onFinalize=s,a.shouldUnsubscribe=o,a._next=r?function(e){try{r(e)}catch(e){t.error(e)}}:e.prototype._next,a._error=i?function(e){try{i(e)}catch(e){t.error(e)}finally{this.unsubscribe()}}:e.prototype._error,a._complete=n?function(){try{n()}catch(e){t.error(e)}finally{this.unsubscribe()}}:e.prototype._complete,a}return(0,t.__extends)(r,e),r.prototype.unsubscribe=function(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){var r=this.closed;e.prototype.unsubscribe.call(this),r||null==(t=this.onFinalize)||t.call(this)}},r}(h);e.s(["createOperatorSubscriber",0,function(e,t,r,n,i){return new x(e,t,r,n,i)}],8845)},38520,e=>{"use strict";var t=e.i(18473),r=e.i(93856),n=e.i(8845);e.s(["observeOn",0,function(e,i){return void 0===i&&(i=0),(0,r.operate)(function(r,s){r.subscribe((0,n.createOperatorSubscriber)(s,function(r){return(0,t.executeSchedule)(s,e,function(){return s.next(r)},i)},function(){return(0,t.executeSchedule)(s,e,function(){return s.complete()},i)},function(r){return(0,t.executeSchedule)(s,e,function(){return s.error(r)},i)}))})}])},51065,e=>{"use strict";var t,r;(r=t||(t={}))[r.loading=1]="loading",r[r.setVariables=2]="setVariables",r[r.fetchMore=3]="fetchMore",r[r.refetch=4]="refetch",r[r.poll=6]="poll",r[r.ready=7]="ready",r[r.error=8]="error",r[r.streaming=9]="streaming",e.s(["NetworkStatus",0,t])},26903,14966,49259,e=>{"use strict";var t=e.i(64705);function r(e){return null!==e&&"object"==typeof e}e.s(["isNonNullObject",0,r],14966),e.s(["maybeDeepFreeze",0,function(e){let n;return t.__DEV__&&(n=new Set([e])).forEach(e=>{r(e)&&function(e){if(t.__DEV__&&!Object.isFrozen(e))try{Object.freeze(e)}catch(e){if(e instanceof TypeError)return null;throw e}return e}(e)===e&&Object.getOwnPropertyNames(e).forEach(t=>{r(e[t])&&n.add(e[t])})}),e}],26903);let n=Symbol.for("apollo.result.extensions"),i=Symbol.for("apollo.result.streamInfo"),s=Symbol.for("apollo.observableQuery.variablesUnknown");e.s(["extensionsSymbol",0,n,"streamInfoSymbol",0,i,"variablesUnknownSymbol",0,s],49259)},13699,e=>{"use strict";var t=e.i(60097),r=e.i(1415),n=e.i(44743),i=e.i(38520),s=e.i(51065),o=e.i(26903),a=e.i(23009),l=e.i(49259);let u=Symbol.for("apollo.skipToken"),c=Symbol.for("apollo.hook.wrappers");var d=e.i(88639),h=e.i(62497),f=e.i(64705),p=e.i(9360),v=e.i(68250),b=e.i(20733);let y=!1,m=r.useSyncExternalStore,g="ReactNative"==(0,v.maybe)(()=>navigator.product),x=(0,v.maybe)(()=>navigator.userAgent.indexOf("jsdom")>=0)||!1,_=(p.canUseDOM||g)&&!x,w=m||((e,t,n)=>{let i=t();f.__DEV__&&!y&&i!==t()&&(y=!0,b.invariant.error(34));let[{inst:s},o]=r.useState({inst:{value:i,getSnapshot:t}});return _?r.useLayoutEffect(()=>{Object.assign(s,{value:i,getSnapshot:t}),k(s)&&o({inst:s})},[e,i,t]):Object.assign(s,{value:i,getSnapshot:t}),r.useEffect(()=>(k(s)&&o({inst:s}),e(function(){k(s)&&o({inst:s})})),[e]),i});function k({value:e,getSnapshot:t}){try{return e!==t()}catch{return!0}}let S=Symbol();function j(e,...[t]){return(function(e,t,n){let i=[n.queryManager,e.startsWith("use")?r.useContext((0,d.getApolloContext)()):void 0],s=t;for(let t of i){let r=t?.[c]?.[e];r&&(s=r(s))}return s})("useQuery",A,(0,h.useApolloClient)("object"==typeof t?t.client:void 0))(e,t)}function A(e,s={}){var o,c,d,f,p,v,b,y,m,g;let x,_,k=(0,h.useApolloClient)("object"==typeof s?s.client:void 0),{ssr:I}="object"==typeof s?s:{},O=(o=e,c=s,d=k.defaultOptions.watchQuery,f=()=>{if(c===u){let e={...(0,a.mergeOptions)(d,{query:o,fetchPolicy:"standby"}),[l.variablesUnknownSymbol]:!0};return e[P]=!0,e}let e=(0,a.mergeOptions)(d,{...c,query:o});return c.skip&&(e.initialFetchPolicy=c.initialFetchPolicy||c.fetchPolicy,e.fetchPolicy="standby"),e},p=[o,c,d],(x=r.useRef(void 0)).current&&(0,t.equal)(x.current.deps,p)||(x.current={value:f(),deps:p}),x.current.value);function E(t){let r=k.watchQuery(O);return{client:k,query:e,observable:r,resultData:{current:r.getCurrentResult(),previousData:t?.resultData.current.data,variables:r.variables}}}let[T,C]=r.useState(E);(k!==T.client||e!==T.query)&&C(T=E(T));let{observable:M,resultData:U}=T;v=O,b=M,v.fetchPolicy||(v.fetchPolicy=b.options.initialFetchPolicy),function(e,r,n){if(r[S]&&!(0,t.equal)(r[S],n)){var i,s;r[S][P]&&!n.initialFetchPolicy&&(n.initialFetchPolicy=n.fetchPolicy),(i=r[S],s=n,i.query===s.query&&(0,t.equal)(i.variables,s.variables)&&(i.fetchPolicy===s.fetchPolicy||"standby"!==s.fetchPolicy&&"standby"!==i.fetchPolicy))?r.applyOptions(n):r.reobserve(n);let o=r.getCurrentResult();(0,t.equal)(o.data,e.current.data)||(e.previousData=e.current.data||e.previousData),e.current=o,e.variables=r.variables}r[S]=n}(U,M,O);let N=(y=M,m=U,g=I,_=y.options.fetchPolicy,w(r.useCallback(e=>{let r=y.pipe((0,i.observeOn)(n.asapScheduler)).subscribe(r=>{let n=m.current;(0,t.equal)(n,r)&&(0,t.equal)(m.variables,y.variables)||(m.variables=y.variables,n.data&&!(0,t.equal)(n.data,r.data)&&(m.previousData=n.data),m.current=r,e())});return()=>{setTimeout(()=>r.unsubscribe())}},[y,m]),()=>m.current,()=>"standby"!==_&&!1===g||"no-cache"===_?j.ssrDisabledResult:m.current)),D=r.useMemo(()=>({refetch:M.refetch.bind(M),fetchMore:M.fetchMore.bind(M),updateQuery:M.updateQuery.bind(M),startPolling:M.startPolling.bind(M),stopPolling:M.stopPolling.bind(M),subscribeToMore:M.subscribeToMore.bind(M)}),[M]),F=U.previousData;return r.useMemo(()=>{let{partial:e,...t}=N;return{...t,client:k,observable:M,variables:M.variables,previousData:F,...D}},[N,k,M,F,D])}let P=Symbol();j.ssrDisabledResult=(0,o.maybeDeepFreeze)({loading:!0,data:void 0,dataState:"empty",error:void 0,networkStatus:s.NetworkStatus.loading,partial:!0}),e.s(["useQuery",0,j],13699)},89317,e=>{"use strict";var t=e.i(1415);let r=t.forwardRef(function({title:e,titleId:r,...n},i){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:i,"aria-labelledby":r},n),e?t.createElement("title",{id:r},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 4.5v15m7.5-7.5h-15"}))});e.s(["PlusIcon",0,r],89317)},93734,e=>{"use strict";var t=e.i(69178),r=e.i(13071);e.s(["default",0,({text:e,children:n,onClick:i,className:s="",disabled:o=!1,id:a="",variant:l="primary",size:u="md",type:c="button",loading:d=!1,icon:h,iconRight:f,fullWidth:p=!1,rounded:v="md",ariaLabel:b,...y})=>{let m=n||e,g=(h||f)&&m?"gap-2":"";return(0,t.jsx)("button",{id:a,type:c,disabled:o||d,onClick:i,"aria-label":b,className:(0,r.default)("inline-flex items-center justify-center font-medium shadow-xs focus:outline-hidden focus:ring-2 focus:ring-offset-2 transition-colors duration-200 disabled:cursor-not-allowed disabled:opacity-50",{xs:"px-2.5 py-1.5 text-xs h-6",sm:"px-3 py-2 text-sm h-8",md:"px-4 py-2 text-sm h-9",lg:"px-6 py-3 text-base h-11"}[u],{none:"rounded-none",sm:"rounded-sm",md:"rounded-md",lg:"rounded-lg",full:"rounded-full"}[v],{primary:"border border-slate-800 dark:border-slate-600 bg-slate-800 dark:bg-slate-600 text-white hover:bg-slate-900 dark:hover:bg-slate-500 focus:ring-slate-800 dark:focus:ring-slate-400",secondary:"border border-slate-300 dark:border-slate-600 bg-white dark:bg-slate-800 text-slate-700 dark:text-slate-200 hover:bg-slate-50 dark:hover:bg-slate-700 focus:ring-slate-500",tertiary:"border border-slate-200 dark:border-slate-700 bg-slate-50 dark:bg-slate-800 text-slate-600 dark:text-slate-300 hover:bg-slate-100 dark:hover:bg-slate-700 focus:ring-slate-400",quaternary:"bg-transparent text-slate-700 dark:text-slate-200 hover:bg-slate-100 dark:hover:bg-slate-800 focus:ring-slate-400",danger:"border border-rose-500 dark:border-rose-400 bg-white dark:bg-slate-800 text-rose-600 dark:text-rose-400 hover:bg-rose-50 dark:hover:bg-rose-900/10 focus:ring-rose-500",ghost:"bg-transparent border border-transparent text-slate-600 dark:text-slate-400 hover:text-slate-900 dark:hover:text-slate-200 hover:bg-slate-100 dark:hover:bg-slate-800 focus:ring-slate-400",success:"border border-emerald-500 dark:border-emerald-400 bg-emerald-50 dark:bg-emerald-900/20 text-emerald-600 dark:text-emerald-400 hover:bg-emerald-100 dark:hover:bg-emerald-900/30 focus:ring-emerald-500",neutral:"border border-slate-300 dark:border-slate-600 bg-slate-100 dark:bg-slate-700 text-slate-600 dark:text-slate-300 hover:bg-slate-200 dark:hover:bg-slate-600 focus:ring-slate-400",input:"border border-slate-300 dark:border-slate-600 bg-white dark:bg-slate-800 text-slate-900 dark:text-slate-100 hover:border-slate-400 dark:hover:border-slate-500 focus:ring-slate-500 focus:border-slate-500"}[l],g,{"w-full":p},s),...y,children:d?(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)("div",{className:"w-4 h-4 border-2 border-current border-t-transparent rounded-full animate-spin"}),m]}):(0,t.jsxs)(t.Fragment,{children:[h,m,f]})})}])},94388,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"default",{enumerable:!0,get:function(){return a}});let n=e.r(1415),i="u"<typeof window,s=i?()=>{}:n.useLayoutEffect,o=i?()=>{}:n.useEffect;function a(e){let{headManager:t,reduceComponentsToState:r}=e;function a(){if(t&&t.mountedInstances){let e=n.Children.toArray(Array.from(t.mountedInstances).filter(Boolean));t.updateHead(r(e))}}return i&&(t?.mountedInstances?.add(e.children),a()),s(()=>(t?.mountedInstances?.add(e.children),()=>{t?.mountedInstances?.delete(e.children)})),s(()=>(t&&(t._pendingUpdate=a),()=>{t&&(t._pendingUpdate=a)})),o(()=>(t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null),()=>{t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null)})),null}},84437,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={default:function(){return v},defaultHead:function(){return d}};for(var i in n)Object.defineProperty(r,i,{enumerable:!0,get:n[i]});let s=e.r(23726),o=e.r(10902),a=e.r(69178),l=o._(e.r(1415)),u=s._(e.r(94388)),c=e.r(24312);function d(){return[(0,a.jsx)("meta",{charSet:"utf-8"},"charset"),(0,a.jsx)("meta",{name:"viewport",content:"width=device-width"},"viewport")]}function h(e,t){return"string"==typeof t||"number"==typeof t?e:t.type===l.default.Fragment?e.concat(l.default.Children.toArray(t.props.children).reduce((e,t)=>"string"==typeof t||"number"==typeof t?e:e.concat(t),[])):e.concat(t)}e.r(59523);let f=["name","httpEquiv","charSet","itemProp"];function p(e){let t,r,n,i;return e.reduce(h,[]).reverse().concat(d().reverse()).filter((t=new Set,r=new Set,n=new Set,i={},e=>{let s=!0,o=!1;if(e.key&&"number"!=typeof e.key&&e.key.indexOf("$")>0){o=!0;let r=e.key.slice(e.key.indexOf("$")+1);t.has(r)?s=!1:t.add(r)}switch(e.type){case"title":case"base":r.has(e.type)?s=!1:r.add(e.type);break;case"meta":for(let t=0,r=f.length;t<r;t++){let r=f[t];if(e.props.hasOwnProperty(r))if("charSet"===r)n.has(r)?s=!1:n.add(r);else{let t=e.props[r],n=i[r]||new Set;("name"!==r||!o)&&n.has(t)?s=!1:(n.add(t),i[r]=n)}}}return s})).reverse().map((e,t)=>{let r=e.key||t;return l.default.cloneElement(e,{key:r})})}let v=function({children:e}){let t=(0,l.useContext)(c.HeadManagerContext);return(0,a.jsx)(u.default,{reduceComponentsToState:p,headManager:t,children:e})};("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)},1110,(e,t,r)=>{t.exports=e.r(84437)},23529,e=>{"use strict";var t=e.i(69178),r=e.i(30758),n=e.i(49061),i=e.i(48021);e.s(["default",0,({routeName:e=null,currentPageTitle:s=null,depth:o=null})=>{let a=(0,n.useRouter)(),{formatMessage:l}=(0,i.useIntl)(),u={home:"home",products:"products",orders:"orders",users:"users",assortments:"assortments",filters:"filters",tokens:"tokens",quotations:"quotations",enrollments:"enrollments",activities:"activities",works:"work_queue",events:"events",currency:"currencies",country:"countries",language:"languages","delivery-provider":"delivery_providers","payment-provider":"payment_providers","warehousing-provider":"warehousing_provider",system:"system",account:"account",new:"new",edit:"edit"},c=a.asPath?.split("/")?.filter((e,t)=>a.asPath?.split("/")?.indexOf(e)===t);if(1===c.length)return null;let d="";o&&c.splice(o),e&&(c[c.length-1]=e);let h=c?.map(t=>{if(d+=`${t}/`,!t)return{name:l({id:"home",defaultMessage:"Home"}),path:"/"};let r=t?.split("?")[0],n=e?r:r.replace(/-/g," "),i=u[r];return{name:i?l({id:i,defaultMessage:n}):decodeURIComponent(n),path:d.replace(/.$/,"")}});return(0,t.jsx)("nav",{className:"mb-5 hidden sm:flex lg:mt-5 lg:mb-8","aria-label":"Breadcrumb",children:(0,t.jsx)("ol",{className:"flex items-center space-x-4",children:h?.map((e,n)=>(0,t.jsx)("li",{children:(0,t.jsxs)("div",{className:"flex items-center",children:[0!==n&&(0,t.jsx)("svg",{className:"mr-4 h-5 w-5 shrink-0 text-slate-400",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",children:(0,t.jsx)("path",{fillRule:"evenodd",d:"M7.293 14.707a1 1 0 010-1.414L10.586 10 7.293 6.707a1 1 0 011.414-1.414l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414 0z",clipRule:"evenodd"})}),(0,t.jsx)(r.default,{href:e.path,className:"text-sm font-medium capitalize text-slate-500 dark:text-slate-400 dark:hover:text-slate-300 hover:text-slate-700 focus:outline-hidden focus:ring-2 focus:ring-slate-800 rounded-md px-1 py-1",children:n===h.length-1&&s?s:e.name})]})},e.path))})})}])},71588,e=>{"use strict";var t=e.i(69178),r=e.i(1110),n=e.i(30758),i=e.i(48021),s=e.i(89317),o=e.i(93734);e.s(["default",0,({headerText:e=null,onEdit:a=null,onDelete:l=null,children:u=null,title:c=null,addPath:d=null,addButtonText:h=null})=>{let{formatMessage:f}=(0,i.useIntl)();return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(r.default,{children:(0,t.jsxs)("title",{children:["Unchained AdminUI - ",c||e," "]})}),(0,t.jsx)("div",{className:"flex gap-3 flex-wrap items-center justify-between",children:(0,t.jsxs)("div",{className:"flex items-center flex-wrap justify-between w-full gap-4",children:[e&&(0,t.jsx)("h2",{className:"text-2xl font-medium text-slate-900 dark:text-slate-300 sm:truncate sm:text-3xl lg:text-4xl",children:e}),(0,t.jsxs)("div",{className:"flex items-center gap-3 flex-shrink-0",children:[u,d&&(0,t.jsx)(n.default,{href:d,children:(0,t.jsx)(o.default,{variant:"secondary",icon:(0,t.jsx)(s.PlusIcon,{className:"h-5 w-5"}),text:h||f({id:"add",defaultMessage:"Add"})})}),a&&(0,t.jsx)(o.default,{variant:"secondary",onClick:a,text:f({id:"edit",defaultMessage:"Edit"})}),l&&(0,t.jsx)(o.default,{variant:"danger",onClick:l,text:f({id:"delete",defaultMessage:"Delete"})})]})]})})]})}])}]);