@unchainedshop/admin-ui 4.8.33 → 4.8.34

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 (480) hide show
  1. package/dist/{chunk-WPLOTFGW.js → chunk-2HTCKO4E.js} +12 -3
  2. package/dist/{chunk-PJLYVMUM.js → chunk-4MXPTVDL.js} +2 -2
  3. package/dist/{chunk-I64TXIE7.js → chunk-ATZJXTRA.js} +1 -1
  4. package/dist/{chunk-QHR23GVH.js → chunk-CUYIP5XG.js} +1 -1
  5. package/dist/{chunk-5WPFHQZN.js → chunk-E6HDJYA6.js} +3 -3
  6. package/dist/{chunk-FDHXLNZQ.js → chunk-EAVP6XZQ.js} +1 -1
  7. package/dist/{chunk-E77YIMGR.js → chunk-ED2FP42R.js} +1 -1
  8. package/dist/{chunk-HJKRGBDG.js → chunk-GWMLIF3C.js} +1 -1
  9. package/dist/{chunk-3L6EZQ6P.js → chunk-NFJE5EJG.js} +1 -1
  10. package/dist/{chunk-BMDNY67T.js → chunk-PGJTFYBT.js} +1385 -932
  11. package/dist/{chunk-ICJH36K4.js → chunk-YUXHILXY.js} +1 -1
  12. package/dist/form.js +797 -286
  13. package/dist/hooks.js +3 -3
  14. package/dist/modal.js +5 -5
  15. package/dist/modules/accounts.js +1 -1
  16. package/dist/modules/assortment.js +1 -1
  17. package/dist/modules/country.js +1 -1
  18. package/dist/modules/currency.js +1 -1
  19. package/dist/modules/delivery-provider.js +1 -1
  20. package/dist/modules/enrollment.js +1 -1
  21. package/dist/modules/event.js +1 -1
  22. package/dist/modules/filter.js +1 -1
  23. package/dist/modules/language.js +1 -1
  24. package/dist/modules/order.js +1 -1
  25. package/dist/modules/payment-providers.js +1 -1
  26. package/dist/modules/product-review.js +1 -1
  27. package/dist/modules/product.js +5 -5
  28. package/dist/modules/quotation.js +1 -1
  29. package/dist/modules/token.js +1 -1
  30. package/dist/modules/warehousing-providers.js +1 -1
  31. package/dist/modules/work.js +1 -1
  32. package/dist/plugins.js +1 -1
  33. package/dist/providers.js +5 -5
  34. package/dist/shims/admin-ui-plugins.js +1 -1
  35. package/dist/shims/apollo-client-react.js +1 -1
  36. package/dist/shims/apollo-client.js +1 -1
  37. package/dist/shims/next-head.js +1 -1
  38. package/dist/shims/next-image.js +1 -1
  39. package/dist/shims/next-link.js +1 -1
  40. package/dist/shims/next-router.js +1 -1
  41. package/dist/shims/react-dom-client.js +1 -1
  42. package/dist/shims/react-dom.js +1 -1
  43. package/dist/shims/react-hook-form.js +1 -1
  44. package/dist/shims/react-intl.js +1 -1
  45. package/dist/shims/react-jsx-runtime.js +1 -1
  46. package/dist/shims/react-toastify.js +1 -1
  47. package/dist/shims/react.js +1 -1
  48. package/dist/theme.js +1 -1
  49. package/dist/ui.js +3884 -3401
  50. package/out/403/index.html +3 -3
  51. package/out/404/index.html +3 -3
  52. package/out/404.html +3 -3
  53. package/out/423/index.html +3 -3
  54. package/out/500/index.html +3 -3
  55. package/out/_next/static/DUswS2PYjGTW9uUGVJ6xd/_buildManifest.js +258 -0
  56. package/out/_next/static/chunks/0-e21p2v90828.js +23 -0
  57. package/out/_next/static/chunks/0-w25xfpw-_e9.js +44 -0
  58. package/out/_next/static/chunks/011h6mc3kuxq9.js +217 -0
  59. package/out/_next/static/chunks/01n5rd9ngv-t4.js +1 -0
  60. package/out/_next/static/chunks/01rghd4wcj4ex.js +5 -0
  61. package/out/_next/static/chunks/03omde6jo6sta.js +1 -0
  62. package/out/_next/static/chunks/06gyzyq56kw_2.js +6 -0
  63. package/out/_next/static/chunks/{2ajr0rk0_yax6.js → 06kqbwwnuu3te.js} +1 -1
  64. package/out/_next/static/chunks/07i53w2a3x0so.js +1 -0
  65. package/out/_next/static/chunks/09irjy-7k1922.js +1 -0
  66. package/out/_next/static/chunks/09kihj6ay6mqn.js +39 -0
  67. package/out/_next/static/chunks/09ml8g7-byzio.js +71 -0
  68. package/out/_next/static/chunks/09yk8jmltcqcd.js +5 -0
  69. package/out/_next/static/chunks/0_m0oaoy22un6.js +5 -0
  70. package/out/_next/static/chunks/0af-w950yl0l5.js +277 -0
  71. package/out/_next/static/chunks/0ah2m5cl87avs.js +935 -0
  72. package/out/_next/static/chunks/0ahfhl4hk0fuj.js +12 -0
  73. package/out/_next/static/chunks/0b4rcc2y1ex8j.js +12 -0
  74. package/out/_next/static/chunks/0buyef0vid-ym.js +224 -0
  75. package/out/_next/static/chunks/0czpir4zjwmos.js +1 -0
  76. package/out/_next/static/chunks/0duy5y86n4tl3.js +5 -0
  77. package/out/_next/static/chunks/0dzn-wes7gjdt.js +33 -0
  78. package/out/_next/static/chunks/{2rmgaa88-4bpb.js → 0e4nzgbtw6x_d.js} +4 -4
  79. package/out/_next/static/chunks/0eb98o1s1ojq7.js +5 -0
  80. package/out/_next/static/chunks/0gow2wyosbjb6.js +71 -0
  81. package/out/_next/static/chunks/0h4ehpg2f7fp2.js +46 -0
  82. package/out/_next/static/chunks/0hgha-mywwcsd.js +8 -0
  83. package/out/_next/static/chunks/0iliy1guwadr4.js +7 -0
  84. package/out/_next/static/chunks/0l0hzoqd-va5-.js +1 -0
  85. package/out/_next/static/chunks/0l1xycyhdztmy.js +46 -0
  86. package/out/_next/static/chunks/0lh8xbz1qulcr.js +15 -0
  87. package/out/_next/static/chunks/0mavm6oemhb-d.js +152 -0
  88. package/out/_next/static/chunks/0nk0kgnsiap5g.js +116 -0
  89. package/out/_next/static/chunks/0o3o1f00j5wxa.js +8 -0
  90. package/out/_next/static/chunks/0pny1c_ni8rn7.js +39 -0
  91. package/out/_next/static/chunks/0q62hlhpcumrt.js +33 -0
  92. package/out/_next/static/chunks/0qkdih-hi6c2m.js +15 -0
  93. package/out/_next/static/chunks/0qz61g2g6ijfh.js +54 -0
  94. package/out/_next/static/chunks/0raj1enjck-ex.js +4 -0
  95. package/out/_next/static/chunks/0rmomvc8u__n4.js +10 -0
  96. package/out/_next/static/chunks/0s0ufx1fl32v7.js +12 -0
  97. package/out/_next/static/chunks/0sgxa66r-iing.js +1 -0
  98. package/out/_next/static/chunks/0sv5w2_cae8tj.js +7 -0
  99. package/out/_next/static/chunks/0u_zr87ce7iu-.js +1 -0
  100. package/out/_next/static/chunks/0ub1l2hrjkz2-.js +1 -0
  101. package/out/_next/static/chunks/0uef4ugmc_g10.js +1 -0
  102. package/out/_next/static/chunks/0uksleo_xd7j5.js +1 -0
  103. package/out/_next/static/chunks/0wbciytf8tnsa.js +18 -0
  104. package/out/_next/static/chunks/0wd1l2f5cin-0.js +4 -0
  105. package/out/_next/static/chunks/0zfm51umxvjc6.js +1 -0
  106. package/out/_next/static/chunks/10enect1zh1vj.js +3 -0
  107. package/out/_next/static/chunks/11e6h7l-whxh3.js +7 -0
  108. package/out/_next/static/chunks/11vnr4kb9qkjr.js +1 -0
  109. package/out/_next/static/chunks/13bcbgywansr-.js +130 -0
  110. package/out/_next/static/chunks/13ytpmhxkpnwy.js +1 -0
  111. package/out/_next/static/chunks/14pnkf7som1m1.js +1 -0
  112. package/out/_next/static/chunks/17nr-ur3sbo_z.js +24 -0
  113. package/out/_next/static/chunks/1802-tohqffps.js +1 -0
  114. package/out/_next/static/chunks/181-yaruteuqm.js +61 -0
  115. package/out/_next/static/chunks/181zsbok_ljo_.js +4 -0
  116. package/out/_next/static/chunks/187p6ryym-x3i.js +5 -0
  117. package/out/_next/static/chunks/198-_r3as1j63.js +8 -0
  118. package/out/_next/static/chunks/19f7gu0kvm7xl.js +7 -0
  119. package/out/_next/static/chunks/19kin-dby998k.js +8 -0
  120. package/out/_next/static/chunks/1aojv48cs6ufj.js +6 -0
  121. package/out/_next/static/chunks/1cs-w7vppvm8o.js +1 -0
  122. package/out/_next/static/chunks/1cz2fp89ssu5d.js +4 -0
  123. package/out/_next/static/chunks/1dedrypk-h8qr.js +1 -0
  124. package/out/_next/static/chunks/1edk56b1rx05q.js +4 -0
  125. package/out/_next/static/chunks/1ew4i-mm087xs.js +4 -0
  126. package/out/_next/static/chunks/1ewn0p_wru2ra.js +15 -0
  127. package/out/_next/static/chunks/1g1na7eoafolj.js +1 -0
  128. package/out/_next/static/chunks/1gfocmey44pyr.js +7 -0
  129. package/out/_next/static/chunks/1grwyry6zqknr.js +100 -0
  130. package/out/_next/static/chunks/1gyt_0aw92ysk.js +5 -0
  131. package/out/_next/static/chunks/1hvvot0p0442h.js +5 -0
  132. package/out/_next/static/chunks/1inbspyz1wpdj.js +1 -0
  133. package/out/_next/static/chunks/1l2p87t0w4-yb.js +8 -0
  134. package/out/_next/static/chunks/1lew6f82bg1x1.js +1 -0
  135. package/out/_next/static/chunks/1nbc2o30_g9bj.js +95 -0
  136. package/out/_next/static/chunks/1nikeez809jr8.js +2 -0
  137. package/out/_next/static/chunks/1p1f35qy1lt0s.js +7 -0
  138. package/out/_next/static/chunks/1p3agrt0e0t9t.js +5 -0
  139. package/out/_next/static/chunks/1p6qsnui0zjik.js +44 -0
  140. package/out/_next/static/chunks/1pbfjibxvspoj.js +5 -0
  141. package/out/_next/static/chunks/1pcrg5m_9agof.js +5 -0
  142. package/out/_next/static/chunks/1rm2w7nvmejdw.js +31 -0
  143. package/out/_next/static/chunks/{1---h4b693b81.js → 1t5wlk2j9d4ss.js} +1 -1
  144. package/out/_next/static/chunks/{12yd8t4k6c0t1.js → 1t8jj0-6g8uyd.js} +1 -1
  145. package/out/_next/static/chunks/1ttpypjue-zdo.js +63 -0
  146. package/out/_next/static/chunks/1uzvaujlk79rn.js +145 -0
  147. package/out/_next/static/chunks/1xnlhfvi8m4a8.js +1 -0
  148. package/out/_next/static/chunks/1y0mbad52vao6.js +5 -0
  149. package/out/_next/static/chunks/1zfhgsywbsg2e.js +5 -0
  150. package/out/_next/static/chunks/1zhfbuv-et-34.js +13 -0
  151. package/out/_next/static/chunks/2-2kg667v82ek.js +171 -0
  152. package/out/_next/static/chunks/21z3-xqp62vs8.js +7 -0
  153. package/out/_next/static/chunks/22odam86c8kps.js +1 -0
  154. package/out/_next/static/chunks/23wfelj92rx3n.js +1 -0
  155. package/out/_next/static/chunks/243ubs_ig9hwo.js +13 -0
  156. package/out/_next/static/chunks/249u7sg_mycfl.js +24 -0
  157. package/out/_next/static/chunks/24_57hr3o_ll8.js +1 -0
  158. package/out/_next/static/chunks/252_8-fyz3vjh.js +9 -0
  159. package/out/_next/static/chunks/25_kx8fsd5k0d.js +5 -0
  160. package/out/_next/static/chunks/26wuxv_gsk3jb.js +30 -0
  161. package/out/_next/static/chunks/26x7o2gzms54c.js +6 -0
  162. package/out/_next/static/chunks/27h86ht8kvqop.js +267 -0
  163. package/out/_next/static/chunks/27tf612b6s-45.js +7 -0
  164. package/out/_next/static/chunks/{3qzrrjb48t2w3.js → 2893194r7ays6.js} +5 -5
  165. package/out/_next/static/chunks/294uscwjocbpf.js +5 -0
  166. package/out/_next/static/chunks/29c8fj1poxxec.js +39 -0
  167. package/out/_next/static/chunks/{439tz_ubj8h-g.js → 29fdom9djvjop.js} +9 -9
  168. package/out/_next/static/chunks/2__om5ddn5b91.js +7 -0
  169. package/out/_next/static/chunks/2_krlw-01uumq.js +119 -0
  170. package/out/_next/static/chunks/2a1m9ia2zp2t9.js +6 -0
  171. package/out/_next/static/chunks/2c2arjke9rx-g.js +14 -0
  172. package/out/_next/static/chunks/2de99go2pdzl3.js +12 -0
  173. package/out/_next/static/chunks/2dnn7jhe55iy8.js +32 -0
  174. package/out/_next/static/chunks/2eac98hmhj8tp.js +5 -0
  175. package/out/_next/static/chunks/2fxjo2s_nsjsa.js +5 -0
  176. package/out/_next/static/chunks/2h_j6q1pnhf07.js +16 -0
  177. package/out/_next/static/chunks/2hthxhwh84ls1.css +1 -0
  178. package/out/_next/static/chunks/2i07f6t3xq708.js +5 -0
  179. package/out/_next/static/chunks/2i6nzzm63658q.js +10 -0
  180. package/out/_next/static/chunks/2ksch2zc9k7uj.js +71 -0
  181. package/out/_next/static/chunks/{1gqd9vrno0rq4.js → 2lh-lsn2en0pp.js} +2 -2
  182. package/out/_next/static/chunks/2luj-95aqr25b.js +1 -0
  183. package/out/_next/static/chunks/2m_p_bx_gsrlf.js +5 -0
  184. package/out/_next/static/chunks/2of_ro6r-fwjx.js +16 -0
  185. package/out/_next/static/chunks/2oyujmi3aqs6f.js +5 -0
  186. package/out/_next/static/chunks/2pumckmhpvlo2.js +23 -0
  187. package/out/_next/static/chunks/2r4x7nghsoqhe.js +7 -0
  188. package/out/_next/static/chunks/2s-226q_lc70k.js +9 -0
  189. package/out/_next/static/chunks/2sc_zg0bvlmak.js +78 -0
  190. package/out/_next/static/chunks/2tlxpweh5c3fh.js +43 -0
  191. package/out/_next/static/chunks/{1_55km6vm5mc0.js → 2w_0wk23uirx6.js} +7 -7
  192. package/out/_next/static/chunks/2wg_0x11ef6uc.js +7 -0
  193. package/out/_next/static/chunks/2zx42lz8zcp91.js +6 -0
  194. package/out/_next/static/chunks/3-l_ott2smmqm.js +7 -0
  195. package/out/_next/static/chunks/30lpu8mp25ag1.js +41 -0
  196. package/out/_next/static/chunks/3168hp9w1h68h.js +68 -0
  197. package/out/_next/static/chunks/3180oblgqnad5.js +194 -0
  198. package/out/_next/static/chunks/32traobkc55z_.js +54 -0
  199. package/out/_next/static/chunks/33s24dpx0eo63.js +2 -0
  200. package/out/_next/static/chunks/{153ec1_-yt3jb.js → 343n05fzlb2an.js} +5 -5
  201. package/out/_next/static/chunks/35odkwyh-md-p.js +59 -0
  202. package/out/_next/static/chunks/35tgy8og7dw73.js +149 -0
  203. package/out/_next/static/chunks/36mjt8cgckx2r.js +1 -0
  204. package/out/_next/static/chunks/37j2g662wreov.js +108 -0
  205. package/out/_next/static/chunks/37vezmh4pf5j4.js +12 -0
  206. package/out/_next/static/chunks/37y01hdz8sxhr.js +1 -0
  207. package/out/_next/static/chunks/38uyt89jy0tt7.js +1 -0
  208. package/out/_next/static/chunks/39-pv-7i0kah_.js +155 -0
  209. package/out/_next/static/chunks/3__spmlu2_ez6.js +41 -0
  210. package/out/_next/static/chunks/3_zgl8ng3nj3g.js +9 -0
  211. package/out/_next/static/chunks/3a6ahlxxtjn1v.js +8 -0
  212. package/out/_next/static/chunks/{1tkvi0wb-x3v8.js → 3ae7hwg50q67p.js} +2 -2
  213. package/out/_next/static/chunks/3btzusax1chra.js +36 -0
  214. package/out/_next/static/chunks/3ciuktttw5i71.js +277 -0
  215. package/out/_next/static/chunks/{2ho4591ngh3y2.js → 3d0cucf7-qlz9.js} +6 -6
  216. package/out/_next/static/chunks/3d2mjl6ls12h_.js +5 -0
  217. package/out/_next/static/chunks/3dxz87hw4lx39.js +1 -0
  218. package/out/_next/static/chunks/3f2rrfc7u_j6o.js +1 -0
  219. package/out/_next/static/chunks/3fvf-l1-bp--9.js +5 -0
  220. package/out/_next/static/chunks/3hubf9lb56zls.js +7 -0
  221. package/out/_next/static/chunks/3hxp-xwv4g3ek.js +1 -0
  222. package/out/_next/static/chunks/3ljqspad_536i.js +4 -0
  223. package/out/_next/static/chunks/3mnca5jc1q8c_.js +43 -0
  224. package/out/_next/static/chunks/{0q2e8h8498pvo.js → 3qqhr2o1soxh_.js} +1 -1
  225. package/out/_next/static/chunks/3skw31vkshyt2.js +1 -0
  226. package/out/_next/static/chunks/3szdkqecej3fb.js +1 -0
  227. package/out/_next/static/chunks/3t-6admtmkzzy.js +39 -0
  228. package/out/_next/static/chunks/3t1q9dc-nlr3j.js +1 -0
  229. package/out/_next/static/chunks/3u6_-nj6i_l_r.js +1 -0
  230. package/out/_next/static/chunks/3uekb_s0jaboj.js +1 -0
  231. package/out/_next/static/chunks/3uql2yuaknc-3.js +1 -0
  232. package/out/_next/static/chunks/3vf-3rhaiq_n1.js +6 -0
  233. package/out/_next/static/chunks/3xtawjchyn0qb.js +1 -0
  234. package/out/_next/static/chunks/3xze13c1irm_5.js +1 -0
  235. package/out/_next/static/chunks/3ylglplnmhho2.js +5 -0
  236. package/out/_next/static/chunks/3ym4exwo-py5d.js +23 -0
  237. package/out/_next/static/chunks/3yre4w19nehxf.js +1 -0
  238. package/out/_next/static/chunks/3z51ql4pljujr.js +81 -0
  239. package/out/_next/static/chunks/3zhcq27e8jjni.js +28 -0
  240. package/out/_next/static/chunks/40fs5lh83_iox.js +1 -0
  241. package/out/_next/static/chunks/40kvqov4hgd5s.js +31 -0
  242. package/out/_next/static/chunks/40trlm34cnu6v.js +108 -0
  243. package/out/_next/static/chunks/43n5979c79f0d.js +1 -0
  244. package/out/_next/static/chunks/{turbopack-2c3mg3r-05n1w.js → turbopack-077hmtqrhcoji.js} +1 -1
  245. package/out/_offline/index.html +3 -3
  246. package/out/account/forgot-password/index.html +3 -3
  247. package/out/account/index.html +3 -3
  248. package/out/assortments/AssortmentDetailPage/index.html +3 -3
  249. package/out/assortments/index.html +3 -3
  250. package/out/assortments/new/index.html +3 -3
  251. package/out/copilot/index.html +3 -3
  252. package/out/country/CountryDetailPage/index.html +3 -3
  253. package/out/country/index.html +3 -3
  254. package/out/country/new/index.html +3 -3
  255. package/out/currency/CurrencyDetailPage/index.html +3 -3
  256. package/out/currency/index.html +3 -3
  257. package/out/currency/new/index.html +3 -3
  258. package/out/delivery-provider/DeliveryProviderDetailPage/index.html +3 -3
  259. package/out/delivery-provider/index.html +3 -3
  260. package/out/delivery-provider/new/index.html +3 -3
  261. package/out/enrollments/EnrollmentDetailPage/index.html +3 -3
  262. package/out/enrollments/index.html +3 -3
  263. package/out/events/EventDetailPage/index.html +3 -3
  264. package/out/events/index.html +3 -3
  265. package/out/exports/index.html +3 -3
  266. package/out/external/index.html +3 -3
  267. package/out/filters/FilterDetailPage/index.html +3 -3
  268. package/out/filters/index.html +3 -3
  269. package/out/filters/new/index.html +3 -3
  270. package/out/index.html +3 -3
  271. package/out/install/index.html +3 -3
  272. package/out/language/LanguageDetailPage/index.html +3 -3
  273. package/out/language/index.html +3 -3
  274. package/out/language/new/index.html +3 -3
  275. package/out/log-in/index.html +3 -3
  276. package/out/orders/OrderDetailPage/index.html +3 -3
  277. package/out/orders/index.html +3 -3
  278. package/out/payment-provider/PaymentProviderDetailPage/index.html +3 -3
  279. package/out/payment-provider/index.html +3 -3
  280. package/out/payment-provider/new/index.html +3 -3
  281. package/out/products/ProductDetailPage/index.html +3 -3
  282. package/out/products/index.html +3 -3
  283. package/out/products/new/index.html +3 -3
  284. package/out/quotations/QuotationDetailPage/index.html +3 -3
  285. package/out/quotations/index.html +3 -3
  286. package/out/reset-password/index.html +3 -3
  287. package/out/sign-up/index.html +3 -3
  288. package/out/styleguide/index.html +3 -3
  289. package/out/tokens/TokenDetailPage/index.html +3 -3
  290. package/out/tokens/index.html +3 -3
  291. package/out/users/UserDetailPage/index.html +3 -3
  292. package/out/users/index.html +3 -3
  293. package/out/users/new/index.html +3 -3
  294. package/out/verify-email/index.html +3 -3
  295. package/out/warehousing-provider/WarehousingProviderDetailPage/index.html +3 -3
  296. package/out/warehousing-provider/index.html +3 -3
  297. package/out/warehousing-provider/new/index.html +3 -3
  298. package/out/works/WorkDetailPage/index.html +3 -3
  299. package/out/works/WorkQueueListView/index.html +3 -3
  300. package/out/works/index.html +3 -3
  301. package/out/works/management/index.html +3 -3
  302. package/package.json +1 -1
  303. package/out/_next/static/LYf4c16v7ZGmJ_J77NFgQ/_buildManifest.js +0 -258
  304. package/out/_next/static/chunks/0-_s79k4_7ei_.js +0 -5
  305. package/out/_next/static/chunks/00aks9rqke2x0.js +0 -7
  306. package/out/_next/static/chunks/00az81dk4vdda.js +0 -54
  307. package/out/_next/static/chunks/01e4gd649r2tq.js +0 -7
  308. package/out/_next/static/chunks/01j2wi94k90x0.js +0 -5
  309. package/out/_next/static/chunks/043i-g05cyvrd.js +0 -1
  310. package/out/_next/static/chunks/04kyktzbxprj0.js +0 -61
  311. package/out/_next/static/chunks/05p330iybjojg.js +0 -44
  312. package/out/_next/static/chunks/05qk8ozexvlxp.js +0 -5
  313. package/out/_next/static/chunks/06i50j458a7g5.js +0 -12
  314. package/out/_next/static/chunks/07o9g5hqfpvjc.js +0 -12
  315. package/out/_next/static/chunks/08o61gwabp3h1.js +0 -33
  316. package/out/_next/static/chunks/0_bvgo8ev4gs7.js +0 -7
  317. package/out/_next/static/chunks/0a5nr3-_q7xx1.js +0 -100
  318. package/out/_next/static/chunks/0amj69l-d5-85.js +0 -1
  319. package/out/_next/static/chunks/0b05sca2hdcys.js +0 -30
  320. package/out/_next/static/chunks/0c3kwkqr9evm4.js +0 -5
  321. package/out/_next/static/chunks/0c4jv8pwvpxei.js +0 -1
  322. package/out/_next/static/chunks/0c7ljn9lo_0oh.js +0 -5
  323. package/out/_next/static/chunks/0ewr86ctcw7fx.js +0 -1
  324. package/out/_next/static/chunks/0jham55cr3rhy.js +0 -81
  325. package/out/_next/static/chunks/0lr7o7tyjmrmf.js +0 -8
  326. package/out/_next/static/chunks/0mx8opz23nwlb.js +0 -5
  327. package/out/_next/static/chunks/0n3ixknyc6_ma.js +0 -1
  328. package/out/_next/static/chunks/0o0e82-3pc7ur.js +0 -78
  329. package/out/_next/static/chunks/0ohk7l49gjm62.js +0 -5
  330. package/out/_next/static/chunks/0p31l6a9hynnt.js +0 -6
  331. package/out/_next/static/chunks/0qa-zbgmv-k3p.js +0 -9
  332. package/out/_next/static/chunks/0qj3xdz043z8l.js +0 -12
  333. package/out/_next/static/chunks/0skst735jufgh.js +0 -71
  334. package/out/_next/static/chunks/0t28q5fb2jp-6.js +0 -8
  335. package/out/_next/static/chunks/0tmamaq8exyij.js +0 -1
  336. package/out/_next/static/chunks/0ydy3ky15gx62.js +0 -1
  337. package/out/_next/static/chunks/0zh311lu9jf2x.js +0 -5
  338. package/out/_next/static/chunks/0zpyyygbqx3pf.js +0 -152
  339. package/out/_next/static/chunks/0zzoylv2rl1xu.js +0 -3
  340. package/out/_next/static/chunks/10m_etq9t2pkv.js +0 -7
  341. package/out/_next/static/chunks/11ehf3t7qzbua.js +0 -4
  342. package/out/_next/static/chunks/11go520d1hcm5.js +0 -1
  343. package/out/_next/static/chunks/16le3cqxj12u6.js +0 -5
  344. package/out/_next/static/chunks/16zxfacsu_jbq.js +0 -1
  345. package/out/_next/static/chunks/17fibl49qtd6c.js +0 -8
  346. package/out/_next/static/chunks/182l1mlbf0glb.js +0 -1
  347. package/out/_next/static/chunks/18xyj4i_i5lyn.js +0 -6
  348. package/out/_next/static/chunks/1aej6iqnlr74p.js +0 -1
  349. package/out/_next/static/chunks/1asbed4hne69c.js +0 -7
  350. package/out/_next/static/chunks/1c60nzy_x4kez.js +0 -277
  351. package/out/_next/static/chunks/1c77vl6xdqfd4.js +0 -15
  352. package/out/_next/static/chunks/1da89agg-nacc.js +0 -224
  353. package/out/_next/static/chunks/1f7-0l47bx76m.js +0 -13
  354. package/out/_next/static/chunks/1fbsyczyh9hwh.js +0 -1
  355. package/out/_next/static/chunks/1g96s7-fwvokd.js +0 -2
  356. package/out/_next/static/chunks/1hih2cxmgqcd3.js +0 -10
  357. package/out/_next/static/chunks/1hviha1jcz_og.js +0 -4
  358. package/out/_next/static/chunks/1il9vuoxtb2_n.js +0 -43
  359. package/out/_next/static/chunks/1jaatdt0mlypl.js +0 -16
  360. package/out/_next/static/chunks/1l4g6_of_bbr8.js +0 -5
  361. package/out/_next/static/chunks/1lezxecnoaxnn.js +0 -32
  362. package/out/_next/static/chunks/1m27au_nmk8_k.js +0 -71
  363. package/out/_next/static/chunks/1m4fwgl1mj4d-.js +0 -46
  364. package/out/_next/static/chunks/1ma82ip9shpkc.js +0 -24
  365. package/out/_next/static/chunks/1nbh1zkzirnuw.js +0 -1
  366. package/out/_next/static/chunks/1nohf8_cc6gmw.js +0 -9
  367. package/out/_next/static/chunks/1os6pvhjeb16o.js +0 -1
  368. package/out/_next/static/chunks/1qi5yjvzxspwv.js +0 -15
  369. package/out/_next/static/chunks/1rsexg6dg82f0.js +0 -7
  370. package/out/_next/static/chunks/1s9v5dndopkuz.js +0 -12
  371. package/out/_next/static/chunks/1sksqjru86hlm.js +0 -1
  372. package/out/_next/static/chunks/1u79pcgqjgjpq.js +0 -1
  373. package/out/_next/static/chunks/1uqiaqtv_0v2x.js +0 -5
  374. package/out/_next/static/chunks/1x8o-luxdxxk7.js +0 -1
  375. package/out/_next/static/chunks/1yjb7gogaf8po.js +0 -31
  376. package/out/_next/static/chunks/1zyhzessv0wtg.js +0 -1
  377. package/out/_next/static/chunks/2-pl31kdikt3k.js +0 -5
  378. package/out/_next/static/chunks/20c4_1i5r3kkz.js +0 -1
  379. package/out/_next/static/chunks/20f2gs8iua6fk.js +0 -1
  380. package/out/_next/static/chunks/20zdaln201w8j.js +0 -277
  381. package/out/_next/static/chunks/21l46nbaop06z.js +0 -39
  382. package/out/_next/static/chunks/22-o32hlte36e.js +0 -130
  383. package/out/_next/static/chunks/231j2_p-ha14w.js +0 -7
  384. package/out/_next/static/chunks/23s2f7_-ol94s.js +0 -8
  385. package/out/_next/static/chunks/23swqksldp1rl.js +0 -5
  386. package/out/_next/static/chunks/26_mx-ritu68j.js +0 -24
  387. package/out/_next/static/chunks/26ckmxeluyknq.js +0 -1
  388. package/out/_next/static/chunks/26r0y7ldf3iqs.js +0 -6
  389. package/out/_next/static/chunks/27fzoozwycagi.js +0 -6
  390. package/out/_next/static/chunks/27jmq7a-vh0b4.js +0 -7
  391. package/out/_next/static/chunks/283567a82x9qi.js +0 -149
  392. package/out/_next/static/chunks/29he8uukp5s4u.js +0 -31
  393. package/out/_next/static/chunks/2adglo0sf0jcg.js +0 -905
  394. package/out/_next/static/chunks/2b4ewxxz6f462.js +0 -7
  395. package/out/_next/static/chunks/2bh2dv7j9m8c8.css +0 -1
  396. package/out/_next/static/chunks/2bi8v13lm76lr.js +0 -95
  397. package/out/_next/static/chunks/2burvpf9877y_.js +0 -44
  398. package/out/_next/static/chunks/2cj703xtrf5i6.js +0 -46
  399. package/out/_next/static/chunks/2cj8g3fxmitaa.js +0 -1
  400. package/out/_next/static/chunks/2ec7xatyld40t.js +0 -7
  401. package/out/_next/static/chunks/2hoi6cb1lromr.js +0 -4
  402. package/out/_next/static/chunks/2i5k6tlwd58hp.js +0 -1
  403. package/out/_next/static/chunks/2iy0jr00qhq-q.js +0 -5
  404. package/out/_next/static/chunks/2jonbba27xy3u.js +0 -14
  405. package/out/_next/static/chunks/2m0rrts8gwqwp.js +0 -1
  406. package/out/_next/static/chunks/2m_u12ggzosat.js +0 -5
  407. package/out/_next/static/chunks/2mdns56l5antm.js +0 -5
  408. package/out/_next/static/chunks/2mrbytgs3uetd.js +0 -4
  409. package/out/_next/static/chunks/2p9gwjxeui1zd.js +0 -71
  410. package/out/_next/static/chunks/2pfhy9qy_cijn.js +0 -5
  411. package/out/_next/static/chunks/2q5k4rozyr2wt.js +0 -4
  412. package/out/_next/static/chunks/2qx8nnki_qv5v.js +0 -171
  413. package/out/_next/static/chunks/2r_rj84l3cy7r.js +0 -119
  414. package/out/_next/static/chunks/2rb1-3t3-sv5s.js +0 -8
  415. package/out/_next/static/chunks/2swxmzb-xk_bo.js +0 -108
  416. package/out/_next/static/chunks/2t0biwx5e_4w_.js +0 -1
  417. package/out/_next/static/chunks/2ts3v72jkbcdr.js +0 -7
  418. package/out/_next/static/chunks/2vfexvltv2avy.js +0 -5
  419. package/out/_next/static/chunks/2vveotzevnkfp.js +0 -1
  420. package/out/_next/static/chunks/2wkg65dtx56je.js +0 -155
  421. package/out/_next/static/chunks/2wmsx4gjbgvfv.js +0 -18
  422. package/out/_next/static/chunks/2xixk0t9e9mnw.js +0 -1
  423. package/out/_next/static/chunks/2xz7hnr9ikqzq.js +0 -7
  424. package/out/_next/static/chunks/2y1lq1efnvcdt.js +0 -23
  425. package/out/_next/static/chunks/2ziasg8l_c9n7.js +0 -5
  426. package/out/_next/static/chunks/3-wsablhqgzoa.js +0 -1
  427. package/out/_next/static/chunks/30ppb2wc-m4ph.js +0 -1
  428. package/out/_next/static/chunks/336k08jwyc5i-.js +0 -1
  429. package/out/_next/static/chunks/33d061qpkafqm.js +0 -39
  430. package/out/_next/static/chunks/33fyy6d5mo55_.js +0 -8
  431. package/out/_next/static/chunks/33kh18frqc3b1.js +0 -5
  432. package/out/_next/static/chunks/33v05ol-ire9s.js +0 -10
  433. package/out/_next/static/chunks/33yzdcbu7w60l.js +0 -13
  434. package/out/_next/static/chunks/348l8p7-vo4l5.js +0 -63
  435. package/out/_next/static/chunks/35hu5vin0swdf.js +0 -41
  436. package/out/_next/static/chunks/37a6yquh875rn.js +0 -39
  437. package/out/_next/static/chunks/3_2i9du5-ffrp.js +0 -59
  438. package/out/_next/static/chunks/3_84h3z_tewmg.js +0 -145
  439. package/out/_next/static/chunks/3bo7uiy-wh63m.js +0 -108
  440. package/out/_next/static/chunks/3bqaitmo4sp-a.js +0 -116
  441. package/out/_next/static/chunks/3c-an5ft_3emc.js +0 -1
  442. package/out/_next/static/chunks/3d_222ci0_30_.js +0 -41
  443. package/out/_next/static/chunks/3dldch03dfaed.js +0 -1
  444. package/out/_next/static/chunks/3eedy49gsvv_t.js +0 -1
  445. package/out/_next/static/chunks/3fayuejnrsd90.js +0 -15
  446. package/out/_next/static/chunks/3fqonijzsxy8u.js +0 -28
  447. package/out/_next/static/chunks/3g1ale0hytu9q.js +0 -12
  448. package/out/_next/static/chunks/3k3gvr7-e3g_s.js +0 -5
  449. package/out/_next/static/chunks/3kwoyyxi_-q7m.js +0 -1
  450. package/out/_next/static/chunks/3le1bywe19_u9.js +0 -1
  451. package/out/_next/static/chunks/3lku4-9kpf-mj.js +0 -267
  452. package/out/_next/static/chunks/3lz5h1tw50wr_.js +0 -54
  453. package/out/_next/static/chunks/3oq-khgfpo0nx.js +0 -39
  454. package/out/_next/static/chunks/3ps25ocfalcap.js +0 -43
  455. package/out/_next/static/chunks/3q3m075m4bxz1.js +0 -2
  456. package/out/_next/static/chunks/3r0i-7zjuz9i1.js +0 -6
  457. package/out/_next/static/chunks/3rgn5xwtr51ul.js +0 -7
  458. package/out/_next/static/chunks/3ridg_u19b6ih.js +0 -8
  459. package/out/_next/static/chunks/3skzk-w2ytvku.js +0 -5
  460. package/out/_next/static/chunks/3srw10h0hcztd.js +0 -68
  461. package/out/_next/static/chunks/3tgrftdet8sna.js +0 -15
  462. package/out/_next/static/chunks/3uax_eq1kjjta.js +0 -1
  463. package/out/_next/static/chunks/3uj94afpsi6cs.js +0 -1
  464. package/out/_next/static/chunks/3vgurvjr6hkyv.js +0 -4
  465. package/out/_next/static/chunks/3viepyovs19ub.js +0 -23
  466. package/out/_next/static/chunks/3vnzp3n_wd3j_.js +0 -1
  467. package/out/_next/static/chunks/3w8h5lxnd0z4z.js +0 -1
  468. package/out/_next/static/chunks/3wh4xa9dnw-55.js +0 -194
  469. package/out/_next/static/chunks/3wlvio5id54ow.js +0 -5
  470. package/out/_next/static/chunks/3wzvscqui-9ml.js +0 -23
  471. package/out/_next/static/chunks/3y8h3g1tqukrv.js +0 -36
  472. package/out/_next/static/chunks/3zcilnj6p9-t5.js +0 -1
  473. package/out/_next/static/chunks/3zmmdm68s05-t.js +0 -217
  474. package/out/_next/static/chunks/40l5d7o95aw37.js +0 -4
  475. package/out/_next/static/chunks/417kn9hki8k81.js +0 -33
  476. package/out/_next/static/chunks/42mofxcd0l7qi.js +0 -1
  477. package/out/_next/static/chunks/43hfssep7ry-z.js +0 -5
  478. package/out/_next/static/chunks/45bcpjurhxb-j.js +0 -1
  479. /package/out/_next/static/{LYf4c16v7ZGmJ_J77NFgQ → DUswS2PYjGTW9uUGVJ6xd}/_clientMiddlewareManifest.js +0 -0
  480. /package/out/_next/static/{LYf4c16v7ZGmJ_J77NFgQ → DUswS2PYjGTW9uUGVJ6xd}/_ssgManifest.js +0 -0
@@ -0,0 +1,5 @@
1
+ __turbopack_load_page_chunks__("/currency/new", [
2
+ "static/chunks/2h_j6q1pnhf07.js",
3
+ "static/chunks/14pnkf7som1m1.js",
4
+ "static/chunks/turbopack-077hmtqrhcoji.js"
5
+ ])
@@ -0,0 +1,277 @@
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,41215,e=>{"use strict";e.s(["f",0,class extends Error{constructor(e){super(e),this.name="CustomError"}}])},11309,e=>{"use strict";var t=e.i(91398),r=e.i(72043),s=e.i(88566),a=e.i(25575),l=e.i(91788);let i=({header:e,body:i,headerCSS:n="",bodyCSS:o="",itemContainerCSS:d="",itemindex:c=1,hideChevron:u=!1})=>{let[m,f]=(0,l.useState)(!1);return(0,t.jsxs)("div",{className:(0,r.default)("mt-3",d),"data-itemindex":c,children:[(0,t.jsxs)("button",{type:"button",onClick:()=>f(!m),className:(0,r.default)("relative cursor-pointer border dark:border-slate-800 bg-white dark:bg-slate-900 text-slate-500 dark:text-slate-200 hover:bg-slate-50 dark:hover:bg-slate-700 w-full max-w-full overflow-hidden",n),children:[(0,t.jsx)("div",{className:"w-full",children:e}),!u&&(0,t.jsx)("span",{className:"px-2",children:m?(0,t.jsx)(a.f,{className:"h-5 w-5"}):(0,t.jsx)(s.f,{className:"h-5 w-5"})})]}),m?(0,t.jsx)("div",{className:(0,r.default)("rounded-lg sm:p-4 xl:p-10 relative overflow-visible",o),children:i}):""]})};e.s(["f",0,({data:e,containerCSS:s="",headerCSS:a="",bodyCSS:l="",itemContainerCSS:n="",hideChevron:o=!1,...d})=>(0,t.jsx)("div",{className:(0,r.default)("my-3",s),...d,children:e.map(({header:e,body:r},s)=>(0,t.jsx)(i,{itemindex:s,header:e,body:r,headerCSS:a,bodyCSS:l,itemContainerCSS:n,hideChevron:o},s))})],11309)},61494,e=>{"use strict";var t=e.i(91398),r=e.i(41158),s=e.i(3828),a=e.i(3326);e.s(["f",0,({routeName:e=null,currentPageTitle:l=null,depth:i=null})=>{let n=(0,s.useRouter)(),{formatMessage:o}=(0,a.S)(),d={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=n.asPath?.split("/")?.filter((e,t)=>n.asPath?.split("/")?.indexOf(e)===t);if(1===c.length)return null;let u="";i&&c.splice(i),e&&(c[c.length-1]=e);let m=c?.map(t=>{if(u+=`${t}/`,!t)return{name:o({id:"home",defaultMessage:"Home"}),path:"/"};let r=t?.split("?")[0],s=e?r:r.replace(/-/g," "),a=d[r];return{name:a?o({id:a,defaultMessage:s}):decodeURIComponent(s),path:u.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:m?.map((e,s)=>(0,t.jsx)("li",{children:(0,t.jsxs)("div",{className:"flex items-center",children:[0!==s&&(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:s===m.length-1&&l?l:e.name})]})},e.path))})})}])},81013,e=>{"use strict";var t=e.i(91398),r=e.i(72043);e.s(["f",0,({text:e,children:s,onClick:a,className:l="",disabled:i=!1,id:n="",variant:o="primary",size:d="md",type:c="button",loading:u=!1,icon:m,iconRight:f,fullWidth:h=!1,rounded:x="md",ariaLabel:p,...g})=>{let b=s||e,v=(m||f)&&b?"gap-2":"";return(0,t.jsx)("button",{id:n,type:c,disabled:i||u,onClick:a,"aria-label":p,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"}[d],{none:"rounded-none",sm:"rounded-sm",md:"rounded-md",lg:"rounded-lg",full:"rounded-full"}[x],{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"}[o],v,{"w-full":h},l),...g,children:u?(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"}),b]}):(0,t.jsxs)(t.Fragment,{children:[m,b,f]})})}])},62100,e=>{"use strict";var t=e.i(91398),r=e.i(24557),s=e.i(72043),a=e.i(3326);e.s(["f",0,({onClick:e,className:l="",icon:i=null,textRight:n="",textLeft:o="",ariaLabel:d=""})=>{let{formatMessage:c}=(0,a.S)();return(0,t.jsxs)("button",{"aria-label":d||c({id:"delete",defaultMessage:"Delete"}),id:"delete_button",type:"button",onClick:e,className:(0,s.default)("flex justify-center items-center rounded-full dark:bg-slate-800 p-2 w-8 h-8 text-sm text-rose-500 dark:text-rose-400 hover:bg-rose-50 dark:hover:bg-rose-900/20 focus:outline-hidden focus:ring-2 focus:ring-rose-500 focus:ring-offset-2",l),children:[o||"",i||(0,t.jsx)(r.f,{className:"h-5 w-5"}),n||""]})}])},31494,e=>{"use strict";var t=e.i(91398),r=e.i(3326),s=e.i(84818),a=e.i(35065),l=e.i(64591);let i=({value:e})=>{let{formatDateTime:i}=(0,s.f)(),{formatMessage:n}=(0,r.S)();return(e=>{try{return new URL(e)}catch{return!1}})(e)?(e=>{try{let{pathname:t}=new URL(e),r=t?.split("."),s=`.${r[r.length-1]}`;return[".jpg",".jpeg",".png",".gif",".bmp"].includes(s)}catch{return!1}})(e)?(0,t.jsx)("div",{className:"ring-2 ring-offset-2 ring-slate-900 group block w-full aspect-w-10 aspect-h-7 rounded-lg bg-slate-50 overflow-hidden",children:(0,t.jsx)(a.f,{src:e,className:"relative h-10 w-10 rounded-full",width:100,height:100,alt:n({id:"image_not_available",defaultMessage:"Image not available"})})}):(0,t.jsx)("div",{className:"ml-4 shrink-0",children:(0,t.jsxs)("a",{href:e,className:"font-medium text-slate-900 hover:text-slate-800",target:"_blank",rel:"noreferrer",children:[new URL(e).host,"...",new URL(e).pathname]})}):(e=>{try{return"boolean"==typeof JSON.parse(e)}catch{return!1}})(e)?(0,t.jsx)(l.f,{disabled:!0,active:JSON.parse(e)}):!Number.isNaN(Date.parse(e))&&Number.isNaN(Number(e))?i(e,{dateStyle:"long",timeStyle:"short"}):(!Number.isNaN(e),e)},n=({value:e})=>(0,t.jsx)("h3",{className:"text-base font-medium",children:(0,t.jsx)("span",{className:"text-slate-900",children:e})}),o=e=>{let{data:r,parentKey:s}=e;if(!r)return null;let a=Object.keys(r),l=[];return void 0!==s&&l.push((0,t.jsx)(n,{value:s},s)),a.forEach(e=>{let a=r[e];if(Array.isArray(a))if(l.push((0,t.jsx)(n,{value:e},e)),a.every(e=>"string"==typeof e||"number"==typeof e))l.push((0,t.jsx)("div",{className:" p-2",children:a?.map(e=>(0,t.jsx)("span",{className:"inline-flex items-center rounded-md bg-slate-50 px-2.5 py-0.5 text-sm font-medium text-slate-800 ml-2",children:(0,t.jsx)(i,{value:e})},e))},e));else{let r=[];a.forEach((e,s)=>{r.push((0,t.jsx)("li",{className:"flex items-center text-slate-600 justify-between py-3 pl-3 pr-4 text-sm",children:o({data:e,parentKey:s})},s))}),l.push((0,t.jsx)("ul",{className:"divide-y divide-slate-200 rounded-md ",children:r},e))}else"object"==typeof a?l.push(o({data:a,parentKey:e})):void 0===s?l.push((0,t.jsxs)("div",{className:"py-4 sm:grid sm:grid-cols-3 sm:gap-4 sm:py-5",children:[(0,t.jsx)("dt",{className:"text-sm font-medium text-slate-700",children:(0,t.jsx)(n,{value:e},e)}),(0,t.jsx)("dd",{className:"mt-1 text-sm text-slate-900 sm:col-span-2 sm:mt-0",children:(0,t.jsx)(i,{value:a})})]},e)):l.push((0,t.jsxs)("div",{className:"py-4 sm:grid sm:grid-cols-3 sm:gap-4 sm:py-5 sm:px-6",children:[(0,t.jsx)("dt",{className:"text-sm font-medium text-slate-700",children:(0,t.jsx)(n,{value:e},e)}),(0,t.jsx)("dd",{className:"mt-1 text-sm text-slate-900 sm:col-span-2 sm:mt-0",children:(0,t.jsx)(i,{value:a})})]},e))}),(0,t.jsx)("div",{className:" bg-white px-4 py-5 ",children:(0,t.jsx)("dl",{children:l})})};e.s(["f",0,o])},81359,e=>{"use strict";var t=e.i(91398),r=e.i(24608),s=e.i(3326);e.s(["f",0,({onClick:e,text:a=null,Icon:l=null})=>{let{formatMessage:i}=(0,s.S)();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:l||(0,t.jsx)(r.f,{className:"h-5 w-5"})}),a||i({id:"delete",defaultMessage:"Delete"})]})}])},30276,e=>{"use strict";var t=e.i(91398),r=e.i(91788);let s=r.forwardRef(function({title:e,titleId:t,...s},a){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},s),e?r.createElement("title",{id:t},e):null,r.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9.879 7.519c1.171-1.025 3.071-1.025 4.242 0 1.172 1.025 1.172 2.687 0 3.712-.203.179-.43.326-.67.442-.745.361-1.45.999-1.45 1.827v.75M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Zm-9 5.25h.008v.008H12v-.008Z"}))});var a=e.i(3326);e.s(["f",0,({messageKey:e,defaultMessage:r,values:l,className:i="",showIcon:n=!0})=>{let{formatMessage:o}=(0,a.S)(),d=o({id:e,defaultMessage:r},l);return d?(0,t.jsxs)("div",{className:`flex items-start space-x-1 text-sm text-slate-600 dark:text-slate-400 ${i}`,children:[n&&(0,t.jsx)(s,{className:"h-4 w-4 mt-0.5 flex-shrink-0"}),(0,t.jsx)("span",{children:d})]}):null}],30276)},2875,e=>{"use strict";var t=e.i(91398),r=e.i(44112);e.s(["f",0,({title:e=null,description:s})=>(0,t.jsx)("div",{className:"mb-6 p-4 bg-blue-50 dark:bg-blue-900/20 border border-blue-200 dark:border-blue-800 rounded-lg",children:(0,t.jsxs)("div",{className:"flex items-start gap-3",children:[(0,t.jsx)(r.f,{className:"w-5 h-5 text-blue-600 dark:text-blue-400 mt-0.5 flex-shrink-0"}),(0,t.jsxs)("div",{children:[e&&(0,t.jsx)("h3",{className:"text-sm font-semibold text-blue-900 dark:text-blue-100 mb-2",children:e}),(0,t.jsx)("p",{className:"text-sm text-blue-800 dark:text-blue-200 leading-relaxed",children:s})]})]})})])},11056,e=>{"use strict";var t=e.i(91398),r=e.i(91788),s=e.i(5505),a=e.i(57561);e.s(["f",0,({children:e,onlyFull:l=!1})=>{let{languageDialectList:i,selectedLocale:n,setSelectedLocale:o}=(0,a.f)(),d=(0,r.useContext)(s.W),c=i.filter(e=>!l||e.isoCode.includes("-"));return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:`w-fit mt-5 mb-3 ${d?"ml-5":""}`,children:(0,t.jsx)("select",{id:"locale-wrapper",className:"cursor-pointer rounded-md border-1 border-slate-300 dark:border-slate-700 py-1 pr-8 text-sm lg:py-1 lg:pr-10 text-black dark:text-white dark:bg-slate-800 shadow-xs focus:outline-hidden focus:ring-2 focus:ring-slate-800",value:n||"",onChange:e=>{e.stopPropagation(),o(e.target.value)},children:c?.map(e=>(0,t.jsx)("option",{value:e.isoCode,children:e.isoCode},e._id))})}),(0,t.jsx)("div",{children:r.default.cloneElement(e)})]})}])},22315,e=>{"use strict";var t=e.i(91398),r=e.i(81618),s=e.i(72043);e.s(["f",0,({className:e="",containerClassName:a="",Icon:l=null})=>(0,t.jsx)("span",{className:(0,s.default)("text-slate-400",a),children:l||(0,t.jsx)(r.f,{className:(0,s.default)(e)})})])},17644,e=>{"use strict";var t=e.i(91398),r=e.i(58678),s=e.i(41158),a=e.i(3326),l=e.i(37369),i=e.i(81013);e.s(["f",0,({headerText:e=null,onEdit:n=null,onDelete:o=null,children:d=null,title:c=null,addPath:u=null,addButtonText:m=null})=>{let{formatMessage:f}=(0,a.S)();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:[d,u&&(0,t.jsx)(s.default,{href:u,children:(0,t.jsx)(i.f,{variant:"secondary",icon:(0,t.jsx)(l.f,{className:"h-5 w-5"}),text:m||f({id:"add",defaultMessage:"Add"})})}),n&&(0,t.jsx)(i.f,{variant:"secondary",onClick:n,text:f({id:"edit",defaultMessage:"Edit"})}),o&&(0,t.jsx)(i.f,{variant:"danger",onClick:o,text:f({id:"delete",defaultMessage:"Delete"})})]})]})})]})}])},16371,e=>{"use strict";var t=e.i(91788),r=e.i(30943);e.s(["f",0,({children:e,container:s=null,className:a=""})=>{let l=(0,t.useRef)(null),[i,n]=(0,t.useState)(!1);return((0,t.useEffect)(()=>{let e=document.createElement("div");a&&(e.className=a),l.current=e;let t=s||document.body;return t.appendChild(e),n(!0),()=>{l.current&&t.contains(l.current)&&t.removeChild(l.current)}},[s,a]),i&&l.current)?(0,r.createPortal)(e,l.current):null}])},57468,e=>{"use strict";var t=e.i(91398),r=e.i(72043),s=e.i(3326),a=e.i(99160);e.s(["f",0,({cancelText:e=null,showCancel:l=!0,submitText:i=null,showSubmit:n=!0,onCancel:o,className:d=""})=>{let{formatMessage:c}=(0,s.S)();return(0,t.jsxs)("span",{className:(0,r.default)("flex shrink-0 items-center space-x-4 py-5 pl-1",d),children:[l?(0,t.jsx)("button",{onClick:o,"data-id":"cancel_update",type:"button",className:(0,r.default)("focus:ring-slate-800","inline-flex items-center rounded-md border border-slate-300 dark:border-slate-700 bg-white dark:bg-slate-800 px-4 py-2 text-sm font-medium text-slate-700 dark:text-slate-300 shadow-xs hover:bg-slate-50 dark:hover:bg-slate-700 focus:outline-hidden focus:ring-2 focus:ring-slate-800 focus:ring-offset-2"),children:e||c({id:"cancel",defaultMessage:"Cancel"})}):null,n?(0,t.jsx)(a.f,{label:i||c({id:"save",defaultMessage:"Save"})}):null]})}])},60195,e=>{"use strict";var t=e.i(91398),r=e.i(72043);e.s(["f",0,({documentationLabel:e,documentation:s=null,mainContent:a=null,sideComponents:l=null,className:i=null,children:n})=>(0,t.jsx)(t.Fragment,{children:(0,t.jsxs)("div",{className:(0,r.default)("mt-5 lg:grid lg:grid-cols-3 lg:gap-6",i),children:[(0,t.jsx)("div",{className:"lg:col-span-1 mt-10 lg:mt-1",children:(0,t.jsxs)("div",{className:"px-4 sm:px-0",children:[(0,t.jsx)("h3",{className:"text-lg text-slate-900 dark:text-slate-200",children:e}),(0,t.jsx)("div",{className:"mt-1 text-sm text-slate-600 dark:text-slate-500",children:s}),l]})}),(0,t.jsx)("div",{className:"lg:col-span-2 lg:mt-0",children:n||a})]})})])},41523,e=>{"use strict";var t=e.i(91398),r=e.i(72043),s=e.i(3828),a=e.i(91788),l=e.i(3326);e.s(["f",0,({children:e,tabItems:i,defaultTab:n,updateRoute:o=!0})=>{let d=(0,s.useRouter)(),{tab:c=n}=d?.query||{},u=Array.isArray(c)?c[0]:c,{formatMessage:m}=(0,l.S)(),f=e=>{if(o){let{sort:t,...r}=d?.query||{};d.push({query:{...r,tab:e}},void 0,{shallow:!0})}};return(0,t.jsxs)("div",{className:"mt-10",children:[(0,t.jsxs)("div",{className:"lg:hidden",children:[(0,t.jsx)("label",{htmlFor:"selected-tab",className:"sr-only",children:m({id:"select_tab",defaultMessage:"Select a tab"})}),(0,t.jsx)("select",{onChange:e=>f(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:u,children:i.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:i.filter(Boolean).map(e=>(0,t.jsx)("a",{id:e.id,tabIndex:0,onClick:()=>f(e.id),onKeyDown:t=>{("Enter"===t.key||" "===t.key)&&(t.preventDefault(),f(e.id))},className:(0,r.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":u===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:a.default.cloneElement(e,{selectedView:u})})]})}])},3095,e=>{"use strict";var t=e.i(91398),r=e.i(91788),s=e.i(3326),a=e.i(86712),l=e.i(76842),i=e.i(24557),n=e.i(16371);e.s(["f",0,({onEdit:e,onDelete:o,editLabel:d,deleteLabel:c,showEdit:u=!0,showDelete:m=!0})=>{let{formatMessage:f}=(0,s.S)(),[h,x]=(0,r.useState)(!1),[p,g]=(0,r.useState)({top:0,left:0}),b=(0,r.useRef)(null),v=(0,r.useRef)(null);(0,r.useEffect)(()=>{let e=e=>{b.current&&!b.current.contains(e.target)&&x(!1)};return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}},[]);let w=(e,t)=>{e.stopPropagation(),e.preventDefault(),t&&t(),x(!1)};return 0===[u&&e,m&&o].filter(Boolean).length?null:(0,t.jsxs)("div",{className:"flex justify-end w-full",children:[(0,t.jsx)("button",{ref:v,type:"button",onClick:e=>{e.stopPropagation(),e.preventDefault(),h||(()=>{if(!v.current)return;let e=v.current.getBoundingClientRect(),t=e.bottom+4,r=e.right-192;r<8&&(r=8),t+80>window.innerHeight-8&&(t=e.top-80-4),g({top:t,left:r})})(),x(!h)},className:"flex items-center justify-center w-8 h-8 rounded-md hover:bg-slate-100 dark:hover:bg-slate-700 transition-colors","aria-label":f({id:"table_actions_menu",defaultMessage:"Actions menu"}),children:(0,t.jsx)(a.f,{className:"w-5 h-5 text-slate-500 dark:text-slate-400"})}),h&&(0,t.jsx)(n.f,{children:(0,t.jsx)("div",{ref:b,className:"fixed w-48 bg-white dark:bg-slate-800 rounded-md shadow-xl border border-slate-200 dark:border-slate-700 z-[9999]",style:{top:p.top,left:p.left},children:(0,t.jsxs)("div",{className:"py-1",children:[u&&e&&(0,t.jsxs)("button",{type:"button",onClick:t=>w(t,e),className:"flex items-center w-full px-4 py-2 text-sm text-slate-700 dark:text-slate-200 hover:bg-slate-100 dark:hover:bg-slate-700 transition-colors",children:[(0,t.jsx)(l.f,{className:"mr-3 h-5 w-5"}),d||f({id:"edit",defaultMessage:"Edit"})]}),m&&o&&(0,t.jsxs)("button",{type:"button",onClick:e=>w(e,o),className:"flex items-center w-full px-4 py-2 text-sm text-rose-500 dark:text-rose-400 hover:bg-rose-50 dark:hover:bg-rose-900/20 transition-colors",children:[(0,t.jsx)(i.f,{className:"mr-3 h-5 w-5"}),c||f({id:"delete",defaultMessage:"Delete"})]})]})})})]})}])},37932,e=>{"use strict";var t=e.i(91398),r=e.i(3326),s=e.i(6607),a=e.i(65153),l=e.i(69211),i=e.i(96015),n=e.i(98949),o=e.i(57468);let d=({tags:e,onSubmit:s,onCancel:a,selectOptions:d=[]})=>{let{formatMessage:c}=(0,r.S)(),u=c({id:"tags_updated",defaultMessage:"Tags updated successfully"}),m=(0,n.f)({submit:s,successMessage:u,onSubmitSuccess:a,initialValues:{tags:e}});return(0,t.jsxs)(l.f,{form:m,id:"add_tag_form",children:[(0,t.jsx)("div",{children:(0,t.jsx)(i.f,{name:"tags",id:"tags",label:c({id:"tags",defaultMessage:"Tags"}),tagList:e,selectOptions:d})}),(0,t.jsx)("div",{className:"border border-t-slate-100 bg-slate-50 mt-6 -mx-6 -mb-6 px-6 dark:bg-slate-900 dark:border-0",children:(0,t.jsx)(o.f,{onCancel:a,className:"justify-end "})})]})};e.s(["f",0,({defaultValue:e,onSubmit:l,enableEdit:i,availableTagOptions:n=[]})=>{let{formatMessage:o}=(0,r.S)(),{setModal:c}=(0,s.f)();return(0,t.jsxs)("div",{className:"flex items-center mr-auto gap-2",children:[(0,t.jsx)("div",{className:"flex flex-wrap items-center gap-2",children:e?.length?e.map((e,r)=>(0,t.jsx)("span",{children:(0,t.jsx)(a.f,{text:e,color:"sky"})},`${e}${r+1}`)):(0,t.jsx)("span",{children:(0,t.jsx)(a.f,{text:o({id:"no_tag",defaultMessage:"No Tag"}),color:"slate"})})}),i&&(0,t.jsx)("button",{id:"add_tag",type:"button",className:"rounded-sm hover:shadow-sm px-3 py-2 text-xs inline-flex items-center justify-center text-slate-800 hover:text-slate-900 hover:bg-slate-50 hover:border border-transparent border-1 hover:border-slate-300 dark:text-slate-400 dark:hover:text-slate-200 dark:hover:bg-slate-800 transition-colors focus:outline-hidden focus:ring-2 focus:ring-slate-800",onClick:()=>c((0,t.jsx)(d,{tags:e||[],onCancel:()=>c(""),onSubmit:l,selectOptions:n})),children:o({id:"edit_tags",defaultMessage:"Edit tags"})})]})}],37932)},64591,e=>{"use strict";var t=e.i(91398),r=e.i(72043),s=e.i(3828),a=e.i(83147);e.s(["f",0,({toggleText:e="",toggleKey:l=null,onToggle:i=null,active:n=!1,className:o="",disabled:d=!1,...c})=>{let u=(0,s.useRouter)(),m=u?.query?.[l]==="true"||n;return(0,t.jsxs)("div",{className:(0,r.default)("",o),children:[(0,t.jsxs)("button",{id:l,disabled:d,type:"button",className:(0,r.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:i||(()=>{let{skip:e,...t}=u.query;u.push({query:(0,a._)(t,!m,l)})}),"aria-checked":m?"true":"false",...c,children:[(0,t.jsx)("span",{className:"sr-only",children:e}),(0,t.jsxs)("span",{className:(0,r.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,t.jsx)("span",{className:(0,r.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,t.jsx)("svg",{className:"h-3 w-3 text-slate-400",fill:"none",viewBox:"0 0 12 12",children:(0,t.jsx)("path",{d:"M4 8l2-2m0 0l2-2M6 6L4 4m2 2l2 2",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})}),(0,t.jsx)("span",{className:(0,r.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,t.jsx)("svg",{className:"h-3 w-3 text-emerald-500",fill:"currentColor",viewBox:"0 0 12 12",children:(0,t.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,t.jsx)("span",{className:"ml-3",id:"annual-billing-label",children:(0,t.jsx)("span",{className:"text-sm font-medium text-slate-900 dark:text-slate-200",children:e})})]})}])},1504,e=>{"use strict";e.s(["f",0,(e,t,r)=>Object.assign({},...e?.map(e=>({[e[r]]:e[t]}))||[])])},64479,e=>{"use strict";var t=e.i(59080),r=e.i(76204);let s=t.f`
2
+ mutation ConfirmMediaUpload(
3
+ $mediaUploadTicketId: ID!
4
+ $size: Int!
5
+ $type: String!
6
+ ) {
7
+ confirmMediaUpload(
8
+ mediaUploadTicketId: $mediaUploadTicketId
9
+ size: $size
10
+ type: $type
11
+ ) {
12
+ _id
13
+ name
14
+ type
15
+ size
16
+ url
17
+ }
18
+ }
19
+ `;e.s(["f",0,(e={})=>{let[t]=(0,r.f)(s,e);return{confirmMediaUpload:async({mediaUploadTicketId:e,size:r,type:s})=>t({variables:{mediaUploadTicketId:e,size:r,type:s}})}}])},93994,e=>{"use strict";let t=async(e,t)=>{let r=await fetch(t,{method:"PUT",body:e});return r.ok?Promise.resolve({}):Promise.reject(Error(r.statusText))};e.s(["f",0,t])},73319,e=>{"use strict";let t=e=>"[object Object]"===Object.prototype.toString.call(e);e.s(["Q",0,e=>decodeURIComponent(e||[])?.split(",")?.filter(Boolean),"C",0,t,"T",0,e=>!(!e||null==e||t(e)&&!Object.keys(e).length||Array.isArray(e)&&!e.length)])},83147,e=>{"use strict";let t=e=>e&&e?.split(",").reduce((e,t)=>{let[r=null,s=null]=(t||"")?.split("_")||[];return{...e,[r]:s}},null)||{};e.s(["S",0,(...e)=>e.filter(Boolean).join(" "),"R",0,e=>Object.entries(t(e))?.map(([e,t])=>({key:e,value:t})),"D",0,e=>e?.label&&e?.version?`${e.label} ${e.version}`:"","v",0,t,"Q",0,(e,t,r=!0)=>{if(!t)return"";try{return`${new Intl.DisplayNames([e],{type:"region"}).of(t)} ${r?`(${t})`:""}`}catch{return t}},"j",0,(e,t,r=!0)=>{if(!t)return"";try{return`${new Intl.DisplayNames([e],{type:"currency"}).of(t)} ${r?`(${t})`:""}`}catch{return t}},"I",0,(e,t,r=!0)=>{if(!t)return"";try{return`${new Intl.DisplayNames([e],{type:"language"}).of(t)} ${r?`(${t})`:""}`}catch{return t}},"_",0,(e,t,r)=>{let s;return s=r?{...e,[r]:t}:e,Object.keys(s)?.map(e=>[e,s[e]].join("="))?.join("&")},"d",0,()=>({formatPrice:e=>{if(!e?.currencyCode)return"n/a";if(e?.amount===void 0||e?.amount===null)return"";let{amount:t,currencyCode:r}=e||{};return new Intl.NumberFormat(navigator.language,{style:"currency",currency:r}).format(t/100)}})])},68191,e=>{"use strict";var t=e.i(59080);let r=t.f`
20
+ fragment CurrencyFragment on Currency {
21
+ _id
22
+ isoCode
23
+ isActive
24
+ contractAddress
25
+ decimals
26
+ }
27
+ `;e.s(["f",0,r])},79093,e=>{"use strict";var t=e.i(59080),r=e.i(32171),s=e.i(68191);let a=t.f`
28
+ query Currencies(
29
+ $queryString: String
30
+ $limit: Int
31
+ $offset: Int
32
+ $includeInactive: Boolean
33
+ $sort: [SortOptionInput!]
34
+ ) {
35
+ currencies(
36
+ queryString: $queryString
37
+ limit: $limit
38
+ offset: $offset
39
+ includeInactive: $includeInactive
40
+ sort: $sort
41
+ ) {
42
+ ...CurrencyFragment
43
+ }
44
+ currenciesCount(
45
+ includeInactive: $includeInactive
46
+ queryString: $queryString
47
+ )
48
+ }
49
+ ${s.f}
50
+ `;e.s(["f",0,({queryString:e="",limit:t=20,offset:s=0,includeInactive:l=!0,sort:i=[]}={})=>{let{data:n,loading:o,error:d,fetchMore:c}=(0,r.f)(a,{variables:{queryString:e,limit:t,offset:s,includeInactive:l,sort:i}}),u=n?.currencies||[],m=n?.currenciesCount,f=u?.length<m;return{currencies:u,currenciesCount:m,hasMore:f,loading:o,error:d,loadMore:()=>{c({variables:{offset:u?.length}})}}}])},64127,e=>{"use strict";var t=e.i(91398),r=e.i(72043),s=e.i(60741);e.s(["f",0,e=>{let{disabled:a,labelClassName:l,containerClassName:i,inputClassName:n,...o}=e,d=(0,s.f)({...e,type:"checkbox"});return(0,t.jsxs)("div",{className:(0,r.default)("",{"text-rose-600":!!d.error,checkbox:!0,disabled:d.disabled,required:d.required},i),children:[(0,t.jsx)("input",{checked:!!d.value,disabled:a,id:d.name,name:d.name,onChange:d.onChange,onBlur:d.onBlur,type:"checkbox",className:(0,r.default)("h-4 w-4 rounded-xs border-slate-300 dark:border-slate-600 bg-white dark:!bg-slate-800 text-indigo-600 dark:text-slate-200 focus:ring-slate-800",n,e.className),...o}),(0,t.jsx)("label",{htmlFor:d.name,className:(0,r.default)("text-sm text-slate-900 dark:text-slate-200",l,{"text-danger":!!d.error}),children:d.label})]})}])},72094,e=>{"use strict";var t=e.i(91398),r=e.i(91788),s=e.i(61898);let a=(e,t="")=>Object.fromEntries(Object.entries(e).reduce((e=[],[s,l])=>"string"==typeof l||r.default.isValidElement(l)?[...e,[`${t}${s}`,l]]:[...Object.entries(a(Object.assign({},...l),`${t}${s}.`)),...e],[])),l=({submitError:e="",fieldErrors:s=[]})=>(0,t.jsx)("div",{className:"my-2 mb-5 text-rose-700",children:(0,t.jsxs)("ul",{className:"space-y-1",children:[e&&(0,t.jsx)("li",{className:"disabled",children:(0,t.jsx)("span",{dangerouslySetInnerHTML:{__html:e}})},"submitError"),Object.entries(a(s)).map(([e,s])=>(0,t.jsx)("li",{className:"disabled",children:(0,t.jsx)("button",{type:"button",className:"no-button text-rose-600 dark:text-rose-400","aria-label":"Error button",onClick:()=>{let t=document.getElementById(e);t&&t.focus()},children:r.default.isValidElement(s)?s:(0,t.jsx)("span",{dangerouslySetInnerHTML:{__html:s}})})},e))]})});e.s(["f",0,({displayFieldErrors:e=!1})=>{let{submitError:r,formik:a}=(0,s.f)(),i=a?.errors;return(r||e)&&(0,t.jsx)(l,{submitError:r,fieldErrors:e&&i})}])},73483,e=>{"use strict";var t=e.i(91398),r=e.i(72043),s=e.i(3326),a=e.i(91412),l=e.i(91788);let i=l.forwardRef(function({title:e,titleId:t,...r},s){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:s,"aria-labelledby":t},r),e?l.createElement("title",{id:t},e):null,l.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m16.862 4.487 1.687-1.688a1.875 1.875 0 1 1 2.652 2.652L6.832 19.82a4.5 4.5 0 0 1-1.897 1.13l-2.685.8.8-2.685a4.5 4.5 0 0 1 1.13-1.897L16.863 4.487Zm0 0L19.5 7.125"}))});var n=e.i(7654),o=e.i(31858),d=e.i(3812),c=e.i(98634),u=e.i(82226),m=e.i(60741),f=e.i(29691),h=e.i(41523);let x=({selectedView:e="edit",...s})=>"preview"===e?(0,t.jsx)("div",{className:"prose dark:prose-invert",children:(0,t.jsx)(n.f,{rehypePlugins:[o.f,d.f,c.f],children:s.value})}):(0,t.jsx)("textarea",{className:(0,r.default)("relative mt-1 block w-full dark:focus:autofill dark:hover:autofill dark:autofill dark:placeholder:text-slate-400 dark:bg-slate-900 dark:text-slate-200 appearance-none rounded-md border-1 border-slate-300 dark:border-slate-700 px-4 py-2.5 text-sm text-slate-900 placeholder-slate-400 shadow-xs placeholder:text-slate-400 focus:outline-hidden focus:ring-2 focus:ring-slate-800",s.className,{"border-rose-700 placeholder:text-rose-300 placeholder-rose-300":!!s.error}),disabled:s.disabled,id:s.name,name:s.name,rows:s.rows||10,onChange:s.onChange,onBlur:s.onBlur,placeholder:s.placeholder,autoComplete:s.autoComplete||"off",value:s.value});e.s(["f",0,({maxLength:e,validators:r=[],...l})=>{let{formatMessage:n}=(0,s.S)(),o=(0,m.f)({validators:[...r,e&&(0,u.f)(e)],...l}),d=[{id:"editor",title:n({id:"editor",defaultMessage:"Editor"}),Icon:(0,t.jsx)(i,{className:"h-4 w-5"})},{id:"preview",title:n({id:"preview",defaultMessage:"preview"}),Icon:(0,t.jsx)(a.f,{className:"h-4 w-5"})}];return(0,t.jsx)(f.f,{...o,children:(0,t.jsx)("div",{className:"-mt-8",children:(0,t.jsx)(h.f,{tabItems:d,defaultTab:"editor",children:(0,t.jsx)(x,{...o})})})})}],73483)},73419,e=>{"use strict";var t=e.i(91398),r=e.i(72043),s=e.i(60741),a=e.i(29691);e.s(["f",0,e=>{let{options:l,...i}=(0,s.f)(e),{className:n}=e||{className:""};return(0,t.jsx)(a.f,{...i,children:(0,t.jsx)("div",{className:"select-wrap",children:(0,t.jsxs)("select",{className:(0,r.default)("block w-full dark:bg-slate-900 dark:text-white rounded-md border-1 border-slate-300 dark:border-slate-700 py-2.5 pl-3 pr-10 text-base text-black shadow-xs focus:outline-hidden focus:ring-2 focus:ring-slate-800 sm:text-sm",n,{"border-rose-700 text-rose-600 dark:border-rose-500 dark:text-rose-400":!!i.error}),disabled:i.disabled,id:i.name,name:i.name,onChange:i.onChange,onBlur:i.onBlur,value:i.value,children:[(0,t.jsx)("option",{className:"dark:text-slate-200",value:"",disabled:i.required,hidden:i.required,children:i.placeholder||i.label}),Object.entries(l).map(([e,r])=>(0,t.jsx)("option",{className:"dark:text-slate-200",value:e,children:r},e))]})})})}])},99160,e=>{"use strict";var t=e.i(91398),r=e.i(72043),s=e.i(38865),a=e.i(61898);e.s(["f",0,({label:e,disabled:l=!1,className:i="",hidden:n=!1,...o})=>{let d=(0,s.m)(),{...c}=o,u=Object.fromEntries(Object.keys(d.initialValues).map(e=>[e,d.getFieldMeta(e)])),{disabled:m}=(0,a.f)(),f=Object.values(u).reduce((e,{error:t,touched:r})=>e||t&&r,!1),h=l||m||d.isSubmitting||f,x=d.isSubmitting&&!f,p=(l||m||f)&&!d.isSubmitting;return(0,t.jsx)("input",{className:(0,r.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",i,{"bg-rose-50 dark:bg-slate-800 dark:text-rose-300 cursor-not-allowed border-rose-300 dark:border-rose-600 text-rose-900":p,"bg-slate-600 dark:bg-slate-700 text-white cursor-not-allowed border-slate-400 dark:border-slate-600":x,"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":!h,hidden:n}),"aria-label":e,type:"submit",value:e,disabled:h,...c})}])},96015,e=>{"use strict";var t=e.i(91398),r=e.i(72043),s=e.i(68835),a=e.i(60741),l=e.i(82226),i=e.i(29691);e.s(["f",0,({buttonText:e="",validators:n=[],selectOptions:o=[],...d})=>{let c=(0,a.f)({validators:[...n,(0,l.z)(d?.required)],label:"Tags",...d});return(0,t.jsx)(i.f,{...c,children:(0,t.jsx)(s.f,{disabled:c.disabled,id:c.id,name:c.name,className:(0,r.default)({"border-rose-300":!!c.error}),onChange:e=>c.setValue(e),placeholder:c.placeholder,tagList:c.value,buttonText:e,selectOptions:o})})}])},45229,e=>{"use strict";var t=e.i(91398),r=e.i(72043),s=e.i(82226),a=e.i(60741),l=e.i(29691);e.s(["f",0,({maxLength:e=0,validators:i=[],...n})=>{let o=(0,a.f)({validators:[...i,e&&(0,s.f)(e)],...n});return(0,t.jsx)(l.f,{...o,children:(0,t.jsx)("input",{className:(0,r.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":!!o.error,"border-slate-300 placeholder-slate-400":!o.error}),disabled:o.disabled,id:o.name,name:o.name,onChange:o.onChange,onClick:e=>{e.stopPropagation()},onBlur:o.onBlur,placeholder:o.placeholder,autoComplete:o.autoComplete||"off",type:o.type||"text",value:o.value,autoFocus:o.autoFocus})})}])},34728,e=>{"use strict";var t=e.i(91398),r=e.i(38322);e.s(["f",0,({onOkClick:e,buttonText:s,headerText:a,message:l,icon:i=null})=>(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{children:[i||(0,t.jsx)("div",{className:"mx-auto flex h-12 w-12 items-center justify-center rounded-full bg-emerald-100 dark:bg-emerald-900/30",children:(0,t.jsx)(r.f,{className:"h-6 w-6 text-emerald-600 dark:text-emerald-400",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","aria-hidden":"true"})}),(0,t.jsxs)("div",{className:"mt-3 text-center sm:mt-5",children:[(0,t.jsx)("h3",{className:"text-lg text-slate-900 dark:text-slate-200",id:"modal-title",children:a}),(0,t.jsx)("div",{className:"mt-2",children:(0,t.jsx)("p",{className:"text-sm text-slate-500 dark:text-slate-200",children:l})})]})]}),(0,t.jsx)("div",{className:"mt-5 sm:mt-6",children:(0,t.jsx)("button",{id:"alert_ok",onClick:e,type:"button",className:"inline-flex w-full justify-center rounded-md border border-transparent bg-slate-800 dark:bg-slate-600 px-4 py-2 text-base font-medium text-white shadow-xs hover:bg-slate-950 dark:hover:bg-slate-500 focus:outline-hidden focus:ring-2 focus:ring-slate-800 dark:focus:ring-slate-400 focus:ring-offset-2 sm:text-sm",children:s})})]})])},15971,e=>{"use strict";var t=e.i(91398),r=e.i(3326);e.s(["f",0,({onOkClick:e,onCancelClick:s,okText:a=null,cancelText:l=null,headerText:i=null,message:n=null,icon:o=null,close:d=null})=>{let{formatMessage:c}=(0,r.S)();return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"sm:flex sm:items-start",children:[o||(0,t.jsx)("div",{className:"mx-auto flex h-12 w-12 shrink-0 items-center justify-center rounded-full bg-rose-100 dark:bg-rose-900/30 sm:mx-0 sm:h-10 sm:w-10",children:(0,t.jsx)("svg",{className:"h-6 w-6 text-rose-600 dark:text-rose-400",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","aria-hidden":"true",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z"})})}),(0,t.jsxs)("div",{className:"mt-3 text-center sm:mt-0 sm:ml-4 sm:text-left",children:[(0,t.jsx)("h3",{className:"text-lg text-slate-900 dark:text-slate-200",id:"modal-title",children:i||c({id:"warning",defaultMessage:"Warning!"})}),(0,t.jsx)("div",{className:"mt-2",children:(0,t.jsx)("p",{className:"text-sm text-slate-500 dark:text-slate-200",children:n||c({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:a||c({id:"continue",defaultMessage:"Continue"})}),(0,t.jsx)("button",{id:"danger_cancel",onClick:s||d,type:"button",className:"mt-3 inline-flex w-full justify-center rounded-md border border-slate-300 bg-white px-4 py-2 text-base font-medium text-slate-700 shadow-xs hover:bg-slate-50 focus:outline-hidden focus:ring-2 focus:ring-slate-800 focus:ring-offset-2 sm:mt-0 sm:ml-3 sm:w-auto sm:text-sm",children:l||c({id:"cancel",defaultMessage:"Cancel"})})]})]})}])},6607,e=>{"use strict";var t=e.i(91788),r=e.i(6444);e.s(["f",0,()=>(0,t.useContext)(r.f)])},54529,e=>{"use strict";var t=e.i(59080);let r=t.f`
51
+ fragment ProductBriefFragment on Product {
52
+ texts(forceLocale: $forceLocale) {
53
+ _id
54
+ slug
55
+ title
56
+ subtitle
57
+ description
58
+ vendor
59
+ brand
60
+ labels
61
+ locale
62
+ }
63
+ _id
64
+ sequence
65
+ status
66
+ tags
67
+ sequence
68
+ updated
69
+ published
70
+ media {
71
+ _id
72
+ tags
73
+ file {
74
+ _id
75
+ url
76
+ }
77
+ }
78
+ ... on BundleProduct {
79
+ proxies {
80
+ __typename
81
+ }
82
+ }
83
+ ... on SimpleProduct {
84
+ catalogPrice {
85
+ amount
86
+ currencyCode
87
+ }
88
+ proxies {
89
+ __typename
90
+ }
91
+ }
92
+ ... on PlanProduct {
93
+ catalogPrice {
94
+ amount
95
+ currencyCode
96
+ }
97
+ proxies {
98
+ __typename
99
+ }
100
+ }
101
+ }
102
+ `;e.s(["f",0,r])},62199,14336,e=>{"use strict";var t=e.i(59080);let r=t.f`
103
+ fragment ProductDetailFragment on Product {
104
+ _id
105
+ sequence
106
+ status
107
+ created
108
+ tags
109
+ updated
110
+ published
111
+
112
+ media {
113
+ _id
114
+ tags
115
+ file {
116
+ _id
117
+ url
118
+ }
119
+ }
120
+ reviews {
121
+ _id
122
+ created
123
+ author {
124
+ _id
125
+ username
126
+ isGuest
127
+ }
128
+ rating
129
+ title
130
+ review
131
+ voteCount
132
+ ownVotes {
133
+ type
134
+ timestamp
135
+ }
136
+ }
137
+ siblings {
138
+ _id
139
+ media {
140
+ _id
141
+ file {
142
+ _id
143
+ url
144
+ }
145
+ }
146
+ }
147
+ }
148
+ `;e.s(["f",0,r],62199);let s=t.f`
149
+ fragment ProductTextsFragment on ProductTexts {
150
+ _id
151
+ locale
152
+ slug
153
+ title
154
+ subtitle
155
+ description
156
+ vendor
157
+ brand
158
+ labels
159
+ }
160
+ `;e.s(["f",0,s],14336)},38994,e=>{"use strict";var t=e.i(59080),r=e.i(76204),s=e.i(62199),a=e.i(14336);let l=t.f`
161
+ mutation CreateProduct(
162
+ $product: CreateProductInput!
163
+ $texts: [ProductTextInput!]
164
+ ) {
165
+ createProduct(product: $product, texts: $texts) {
166
+ ...ProductDetailFragment
167
+ ... on SimpleProduct {
168
+ texts {
169
+ ...ProductTextsFragment
170
+ }
171
+ }
172
+ ... on ConfigurableProduct {
173
+ texts {
174
+ ...ProductTextsFragment
175
+ }
176
+ }
177
+ ... on BundleProduct {
178
+ texts {
179
+ ...ProductTextsFragment
180
+ }
181
+ }
182
+ ... on TokenizedProduct {
183
+ texts {
184
+ ...ProductTextsFragment
185
+ }
186
+ }
187
+ ... on PlanProduct {
188
+ texts {
189
+ ...ProductTextsFragment
190
+ }
191
+ }
192
+ }
193
+ }
194
+ ${s.f}
195
+ ${a.f}
196
+ `;e.s(["f",0,()=>{let[e,{data:t,error:s,loading:a}]=(0,r.f)(l);return{createProduct:async({product:{type:t,tags:r},texts:s})=>e({variables:{product:{type:t,tags:r},texts:s},refetchQueries:["Products","ShopStatus","ShopInfo"]}),newProduct:t?.createProduct,error:s,loading:a}}])},76204,e=>{"use strict";var t=e.i(24669),r=e.i(91788),s=e.i(30928),a=e.i(52006);let l=e.i(21953).f?r.useLayoutEffect:r.useEffect;var i=e.i(98926);function n(e){return{data:void 0,error:void 0,called:!1,loading:!1,client:e}}e.s(["f",0,function(e,o){let d=(0,i.f)(o?.client),[c,u]=r.useState(()=>n(d)),m=r.useRef({result:c,mutationId:0,isMounted:!0,client:d,mutation:e,options:o});l(()=>{Object.assign(m.current,{client:d,options:o,mutation:e})});let f=r.useCallback((e={})=>{let{options:r,mutation:l}=m.current,i={...r,mutation:l},n=e.client||m.current.client,o="function"==typeof e.context?e.context(r?.context):e.context;!m.current.result.loading&&m.current.isMounted&&u(m.current.result={loading:!0,error:void 0,data:void 0,called:!0,client:n});let d=++m.current.mutationId,c=(0,s.f)(i,{...e,context:o});return(0,a.f)(n.mutate(c).then(r=>{let{data:s,error:a}=r,l=e.onError||m.current.options?.onError;if(a&&l&&l(a,c),d===m.current.mutationId){let e={called:!0,loading:!1,data:s,error:a,client:n};m.current.isMounted&&!(0,t.f)(m.current.result,e)&&u(m.current.result=e)}let i=e.onCompleted||m.current.options?.onCompleted;return a||i?.(r.data,c),r},r=>{if(d===m.current.mutationId&&m.current.isMounted){let e={loading:!1,error:r,data:void 0,called:!0,client:n};(0,t.f)(m.current.result,e)||u(m.current.result=e)}let s=e.onError||m.current.options?.onError;throw s&&s(r,c),r}))},[]),h=r.useCallback(()=>{if(m.current.isMounted){let e=n(m.current.client);Object.assign(m.current,{mutationId:0,result:e}),u(e)}},[]);return r.useEffect(()=>{let e=m.current;return e.isMounted=!0,()=>{e.isMounted=!1}},[]),[f,{reset:h,...c}]}],76204)},76842,e=>{"use strict";var t=e.i(91788);let r=t.forwardRef(function({title:e,titleId:r,...s},a){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":r},s),e?t.createElement("title",{id:r},e):null,t.createElement("path",{d:"m2.695 14.762-1.262 3.155a.5.5 0 0 0 .65.65l3.155-1.262a4 4 0 0 0 1.343-.886L17.5 5.501a2.121 2.121 0 0 0-3-3L3.58 13.419a4 4 0 0 0-.885 1.343Z"}))});e.s(["f",0,r],76842)},76929,e=>{"use strict";var t=e.i(91788);let r=t.forwardRef(function({title:e,titleId:r,...s},a){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":r},s),e?t.createElement("title",{id:r},e):null,t.createElement("path",{d:"M12 4.467c0-.405.262-.75.559-1.027.276-.257.441-.584.441-.94 0-.828-.895-1.5-2-1.5s-2 .672-2 1.5c0 .362.171.694.456.953.29.265.544.6.544.994a.968.968 0 0 1-1.024.974 39.655 39.655 0 0 1-3.014-.306.75.75 0 0 0-.847.847c.14.993.242 1.999.306 3.014A.968.968 0 0 1 4.447 10c-.393 0-.729-.253-.994-.544C3.194 9.17 2.862 9 2.5 9 1.672 9 1 9.895 1 11s.672 2 1.5 2c.356 0 .683-.165.94-.441.276-.297.622-.559 1.027-.559a.997.997 0 0 1 1.004 1.03 39.747 39.747 0 0 1-.319 3.734.75.75 0 0 0 .64.842c1.05.146 2.111.252 3.184.318A.97.97 0 0 0 10 16.948c0-.394-.254-.73-.545-.995C9.171 15.693 9 15.362 9 15c0-.828.895-1.5 2-1.5s2 .672 2 1.5c0 .356-.165.683-.441.94-.297.276-.559.622-.559 1.027a.998.998 0 0 0 1.03 1.005c1.337-.05 2.659-.162 3.961-.337a.75.75 0 0 0 .644-.644c.175-1.302.288-2.624.337-3.961A.998.998 0 0 0 16.967 12c-.405 0-.75.262-1.027.559-.257.276-.584.441-.94.441-.828 0-1.5-.895-1.5-2s.672-2 1.5-2c.362 0 .694.17.953.455.265.291.601.545.995.545a.97.97 0 0 0 .976-1.024 41.159 41.159 0 0 0-.318-3.184.75.75 0 0 0-.842-.64c-1.228.164-2.473.271-3.734.319A.997.997 0 0 1 12 4.467Z"}))});e.s(["f",0,r],76929)},61113,87593,39833,84339,19471,66859,e=>{"use strict";var t=e.i(91788);let r=t.forwardRef(function({title:e,titleId:r,...s},a){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":r},s),e?t.createElement("title",{id:r},e):null,t.createElement("path",{fillRule:"evenodd",d:"M10.868 2.884c-.321-.772-1.415-.772-1.736 0l-1.83 4.401-4.753.381c-.833.067-1.171 1.107-.536 1.651l3.62 3.102-1.106 4.637c-.194.813.691 1.456 1.405 1.02L10 15.591l4.069 2.485c.713.436 1.598-.207 1.404-1.02l-1.106-4.637 3.62-3.102c.635-.544.297-1.584-.536-1.65l-4.752-.382-1.831-4.401Z",clipRule:"evenodd"}))});e.s(["f",0,r],61113);var s=e.i(59080);let a=s.f`
197
+ fragment ProductReviewDetailFragment on ProductReview {
198
+ _id
199
+ created
200
+ updated
201
+ deleted
202
+ author {
203
+ _id
204
+ username
205
+ name
206
+ profile {
207
+ displayName
208
+ address {
209
+ firstName
210
+ lastName
211
+ }
212
+ }
213
+ isGuest
214
+ avatar {
215
+ _id
216
+
217
+ url
218
+ }
219
+ }
220
+ product {
221
+ _id
222
+ texts(forceLocale: $forceLocale) {
223
+ _id
224
+ title
225
+ subtitle
226
+ }
227
+ media {
228
+ _id
229
+ file {
230
+ _id
231
+ url
232
+ }
233
+ }
234
+ }
235
+ rating
236
+ title
237
+ review
238
+ upVote: voteCount(type: UPVOTE)
239
+ downVote: voteCount(type: DOWNVOTE)
240
+ voteReport: voteCount(type: REPORT)
241
+ ownVotes {
242
+ timestamp
243
+ type
244
+ }
245
+ }
246
+ `;e.s(["f",0,a],87593);var l=e.i(91398);let i=t.forwardRef(function({title:e,titleId:r,...s},a){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":r},s),e?t.createElement("title",{id:r},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3 3v1.5M3 21v-6m0 0 2.77-.693a9 9 0 0 1 6.208.682l.108.054a9 9 0 0 0 6.086.71l3.114-.732a48.524 48.524 0 0 1-.005-10.499l-3.11.732a9 9 0 0 1-6.085-.711l-.108-.054a9 9 0 0 0-6.208-.682L3 4.5M3 15V4.5"}))}),n=t.forwardRef(function({title:e,titleId:r,...s},a){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":r},s),e?t.createElement("title",{id:r},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M7.498 15.25H4.372c-1.026 0-1.945-.694-2.054-1.715a12.137 12.137 0 0 1-.068-1.285c0-2.848.992-5.464 2.649-7.521C5.287 4.247 5.886 4 6.504 4h4.016a4.5 4.5 0 0 1 1.423.23l3.114 1.04a4.5 4.5 0 0 0 1.423.23h1.294M7.498 15.25c.618 0 .991.724.725 1.282A7.471 7.471 0 0 0 7.5 19.75 2.25 2.25 0 0 0 9.75 22a.75.75 0 0 0 .75-.75v-.633c0-.573.11-1.14.322-1.672.304-.76.93-1.33 1.653-1.715a9.04 9.04 0 0 0 2.86-2.4c.498-.634 1.226-1.08 2.032-1.08h.384m-10.253 1.5H9.7m8.075-9.75c.01.05.027.1.05.148.593 1.2.925 2.55.925 3.977 0 1.487-.36 2.89-.999 4.125m.023-8.25c-.076-.365.183-.75.575-.75h.908c.889 0 1.713.518 1.972 1.368.339 1.11.521 2.287.521 3.507 0 1.553-.295 3.036-.831 4.398-.306.774-1.086 1.227-1.918 1.227h-1.053c-.472 0-.745-.556-.5-.96a8.95 8.95 0 0 0 .303-.54"}))});e.s(["f",0,n],39833);let o=t.forwardRef(function({title:e,titleId:r,...s},a){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":r},s),e?t.createElement("title",{id:r},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6.633 10.25c.806 0 1.533-.446 2.031-1.08a9.041 9.041 0 0 1 2.861-2.4c.723-.384 1.35-.956 1.653-1.715a4.498 4.498 0 0 0 .322-1.672V2.75a.75.75 0 0 1 .75-.75 2.25 2.25 0 0 1 2.25 2.25c0 1.152-.26 2.243-.723 3.218-.266.558.107 1.282.725 1.282m0 0h3.126c1.026 0 1.945.694 2.054 1.715.045.422.068.85.068 1.285a11.95 11.95 0 0 1-2.649 7.521c-.388.482-.987.729-1.605.729H13.48c-.483 0-.964-.078-1.423-.23l-3.114-1.04a4.501 4.501 0 0 0-1.423-.23H5.904m10.598-9.75H14.25M5.904 18.5c.083.205.173.405.27.602.197.4-.078.898-.523.898h-.908c-.889 0-1.713-.518-1.972-1.368a12 12 0 0 1-.521-3.507c0-1.553.295-3.036.831-4.398C3.387 9.953 4.167 9.5 5 9.5h1.053c.472 0 .745.556.5.96a8.958 8.958 0 0 0-1.302 4.665c0 1.194.232 2.333.654 3.375Z"}))});e.s(["f",0,o],84339);var d=e.i(3326),c=e.i(66773),u=e.i(28401),m=e.i(72043),f=e.i(62100),h=e.i(84818),x=e.i(15971),p=e.i(6607),g=e.i(76204);let b=s.f`
247
+ mutation RemoveProductReview($productReviewId: ID!) {
248
+ removeProductReview(productReviewId: $productReviewId) {
249
+ _id
250
+ }
251
+ }
252
+ `;var v=e.i(65153),w=e.i(35065),y=e.i(93380);let k=s.f`
253
+ mutation AddProductReviewVote(
254
+ $productReviewId: ID!
255
+ $type: ProductReviewVoteType!
256
+ $meta: JSON
257
+ $forceLocale: Locale
258
+ ) {
259
+ addProductReviewVote(
260
+ productReviewId: $productReviewId
261
+ type: $type
262
+ meta: $meta
263
+ ) {
264
+ _id
265
+ }
266
+ }
267
+ `,j=s.f`
268
+ mutation RemoveProductReviewVote(
269
+ $productReviewId: ID!
270
+ $type: ProductReviewVoteType!
271
+ $forceLocale: Locale
272
+ ) {
273
+ removeProductReviewVote(productReviewId: $productReviewId, type: $type) {
274
+ _id
275
+ }
276
+ }
277
+ `;var N=e.i(58971),C=e.i(51870),E=e.i(69211),S=e.i(99160),$=e.i(82226),M=e.i(60741),P=e.i(29691);let R=({maxLength:e,validators:t=[],...r})=>{let s=(0,M.f)({validators:[...t,e&&(0,$.f)(e)],...r});return(0,l.jsx)(P.f,{...s,children:(0,l.jsx)("textarea",{className:(0,m.default)("relative mt-1 block w-full dark:focus:autofill dark:hover:autofill dark:autofill dark:placeholder:text-slate-400 dark:bg-slate-900 dark:text-slate-200 appearance-none rounded-md border-1 border-slate-300 dark:border-slate-700 px-4 py-2.5 text-sm text-slate-900 placeholder-slate-400 shadow-xs placeholder:text-slate-400 focus:outline-hidden focus:ring-2 focus:ring-slate-800",s.className,{"border-rose-700 placeholder:text-rose-300 placeholder-rose-300":!!s.error}),disabled:s.disabled,id:s.name,name:s.name,rows:s.rows||10,onChange:s.onChange,onBlur:s.onBlur,placeholder:s.placeholder,autoComplete:s.autoComplete||"off",value:s.value})})};e.s(["f",0,R],19471);var _=e.i(98949);let L=({onSubmit:e,onSubmitSuccess:t=async()=>!0})=>{let{formatMessage:r}=(0,d.S)(),s=r({id:"product_review_added",defaultMessage:"Review added successfully!"}),a=(0,_.f)({submit:e,successMessage:s,onSubmitSuccess:t,initialValues:{message:""}});return(0,l.jsxs)(E.f,{form:a,children:[(0,l.jsx)(R,{rows:3,required:!0,name:"message",id:"message",label:r({id:"message",defaultMessage:"Message"})}),(0,l.jsx)("div",{className:"-mx-6 -mb-6 mt-6 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,l.jsx)(S.f,{label:r({id:"report-submit",defaultMessage:"Submit"})})})]})};var O=e.i(41215);let B="UPVOTE",I="DOWNVOTE",T="REPORT";e.s(["f",0,({review:e,enableDelete:t=!0,showProduct:r=!1})=>{let{formatMessage:s}=(0,d.S)(),{currentUser:a}=(0,C.f)(),{formatDateTime:E}=(0,h.f)(),{setModal:S}=(0,p.f)(),{addProductReviewVote:$}=(()=>{let[e]=(0,g.f)(k);return{addProductReviewVote:async({productReviewId:t,type:r,meta:s})=>e({variables:{productReviewId:t,type:r,meta:s},refetchQueries:["ProductReviewByProduct","ProductReviewByUser"]})}})(),{removeProductReviewVote:M}=(()=>{let[e]=(0,g.f)(j);return{removeProductReviewVote:async({productReviewId:t,type:r})=>e({variables:{productReviewId:t,type:r},refetchQueries:["ProductReviewByProduct","ProductReviewByUser"]})}})(),{hasRole:P,isAdmin:R}=(0,N.f)(),_=t=>!!e.ownVotes.find(e=>e.type===t),V=async t=>{let r=async({message:r})=>{try{return await $({productReviewId:e._id,type:t,meta:{message:r}}),{success:!0}}catch(e){if(e instanceof O.f)return{success:!1,error:e?.message};return{success:!1,error:e}}};_(t)?await M({productReviewId:e._id,type:t}):t===T?await S((0,l.jsx)(L,{onSubmit:r,onSubmitSuccess:async()=>S(null)})):await $({productReviewId:e._id,type:t})},{removeProductReview:A}=(()=>{let[e]=(0,g.f)(b);return{removeProductReview:async({productReviewId:t})=>e({variables:{productReviewId:t},refetchQueries:["ProductReviewByProduct","ProductReviewByUser"]})}})(),D=!e.deleted&&P(c.C.VoteProductReview)&&t&&e?.author?._id===a?._id||R()&&!e.deleted,z=!e.deleted&&P(c.C.VoteProductReview),F=e?.product,W=async e=>{await S((0,l.jsx)(x.f,{onCancelClick:async()=>S(""),message:s({id:"delete_review_confirmation",defaultMessage:"This action might cause inconsistencies with other data that relates to it. Are you sure you want to delete this review? "}),onOkClick:async()=>{S(""),await A({productReviewId:e}),u.c.success(s({id:"review_deleted",defaultMessage:"Review deleted successfully"}))},okText:s({id:"delete_review",defaultMessage:"Delete review"})}))};return(0,l.jsxs)("div",{className:(0,m.default)("mb-4 rounded-lg shadow-sm bg-white dark:bg-slate-800 p-4",{"border-rose-200 bg-rose-50 dark:bg-rose-950":e.deleted},{"border-slate-200 dark:border-slate-700":!e.deleted}),children:[(0,l.jsxs)("div",{className:"flex items-center",children:[r?(0,l.jsx)(w.f,{src:F?.media[0]?.file?.url,alt:e?.author?.username,width:48,height:48,className:"h-12 w-12 rounded-full aspect-square object-cover object-center"}):(0,l.jsx)(w.f,{src:e?.author?.avatar?.url,alt:e?.author?.username,width:48,height:48,className:"h-12 w-12 rounded-full aspect-square object-cover object-center"}),(0,l.jsxs)("div",{className:"ml-4 flex-1",children:[(0,l.jsx)("h4",{className:"text-sm font-semibold text-slate-900 dark:text-slate-100",children:r?F?.texts?.title||(0,l.jsxs)(l.Fragment,{children:[F._id," ",(0,l.jsx)(v.f,{color:"yellow",text:s({id:"title_not_found",defaultMessage:"Title not found"})})]}):(0,y.f)(e?.author)}),(0,l.jsx)("p",{className:"text-xs text-slate-500 dark:text-slate-400",children:(0,l.jsx)("time",{dateTime:e.updated||e.created,children:E(e.updated||e.created,{dateStyle:"short",timeStyle:"short"})})})]}),(0,l.jsxs)("div",{className:"flex items-center gap-3",children:[(0,l.jsxs)("button",{type:"button",disabled:!z,onClick:async()=>V(B),className:`flex items-center gap-1 px-2 py-1 rounded-md transition-colors disabled:opacity-50 ${_(B)?"bg-emerald-100 dark:bg-emerald-900 hover:bg-emerald-200 dark:hover:bg-emerald-800":"hover:bg-slate-100 dark:hover:bg-slate-700"}`,children:[(0,l.jsx)(o,{className:`h-5 w-5 ${_(B)?"text-emerald-600 dark:text-emerald-400":"text-slate-400 dark:text-slate-500"}`}),(0,l.jsx)("span",{className:`text-sm font-medium ${_(B)?"text-emerald-700 dark:text-emerald-300":"text-slate-700 dark:text-slate-300"}`,children:e.upVote})]}),(0,l.jsxs)("button",{type:"button",disabled:!z,onClick:async()=>V(I),className:`flex items-center gap-1 px-2 py-1 rounded-md transition-colors disabled:opacity-50 ${_(I)?"bg-rose-100 dark:bg-rose-900 hover:bg-rose-200 dark:hover:bg-rose-800":"hover:bg-slate-100 dark:hover:bg-slate-700"}`,children:[(0,l.jsx)(n,{className:`h-5 w-5 ${_(I)?"text-rose-600 dark:text-rose-400":"text-slate-400 dark:text-slate-500"}`}),(0,l.jsx)("span",{className:`text-sm font-medium ${_(I)?"text-rose-700 dark:text-rose-300":"text-slate-700 dark:text-slate-300"}`,children:e.downVote})]})]}),(0,l.jsxs)("div",{className:"flex items-center gap-2 ml-4",children:[P(c.C.VoteProductReview)&&(0,l.jsx)("button",{type:"button",disabled:!z,onClick:async()=>V(T),className:`p-2 rounded-md transition-colors disabled:opacity-50 ${_(T)?"bg-orange-100 dark:bg-orange-900 hover:bg-orange-200 dark:hover:bg-orange-800":"hover:bg-slate-100 dark:hover:bg-slate-700"}`,title:"Report review",children:(0,l.jsx)(i,{className:(0,m.default)("h-4 w-4",{"text-orange-600 dark:text-orange-400":_(T),"text-slate-400 dark:text-slate-500":!_(T)})})}),D&&(0,l.jsx)(f.f,{onClick:()=>W(e._id),className:""}),e.deleted&&(0,l.jsx)(v.f,{text:s({id:"deleted_text",defaultMessage:"Deleted"}),color:"red",className:"ml-2"})]})]}),(0,l.jsxs)("div",{className:"mt-4 space-y-3",children:[(0,l.jsx)("h3",{className:"text-base font-semibold text-slate-900 dark:text-slate-100",children:e.title}),(0,l.jsx)("p",{className:"text-sm text-slate-700 dark:text-slate-300 leading-relaxed",children:e.review})]})]},e._id)}],66859)},24557,e=>{"use strict";var t=e.i(91788);let r=t.forwardRef(function({title:e,titleId:r,...s},a){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":r},s),e?t.createElement("title",{id:r},e):null,t.createElement("path",{fillRule:"evenodd",d:"M8.75 1A2.75 2.75 0 0 0 6 3.75v.443c-.795.077-1.584.176-2.365.298a.75.75 0 1 0 .23 1.482l.149-.022.841 10.518A2.75 2.75 0 0 0 7.596 19h4.807a2.75 2.75 0 0 0 2.742-2.53l.841-10.52.149.023a.75.75 0 0 0 .23-1.482A41.03 41.03 0 0 0 14 4.193V3.75A2.75 2.75 0 0 0 11.25 1h-2.5ZM10 4c.84 0 1.673.025 2.5.075V3.75c0-.69-.56-1.25-1.25-1.25h-2.5c-.69 0-1.25.56-1.25 1.25v.325C8.327 4.025 9.16 4 10 4ZM8.58 7.72a.75.75 0 0 0-1.5.06l.3 7.5a.75.75 0 1 0 1.5-.06l-.3-7.5Zm4.34.06a.75.75 0 1 0-1.5-.06l-.3 7.5a.75.75 0 1 0 1.5.06l.3-7.5Z",clipRule:"evenodd"}))});e.s(["f",0,r],24557)},31004,e=>{"use strict";var t=e.i(91788);let r=t.forwardRef(function({title:e,titleId:r,...s},a){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":r},s),e?t.createElement("title",{id:r},e):null,t.createElement("path",{d:"M7 8a3 3 0 1 0 0-6 3 3 0 0 0 0 6ZM14.5 9a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5ZM1.615 16.428a1.224 1.224 0 0 1-.569-1.175 6.002 6.002 0 0 1 11.908 0c.058.467-.172.92-.57 1.174A9.953 9.953 0 0 1 7 18a9.953 9.953 0 0 1-5.385-1.572ZM14.5 16h-.106c.07-.297.088-.611.048-.933a7.47 7.47 0 0 0-1.588-3.755 4.502 4.502 0 0 1 5.874 2.636.818.818 0 0 1-.36.98A7.465 7.465 0 0 1 14.5 16Z"}))});e.s(["f",0,r],31004)},38322,e=>{"use strict";var t=e.i(91788);let r=t.forwardRef(function({title:e,titleId:r,...s},a){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":r},s),e?t.createElement("title",{id:r},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m4.5 12.75 6 6 9-13.5"}))});e.s(["f",0,r],38322)},38187,e=>{"use strict";var t=e.i(91788);let r=t.forwardRef(function({title:e,titleId:r,...s},a){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":r},s),e?t.createElement("title",{id:r},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m19.5 8.25-7.5 7.5-7.5-7.5"}))});e.s(["f",0,r],38187)},86712,e=>{"use strict";var t=e.i(91788);let r=t.forwardRef(function({title:e,titleId:r,...s},a){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":r},s),e?t.createElement("title",{id:r},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6.75 12a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0ZM12.75 12a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0ZM18.75 12a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0Z"}))});e.s(["f",0,r],86712)},91412,e=>{"use strict";var t=e.i(91788);let r=t.forwardRef(function({title:e,titleId:r,...s},a){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":r},s),e?t.createElement("title",{id:r},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M2.036 12.322a1.012 1.012 0 0 1 0-.639C3.423 7.51 7.36 4.5 12 4.5c4.638 0 8.573 3.007 9.963 7.178.07.207.07.431 0 .639C20.577 16.49 16.64 19.5 12 19.5c-4.638 0-8.573-3.007-9.963-7.178Z"}),t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15 12a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"}))});e.s(["f",0,r],91412)},44112,e=>{"use strict";var t=e.i(91788);let r=t.forwardRef(function({title:e,titleId:r,...s},a){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":r},s),e?t.createElement("title",{id:r},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m11.25 11.25.041-.02a.75.75 0 0 1 1.063.852l-.708 2.836a.75.75 0 0 0 1.063.853l.041-.021M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Zm-9-3.75h.008v.008H12V8.25Z"}))});e.s(["f",0,r],44112)},81618,e=>{"use strict";var t=e.i(91788);let r=t.forwardRef(function({title:e,titleId:r,...s},a){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":r},s),e?t.createElement("title",{id:r},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m2.25 15.75 5.159-5.159a2.25 2.25 0 0 1 3.182 0l5.159 5.159m-1.5-1.5 1.409-1.409a2.25 2.25 0 0 1 3.182 0l2.909 2.909m-18 3.75h16.5a1.5 1.5 0 0 0 1.5-1.5V6a1.5 1.5 0 0 0-1.5-1.5H3.75A1.5 1.5 0 0 0 2.25 6v12a1.5 1.5 0 0 0 1.5 1.5Zm10.5-11.25h.008v.008h-.008V8.25Zm.375 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Z"}))});e.s(["f",0,r],81618)},37369,e=>{"use strict";var t=e.i(91788);let r=t.forwardRef(function({title:e,titleId:r,...s},a){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":r},s),e?t.createElement("title",{id:r},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 4.5v15m7.5-7.5h-15"}))});e.s(["f",0,r],37369)},57748,e=>{"use strict";var t=e.i(91788);let r=t.forwardRef(function({title:e,titleId:r,...s},a){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":r},s),e?t.createElement("title",{id:r},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9.813 15.904 9 18.75l-.813-2.846a4.5 4.5 0 0 0-3.09-3.09L2.25 12l2.846-.813a4.5 4.5 0 0 0 3.09-3.09L9 5.25l.813 2.846a4.5 4.5 0 0 0 3.09 3.09L15.75 12l-2.846.813a4.5 4.5 0 0 0-3.09 3.09ZM18.259 8.715 18 9.75l-.259-1.035a3.375 3.375 0 0 0-2.455-2.456L14.25 6l1.036-.259a3.375 3.375 0 0 0 2.455-2.456L18 2.25l.259 1.035a3.375 3.375 0 0 0 2.456 2.456L21.75 6l-1.035.259a3.375 3.375 0 0 0-2.456 2.456ZM16.894 20.567 16.5 21.75l-.394-1.183a2.25 2.25 0 0 0-1.423-1.423L13.5 18.75l1.183-.394a2.25 2.25 0 0 0 1.423-1.423l.394-1.183.394 1.183a2.25 2.25 0 0 0 1.423 1.423l1.183.394-1.183.394a2.25 2.25 0 0 0-1.423 1.423Z"}))});e.s(["f",0,r],57748)},24608,e=>{"use strict";var t=e.i(91788);let r=t.forwardRef(function({title:e,titleId:r,...s},a){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":r},s),e?t.createElement("title",{id:r},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18 18 6M6 6l12 12"}))});e.s(["f",0,r],24608)},9356,e=>{"use strict";var t=e.i(35113);e.s(["f",0,function(e){return!(!(e instanceof Date||"object"==typeof e&&"[object Date]"===Object.prototype.toString.call(e))&&"number"!=typeof e||isNaN(+(0,t.f)(e)))}],9356)},49543,e=>{"use strict";var t=e.i(35113);e.s(["f",0,function(e,r){let s=(0,t.f)(e,r?.in);return s.setHours(0,0,0,0),s}])},35113,2848,98170,e=>{"use strict";let t=Symbol.for("constructDateFrom");function r(e,r){return"function"==typeof e?e(r):e&&"object"==typeof e&&t in e?e[t](r):e instanceof Date?new e.constructor(r):new Date(r)}e.s(["C",0,t,"_",0,864e5,"r",0,36e5,"z",0,6e4,"A",0,6048e5,"k",0,1440,"d",0,43200,"l",0,525600],2848),e.s(["f",0,r],98170),e.s(["f",0,function(e,t){return r(t||e,e)}],35113)},34980,(e,t,r)=>{"use strict";var s=e.r(49957),a={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},l={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},n={};function o(e){return s.isMemo(e)?i:n[e.$$typeof]||a}n[s.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},n[s.Memo]=i;var d=Object.defineProperty,c=Object.getOwnPropertyNames,u=Object.getOwnPropertySymbols,m=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,h=Object.prototype;t.exports=function e(t,r,s){if("string"!=typeof r){if(h){var a=f(r);a&&a!==h&&e(t,a,s)}var i=c(r);u&&(i=i.concat(u(r)));for(var n=o(t),x=o(r),p=0;p<i.length;++p){var g=i[p];if(!l[g]&&!(s&&s[g])&&!(x&&x[g])&&!(n&&n[g])){var b=m(r,g);try{d(t,g,b)}catch(e){}}}}return t}},40563,(e,t,r)=>{"use strict";var s="function"==typeof Symbol&&Symbol.for,a=s?Symbol.for("react.element"):60103,l=s?Symbol.for("react.portal"):60106,i=s?Symbol.for("react.fragment"):60107,n=s?Symbol.for("react.strict_mode"):60108,o=s?Symbol.for("react.profiler"):60114,d=s?Symbol.for("react.provider"):60109,c=s?Symbol.for("react.context"):60110,u=s?Symbol.for("react.async_mode"):60111,m=s?Symbol.for("react.concurrent_mode"):60111,f=s?Symbol.for("react.forward_ref"):60112,h=s?Symbol.for("react.suspense"):60113,x=s?Symbol.for("react.suspense_list"):60120,p=s?Symbol.for("react.memo"):60115,g=s?Symbol.for("react.lazy"):60116,b=s?Symbol.for("react.block"):60121,v=s?Symbol.for("react.fundamental"):60117,w=s?Symbol.for("react.responder"):60118,y=s?Symbol.for("react.scope"):60119;function k(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case a:switch(e=e.type){case u:case m:case i:case o:case n:case h:return e;default:switch(e=e&&e.$$typeof){case c:case f:case g:case p:case d:return e;default:return t}}case l:return t}}}function j(e){return k(e)===m}r.AsyncMode=u,r.ConcurrentMode=m,r.ContextConsumer=c,r.ContextProvider=d,r.Element=a,r.ForwardRef=f,r.Fragment=i,r.Lazy=g,r.Memo=p,r.Portal=l,r.Profiler=o,r.StrictMode=n,r.Suspense=h,r.isAsyncMode=function(e){return j(e)||k(e)===u},r.isConcurrentMode=j,r.isContextConsumer=function(e){return k(e)===c},r.isContextProvider=function(e){return k(e)===d},r.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===a},r.isForwardRef=function(e){return k(e)===f},r.isFragment=function(e){return k(e)===i},r.isLazy=function(e){return k(e)===g},r.isMemo=function(e){return k(e)===p},r.isPortal=function(e){return k(e)===l},r.isProfiler=function(e){return k(e)===o},r.isStrictMode=function(e){return k(e)===n},r.isSuspense=function(e){return k(e)===h},r.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===m||e===o||e===n||e===h||e===x||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===p||e.$$typeof===d||e.$$typeof===c||e.$$typeof===f||e.$$typeof===v||e.$$typeof===w||e.$$typeof===y||e.$$typeof===b)},r.typeOf=k},49957,(e,t,r)=>{"use strict";e.i(50461),t.exports=e.r(40563)},5270,e=>{"use strict";var t=e.i(91788);let r=(...e)=>e.filter((e,t,r)=>!!e&&""!==e.trim()&&r.indexOf(e)===t).join(" ").trim(),s={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":2,"stroke-linecap":"round","stroke-linejoin":"round"},a=(0,t.createContext)({}),l=(0,t.forwardRef)(({color:e,size:l,width:i,height:n,strokeWidth:o,absoluteStrokeWidth:d,nonScalingStroke:c,className:u="",children:m,iconNode:f=[],icon:h={node:f,aliases:[],size:24},...x},p)=>{let{size:g=24,strokeWidth:b=2,absoluteStrokeWidth:v=!1,nonScalingStroke:w=!1,color:y="currentColor",className:k=""}=(0,t.useContext)(a)??{},j=!!m||(e=>{for(let t in e)if(t.startsWith("aria-")||"role"===t||"title"===t)return!0;return!1})(x),[N,C,E=[]]=function(e,t={}){return function(e,t={}){let a=t.attributeNames??{},l=e=>a[e]??e,i=e.size??e.width??s.width,n=e.size??e.height??s.height,o=e.aliases?.filter(e=>"string"==typeof e&&""!==e.trim()).map(e=>`lucide-${e}`)??[],d=[...e.name?[`lucide-${e.name}`]:[],...o],c=t.className?.split(" ").filter(Boolean)??[],u=!1===t.includeDefaultClasses?r(...c):r("lucide",...d,...c),m=t.absoluteStrokeWidth?Number(t.strokeWidth??s["stroke-width"])*Number(e.size??e.width??s.width)/Number(t.size??t.width??s.width):t.strokeWidth??s["stroke-width"];return["svg",{...Object.entries(s).reduce((e,[t,r])=>(e[l(t)]=r,e),{}),..."color"in t&&t.color&&{[l("stroke")]:t.color},..."size"in t&&null!=t.size&&{[l("width")]:t.size,[l("height")]:t.size},..."width"in t&&null!=t.width&&{[l("width")]:t.width},..."height"in t&&null!=t.height&&{[l("height")]:t.height},[l("stroke-width")]:m,...u&&{[l("class")]:u},[l("viewBox")]:`0 0 ${i} ${n}`,...!1===t.hasA11yProp?{[l("aria-hidden")]:"true"}:{},..."attributes"in t&&t.attributes},e.node.map(e=>{let[r,s,a]=e,i=t.nonScalingStroke?{[l("vector-effect")]:"non-scaling-stroke",...s}:s;return a?[r,i,a]:[r,i]})]}(e,{...t,attributeNames:{...t.attributeNames,class:"className","stroke-width":"strokeWidth","stroke-linecap":"strokeLinecap","stroke-linejoin":"strokeLinejoin","vector-effect":"vectorEffect"}})}(h,{color:e??y,width:i??l??g,height:n??l??g,strokeWidth:o??b,absoluteStrokeWidth:d??v,nonScalingStroke:c??w,className:r(k,u),hasA11yProp:j,attributes:x});return(0,t.createElement)(N,{ref:p,...C},[...E.map(([e,r])=>(0,t.createElement)(e,r)),...Array.isArray(m)?m:[m]])});e.s(["f",0,function(e,r=[],s=[]){let a,i="string"==typeof e?function(e,t,r=[]){if(null==t)throw Error("[lucide]: iconNode is required when icon name is used");return{name:e?.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),size:24,node:t,...r.length>0?{aliases:r}:{}}}(e,r,s):e,n=(0,t.forwardRef)(({className:e,...r},s)=>(0,t.createElement)(l,{ref:s,icon:i,className:e,...r}));return i.name&&(n.displayName=(a=(e=>{let t="",r=!1;for(let s of e){if("-"===s||"_"===s||s<=" "){r=t.length>0;continue}0===t.length?t+=s.toLowerCase():t+=r?s.toUpperCase():s,r=!1}return t})(i.name)).charAt(0).toUpperCase()+a.slice(1)),n}],5270)},40238,(e,t,r)=>{"use strict";var s=e.r(91788),a="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},l=s.useSyncExternalStore,i=s.useRef,n=s.useEffect,o=s.useMemo,d=s.useDebugValue;r.useSyncExternalStoreWithSelector=function(e,t,r,s,c){var u=i(null);if(null===u.current){var m={hasValue:!1,value:null};u.current=m}else m=u.current;var f=l(e,(u=o(function(){function e(e){if(!n){if(n=!0,l=e,e=s(e),void 0!==c&&m.hasValue){var t=m.value;if(c(t,e))return i=t}return i=e}if(t=i,a(l,e))return t;var r=s(e);return void 0!==c&&c(t,r)?(l=e,t):(l=e,i=r)}var l,i,n=!1,o=void 0===r?null:r;return[function(){return e(t())},null===o?void 0:function(){return e(o())}]},[t,r,s,c]))[0],u[1]);return n(function(){m.hasValue=!0,m.value=f},[f]),d(f),f}},19979,(e,t,r)=>{"use strict";e.i(50461),t.exports=e.r(40238)}]);