@unchainedshop/admin-ui 4.9.0 → 4.9.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (461) 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/3N8lTawkhD5WNCBa3Xrre/_buildManifest.js +258 -0
  56. package/out/_next/static/chunks/0-66i4h-noxvn.js +7 -0
  57. package/out/_next/static/chunks/0-wbl3cr3959x.js +1 -0
  58. package/out/_next/static/chunks/01bmb-z2nror5.js +63 -0
  59. package/out/_next/static/chunks/01ehk69jm7o3h.js +1 -0
  60. package/out/_next/static/chunks/01v4zuf_1s632.js +24 -0
  61. package/out/_next/static/chunks/02bw09719wk6m.js +59 -0
  62. package/out/_next/static/chunks/04u9l5z90u8zc.js +108 -0
  63. package/out/_next/static/chunks/{439tz_ubj8h-g.js → 05kae8xt4d-mt.js} +9 -9
  64. package/out/_next/static/chunks/060-0-y0yq4tn.js +4 -0
  65. package/out/_next/static/chunks/06umepciqel5y.js +15 -0
  66. package/out/_next/static/chunks/{2rmgaa88-4bpb.js → 07oa-1j75vunn.js} +4 -4
  67. package/out/_next/static/chunks/{0zzoylv2rl1xu.js → 07qh9c3qklj41.js} +1 -1
  68. package/out/_next/static/chunks/08aonh4sng6e2.js +7 -0
  69. package/out/_next/static/chunks/08u8uu0r0k0o9.js +9 -0
  70. package/out/_next/static/chunks/096x-m7s73l-c.js +1 -0
  71. package/out/_next/static/chunks/0ab6zl-u7ml1p.js +5 -0
  72. package/out/_next/static/chunks/{40l5d7o95aw37.js → 0bvh9mjjgn_w3.js} +1 -1
  73. package/out/_next/static/chunks/0crno_6ew111i.js +8 -0
  74. package/out/_next/static/chunks/0czpir4zjwmos.js +1 -0
  75. package/out/_next/static/chunks/0fogiqvh9bznp.js +2 -0
  76. package/out/_next/static/chunks/0g1uyaoneybnf.js +41 -0
  77. package/out/_next/static/chunks/0h373kx_wlwzy.js +1 -0
  78. package/out/_next/static/chunks/0h7smollos00x.js +6 -0
  79. package/out/_next/static/chunks/{2hoi6cb1lromr.js → 0hq9p72y7ki0h.js} +1 -1
  80. package/out/_next/static/chunks/0hqvf-b6yry5-.js +12 -0
  81. package/out/_next/static/chunks/0ikig1vazlo5p.js +1 -0
  82. package/out/_next/static/chunks/0jol393fjamwq.js +277 -0
  83. package/out/_next/static/chunks/0jr0_6oupairk.js +13 -0
  84. package/out/_next/static/chunks/0l0hzoqd-va5-.js +1 -0
  85. package/out/_next/static/chunks/0m006z-rbif-h.js +5 -0
  86. package/out/_next/static/chunks/0nsa2b75vwe9r.js +43 -0
  87. package/out/_next/static/chunks/0oeas4d1fnzbb.js +36 -0
  88. package/out/_next/static/chunks/0q7n10ncl7jak.js +119 -0
  89. package/out/_next/static/chunks/0qyx2854lfah9.js +152 -0
  90. package/out/_next/static/chunks/0rjrvdq5w-984.js +78 -0
  91. package/out/_next/static/chunks/0tavmhzr7m3u9.js +5 -0
  92. package/out/_next/static/chunks/0tp8_k14lgo7i.js +12 -0
  93. package/out/_next/static/chunks/{1tkvi0wb-x3v8.js → 0u290yfuv_u2_.js} +2 -2
  94. package/out/_next/static/chunks/0u_zr87ce7iu-.js +1 -0
  95. package/out/_next/static/chunks/0v2v5x8dtpfh6.js +7 -0
  96. package/out/_next/static/chunks/0var4u7x1jrna.js +1 -0
  97. package/out/_next/static/chunks/0vik72soxnie0.js +32 -0
  98. package/out/_next/static/chunks/0xry2ss7g-gk_.js +33 -0
  99. package/out/_next/static/chunks/0xywzizg7ntfd.js +44 -0
  100. package/out/_next/static/chunks/0y3lr_rwmezii.js +1 -0
  101. package/out/_next/static/chunks/0zvpipo0q47xl.js +15 -0
  102. package/out/_next/static/chunks/1-jp7as2d7zp6.js +44 -0
  103. package/out/_next/static/chunks/10jrq6wew06i6.js +23 -0
  104. package/out/_next/static/chunks/1164-c5abnfyy.js +5 -0
  105. package/out/_next/static/chunks/{3qzrrjb48t2w3.js → 119d8cbr8mij2.js} +5 -5
  106. package/out/_next/static/chunks/122a0xxhrak7b.js +1 -0
  107. package/out/_next/static/chunks/129-110-fx4g2.js +277 -0
  108. package/out/_next/static/chunks/12hh2h53sa5vl.js +33 -0
  109. package/out/_next/static/chunks/14qvgxj89rj3h.js +16 -0
  110. package/out/_next/static/chunks/179acu8_sgizp.js +4 -0
  111. package/out/_next/static/chunks/1a120nyn1xssj.js +46 -0
  112. package/out/_next/static/chunks/1ata93ftwo5e5.js +1 -0
  113. package/out/_next/static/chunks/1ca5de-nq28g5.js +5 -0
  114. package/out/_next/static/chunks/1cm161_p0htmv.js +6 -0
  115. package/out/_next/static/chunks/1cp5rjbtbj7im.js +7 -0
  116. package/out/_next/static/chunks/1d-xju_35oiky.js +7 -0
  117. package/out/_next/static/chunks/1d2l6vs2y96io.js +5 -0
  118. package/out/_next/static/chunks/1dedrypk-h8qr.js +1 -0
  119. package/out/_next/static/chunks/1dl-ild2tc5fi.js +10 -0
  120. package/out/_next/static/chunks/1eh2ap8tgodgp.js +224 -0
  121. package/out/_next/static/chunks/1eq7kau-2figm.js +81 -0
  122. package/out/_next/static/chunks/1h9sc720aq7zm.js +5 -0
  123. package/out/_next/static/chunks/1igwz8p4ycvw8.js +68 -0
  124. package/out/_next/static/chunks/1kti-rwl34_4h.js +194 -0
  125. package/out/_next/static/chunks/{2ho4591ngh3y2.js → 1l_4m35yky3vy.js} +6 -6
  126. package/out/_next/static/chunks/1n3dc-2mpab65.js +39 -0
  127. package/out/_next/static/chunks/1nmwo96drt-k-.js +18 -0
  128. package/out/_next/static/chunks/1o2f_mtcw23zu.js +7 -0
  129. package/out/_next/static/chunks/1p6gh68l05_ak.js +1 -0
  130. package/out/_next/static/chunks/1sf71q2hkno8s.js +43 -0
  131. package/out/_next/static/chunks/{1gqd9vrno0rq4.js → 1u0hy0trwf8uk.js} +2 -2
  132. package/out/_next/static/chunks/1w22i299136_d.js +5 -0
  133. package/out/_next/static/chunks/1w69w7bav5fw7.js +5 -0
  134. package/out/_next/static/chunks/1xjtni6_z8nxp.js +15 -0
  135. package/out/_next/static/chunks/1y-db7_k0jgmb.js +1 -0
  136. package/out/_next/static/chunks/1y7wv_pb43doo.js +31 -0
  137. package/out/_next/static/chunks/1y84xua0xgwrn.js +39 -0
  138. package/out/_next/static/chunks/1yqexzm6_8pjh.js +71 -0
  139. package/out/_next/static/chunks/1zsrg53se30e4.js +7 -0
  140. package/out/_next/static/chunks/2-e86kt6vo58k.js +24 -0
  141. package/out/_next/static/chunks/2-lj_k3ewua_k.js +71 -0
  142. package/out/_next/static/chunks/2-omz_z29hp_j.js +1 -0
  143. package/out/_next/static/chunks/21hoklicpietg.js +41 -0
  144. package/out/_next/static/chunks/22kqizuxl67c-.js +108 -0
  145. package/out/_next/static/chunks/22odam86c8kps.js +1 -0
  146. package/out/_next/static/chunks/23wfelj92rx3n.js +1 -0
  147. package/out/_next/static/chunks/259obwu0l4d7_.js +8 -0
  148. package/out/_next/static/chunks/{22-o32hlte36e.js → 25k-q1asg1of_.js} +6 -6
  149. package/out/_next/static/chunks/28cyd6sk-kr-8.js +8 -0
  150. package/out/_next/static/chunks/{3vgurvjr6hkyv.js → 29j-tq9ymqima.js} +1 -1
  151. package/out/_next/static/chunks/29lz37yh8ev4g.js +267 -0
  152. package/out/_next/static/chunks/29qzk6rf1oo1g.js +8 -0
  153. package/out/_next/static/chunks/2_0nlvri-u3yb.js +5 -0
  154. package/out/_next/static/chunks/2_ebmmbmnfung.js +5 -0
  155. package/out/_next/static/chunks/2_nlmvpwjvbuc.js +1 -0
  156. package/out/_next/static/chunks/2abvgs_fkmp8g.js +12 -0
  157. package/out/_next/static/chunks/2ad3aff-kd860.js +16 -0
  158. package/out/_next/static/chunks/2asfqwl1f6ptd.js +71 -0
  159. package/out/_next/static/chunks/2bo7flfdpsojx.js +1 -0
  160. package/out/_next/static/chunks/2c3pj-ifdt9sv.js +8 -0
  161. package/out/_next/static/chunks/{1_55km6vm5mc0.js → 2dem0g4wrt39t.js} +5 -5
  162. package/out/_next/static/chunks/{153ec1_-yt3jb.js → 2dg0lloufpbdb.js} +5 -5
  163. package/out/_next/static/chunks/2e-u5srw2p0n6.js +23 -0
  164. package/out/_next/static/chunks/2fxjo2s_nsjsa.js +5 -0
  165. package/out/_next/static/chunks/2gfl5yx5-dzk7.js +5 -0
  166. package/out/_next/static/chunks/2gqvhjmjfypz9.js +6 -0
  167. package/out/_next/static/chunks/2hqwx9e8xxk58.js +1 -0
  168. package/out/_next/static/chunks/2hthxhwh84ls1.css +1 -0
  169. package/out/_next/static/chunks/2jro0zgoal0kz.js +39 -0
  170. package/out/_next/static/chunks/2khmu80rhpzi0.js +7 -0
  171. package/out/_next/static/chunks/2luj-95aqr25b.js +1 -0
  172. package/out/_next/static/chunks/2mohqnh8393k0.js +935 -0
  173. package/out/_next/static/chunks/{11ehf3t7qzbua.js → 2ozm0eim2f3sc.js} +1 -1
  174. package/out/_next/static/chunks/2pass0agqwhhu.js +30 -0
  175. package/out/_next/static/chunks/2q16yoj85f5--.js +217 -0
  176. package/out/_next/static/chunks/2qgzju2ps7tn2.js +5 -0
  177. package/out/_next/static/chunks/2qmtn9qs15pe6.js +23 -0
  178. package/out/_next/static/chunks/2starzmj1ng6d.js +13 -0
  179. package/out/_next/static/chunks/2tltorbhbyodj.js +1 -0
  180. package/out/_next/static/chunks/2u8vf0tm3oweg.js +145 -0
  181. package/out/_next/static/chunks/2xq9wvqdb609r.js +1 -0
  182. package/out/_next/static/chunks/2ye-zd_107wh_.js +6 -0
  183. package/out/_next/static/chunks/2yttr5mp9mh23.js +171 -0
  184. package/out/_next/static/chunks/2z6e-_lzi04v4.js +149 -0
  185. package/out/_next/static/chunks/2z_zbj33aeywz.js +5 -0
  186. package/out/_next/static/chunks/2zq9_3p7cg3wb.js +9 -0
  187. package/out/_next/static/chunks/2zuoqtb2013in.js +7 -0
  188. package/out/_next/static/chunks/302pe6kwodzps.js +31 -0
  189. package/out/_next/static/chunks/30c42kdwlkc30.js +7 -0
  190. package/out/_next/static/chunks/30jqt_vus0ht9.js +1 -0
  191. package/out/_next/static/chunks/30lj8m3h07k4v.js +1 -0
  192. package/out/_next/static/chunks/3328j3xx0enu_.js +1 -0
  193. package/out/_next/static/chunks/339grcmrh2be_.js +1 -0
  194. package/out/_next/static/chunks/33pzdslirf1vx.js +6 -0
  195. package/out/_next/static/chunks/33s24dpx0eo63.js +2 -0
  196. package/out/_next/static/chunks/33w88h3hbfzbk.js +1 -0
  197. package/out/_next/static/chunks/35wqmtcm47y_w.js +39 -0
  198. package/out/_next/static/chunks/36o0xcj8l-mau.js +9 -0
  199. package/out/_next/static/chunks/37lm6c8w-c7bs.js +5 -0
  200. package/out/_next/static/chunks/37y01hdz8sxhr.js +1 -0
  201. package/out/_next/static/chunks/38op2tjm2a38-.js +10 -0
  202. package/out/_next/static/chunks/398z-133dgtem.js +14 -0
  203. package/out/_next/static/chunks/39_3a5rlqmxjd.js +5 -0
  204. package/out/_next/static/chunks/3admj5_pwyksw.js +1 -0
  205. package/out/_next/static/chunks/3c7j6t3by9tj7.js +155 -0
  206. package/out/_next/static/chunks/3cyj5euwvlu1t.js +1 -0
  207. package/out/_next/static/chunks/3d8yko5j3oni7.js +100 -0
  208. package/out/_next/static/chunks/3de9en65e-2qx.js +1 -0
  209. package/out/_next/static/chunks/3f_aw3x3h5zrb.js +54 -0
  210. package/out/_next/static/chunks/3fdcfxfy7_ijd.js +5 -0
  211. package/out/_next/static/chunks/3g-zjnc7_4583.js +1 -0
  212. package/out/_next/static/chunks/3h22kt6ngwxji.js +12 -0
  213. package/out/_next/static/chunks/3id1esivwnwn0.js +5 -0
  214. package/out/_next/static/chunks/{3fqonijzsxy8u.js → 3jy48b2yol0pg.js} +1 -1
  215. package/out/_next/static/chunks/3k_w16w3eoy6p.js +7 -0
  216. package/out/_next/static/chunks/3ks-dq47wvmwf.js +5 -0
  217. package/out/_next/static/chunks/3lch4_9c5hsbw.js +5 -0
  218. package/out/_next/static/chunks/3lirqns-0nf0z.js +5 -0
  219. package/out/_next/static/chunks/{1hviha1jcz_og.js → 3o83hyi0qcw6f.js} +1 -1
  220. package/out/_next/static/chunks/3ot810y4c4j5w.js +7 -0
  221. package/out/_next/static/chunks/3q2g8_47dz6k3.js +95 -0
  222. package/out/_next/static/chunks/{0q2e8h8498pvo.js → 3qqhr2o1soxh_.js} +1 -1
  223. package/out/_next/static/chunks/3s0alhaimym6o.js +61 -0
  224. package/out/_next/static/chunks/3sull2f3eleju.js +6 -0
  225. package/out/_next/static/chunks/3tzv_v3fezh8p.js +1 -0
  226. package/out/_next/static/chunks/3uekb_s0jaboj.js +1 -0
  227. package/out/_next/static/chunks/3xtawjchyn0qb.js +1 -0
  228. package/out/_next/static/chunks/3xze13c1irm_5.js +1 -0
  229. package/out/_next/static/chunks/3z14p5htgyrv9.js +7 -0
  230. package/out/_next/static/chunks/40tteajtwsyj8.js +116 -0
  231. package/out/_next/static/chunks/40vdr7s_c0h75.js +8 -0
  232. package/out/_next/static/chunks/41184_al87--k.js +46 -0
  233. package/out/_next/static/chunks/42iy04ceb32i1.js +5 -0
  234. package/out/_next/static/chunks/438vgwwahfwwj.js +54 -0
  235. package/out/_next/static/chunks/44l-287ai2bc0.js +12 -0
  236. package/out/_next/static/chunks/44p9j-nopxm66.js +1 -0
  237. package/out/_next/static/chunks/{turbopack-2c3mg3r-05n1w.js → turbopack-077hmtqrhcoji.js} +1 -1
  238. package/out/_offline/index.html +3 -3
  239. package/out/account/forgot-password/index.html +3 -3
  240. package/out/account/index.html +3 -3
  241. package/out/assortments/AssortmentDetailPage/index.html +3 -3
  242. package/out/assortments/index.html +3 -3
  243. package/out/assortments/new/index.html +3 -3
  244. package/out/copilot/index.html +3 -3
  245. package/out/country/CountryDetailPage/index.html +3 -3
  246. package/out/country/index.html +3 -3
  247. package/out/country/new/index.html +3 -3
  248. package/out/currency/CurrencyDetailPage/index.html +3 -3
  249. package/out/currency/index.html +3 -3
  250. package/out/currency/new/index.html +3 -3
  251. package/out/delivery-provider/DeliveryProviderDetailPage/index.html +3 -3
  252. package/out/delivery-provider/index.html +3 -3
  253. package/out/delivery-provider/new/index.html +3 -3
  254. package/out/enrollments/EnrollmentDetailPage/index.html +3 -3
  255. package/out/enrollments/index.html +3 -3
  256. package/out/events/EventDetailPage/index.html +3 -3
  257. package/out/events/index.html +3 -3
  258. package/out/exports/index.html +3 -3
  259. package/out/external/index.html +3 -3
  260. package/out/filters/FilterDetailPage/index.html +3 -3
  261. package/out/filters/index.html +3 -3
  262. package/out/filters/new/index.html +3 -3
  263. package/out/index.html +3 -3
  264. package/out/install/index.html +3 -3
  265. package/out/language/LanguageDetailPage/index.html +3 -3
  266. package/out/language/index.html +3 -3
  267. package/out/language/new/index.html +3 -3
  268. package/out/log-in/index.html +3 -3
  269. package/out/orders/OrderDetailPage/index.html +3 -3
  270. package/out/orders/index.html +3 -3
  271. package/out/payment-provider/PaymentProviderDetailPage/index.html +3 -3
  272. package/out/payment-provider/index.html +3 -3
  273. package/out/payment-provider/new/index.html +3 -3
  274. package/out/products/ProductDetailPage/index.html +3 -3
  275. package/out/products/index.html +3 -3
  276. package/out/products/new/index.html +3 -3
  277. package/out/quotations/QuotationDetailPage/index.html +3 -3
  278. package/out/quotations/index.html +3 -3
  279. package/out/reset-password/index.html +3 -3
  280. package/out/sign-up/index.html +3 -3
  281. package/out/styleguide/index.html +3 -3
  282. package/out/tokens/TokenDetailPage/index.html +3 -3
  283. package/out/tokens/index.html +3 -3
  284. package/out/users/UserDetailPage/index.html +3 -3
  285. package/out/users/index.html +3 -3
  286. package/out/users/new/index.html +3 -3
  287. package/out/verify-email/index.html +3 -3
  288. package/out/warehousing-provider/WarehousingProviderDetailPage/index.html +3 -3
  289. package/out/warehousing-provider/index.html +3 -3
  290. package/out/warehousing-provider/new/index.html +3 -3
  291. package/out/works/WorkDetailPage/index.html +3 -3
  292. package/out/works/WorkQueueListView/index.html +3 -3
  293. package/out/works/index.html +3 -3
  294. package/out/works/management/index.html +3 -3
  295. package/package.json +26 -26
  296. package/out/_next/static/chunks/0-_s79k4_7ei_.js +0 -5
  297. package/out/_next/static/chunks/00aks9rqke2x0.js +0 -7
  298. package/out/_next/static/chunks/00az81dk4vdda.js +0 -54
  299. package/out/_next/static/chunks/01e4gd649r2tq.js +0 -7
  300. package/out/_next/static/chunks/01j2wi94k90x0.js +0 -5
  301. package/out/_next/static/chunks/043i-g05cyvrd.js +0 -1
  302. package/out/_next/static/chunks/04kyktzbxprj0.js +0 -61
  303. package/out/_next/static/chunks/05p330iybjojg.js +0 -44
  304. package/out/_next/static/chunks/05qk8ozexvlxp.js +0 -5
  305. package/out/_next/static/chunks/06i50j458a7g5.js +0 -12
  306. package/out/_next/static/chunks/08o61gwabp3h1.js +0 -33
  307. package/out/_next/static/chunks/0_bvgo8ev4gs7.js +0 -7
  308. package/out/_next/static/chunks/0b05sca2hdcys.js +0 -30
  309. package/out/_next/static/chunks/0bc8hmxlcg6h5.js +0 -18
  310. package/out/_next/static/chunks/0c3kwkqr9evm4.js +0 -5
  311. package/out/_next/static/chunks/0c4jv8pwvpxei.js +0 -1
  312. package/out/_next/static/chunks/0c7ljn9lo_0oh.js +0 -5
  313. package/out/_next/static/chunks/0djb38xrt32ao.js +0 -12
  314. package/out/_next/static/chunks/0drw_p7p-jjq1.js +0 -5
  315. package/out/_next/static/chunks/0ewr86ctcw7fx.js +0 -1
  316. package/out/_next/static/chunks/0hz0qu27uks3z.js +0 -8
  317. package/out/_next/static/chunks/0jham55cr3rhy.js +0 -81
  318. package/out/_next/static/chunks/0lr7o7tyjmrmf.js +0 -8
  319. package/out/_next/static/chunks/0mx8opz23nwlb.js +0 -5
  320. package/out/_next/static/chunks/0o0e82-3pc7ur.js +0 -78
  321. package/out/_next/static/chunks/0ohk7l49gjm62.js +0 -5
  322. package/out/_next/static/chunks/0p31l6a9hynnt.js +0 -6
  323. package/out/_next/static/chunks/0qa-zbgmv-k3p.js +0 -9
  324. package/out/_next/static/chunks/0rzjz052fwjjc.js +0 -12
  325. package/out/_next/static/chunks/0skst735jufgh.js +0 -71
  326. package/out/_next/static/chunks/0t28q5fb2jp-6.js +0 -8
  327. package/out/_next/static/chunks/0tmamaq8exyij.js +0 -1
  328. package/out/_next/static/chunks/0ydy3ky15gx62.js +0 -1
  329. package/out/_next/static/chunks/0zh311lu9jf2x.js +0 -5
  330. package/out/_next/static/chunks/0zpyyygbqx3pf.js +0 -152
  331. package/out/_next/static/chunks/10m_etq9t2pkv.js +0 -7
  332. package/out/_next/static/chunks/16le3cqxj12u6.js +0 -5
  333. package/out/_next/static/chunks/16zxfacsu_jbq.js +0 -1
  334. package/out/_next/static/chunks/170d-jbu8ilzu.js +0 -100
  335. package/out/_next/static/chunks/17fibl49qtd6c.js +0 -8
  336. package/out/_next/static/chunks/182l1mlbf0glb.js +0 -1
  337. package/out/_next/static/chunks/18xyj4i_i5lyn.js +0 -6
  338. package/out/_next/static/chunks/1a9-pdm78ri7r.js +0 -1
  339. package/out/_next/static/chunks/1aej6iqnlr74p.js +0 -1
  340. package/out/_next/static/chunks/1asbed4hne69c.js +0 -7
  341. package/out/_next/static/chunks/1c60nzy_x4kez.js +0 -277
  342. package/out/_next/static/chunks/1c77vl6xdqfd4.js +0 -15
  343. package/out/_next/static/chunks/1da89agg-nacc.js +0 -224
  344. package/out/_next/static/chunks/1epju6xepfqtq.js +0 -2
  345. package/out/_next/static/chunks/1fbsyczyh9hwh.js +0 -1
  346. package/out/_next/static/chunks/1hih2cxmgqcd3.js +0 -10
  347. package/out/_next/static/chunks/1il9vuoxtb2_n.js +0 -43
  348. package/out/_next/static/chunks/1jaatdt0mlypl.js +0 -16
  349. package/out/_next/static/chunks/1l4g6_of_bbr8.js +0 -5
  350. package/out/_next/static/chunks/1lezxecnoaxnn.js +0 -32
  351. package/out/_next/static/chunks/1m27au_nmk8_k.js +0 -71
  352. package/out/_next/static/chunks/1m4fwgl1mj4d-.js +0 -46
  353. package/out/_next/static/chunks/1ma82ip9shpkc.js +0 -24
  354. package/out/_next/static/chunks/1nbh1zkzirnuw.js +0 -1
  355. package/out/_next/static/chunks/1nohf8_cc6gmw.js +0 -9
  356. package/out/_next/static/chunks/1os6pvhjeb16o.js +0 -1
  357. package/out/_next/static/chunks/1r0w-hk6d2kqw.js +0 -15
  358. package/out/_next/static/chunks/1rsexg6dg82f0.js +0 -7
  359. package/out/_next/static/chunks/1u79pcgqjgjpq.js +0 -1
  360. package/out/_next/static/chunks/1uqiaqtv_0v2x.js +0 -5
  361. package/out/_next/static/chunks/1x8o-luxdxxk7.js +0 -1
  362. package/out/_next/static/chunks/1yjb7gogaf8po.js +0 -31
  363. package/out/_next/static/chunks/1zyhzessv0wtg.js +0 -1
  364. package/out/_next/static/chunks/2-pl31kdikt3k.js +0 -5
  365. package/out/_next/static/chunks/20c4_1i5r3kkz.js +0 -1
  366. package/out/_next/static/chunks/20zdaln201w8j.js +0 -277
  367. package/out/_next/static/chunks/21l46nbaop06z.js +0 -39
  368. package/out/_next/static/chunks/231j2_p-ha14w.js +0 -7
  369. package/out/_next/static/chunks/23s2f7_-ol94s.js +0 -8
  370. package/out/_next/static/chunks/25frktmrq-xu0.js +0 -1
  371. package/out/_next/static/chunks/26_mx-ritu68j.js +0 -24
  372. package/out/_next/static/chunks/26ckmxeluyknq.js +0 -1
  373. package/out/_next/static/chunks/26r0y7ldf3iqs.js +0 -6
  374. package/out/_next/static/chunks/27fzoozwycagi.js +0 -6
  375. package/out/_next/static/chunks/27jmq7a-vh0b4.js +0 -7
  376. package/out/_next/static/chunks/283567a82x9qi.js +0 -149
  377. package/out/_next/static/chunks/29he8uukp5s4u.js +0 -31
  378. package/out/_next/static/chunks/2adglo0sf0jcg.js +0 -905
  379. package/out/_next/static/chunks/2ajr0rk0_yax6.js +0 -1
  380. package/out/_next/static/chunks/2b4ewxxz6f462.js +0 -7
  381. package/out/_next/static/chunks/2bh2dv7j9m8c8.css +0 -1
  382. package/out/_next/static/chunks/2bi8v13lm76lr.js +0 -95
  383. package/out/_next/static/chunks/2burvpf9877y_.js +0 -44
  384. package/out/_next/static/chunks/2cclew3l28rc4.js +0 -14
  385. package/out/_next/static/chunks/2cj703xtrf5i6.js +0 -46
  386. package/out/_next/static/chunks/2ec7xatyld40t.js +0 -7
  387. package/out/_next/static/chunks/2iy0jr00qhq-q.js +0 -5
  388. package/out/_next/static/chunks/2m0rrts8gwqwp.js +0 -1
  389. package/out/_next/static/chunks/2m_u12ggzosat.js +0 -5
  390. package/out/_next/static/chunks/2mdns56l5antm.js +0 -5
  391. package/out/_next/static/chunks/2mrbytgs3uetd.js +0 -4
  392. package/out/_next/static/chunks/2olb298bph2yc.js +0 -13
  393. package/out/_next/static/chunks/2p9gwjxeui1zd.js +0 -71
  394. package/out/_next/static/chunks/2pfhy9qy_cijn.js +0 -5
  395. package/out/_next/static/chunks/2q5k4rozyr2wt.js +0 -4
  396. package/out/_next/static/chunks/2qx8nnki_qv5v.js +0 -171
  397. package/out/_next/static/chunks/2r_rj84l3cy7r.js +0 -119
  398. package/out/_next/static/chunks/2swxmzb-xk_bo.js +0 -108
  399. package/out/_next/static/chunks/2t0biwx5e_4w_.js +0 -1
  400. package/out/_next/static/chunks/2ts3v72jkbcdr.js +0 -7
  401. package/out/_next/static/chunks/2vfexvltv2avy.js +0 -5
  402. package/out/_next/static/chunks/2wkg65dtx56je.js +0 -155
  403. package/out/_next/static/chunks/2xixk0t9e9mnw.js +0 -1
  404. package/out/_next/static/chunks/2xz7hnr9ikqzq.js +0 -7
  405. package/out/_next/static/chunks/2y1lq1efnvcdt.js +0 -23
  406. package/out/_next/static/chunks/2ziasg8l_c9n7.js +0 -5
  407. package/out/_next/static/chunks/3-wsablhqgzoa.js +0 -1
  408. package/out/_next/static/chunks/30ppb2wc-m4ph.js +0 -1
  409. package/out/_next/static/chunks/336k08jwyc5i-.js +0 -1
  410. package/out/_next/static/chunks/33_-2ne9ecvay.js +0 -1
  411. package/out/_next/static/chunks/33d061qpkafqm.js +0 -39
  412. package/out/_next/static/chunks/33fyy6d5mo55_.js +0 -8
  413. package/out/_next/static/chunks/33kh18frqc3b1.js +0 -5
  414. package/out/_next/static/chunks/33qeilxkl3ckn.js +0 -116
  415. package/out/_next/static/chunks/33tewe5d_lfl-.js +0 -13
  416. package/out/_next/static/chunks/33v05ol-ire9s.js +0 -10
  417. package/out/_next/static/chunks/348l8p7-vo4l5.js +0 -63
  418. package/out/_next/static/chunks/35hu5vin0swdf.js +0 -41
  419. package/out/_next/static/chunks/37a6yquh875rn.js +0 -39
  420. package/out/_next/static/chunks/3_2i9du5-ffrp.js +0 -59
  421. package/out/_next/static/chunks/3_84h3z_tewmg.js +0 -145
  422. package/out/_next/static/chunks/3bo7uiy-wh63m.js +0 -108
  423. package/out/_next/static/chunks/3c-an5ft_3emc.js +0 -1
  424. package/out/_next/static/chunks/3d_222ci0_30_.js +0 -41
  425. package/out/_next/static/chunks/3dldch03dfaed.js +0 -1
  426. package/out/_next/static/chunks/3eedy49gsvv_t.js +0 -1
  427. package/out/_next/static/chunks/3fayuejnrsd90.js +0 -15
  428. package/out/_next/static/chunks/3g1ale0hytu9q.js +0 -12
  429. package/out/_next/static/chunks/3i9q2-4e0mix5.js +0 -12
  430. package/out/_next/static/chunks/3k3gvr7-e3g_s.js +0 -5
  431. package/out/_next/static/chunks/3kwoyyxi_-q7m.js +0 -1
  432. package/out/_next/static/chunks/3le1bywe19_u9.js +0 -1
  433. package/out/_next/static/chunks/3lku4-9kpf-mj.js +0 -267
  434. package/out/_next/static/chunks/3lz5h1tw50wr_.js +0 -54
  435. package/out/_next/static/chunks/3m4smrmdqi2-3.js +0 -5
  436. package/out/_next/static/chunks/3oq-khgfpo0nx.js +0 -39
  437. package/out/_next/static/chunks/3ps25ocfalcap.js +0 -43
  438. package/out/_next/static/chunks/3r0i-7zjuz9i1.js +0 -6
  439. package/out/_next/static/chunks/3rgn5xwtr51ul.js +0 -7
  440. package/out/_next/static/chunks/3ridg_u19b6ih.js +0 -8
  441. package/out/_next/static/chunks/3skzk-w2ytvku.js +0 -5
  442. package/out/_next/static/chunks/3srw10h0hcztd.js +0 -68
  443. package/out/_next/static/chunks/3tgrftdet8sna.js +0 -15
  444. package/out/_next/static/chunks/3uax_eq1kjjta.js +0 -1
  445. package/out/_next/static/chunks/3uj94afpsi6cs.js +0 -1
  446. package/out/_next/static/chunks/3viepyovs19ub.js +0 -23
  447. package/out/_next/static/chunks/3vnzp3n_wd3j_.js +0 -1
  448. package/out/_next/static/chunks/3w8h5lxnd0z4z.js +0 -1
  449. package/out/_next/static/chunks/3wh4xa9dnw-55.js +0 -194
  450. package/out/_next/static/chunks/3wzvscqui-9ml.js +0 -23
  451. package/out/_next/static/chunks/3y8h3g1tqukrv.js +0 -36
  452. package/out/_next/static/chunks/3zcilnj6p9-t5.js +0 -1
  453. package/out/_next/static/chunks/3zmmdm68s05-t.js +0 -217
  454. package/out/_next/static/chunks/3zw4-oie-f7_0.js +0 -2
  455. package/out/_next/static/chunks/417kn9hki8k81.js +0 -33
  456. package/out/_next/static/chunks/42mofxcd0l7qi.js +0 -1
  457. package/out/_next/static/chunks/43hfssep7ry-z.js +0 -5
  458. package/out/_next/static/chunks/45bcpjurhxb-j.js +0 -1
  459. package/out/_next/static/nrNmgRi1nHylx_8lvjG2D/_buildManifest.js +0 -258
  460. /package/out/_next/static/{nrNmgRi1nHylx_8lvjG2D → 3N8lTawkhD5WNCBa3Xrre}/_clientMiddlewareManifest.js +0 -0
  461. /package/out/_next/static/{nrNmgRi1nHylx_8lvjG2D → 3N8lTawkhD5WNCBa3Xrre}/_ssgManifest.js +0 -0
@@ -1,4 +1,4 @@
1
1
  __turbopack_load_page_chunks__("/403", [
2
2
  "static/chunks/0amj69l-d5-85.js",
3
- "static/chunks/turbopack-2c3mg3r-05n1w.js"
3
+ "static/chunks/turbopack-077hmtqrhcoji.js"
4
4
  ])
@@ -0,0 +1,30 @@
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,96826,(e,t,r)=>{let s="/log-in";(window.__NEXT_P=window.__NEXT_P||[]).push([s,()=>e.r(95636)]),t.hot&&t.hot.dispose(function(){window.__NEXT_P.push([s])})},10576,e=>{"use strict";e.s(["f",0,e=>{if(window.atob&&Uint8Array){let t=e.replace(/-/g,"+").replace(/_/g,"/"),r=t+"=".repeat((4-t.length%4)%4),s=window.atob(r),a=s.length,n=new Uint8Array(a);for(let e=0;e<a;e+=1)n[e]=s.charCodeAt(e);return n.buffer}throw Error("The atob and Uint8Array methods are not available")}])},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)])},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,n])=>"string"==typeof n||r.default.isValidElement(n)?[...e,[`${t}${s}`,n]]:[...Object.entries(a(Object.assign({},...n),`${t}${s}.`)),...e],[])),n=({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)(),o=a?.errors;return(r||e)&&(0,t.jsx)(n,{submitError:r,fieldErrors:e&&o})}])},68095,e=>{"use strict";var t=e.i(91398),r=e.i(72043),s=e.i(91788),a=e.i(45229);e.s(["f",0,({autoComplete:e="on",...n})=>{let[o,l]=(0,s.useState)(!1),i=e=>{e.preventDefault(),l(!o)};return(0,t.jsxs)("div",{className:(0,r.default)("relative",n.className),children:[(0,t.jsx)(a.f,{autoComplete:e||"on",name:"password",...n,type:o?"text":"password"}),(0,t.jsx)("span",{role:"button",tabIndex:-1,"aria-label":"toggle password visibility",className:"absolute translate-y-[-137%] outline-hidden block right-3",onClick:i,onKeyUp:i,children:o?(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-6 w-6 stroke-slate-700",fill:"none",viewBox:"0 0 24 24",children:[(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M15 12a3 3 0 11-6 0 3 3 0 016 0z"}),(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M2.458 12C3.732 7.943 7.523 5 12 5c4.478 0 8.268 2.943 9.542 7-1.274 4.057-5.064 7-9.542 7-4.477 0-8.268-2.943-9.542-7z"})]}):(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-6 w-6 stroke-slate-700",fill:"none",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M13.875 18.825A10.05 10.05 0 0112 19c-4.478 0-8.268-2.943-9.543-7a9.97 9.97 0 011.563-3.029m5.858.908a3 3 0 114.243 4.243M9.878 9.878l4.242 4.242M9.88 9.88l-3.29-3.29m7.532 7.532l3.29 3.29M3 3l3.59 3.59m0 0A9.953 9.953 0 0112 5c4.478 0 8.268 2.943 9.543 7a10.025 10.025 0 01-4.132 5.411m0 0L21 21"})})})]})}])},45229,e=>{"use strict";var t=e.i(91398),r=e.i(72043),s=e.i(82226),a=e.i(60741),n=e.i(29691);e.s(["f",0,({maxLength:e=0,validators:o=[],...l})=>{let i=(0,a.f)({validators:[...o,e&&(0,s.f)(e)],...l});return(0,t.jsx)(n.f,{...i,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":!!i.error,"border-slate-300 placeholder-slate-400":!i.error}),disabled:i.disabled,id:i.name,name:i.name,onChange:i.onChange,onClick:e=>{e.stopPropagation()},onBlur:i.onBlur,placeholder:i.placeholder,autoComplete:i.autoComplete||"off",type:i.type||"text",value:i.value,autoFocus:i.autoFocus})})}])},95636,e=>{"use strict";var t=e.i(91398),r=e.i(41158),s=e.i(3828),a=e.i(69322),n=e.i(28401),o=e.i(5505),l=e.i(69211),i=e.i(72094),u=e.i(68095),c=e.i(45229),d=e.i(98949),f=e.i(10576),p=e.i(59080),m=e.i(76204);let g=p.f`
2
+ mutation CreateWebAuthnCredentialRequestOptions($username: String) {
3
+ createWebAuthnCredentialRequestOptions(username: $username)
4
+ }
5
+ `,h=e=>{let t=e instanceof Uint8Array?e:new Uint8Array(e);return window.btoa(String.fromCharCode(...t)).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")},y=/^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z]{2,})+$/i,b=p.f`
6
+ mutation LoginWithPassword(
7
+ $username: String
8
+ $email: String
9
+ $password: String!
10
+ ) {
11
+ loginWithPassword(username: $username, email: $email, password: $password) {
12
+ _id
13
+ tokenExpires
14
+ user {
15
+ _id
16
+ allowedActions
17
+ roles
18
+ }
19
+ }
20
+ }
21
+ `,x=p.f`
22
+ mutation LoginWithWebAuthn($webAuthnPublicKeyCredentials: JSON!) {
23
+ loginWithWebAuthn(
24
+ webAuthnPublicKeyCredentials: $webAuthnPublicKeyCredentials
25
+ ) {
26
+ _id
27
+ tokenExpires
28
+ }
29
+ }
30
+ `;var w=e.i(91788),v=e.i(70693);let j=({step:e})=>{let{formatMessage:s}=(0,a.S)();return 2===e?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(u.f,{id:"password",name:"password",autoComplete:"current-password",autoFocus:!0,required:!0,label:s({id:"password",defaultMessage:"Password"})}),(0,t.jsx)("div",{className:"my-1 text-sm sm:my-0 text-left",children:(0,t.jsx)(r.default,{href:"/account/forgot-password",className:"font-medium text-slate-950 hover:text-slate-900 dark:text-slate-400 dark:hover:text-slate-300",children:s({id:"forget_password",defaultMessage:"Forgot your password?"})})})]}):(0,t.jsx)(c.f,{id:"username-or-email",name:"usernameOrEmail",className:"mt-1",type:"text",autoComplete:"on",autoFocus:!0,required:!0,label:s({id:"username_or_email",defaultMessage:"Username/Email"})})},k=()=>{let e=(0,a.S)(),{logInWithPassword:u}=(()=>{let[e,{client:t}]=(0,m.f)(b,{errorPolicy:"all"});return{logInWithPassword:async({usernameOrEmail:r,password:s})=>{let a={username:null,email:null,password:null};"string"==typeof r&&y.test(r.trim())?a.email=r?.trim():a.username=r,a.password=s;let n=await e({variables:a,awaitRefetchQueries:!0});return n?.data?.loginWithPassword&&await t.resetStore(),n}}})(),{loginWithWebAuthn:c}=(()=>{let[e,{client:t}]=(0,m.f)(x);return{loginWithWebAuthn:async({webAuthnPublicKeyCredentials:r})=>{let s=await e({variables:{webAuthnPublicKeyCredentials:r},awaitRefetchQueries:!0});return await t.resetStore(),s}}})(),{singleSignOnURL:p}=(0,v.f)(),[k,C]=(0,w.useState)(1),S=(0,s.useRouter)(),$=(0,w.useCallback)(()=>{C(k+1)},[k]),_=(0,w.useCallback)(()=>{C(k-1)},[k]),{generateLoginCredentials:M}=(()=>{let{createWebAuthnCredentialRequestOptions:e}=(()=>{let[e]=(0,m.f)(g);return{createWebAuthnCredentialRequestOptions:async({username:t})=>e({variables:{username:t}})}})();return{generateLoginCredentials:async({username:t})=>{let{data:r}=await e({username:t}),s=r?.createWebAuthnCredentialRequestOptions;if(!s?.allowCredentials?.length)return null;s.challenge=(0,f.f)(s.challenge),s.allowCredentials=s.allowCredentials?.map(({id:e,...t})=>({id:(0,f.f)(e),...t}))||[];let a=await navigator.credentials.get({publicKey:s}),n=h(a.response.authenticatorData),o=h(a.response.signature),l=a.response.userHandle?h(a.response.userHandle):h(new TextEncoder().encode(t)),i=h(a.response.clientDataJSON),u=h(a.rawId);return{requestId:s.requestId,id:u,response:{clientDataJSON:i,authenticatorData:n,signature:o,userHandle:l}}}}})(),{formatMessage:N}=(0,a.S)(),P=async e=>{let t=await M({username:e});if(t){let{data:e,error:r}=await c({webAuthnPublicKeyCredentials:t});if(e&&e?.loginWithWebAuthn)return{success:!0,error:r}}return{success:!1,error:null}},A=async({usernameOrEmail:e,password:t})=>{if(1===k){let{success:t,error:r}=await P(e);if(r)return{success:!0,error:r};t||$()}if(2===k){let{data:r,error:s}=await u({usernameOrEmail:e,password:t});if(!s){let{_id:e}=r.loginWithPassword;return{success:!!e,...r.loginWithPassword}}if(!s?.message?.includes("2FA code required"))return{success:!1,error:s};$()}if(3===k){let{data:r,error:s}=await u({usernameOrEmail:e,password:t});if(!s){let{_id:e}=r.loginWithPassword;return{success:!!e,...r.loginWithPassword}}return{success:!1,error:s}}return{success:!1}},O=async(e,t)=>{let r=t?.username||t?.displayName||t?.profile?.displayName||"there";return n.c.success(N({id:"welcome_user",defaultMessage:"Welcome back, {name}!"},{name:r})),S.push("/"),!0},E=(0,d.f)({submit:A,onSubmitSuccess:O,getSubmitErrorMessage:e=>e?.message?.includes("Invalid credentials")?N({id:"invalid_credential_error",defaultMessage:"Invalid credential, please try again"}):e?.message?.toLowerCase().includes("no password set")?N({id:"user_password_not_set",defaultMessage:"User password not set"}):e?.message?.toLowerCase().includes("is not valid json")?N({id:"connection_to_server_error",defaultMessage:"Currently not connected to unchained engine, please check your connection to server and try again."}):"",initialValues:{usernameOrEmail:null,password:null}});return(0,t.jsx)(t.Fragment,{children:(0,t.jsx)("div",{className:"flex min-h-screen items-center justify-center py-12 px-4 sm:px-6 lg:px-8",children:(0,t.jsxs)("div",{className:"w-full max-w-md space-y-4 text-center",children:[(0,t.jsx)("div",{children:(0,t.jsx)("h2",{className:"text-center text-3xl text-slate-900 dark:text-slate-200",children:N({id:"login_header",defaultMessage:"Log in to your account"})})}),(0,t.jsx)(o.U,{children:(0,t.jsxs)(l.f,{form:E,className:"space-y-6 px-4 pb-5 pt-3 sm:rounded-lg sm:px-10",children:[(0,t.jsx)(j,{step:k}),(0,t.jsx)(i.f,{}),(0,t.jsxs)("div",{className:"flex items-center gap-4 mt-4",children:[1!==k&&(0,t.jsxs)("button",{type:"button",id:"previous-button",name:"previous-button",onClick:_,className:"group relative flex w-full justify-center rounded-md border border-slate-300 bg-slate-100 dark:bg-slate-700 dark:border-slate-600 py-2 px-4 text-sm font-medium text-slate-700 dark:text-slate-300 hover:bg-slate-200 dark:hover:bg-slate-600 focus:outline-hidden focus:ring-2 focus:ring-slate-500 dark:focus:ring-slate-400 focus:ring-offset-2",children:[(0,t.jsx)("span",{className:"absolute inset-y-0 left-0 flex items-center pl-3"}),N({id:"previous",defaultMessage:"Previous"})]}),(0,t.jsxs)("button",{type:"submit",id:"submit",disabled:!E.formik.isValid,name:"submit",className:"group relative flex w-full justify-center rounded-md border border-transparent bg-slate-800 dark:bg-slate-600 py-2 px-4 text-sm font-medium text-white hover:bg-slate-950 dark:hover:bg-slate-500 focus:outline-hidden focus:ring-2 focus:ring-slate-800 dark:focus:ring-slate-400 focus:ring-offset-2",children:[(0,t.jsx)("span",{className:"absolute inset-y-0 left-0 flex items-center pl-3",children:(0,t.jsx)("svg",{className:"h-5 w-5 text-white group-hover:text-slate-200",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",children:(0,t.jsx)("path",{fillRule:"evenodd",d:"M5 9V7a5 5 0 0110 0v2a2 2 0 012 2v5a2 2 0 01-2 2H5a2 2 0 01-2-2v-5a2 2 0 012-2zm8-2v2H7V7a3 3 0 016 0z",clipRule:"evenodd"})})}),N({id:"continue",defaultMessage:"Continue"})]}),p&&2!==k&&(0,t.jsxs)("a",{type:"button",href:p,className:"group relative flex w-full justify-center rounded-md border border-transparent bg-slate-800 dark:bg-slate-600 py-2 px-4 text-sm font-medium text-white hover:bg-slate-950 dark:hover:bg-slate-500 focus:outline-hidden focus:ring-2 focus:ring-slate-800 dark:focus:ring-slate-400 focus:ring-offset-2",children:[(0,t.jsx)("span",{className:"absolute inset-y-0 left-0 flex items-center pl-3",children:(0,t.jsx)("svg",{className:"h-5 w-5 text-white group-hover:text-slate-200",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",children:(0,t.jsx)("path",{fillRule:"evenodd",d:"M5 9V7a5 5 0 0110 0v2a2 2 0 012 2v5a2 2 0 01-2 2H5a2 2 0 01-2-2v-5a2 2 0 012-2zm8-2v2H7V7a3 3 0 016 0z",clipRule:"evenodd"})})}),N({id:"continue_with_sso",defaultMessage:"Login with SSO"})]})]}),(0,t.jsxs)("div",{className:"text-sm text-slate-400 dark:text-slate-200",children:[N({id:"create_new_account",defaultMessage:"Create new account?"}),(0,t.jsx)(r.default,{href:"/sign-up",className:"ml-2 font-medium text-slate-950 hover:text-slate-900 dark:text-slate-400 dark:hover:text-slate-400",children:e.formatMessage({id:"sign_up",defaultMessage:"Sign up"})})]})]})})]})})})},C=()=>(0,t.jsx)(k,{});C.getLayout=e=>e,e.s(["default",0,C],95636)},76204,e=>{"use strict";var t=e.i(24669),r=e.i(91788),s=e.i(30928),a=e.i(52006);let n=e.i(21953).f?r.useLayoutEffect:r.useEffect;var o=e.i(98926);function l(e){return{data:void 0,error:void 0,called:!1,loading:!1,client:e}}e.s(["f",0,function(e,i){let u=(0,o.f)(i?.client),[c,d]=r.useState(()=>l(u)),f=r.useRef({result:c,mutationId:0,isMounted:!0,client:u,mutation:e,options:i});n(()=>{Object.assign(f.current,{client:u,options:i,mutation:e})});let p=r.useCallback((e={})=>{let{options:r,mutation:n}=f.current,o={...r,mutation:n},l=e.client||f.current.client,i="function"==typeof e.context?e.context(r?.context):e.context;!f.current.result.loading&&f.current.isMounted&&d(f.current.result={loading:!0,error:void 0,data:void 0,called:!0,client:l});let u=++f.current.mutationId,c=(0,s.f)(o,{...e,context:i});return(0,a.f)(l.mutate(c).then(r=>{let{data:s,error:a}=r,n=e.onError||f.current.options?.onError;if(a&&n&&n(a,c),u===f.current.mutationId){let e={called:!0,loading:!1,data:s,error:a,client:l};f.current.isMounted&&!(0,t.f)(f.current.result,e)&&d(f.current.result=e)}let o=e.onCompleted||f.current.options?.onCompleted;return a||o?.(r.data,c),r},r=>{if(u===f.current.mutationId&&f.current.isMounted){let e={loading:!1,error:r,data:void 0,called:!0,client:l};(0,t.f)(f.current.result,e)||d(f.current.result=e)}let s=e.onError||f.current.options?.onError;throw s&&s(r,c),r}))},[]),m=r.useCallback(()=>{if(f.current.isMounted){let e=l(f.current.client);Object.assign(f.current,{mutationId:0,result:e}),d(e)}},[]);return r.useEffect(()=>{let e=f.current;return e.isMounted=!0,()=>{e.isMounted=!1}},[]),[p,{reset:m,...c}]}],76204)},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},n={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},o={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},l={};function i(e){return s.isMemo(e)?o:l[e.$$typeof]||a}l[s.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},l[s.Memo]=o;var u=Object.defineProperty,c=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,m=Object.prototype;t.exports=function e(t,r,s){if("string"!=typeof r){if(m){var a=p(r);a&&a!==m&&e(t,a,s)}var o=c(r);d&&(o=o.concat(d(r)));for(var l=i(t),g=i(r),h=0;h<o.length;++h){var y=o[h];if(!n[y]&&!(s&&s[y])&&!(g&&g[y])&&!(l&&l[y])){var b=f(r,y);try{u(t,y,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,n=s?Symbol.for("react.portal"):60106,o=s?Symbol.for("react.fragment"):60107,l=s?Symbol.for("react.strict_mode"):60108,i=s?Symbol.for("react.profiler"):60114,u=s?Symbol.for("react.provider"):60109,c=s?Symbol.for("react.context"):60110,d=s?Symbol.for("react.async_mode"):60111,f=s?Symbol.for("react.concurrent_mode"):60111,p=s?Symbol.for("react.forward_ref"):60112,m=s?Symbol.for("react.suspense"):60113,g=s?Symbol.for("react.suspense_list"):60120,h=s?Symbol.for("react.memo"):60115,y=s?Symbol.for("react.lazy"):60116,b=s?Symbol.for("react.block"):60121,x=s?Symbol.for("react.fundamental"):60117,w=s?Symbol.for("react.responder"):60118,v=s?Symbol.for("react.scope"):60119;function j(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case a:switch(e=e.type){case d:case f:case o:case i:case l:case m:return e;default:switch(e=e&&e.$$typeof){case c:case p:case y:case h:case u:return e;default:return t}}case n:return t}}}function k(e){return j(e)===f}r.AsyncMode=d,r.ConcurrentMode=f,r.ContextConsumer=c,r.ContextProvider=u,r.Element=a,r.ForwardRef=p,r.Fragment=o,r.Lazy=y,r.Memo=h,r.Portal=n,r.Profiler=i,r.StrictMode=l,r.Suspense=m,r.isAsyncMode=function(e){return k(e)||j(e)===d},r.isConcurrentMode=k,r.isContextConsumer=function(e){return j(e)===c},r.isContextProvider=function(e){return j(e)===u},r.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===a},r.isForwardRef=function(e){return j(e)===p},r.isFragment=function(e){return j(e)===o},r.isLazy=function(e){return j(e)===y},r.isMemo=function(e){return j(e)===h},r.isPortal=function(e){return j(e)===n},r.isProfiler=function(e){return j(e)===i},r.isStrictMode=function(e){return j(e)===l},r.isSuspense=function(e){return j(e)===m},r.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===f||e===i||e===l||e===m||e===g||"object"==typeof e&&null!==e&&(e.$$typeof===y||e.$$typeof===h||e.$$typeof===u||e.$$typeof===c||e.$$typeof===p||e.$$typeof===x||e.$$typeof===w||e.$$typeof===v||e.$$typeof===b)},r.typeOf=j},49957,(e,t,r)=>{"use strict";e.i(50461),t.exports=e.r(40563)}]);
@@ -0,0 +1,217 @@
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,73298,2228,e=>{"use strict";var t=e.i(59080);let r=t.f`
2
+ fragment MD5MetaDataFragment on WebAuthnMDSv3Metadata {
3
+ legalHeader
4
+ description
5
+ authenticatorVersion
6
+ protocolFamily
7
+ schema
8
+ authenticationAlgorithms
9
+ publicKeyAlgAndEncodings
10
+ attestationTypes
11
+ keyProtection
12
+ upv
13
+ tcDisplay
14
+ authenticationAlgorithms
15
+ publicKeyAlgAndEncodings
16
+ icon
17
+ authenticatorGetInfo
18
+ }
19
+ `;e.s(["f",0,r],2228);let s=t.f`
20
+ fragment UserFragment on User {
21
+ _id
22
+ lastBillingAddress {
23
+ firstName
24
+ lastName
25
+ company
26
+ addressLine
27
+ addressLine2
28
+ postalCode
29
+ countryCode
30
+ regionCode
31
+ city
32
+ }
33
+ lastContact {
34
+ emailAddress
35
+ telNumber
36
+ }
37
+ lastLogin {
38
+ countryCode
39
+ locale
40
+ remoteAddress
41
+ remotePort
42
+ timestamp
43
+ userAgent
44
+ }
45
+ avatar {
46
+ _id
47
+ name
48
+ size
49
+ type
50
+ url
51
+ }
52
+ allowedActions
53
+ paymentCredentials {
54
+ _id
55
+ isValid
56
+ isPreferred
57
+ paymentProvider {
58
+ _id
59
+ type
60
+ interface {
61
+ _id
62
+ label
63
+ version
64
+ }
65
+ }
66
+ }
67
+ emails {
68
+ verified
69
+ address
70
+ }
71
+ web3Addresses {
72
+ address
73
+ nonce
74
+ verified
75
+ }
76
+ webAuthnCredentials {
77
+ _id
78
+ created
79
+ aaguid
80
+ counter
81
+ mdsMetadata {
82
+ ...MD5MetaDataFragment
83
+ }
84
+ }
85
+ profile {
86
+ displayName
87
+ phoneMobile
88
+ gender
89
+ address {
90
+ firstName
91
+ lastName
92
+ company
93
+ addressLine
94
+ addressLine2
95
+ postalCode
96
+ countryCode
97
+ regionCode
98
+ city
99
+ }
100
+ birthday
101
+ }
102
+ username
103
+ primaryEmail {
104
+ verified
105
+ address
106
+ }
107
+ isGuest
108
+ isInitialPassword
109
+ name
110
+ roles
111
+ tags
112
+ deleted
113
+ cart {
114
+ _id
115
+ items {
116
+ _id
117
+ }
118
+ }
119
+ orders {
120
+ _id
121
+ items {
122
+ _id
123
+ }
124
+ }
125
+ }
126
+ ${r}
127
+ `;e.s(["f",0,s],73298)},86610,e=>{"use strict";var t=e.i(59080);let r=async(e,r=null)=>{await e.mutate({mutation:t.f`
128
+ mutation Logout {
129
+ logout {
130
+ success
131
+ }
132
+ }
133
+ `}),await e.resetStore(),r?r.push("/log-in"):window.location.href="/log-in"};e.s(["f",0,r])},51870,e=>{"use strict";var t=e.i(59080),r=e.i(32171),s=e.i(70693),i=e.i(73298);e.s(["f",0,e=>{let{customProperties:a,hydrateFragment:n}=(0,s.f)(),{data:o,loading:l,error:d}=(0,r.f)(((e="")=>t.f`
134
+ query CurrentUser {
135
+ me {
136
+ ...UserFragment
137
+ ${e}
138
+ }
139
+ }
140
+ ${i.f}
141
+ `)(a?.User)),u=o?.me,c=n(a?.User,u||null);return{currentUser:u,loading:l,error:d,extendedData:c}}])},1403,e=>{"use strict";var t=e.i(59080),r=e.i(32171);let s=t.f`
142
+ query UsersCount(
143
+ $includeGuests: Boolean
144
+ $queryString: String
145
+ $lastLogin: DateFilterInput
146
+ $emailVerified: Boolean
147
+ ) {
148
+ usersCount(
149
+ includeGuests: $includeGuests
150
+ queryString: $queryString
151
+ lastLogin: $lastLogin
152
+ emailVerified: $emailVerified
153
+ )
154
+ }
155
+ `;e.s(["f",0,({includeGuests:e=!1,queryString:t=null,lastLogin:i=null,emailVerified:a=null}={})=>{let{data:n,loading:o,error:l}=(0,r.f)(s,{variables:{includeGuests:e,queryString:t,lastLogin:i,emailVerified:a}});return{usersCount:n?.usersCount||0,loading:o,error:l}}])},8199,e=>{"use strict";var t=e.i(91398),r=e.i(91788),s=e.i(63414);class i extends r.default.Component{constructor(e){super(e),this.state={hasError:!1,error:null}}static getDerivedStateFromError(e){return{hasError:!0,error:e}}componentDidCatch(e,t){console.error({error:e,errorInfo:t})}render(){return this.state.hasError?(0,t.jsx)(s.f,{error:this.state.error,resetError:()=>this.setState({hasError:!1,error:null})}):this.props.children}}e.s(["f",0,i])},63414,e=>{"use strict";var t=e.i(91398),r=e.i(41158),s=e.i(69322),i=e.i(5505);e.s(["f",0,({error:e=null,resetError:a=null})=>{let{formatMessage:n}=(0,s.S)();return(0,t.jsx)("div",{className:"flex min-h-screen items-center justify-center py-12 px-4 sm:px-6 lg:px-8",children:(0,t.jsxs)("div",{className:"w-full max-w-md space-y-4 text-center",children:[(0,t.jsx)("div",{children:(0,t.jsx)("h2",{className:"text-center text-3xl text-slate-900 dark:text-slate-200",children:n({id:"internal_server_error",defaultMessage:"500 Internal Server Error"})})}),(0,t.jsx)(i.U,{children:(0,t.jsxs)("div",{className:"space-y-6 px-4 pb-5 pt-3 sm:rounded-lg sm:px-10",children:[(0,t.jsxs)("div",{className:"text-center",children:[(0,t.jsx)("div",{className:"mx-auto flex h-12 w-12 items-center justify-center rounded-full bg-rose-100 dark:bg-rose-900",children:(0,t.jsx)("svg",{className:"h-6 w-6 text-rose-600 dark:text-rose-400",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","aria-hidden":"true",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-2.5L13.732 4c-.77-.833-1.964-.833-2.732 0L3.732 16.5c-.77.833.192 2.5 1.732 2.5z"})})}),(0,t.jsx)("p",{className:"mt-4 text-sm font-semibold uppercase tracking-wide text-rose-600 dark:text-rose-400",children:n({id:"error_500",defaultMessage:"500 Error"})}),(0,t.jsx)("p",{className:"mt-2 text-base text-slate-500 dark:text-slate-400",children:n({id:"internal_server_error_message",defaultMessage:"Sorry, something went wrong on our end. We are working to fix this."})}),e?.message&&(0,t.jsxs)("details",{className:"mt-4 text-left",children:[(0,t.jsx)("summary",{className:"cursor-pointer text-sm text-slate-600 dark:text-slate-400 hover:text-slate-800 dark:hover:text-slate-300",children:n({id:"show_error_details",defaultMessage:"Show error details"})}),(0,t.jsx)("pre",{className:"mt-2 text-xs text-slate-500 dark:text-slate-400 whitespace-pre-wrap break-all",children:e?.message})]})]}),(0,t.jsxs)("div",{className:"flex flex-col gap-3 mt-6",children:[(0,t.jsxs)(r.default,{href:"/",className:"group relative flex w-full justify-center rounded-md border border-transparent bg-slate-800 dark:bg-slate-600 py-2 px-4 text-sm font-medium text-white hover:bg-slate-950 dark:hover:bg-slate-500 focus:outline-hidden focus:ring-2 focus:ring-slate-800 dark:focus:ring-slate-400 focus:ring-offset-2",children:[(0,t.jsx)("span",{className:"absolute inset-y-0 left-0 flex items-center pl-3",children:(0,t.jsx)("svg",{className:"h-5 w-5 text-white group-hover:text-slate-200",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",children:(0,t.jsx)("path",{fillRule:"evenodd",d:"M9.707 16.707a1 1 0 01-1.414 0l-6-6a1 1 0 010-1.414l6-6a1 1 0 011.414 1.414L5.414 9H17a1 1 0 110 2H5.414l4.293 4.293a1 1 0 010 1.414z",clipRule:"evenodd"})})}),n({id:"back_to_home",defaultMessage:"Back to Home"})]}),a&&(0,t.jsxs)("button",{type:"button",onClick:a,className:"group relative flex w-full justify-center rounded-md border border-slate-300 bg-slate-100 dark:bg-slate-700 dark:border-slate-600 py-2 px-4 text-sm font-medium text-slate-700 dark:text-slate-300 hover:bg-slate-200 dark:hover:bg-slate-600 focus:outline-hidden focus:ring-2 focus:ring-slate-500 dark:focus:ring-slate-400 focus:ring-offset-2",children:[(0,t.jsx)("span",{className:"absolute inset-y-0 left-0 flex items-center pl-3",children:(0,t.jsx)("svg",{className:"h-5 w-5 text-slate-500 dark:text-slate-400 group-hover:text-slate-600 dark:group-hover:text-slate-300",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",children:(0,t.jsx)("path",{fillRule:"evenodd",d:"M4 2a1 1 0 011 1v2.101a7.002 7.002 0 0111.601 2.566 1 1 0 11-1.885.666A5.002 5.002 0 005.999 7H9a1 1 0 010 2H4a1 1 0 01-1-1V3a1 1 0 011-1zm.008 9.057a1 1 0 011.276.61A5.002 5.002 0 0014.001 13H11a1 1 0 110-2h5a1 1 0 011 1v5a1 1 0 11-2 0v-2.101a7.002 7.002 0 01-11.601-2.566 1 1 0 01.61-1.276z",clipRule:"evenodd"})})}),n({id:"try_again",defaultMessage:"Try Again"})]})]})]})})]})})}])},35065,e=>{"use strict";var t=e.i(91398),r=e.i(9675),s=e.i(91788),i=e.i(69322),a=e.i(16509);let n=({className:e="w-full h-full",width:r=200,height:s=200})=>(0,t.jsxs)("svg",{width:r,height:s,viewBox:"0 0 200 200",fill:"none",className:e,xmlns:"http://www.w3.org/2000/svg",children:[(0,t.jsx)("rect",{x:"10",y:"10",width:"180",height:"180",rx:"8",stroke:"currentColor",strokeWidth:"3",strokeDasharray:"8 4",fill:"transparent",className:"text-slate-800 dark:text-slate-400"}),(0,t.jsx)("rect",{x:"40",y:"40",width:"120",height:"80",rx:"4",stroke:"currentColor",strokeWidth:"3",fill:"transparent"}),(0,t.jsx)("path",{d:"M50 100 L70 80 L90 95 L110 75 L130 90 L150 70",stroke:"currentColor",strokeWidth:"3",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"}),(0,t.jsx)("circle",{cx:"130",cy:"55",r:"8",stroke:"currentColor",strokeWidth:"3",fill:"transparent"}),(0,t.jsx)("text",{x:"100",y:"145",textAnchor:"middle",className:"text-slate-800 dark:text-slate-300 text-sm font-semibold",fill:"currentColor",children:"No Image"})]});e.s(["f",0,({fallbackSrc:e="",src:o,...l})=>{let[d,u]=(0,s.useState)(o),[c,f]=(0,s.useState)(!1),{formatMessage:m}=(0,i.S)();return c||!d?(0,t.jsx)("div",{className:l.className||"w-full h-full flex items-center justify-center bg-slate-50 dark:bg-slate-800",children:(0,t.jsx)(n,{width:l.width||200,height:l.height||200,className:"max-w-full max-h-full"})}):(0,t.jsx)(r.default,{src:d,loader:a.f,alt:m({id:"image-not-found",defaultMessage:"Image not found"}),...l,onError:()=>{e&&d!==e?u(e):f(!0)}})}],35065)},26917,63529,e=>{"use strict";var t=e.i(91398),r=e.i(91788);let s=r.forwardRef(function({title:e,titleId:t,...s},i){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:i,"aria-labelledby":t},s),e?r.createElement("title",{id:t},e):null,r.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M21.752 15.002A9.72 9.72 0 0 1 18 15.75c-5.385 0-9.75-4.365-9.75-9.75 0-1.33.266-2.597.748-3.752A9.753 9.753 0 0 0 3 11.25C3 16.635 7.365 21 12.75 21a9.753 9.753 0 0 0 9.002-5.998Z"}))}),i=r.forwardRef(function({title:e,titleId:t,...s},i){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:i,"aria-labelledby":t},s),e?r.createElement("title",{id:t},e):null,r.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 3v2.25m6.364.386-1.591 1.591M21 12h-2.25m-.386 6.364-1.591-1.591M12 18.75V21m-4.773-4.227-1.591 1.591M5.25 12H3m4.227-4.773L5.636 5.636M15.75 12a3.75 3.75 0 1 1-7.5 0 3.75 3.75 0 0 1 7.5 0Z"}))});var a=e.i(72043),n=e.i(83283);e.s(["f",0,()=>{let{theme:e,setTheme:r}=(0,n.f)();return(0,t.jsx)("div",{className:"inline-flex items-center z-50",children:(0,t.jsxs)("button",{type:"button",className:"group hover:cursor-pointer focus:outline-hidden focus:ring-2 focus:ring-slate-800 hover:bg-slate-100 dark:hover:bg-slate-800 transition-colors rounded-md p-2",id:"theme-toggle",title:"Toggles light & dark","aria-label":"auto","aria-live":"polite",onClick:()=>{"dark"===e?r("light"):r("dark")},children:[(0,t.jsx)(i,{className:(0,a.default)("w-6 h-6 text-slate-600 transition-all ease-out delay-1000",{hidden:"dark"===e})}),(0,t.jsx)(s,{className:(0,a.default)("w-6 h-6 text-yellow-200 group-hover:text-white transition-colors duration-200",{hidden:"light"===e})})]})})}],26917);var o=e.i(69322),l=e.i(24629),d=e.i(79684);e.s(["f",0,({narrowNav:e=!1})=>{let{locale:s,formatMessage:i}=(0,o.S)(),[a,n]=(0,r.useState)(!1),u=["en","de"],c=u.find(e=>e===s)||"en",[,f]=(0,d.f)("preferred-language",c),m=async e=>{try{f(e),window.location.reload(),n(!1)}catch(e){console.error("Failed to change language:",e)}};return(0,r.useEffect)(()=>{let e=e=>{e.target.closest("[data-language-toggle]")||n(!1)};if(a)return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e)},[a]),(0,t.jsxs)("div",{className:"relative","data-language-toggle":!0,children:[(0,t.jsx)("button",{onClick:()=>n(!a),className:"flex items-center space-x-1 p-2 text-slate-600 dark:text-sky-400 hover:text-slate-900 dark:hover:text-slate-200 rounded-md hover:bg-slate-100 dark:hover:bg-slate-800 transition-colors focus:outline-hidden focus:ring-2 focus:ring-slate-800",title:i({id:"change_language",defaultMessage:"Change language"}),children:(0,t.jsx)(l.f,{className:"h-6 w-6"})}),a&&(0,t.jsx)("div",{className:`absolute w-48 rounded-md shadow-lg bg-white dark:bg-slate-800 ring-1 ring-black ring-opacity-5 z-[9999] ${e?"left-full ml-2 bottom-0":"right-0 md:left-full md:ml-2 md:bottom-full md:mb-2 mt-2 md:mt-0"}`,children:(0,t.jsxs)("div",{className:"py-1",role:"menu",children:[(0,t.jsx)("div",{className:"px-4 py-2 text-xs font-semibold text-slate-500 dark:text-slate-400 uppercase tracking-wide border-b border-slate-200 dark:border-slate-700",children:i({id:"select_language",defaultMessage:"Select Language"})}),u.map(e=>(0,t.jsx)("button",{onClick:()=>m(e),className:`w-full text-left px-4 py-2 text-sm hover:bg-slate-100 dark:hover:bg-slate-700 transition-colors ${c===e?"bg-slate-50 dark:bg-slate-700 text-slate-900 dark:text-slate-100 font-medium":"text-slate-700 dark:text-slate-300"}`,role:"menuitem",children:(0,t.jsxs)("div",{className:"flex items-center justify-between",children:[(0,t.jsx)("span",{children:{en:"English",de:"Deutsch"}[e]||e.toUpperCase()}),c===e&&(0,t.jsx)("div",{className:"h-2 w-2 rounded-full bg-slate-800"})]})},e))]})})]})}],63529)},84870,e=>{"use strict";var t=e.i(91788),r=e.i(59080),s=e.i(32171),i=e.i(69322);let a=r.f`
156
+ query ShopStatus {
157
+ countriesCount
158
+ currenciesCount
159
+ languagesCount
160
+ productsCount
161
+ assortmentsCount
162
+ filtersCount
163
+ deliveryProvidersCount
164
+ paymentProvidersCount
165
+ }
166
+ `;e.s(["f",0,()=>{let{formatMessage:e}=(0,i.S)(),{data:r,loading:n,error:o}=(0,s.f)(a);return{configuration:(0,t.useMemo)(()=>{let t,s,i,a,n,o,l,d={...{currenciesCount:{id:"currencies",title:e({id:"currencies",defaultMessage:"Currencies"}),description:e({id:"currency_config_description",defaultMessage:"Set up currencies for pricing and payments"}),isRequired:!0,setupUrl:"/currency/new",category:"essential",estimatedTime:"2 min",icon:"currency",isComplete:!1},countriesCount:{id:"countries",title:e({id:"countries",defaultMessage:"Countries"}),description:e({id:"countries_config_description",defaultMessage:"Configure countries and assign default currencies"}),isRequired:!0,setupUrl:"/country/new",category:"essential",estimatedTime:"2 min",icon:"globe",isComplete:!1},languagesCount:{id:"languages",title:e({id:"languages",defaultMessage:"Languages"}),description:e({id:"language_config_description",defaultMessage:"Configure languages for content localization"}),isRequired:!0,setupUrl:"/language/new",category:"essential",estimatedTime:"2 min",icon:"language",isComplete:!1},paymentProvidersCount:{id:"payment",title:e({id:"payment_processing",defaultMessage:"Payment Processing"}),description:e({id:"payment_processing_config_description",defaultMessage:"Invoice payment provider is already configured"}),isRequired:!0,setupUrl:"/payment-provider/new",category:"commerce",estimatedTime:"10 min",icon:"credit-card",isComplete:!1},deliveryProvidersCount:{id:"delivery",title:e({id:"delivery_processing",defaultMessage:"Shipping & Delivery"}),description:e({id:"delivery_processing_config_description",defaultMessage:"Delivery methods are already configured"}),isRequired:!0,setupUrl:"/delivery-provider/new",category:"commerce",estimatedTime:"10 min",icon:"truck",isComplete:!1},productsCount:{id:"products",title:e({id:"products",defaultMessage:"Products"}),description:e({id:"products_config_description",defaultMessage:"Create your first products"}),isRequired:!0,setupUrl:"/products/new",category:"content",estimatedTime:"5 min",icon:"cube",isComplete:!1},assortmentsCount:{id:"assortments",title:e({id:"assortments",defaultMessage:"Assortments"}),description:e({id:"assortment_config_description",defaultMessage:"Organize products into categories"}),isRequired:!1,setupUrl:"/assortments/new",category:"content",estimatedTime:"3 min",icon:"folder",isComplete:!1}}};if(r)for(let e of Object.keys(d))d[e]={...d[e],isComplete:r?.[e]>0};return s=(t=Object.values(d)).filter(e=>e.isComplete),a=(i=t.filter(e=>e.isRequired)).filter(e=>e.isComplete),n=t.filter(e=>"essential"===e.category),o=t.filter(e=>"commerce"===e.category),l=t.filter(e=>"content"===e.category),{steps:d,completedSteps:s,overallProgress:Math.round(s.length/t.length*100),isFullyConfigured:a.length===i.length,essentialStepsComplete:n.every(e=>e.isComplete),commerceStepsComplete:o.filter(e=>e.isRequired).every(e=>e.isComplete),contentStepsComplete:l.every(e=>e.isComplete),essentialSteps:n,commerceSteps:o,contentSteps:l}},[r]),loading:n,error:o}}],84870)},16509,e=>{"use strict";e.s(["f",0,({src:e,width:t,quality:r=75})=>e?`${e}?w=${t}&q=${r}`:"/no-image.jpg"])},93380,e=>{"use strict";e.s(["f",0,e=>e?e?.username?e.username:e?.profile?.displayName?e?.profile?.displayName:e?.profile?.address?.firstName||e?.profile?.address?.lastName?`${e?.profile?.address?.firstName} ${e?.profile?.address?.lastName}`:e?.name?e.name:e.isGuest?e?.primaryEmail?.address?.split(".")?.[0]:null:null])},94672,e=>{"use strict";var t=e.i(59080);let r=t.f`
167
+ fragment WorkFragment on Work {
168
+ _id
169
+ type
170
+ scheduled
171
+ status
172
+ started
173
+ success
174
+ finished
175
+ created
176
+ deleted
177
+ retries
178
+ original {
179
+ _id
180
+ retries
181
+ }
182
+ input
183
+ result
184
+ }
185
+ `;e.s(["f",0,r])},5432,e=>{"use strict";var t=e.i(91788),r=e.i(66773),s=e.i(52835);e.s(["f",0,({queryString:e=null,sortOptions:i}={})=>{let a=(0,t.useMemo)(()=>new Date(Date.now()-864e5).toISOString(),[]),{workQueue:n}=(0,s.f)({types:[r.i.BulkExport],queryString:e,created:{start:a},status:[r.h.Success],pollInterval:6e4});if(!n?.length)return{exports:[],count:0};let o=Date.now(),l=n.map(e=>{let t=new Date(e.finished).getTime(),r=Object.entries(e.result?.files||{}).filter(([,e])=>!!e?.url&&(!e?.expires||e.expires>o)).map(([e,r])=>({name:e.toUpperCase(),url:r.url,expiresAt:new Date(t+r.expires).toLocaleString()}));return 0===r.length?null:{id:e._id,type:e.input?.type,finished:new Date(e.finished).toLocaleString(),files:r}}).filter(e=>null!==e);return{count:l.reduce((e,t)=>e+t.files.length,0),exports:l}}])},52835,e=>{"use strict";var t=e.i(59080),r=e.i(32171),s=e.i(66773),i=e.i(94672);let a=t.f`
186
+ query WorkQueue(
187
+ $queryString: String
188
+ $offset: Int
189
+ $limit: Int
190
+ $status: [WorkStatus!]
191
+ $types: [WorkType!]
192
+ $created: DateFilterInput
193
+ $sort: [SortOptionInput!]
194
+ ) {
195
+ workQueue(
196
+ queryString: $queryString
197
+ offset: $offset
198
+ limit: $limit
199
+ status: $status
200
+ types: $types
201
+ created: $created
202
+ sort: $sort
203
+ ) {
204
+ ...WorkFragment
205
+ }
206
+ activeWorkTypes
207
+ workQueueCount(
208
+ status: $status
209
+ types: $types
210
+ created: $created
211
+ queryString: $queryString
212
+ )
213
+ }
214
+ ${i.f}
215
+ `;e.s(["f",0,({queryString:e="",limit:t=50,status:i,types:n,created:o=null,sort:l=[],offset:d=0,pollInterval:u=1e3})=>{let{data:c,loading:f,error:m,fetchMore:g,previousData:p}=(0,r.f)(a,{fetchPolicy:"cache-and-network",pollInterval:u,variables:{queryString:e,offset:d,limit:t,status:i,types:n,created:Object.fromEntries(Object.entries(o||{}).filter(([,e])=>e).map(([e,t])=>[e,t])),sort:(l||[]).length?l:[{key:"scheduled",value:s.A.Desc}]}}),h=c?.workQueue||p?.workQueue||[],v=c?.activeWorkTypes||[],x=c?.workQueueCount||0,y=h?.length<x;return{workQueue:h,total:x,activeWorkTypes:v,hasMore:y,loading:f,error:m,loadMore:()=>{g({variables:{offset:h.length}})}}}])},22422,94144,e=>{"use strict";function t(e,t){return"object"==typeof e&&null!==e&&e[Symbol.for("apollo.error")]===t}function r(e){Object.defineProperty(e,Symbol.for("apollo.error"),{value:e.name,enumerable:!1,writable:!1,configurable:!1})}function s(e){return e.filter(e=>e).map(e=>e.message||"Error message not found.").join("\n")}e.s(["s",0,r,"m",0,t],94144);class i extends Error{static is(e){return t(e,"CombinedGraphQLErrors")}static formatMessage=s;errors;data;extensions;constructor(e,t=e.errors||[]){super(i.formatMessage(t,{result:e,defaultFormatMessage:s})),this.errors=t,this.data=e.data,this.extensions=e.extensions,this.name="CombinedGraphQLErrors",r(this),Object.setPrototypeOf(this,i.prototype)}}e.s(["f",0,i],22422)},45880,e=>{"use strict";var t=e.i(91788);let r=t.forwardRef(function({title:e,titleId:r,...s},i){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:i,"aria-labelledby":r},s),e?t.createElement("title",{id:r},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8.25 9V5.25A2.25 2.25 0 0 1 10.5 3h6a2.25 2.25 0 0 1 2.25 2.25v13.5A2.25 2.25 0 0 1 16.5 21h-6a2.25 2.25 0 0 1-2.25-2.25V15M12 9l3 3m0 0-3 3m3-3H2.25"}))});e.s(["f",0,r],45880)},83345,e=>{"use strict";var t=e.i(91788);let r=t.forwardRef(function({title:e,titleId:r,...s},i){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:i,"aria-labelledby":r},s),e?t.createElement("title",{id:r},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m21 7.5-9-5.25L3 7.5m18 0-9 5.25m9-5.25v9l-9 5.25M3 7.5l9 5.25M3 7.5v9l9 5.25m0-9v9"}))});e.s(["f",0,r],83345)},24629,e=>{"use strict";var t=e.i(91788);let r=t.forwardRef(function({title:e,titleId:r,...s},i){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:i,"aria-labelledby":r},s),e?t.createElement("title",{id:r},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 21a9.004 9.004 0 0 0 8.716-6.747M12 21a9.004 9.004 0 0 1-8.716-6.747M12 21c2.485 0 4.5-4.03 4.5-9S14.485 3 12 3m0 18c-2.485 0-4.5-4.03-4.5-9S9.515 3 12 3m0 0a8.997 8.997 0 0 1 7.843 4.582M12 3a8.997 8.997 0 0 0-7.843 4.582m15.686 0A11.953 11.953 0 0 1 12 10.5c-2.998 0-5.74-1.1-7.843-2.918m15.686 0A8.959 8.959 0 0 1 21 12c0 .778-.099 1.533-.284 2.253m0 0A17.919 17.919 0 0 1 12 16.5c-3.162 0-6.133-.815-8.716-2.247m0 0A9.015 9.015 0 0 1 3 12c0-1.605.42-3.113 1.157-4.418"}))});e.s(["f",0,r],24629)},90645,e=>{"use strict";var t=e.i(91788);let r=t.forwardRef(function({title:e,titleId:r,...s},i){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:i,"aria-labelledby":r},s),e?t.createElement("title",{id:r},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M13.19 8.688a4.5 4.5 0 0 1 1.242 7.244l-4.5 4.5a4.5 4.5 0 0 1-6.364-6.364l1.757-1.757m13.35-.622 1.757-1.757a4.5 4.5 0 0 0-6.364-6.364l-4.5 4.5a4.5 4.5 0 0 0 1.242 7.244"}))});e.s(["f",0,r],90645)},85192,e=>{"use strict";var t=e.i(91788);let r=t.forwardRef(function({title:e,titleId:r,...s},i){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:i,"aria-labelledby":r},s),e?t.createElement("title",{id:r},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 6.878V6a2.25 2.25 0 0 1 2.25-2.25h7.5A2.25 2.25 0 0 1 18 6v.878m-12 0c.235-.083.487-.128.75-.128h10.5c.263 0 .515.045.75.128m-12 0A2.25 2.25 0 0 0 4.5 9v.878m13.5-3A2.25 2.25 0 0 1 19.5 9v.878m0 0a2.246 2.246 0 0 0-.75-.128H5.25c-.263 0-.515.045-.75.128m15 0A2.25 2.25 0 0 1 21 12v6a2.25 2.25 0 0 1-2.25 2.25H5.25A2.25 2.25 0 0 1 3 18v-6c0-.98.626-1.813 1.5-2.122"}))});e.s(["f",0,r],85192)},49194,(e,t,r)=>{"use strict";e.i(50461),Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"Image",{enumerable:!0,get:function(){return y}});let s=e.r(41705),i=e.r(52456),a=e.r(91398),n=i._(e.r(91788)),o=s._(e.r(30943)),l=s._(e.r(80963)),d=e.r(66785),u=e.r(25479),c=e.r(96952),f=s._(e.r(3866)),m=e.r(63230);function g(e,t,r,s,i,a,n){let o=e?.src;e&&e["data-loaded-src"]!==o&&(e["data-loaded-src"]=o,("decode"in e?e.decode():Promise.resolve()).catch(()=>{}).then(()=>{if(e.parentElement&&e.isConnected){if("empty"!==t&&i(!0),r?.current){let t=new Event("load");Object.defineProperty(t,"target",{writable:!1,value:e});let s=!1,i=!1;r.current({...t,nativeEvent:t,currentTarget:e,target:e,isDefaultPrevented:()=>s,isPropagationStopped:()=>i,persist:()=>{},preventDefault:()=>{s=!0,t.preventDefault()},stopPropagation:()=>{i=!0,t.stopPropagation()}})}s?.current&&s.current(e)}}))}function p(e){return n.use?{fetchPriority:e}:{fetchpriority:e}}"u"<typeof window&&(globalThis.__NEXT_IMAGE_IMPORTED=!0);let h="u"<typeof window?n.useEffect:n.useLayoutEffect,v=(0,n.forwardRef)(({src:e,srcSet:t,sizes:r,height:s,width:i,decoding:o,className:l,style:d,fetchPriority:u,placeholder:c,loading:f,unoptimized:v,fill:x,onLoadRef:y,onLoadingCompleteRef:w,setBlurComplete:b,setShowAltText:j,sizesInput:k,onLoad:C,onError:_,...S},M)=>{let E=(0,n.useRef)(!1),P=(0,n.useRef)(null);h(()=>{let{current:e}=E,{current:t}=P;e||null===t||(_&&(t.src=t.src),t.complete&&g(t,c,y,w,b,v,k),E.current=!0)},[e,c,y,w,_,v,k]);let L=(0,m.useMergedRef)(M,P);return(0,a.jsx)("img",{...S,...p(u),loading:f,width:i,height:s,decoding:o,"data-nimg":x?"fill":"1",className:l,style:d,sizes:r,srcSet:t,src:e,ref:L,onLoad:e=>{g(e.currentTarget,c,y,w,b,v,k)},onError:e=>{j(!0),"empty"!==c&&b(!0),_&&_(e)}})});function x({isAppRouter:e,imgAttributes:t}){let r={as:"image",imageSrcSet:t.srcSet,imageSizes:t.sizes,crossOrigin:t.crossOrigin,referrerPolicy:t.referrerPolicy,...p(t.fetchPriority)};return e&&o.default.preload?(o.default.preload(t.src,r),null):(0,a.jsx)(l.default,{children:(0,a.jsx)("link",{rel:"preload",href:t.srcSet?void 0:t.src,...r},"__nimg-"+t.src+t.srcSet+t.sizes)})}let y=(0,n.forwardRef)((e,t)=>{let r=(0,n.useContext)(u.RouterContext),s=(0,c.useImageConfig)(),{onLoad:i,onLoadingComplete:o}=e,l=(0,n.useRef)(i);(0,n.useEffect)(()=>{l.current=i},[i]);let m=(0,n.useRef)(o);(0,n.useEffect)(()=>{m.current=o},[o]);let[g,p]=(0,n.useState)(!1),[h,y]=(0,n.useState)(!1),{props:w,meta:b}=(0,d.getImgProps)(e,{defaultLoader:f.default,imgConf:s,blurComplete:g,showAltText:h});return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(v,{...w,unoptimized:b.unoptimized,placeholder:b.placeholder,fill:b.fill,onLoadRef:l,onLoadingCompleteRef:m,setBlurComplete:p,setShowAltText:y,sizesInput:e.sizes,ref:t}),b.preload?(0,a.jsx)(x,{isAppRouter:!r,imgAttributes:w}):null]})});("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},9675,e=>{"use strict";var t=e.i(49194);e.s(["default",()=>t.Image])},96952,(e,t,r)=>{"use strict";e.i(50461),Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"useImageConfig",{enumerable:!0,get:function(){return o}});let s=e.r(91788),i=e.r(15125),a=e.r(13521),n={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],qualities:[75],path:"/_next/image/",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!0};function o(){let e=(0,s.useContext)(a.ImageConfigContext);return(0,i.prepareImageConfig)(n,e)}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},79466,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"default",{enumerable:!0,get:function(){return l}});let s=e.r(41705),i=e.r(91398),a=s._(e.r(91788)),n=e.r(89129);async function o({Component:e,ctx:t}){return{pageProps:await (0,n.loadGetInitialProps)(e,t)}}class l extends a.default.Component{static{this.origGetInitialProps=o}static{this.getInitialProps=o}render(){let{Component:e,pageProps:t}=this.props;return(0,i.jsx)(e,{...t})}}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},15633,(e,t,r)=>{"use strict";function s(e,t){let r=e||75;return t?.qualities?.length?t.qualities.reduce((e,t)=>Math.abs(t-r)<Math.abs(e-r)?t:e,t.qualities[0]):r}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"findClosestQuality",{enumerable:!0,get:function(){return s}})},66785,(e,t,r)=>{"use strict";e.i(50461),Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"getImgProps",{enumerable:!0,get:function(){return l}});let s=e.r(20262),i=e.r(55034),a=["-moz-initial","fill","none","scale-down",void 0];function n(e){return void 0!==e.default}function o(e){return void 0===e?e:"number"==typeof e?Number.isFinite(e)?e:0/0:"string"==typeof e&&/^[0-9]+$/.test(e)?parseInt(e,10):0/0}function l({src:e,sizes:t,unoptimized:r=!1,priority:d=!1,preload:u=!1,loading:c,className:f,quality:m,width:g,height:p,fill:h=!1,style:v,overrideSrc:x,onLoad:y,onLoadingComplete:w,placeholder:b="empty",blurDataURL:j,fetchPriority:k,decoding:C="async",layout:_,objectFit:S,objectPosition:M,lazyBoundary:E,lazyRoot:P,...L},$){var N;let O,A,{imgConf:R,showAltText:I,blurComplete:D,defaultLoader:z}=$;if(void 0===z)throw Error("images.loaderFile detected but the file is missing default export.\nRead more: https://nextjs.org/docs/messages/invalid-images-config");let W=L.loader||z;delete L.loader,delete L.srcSet;let q="__next_img_default"in W;if(q){if("custom"===R.loader)throw Error(`Image with src "${e}" is missing "loader" prop.
216
+ Read more: https://nextjs.org/docs/messages/next-image-missing-loader`)}else{let e=W;W=t=>{let{config:r,...s}=t;return e(s)}}if(_){"fill"===_&&(h=!0);let e={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}}[_];e&&(v={...v,...e});let r={responsive:"100vw",fill:"100vw"}[_];r&&!t&&(t=r)}let T="",B=o(g),U=o(p);if((N=e)&&"object"==typeof N&&(n(N)||void 0!==N.src)){let t=n(e)?e.default:e;if(!t.src)throw Error(`An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received ${JSON.stringify(t)}`);if(!t.height||!t.width)throw Error(`An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received ${JSON.stringify(t)}`);if(O=t.blurWidth,A=t.blurHeight,j=j||t.blurDataURL,T=t.src,!h)if(B||U){if(B&&!U){let e=B/t.width;U=Math.round(t.height*e)}else if(!B&&U){let e=U/t.height;B=Math.round(t.width*e)}}else B=t.width,U=t.height}let F=!d&&!u&&("lazy"===c||void 0===c);(!(e="string"==typeof e?e:T)||e.startsWith("data:")||e.startsWith("blob:"))&&(r=!0,F=!1),R.unoptimized&&(r=!0),q&&!R.dangerouslyAllowSVG&&e.split("?",1)[0].endsWith(".svg")&&(r=!0);let G=o(m),V=Object.assign(h?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:S,objectPosition:M}:{},I?{}:{color:"transparent"},v),H=D||"empty"===b?null:"blur"===b?`url("data:image/svg+xml;charset=utf-8,${(0,i.getImageBlurSvg)({widthInt:B,heightInt:U,blurWidth:O,blurHeight:A,blurDataURL:j||"",objectFit:V.objectFit})}")`:`url("${b}")`,Q=a.includes(V.objectFit)?"fill"===V.objectFit?"100% 100%":"cover":V.objectFit,K=H?{backgroundSize:Q,backgroundPosition:V.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:H}:{},J=function({config:e,src:t,unoptimized:r,width:i,quality:a,sizes:n,loader:o}){if(r){if(t.startsWith("/")&&!t.startsWith("//")){let e=(0,s.getDeploymentId)();if(t.includes("/_next/static/immutable")&&!(0,s.getAssetToken)())e=void 0;else if(e){let r=t.indexOf("?");if(-1!==r){let s=new URLSearchParams(t.slice(r+1));s.get("dpl")||(s.append("dpl",e),t=t.slice(0,r)+"?"+s.toString())}else t+=`?dpl=${e}`}}return{src:t,srcSet:void 0,sizes:void 0}}let{widths:l,kind:d}=function({deviceSizes:e,allSizes:t},r,s){if(s){let r=/(^|\s)(1?\d?\d)vw/g,i=[];for(let e;e=r.exec(s);)i.push(parseInt(e[2]));if(i.length){let r=.01*Math.min(...i);return{widths:t.filter(t=>t>=e[0]*r),kind:"w"}}return{widths:t,kind:"w"}}return"number"!=typeof r?{widths:e,kind:"w"}:{widths:[...new Set([r,2*r].map(e=>t.find(t=>t>=e)||t[t.length-1]))],kind:"x"}}(e,i,n),u=l.length-1;return{sizes:n||"w"!==d?n:"100vw",srcSet:l.map((r,s)=>`${o({config:e,src:t,quality:a,width:r})} ${"w"===d?r:s+1}${d}`).join(", "),src:o({config:e,src:t,quality:a,width:l[u]})}}({config:R,src:e,unoptimized:r,width:B,quality:G,sizes:t,loader:W}),Y=F?"lazy":c;return{props:{...L,loading:Y,fetchPriority:k,width:B,height:U,decoding:C,className:f,style:{...V,...K},sizes:J.sizes,srcSet:J.srcSet,src:x||J.src},meta:{unoptimized:r,preload:u||d,placeholder:b,fill:h}}}},55034,(e,t,r)=>{"use strict";function s({widthInt:e,heightInt:t,blurWidth:r,blurHeight:i,blurDataURL:a,objectFit:n}){let o=r?40*r:e,l=i?40*i:t,d=o&&l?`viewBox='0 0 ${o} ${l}'`:"";return`%3Csvg xmlns='http://www.w3.org/2000/svg' ${d}%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3CfeColorMatrix values='1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 100 -1' result='s'/%3E%3CfeFlood x='0' y='0' width='100%25' height='100%25'/%3E%3CfeComposite operator='out' in='s'/%3E%3CfeComposite in2='SourceGraphic'/%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3C/filter%3E%3Cimage width='100%25' height='100%25' x='0' y='0' preserveAspectRatio='${d?"none":"contain"===n?"xMidYMid":"cover"===n?"xMidYMid slice":"none"}' style='filter: url(%23b);' href='${a}'/%3E%3C/svg%3E`}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"getImageBlurSvg",{enumerable:!0,get:function(){return s}})},13521,(e,t,r)=>{"use strict";e.i(50461),Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"ImageConfigContext",{enumerable:!0,get:function(){return a}});let s=e.r(41705)._(e.r(91788)),i=e.r(15125),a=s.default.createContext(i.imageConfigDefault)},15125,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var s={VALID_LOADERS:function(){return a},imageConfigDefault:function(){return d},prepareImageConfig:function(){return l}};for(var i in s)Object.defineProperty(r,i,{enumerable:!0,get:s[i]});let a=["default","imgix","cloudinary","akamai","custom"],n={},o=new WeakMap;function l(e,t){let r=e??n,s=t??n,i=o.get(r);if(i){let e=i.get(s);if(e)return e}let a=e||t||d,l=[...a.deviceSizes].sort((e,t)=>e-t),u=[...a.imageSizes],c={deviceSizes:l,imageSizes:u,allSizes:[...l,...u].sort((e,t)=>e-t),qualities:void 0===a.qualities?void 0:[...a.qualities].sort((e,t)=>e-t),path:a.path,loader:a.loader,dangerouslyAllowSVG:a.dangerouslyAllowSVG,unoptimized:a.unoptimized,domains:a.domains,remotePatterns:a.remotePatterns,localPatterns:"u"<typeof window&&void 0!==t?t.localPatterns:a.localPatterns,output:a.output};return i||(i=new WeakMap,o.set(r,i)),i.set(s,c),c}let d={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],path:"/_next/image",loader:"default",loaderFile:"",domains:[],disableStaticImages:!1,minimumCacheTTL:14400,formats:["image/webp"],maximumDiskCacheSize:void 0,maximumRedirects:3,maximumResponseBody:5e7,dangerouslyAllowLocalIP:!1,dangerouslyAllowSVG:!1,contentSecurityPolicy:"script-src 'none'; frame-src 'none'; sandbox;",contentDispositionType:"attachment",localPatterns:void 0,remotePatterns:[],qualities:[75],unoptimized:!1,customCacheHandler:!1}},3866,(e,t,r)=>{"use strict";e.i(50461),Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"default",{enumerable:!0,get:function(){return n}});let s=e.r(15633),i=e.r(20262);function a({config:e,src:t,width:r,quality:n}){let o=(0,i.getDeploymentId)();if(t.startsWith("/")&&!t.startsWith("//"))if(t.includes("/_next/static/immutable")&&!(0,i.getAssetToken)())o=void 0;else{let e=t.indexOf("?");if(-1!==e){let r=new URLSearchParams(t.slice(e+1)),s=r.get("dpl");if(s){o=s,r.delete("dpl");let i=r.toString();t=t.slice(0,e)+(i?"?"+i:"")}}}if(t.startsWith("/")&&t.includes("?")&&e.localPatterns?.length===1&&"**"===e.localPatterns[0].pathname&&""===e.localPatterns[0].search)throw Error(`Image with src "${t}" is using a query string which is not configured in images.localPatterns.
217
+ Read more: https://nextjs.org/docs/messages/next-image-unconfigured-localpatterns`);let l=(0,s.findClosestQuality)(n,e);return`${e.path}?url=${encodeURIComponent(t)}&w=${r}&q=${l}${t.startsWith("/")&&o?`&dpl=${o}`:""}`}a.__next_img_default=!0;let n=a},60121,(e,t,r)=>{"use strict";var s=e.r(91788),i="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},a=s.useState,n=s.useEffect,o=s.useLayoutEffect,l=s.useDebugValue;function d(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!i(e,r)}catch(e){return!0}}var u="u"<typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var r=t(),s=a({inst:{value:r,getSnapshot:t}}),i=s[0].inst,u=s[1];return o(function(){i.value=r,i.getSnapshot=t,d(i)&&u({inst:i})},[e,r,t]),n(function(){return d(i)&&u({inst:i}),e(function(){d(i)&&u({inst:i})})},[e]),l(r),r};r.useSyncExternalStore=void 0!==s.useSyncExternalStore?s.useSyncExternalStore:u},90979,(e,t,r)=>{"use strict";e.i(50461),t.exports=e.r(60121)}]);
@@ -0,0 +1,5 @@
1
+ __turbopack_load_page_chunks__("/warehousing-provider/new", [
2
+ "static/chunks/1sf71q2hkno8s.js",
3
+ "static/chunks/30jqt_vus0ht9.js",
4
+ "static/chunks/turbopack-077hmtqrhcoji.js"
5
+ ])
@@ -0,0 +1,23 @@
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,77507,(e,a,s)=>{let t="/language";(window.__NEXT_P=window.__NEXT_P||[]).push([t,()=>e.r(11514)]),a.hot&&a.hot.dispose(function(){window.__NEXT_P.push([t])})},2875,e=>{"use strict";var a=e.i(91398),s=e.i(44112);e.s(["f",0,({title:e=null,description:t})=>(0,a.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,a.jsxs)("div",{className:"flex items-start gap-3",children:[(0,a.jsx)(s.f,{className:"w-5 h-5 text-blue-600 dark:text-blue-400 mt-0.5 flex-shrink-0"}),(0,a.jsxs)("div",{children:[e&&(0,a.jsx)("h3",{className:"text-sm font-semibold text-blue-900 dark:text-blue-100 mb-2",children:e}),(0,a.jsx)("p",{className:"text-sm text-blue-800 dark:text-blue-200 leading-relaxed",children:t})]})]})})])},95148,e=>{"use strict";var a=e.i(91398),s=e.i(69322),t=e.i(66773),i=e.i(58971),l=e.i(64591),n=e.i(69211),g=e.i(99160),u=e.i(45229),d=e.i(98949),r=e.i(82226);e.s(["f",0,({onSubmit:e,onSubmitSuccess:o=null,isEdit:c=!1,defaultValue:f})=>{let{formatMessage:h}=(0,s.S)(),{hasRole:x}=(0,i.f)(),m=h({id:"language_added",defaultMessage:"Language added successfully!"}),v=h({id:"language_updated",defaultMessage:"Language updated successfully!"}),j=(0,d.f)({submit:e,onSubmitSuccess:o,successMessage:c?v:m,getSubmitErrorMessage:e=>{if(e?.message?.includes("duplicate"))return j.formik.setFieldError("isoCode",h({id:"language_exists",defaultMessage:"Language with the same ISO code already exists"})),""},enableReinitialize:!0,initialValues:{isoCode:"",isActive:"",...f}});return(0,a.jsxs)(n.f,{form:j,children:[(0,a.jsxs)("div",{className:"p-5",children:[(0,a.jsx)(u.f,{name:"isoCode",disabled:!x(t.C.ManageLanguages),id:"isoCode",validators:[(0,r.y)()],label:h({id:"iso_code",defaultMessage:"ISO code"}),autoComplete:"on",required:!0}),c&&(0,a.jsx)("div",{className:"mt-5 flex items-center flex-wrap",children:(0,a.jsx)(l.f,{toggleText:h({id:"active",defaultMessage:"Active"}),disabled:!x(t.C.ManageLanguages),active:j.formik.values.isActive,onToggle:()=>j.formik.setFieldValue("isActive",!j.formik.values.isActive)})})]}),x(t.C.ManageLanguages)&&(0,a.jsx)("div",{className:"border-t-slate-100 border-t dark:border-t-slate-700 mt-5 space-y-6 bg-slate-50 dark:bg-slate-900 p-5 text-right",children:(0,a.jsx)(g.f,{label:c?h({id:"update_language",defaultMessage:"Update Language"}):h({id:"add_language",defaultMessage:"Add Language"})})})]})}])},89062,e=>{"use strict";var a=e.i(59080),s=e.i(32171),t=e.i(70693),i=e.i(95064);e.s(["f",0,({languageId:e})=>{let{customProperties:l}=(0,t.f)(),{data:n,loading:g,error:u}=(0,s.f)(((e="")=>a.f`
2
+ query Language($languageId: ID!) {
3
+ language(languageId: $languageId) {
4
+ ...LanguageFragment
5
+ ${e}
6
+ }
7
+ }
8
+ ${i.f}
9
+ `)(l?.Language),{skip:!e,variables:{languageId:e}});return{language:n?.language,loading:g,error:u}}])},83735,e=>{"use strict";var a=e.i(59080),s=e.i(76204),t=e.i(95064);let i=a.f`
10
+ mutation RemoveLanguage($languageId: ID!) {
11
+ removeLanguage(languageId: $languageId) {
12
+ ...LanguageFragment
13
+ }
14
+ }
15
+ ${t.f}
16
+ `;e.s(["f",0,()=>{let[e]=(0,s.f)(i);return{removeLanguage:async({languageId:a})=>e({variables:{languageId:a},refetchQueries:["ShopStatus","ShopInfo","Languages"]})}}])},98450,e=>{"use strict";var a=e.i(91398),s=e.i(3828),t=e.i(66773),i=e.i(69322),l=e.i(28401),n=e.i(95148),g=e.i(89062),u=e.i(83735),d=e.i(59080),r=e.i(76204),o=e.i(95064);let c=d.f`
17
+ mutation UpdateLanguage($language: UpdateLanguageInput!, $languageId: ID!) {
18
+ updateLanguage(language: $language, languageId: $languageId) {
19
+ ...LanguageFragment
20
+ }
21
+ }
22
+ ${o.f}
23
+ `;var f=e.i(17644),h=e.i(61494),x=e.i(15971),m=e.i(6607),v=e.i(81359),j=e.i(5505),b=e.i(12197),p=e.i(58971);e.s(["default",0,({languageId:e})=>{let{updateLanguage:d}=(()=>{let[e]=(0,r.f)(c);return{updateLanguage:async({language:{isoCode:a,isActive:s},languageId:t})=>e({variables:{language:{isoCode:a,isActive:s},languageId:t},refetchQueries:["ShopStatus","ShopInfo","Languages"]})}})(),{push:o}=(0,s.useRouter)(),{setModal:_}=(0,m.f)(),{removeLanguage:w}=(0,u.f)(),{language:C,loading:y}=(0,g.f)({languageId:e}),{hasRole:M}=(0,p.f)(),{formatMessage:L,locale:I}=(0,i.S)(),k=async({isoCode:a,isActive:s})=>(await d({language:{isoCode:a,isActive:s},languageId:e}),!0),N=async()=>{await _((0,a.jsx)(x.f,{onCancelClick:async()=>_(""),message:L({id:"delete_language_confirmation",defaultMessage:"This action might cause inconsistencies with other data that relates to it. Are you sure you want to delete this language?"}),onOkClick:async()=>{_(""),await w({languageId:e}),l.c.success(L({id:"language_deleted",defaultMessage:"Language deleted successfully"})),o("/language")},okText:L({id:"delete_language",defaultMessage:"Delete language"})}))},S=e=>e?`${new Intl.DisplayNames([I],{type:"language"}).of(C.isoCode)} (${e})`:"";return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(h.f,{currentPageTitle:S(C?.isoCode)}),(0,a.jsxs)("div",{className:"items-center flex min-w-full justify-between gap-3 flex-wrap",children:[(0,a.jsx)(f.f,{headerText:S(C?.isoCode)}),M(t.C.ManageLanguages)&&(0,a.jsx)(v.f,{onClick:N})]}),y?(0,a.jsx)(b.f,{}):(0,a.jsx)("div",{className:"mx-auto mt-6 sm:max-w-xl",children:(0,a.jsx)(j.U,{children:(0,a.jsx)(n.f,{isEdit:!0,defaultValue:C,onSubmit:k})})})]})}],98450)},11514,e=>{"use strict";var a=e.i(91398),s=e.i(69322),t=e.i(66773),i=e.i(28401),l=e.i(3828),n=e.i(51713),g=e.i(58971),u=e.i(8918),d=e.i(65153),r=e.i(3095),o=e.i(83147);let c=({language:e,onRemove:t,enableEdit:i,enableDelete:n})=>{let{locale:g,formatMessage:c}=(0,s.S)(),f=(0,l.useRouter)(),h={true:c({id:"active",defaultMessage:"Active"}),false:c({id:"in_active",defaultMessage:"In-Active"})},x=async()=>{await t(e?._id)};return(0,a.jsxs)(u.f.Row,{className:"text-sm",children:[(0,a.jsx)(u.f.Cell,{children:(0,a.jsxs)("div",{children:[e.isoCode,e.isBase&&(0,a.jsx)(d.f,{text:c({id:"base_language",defaultMessage:"Base"}),className:"ml-2 text-sm",color:"sky",square:!0})]})}),(0,a.jsx)(u.f.Cell,{children:(0,o.I)(g,e?.isoCode,!1)}),(0,a.jsx)(u.f.Cell,{children:(0,a.jsx)(d.f,{text:h[e.isActive],color:e.isActive?"emerald":"amber",square:!0})}),(i||n)&&(0,a.jsx)(u.f.Cell,{children:(0,a.jsx)(r.f,{onEdit:i?()=>{f.push(`/language?languageId=${e?._id}`)}:void 0,onDelete:n?x:void 0,showEdit:i,showDelete:n})})]})},f=({languages:e,onRemoveLanguage:i,sortable:l})=>{let{formatMessage:n}=(0,s.S)(),{hasRole:d}=(0,g.f)();return(0,a.jsxs)(u.f,{className:"min-w-full ",children:[e?.map(e=>(0,a.jsxs)(u.f.Row,{header:!0,enablesort:l,children:[(0,a.jsx)(u.f.Cell,{sortKey:"isoCode",children:n({id:"iso_code",defaultMessage:"ISO code"})}),(0,a.jsx)(u.f.Cell,{children:n({id:"name",defaultMessage:"Name"})}),(0,a.jsx)(u.f.Cell,{sortKey:"isActive",children:n({id:"status",defaultMessage:"Status"})}),(0,a.jsx)(u.f.Cell,{children:(0,a.jsxs)("span",{className:"sr-only",children:[n({id:"edit",defaultMessage:"Edit"}),n({id:"delete",defaultMessage:"Delete"})]})})]},e._id)),e?.map(e=>(0,a.jsx)(c,{language:e,onRemove:i,enableEdit:d(t.C.ViewLanguage),enableDelete:d(t.C.ManageCountries)},`${e?._id}`))]})};var h=e.i(83735),x=e.i(60193),m=e.i(17644),v=e.i(61494),j=e.i(94724),b=e.i(64591),p=e.i(78704),_=e.i(6607),w=e.i(15971),C=e.i(12197),y=e.i(51128),M=e.i(98450),L=e.i(74954),I=e.i(2875);e.s(["default",0,()=>{let{formatMessage:e}=(0,s.S)(),{query:u,push:d}=(0,l.useRouter)(),{hasRole:r}=(0,g.f)(),c=parseInt(u?.limit,10)||x.h,k=parseInt(u?.skip,10)||0,N=u?.includeInactive==="true"||!u?.includeInactive,S=u?.sort||"",{queryString:A,languageId:T,...$}=u,E=(0,o.R)(S),{languages:R,languagesCount:D,loading:U,loadMore:q,hasMore:O}=(0,n.f)({queryString:A,limit:c,includeInactive:N,offset:k,sort:E}),{setModal:F}=(0,_.f)(),{removeLanguage:P}=(0,h.f)();if(T)return(0,a.jsx)(M.default,{languageId:T});let B=async s=>{await F((0,a.jsx)(w.f,{onCancelClick:async()=>F(""),message:e({id:"delete_language_confirmation",defaultMessage:"This action might cause inconsistencies with other data that relates to it. Are you sure you want to delete this language? "}),onOkClick:async()=>{F(""),await P({languageId:s}),i.c.success(e({id:"language_deleted",defaultMessage:"Language deleted successfully"}))},okText:e({id:"delete_language",defaultMessage:"Delete language"})}))},V=1===D?e({id:"language_header",defaultMessage:"1 Language"}):e({id:"language_count_header",defaultMessage:"{count} Languages"},{count:(0,a.jsx)(L.f,{value:D})});return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(v.f,{}),(0,a.jsx)(I.f,{title:e({id:"default_language_info_title",defaultMessage:"About base language"}),description:e({id:"default_language_info_description",defaultMessage:"If you support multiple languages, please set the base language by adjusting the environment variable UNCHAINED_LANG, for ex. UNCHAINED_LANG=en. That way, Unchained knows what localization needs to be sent if the user agent's language is unknown"})}),(0,a.jsx)(m.f,{title:e({id:"language_page_title",defaultMessage:"{count, plural, one {# Language} other {# Languages}}"},{count:D}),headerText:V,addPath:r(t.C.ManageLanguages)&&"/language/new",addButtonText:e({id:"add_language",defaultMessage:"Add Language"})}),(0,a.jsxs)("div",{className:"min-w-full overflow-x-auto px-1",children:[(0,a.jsx)(j.f,{children:(0,a.jsx)(b.f,{toggleText:e({id:"show_inactive",defaultMessage:"Show Inactive"}),toggleKey:"includeInactive",active:N})}),(0,a.jsx)(y.f,{onSearchChange:e=>{let{skip:a,...s}=$;e?d({query:(0,o._)(s,e,"queryString")}):d({query:(0,o._)($)})},defaultSearchValue:A,children:(0,a.jsx)(p.f,{loading:U,hasMore:O,onLoadMore:q,children:U&&R?.length===0?(0,a.jsx)(C.f,{}):(0,a.jsx)(f,{sortable:!0,languages:R,onRemoveLanguage:B})})})]})]})}],11514)},44112,e=>{"use strict";var a=e.i(91788);let s=a.forwardRef(function({title:e,titleId:s,...t},i){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:i,"aria-labelledby":s},t),e?a.createElement("title",{id:s},e):null,a.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,s],44112)}]);
@@ -0,0 +1,13 @@
1
+ __turbopack_load_page_chunks__("/products/ProductDetailPage", [
2
+ "static/chunks/0p7said9rdor1.js",
3
+ "static/chunks/22odam86c8kps.js",
4
+ "static/chunks/1a120nyn1xssj.js",
5
+ "static/chunks/0jol393fjamwq.js",
6
+ "static/chunks/2tltorbhbyodj.js",
7
+ "static/chunks/096x-m7s73l-c.js",
8
+ "static/chunks/1---h4b693b81.js",
9
+ "static/chunks/2hqwx9e8xxk58.js",
10
+ "static/chunks/30jqt_vus0ht9.js",
11
+ "static/chunks/2dem0g4wrt39t.js",
12
+ "static/chunks/turbopack-077hmtqrhcoji.js"
13
+ ])
@@ -0,0 +1 @@
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,26178,e=>{"use strict";var t=e.i(91398),n=e.i(91788);let r=n.forwardRef(function({title:e,titleId:t,...r},a){return n.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},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M18.364 18.364A9 9 0 0 0 5.636 5.636m12.728 12.728A9 9 0 0 1 5.636 5.636m12.728 12.728L5.636 5.636"}))});var a=e.i(72043),i=e.i(69322);e.s(["f",0,({message:e,className:n="",Icon:o=null})=>(0,t.jsx)("div",{className:(0,a.default)("rounded-md flex w-full flex-col items-center justify-center min-h-[176px] py-8 border-1 border-dashed border-slate-300 dark:border-slate-700 text-slate-500 dark:text-slate-600",n),children:(0,t.jsxs)("div",{className:"grid items-center justify-center",children:[(0,t.jsx)("div",{className:"flex items-center justify-center text-slate-400 dark:text-slate-600",children:o||(0,t.jsx)(r,{className:"h-6 w-6"})}),(0,t.jsx)(i.K,{id:"no_data_message",defaultMessage:"<p>No <span> {message} available</span> </p>",values:{p:e=>(0,t.jsx)("p",{className:"mt-2 m-auto flex items-center justify-center",children:e}),span:e=>(0,t.jsxs)("span",{className:"capitalize ml-1",children:[" ",e," "]}),message:e}})]})})],26178)},8918,e=>{"use strict";var t=e.i(91398),n=e.i(91788),r=e.i(72043),a=e.i(69322),i=e.i(88566),o=e.i(25575),l=e.i(3828),s=e.i(83147);let u=({onSort:e,sortDirection:n})=>n?"ASC"===n?(0,t.jsx)(o.f,{className:"ml-2 w-5 h-5 text-slate-700",onClick:e}):(0,t.jsx)(i.f,{className:"ml-2 w-5 h-5 text-slate-700",onClick:e}):(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:"ml-2 w-6 h-6",onClick:e,children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8.25 15L12 18.75 15.75 15m-7.5-6L12 5.25 15.75 9"})});var d=e.i(26178);let c=e=>{let t=[],r=[],a=[];return n.default.Children.forEach(e.children,e=>{e?.props?.header?t.push(e):e?.props?.footer?a.push(e):r.push(e)}),{header:t,footer:a,body:r}},h=({className:e="",...i})=>{let[o,l]=(0,n.useState)(c(i)),{formatMessage:s}=(0,a.S)(),u={...o,header:n.default.Children.map(o.header,e=>n.default.cloneElement(e))};return(0,n.useEffect)(()=>{l(c(i))},[i.children]),u.header.length||u.body.length?(0,t.jsxs)("table",{className:(0,r.default)("overflow-hidden my-3 flex w-full flex-row flex-nowrap divide-y divide-slate-200 dark:divide-slate-600 shadow-sm sm:rounded-lg sm:bg-white dark:bg-slate-950",e),...i,children:[(0,t.jsx)("thead",{className:"hidden sm:table-header-group bg-slate-100 dark:bg-slate-700 text-sm text-slate-700 dark:text-slate-200",children:u.header}),u.body.length?(0,t.jsx)("tbody",{className:"space-y-4 sm:space-y-0 flex-1 sm:divide-y divide-slate-200 dark:divide-slate-700 sm:bg-white dark:sm:bg-slate-800 sm:flex-none",children:u.body}):null,u.footer.length?(0,t.jsx)("tfoot",{children:u.footer}):null]}):(0,t.jsx)(d.f,{message:s({id:"data",defaultMessage:"Data"})})};h.Row=({className:e="",children:a=[],header:i=!1,enablesort:o=!1,...l})=>{let s=n.default.Children.map(a,e=>n.default?.cloneElement(e||(0,t.jsx)("span",{}),{header:i,enablesort:o}));return(0,t.jsx)("tr",{className:(0,r.default)("grid grid-cols-1 auto-rows-fr border border-slate-100 dark:border-slate-700 sm:border-0 rounded-md sm:mb-0 sm:table-row sm:rounded-none bg-white dark:bg-slate-800 sm:bg-inherit dark:sm:bg-inherit",e),...l,children:s})},h.Cell=({className:e="",header:n=!1,enablesort:a=!1,children:i,sortKey:o=null,defaultSortDirection:d=null,...c})=>{let h=(0,l.useRouter)(),m=(0,s.v)(h.query?.sort),f=n?"th":"td";return(0,t.jsx)(f,{className:(0,r.default)(n?"px-4 py-3 text-left text-slate-500 dark:text-slate-200":"whitespace-nowrap px-4 py-3 text-slate-500 dark:text-slate-200 border-b dark:border-slate-300 last:border-b-0 sm:border-b-0 text-left flex items-center sm:table-cell",e),...c,children:(0,t.jsxs)("div",{className:"flex items-center",children:[i,"th"===f&&a&&o&&(0,t.jsx)(u,{onSort:e=>{var t;let n;e.preventDefault(),((t=m[o])?"ASC"===t?"DESC":null:"ASC")||!m[o]?n={...m,[o]:"ASC"===m[o]?"DESC":"ASC"}:(delete m[o],n=m);let r=Object.entries(n).map(([e,t])=>[e,t].join("_")).join(","),{sort:a,...i}=h.query,l=Object.keys(i).map(e=>[e,i[e]].join("=")).join("&"),u=0===Object.keys(i).length?`${h.basePath}?sort=${r}`:`${h.basePath}?${l}&sort=${r}`;r?h.push(u):h.push({query:(0,s._)(i)})},sortDirection:Object.keys(m).length?m[o]:d})]})})},e.s(["f",0,h],8918)},84818,e=>{"use strict";var t=e.i(92042);e.i(27861);let n={year:0,month:1,day:2,hour:3,minute:4,second:5},r={},a=new Intl.DateTimeFormat("en-US",{hourCycle:"h23",timeZone:"America/New_York",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}).format(new Date("2014-06-25T04:00:00.123Z")),i="06/25/2014, 00:00:00"===a||"‎06‎/‎25‎/‎2014‎ ‎00‎:‎00‎:‎00"===a;function o(e,t,n,r,a,i,o){let l=new Date(0);return l.setUTCFullYear(e,t,n),l.setUTCHours(r,a,i,o),l}let l=/^(Z)$/,s=/^([+-]\d{2})$/,u=/^([+-])(\d{2}):?(\d{2})$/;function d(e,t,n){let r,a;if(!e)return 0;let i=l.exec(e);if(i)return 0;if(i=s.exec(e))return h(r=parseInt(i[1],10))?-(36e5*r):0/0;if(i=u.exec(e)){r=parseInt(i[2],10);let e=parseInt(i[3],10);return h(r,e)?(a=36e5*Math.abs(r)+6e4*e,"+"===i[1]?-a:a):0/0}if(function(e){if(m[e])return!0;try{return new Intl.DateTimeFormat(void 0,{timeZone:e}),m[e]=!0,!0}catch(e){return!1}}(e)){var d;t=new Date(t||Date.now());let r=c(n?t:o((d=t).getFullYear(),d.getMonth(),d.getDate(),d.getHours(),d.getMinutes(),d.getSeconds(),d.getMilliseconds()),e);return-(n?r:function(e,t,n){let r=e.getTime()-t,a=c(new Date(r),n);if(t===a)return t;let i=c(new Date(r-=a-t),n);return a===i?a:Math.max(a,i)}(t,r,e))}return 0/0}function c(e,t){var a,l,s;let u,d,c,h=(r[a=t]||(r[a]=i?new Intl.DateTimeFormat("en-US",{hourCycle:"h23",timeZone:a,year:"numeric",month:"numeric",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}):new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:a,year:"numeric",month:"numeric",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"})),"formatToParts"in(c=r[a])?function(e,t){try{let r=e.formatToParts(t),a=[];for(let e=0;e<r.length;e++){let t=n[r[e].type];void 0!==t&&(a[t]=parseInt(r[e].value,10))}return a}catch(e){if(e instanceof RangeError)return[0/0];throw e}}(c,e):(l=c,s=e,u=l.format(s),[parseInt((d=/(\d+)\/(\d+)\/(\d+),? (\d+):(\d+):(\d+)/.exec(u))[3],10),parseInt(d[1],10),parseInt(d[2],10),parseInt(d[4],10),parseInt(d[5],10),parseInt(d[6],10)])),m=o(h[0],h[1]-1,h[2],h[3]%24,h[4],h[5],0).getTime(),f=e.getTime(),g=f%1e3;return m-(f-=g>=0?g:1e3+g)}function h(e,t){return -23<=e&&e<=23&&(null==t||0<=t&&t<=59)}let m={};function f(e){let t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.setUTCFullYear(e.getFullYear()),e-t}let g=/(Z|[+-]\d{2}(?::?\d{2})?| UTC| [a-zA-Z]+\/[a-zA-Z_]+(?:\/[a-zA-Z_]+)?)$/,w=/^([0-9W+-]+)(T| )(.*)/,b=/^([0-9W+-]+)(.*)/,p=/^(\d{2})$/,y=[/^([+-]\d{2})$/,/^([+-]\d{3})$/,/^([+-]\d{4})$/],v=/^(\d{4})/,x=[/^([+-]\d{4})/,/^([+-]\d{5})/,/^([+-]\d{6})/],M=/^-(\d{2})$/,D=/^-?(\d{3})$/,k=/^-?(\d{2})-?(\d{2})$/,T=/^-?W(\d{2})$/,S=/^-?W(\d{2})-?(\d{1})$/,C=/^(\d{2}([.,]\d*)?)$/,P=/^(\d{2}):?(\d{2}([.,]\d*)?)$/,j=/^(\d{2}):?(\d{2}):?(\d{2}([.,]\d*)?)$/;function W(e,t={}){if(arguments.length<1)throw TypeError("1 argument required, but only "+arguments.length+" present");if(null===e)return new Date(0/0);let n=null==t.additionalDigits?2:Number(t.additionalDigits);if(2!==n&&1!==n&&0!==n)throw RangeError("additionalDigits must be 0, 1 or 2");if(e instanceof Date||"object"==typeof e&&"[object Date]"===Object.prototype.toString.call(e))return new Date(e.getTime());if("number"==typeof e||"[object Number]"===Object.prototype.toString.call(e))return new Date(e);if("[object String]"!==Object.prototype.toString.call(e))return new Date(0/0);let r=function(e){let t,n={},r=w.exec(e);if(r?(n.date=r[1],t=r[3]):(r=b.exec(e))?(n.date=r[1],t=r[2]):(n.date=null,t=e),t){let e=g.exec(t);e?(n.time=t.replace(e[1],""),n.timeZone=e[1].trim()):n.time=t}return n}(e),{year:a,restDateString:i}=function(e,t){if(e){let n=y[t],r=x[t],a=v.exec(e)||r.exec(e);if(a){let t=a[1];return{year:parseInt(t,10),restDateString:e.slice(t.length)}}if(a=p.exec(e)||n.exec(e)){let t=a[1];return{year:100*parseInt(t,10),restDateString:e.slice(t.length)}}}return{year:null}}(r.date,n),o=function(e,t){let n,r,a;if(null===t)return null;if(!e||!e.length)return(n=new Date(0)).setUTCFullYear(t),n;let i=M.exec(e);if(i)return(n=new Date(0),O(t,r=parseInt(i[1],10)-1))?(n.setUTCFullYear(t,r),n):new Date(0/0);if(i=D.exec(e)){n=new Date(0);let e=parseInt(i[1],10);return!function(e,t){if(t<1)return!1;let n=E(e);return(!n||!(t>366))&&(!!n||!(t>365))}(t,e)?new Date(0/0):(n.setUTCFullYear(t,0,e),n)}if(i=k.exec(e)){n=new Date(0),r=parseInt(i[1],10)-1;let e=parseInt(i[2],10);return O(t,r,e)?(n.setUTCFullYear(t,r,e),n):new Date(0/0)}if(i=T.exec(e))return q(a=parseInt(i[1],10)-1)?N(t,a):new Date(0/0);if(i=S.exec(e)){a=parseInt(i[1],10)-1;let e=parseInt(i[2],10)-1;return q(a,e)?N(t,a,e):new Date(0/0)}return null}(i,a);if(null===o||isNaN(o.getTime())||!o)return new Date(0/0);{let e,n=o.getTime(),a=0;if(r.time&&(null===(a=function(e){let t,n,r=C.exec(e);if(r)return I(t=parseFloat(r[1].replace(",",".")))?t%24*36e5:0/0;if(r=P.exec(e))return I(t=parseInt(r[1],10),n=parseFloat(r[2].replace(",",".")))?t%24*36e5+6e4*n:0/0;if(r=j.exec(e)){t=parseInt(r[1],10),n=parseInt(r[2],10);let e=parseFloat(r[3].replace(",","."));return I(t,n,e)?t%24*36e5+6e4*n+1e3*e:0/0}return null}(r.time))||isNaN(a)))return new Date(0/0);if(r.timeZone||t.timeZone){if(isNaN(e=d(r.timeZone||t.timeZone,new Date(n+a))))return new Date(0/0)}else e=f(new Date(n+a)),e=f(new Date(n+a+e));return new Date(n+a+e)}}function N(e,t,n){t=t||0,n=n||0;let r=new Date(0);r.setUTCFullYear(e,0,4);let a=7*t+n+1-(r.getUTCDay()||7);return r.setUTCDate(r.getUTCDate()+a),r}let F=[31,28,31,30,31,30,31,31,30,31,30,31],Y=[31,29,31,30,31,30,31,31,30,31,30,31];function E(e){return e%400==0||e%4==0&&e%100!=0}function O(e,t,n){if(t<0||t>11)return!1;if(null!=n){if(n<1)return!1;let r=E(e);if(r&&n>Y[t]||!r&&n>F[t])return!1}return!0}function q(e,t){return!(e<0)&&!(e>52)&&(null==t||!(t<0)&&!(t>6))}function I(e,t,n){return!(e<0)&&!(e>=25)&&(null==t||!(t<0)&&!(t>=60))&&(null==n||!(n<0)&&!(n>=60))}e.s(["f",0,()=>({formatDateTime:(e,t={})=>e&&Date.parse(e)?Intl.DateTimeFormat(void 0,t).format(new Date(e).getTime()):"n/a",getDateFormatPattern:()=>new Intl.DateTimeFormat(void 0).formatToParts(new Date).map(e=>{switch(e.type){case"day":return"d".repeat(e.value.length);case"month":return"M".repeat(e.value.length);case"year":return"y".repeat(e.value.length);case"literal":return e.value;default:return"dd.mm.yyyy"}}).join(""),parseDate:e=>(0,t.f)(function(e,t){if("string"==typeof e&&!e.match(g))return W(e,{timeZone:t});let n=o((e=W(e,void 0)).getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()).getTime(),r=d(t,new Date(n));return new Date(n+r)}(e,Intl.DateTimeFormat().resolvedOptions().timeZone),"yyyy-MM-dd")})],84818)},88566,25575,e=>{"use strict";var t=e.i(91788);let n=t.forwardRef(function({title:e,titleId:n,...r},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":n},r),e?t.createElement("title",{id:n},e):null,t.createElement("path",{fillRule:"evenodd",d:"M5.22 8.22a.75.75 0 0 1 1.06 0L10 11.94l3.72-3.72a.75.75 0 1 1 1.06 1.06l-4.25 4.25a.75.75 0 0 1-1.06 0L5.22 9.28a.75.75 0 0 1 0-1.06Z",clipRule:"evenodd"}))});e.s(["f",0,n],88566);let r=t.forwardRef(function({title:e,titleId:n,...r},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":n},r),e?t.createElement("title",{id:n},e):null,t.createElement("path",{fillRule:"evenodd",d:"M9.47 6.47a.75.75 0 0 1 1.06 0l4.25 4.25a.75.75 0 1 1-1.06 1.06L10 8.06l-3.72 3.72a.75.75 0 0 1-1.06-1.06l4.25-4.25Z",clipRule:"evenodd"}))});e.s(["f",0,r],25575)},92042,50216,27861,57322,24323,e=>{"use strict";let t={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};function n(e){return (t={})=>{let n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}let r={date:n({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:n({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:n({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},a={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function i(e){return(t,n)=>{let r;if("formatting"===(n?.context?String(n.context):"standalone")&&e.formattingValues){let t=e.defaultFormattingWidth||e.defaultWidth,a=n?.width?String(n.width):t;r=e.formattingValues[a]||e.formattingValues[t]}else{let t=e.defaultWidth,a=n?.width?String(n.width):e.defaultWidth;r=e.values[a]||e.values[t]}return r[e.argumentCallback?e.argumentCallback(t):t]}}function o(e){return(t,n={})=>{let r,a=n.width,i=a&&e.matchPatterns[a]||e.matchPatterns[e.defaultMatchWidth],o=t.match(i);if(!o)return null;let l=o[0],s=a&&e.parsePatterns[a]||e.parsePatterns[e.defaultParseWidth],u=Array.isArray(s)?function(e,t){for(let n=0;n<e.length;n++)if(t(e[n]))return n}(s,e=>e.test(l)):function(e,t){for(let n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t(e[n]))return n}(s,e=>e.test(l));return r=e.valueCallback?e.valueCallback(u):u,{value:r=n.valueCallback?n.valueCallback(r):r,rest:t.slice(l.length)}}}let l={code:"en-US",formatDistance:(e,n,r)=>{let a,i=t[e];if(a="string"==typeof i?i:1===n?i.one:i.other.replace("{{count}}",n.toString()),r?.addSuffix)if(r.comparison&&r.comparison>0)return"in "+a;else return a+" ago";return a},formatLong:r,formatRelative:(e,t,n,r)=>a[e],localize:{ordinalNumber:(e,t)=>{let n=Number(e),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:i({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:i({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:i({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:i({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:i({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:(d={matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)},(e,t={})=>{let n=e.match(d.matchPattern);if(!n)return null;let r=n[0],a=e.match(d.parsePattern);if(!a)return null;let i=d.valueCallback?d.valueCallback(a[0]):a[0];return{value:i=t.valueCallback?t.valueCallback(i):i,rest:e.slice(r.length)}}),era:o({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:o({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:o({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:o({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:o({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}};e.s(["f",0,l],50216);let s={};function u(){return s}e.s(["f",0,u],27861);var d,c=e.i(35113);function h(e){let t=(0,c.f)(e),n=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return n.setUTCFullYear(t.getFullYear()),e-n}e.s(["f",0,h],57322);var m=e.i(98170);function f(e,...t){let n=m.f.bind(null,e||t.find(e=>"object"==typeof e));return t.map(n)}e.s(["f",0,f],24323);var g=e.i(2848),w=e.i(49543);function b(e,t){let n=u(),r=t?.weekStartsOn??t?.locale?.options?.weekStartsOn??n.weekStartsOn??n.locale?.options?.weekStartsOn??0,a=(0,c.f)(e,t?.in),i=a.getDay();return a.setDate(a.getDate()-(7*(i<r)+i-r)),a.setHours(0,0,0,0),a}function p(e,t){return b(e,{...t,weekStartsOn:1})}function y(e,t){let n=(0,c.f)(e,t?.in),r=n.getFullYear(),a=(0,m.f)(n,0);a.setFullYear(r+1,0,4),a.setHours(0,0,0,0);let i=p(a),o=(0,m.f)(n,0);o.setFullYear(r,0,4),o.setHours(0,0,0,0);let l=p(o);return n.getTime()>=i.getTime()?r+1:n.getTime()>=l.getTime()?r:r-1}function v(e,t){let n=(0,c.f)(e,t?.in),r=n.getFullYear(),a=u(),i=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??a.firstWeekContainsDate??a.locale?.options?.firstWeekContainsDate??1,o=(0,m.f)(t?.in||e,0);o.setFullYear(r+1,0,i),o.setHours(0,0,0,0);let l=b(o,t),s=(0,m.f)(t?.in||e,0);s.setFullYear(r,0,i),s.setHours(0,0,0,0);let d=b(s,t);return+n>=+l?r+1:+n>=+d?r:r-1}function x(e,t){let n=Math.abs(e).toString().padStart(t,"0");return(e<0?"-":"")+n}let M={y(e,t){let n=e.getFullYear(),r=n>0?n:1-n;return x("yy"===t?r%100:r,t.length)},M(e,t){let n=e.getMonth();return"M"===t?String(n+1):x(n+1,2)},d:(e,t)=>x(e.getDate(),t.length),a(e,t){let n=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];default:return"am"===n?"a.m.":"p.m."}},h:(e,t)=>x(e.getHours()%12||12,t.length),H:(e,t)=>x(e.getHours(),t.length),m:(e,t)=>x(e.getMinutes(),t.length),s:(e,t)=>x(e.getSeconds(),t.length),S(e,t){let n=t.length;return x(Math.trunc(e.getMilliseconds()*Math.pow(10,n-3)),t.length)}},D={G:function(e,t,n){let r=+(e.getFullYear()>0);switch(t){case"G":case"GG":case"GGG":return n.era(r,{width:"abbreviated"});case"GGGGG":return n.era(r,{width:"narrow"});default:return n.era(r,{width:"wide"})}},y:function(e,t,n){if("yo"===t){let t=e.getFullYear();return n.ordinalNumber(t>0?t:1-t,{unit:"year"})}return M.y(e,t)},Y:function(e,t,n,r){let a=v(e,r),i=a>0?a:1-a;return"YY"===t?x(i%100,2):"Yo"===t?n.ordinalNumber(i,{unit:"year"}):x(i,t.length)},R:function(e,t){return x(y(e),t.length)},u:function(e,t){return x(e.getFullYear(),t.length)},Q:function(e,t,n){let r=Math.ceil((e.getMonth()+1)/3);switch(t){case"Q":return String(r);case"QQ":return x(r,2);case"Qo":return n.ordinalNumber(r,{unit:"quarter"});case"QQQ":return n.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(r,{width:"narrow",context:"formatting"});default:return n.quarter(r,{width:"wide",context:"formatting"})}},q:function(e,t,n){let r=Math.ceil((e.getMonth()+1)/3);switch(t){case"q":return String(r);case"qq":return x(r,2);case"qo":return n.ordinalNumber(r,{unit:"quarter"});case"qqq":return n.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(r,{width:"narrow",context:"standalone"});default:return n.quarter(r,{width:"wide",context:"standalone"})}},M:function(e,t,n){let r=e.getMonth();switch(t){case"M":case"MM":return M.M(e,t);case"Mo":return n.ordinalNumber(r+1,{unit:"month"});case"MMM":return n.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(r,{width:"narrow",context:"formatting"});default:return n.month(r,{width:"wide",context:"formatting"})}},L:function(e,t,n){let r=e.getMonth();switch(t){case"L":return String(r+1);case"LL":return x(r+1,2);case"Lo":return n.ordinalNumber(r+1,{unit:"month"});case"LLL":return n.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(r,{width:"narrow",context:"standalone"});default:return n.month(r,{width:"wide",context:"standalone"})}},w:function(e,t,n,r){let a,i,o,l,s,d=Math.round((b(a=(0,c.f)(e,r?.in),r)-(i=u(),o=r?.firstWeekContainsDate??r?.locale?.options?.firstWeekContainsDate??i.firstWeekContainsDate??i.locale?.options?.firstWeekContainsDate??1,l=v(a,r),(s=(0,m.f)(r?.in||a,0)).setFullYear(l,0,o),s.setHours(0,0,0,0),b(s,r)))/g.A)+1;return"wo"===t?n.ordinalNumber(d,{unit:"week"}):x(d,t.length)},I:function(e,t,n){let r,a,i,o=Math.round((p(r=(0,c.f)(e,void 0))-(a=y(r,void 0),(i=(0,m.f)(r,0)).setFullYear(a,0,4),i.setHours(0,0,0,0),p(i)))/g.A)+1;return"Io"===t?n.ordinalNumber(o,{unit:"week"}):x(o,t.length)},d:function(e,t,n){return"do"===t?n.ordinalNumber(e.getDate(),{unit:"date"}):M.d(e,t)},D:function(e,t,n){let r,a,i=function(e,t){let[n,r]=f(void 0,e,t),a=(0,w.f)(n),i=(0,w.f)(r);return Math.round((a-h(a)-(i-h(i)))/g._)}(r=(0,c.f)(e,void 0),((a=(0,c.f)(r,void 0)).setFullYear(a.getFullYear(),0,1),a.setHours(0,0,0,0),a))+1;return"Do"===t?n.ordinalNumber(i,{unit:"dayOfYear"}):x(i,t.length)},E:function(e,t,n){let r=e.getDay();switch(t){case"E":case"EE":case"EEE":return n.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},e:function(e,t,n,r){let a=e.getDay(),i=(a-r.weekStartsOn+8)%7||7;switch(t){case"e":return String(i);case"ee":return x(i,2);case"eo":return n.ordinalNumber(i,{unit:"day"});case"eee":return n.day(a,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(a,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(a,{width:"short",context:"formatting"});default:return n.day(a,{width:"wide",context:"formatting"})}},c:function(e,t,n,r){let a=e.getDay(),i=(a-r.weekStartsOn+8)%7||7;switch(t){case"c":return String(i);case"cc":return x(i,t.length);case"co":return n.ordinalNumber(i,{unit:"day"});case"ccc":return n.day(a,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(a,{width:"narrow",context:"standalone"});case"cccccc":return n.day(a,{width:"short",context:"standalone"});default:return n.day(a,{width:"wide",context:"standalone"})}},i:function(e,t,n){let r=e.getDay(),a=0===r?7:r;switch(t){case"i":return String(a);case"ii":return x(a,t.length);case"io":return n.ordinalNumber(a,{unit:"day"});case"iii":return n.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(e,t,n){let r=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},b:function(e,t,n){let r,a=e.getHours();switch(r=12===a?"noon":0===a?"midnight":a/12>=1?"pm":"am",t){case"b":case"bb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},B:function(e,t,n){let r,a=e.getHours();switch(r=a>=17?"evening":a>=12?"afternoon":a>=4?"morning":"night",t){case"B":case"BB":case"BBB":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},h:function(e,t,n){if("ho"===t){let t=e.getHours()%12;return 0===t&&(t=12),n.ordinalNumber(t,{unit:"hour"})}return M.h(e,t)},H:function(e,t,n){return"Ho"===t?n.ordinalNumber(e.getHours(),{unit:"hour"}):M.H(e,t)},K:function(e,t,n){let r=e.getHours()%12;return"Ko"===t?n.ordinalNumber(r,{unit:"hour"}):x(r,t.length)},k:function(e,t,n){let r=e.getHours();return(0===r&&(r=24),"ko"===t)?n.ordinalNumber(r,{unit:"hour"}):x(r,t.length)},m:function(e,t,n){return"mo"===t?n.ordinalNumber(e.getMinutes(),{unit:"minute"}):M.m(e,t)},s:function(e,t,n){return"so"===t?n.ordinalNumber(e.getSeconds(),{unit:"second"}):M.s(e,t)},S:function(e,t){return M.S(e,t)},X:function(e,t,n){let r=e.getTimezoneOffset();if(0===r)return"Z";switch(t){case"X":return T(r);case"XXXX":case"XX":return S(r);default:return S(r,":")}},x:function(e,t,n){let r=e.getTimezoneOffset();switch(t){case"x":return T(r);case"xxxx":case"xx":return S(r);default:return S(r,":")}},O:function(e,t,n){let r=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+k(r,":");default:return"GMT"+S(r,":")}},z:function(e,t,n){let r=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+k(r,":");default:return"GMT"+S(r,":")}},t:function(e,t,n){return x(Math.trunc(e/1e3),t.length)},T:function(e,t,n){return x(+e,t.length)}};function k(e,t=""){let n=e>0?"-":"+",r=Math.abs(e),a=Math.trunc(r/60),i=r%60;return 0===i?n+String(a):n+String(a)+t+x(i,2)}function T(e,t){return e%60==0?(e>0?"-":"+")+x(Math.abs(e)/60,2):S(e,t)}function S(e,t=""){let n=Math.abs(e);return(e>0?"-":"+")+x(Math.trunc(n/60),2)+t+x(n%60,2)}let C=(e,t)=>{switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});default:return t.date({width:"full"})}},P=(e,t)=>{switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});default:return t.time({width:"full"})}},j={p:P,P:(e,t)=>{let n,r=e.match(/(P+)(p+)?/)||[],a=r[1],i=r[2];if(!i)return C(e,t);switch(a){case"P":n=t.dateTime({width:"short"});break;case"PP":n=t.dateTime({width:"medium"});break;case"PPP":n=t.dateTime({width:"long"});break;default:n=t.dateTime({width:"full"})}return n.replace("{{date}}",C(a,t)).replace("{{time}}",P(i,t))}},W=/^D+$/,N=/^Y+$/,F=["D","DD","YY","YYYY"];var Y=e.i(9356);let E=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,O=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,q=/^'([^]*?)'?$/,I=/''/g,A=/[a-zA-Z]/;e.s(["f",0,function(e,t,n){let r=u(),a=n?.locale??r.locale??l,i=n?.firstWeekContainsDate??n?.locale?.options?.firstWeekContainsDate??r.firstWeekContainsDate??r.locale?.options?.firstWeekContainsDate??1,o=n?.weekStartsOn??n?.locale?.options?.weekStartsOn??r.weekStartsOn??r.locale?.options?.weekStartsOn??0,s=(0,c.f)(e,n?.in);if(!(0,Y.f)(s))throw RangeError("Invalid time value");let d=t.match(O).map(e=>{let t=e[0];return"p"===t||"P"===t?(0,j[t])(e,a.formatLong):e}).join("").match(E).map(e=>{if("''"===e)return{isToken:!1,value:"'"};let t=e[0];if("'"===t){var n;let t;return{isToken:!1,value:(t=(n=e).match(q))?t[1].replace(I,"'"):n}}if(D[t])return{isToken:!0,value:e};if(t.match(A))throw RangeError("Format string contains an unescaped latin alphabet character `"+t+"`");return{isToken:!1,value:e}});a.localize.preprocessor&&(d=a.localize.preprocessor(s,d));let h={firstWeekContainsDate:i,weekStartsOn:o,locale:a};return d.map(r=>{if(!r.isToken)return r.value;let i=r.value;return(!n?.useAdditionalWeekYearTokens&&N.test(i)||!n?.useAdditionalDayOfYearTokens&&W.test(i))&&function(e,t,n){var r,a,i;let o,l=(r=e,a=t,i=n,o="Y"===r[0]?"years":"days of the month",`Use \`${r.toLowerCase()}\` instead of \`${r}\` (in \`${a}\`) for formatting ${o} to the input \`${i}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`);if(console.warn(l),F.includes(e))throw RangeError(l)}(i,t,String(e)),(0,D[i[0]])(s,i,a.localize,h)}).join("")}],92042)}]);