@unchainedshop/admin-ui 5.0.0-alpha.11 → 5.0.0-alpha.12

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 (752) hide show
  1. package/README.md +1 -1
  2. package/dist/{chunk-WPLOTFGW.js → chunk-2HTCKO4E.js} +12 -3
  3. package/dist/{chunk-BMDNY67T.js → chunk-33ZO52Z7.js} +3241 -1753
  4. package/dist/{chunk-PJLYVMUM.js → chunk-4MXPTVDL.js} +2 -2
  5. package/dist/{chunk-I64TXIE7.js → chunk-ATZJXTRA.js} +1 -1
  6. package/dist/{chunk-QHR23GVH.js → chunk-CUYIP5XG.js} +1 -1
  7. package/dist/{chunk-5WPFHQZN.js → chunk-E6HDJYA6.js} +3 -3
  8. package/dist/{chunk-FDHXLNZQ.js → chunk-EAVP6XZQ.js} +1 -1
  9. package/dist/{chunk-E77YIMGR.js → chunk-ED2FP42R.js} +1 -1
  10. package/dist/{chunk-HJKRGBDG.js → chunk-GWMLIF3C.js} +1 -1
  11. package/dist/{chunk-3L6EZQ6P.js → chunk-NFJE5EJG.js} +1 -1
  12. package/dist/{chunk-ICJH36K4.js → chunk-YUXHILXY.js} +1 -1
  13. package/dist/components/ui/Loading.d.ts +8 -1
  14. package/dist/components/ui/Loading.d.ts.map +1 -1
  15. package/dist/components/ui/index.d.ts +1 -0
  16. package/dist/components/ui/index.d.ts.map +1 -1
  17. package/dist/form.js +797 -286
  18. package/dist/gql/schema-types.d.ts +3 -2
  19. package/dist/gql/schema-types.d.ts.map +1 -1
  20. package/dist/hooks.js +3 -3
  21. package/dist/modal.js +5 -5
  22. package/dist/modules/accounts.js +1 -1
  23. package/dist/modules/assortment.js +1 -1
  24. package/dist/modules/country.js +1 -1
  25. package/dist/modules/currency.js +1 -1
  26. package/dist/modules/delivery-provider.js +1 -1
  27. package/dist/modules/enrollment.js +1 -1
  28. package/dist/modules/event.js +1 -1
  29. package/dist/modules/filter.js +1 -1
  30. package/dist/modules/language.js +1 -1
  31. package/dist/modules/order.js +1 -1
  32. package/dist/modules/payment-providers.js +1 -1
  33. package/dist/modules/product-review.js +1 -1
  34. package/dist/modules/product.js +5 -5
  35. package/dist/modules/quotation.js +1 -1
  36. package/dist/modules/token.js +1 -1
  37. package/dist/modules/warehousing-providers.js +1 -1
  38. package/dist/modules/work.js +1 -1
  39. package/dist/plugins.js +1 -1
  40. package/dist/providers.js +5 -5
  41. package/dist/shims/admin-ui-plugins.js +1 -1
  42. package/dist/shims/apollo-client-react.js +1 -1
  43. package/dist/shims/apollo-client.js +1 -1
  44. package/dist/shims/next-head.js +1 -1
  45. package/dist/shims/next-image.js +1 -1
  46. package/dist/shims/next-link.js +1 -1
  47. package/dist/shims/next-router.js +1 -1
  48. package/dist/shims/react-dom-client.js +1 -1
  49. package/dist/shims/react-dom.js +1 -1
  50. package/dist/shims/react-hook-form.js +1 -1
  51. package/dist/shims/react-intl.js +1 -1
  52. package/dist/shims/react-jsx-runtime.js +1 -1
  53. package/dist/shims/react-toastify.js +1 -1
  54. package/dist/shims/react.js +1 -1
  55. package/dist/theme.js +1 -1
  56. package/dist/ui.js +3933 -3416
  57. package/out/403/index.html +3 -3
  58. package/out/404/index.html +3 -3
  59. package/out/404.html +3 -3
  60. package/out/423/index.html +3 -3
  61. package/out/500/index.html +3 -3
  62. package/out/_next/static/bg3Z_ZBjStiTvJAHlsPDE/_buildManifest.js +262 -0
  63. package/out/_next/static/chunks/0-kvzk5p0hp-4.js +11 -0
  64. package/out/_next/static/chunks/0-nzk-g6k41e-.js +119 -0
  65. package/out/_next/static/chunks/00wlebfe9j80r.js +24 -0
  66. package/out/_next/static/chunks/01isyk4v59s_4.js +5 -0
  67. package/out/_next/static/chunks/01otzjqxk372n.js +1 -0
  68. package/out/_next/static/chunks/03x_mgpai_kbn.js +1 -0
  69. package/out/_next/static/chunks/04327_1fq5i7-.js +9 -0
  70. package/out/_next/static/chunks/04_r4qnsjmy81.js +4 -0
  71. package/out/_next/static/chunks/04egfa7kckou_.js +165 -0
  72. package/out/_next/static/chunks/05474mknnr_tw.js +4 -0
  73. package/out/_next/static/chunks/{2ajr0rk0_yax6.js → 06kqbwwnuu3te.js} +1 -1
  74. package/out/_next/static/chunks/0728622u98g6r.js +1 -0
  75. package/out/_next/static/chunks/09irjy-7k1922.js +1 -0
  76. package/out/_next/static/chunks/0_3suta3t3lus.js +5 -0
  77. package/out/_next/static/chunks/0_a5fzdztv84p.js +272 -0
  78. package/out/_next/static/chunks/0_ppdn6x6ci0v.js +31 -0
  79. package/out/_next/static/chunks/0br42_xli8-2x.js +6 -0
  80. package/out/_next/static/chunks/0cdk-eqghrgee.js +5 -0
  81. package/out/_next/static/chunks/0d54jo566j9ka.js +12 -0
  82. package/out/_next/static/chunks/0gfia1t8drmnx.js +182 -0
  83. package/out/_next/static/chunks/0gwd6ju8j_bwr.js +39 -0
  84. package/out/_next/static/chunks/{0_pn7w49dpkak.js → 0hv3x0mo1tt7i.js} +2 -2
  85. package/out/_next/static/chunks/0i481ym5-ss1t.js +5 -0
  86. package/out/_next/static/chunks/0iohwbogpxe5r.js +1 -0
  87. package/out/_next/static/chunks/0j46qnxaxeqk_.js +1 -0
  88. package/out/_next/static/chunks/{1jmdpa0tc5puj.js → 0mcu2o1ir2t_w.js} +3 -3
  89. package/out/_next/static/chunks/0o4aj3bm49d_h.js +61 -0
  90. package/out/_next/static/chunks/0op3htrvd-ix6.js +5 -0
  91. package/out/_next/static/chunks/0p55j-ysba0wq.js +63 -0
  92. package/out/_next/static/chunks/0qv2nce7okzy5.js +103 -0
  93. package/out/_next/static/chunks/0rrhyxuk32t3n.js +95 -0
  94. package/out/_next/static/chunks/0rt4le6syjqdj.js +21 -0
  95. package/out/_next/static/chunks/0s2jvi6_qj0lc.js +16 -0
  96. package/out/_next/static/chunks/0uef4ugmc_g10.js +1 -0
  97. package/out/_next/static/chunks/0v1tb34y7e1y4.js +5 -0
  98. package/out/_next/static/chunks/0w9d4swf95hvu.js +33 -0
  99. package/out/_next/static/chunks/0we1tw4xvdb7o.js +7 -0
  100. package/out/_next/static/chunks/0zlzflyq18hhy.js +4 -0
  101. package/out/_next/static/chunks/0zqdvl0b4w5nc.js +7 -0
  102. package/out/_next/static/chunks/1-wbp_4f-c4-3.js +837 -0
  103. package/out/_next/static/chunks/11vnr4kb9qkjr.js +1 -0
  104. package/out/_next/static/chunks/12cy_5m_0fj96.js +44 -0
  105. package/out/_next/static/chunks/131uuhqexo4si.js +4 -0
  106. package/out/_next/static/chunks/14eqp21pspjud.js +234 -0
  107. package/out/_next/static/chunks/14jd75j8ij4u2.js +3 -0
  108. package/out/_next/static/chunks/153-_av1r1ssb.js +4 -0
  109. package/out/_next/static/chunks/{0m73vd78oga92.js → 157ndq6b9jcvv.js} +11 -11
  110. package/out/_next/static/chunks/177p92k5pdloo.js +1 -0
  111. package/out/_next/static/chunks/19-1z6h5eeq_w.js +134 -0
  112. package/out/_next/static/chunks/1bxznw06g-5u2.js +5 -0
  113. package/out/_next/static/chunks/1bypzyw5fs3w2.js +59 -0
  114. package/out/_next/static/chunks/1cz2fp89ssu5d.js +4 -0
  115. package/out/_next/static/chunks/1e2jykfql801f.js +16 -0
  116. package/out/_next/static/chunks/1eokbzdgdicpa.js +33 -0
  117. package/out/_next/static/chunks/1f0t23r6y0hni.js +1 -0
  118. package/out/_next/static/chunks/1fehej_7rgmmo.js +5 -0
  119. package/out/_next/static/chunks/1gl4h7w9t850f.js +1 -0
  120. package/out/_next/static/chunks/1gv0k-w7m83om.js +41 -0
  121. package/out/_next/static/chunks/1hzt0aoixrv4_.js +7 -0
  122. package/out/_next/static/chunks/1ia6hdgf7pj9y.js +174 -0
  123. package/out/_next/static/chunks/1in8spfokcjsp.js +8 -0
  124. package/out/_next/static/chunks/1j2gw9gyg8j80.js +5 -0
  125. package/out/_next/static/chunks/1k06h8wbfrx_v.js +5 -0
  126. package/out/_next/static/chunks/1kdcu-0jkya-b.js +61 -0
  127. package/out/_next/static/chunks/1msc4qrgaanh7.js +43 -0
  128. package/out/_next/static/chunks/{1iamjw8qh1m4o.js → 1mx0p6r-9c5u_.js} +1 -1
  129. package/out/_next/static/chunks/1oqc8etm-romv.js +1 -0
  130. package/out/_next/static/chunks/1p5lt4tkyouxz.js +4 -0
  131. package/out/_next/static/chunks/1q7wxp4rlhy0x.js +12 -0
  132. package/out/_next/static/chunks/1r61kgm2ct0nf.js +74 -0
  133. package/out/_next/static/chunks/1rmlm4404fsge.js +15 -0
  134. package/out/_next/static/chunks/1s3ool53utm9o.js +39 -0
  135. package/out/_next/static/chunks/1sc2ug6_szd_d.js +2 -0
  136. package/out/_next/static/chunks/{12yd8t4k6c0t1.js → 1t8jj0-6g8uyd.js} +1 -1
  137. package/out/_next/static/chunks/1tbd6m-xvx0um.js +353 -0
  138. package/out/_next/static/chunks/1th1-x1szvnq8.js +5 -0
  139. package/out/_next/static/chunks/1tosw188dr9d6.js +44 -0
  140. package/out/_next/static/chunks/1tw97cvdosb89.js +5 -0
  141. package/out/_next/static/chunks/1ubmbegreszhk.js +1 -0
  142. package/out/_next/static/chunks/{43uqmej6-s4am.js → 1ug1ie2lrhi0a.js} +3 -3
  143. package/out/_next/static/chunks/1uw7hr3o4w5cj.js +8 -0
  144. package/out/_next/static/chunks/1vzs8hvrsoslf.js +5 -0
  145. package/out/_next/static/chunks/1w6gc_cygbi6h.js +5 -0
  146. package/out/_next/static/chunks/1xybsisfyvqrj.js +115 -0
  147. package/out/_next/static/chunks/1yvl8l5yx1rj8.js +4 -0
  148. package/out/_next/static/chunks/{3dcwbsiechj8e.js → 1z-etrje5tsj6.js} +3 -3
  149. package/out/_next/static/chunks/1z1d11slpalrq.js +4 -0
  150. package/out/_next/static/chunks/1zdral15la_p7.js +99 -0
  151. package/out/_next/static/chunks/2-qo63s4vlxol.js +156 -0
  152. package/out/_next/static/chunks/20au-bdji0nu2.js +14 -0
  153. package/out/_next/static/chunks/21zghy5-42i1e.js +1 -0
  154. package/out/_next/static/chunks/22duvsj-priip.js +7 -0
  155. package/out/_next/static/chunks/22rdge7enz4nd.js +12 -0
  156. package/out/_next/static/chunks/{3m_9ozv0orvze.js → 249b4cg2ev597.js} +3 -3
  157. package/out/_next/static/chunks/24caedynuzux0.js +5 -0
  158. package/out/_next/static/chunks/25ite4-jpq_mo.js +4 -0
  159. package/out/_next/static/chunks/25vdihxswn7dy.js +1 -0
  160. package/out/_next/static/chunks/26guwpx1_pkxv.js +1 -0
  161. package/out/_next/static/chunks/28o6402k4vuky.js +11 -0
  162. package/out/_next/static/chunks/29x7cj-318eaa.js +1 -0
  163. package/out/_next/static/chunks/2_0v0fw6x71zy.js +46 -0
  164. package/out/_next/static/chunks/2a9dpzjx5mfjp.js +4 -0
  165. package/out/_next/static/chunks/2apnv1hcv-4zc.js +23 -0
  166. package/out/_next/static/chunks/2b4k5t_myq-pa.js +1 -0
  167. package/out/_next/static/chunks/2bugi3kot5jtu.js +1 -0
  168. package/out/_next/static/chunks/2bxdh-td1el8z.js +5 -0
  169. package/out/_next/static/chunks/2dz0_3jf4m9cy.js +31 -0
  170. package/out/_next/static/chunks/2ege1545af18d.js +4 -0
  171. package/out/_next/static/chunks/2erqawjj0rnih.js +117 -0
  172. package/out/_next/static/chunks/2gfzt_fdr-h96.js +81 -0
  173. package/out/_next/static/chunks/2grm6dtosrvoq.js +1 -0
  174. package/out/_next/static/chunks/2hc3d38gb0q-v.js +1 -0
  175. package/out/_next/static/chunks/2hci18oosfv5d.js +5 -0
  176. package/out/_next/static/chunks/2imf3_f1_ex86.js +1 -0
  177. package/out/_next/static/chunks/{3fpgg_wy6j2ph.js → 2ipcn3vy6d4_6.js} +1 -1
  178. package/out/_next/static/chunks/2iwst7mjldlcz.js +1 -0
  179. package/out/_next/static/chunks/2ja0dztzyw8zw.js +1 -0
  180. package/out/_next/static/chunks/2ja1--2x_gs49.js +83 -0
  181. package/out/_next/static/chunks/2lec5u8obskt6.js +5 -0
  182. package/out/_next/static/chunks/2m38nntt3z8zi.js +103 -0
  183. package/out/_next/static/chunks/2pogx3xggqd8y.js +1 -0
  184. package/out/_next/static/chunks/2q988j4vovsiy.js +8 -0
  185. package/out/_next/static/chunks/2s-0q8i8lr2p2.js +5 -0
  186. package/out/_next/static/chunks/{0a_gulnq-c7to.js → 2u64ldp2xfy8a.js} +7 -7
  187. package/out/_next/static/chunks/2ud5j0_nqocf4.js +5 -0
  188. package/out/_next/static/chunks/2uo6puoi0y082.js +5 -0
  189. package/out/_next/static/chunks/2w3z7kqh6nbmw.js +23 -0
  190. package/out/_next/static/chunks/2y11qf38baxpu.js +14 -0
  191. package/out/_next/static/chunks/{2yw5sk06gdixu.js → 2y8uau15r3p-o.js} +1 -1
  192. package/out/_next/static/chunks/2zb-xmda5rbn0.js +1 -0
  193. package/out/_next/static/chunks/2zsvxbghbsuz1.js +4 -0
  194. package/out/_next/static/chunks/{0s6u_6w75ggbw.js → 3205eg3ochzp4.js} +7 -7
  195. package/out/_next/static/chunks/32g5gxee1kcdc.js +28 -0
  196. package/out/_next/static/chunks/32whi9clpxjd0.js +5 -0
  197. package/out/_next/static/chunks/3368kg846t33d.js +57 -0
  198. package/out/_next/static/chunks/33oz-znvi5-m6.js +1 -0
  199. package/out/_next/static/chunks/345s7967cwd02.js +5 -0
  200. package/out/_next/static/chunks/34wf3lz_fft3k.js +2 -0
  201. package/out/_next/static/chunks/{3btkj1_irjkq7.js → 36x7q29atus_r.js} +6 -6
  202. package/out/_next/static/chunks/37jjn1wguhj-a.js +5 -0
  203. package/out/_next/static/chunks/{1so6ouxrq_ffa.js → 393--hagnnm97.js} +3 -3
  204. package/out/_next/static/chunks/39moagn46hde9.js +5 -0
  205. package/out/_next/static/chunks/3_0q-dmk8few_.css +1 -0
  206. package/out/_next/static/chunks/3_adkt8r_brx4.js +165 -0
  207. package/out/_next/static/chunks/3b1kt-r_75q1a.js +43 -0
  208. package/out/_next/static/chunks/3e38rrs6dszgt.js +8 -0
  209. package/out/_next/static/chunks/{01xy3u9ybz9ts.js → 3e7d8sb4289js.js} +2 -2
  210. package/out/_next/static/chunks/3ek1bahoqa_ll.js +5 -0
  211. package/out/_next/static/chunks/3ek680kdzjdr7.js +1 -0
  212. package/out/_next/static/chunks/3eth7s2-06yuz.js +1 -0
  213. package/out/_next/static/chunks/3exy4ii5maq4x.js +54 -0
  214. package/out/_next/static/chunks/3fevbt4ysloo8.js +8 -0
  215. package/out/_next/static/chunks/3fu072xwkf88o.js +6 -0
  216. package/out/_next/static/chunks/3h6a3clw5m5ro.js +4 -0
  217. package/out/_next/static/chunks/3hmoy4f23y1s4.js +147 -0
  218. package/out/_next/static/chunks/3i4_3b36nutw7.js +33 -0
  219. package/out/_next/static/chunks/3jfe0uesrzz7a.js +1 -0
  220. package/out/_next/static/chunks/3k01tdsm6l20w.js +54 -0
  221. package/out/_next/static/chunks/3lr6hkso67d68.js +6 -0
  222. package/out/_next/static/chunks/3lzin6_25n8rs.js +30 -0
  223. package/out/_next/static/chunks/3nrrzhhoy8amt.js +4 -0
  224. package/out/_next/static/chunks/3o-h2po9z09dk.js +4 -0
  225. package/out/_next/static/chunks/3onharcadlou0.js +327 -0
  226. package/out/_next/static/chunks/3pls-kicv4xu9.js +175 -0
  227. package/out/_next/static/chunks/3t48n1yk76zoa.js +1 -0
  228. package/out/_next/static/chunks/3t_520l4ihlg3.js +54 -0
  229. package/out/_next/static/chunks/3tg_clsx6ux4o.js +1 -0
  230. package/out/_next/static/chunks/3ttz1zgoq3xmp.js +1 -0
  231. package/out/_next/static/chunks/3uekb_s0jaboj.js +1 -0
  232. package/out/_next/static/chunks/3ujdligrod612.js +5 -0
  233. package/out/_next/static/chunks/3www97fxyknos.js +4 -0
  234. package/out/_next/static/chunks/3x_gia2m5w9_l.js +147 -0
  235. package/out/_next/static/chunks/{3j25u7rzawm9f.js → 3xs_undkbcqp7.js} +5 -5
  236. package/out/_next/static/chunks/3yktizlgzr6vc.js +4 -0
  237. package/out/_next/static/chunks/3ytp87o76hzmx.js +100 -0
  238. package/out/_next/static/chunks/40kvu3lk3s9h2.js +276 -0
  239. package/out/_next/static/chunks/41c4n9whpyrjc.js +7 -0
  240. package/out/_next/static/chunks/42dygj7ul4k54.js +33 -0
  241. package/out/_next/static/chunks/449x6nw2kd7l6.js +119 -0
  242. package/out/_next/static/chunks/44b7_q6pkf1k9.js +5 -0
  243. package/out/_next/static/chunks/44qc0zn0tudui.js +2 -0
  244. package/out/_next/static/chunks/45c05mbjow5wz.js +4 -0
  245. package/out/_next/static/chunks/{turbopack-2c3mg3r-05n1w.js → turbopack-077hmtqrhcoji.js} +1 -1
  246. package/out/_offline/index.html +3 -3
  247. package/out/account/forgot-password/index.html +3 -3
  248. package/out/account/index.html +3 -3
  249. package/out/assortments/AssortmentDetailPage/index.html +3 -3
  250. package/out/assortments/index.html +3 -3
  251. package/out/assortments/new/index.html +3 -3
  252. package/out/copilot/index.html +3 -3
  253. package/out/country/CountryDetailPage/index.html +3 -3
  254. package/out/country/index.html +3 -3
  255. package/out/country/new/index.html +3 -3
  256. package/out/currency/CurrencyDetailPage/index.html +3 -3
  257. package/out/currency/index.html +3 -3
  258. package/out/currency/new/index.html +3 -3
  259. package/out/delivery-provider/DeliveryProviderDetailPage/index.html +3 -3
  260. package/out/delivery-provider/index.html +3 -3
  261. package/out/delivery-provider/new/index.html +3 -3
  262. package/out/enrollments/EnrollmentDetailPage/index.html +3 -3
  263. package/out/enrollments/index.html +3 -3
  264. package/out/events/EventDetailPage/index.html +3 -3
  265. package/out/events/index.html +3 -3
  266. package/out/exports/index.html +3 -3
  267. package/out/ext/[[...slug]]/index.html +3 -3
  268. package/out/external/index.html +3 -3
  269. package/out/filters/FilterDetailPage/index.html +3 -3
  270. package/out/filters/index.html +3 -3
  271. package/out/filters/new/index.html +3 -3
  272. package/out/index.html +3 -3
  273. package/out/install/index.html +3 -3
  274. package/out/language/LanguageDetailPage/index.html +3 -3
  275. package/out/language/index.html +3 -3
  276. package/out/language/new/index.html +3 -3
  277. package/out/log-in/index.html +3 -3
  278. package/out/orders/OrderDetailPage/index.html +3 -3
  279. package/out/orders/index.html +3 -3
  280. package/out/payment-provider/PaymentProviderDetailPage/index.html +3 -3
  281. package/out/payment-provider/index.html +3 -3
  282. package/out/payment-provider/new/index.html +3 -3
  283. package/out/products/ProductDetailPage/index.html +3 -3
  284. package/out/products/index.html +3 -3
  285. package/out/products/new/index.html +3 -3
  286. package/out/quotations/QuotationDetailPage/index.html +3 -3
  287. package/out/quotations/index.html +3 -3
  288. package/out/reset-password/index.html +3 -3
  289. package/out/sign-up/index.html +3 -3
  290. package/out/styleguide/index.html +3 -3
  291. package/out/tokens/TokenDetailPage/index.html +3 -3
  292. package/out/tokens/index.html +3 -3
  293. package/out/users/UserDetailPage/index.html +3 -3
  294. package/out/users/index.html +3 -3
  295. package/out/users/new/index.html +3 -3
  296. package/out/verify-email/index.html +3 -3
  297. package/out/warehousing-provider/WarehousingProviderDetailPage/index.html +3 -3
  298. package/out/warehousing-provider/index.html +3 -3
  299. package/out/warehousing-provider/new/index.html +3 -3
  300. package/out/works/WorkDetailPage/index.html +3 -3
  301. package/out/works/WorkQueueListView/index.html +3 -3
  302. package/out/works/index.html +3 -3
  303. package/out/works/management/index.html +3 -3
  304. package/package.json +10 -10
  305. package/src/modules/accounts/hooks/logOut.ts +26 -0
  306. package/src/modules/accounts/hooks/useAddEmail.ts +34 -0
  307. package/src/modules/accounts/hooks/useAddWeb3Address.ts +38 -0
  308. package/src/modules/accounts/hooks/useAddWebAuthnCredentials.ts +48 -0
  309. package/src/modules/accounts/hooks/useBulkUserOperations.ts +91 -0
  310. package/src/modules/accounts/hooks/useChangePassword.ts +36 -0
  311. package/src/modules/accounts/hooks/useCreateUser.ts +74 -0
  312. package/src/modules/accounts/hooks/useCreateWebAuthnCredentialCreationOptions.ts +31 -0
  313. package/src/modules/accounts/hooks/useCreateWebAuthnCredentialRequestOptions.ts +30 -0
  314. package/src/modules/accounts/hooks/useCurrentUser.ts +44 -0
  315. package/src/modules/accounts/hooks/useDeleteUser.ts +26 -0
  316. package/src/modules/accounts/hooks/useEnrollUser.ts +48 -0
  317. package/src/modules/accounts/hooks/useForgotPassword.ts +35 -0
  318. package/src/modules/accounts/hooks/useGenerateLoginCredentials.ts +80 -0
  319. package/src/modules/accounts/hooks/useGenerateWebAuthCredentials.ts +102 -0
  320. package/src/modules/accounts/hooks/useLoginWithPassword.ts +65 -0
  321. package/src/modules/accounts/hooks/useLoginWithWebAuthn.ts +38 -0
  322. package/src/modules/accounts/hooks/useLogoutAllSessions.ts +27 -0
  323. package/src/modules/accounts/hooks/useRemoveBookmark.ts +36 -0
  324. package/src/modules/accounts/hooks/useRemoveEmail.ts +40 -0
  325. package/src/modules/accounts/hooks/useRemoveWeb3Address.ts +38 -0
  326. package/src/modules/accounts/hooks/useRemoveWebAuthCredentials.ts +36 -0
  327. package/src/modules/accounts/hooks/useResetPassword.ts +46 -0
  328. package/src/modules/accounts/hooks/useSendVerificationEmail.ts +35 -0
  329. package/src/modules/accounts/hooks/useSetPassword.ts +38 -0
  330. package/src/modules/accounts/hooks/useSetRoles.ts +40 -0
  331. package/src/modules/accounts/hooks/useSetUserTags.ts +48 -0
  332. package/src/modules/accounts/hooks/useSetUsername.ts +40 -0
  333. package/src/modules/accounts/hooks/useUpdateUserAvatar.ts +49 -0
  334. package/src/modules/accounts/hooks/useUpdateUserProfile.ts +40 -0
  335. package/src/modules/accounts/hooks/useUser.ts +201 -0
  336. package/src/modules/accounts/hooks/useUserBookmarks.ts +51 -0
  337. package/src/modules/accounts/hooks/useUserExport.ts +107 -0
  338. package/src/modules/accounts/hooks/useUserWebAuthnCredentials.ts +44 -0
  339. package/src/modules/accounts/hooks/useUsers.ts +82 -0
  340. package/src/modules/accounts/hooks/useUsersCount.ts +50 -0
  341. package/src/modules/accounts/hooks/useValidateEmailVerificationToken.ts +34 -0
  342. package/src/modules/accounts/hooks/useValidateResetPasswordToken.ts +35 -0
  343. package/src/modules/accounts/hooks/useVerifyEmail.ts +41 -0
  344. package/src/modules/accounts/hooks/useVerifyWeb3Address.ts +40 -0
  345. package/src/modules/assortment/fragments/AssortmentChildrenFragment.ts +16 -0
  346. package/src/modules/assortment/fragments/AssortmentFragment.ts +31 -0
  347. package/src/modules/assortment/fragments/AssortmentLinkFragment.ts +18 -0
  348. package/src/modules/assortment/fragments/AssortmentMediaFragment.ts +19 -0
  349. package/src/modules/assortment/fragments/AssortmentMediaTextsFragment.ts +12 -0
  350. package/src/modules/assortment/fragments/AssortmentTextsFragment.ts +14 -0
  351. package/src/modules/assortment/hooks/useAddAssortmentFilter.ts +46 -0
  352. package/src/modules/assortment/hooks/useAddAssortmentLink.ts +46 -0
  353. package/src/modules/assortment/hooks/useAddAssortmentMedia.ts +52 -0
  354. package/src/modules/assortment/hooks/useAddAssortmentProduct.ts +46 -0
  355. package/src/modules/assortment/hooks/useAssortment.ts +56 -0
  356. package/src/modules/assortment/hooks/useAssortmentChildren.ts +58 -0
  357. package/src/modules/assortment/hooks/useAssortmentExport.ts +60 -0
  358. package/src/modules/assortment/hooks/useAssortmentFilters.ts +51 -0
  359. package/src/modules/assortment/hooks/useAssortmentLinks.ts +54 -0
  360. package/src/modules/assortment/hooks/useAssortmentMedia.ts +57 -0
  361. package/src/modules/assortment/hooks/useAssortmentPaths.ts +39 -0
  362. package/src/modules/assortment/hooks/useAssortmentProducts.ts +62 -0
  363. package/src/modules/assortment/hooks/useAssortments.ts +103 -0
  364. package/src/modules/assortment/hooks/useAssortmentsCount.ts +51 -0
  365. package/src/modules/assortment/hooks/useBulkAssortmentOperations.ts +100 -0
  366. package/src/modules/assortment/hooks/useCreateAssortment.ts +55 -0
  367. package/src/modules/assortment/hooks/usePrepareAssortmentImport.ts +211 -0
  368. package/src/modules/assortment/hooks/useRemoveAssortment.ts +36 -0
  369. package/src/modules/assortment/hooks/useRemoveAssortmentFilter.ts +36 -0
  370. package/src/modules/assortment/hooks/useRemoveAssortmentLink.ts +36 -0
  371. package/src/modules/assortment/hooks/useRemoveAssortmentMedia.ts +36 -0
  372. package/src/modules/assortment/hooks/useRemoveAssortmentProduct.ts +36 -0
  373. package/src/modules/assortment/hooks/useReorderAssortmentFilters.ts +39 -0
  374. package/src/modules/assortment/hooks/useReorderAssortmentLinks.ts +37 -0
  375. package/src/modules/assortment/hooks/useReorderAssortmentMedia.ts +37 -0
  376. package/src/modules/assortment/hooks/useReorderAssortmentProducts.ts +39 -0
  377. package/src/modules/assortment/hooks/useTranslatedAssortmentMediaTexts.ts +41 -0
  378. package/src/modules/assortment/hooks/useTranslatedAssortmentTexts.ts +40 -0
  379. package/src/modules/assortment/hooks/useUpdateAssortment.ts +43 -0
  380. package/src/modules/assortment/hooks/useUpdateAssortmentMediaTexts.ts +45 -0
  381. package/src/modules/assortment/hooks/useUpdateAssortmentTexts.ts +42 -0
  382. package/src/modules/common/fragments/AddressFragment.ts +16 -0
  383. package/src/modules/common/hooks/useApp.ts +11 -0
  384. package/src/modules/common/hooks/useBulkActionConfirmation.tsx +68 -0
  385. package/src/modules/common/hooks/useBulkResultHandler.ts +83 -0
  386. package/src/modules/common/hooks/useBulkSelection.ts +86 -0
  387. package/src/modules/common/hooks/useCSVExport.ts +94 -0
  388. package/src/modules/common/hooks/useCSVImport.ts +69 -0
  389. package/src/modules/common/hooks/useChatEndpointChecker.ts +25 -0
  390. package/src/modules/common/hooks/useConfirmMediaUpload.ts +45 -0
  391. package/src/modules/common/hooks/useDashboardMetrics.ts +42 -0
  392. package/src/modules/common/hooks/useLocalStorage.ts +34 -0
  393. package/src/modules/common/hooks/useOrderAnalytics.ts +139 -0
  394. package/src/modules/common/hooks/useOrderItemsAnalytics.ts +107 -0
  395. package/src/modules/common/hooks/useOutsideClick.ts +29 -0
  396. package/src/modules/common/hooks/usePortal.ts +54 -0
  397. package/src/modules/common/hooks/useScrollRestoration.ts +123 -0
  398. package/src/modules/common/hooks/useShopConfiguration.ts +83 -0
  399. package/src/modules/common/hooks/useShopInfo.ts +65 -0
  400. package/src/modules/common/hooks/useStatusTypes.ts +29 -0
  401. package/src/modules/common/hooks/useSystemRoles.ts +29 -0
  402. package/src/modules/common/hooks/useTheme.ts +14 -0
  403. package/src/modules/copilot/hooks/useAvailableTools.ts +92 -0
  404. package/src/modules/copilot/hooks/useChatManager.ts +169 -0
  405. package/src/modules/copilot/hooks/useToolTextNormalizer.ts +84 -0
  406. package/src/modules/country/fragments/CountryFragment.ts +17 -0
  407. package/src/modules/country/hooks/useCountries.ts +66 -0
  408. package/src/modules/country/hooks/useCountry.ts +34 -0
  409. package/src/modules/country/hooks/useCreateCountry.ts +41 -0
  410. package/src/modules/country/hooks/useRemoveCountry.ts +38 -0
  411. package/src/modules/country/hooks/useUpdateCountry.ts +42 -0
  412. package/src/modules/currency/fragments/CurrencyFragment.ts +13 -0
  413. package/src/modules/currency/hooks/useCreateCurrency.ts +48 -0
  414. package/src/modules/currency/hooks/useCurrencies.ts +68 -0
  415. package/src/modules/currency/hooks/useCurrency.ts +34 -0
  416. package/src/modules/currency/hooks/useRemoveCurrency.ts +38 -0
  417. package/src/modules/currency/hooks/useUpdateCurrency.ts +47 -0
  418. package/src/modules/delivery-provider/hooks/useCreateDeliveryProvider.ts +67 -0
  419. package/src/modules/delivery-provider/hooks/useDeliveryInterfacesByType.ts +38 -0
  420. package/src/modules/delivery-provider/hooks/useDeliveryProvider.ts +60 -0
  421. package/src/modules/delivery-provider/hooks/useDeliveryProviderTypes.ts +34 -0
  422. package/src/modules/delivery-provider/hooks/useDeliveryProviders.ts +59 -0
  423. package/src/modules/delivery-provider/hooks/useRemoveDeliveryProvider.ts +38 -0
  424. package/src/modules/delivery-provider/hooks/useUpdateDeliveryProvider.ts +68 -0
  425. package/src/modules/enrollment/fragments/EnrollmentDetailFragment.ts +110 -0
  426. package/src/modules/enrollment/fragments/EnrollmentFragment.ts +66 -0
  427. package/src/modules/enrollment/hooks/useActivateEnrollment.ts +36 -0
  428. package/src/modules/enrollment/hooks/useEnrollment.ts +39 -0
  429. package/src/modules/enrollment/hooks/useEnrollments.ts +70 -0
  430. package/src/modules/enrollment/hooks/useSendEnrollmentEmail.ts +35 -0
  431. package/src/modules/enrollment/hooks/useSuspendEnrollment.ts +29 -0
  432. package/src/modules/enrollment/hooks/useTerminateEnrollment.ts +36 -0
  433. package/src/modules/enrollment/hooks/useUpdateEnrollmentPlan.ts +45 -0
  434. package/src/modules/enrollment/hooks/useUserEnrollments.ts +61 -0
  435. package/src/modules/event/fragments/EventFragment.ts +12 -0
  436. package/src/modules/event/hooks/useEvent.ts +32 -0
  437. package/src/modules/event/hooks/useEventTypes.ts +29 -0
  438. package/src/modules/event/hooks/useEvents.ts +77 -0
  439. package/src/modules/filter/fragments/FilterFragment.ts +24 -0
  440. package/src/modules/filter/fragments/FilterOptionFragment.ts +16 -0
  441. package/src/modules/filter/fragments/FilterTextsFragment.ts +12 -0
  442. package/src/modules/filter/hooks/useBulkFilterOperations.ts +59 -0
  443. package/src/modules/filter/hooks/useCreateFilter.ts +44 -0
  444. package/src/modules/filter/hooks/useCreateFilterOption.ts +42 -0
  445. package/src/modules/filter/hooks/useFilter.ts +44 -0
  446. package/src/modules/filter/hooks/useFilterExport.ts +35 -0
  447. package/src/modules/filter/hooks/useFilterOptions.ts +40 -0
  448. package/src/modules/filter/hooks/useFilterTypes.ts +34 -0
  449. package/src/modules/filter/hooks/useFilters.ts +78 -0
  450. package/src/modules/filter/hooks/useFiltersCount.ts +37 -0
  451. package/src/modules/filter/hooks/usePrepareFilterImport.ts +142 -0
  452. package/src/modules/filter/hooks/useRemoveFilter.ts +34 -0
  453. package/src/modules/filter/hooks/useRemoveFilterOption.ts +40 -0
  454. package/src/modules/filter/hooks/useTranslatedFilterTexts.ts +40 -0
  455. package/src/modules/filter/hooks/useUpdateFilter.ts +38 -0
  456. package/src/modules/filter/hooks/useUpdateFilterTexts.ts +48 -0
  457. package/src/modules/forms/hooks/useField.ts +151 -0
  458. package/src/modules/forms/hooks/useForm.ts +210 -0
  459. package/src/modules/forms/hooks/useFormContext.ts +7 -0
  460. package/src/modules/language/fragments/LanguageFragment.ts +13 -0
  461. package/src/modules/language/hooks/useCreateLanguage.ts +40 -0
  462. package/src/modules/language/hooks/useLanguage.ts +34 -0
  463. package/src/modules/language/hooks/useLanguages.ts +64 -0
  464. package/src/modules/language/hooks/useRemoveLanguage.ts +38 -0
  465. package/src/modules/language/hooks/useUpdateLanguage.ts +42 -0
  466. package/src/modules/modal/hooks/useModal.ts +8 -0
  467. package/src/modules/order/fragments/OrderDetailFragment.ts +255 -0
  468. package/src/modules/order/fragments/OrderFragment.ts +42 -0
  469. package/src/modules/order/hooks/useConfirmOrder.ts +36 -0
  470. package/src/modules/order/hooks/useDeliverOrder.ts +36 -0
  471. package/src/modules/order/hooks/useOrder.ts +35 -0
  472. package/src/modules/order/hooks/useOrders.ts +105 -0
  473. package/src/modules/order/hooks/usePayOrder.ts +36 -0
  474. package/src/modules/order/hooks/useRejectOrder.ts +36 -0
  475. package/src/modules/order/hooks/useRemoveOrder.ts +36 -0
  476. package/src/modules/order/hooks/useUserCart.ts +71 -0
  477. package/src/modules/order/hooks/useUserOrders.ts +65 -0
  478. package/src/modules/payment-providers/fragments/PaymentProviderFragment.ts +21 -0
  479. package/src/modules/payment-providers/hooks/useCreatePaymentProvider.ts +43 -0
  480. package/src/modules/payment-providers/hooks/usePaymentInterfacesByType.ts +38 -0
  481. package/src/modules/payment-providers/hooks/usePaymentProvider.ts +39 -0
  482. package/src/modules/payment-providers/hooks/usePaymentProviderTypes.ts +34 -0
  483. package/src/modules/payment-providers/hooks/usePaymentProviders.ts +42 -0
  484. package/src/modules/payment-providers/hooks/useRemovePaymentProvider.ts +38 -0
  485. package/src/modules/payment-providers/hooks/useUpdatePaymentProvider.ts +47 -0
  486. package/src/modules/product/fragments/ProductAssignmentFragment.ts +39 -0
  487. package/src/modules/product/fragments/ProductBriefFragment.ts +57 -0
  488. package/src/modules/product/fragments/ProductCatalogPriceFragment.ts +23 -0
  489. package/src/modules/product/fragments/ProductDetailFragment.ts +51 -0
  490. package/src/modules/product/fragments/ProductDimensionFragment.ts +12 -0
  491. package/src/modules/product/fragments/ProductMediaFragment.ts +24 -0
  492. package/src/modules/product/fragments/ProductMediaTextsFragment.ts +12 -0
  493. package/src/modules/product/fragments/ProductPlanConfigurationFragment.ts +14 -0
  494. package/src/modules/product/fragments/ProductTextsFragment.ts +17 -0
  495. package/src/modules/product/fragments/ProductVariationFragment.ts +27 -0
  496. package/src/modules/product/fragments/TokenFragment.ts +24 -0
  497. package/src/modules/product/hooks/useAddProductAssignment.ts +46 -0
  498. package/src/modules/product/hooks/useAddProductMedia.ts +47 -0
  499. package/src/modules/product/hooks/useBulkProductOperations.ts +123 -0
  500. package/src/modules/product/hooks/useCreateProduct.ts +72 -0
  501. package/src/modules/product/hooks/useCreateProductBundleItem.ts +40 -0
  502. package/src/modules/product/hooks/useCreateProductVariation.ts +46 -0
  503. package/src/modules/product/hooks/useCreateProductVariationOption.ts +46 -0
  504. package/src/modules/product/hooks/useExportToken.ts +51 -0
  505. package/src/modules/product/hooks/useMenuPosition.ts +34 -0
  506. package/src/modules/product/hooks/usePrepareProductImport.ts +350 -0
  507. package/src/modules/product/hooks/useProduct.ts +93 -0
  508. package/src/modules/product/hooks/useProductAssignments.ts +71 -0
  509. package/src/modules/product/hooks/useProductBundleItems.ts +61 -0
  510. package/src/modules/product/hooks/useProductCatalogPrices.ts +39 -0
  511. package/src/modules/product/hooks/useProductExport.ts +90 -0
  512. package/src/modules/product/hooks/useProductFulfillmentSimulation.ts +137 -0
  513. package/src/modules/product/hooks/useProductMedia.ts +44 -0
  514. package/src/modules/product/hooks/useProductPlan.ts +50 -0
  515. package/src/modules/product/hooks/useProductPlanConfigurationOptions.ts +42 -0
  516. package/src/modules/product/hooks/useProductReviews.ts +62 -0
  517. package/src/modules/product/hooks/useProductSupply.ts +52 -0
  518. package/src/modules/product/hooks/useProductTokenization.ts +51 -0
  519. package/src/modules/product/hooks/useProductVariationTypes.ts +34 -0
  520. package/src/modules/product/hooks/useProductVariations.ts +50 -0
  521. package/src/modules/product/hooks/useProductWarehousing.ts +45 -0
  522. package/src/modules/product/hooks/useProducts.ts +111 -0
  523. package/src/modules/product/hooks/useProductsCount.ts +50 -0
  524. package/src/modules/product/hooks/usePublishProduct.ts +39 -0
  525. package/src/modules/product/hooks/useReOrderProductMedia.ts +36 -0
  526. package/src/modules/product/hooks/useRemoveBundleItem.ts +37 -0
  527. package/src/modules/product/hooks/useRemoveProduct.ts +36 -0
  528. package/src/modules/product/hooks/useRemoveProductAssignment.ts +40 -0
  529. package/src/modules/product/hooks/useRemoveProductMedia.ts +36 -0
  530. package/src/modules/product/hooks/useRemoveProductVariation.ts +36 -0
  531. package/src/modules/product/hooks/useRemoveProductVariationOption.ts +43 -0
  532. package/src/modules/product/hooks/useScaffoldBundleItem.ts +38 -0
  533. package/src/modules/product/hooks/useScaffoldVariationProduct.ts +50 -0
  534. package/src/modules/product/hooks/useSmartContractStandards.ts +34 -0
  535. package/src/modules/product/hooks/useTranslatedProductMediaTexts.ts +39 -0
  536. package/src/modules/product/hooks/useTranslatedProductTexts.ts +42 -0
  537. package/src/modules/product/hooks/useUnPublishProduct.ts +39 -0
  538. package/src/modules/product/hooks/useUpdateProduct.ts +46 -0
  539. package/src/modules/product/hooks/useUpdateProductCommerce.ts +61 -0
  540. package/src/modules/product/hooks/useUpdateProductMediaTexts.ts +42 -0
  541. package/src/modules/product/hooks/useUpdateProductPlan.ts +54 -0
  542. package/src/modules/product/hooks/useUpdateProductSupply.ts +60 -0
  543. package/src/modules/product/hooks/useUpdateProductTexts.ts +39 -0
  544. package/src/modules/product/hooks/useUpdateProductTokenization.ts +51 -0
  545. package/src/modules/product/hooks/useUpdateProductVariationTexts.ts +50 -0
  546. package/src/modules/product/hooks/useUpdateProductWarehousing.ts +50 -0
  547. package/src/modules/product/hooks/useUserTokens.ts +48 -0
  548. package/src/modules/product-review/fragments/ProductReviewDetailFragment.ts +55 -0
  549. package/src/modules/product-review/hooks/useAddProductReviewVote.ts +55 -0
  550. package/src/modules/product-review/hooks/useCreateProductReview.ts +47 -0
  551. package/src/modules/product-review/hooks/useProductReviewsByProductId.ts +70 -0
  552. package/src/modules/product-review/hooks/useRemoveProductReview.ts +38 -0
  553. package/src/modules/product-review/hooks/useRemoveProductReviewVote.ts +43 -0
  554. package/src/modules/product-review/hooks/useUserProductReviews.ts +92 -0
  555. package/src/modules/quotation/fragments/QuotationDetailFragment.ts +70 -0
  556. package/src/modules/quotation/fragments/QuotationFragment.ts +54 -0
  557. package/src/modules/quotation/hooks/useMakeQuotationProposal.ts +41 -0
  558. package/src/modules/quotation/hooks/useQuotation.ts +37 -0
  559. package/src/modules/quotation/hooks/useQuotations.ts +61 -0
  560. package/src/modules/quotation/hooks/useRejectQuotation.ts +41 -0
  561. package/src/modules/quotation/hooks/useUserQuotations.ts +60 -0
  562. package/src/modules/quotation/hooks/useVerifyQuotation.ts +41 -0
  563. package/src/modules/search/fragments/GlobalSearchFragment.ts +20 -0
  564. package/src/modules/search/hooks/useGlobalSearch.ts +168 -0
  565. package/src/modules/token/hooks/useInvalidateTicket.ts +27 -0
  566. package/src/modules/token/hooks/useToken.ts +64 -0
  567. package/src/modules/token/hooks/useTokens.ts +72 -0
  568. package/src/modules/warehousing-providers/fragments/WarehousingProviderFragment.ts +21 -0
  569. package/src/modules/warehousing-providers/hooks/useCreateWarehousingProvider.ts +46 -0
  570. package/src/modules/warehousing-providers/hooks/useRemoveWarehousingProvider.ts +38 -0
  571. package/src/modules/warehousing-providers/hooks/useUpdateWarehousingProvider.ts +47 -0
  572. package/src/modules/warehousing-providers/hooks/useWarehousingInterfacesByType.ts +38 -0
  573. package/src/modules/warehousing-providers/hooks/useWarehousingProvider.ts +39 -0
  574. package/src/modules/warehousing-providers/hooks/useWarehousingProviderTypes.ts +34 -0
  575. package/src/modules/warehousing-providers/hooks/useWarehousingProviders.ts +41 -0
  576. package/src/modules/work/fragments/WorkFragment.ts +24 -0
  577. package/src/modules/work/hooks/useActiveWorkTypes.ts +29 -0
  578. package/src/modules/work/hooks/useAddWork.ts +62 -0
  579. package/src/modules/work/hooks/useAllocateWork.ts +40 -0
  580. package/src/modules/work/hooks/useRecentExports.ts +129 -0
  581. package/src/modules/work/hooks/useRegisteredWorkTypes.ts +27 -0
  582. package/src/modules/work/hooks/useRemoveWork.ts +36 -0
  583. package/src/modules/work/hooks/useWork.ts +42 -0
  584. package/src/modules/work/hooks/useWorkQueue.ts +98 -0
  585. package/src/sdk/README.md +2 -2
  586. package/out/_next/static/BPoacQET3TJr2q9E370Ez/_buildManifest.js +0 -262
  587. package/out/_next/static/chunks/02ir8k2vqhw7u.js +0 -4
  588. package/out/_next/static/chunks/03mdkmx9pb3yx.js +0 -28
  589. package/out/_next/static/chunks/03spbldywp99b.js +0 -31
  590. package/out/_next/static/chunks/0531sa8v36e39.js +0 -1
  591. package/out/_next/static/chunks/065ltxdt7s8b2.js +0 -134
  592. package/out/_next/static/chunks/06b1jza2fvc6f.js +0 -4
  593. package/out/_next/static/chunks/0701uizxsgs75.js +0 -4
  594. package/out/_next/static/chunks/09olk50zbo5r6.js +0 -5
  595. package/out/_next/static/chunks/09pabifvs84zb.js +0 -12
  596. package/out/_next/static/chunks/0agx-csdwbk-x.js +0 -5
  597. package/out/_next/static/chunks/0clmvy-auef0p.js +0 -14
  598. package/out/_next/static/chunks/0czktxcs2aa12.js +0 -1
  599. package/out/_next/static/chunks/0d_qylr054ab-.js +0 -5
  600. package/out/_next/static/chunks/0e2znhpcecrqs.js +0 -175
  601. package/out/_next/static/chunks/0ef4vp3ehm369.js +0 -4
  602. package/out/_next/static/chunks/0fggi8jpi5gjk.js +0 -165
  603. package/out/_next/static/chunks/0gyabz3vqllr6.js +0 -83
  604. package/out/_next/static/chunks/0j05dboa5_xkw.js +0 -5
  605. package/out/_next/static/chunks/0kr4ift9_1a3s.js +0 -1
  606. package/out/_next/static/chunks/0l8tmlevl_6p0.js +0 -1
  607. package/out/_next/static/chunks/0o91usftba97q.js +0 -54
  608. package/out/_next/static/chunks/0oi1kpp0levnm.js +0 -1
  609. package/out/_next/static/chunks/0p86ng98eiz5q.js +0 -11
  610. package/out/_next/static/chunks/0pw1zl8_l93xl.js +0 -5
  611. package/out/_next/static/chunks/0py8-umjmwiwi.js +0 -156
  612. package/out/_next/static/chunks/0q0m2pv-3b2e2.js +0 -4
  613. package/out/_next/static/chunks/0r57e83u39trg.js +0 -5
  614. package/out/_next/static/chunks/0r9a_mcjh1k24.js +0 -6
  615. package/out/_next/static/chunks/0rgtc82y8z7_x.js +0 -5
  616. package/out/_next/static/chunks/0rxhx_x-7dojh.js +0 -182
  617. package/out/_next/static/chunks/0teb3b5h78855.js +0 -44
  618. package/out/_next/static/chunks/0thsuuvsozjop.js +0 -54
  619. package/out/_next/static/chunks/0v6x3uondh5hw.js +0 -5
  620. package/out/_next/static/chunks/0v_uz3j8jolmq.js +0 -4
  621. package/out/_next/static/chunks/0vwmp6qrw7odm.js +0 -7
  622. package/out/_next/static/chunks/0w6t6v_jzrudq.js +0 -4
  623. package/out/_next/static/chunks/0w7gz501ry22r.js +0 -4
  624. package/out/_next/static/chunks/0xgn-89s97a5w.js +0 -1
  625. package/out/_next/static/chunks/0xqtemh7t38y9.js +0 -119
  626. package/out/_next/static/chunks/1-1rj15j67dqt.js +0 -1
  627. package/out/_next/static/chunks/10drou7w-k58p.js +0 -4
  628. package/out/_next/static/chunks/11w7hldkge7sg.js +0 -8
  629. package/out/_next/static/chunks/130c8cta7pec6.js +0 -1
  630. package/out/_next/static/chunks/13qi39a_b6gkv.js +0 -1
  631. package/out/_next/static/chunks/15142badc5ufq.js +0 -4
  632. package/out/_next/static/chunks/155boltbcvwo-.js +0 -63
  633. package/out/_next/static/chunks/15_nwd8p454gd.js +0 -1
  634. package/out/_next/static/chunks/15s4qkdyz56pg.js +0 -115
  635. package/out/_next/static/chunks/15vdx0kewzv-6.js +0 -33
  636. package/out/_next/static/chunks/16shuavdpgni8.js +0 -327
  637. package/out/_next/static/chunks/170j06y4-47o4.js +0 -5
  638. package/out/_next/static/chunks/18a5kibvycb6u.js +0 -1
  639. package/out/_next/static/chunks/1_bckhq06wfmb.js +0 -4
  640. package/out/_next/static/chunks/1_ymf_rfke1aw.js +0 -6
  641. package/out/_next/static/chunks/1a1m389awxw4k.js +0 -1
  642. package/out/_next/static/chunks/1albq_5cppsa1.js +0 -5
  643. package/out/_next/static/chunks/1bhibqf8k2-z1.js +0 -117
  644. package/out/_next/static/chunks/1bxesp6kakz8_.js +0 -353
  645. package/out/_next/static/chunks/1d80ahah359g5.js +0 -174
  646. package/out/_next/static/chunks/1dbjry-rs_5we.js +0 -1
  647. package/out/_next/static/chunks/1dlr1eig6zpl1.js +0 -12
  648. package/out/_next/static/chunks/1gq8ickcg_vmv.js +0 -147
  649. package/out/_next/static/chunks/1gyrsx1nip-lm.js +0 -2
  650. package/out/_next/static/chunks/1hma23kynopdj.js +0 -3
  651. package/out/_next/static/chunks/1i996uxxmc736.js +0 -234
  652. package/out/_next/static/chunks/1ivhp-mi-5l--.js +0 -57
  653. package/out/_next/static/chunks/1ktkks-wpk8q-.js +0 -1
  654. package/out/_next/static/chunks/1kz62r46jwi0y.js +0 -5
  655. package/out/_next/static/chunks/1lex3myb5hmsw.js +0 -1
  656. package/out/_next/static/chunks/1lha1nklxo2g7.js +0 -1
  657. package/out/_next/static/chunks/1mwmcucidjio0.js +0 -8
  658. package/out/_next/static/chunks/1mzejejof4s6g.js +0 -147
  659. package/out/_next/static/chunks/1os6pvhjeb16o.js +0 -1
  660. package/out/_next/static/chunks/1p937fyqa7ssz.js +0 -1
  661. package/out/_next/static/chunks/1po7d3udj6iv4.js +0 -5
  662. package/out/_next/static/chunks/1qxxbcidu-hmv.js +0 -1
  663. package/out/_next/static/chunks/1re4i2t_po4sr.js +0 -95
  664. package/out/_next/static/chunks/1s4oi1bw8zl5d.js +0 -31
  665. package/out/_next/static/chunks/1sb04cqudnfpj.js +0 -4
  666. package/out/_next/static/chunks/1uom050rz5iol.js +0 -272
  667. package/out/_next/static/chunks/1uymuiqrms2h8.js +0 -103
  668. package/out/_next/static/chunks/1wijj_fal57co.js +0 -2
  669. package/out/_next/static/chunks/1wpen9t3_zbte.js +0 -1
  670. package/out/_next/static/chunks/1wpv1sl7vwg04.js +0 -99
  671. package/out/_next/static/chunks/1y3poj860g968.js +0 -24
  672. package/out/_next/static/chunks/1yk0pxcl4urkd.js +0 -4
  673. package/out/_next/static/chunks/1z2rl3h7scna4.js +0 -7
  674. package/out/_next/static/chunks/1zyhq82pkterc.js +0 -61
  675. package/out/_next/static/chunks/2-zr9-ri30va5.css +0 -1
  676. package/out/_next/static/chunks/20j8cdot33hql.js +0 -13
  677. package/out/_next/static/chunks/21fo9zerxyx-l.js +0 -59
  678. package/out/_next/static/chunks/22sxsq82r3cwy.js +0 -41
  679. package/out/_next/static/chunks/23nwkbry8kz0-.js +0 -1
  680. package/out/_next/static/chunks/259ckrmoldaqg.js +0 -5
  681. package/out/_next/static/chunks/25y2dqqrhstuq.js +0 -5
  682. package/out/_next/static/chunks/28myh-gi8t3t7.js +0 -7
  683. package/out/_next/static/chunks/29y82c6-u55hj.js +0 -5
  684. package/out/_next/static/chunks/2ahlen2u4lbnm.js +0 -16
  685. package/out/_next/static/chunks/2c3ehieqiwiw8.js +0 -119
  686. package/out/_next/static/chunks/2c5gq6izeq6nx.js +0 -81
  687. package/out/_next/static/chunks/2cj8g3fxmitaa.js +0 -1
  688. package/out/_next/static/chunks/2d9lzme_uzwvq.js +0 -1
  689. package/out/_next/static/chunks/2dqoft2pp4355.js +0 -1
  690. package/out/_next/static/chunks/2gso7_8v7owco.js +0 -1
  691. package/out/_next/static/chunks/2hc4nowrexhn3.js +0 -100
  692. package/out/_next/static/chunks/2hoi6cb1lromr.js +0 -4
  693. package/out/_next/static/chunks/2hw2_8kkf_2fg.js +0 -1
  694. package/out/_next/static/chunks/2kd4p_esjbozz.js +0 -21
  695. package/out/_next/static/chunks/2lwhn1ypqwukz.js +0 -11
  696. package/out/_next/static/chunks/2oz432iieo_c6.js +0 -43
  697. package/out/_next/static/chunks/2qjnhmz4c5fq1.js +0 -23
  698. package/out/_next/static/chunks/2rdjgc7_za785.js +0 -9
  699. package/out/_next/static/chunks/2ru66cyp0hbxn.js +0 -103
  700. package/out/_next/static/chunks/2ung-az_h871_.js +0 -4
  701. package/out/_next/static/chunks/2v4rvvdyh028e.js +0 -1
  702. package/out/_next/static/chunks/2vsl3-revotpl.js +0 -43
  703. package/out/_next/static/chunks/2wbc_9uwtsjbp.js +0 -15
  704. package/out/_next/static/chunks/2xixk0t9e9mnw.js +0 -1
  705. package/out/_next/static/chunks/2y6i_xssusr93.js +0 -1
  706. package/out/_next/static/chunks/2y_t26eglpeka.js +0 -4
  707. package/out/_next/static/chunks/3-hgyqm9mhcm9.js +0 -33
  708. package/out/_next/static/chunks/364y5vueeinvz.js +0 -276
  709. package/out/_next/static/chunks/366b9y413lk4d.js +0 -33
  710. package/out/_next/static/chunks/36vauyb71ot_b.js +0 -61
  711. package/out/_next/static/chunks/394m309ssmlo3.js +0 -5
  712. package/out/_next/static/chunks/39pveojee3ma1.js +0 -33
  713. package/out/_next/static/chunks/3_--novhq2u1q.js +0 -807
  714. package/out/_next/static/chunks/3apnk6kuvwze8.js +0 -5
  715. package/out/_next/static/chunks/3b0868kyqqkn3.js +0 -5
  716. package/out/_next/static/chunks/3dyd0ilb-ee5w.js +0 -8
  717. package/out/_next/static/chunks/3eftzknnu45-s.js +0 -1
  718. package/out/_next/static/chunks/3ejsx4af27cct.js +0 -7
  719. package/out/_next/static/chunks/3es4yddhl8uwc.js +0 -7
  720. package/out/_next/static/chunks/3inp15oicq85k.js +0 -1
  721. package/out/_next/static/chunks/3kd-t_qz3nxh7.js +0 -30
  722. package/out/_next/static/chunks/3kl8vv7w9jkjr.js +0 -23
  723. package/out/_next/static/chunks/3kmfx3f7oyfdm.js +0 -5
  724. package/out/_next/static/chunks/3koj4-48a7p_9.js +0 -4
  725. package/out/_next/static/chunks/3l7glrtu8ueuo.js +0 -4
  726. package/out/_next/static/chunks/3lgq9oa_2erwo.js +0 -5
  727. package/out/_next/static/chunks/3muxcxam24i5z.js +0 -1
  728. package/out/_next/static/chunks/3nimt7ngr5zv6.js +0 -46
  729. package/out/_next/static/chunks/3pwezwpggrz59.js +0 -74
  730. package/out/_next/static/chunks/3r02t7a7jknrv.js +0 -7
  731. package/out/_next/static/chunks/3s40iuaou1rt4.js +0 -1
  732. package/out/_next/static/chunks/3selzn479n73i.js +0 -16
  733. package/out/_next/static/chunks/3srflqnqdfd60.js +0 -5
  734. package/out/_next/static/chunks/3t57k35xu2eo8.js +0 -5
  735. package/out/_next/static/chunks/3tu90a7do336z.js +0 -12
  736. package/out/_next/static/chunks/3ukgj2jzxf10n.js +0 -5
  737. package/out/_next/static/chunks/3vosu-lpiis6v.js +0 -5
  738. package/out/_next/static/chunks/3xaz8fvw2x6b3.js +0 -5
  739. package/out/_next/static/chunks/3xgjhwzul66dp.js +0 -4
  740. package/out/_next/static/chunks/3zze6y1x00k__.js +0 -165
  741. package/out/_next/static/chunks/40730dyt912zu.js +0 -5
  742. package/out/_next/static/chunks/40f26tfp8txip.js +0 -5
  743. package/out/_next/static/chunks/40kc42ezz2dri.js +0 -1
  744. package/out/_next/static/chunks/41f60q88qcigi.js +0 -39
  745. package/out/_next/static/chunks/41l5iphw-rna3.js +0 -44
  746. package/out/_next/static/chunks/423kk9x5t9_b8.js +0 -5
  747. package/out/_next/static/chunks/42k5e3tr3uyzs.js +0 -54
  748. package/out/_next/static/chunks/4481d7yj7bm2q.js +0 -5
  749. package/out/_next/static/chunks/448is1kpt9eaa.js +0 -39
  750. package/out/_next/static/chunks/44fkzg2e80pqt.js +0 -8
  751. /package/out/_next/static/{BPoacQET3TJr2q9E370Ez → bg3Z_ZBjStiTvJAHlsPDE}/_clientMiddlewareManifest.js +0 -0
  752. /package/out/_next/static/{BPoacQET3TJr2q9E370Ez → bg3Z_ZBjStiTvJAHlsPDE}/_ssgManifest.js +0 -0
@@ -0,0 +1,165 @@
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,64481,e=>{"use strict";var t=e.i(91788),r=e.i(30943);e.s(["f",0,({children:e,container:s=null,className:n=""})=>{let i=(0,t.useRef)(null),[a,l]=(0,t.useState)(!1);return((0,t.useEffect)(()=>{let e=document.createElement("div");n&&(e.className=n),i.current=e;let t=s||document.body;return t.appendChild(e),l(!0),()=>{i.current&&t.contains(i.current)&&t.removeChild(i.current)}},[s,n]),a&&i.current)?(0,r.createPortal)(e,i.current):null}])},35429,e=>{"use strict";var t=e.i(91398),r=e.i(56206),s=e.i(3326),n=e.i(21128);e.s(["f",0,({cancelText:e=null,showCancel:i=!0,submitText:a=null,showSubmit:l=!0,onCancel:o,className:d=""})=>{let{formatMessage:u}=(0,s.X)();return(0,t.jsxs)("span",{className:(0,r.U)("flex shrink-0 items-center space-x-4 py-5 pl-1",d),children:[i?(0,t.jsx)("button",{onClick:o,"data-id":"cancel_update",type:"button",className:(0,r.U)("focus:ring-focus-ring","inline-flex items-center rounded-md border border-border-default bg-surface px-4 py-2 text-sm font-medium text-text-secondary shadow-xs hover:bg-surface-raised focus:outline-hidden focus:ring-2 focus:ring-focus-ring focus:ring-offset-2"),children:e||u({id:"cancel",defaultMessage:"Cancel"})}):null,l?(0,t.jsx)(n.f,{label:a||u({id:"save",defaultMessage:"Save"})}):null]})}])},56779,e=>{"use strict";var t=e.i(91398),r=e.i(56206),s=e.i(3828),n=e.i(91788),i=e.i(3326);e.s(["f",0,({children:e,tabItems:a,defaultTab:l,updateRoute:o=!0})=>{let d=(0,s.useRouter)(),{tab:u=l}=d?.query||{},c=Array.isArray(u)?u[0]:u,{formatMessage:f}=(0,i.X)(),m=e=>{if(o){let{sort:t,...r}=d?.query||{};d.push({query:{...r,tab:e}},void 0,{shallow:!0})}};return(0,t.jsxs)("div",{className:"mt-10",children:[(0,t.jsxs)("div",{className:"lg:hidden",children:[(0,t.jsx)("label",{htmlFor:"selected-tab",className:"sr-only",children:f({id:"select_tab",defaultMessage:"Select a tab"})}),(0,t.jsx)("select",{onChange:e=>m(e.target.value),id:"selected-tab",name:"selected-tab",className:"mt-1 block dark:bg-slate-800 dark:text-white w-full rounded-md border-border-default py-2 pl-3 pr-10 text-base capitalize focus:outline-none focus:ring-2 focus:ring-focus-ring focus:border-slate-800 dark:focus:border-slate-400 sm:text-sm",value:c,children:a.filter(Boolean).map(e=>(0,t.jsx)("option",{value:e.id,className:"dark:text-white",children:e?.title||e?.id},e.id))})]}),(0,t.jsx)("div",{className:"mt-5 hidden lg:block",children:(0,t.jsx)("div",{className:"",children:(0,t.jsx)("nav",{className:"flex flex-wrap gap-3",children:a.filter(Boolean).map(e=>(0,t.jsx)("a",{id:e.id,tabIndex:0,onClick:()=>m(e.id),onKeyDown:t=>{("Enter"===t.key||" "===t.key)&&(t.preventDefault(),m(e.id))},className:(0,r.U)({"cursor-pointer rounded-lg border border-border-default bg-white text-text-primary dark:bg-slate-900 shadow-sm dark:hover:border-slate-500 hover:border-slate-400 focus:outline-none focus:ring-2 focus:ring-focus-ring focus:ring-offset-2 dark:focus:ring-offset-slate-900":c===e.id},"cursor-pointer relative whitespace-nowrap border border-border-subtle py-2 px-1 pr-3 pl-2 text-sm dark:text-slate-400 font-medium hover:bg-white dark:hover:bg-slate-800 hover:border-slate-300 dark:hover:border-slate-500 rounded-lg focus:outline-none focus:ring-2 focus:ring-focus-ring focus:ring-offset-2 dark:focus:ring-offset-slate-900"),children:(0,t.jsxs)("div",{className:"flex items-center space-x-1",children:[(0,t.jsx)("div",{children:e.Icon}),(0,t.jsx)("div",{className:"capitalize",children:e?.title||e?.id}),e?.length?(0,t.jsx)("span",{className:"absolute top-0 right-0 inline-flex translate-x-1/2 -translate-y-1/2 transform items-center justify-center rounded-full bg-slate-400 px-1 py-0.5 text-sm leading-none text-slate-900",children:e?.length}):null]})},e.id))})})}),(0,t.jsx)("div",{className:"mt-5",children:n.default.cloneElement(e,{selectedView:c})})]})}])},34948,e=>{"use strict";var t=e.i(91398),r=e.i(3326),s=e.i(6607),n=e.i(42469),i=e.i(69211),a=e.i(13120),l=e.i(98949),o=e.i(35429);let d=({tags:e,onSubmit:s,onCancel:n,selectOptions:d=[]})=>{let{formatMessage:u}=(0,r.X)(),c=u({id:"tags_updated",defaultMessage:"Tags updated successfully"}),f=(0,l.f)({submit:s,successMessage:c,onSubmitSuccess:n,initialValues:{tags:e}});return(0,t.jsxs)(i.f,{form:f,id:"add_tag_form",children:[(0,t.jsx)("div",{children:(0,t.jsx)(a.f,{name:"tags",id:"tags",label:u({id:"tags",defaultMessage:"Tags"}),tagList:e,selectOptions:d})}),(0,t.jsx)("div",{className:"border border-t-slate-100 bg-slate-50 mt-6 -mx-6 -mb-6 px-6 dark:bg-slate-900 dark:border-0",children:(0,t.jsx)(o.f,{onCancel:n,className:"justify-end "})})]})};e.s(["f",0,({defaultValue:e,onSubmit:i,enableEdit:a,availableTagOptions:l=[]})=>{let{formatMessage:o}=(0,r.X)(),{setModal:u}=(0,s.f)();return(0,t.jsxs)("div",{className:"flex items-center mr-auto gap-2",children:[(0,t.jsx)("div",{className:"flex flex-wrap items-center gap-2",children:e?.length?e.map((e,r)=>(0,t.jsx)("span",{children:(0,t.jsx)(n.f,{text:e,color:"sky"})},`${e}${r+1}`)):(0,t.jsx)("span",{children:(0,t.jsx)(n.f,{text:o({id:"no_tag",defaultMessage:"No Tag"}),color:"slate"})})}),a&&(0,t.jsx)("button",{id:"add_tag",type:"button",className:"rounded-sm hover:shadow-sm px-3 py-2 text-xs inline-flex items-center justify-center text-slate-800 hover:text-slate-900 hover:bg-slate-50 hover:border border-transparent border-1 hover:border-slate-300 dark:text-slate-400 dark:hover:text-slate-200 dark:hover:bg-slate-800 transition-colors focus:outline-hidden focus:ring-2 focus:ring-focus-ring",onClick:()=>u((0,t.jsx)(d,{tags:e||[],onCancel:()=>u(""),onSubmit:i,selectOptions:l})),children:o({id:"edit_tags",defaultMessage:"Edit tags"})})]})}],34948)},63094,e=>{"use strict";var t=e.i(91398),r=e.i(91788),s=e.i(61898);let n=(e,t="")=>e&&"object"==typeof e?Object.entries(e).reduce((e,[s,i])=>{if(!i||"ref"===s)return e;let a=`${t}${s}`;return"string"==typeof i||r.default.isValidElement(i)?e[a]=i:"string"==typeof i.message&&i.message?e[a]=i.message:"object"==typeof i&&Object.assign(e,n(i,`${a}.`)),e},{}):{},i=({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(s).map(([e,s])=>(0,t.jsx)("li",{className:"disabled",children:(0,t.jsx)("button",{type:"button",className:"no-button text-danger","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})=>{var r;let a,{submitError:l,rhf:o}=(0,s.f)(),d=e?(r=n(o?.formState?.errors),a=new Set,Object.fromEntries(Object.entries(r).filter(([,e])=>"string"!=typeof e||!a.has(e)&&(a.add(e),!0)))):{};return(l||e)&&(0,t.jsx)(i,{submitError:l,fieldErrors:d})}])},83094,e=>{"use strict";var t=e.i(91398),r=e.i(56206),s=e.i(3326),n=e.i(91412),i=e.i(10947),i=i,a=e.i(7654),l=e.i(31858),o=e.i(3812),d=e.i(98634),u=e.i(82226),c=e.i(60741),f=e.i(54879),m=e.i(56779);let p=({selectedView:e="edit",...s})=>"preview"===e?(0,t.jsx)("div",{className:"prose dark:prose-invert",children:(0,t.jsx)(a.f,{rehypePlugins:[l.f,o.f,d.f],children:s.value})}):(0,t.jsx)("textarea",{className:(0,r.U)("relative mt-1 block w-full dark:focus:autofill dark:hover:autofill dark:autofill dark:placeholder:text-slate-400 dark:bg-slate-900 dark:text-slate-200 appearance-none rounded-md border-1 border-border-default px-4 py-2.5 text-sm text-slate-900 placeholder-slate-400 shadow-xs placeholder:text-slate-400 focus:outline-hidden focus:ring-2 focus:ring-focus-ring",s.className,{"border-rose-700 placeholder:text-rose-300 placeholder-rose-300":!!s.error}),disabled:s.disabled,id:s.name,name:s.name,rows:s.rows||10,onChange:s.onChange,onBlur:s.onBlur,placeholder:s.placeholder,autoComplete:s.autoComplete||"off",value:s.value});e.s(["f",0,({maxLength:e,validators:r=[],...a})=>{let{formatMessage:l}=(0,s.X)(),o=(0,c.f)({validators:[...r,e&&(0,u.f)(e)],...a}),d=[{id:"editor",title:l({id:"editor",defaultMessage:"Editor"}),Icon:(0,t.jsx)(i.f,{className:"h-4 w-5"})},{id:"preview",title:l({id:"preview",defaultMessage:"preview"}),Icon:(0,t.jsx)(n.f,{className:"h-4 w-5"})}];return(0,t.jsx)(f.f,{...o,children:(0,t.jsx)("div",{className:"-mt-8",children:(0,t.jsx)(m.f,{tabItems:d,defaultTab:"editor",children:(0,t.jsx)(p,{...o})})})})}],83094)},13120,e=>{"use strict";var t=e.i(91398),r=e.i(56206),s=e.i(76038),n=e.i(60741),i=e.i(82226),a=e.i(54879);e.s(["f",0,({buttonText:e="",validators:l=[],selectOptions:o=[],...d})=>{let u=(0,n.f)({validators:[...l,(0,i.x)(d?.required)],label:"Tags",...d});return(0,t.jsx)(a.f,{...u,children:(0,t.jsx)(s.f,{disabled:u.disabled,id:u.id,name:u.name,className:(0,r.U)({"border-rose-300":!!u.error}),onChange:e=>u.setValue(e,!0),placeholder:u.placeholder,tagList:u.value,buttonText:e,selectOptions:o})})}])},31494,e=>{"use strict";var t=e.i(91398),r=e.i(3326),s=e.i(84818),n=e.i(87284),i=e.i(6634);let a=({value:e})=>{let{formatDateTime:a}=(0,s.f)(),{formatMessage:l}=(0,r.X)();return(e=>{try{return new URL(e)}catch{return!1}})(e)?(e=>{try{let{pathname:t}=new URL(e),r=t?.split("."),s=`.${r[r.length-1]}`;return[".jpg",".jpeg",".png",".gif",".bmp"].includes(s)}catch{return!1}})(e)?(0,t.jsx)("div",{className:"ring-2 ring-offset-2 ring-slate-900 group block w-full aspect-w-10 aspect-h-7 rounded-lg bg-slate-50 overflow-hidden",children:(0,t.jsx)(n.f,{src:e,className:"relative h-10 w-10 rounded-full",width:100,height:100,alt:l({id:"image_not_available",defaultMessage:"Image not available"})})}):(0,t.jsx)("div",{className:"ml-4 shrink-0",children:(0,t.jsxs)("a",{href:e,className:"font-medium text-slate-900 hover:text-slate-800",target:"_blank",rel:"noreferrer",children:[new URL(e).host,"...",new URL(e).pathname]})}):(e=>{try{return"boolean"==typeof JSON.parse(e)}catch{return!1}})(e)?(0,t.jsx)(i.f,{disabled:!0,active:JSON.parse(e)}):!Number.isNaN(Date.parse(e))&&Number.isNaN(Number(e))?a(e,{dateStyle:"long",timeStyle:"short"}):(!Number.isNaN(e),e)},l=({value:e})=>(0,t.jsx)("h3",{className:"text-base font-medium",children:(0,t.jsx)("span",{className:"text-slate-900",children:e})}),o=e=>{let{data:r,parentKey:s}=e;if(!r)return null;let n=Object.keys(r),i=[];return void 0!==s&&i.push((0,t.jsx)(l,{value:s},s)),n.forEach(e=>{let n=r[e];if(Array.isArray(n))if(i.push((0,t.jsx)(l,{value:e},e)),n.every(e=>"string"==typeof e||"number"==typeof e))i.push((0,t.jsx)("div",{className:" p-2",children:n?.map(e=>(0,t.jsx)("span",{className:"inline-flex items-center rounded-md bg-slate-50 px-2.5 py-0.5 text-sm font-medium text-slate-800 ml-2",children:(0,t.jsx)(a,{value:e})},e))},e));else{let r=[];n.forEach((e,s)=>{r.push((0,t.jsx)("li",{className:"flex items-center text-slate-600 justify-between py-3 pl-3 pr-4 text-sm",children:o({data:e,parentKey:s})},s))}),i.push((0,t.jsx)("ul",{className:"divide-y divide-slate-200 rounded-md ",children:r},e))}else"object"==typeof n?i.push(o({data:n,parentKey:e})):void 0===s?i.push((0,t.jsxs)("div",{className:"py-4 sm:grid sm:grid-cols-3 sm:gap-4 sm:py-5",children:[(0,t.jsx)("dt",{className:"text-sm font-medium text-slate-700",children:(0,t.jsx)(l,{value:e},e)}),(0,t.jsx)("dd",{className:"mt-1 text-sm text-slate-900 sm:col-span-2 sm:mt-0",children:(0,t.jsx)(a,{value:n})})]},e)):i.push((0,t.jsxs)("div",{className:"py-4 sm:grid sm:grid-cols-3 sm:gap-4 sm:py-5 sm:px-6",children:[(0,t.jsx)("dt",{className:"text-sm font-medium text-slate-700",children:(0,t.jsx)(l,{value:e},e)}),(0,t.jsx)("dd",{className:"mt-1 text-sm text-slate-900 sm:col-span-2 sm:mt-0",children:(0,t.jsx)(a,{value:n})})]},e))}),(0,t.jsx)("div",{className:" bg-white px-4 py-5 ",children:(0,t.jsx)("dl",{children:i})})};e.s(["f",0,o])},11056,e=>{"use strict";var t=e.i(91398),r=e.i(91788),s=e.i(5505),n=e.i(57561);e.s(["f",0,({children:e,onlyFull:i=!1})=>{let{languageDialectList:a,selectedLocale:l,setSelectedLocale:o}=(0,n.f)(),d=(0,r.useContext)(s.W),u=a.filter(e=>!i||e.isoCode.includes("-"));return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:`w-fit mt-5 mb-3 ${d?"ml-5":""}`,children:(0,t.jsx)("select",{id:"locale-wrapper",className:"cursor-pointer rounded-md border-1 border-border-default py-1 pr-8 text-sm lg:py-1 lg:pr-10 text-black dark:text-white dark:bg-slate-800 shadow-xs focus:outline-hidden focus:ring-2 focus:ring-focus-ring",value:l||"",onChange:e=>{e.stopPropagation(),o(e.target.value)},children:u?.map(e=>(0,t.jsx)("option",{value:e.isoCode,children:e.isoCode},e._id))})}),(0,t.jsx)("div",{children:r.default.cloneElement(e)})]})}])},60195,e=>{"use strict";var t=e.i(91398),r=e.i(56206);e.s(["f",0,({documentationLabel:e,documentation:s=null,mainContent:n=null,sideComponents:i=null,className:a=null,children:l})=>(0,t.jsx)(t.Fragment,{children:(0,t.jsxs)("div",{className:(0,r.U)("mt-5 lg:grid lg:grid-cols-3 lg:gap-6",a),children:[(0,t.jsx)("div",{className:"lg:col-span-1 mt-10 lg:mt-1",children:(0,t.jsxs)("div",{className:"px-4 sm:px-0",children:[(0,t.jsx)("h3",{className:"text-lg text-text-primary",children:e}),(0,t.jsx)("div",{className:"mt-1 text-sm text-slate-600 dark:text-slate-500",children:s}),i]})}),(0,t.jsx)("div",{className:"lg:col-span-2 lg:mt-0",children:l||n})]})})])},3095,e=>{"use strict";var t=e.i(91398),r=e.i(91788),s=e.i(3326),n=e.i(86712),i=e.i(76842),a=e.i(24557),l=e.i(64481);e.s(["f",0,({onEdit:e,onDelete:o,editLabel:d,deleteLabel:u,showEdit:c=!0,showDelete:f=!0})=>{let{formatMessage:m}=(0,s.X)(),[p,b]=(0,r.useState)(!1),[x,h]=(0,r.useState)({top:0,left:0}),g=(0,r.useRef)(null),v=(0,r.useRef)(null);(0,r.useEffect)(()=>{let e=e=>{g.current&&!g.current.contains(e.target)&&b(!1)};return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}},[]);let y=(e,t)=>{e.stopPropagation(),e.preventDefault(),t&&t(),b(!1)};return 0===[c&&e,f&&o].filter(Boolean).length?null:(0,t.jsxs)("div",{className:"flex justify-end w-full",children:[(0,t.jsx)("button",{ref:v,type:"button",onClick:e=>{e.stopPropagation(),e.preventDefault(),p||(()=>{if(!v.current)return;let e=v.current.getBoundingClientRect(),t=e.bottom+4,r=e.right-192;r<8&&(r=8),t+80>window.innerHeight-8&&(t=e.top-80-4),h({top:t,left:r})})(),b(!p)},className:"flex items-center justify-center w-8 h-8 rounded-md hover:bg-surface-raised transition-colors","aria-label":m({id:"table_actions_menu",defaultMessage:"Actions menu"}),children:(0,t.jsx)(n.f,{className:"w-5 h-5 text-text-muted"})}),p&&(0,t.jsx)(l.f,{children:(0,t.jsx)("div",{ref:g,className:"fixed w-48 bg-surface rounded-md shadow-xl border border-border-subtle z-[9999]",style:{top:x.top,left:x.left},children:(0,t.jsxs)("div",{className:"py-1",children:[c&&e&&(0,t.jsxs)("button",{type:"button",onClick:t=>y(t,e),className:"flex items-center w-full px-4 py-2 text-sm text-text-secondary hover:bg-surface-raised transition-colors",children:[(0,t.jsx)(i.f,{className:"mr-3 h-5 w-5"}),d||m({id:"edit",defaultMessage:"Edit"})]}),f&&o&&(0,t.jsxs)("button",{type:"button",onClick:e=>y(e,o),className:"flex items-center w-full px-4 py-2 text-sm text-rose-500 dark:text-rose-400 hover:bg-rose-50 dark:hover:bg-rose-900/20 transition-colors",children:[(0,t.jsx)(a.f,{className:"mr-3 h-5 w-5"}),u||m({id:"delete",defaultMessage:"Delete"})]})]})})})]})}])},64479,e=>{"use strict";var t=e.i(59080),r=e.i(76204);let s=t.a`
2
+ mutation ConfirmMediaUpload(
3
+ $mediaUploadTicketId: ID!
4
+ $size: Int!
5
+ $type: String!
6
+ ) {
7
+ confirmMediaUpload(
8
+ mediaUploadTicketId: $mediaUploadTicketId
9
+ size: $size
10
+ type: $type
11
+ ) {
12
+ _id
13
+ name
14
+ type
15
+ size
16
+ url
17
+ }
18
+ }
19
+ `;e.s(["f",0,(e={})=>{let[t]=(0,r.f)(s,e);return{confirmMediaUpload:async({mediaUploadTicketId:e,size:r,type:s})=>t({variables:{mediaUploadTicketId:e,size:r,type:s}})}}])},93994,e=>{"use strict";let t=async(e,t)=>{let r=await fetch(t,{method:"PUT",body:e});return r.ok?Promise.resolve({}):Promise.reject(Error(r.statusText))};e.s(["f",0,t])},83147,e=>{"use strict";let t=e=>e&&e?.split(",").reduce((e,t)=>{let[r=null,s=null]=(t||"")?.split("_")||[];return{...e,[r]:s}},null)||{};e.s(["S",0,(...e)=>e.filter(Boolean).join(" "),"R",0,e=>Object.entries(t(e))?.map(([e,t])=>({key:e,value:t})),"D",0,e=>e?.label&&e?.version?`${e.label} ${e.version}`:"","v",0,t,"Q",0,(e,t,r=!0)=>{if(!t)return"";try{return`${new Intl.DisplayNames([e],{type:"region"}).of(t)} ${r?`(${t})`:""}`}catch{return t}},"j",0,(e,t,r=!0)=>{if(!t)return"";try{return`${new Intl.DisplayNames([e],{type:"currency"}).of(t)} ${r?`(${t})`:""}`}catch{return t}},"I",0,(e,t,r=!0)=>{if(!t)return"";try{return`${new Intl.DisplayNames([e],{type:"language"}).of(t)} ${r?`(${t})`:""}`}catch{return t}},"_",0,(e,t,r)=>{let s;return s=r?{...e,[r]:t}:e,Object.keys(s)?.map(e=>[e,s[e]].join("="))?.join("&")},"d",0,()=>({formatPrice:e=>{if(!e?.currencyCode)return"n/a";if(e?.amount===void 0||e?.amount===null)return"";let{amount:t,currencyCode:r}=e||{};return new Intl.NumberFormat(navigator.language,{style:"currency",currency:r}).format(t/100)}})])},80294,e=>{"use strict";var t=e.i(59080);let r=t.a`
20
+ fragment FilterFragment on Filter {
21
+ _id
22
+ updated
23
+ created
24
+ key
25
+ isActive
26
+ type
27
+ options {
28
+ _id
29
+ texts {
30
+ _id
31
+ title
32
+ subtitle
33
+ locale
34
+ }
35
+ value
36
+ }
37
+ }
38
+ `;e.s(["f",0,r])},54680,e=>{"use strict";var t=e.i(59080),r=e.i(32171),s=e.i(80294);let n=t.a`
39
+ query Filters(
40
+ $queryString: String
41
+ $limit: Int
42
+ $offset: Int
43
+ $includeInactive: Boolean
44
+ $sort: [SortOptionInput!]
45
+ ) {
46
+ filters(
47
+ queryString: $queryString
48
+ limit: $limit
49
+ offset: $offset
50
+ includeInactive: $includeInactive
51
+ sort: $sort
52
+ ) {
53
+ ...FilterFragment
54
+ texts {
55
+ _id
56
+ title
57
+ subtitle
58
+ locale
59
+ }
60
+ }
61
+ filtersCount(includeInactive: $includeInactive, queryString: $queryString)
62
+ }
63
+ ${s.f}
64
+ `;e.s(["f",0,({queryString:e="",limit:t=20,offset:s=0,includeInactive:i=!0,sort:a=[],forceLocale:l=""}={})=>{let{data:o,loading:d,error:u,fetchMore:c,client:f}=(0,r.f)(n,{context:{headers:{forceLocale:l}},variables:{queryString:e,limit:t,offset:s,includeInactive:i,sort:a}}),m=o?.filters||[],p=o?.filtersCount,b=m?.length<p;return{filters:m,filtersCount:p,hasMore:b,loading:d,error:u,loadMore:()=>{c({variables:{offset:m?.length}})},client:f}}])},15971,e=>{"use strict";var t=e.i(91398),r=e.i(3326);e.s(["f",0,({onOkClick:e,onCancelClick:s,okText:n=null,cancelText:i=null,headerText:a=null,message:l=null,icon:o=null,close:d=null,loading:u=!1})=>{let{formatMessage:c}=(0,r.X)();return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"sm:flex sm:items-start",children:[o||(0,t.jsx)("div",{className:"mx-auto flex h-12 w-12 shrink-0 items-center justify-center rounded-full bg-rose-100 dark:bg-rose-900/30 sm:mx-0 sm:h-10 sm:w-10",children:(0,t.jsx)("svg",{className:"h-6 w-6 text-danger",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","aria-hidden":"true",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z"})})}),(0,t.jsxs)("div",{className:"mt-3 text-center sm:mt-0 sm:ml-4 sm:text-left",children:[(0,t.jsx)("h3",{className:"text-lg text-text-primary",id:"modal-title",children:a||c({id:"warning",defaultMessage:"Warning!"})}),(0,t.jsx)("div",{className:"mt-2",children:(0,t.jsx)("p",{className:"text-sm text-text-muted",children:l||c({id:"are_you_sure",defaultMessage:"Are you sure?"})})})]})]}),(0,t.jsxs)("div",{className:"mt-5 sm:mt-4 sm:flex sm:flex-row-reverse",children:[(0,t.jsx)("button",{id:"danger_continue",onClick:e,disabled:u,"aria-busy":u,type:"button",className:"inline-flex w-full justify-center rounded-md border border-transparent bg-rose-600 px-4 py-2 text-base font-medium text-white shadow-xs hover:bg-rose-700 focus:outline-hidden focus:ring-2 focus:ring-rose-500 focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 sm:ml-3 sm:w-auto sm:text-sm",children:n||c({id:"continue",defaultMessage:"Continue"})}),(0,t.jsx)("button",{id:"danger_cancel",onClick:s||d,disabled:u,type:"button",className:"mt-3 inline-flex w-full justify-center rounded-md border border-border-default bg-surface px-4 py-2 text-base font-medium text-text-secondary shadow-xs hover:bg-surface-raised focus:outline-hidden focus:ring-2 focus:ring-focus-ring focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 sm:mt-0 sm:ml-3 sm:w-auto sm:text-sm",children:i||c({id:"cancel",defaultMessage:"Cancel"})})]})]})}])},6607,e=>{"use strict";var t=e.i(91788),r=e.i(6444);e.s(["f",0,()=>(0,t.useContext)(r.f)])},58668,e=>{"use strict";var t=e.i(91398),r=e.i(91788);class s 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(`Plugin "${this.props.pluginName}" crashed in component "${this.props.componentName}":`,e,t)}render(){return this.state.hasError?(0,t.jsx)("div",{className:"rounded-lg border border-danger bg-danger-surface p-4 my-2",children:(0,t.jsxs)("div",{className:"flex items-start justify-between",children:[(0,t.jsxs)("div",{children:[(0,t.jsxs)("p",{className:"text-sm font-medium text-danger",children:['Plugin "',this.props.pluginName,'" encountered an error']}),(0,t.jsxs)("p",{className:"text-xs text-text-muted mt-1",children:["Component: ",this.props.componentName]}),this.state.error&&(0,t.jsxs)("details",{className:"mt-2",children:[(0,t.jsx)("summary",{className:"text-xs text-text-muted cursor-pointer hover:text-text-secondary",children:"Error details"}),(0,t.jsxs)("pre",{className:"mt-1 text-xs text-text-muted whitespace-pre-wrap break-words font-mono bg-surface p-2 rounded max-h-32 overflow-auto",children:[this.state.error.message,this.state.error.stack&&`
65
+ ${this.state.error.stack.split("\n").slice(1,4).join("\n")}`]})]})]}),(0,t.jsxs)("button",{onClick:()=>this.setState({hasError:!1,error:null}),className:"ml-4 shrink-0 inline-flex items-center gap-1 rounded-md border border-border bg-surface px-3 py-1.5 text-xs font-medium text-text-primary hover:bg-surface-raised transition-colors",children:[(0,t.jsx)("svg",{className:"h-3 w-3",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:2,children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M16.023 9.348h4.992v-.001M2.985 19.644v-4.992m0 0h4.992m-4.993 0l3.181 3.183a8.25 8.25 0 0013.803-3.7M4.031 9.865a8.25 8.25 0 0113.803-3.7l3.181 3.182"})}),"Retry"]})]})}):this.props.children}}e.s(["f",0,s])},70475,e=>{"use strict";var t=e.i(91398),r=e.i(91788),s=e.i(13534),n=e.i(26539),i=e.i(58668),a=e.i(53576);e.s(["f",0,({slot:e,children:l,...o})=>{let{getSlotPlugins:d,getComponent:u,loading:c}=(0,s.L)();if(c)return null;let f=d(e);return 0===f.length?null:(0,t.jsx)(t.Fragment,{children:f.map(({manifest:s,config:d})=>{let c=d.component||d.components?.list,f=u(s.name,c);if(!f)return console.warn(`Plugin "${s.name}": component "${c}" not found in bundle`),null;let m={pluginName:s.name,version:s.version,slotId:e,config:d};return(0,t.jsx)(i.f,{pluginName:s.name,componentName:c,children:(0,t.jsx)(n.h,{value:m,children:(0,t.jsx)(r.Suspense,{fallback:(0,t.jsx)(a.f,{variant:"detail"}),children:l?l(f,d,s):(0,t.jsx)(f,{...o})})})},`${s.name}-${c}`)})})}])},54529,e=>{"use strict";var t=e.i(59080);let r=t.a`
66
+ fragment ProductBriefFragment on Product {
67
+ texts(forceLocale: $forceLocale) {
68
+ _id
69
+ slug
70
+ title
71
+ subtitle
72
+ description
73
+ vendor
74
+ brand
75
+ labels
76
+ locale
77
+ }
78
+ _id
79
+ sequence
80
+ status
81
+ tags
82
+ sequence
83
+ updated
84
+ published
85
+ media {
86
+ _id
87
+ tags
88
+ file {
89
+ _id
90
+ url
91
+ }
92
+ }
93
+ ... on BundleProduct {
94
+ proxies {
95
+ __typename
96
+ }
97
+ }
98
+ ... on SimpleProduct {
99
+ catalogPrice {
100
+ amount
101
+ currencyCode
102
+ }
103
+ proxies {
104
+ __typename
105
+ }
106
+ }
107
+ ... on PlanProduct {
108
+ catalogPrice {
109
+ amount
110
+ currencyCode
111
+ }
112
+ proxies {
113
+ __typename
114
+ }
115
+ }
116
+ }
117
+ `;e.s(["f",0,r])},24112,60959,e=>{"use strict";var t=e.i(59080),r=e.i(32171),s=e.i(54529);let n=t.a`
118
+ fragment ProductDimensionFragment on Dimensions {
119
+ weight(unit: GRAM)
120
+ length(unit: MILLIMETERS)
121
+ width(unit: MILLIMETERS)
122
+ height(unit: MILLIMETERS)
123
+ }
124
+ `;e.s(["f",0,n],60959);let i=t.a`
125
+ query Products(
126
+ $queryString: String
127
+ $tags: [LowerCaseString!]
128
+ $slugs: [String!]
129
+ $limit: Int
130
+ $offset: Int
131
+ $includeDrafts: Boolean
132
+ $sort: [SortOptionInput!]
133
+ $forceLocale: Locale
134
+ $type: ProductType
135
+ ) {
136
+ products(
137
+ queryString: $queryString
138
+ tags: $tags
139
+ slugs: $slugs
140
+ limit: $limit
141
+ offset: $offset
142
+ includeDrafts: $includeDrafts
143
+ sort: $sort
144
+ type: $type
145
+ ) {
146
+ ...ProductBriefFragment
147
+ ... on SimpleProduct {
148
+ sku
149
+ baseUnit
150
+ dimensions {
151
+ ...ProductDimensionFragment
152
+ }
153
+ }
154
+ }
155
+ productsCount(
156
+ tags: $tags
157
+ slugs: $slugs
158
+ includeDrafts: $includeDrafts
159
+ queryString: $queryString
160
+ type: $type
161
+ )
162
+ }
163
+ ${n}
164
+ ${s.f}
165
+ `;e.s(["f",0,({queryString:e="",limit:t=20,offset:s=0,tags:n=null,includeDrafts:a=!0,slugs:l=null,sort:o=[],forceLocale:d="",type:u=null}={})=>{let{data:c,loading:f,error:m,fetchMore:p,client:b}=(0,r.f)(i,{context:{headers:{forceLocale:d}},variables:{queryString:e,limit:t,offset:s,includeDrafts:a,tags:n,slugs:l,type:u,sort:o.length?o:[{key:"sequence",value:"ASC"}]}}),x=c?.products||[],h=c?.productsCount,g=x?.length<h;return{products:x,productsCount:h,hasMore:g,loading:f,error:m,loadMore:()=>{p({variables:{offset:x.length}})},client:b}}],24112)},52745,e=>{"use strict";var t=e.i(91788);let r=t.forwardRef(function({title:e,titleId:r,...s},n){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:n,"aria-labelledby":r},s),e?t.createElement("title",{id:r},e):null,t.createElement("path",{d:"M10.362 1.093a.75.75 0 0 0-.724 0L2.523 5.018 10 9.143l7.477-4.125-7.115-3.925ZM18 6.443l-7.25 4v8.25l6.862-3.786A.75.75 0 0 0 18 14.25V6.443ZM9.25 18.693v-8.25l-7.25-4v7.807a.75.75 0 0 0 .388.657l6.862 3.786Z"}))});e.s(["f",0,r],52745)},25705,92276,e=>{"use strict";let t,r,s,n;var i=e.i(91788);let a=i.forwardRef(function({title:e,titleId:t,...r},s){return i.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:s,"aria-labelledby":t},r),e?i.createElement("title",{id:t},e):null,i.createElement("path",{fillRule:"evenodd",d:"M4.5 2A1.5 1.5 0 0 0 3 3.5v13A1.5 1.5 0 0 0 4.5 18h11a1.5 1.5 0 0 0 1.5-1.5V7.621a1.5 1.5 0 0 0-.44-1.06l-4.12-4.122A1.5 1.5 0 0 0 11.378 2H4.5Zm2.25 8.5a.75.75 0 0 0 0 1.5h6.5a.75.75 0 0 0 0-1.5h-6.5Zm0 3a.75.75 0 0 0 0 1.5h6.5a.75.75 0 0 0 0-1.5h-6.5Z",clipRule:"evenodd"}))});e.s(["f",0,a],25705);var l=e.i(91398),o=e.i(86567),d=e.i(45229),u=e.i(30943),c=e.i(72016),f=e.i(59146),m=e.i(29672),p=e.i(60374),b=e.i(26171),x=e.i(80150),h=e.i(93481),g=e.i(71147),v=e.i(73483),y=e.i(64728),j=e.i(15067),w=e.i(68327),k=e.i(87264),N=e.i(76925),S=e.i(41888),O=e.i(99030),E=e.i(4067),I=e.i(8404),C=e.i(56833),M=e.i(55367);let L=/([\u2700-\u27BF]|[\uE000-\uF8FF]|\uD83C[\uDC00-\uDFFF]|\uD83D[\uDC00-\uDFFF]|[\u2011-\u26FF]|\uD83E[\uDD10-\uDDFF])/g;function P(e){var t,r;let s=null!=(t=e.innerText)?t:"",n=e.cloneNode(!0);if(!M.F(n))return s;let i=!1;for(let e of n.querySelectorAll('[hidden],[aria-hidden],[role="img"]'))e.remove(),i=!0;let a=i?null!=(r=n.innerText)?r:"":s;return L.test(a)&&(a=a.replace(L,"")),a}var R=e.i(98294),$=e.i(80281),_=e.i(60360),D=e.i(15503),T=e.i(28708),F=e.i(48714),A=e.i(96061),B=e.i(96694),V=e.i(31774),U=e.i(59778),q=e.i(87706),z=e.i(60004),Q=e.i(65383),Z=e.i(47105),K=e.i(26417),X=e.i(80795),W=e.i(74664),H=e.i(72381),J=e.i(78270),G=e.i(9769),Y=e.i(62750),ee=e.i(14929),et=e.i(61614),er=Object.defineProperty,es=(e,t,r)=>{let s;return(s="symbol"!=typeof t?t+"":t)in e?er(e,s,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[s]=r,r},en=((t=en||{})[t.Open=0]="Open",t[t.Closed=1]="Closed",t),ei=((r=ei||{})[r.Single=0]="Single",r[r.Multi=1]="Multi",r),ea=((s=ea||{})[s.Pointer=0]="Pointer",s[s.Other=1]="Other",s),el=((n=el||{})[n.OpenListbox=0]="OpenListbox",n[n.CloseListbox=1]="CloseListbox",n[n.GoToOption=2]="GoToOption",n[n.Search=3]="Search",n[n.ClearSearch=4]="ClearSearch",n[n.SelectOption=5]="SelectOption",n[n.RegisterOptions=6]="RegisterOptions",n[n.UnregisterOptions=7]="UnregisterOptions",n[n.SetButtonElement=8]="SetButtonElement",n[n.SetOptionsElement=9]="SetOptionsElement",n[n.SortOptions=10]="SortOptions",n[n.MarkButtonAsMoved=11]="MarkButtonAsMoved",n);function eo(e,t=e=>e){let r=null!==e.activeOptionIndex?e.options[e.activeOptionIndex]:null,s=(0,Q.T)(t(e.options.slice()),e=>e.dataRef.current.domRef.current),n=r?s.indexOf(r):null;return -1===n&&(n=null),{options:s,activeOptionIndex:n}}let ed={1(e){if(e.dataRef.current.disabled||1===e.listboxState)return e;let t=e.buttonElement?et.L.Tracked((0,et.Q)(e.buttonElement)):e.buttonPositionState;return{...e,activeOptionIndex:null,pendingFocus:{focus:q.b.Nothing},listboxState:1,__demoMode:!1,buttonPositionState:t}},0(e,t){if(e.dataRef.current.disabled||0===e.listboxState)return e;let r=e.activeOptionIndex,{isSelected:s}=e.dataRef.current,n=e.options.findIndex(e=>s(e.dataRef.current.value));return -1!==n&&(r=n),{...e,frozenValue:!1,pendingFocus:t.focus,listboxState:0,activeOptionIndex:r,__demoMode:!1,buttonPositionState:et.L.Idle}},2(e,t){var r,s,n,i,a;if(e.dataRef.current.disabled||1===e.listboxState)return e;let l={...e,searchQuery:"",activationTrigger:null!=(r=t.trigger)?r:1,__demoMode:!1};if(t.focus===q.b.Nothing)return{...l,activeOptionIndex:null};if(t.focus===q.b.Specific)return{...l,activeOptionIndex:e.options.findIndex(e=>e.id===t.id)};if(t.focus===q.b.Previous){let r=e.activeOptionIndex;if(null!==r){let i=e.options[r].dataRef.current.domRef,a=(0,q.j)(t,{resolveItems:()=>e.options,resolveActiveIndex:()=>e.activeOptionIndex,resolveId:e=>e.id,resolveDisabled:e=>e.dataRef.current.disabled});if(null!==a){let t=e.options[a].dataRef.current.domRef;if((null==(s=i.current)?void 0:s.previousElementSibling)===t.current||(null==(n=t.current)?void 0:n.previousElementSibling)===null)return{...l,activeOptionIndex:a}}}}else if(t.focus===q.b.Next){let r=e.activeOptionIndex;if(null!==r){let s=e.options[r].dataRef.current.domRef,n=(0,q.j)(t,{resolveItems:()=>e.options,resolveActiveIndex:()=>e.activeOptionIndex,resolveId:e=>e.id,resolveDisabled:e=>e.dataRef.current.disabled});if(null!==n){let t=e.options[n].dataRef.current.domRef;if((null==(i=s.current)?void 0:i.nextElementSibling)===t.current||(null==(a=t.current)?void 0:a.nextElementSibling)===null)return{...l,activeOptionIndex:n}}}}let o=eo(e),d=(0,q.j)(t,{resolveItems:()=>o.options,resolveActiveIndex:()=>o.activeOptionIndex,resolveId:e=>e.id,resolveDisabled:e=>e.dataRef.current.disabled});return{...l,...o,activeOptionIndex:d}},3:(e,t)=>{if(e.dataRef.current.disabled||1===e.listboxState)return e;let r=+(""===e.searchQuery),s=e.searchQuery+t.value.toLowerCase(),n=(null!==e.activeOptionIndex?e.options.slice(e.activeOptionIndex+r).concat(e.options.slice(0,e.activeOptionIndex+r)):e.options).find(e=>{var t;return!e.dataRef.current.disabled&&(null==(t=e.dataRef.current.textValue)?void 0:t.startsWith(s))}),i=n?e.options.indexOf(n):-1;return -1===i||i===e.activeOptionIndex?{...e,searchQuery:s}:{...e,searchQuery:s,activeOptionIndex:i,activationTrigger:1}},4:e=>e.dataRef.current.disabled||1===e.listboxState||""===e.searchQuery?e:{...e,searchQuery:""},5:e=>0===e.dataRef.current.mode?{...e,frozenValue:!0}:{...e},6:(e,t)=>{let r=e.options.concat(t.options),s=e.activeOptionIndex;if(e.pendingFocus.focus!==q.b.Nothing&&(s=(0,q.j)(e.pendingFocus,{resolveItems:()=>r,resolveActiveIndex:()=>e.activeOptionIndex,resolveId:e=>e.id,resolveDisabled:e=>e.dataRef.current.disabled})),null===e.activeOptionIndex){let{isSelected:t}=e.dataRef.current;if(t){let e=r.findIndex(e=>null==t?void 0:t(e.dataRef.current.value));-1!==e&&(s=e)}}return{...e,options:r,activeOptionIndex:s,pendingFocus:{focus:q.b.Nothing},pendingShouldSort:!0}},7:(e,t)=>{let r=e.options,s=[],n=new Set(t.options);for(let[e,t]of r.entries())if(n.has(t.id)&&(s.push(e),n.delete(t.id),0===n.size))break;if(s.length>0)for(let e of(r=r.slice(),s.reverse()))r.splice(e,1);return{...e,options:r,activationTrigger:1}},8:(e,t)=>e.buttonElement===t.element?e:{...e,buttonElement:t.element},9:(e,t)=>e.optionsElement===t.element?e:{...e,optionsElement:t.element},10:e=>e.pendingShouldSort?{...e,...eo(e),pendingShouldSort:!1}:e,11:e=>"Tracked"!==e.buttonPositionState.kind?e:{...e,buttonPositionState:et.L.Moved}};class eu extends ee.${constructor(e){super(e),es(this,"actions",{onChange:e=>{let{onChange:t,compare:r,mode:s,value:n}=this.state.dataRef.current;return(0,K.f)(s,{0:()=>null==t?void 0:t(e),1:()=>{let s=n.slice(),i=s.findIndex(t=>r(t,e));return -1===i?s.push(e):s.splice(i,1),null==t?void 0:t(s)}})},registerOption:(0,ee.W)(()=>{let e=[],t=new Set;return[(r,s)=>{t.has(s)||(t.add(s),e.push({id:r,dataRef:s}))},()=>(t.clear(),this.send({type:6,options:e.splice(0)}))]}),unregisterOption:(0,ee.W)(()=>{let e=[];return[t=>e.push(t),()=>{this.send({type:7,options:e.splice(0)})}]}),goToOption:(0,ee.W)(()=>{let e=null;return[(t,r)=>{e={type:2,...t,trigger:r}},()=>e&&this.send(e)]}),closeListbox:()=>{this.send({type:1})},openListbox:e=>{this.send({type:0,focus:e})},selectActiveOption:()=>{var e;if(null!==this.state.activeOptionIndex){let{dataRef:e}=this.state.options[this.state.activeOptionIndex];this.actions.selectOption(e.current.value)}else 0===this.state.dataRef.current.mode&&(this.actions.closeListbox(),null==(e=this.state.buttonElement)||e.focus({preventScroll:!0}))},selectOption:e=>{this.send({type:5,value:e})},search:e=>{this.send({type:3,value:e})},clearSearch:()=>{this.send({type:4})},setButtonElement:e=>{this.send({type:8,element:e})},setOptionsElement:e=>{this.send({type:9,element:e})}}),es(this,"selectors",{activeDescendantId(e){var t;let r=e.activeOptionIndex,s=e.options;return null===r||null==(t=s[r])?void 0:t.id},isActive(e,t){var r;let s=e.activeOptionIndex,n=e.options;return null!==s&&(null==(r=n[s])?void 0:r.id)===t},hasFrozenValue:e=>e.frozenValue,shouldScrollIntoView(e,t){return!e.__demoMode&&0===e.listboxState&&0!==e.activationTrigger&&this.isActive(e,t)},didButtonMove:e=>"Moved"===e.buttonPositionState.kind}),this.on(6,()=>{requestAnimationFrame(()=>{this.send({type:10})})});{let e=this.state.id,t=V.l.get(null);this.disposables.add(t.on(V.R.Push,r=>{t.selectors.isTop(r,e)||0!==this.state.listboxState||this.actions.closeListbox()})),this.on(0,()=>t.actions.push(e)),this.on(1,()=>t.actions.pop(e))}this.disposables.group(e=>{this.on(1,t=>{t.buttonElement&&(e.dispose(),e.add((0,et.Y)(t.buttonElement,t.buttonPositionState,()=>{this.send({type:11})})))})}),this.on(5,(e,t)=>{var r;this.actions.onChange(t.value),0===this.state.dataRef.current.mode&&(this.actions.closeListbox(),null==(r=this.state.buttonElement)||r.focus({preventScroll:!0}))})}static new({id:e,__demoMode:t=!1}){return new eu({id:e,dataRef:{current:{}},listboxState:+!t,options:[],searchQuery:"",activeOptionIndex:null,activationTrigger:1,buttonElement:null,optionsElement:null,pendingShouldSort:!1,pendingFocus:{focus:q.b.Nothing},frozenValue:!1,__demoMode:t,buttonPositionState:et.L.Idle})}reduce(e,t){return(0,K.f)(t.type,ed,e,t)}}var ec=e.i(21867);let ef=(0,i.createContext)(null);function em(e){let t=(0,i.useContext)(ef);if(null===t){let t=Error(`<${e} /> is missing a parent <Listbox /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,ep),t}return t}function ep({id:e,__demoMode:t=!1}){let r=(0,i.useMemo)(()=>eu.new({id:e,__demoMode:t}),[]);return(0,ec.f)(()=>r.dispose()),r}let eb=(0,i.createContext)(null);function ex(e){let t=(0,i.useContext)(eb);if(null===t){let t=Error(`<${e} /> is missing a parent <Listbox /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,ex),t}return t}eb.displayName="ListboxDataContext";let eh=i.Fragment,eg=(0,i.createContext)(!1),ev=W.J.RenderStrategy|W.J.Static,ey=i.Fragment,ej=Object.assign((0,W.t)(function(e,t){let r=(0,i.useId)(),s=(0,_.f)(),{value:n,defaultValue:a,form:l,name:o,onChange:d,by:u,invalid:c=!1,disabled:b=s||!1,horizontal:x=!1,multiple:h=!1,__demoMode:g=!1,...v}=e,j=(0,C.V)(t),w=(0,p.f)(a),[N=h?[]:void 0,S]=(0,m.f)(n,d,w),O=ep({id:r,__demoMode:g}),E=(0,i.useRef)({static:!1,hold:!1}),M=(0,i.useRef)(new Map),L=(0,f.f)(u),P=(0,i.useCallback)(e=>(0,K.f)(R.mode,{[ei.Multi]:()=>N.some(t=>L(t,e)),[ei.Single]:()=>L(N,e)}),[N]),R=(0,I.f)({value:N,disabled:b,invalid:c,mode:h?ei.Multi:ei.Single,orientation:x?"horizontal":"vertical",onChange:S,compare:L,isSelected:P,optionsPropsRef:E,listRef:M});(0,y.f)(()=>{O.state.dataRef.current=R},[R]);let $=(0,U.f)(O,e=>e.listboxState),F=V.l.get(null),A=(0,U.f)(F,(0,i.useCallback)(e=>F.selectors.isTop(e,r),[F,r])),[q,z]=(0,U.f)(O,e=>[e.buttonElement,e.optionsElement]);(0,k.f)(A,[q,z],(e,t)=>{O.send({type:el.CloseListbox}),(0,Q.d)(t,Q.m.Loose)||(e.preventDefault(),null==q||q.focus())});let Z=(0,I.f)({open:$===en.Open,disabled:b,invalid:c,value:N}),[X,H]=(0,G.m)({inherit:!0}),J=(0,i.useCallback)(()=>{if(void 0!==w)return null==S?void 0:S(w)},[S,w]),Y=(0,W.n)();return i.default.createElement(H,{value:X,props:{htmlFor:null==q?void 0:q.id},slot:{open:$===en.Open,disabled:b}},i.default.createElement(D.j,null,i.default.createElement(ef.Provider,{value:O},i.default.createElement(eb.Provider,{value:R},i.default.createElement(B.z,{value:(0,K.f)($,{[en.Open]:B.A.Open,[en.Closed]:B.A.Closed})},null!=o&&null!=N&&i.default.createElement(T.f,{disabled:b,data:{[o]:N},form:l,onReset:J}),Y({ourProps:{ref:j},theirProps:v,slot:Z,defaultTag:eh,name:"Listbox"}))))))}),{Button:(0,W.t)(function(e,t){let r=(0,i.useId)(),s=(0,A.f)(),n=ex("Listbox.Button"),a=em("Listbox.Button"),{id:l=s||`headlessui-listbox-button-${r}`,disabled:f=n.disabled||!1,autoFocus:m=!1,...p}=e,b=(0,C.V)(t,(0,D.$)(),a.actions.setButtonElement),x=(0,D.f)(),[v,y,j]=(0,U.f)(a,e=>[e.listboxState,e.buttonElement,e.optionsElement]),w=v===en.Open;(0,S.f)(w,{trigger:y,action:(0,i.useCallback)(e=>{if(null!=y&&y.contains(e.target))return S.m.Ignore;let t=e.target.closest('[role="option"]:not([data-disabled])');return M.F(t)?S.m.Select(t):null!=j&&j.contains(e.target)?S.m.Ignore:S.m.Close},[y,j]),close:a.actions.closeListbox,select:a.actions.selectActiveOption});let k=(0,h.f)(e=>{switch(e.key){case J.f.Enter:(0,Z.o)(e.currentTarget);break;case J.f.Space:case J.f.ArrowDown:e.preventDefault(),a.actions.openListbox({focus:n.value?q.b.Nothing:q.b.First});break;case J.f.ArrowUp:e.preventDefault(),a.actions.openListbox({focus:n.value?q.b.Nothing:q.b.Last})}}),N=(0,h.f)(e=>{e.key===J.f.Space&&e.preventDefault()}),E=(0,g.f)(e=>{var t;a.state.listboxState===en.Open?((0,u.flushSync)(()=>a.actions.closeListbox()),null==(t=a.state.buttonElement)||t.focus({preventScroll:!0})):(e.preventDefault(),a.actions.openListbox({focus:q.b.Nothing}))}),L=(0,h.f)(e=>e.preventDefault()),P=(0,G.I)([l]),R=(0,H.A)(),{isFocusVisible:$,focusProps:_}=(0,o.f)({autoFocus:m}),{isHovered:T,hoverProps:F}=(0,d.f)({isDisabled:f}),{pressed:B,pressProps:V}=(0,c.f)({disabled:f}),z=(0,I.f)({open:v===en.Open,active:B||v===en.Open,disabled:f,invalid:n.invalid,value:n.value,hover:T,focus:$,autofocus:m}),Q=(0,U.f)(a,e=>e.listboxState===en.Open),K=(0,W.w)(x(),{ref:b,id:l,type:(0,O.f)(e,y),"aria-haspopup":"listbox","aria-controls":null==j?void 0:j.id,"aria-expanded":Q,"aria-labelledby":P,"aria-describedby":R,disabled:f||void 0,autoFocus:m,onKeyDown:k,onKeyUp:N,onKeyPress:L},E,_,F,V);return(0,W.n)()({ourProps:K,theirProps:p,slot:z,defaultTag:"button",name:"Listbox.Button"})}),Label:G.Q,Options:(0,W.t)(function(e,t){let r=(0,i.useId)(),{id:s=`headlessui-listbox-options-${r}`,anchor:n,portal:a=!1,modal:l=!0,transition:o=!1,...d}=e,c=(0,D.L)(n),[f,m]=(0,i.useState)(null);c&&(a=!0);let p=ex("Listbox.Options"),g=em("Listbox.Options"),[y,j,k,S]=(0,U.f)(g,e=>[e.listboxState,e.buttonElement,e.optionsElement,e.__demoMode]),O=(0,N.f)(j),M=(0,N.f)(k),L=(0,B.N)(),[P,R]=(0,$.S)(o,f,null!==L?(L&B.A.Open)===B.A.Open:y===en.Open);(0,w.f)(P,j,g.actions.closeListbox);let _=!S&&l&&y===en.Open;(0,E.f)(_,M);let T=!S&&l&&y===en.Open;(0,v.f)(T,{allowed:(0,i.useCallback)(()=>[j,k],[j,k])});let A=!(0,U.f)(g,g.selectors.didButtonMove)&&P,V=(0,U.f)(g,g.selectors.hasFrozenValue)&&!e.static,z=(0,F.o)(V,p.value),Z=(0,i.useCallback)(e=>p.compare(z,e),[p.compare,z]),H=(0,U.f)(g,e=>{var t;if(null==c||!(null!=(t=null==c?void 0:c.to)&&t.includes("selection")))return null;let r=e.options.findIndex(e=>Z(e.dataRef.current.value));return -1===r&&(r=0),r}),G=(()=>{if(null==c)return;if(null===H)return{...c,inner:void 0};let e=Array.from(p.listRef.current.values());return{...c,inner:{listRef:{current:e},index:H}}})(),[ee,et]=(0,D.X)(G),er=(0,D.S)(),es=(0,C.V)(t,c?ee:null,g.actions.setOptionsElement,m),ea=(0,b.f)();(0,i.useEffect)(()=>{k&&y===en.Open&&((0,X.M)(k)||null==k||k.focus({preventScroll:!0}))},[y,k]);let el=(0,h.f)(e=>{var t;switch(ea.dispose(),e.key){case J.f.Space:if(""!==g.state.searchQuery)return e.preventDefault(),e.stopPropagation(),g.actions.search(e.key);case J.f.Enter:e.preventDefault(),e.stopPropagation(),g.actions.selectActiveOption();break;case(0,K.f)(p.orientation,{vertical:J.f.ArrowDown,horizontal:J.f.ArrowRight}):return e.preventDefault(),e.stopPropagation(),g.actions.goToOption({focus:q.b.Next});case(0,K.f)(p.orientation,{vertical:J.f.ArrowUp,horizontal:J.f.ArrowLeft}):return e.preventDefault(),e.stopPropagation(),g.actions.goToOption({focus:q.b.Previous});case J.f.Home:case J.f.PageUp:return e.preventDefault(),e.stopPropagation(),g.actions.goToOption({focus:q.b.First});case J.f.End:case J.f.PageDown:return e.preventDefault(),e.stopPropagation(),g.actions.goToOption({focus:q.b.Last});case J.f.Escape:e.preventDefault(),e.stopPropagation(),(0,u.flushSync)(()=>g.actions.closeListbox()),null==(t=g.state.buttonElement)||t.focus({preventScroll:!0});return;case J.f.Tab:e.preventDefault(),e.stopPropagation(),(0,u.flushSync)(()=>g.actions.closeListbox()),(0,Q.e)(g.state.buttonElement,e.shiftKey?Q.b.Previous:Q.b.Next);break;default:1===e.key.length&&(g.actions.search(e.key),ea.setTimeout(()=>g.actions.clearSearch(),350))}}),eo=(0,U.f)(g,e=>{var t;return null==(t=e.buttonElement)?void 0:t.id}),ed=(0,I.f)({open:y===en.Open}),eu=(0,W.w)(c?er():{},{id:s,ref:es,"aria-activedescendant":(0,U.f)(g,g.selectors.activeDescendantId),"aria-multiselectable":p.mode===ei.Multi||void 0,"aria-labelledby":eo,"aria-orientation":p.orientation,onKeyDown:el,role:"listbox",tabIndex:y===en.Open?0:void 0,style:{...d.style,...et,"--button-width":(0,x.f)(P,j,!0).width},...(0,$.p)(R)}),ec=(0,W.n)(),ef=(0,i.useMemo)(()=>p.mode===ei.Multi?p:{...p,isSelected:Z},[p,Z]);return i.default.createElement(Y.z,{enabled:!!a&&(e.static||P),ownerDocument:O},i.default.createElement(eb.Provider,{value:ef},ec({ourProps:eu,theirProps:d,slot:ed,defaultTag:"div",features:ev,visible:A,name:"Listbox.Options"})))}),Option:(0,W.t)(function(e,t){let r,s,n=(0,i.useId)(),{id:a=`headlessui-listbox-option-${n}`,disabled:l=!1,value:o,...d}=e,u=!0===(0,i.useContext)(eg),c=ex("Listbox.Option"),f=em("Listbox.Option"),m=(0,U.f)(f,e=>f.selectors.isActive(e,a)),p=c.isSelected(o),b=(0,i.useRef)(null),x=(r=(0,i.useRef)(""),s=(0,i.useRef)(""),(0,h.f)(()=>{let e=b.current;if(!e)return"";let t=e.innerText;if(r.current===t)return s.current;let n=(function(e){let t=e.getAttribute("aria-label");if("string"==typeof t)return t.trim();let r=e.getAttribute("aria-labelledby");if(r){let e=r.split(" ").map(e=>{let t=document.getElementById(e);if(t){let e=t.getAttribute("aria-label");return"string"==typeof e?e.trim():P(t).trim()}return null}).filter(Boolean);if(e.length>0)return e.join(", ")}return P(e).trim()})(e).trim().toLowerCase();return r.current=t,s.current=n,n})),g=(0,j.f)({disabled:l,value:o,domRef:b,get textValue(){return x()}}),v=(0,C.V)(t,b,e=>{e?c.listRef.current.set(a,e):c.listRef.current.delete(a)}),w=(0,U.f)(f,e=>f.selectors.shouldScrollIntoView(e,a));(0,y.f)(()=>{if(w)return(0,z.f)().requestAnimationFrame(()=>{var e,t;null==(t=null==(e=b.current)?void 0:e.scrollIntoView)||t.call(e,{block:"nearest"})})},[w,b]),(0,y.f)(()=>{if(!u)return f.actions.registerOption(a,g),()=>f.actions.unregisterOption(a)},[g,a,u]);let k=(0,h.f)(e=>{if(l)return e.preventDefault();f.actions.selectOption(o)}),N=(0,h.f)(()=>{if(l)return f.actions.goToOption({focus:q.b.Nothing});f.actions.goToOption({focus:q.b.Specific,id:a})}),S=(0,R.f)(),O=(0,h.f)(e=>S.update(e)),E=(0,h.f)(e=>{S.wasMoved(e)&&(l||m&&f.state.activationTrigger===ea.Pointer||f.actions.goToOption({focus:q.b.Specific,id:a},ea.Pointer))}),M=(0,h.f)(e=>{S.wasMoved(e)&&(l||m&&f.state.activationTrigger===ea.Pointer&&f.actions.goToOption({focus:q.b.Nothing}))}),L=(0,I.f)({active:m,focus:m,selected:p,disabled:l,selectedOption:p&&u}),$=u?{}:{id:a,ref:v,role:"option",tabIndex:!0===l?void 0:-1,"aria-disabled":!0===l||void 0,"aria-selected":p,disabled:void 0,onClick:k,onFocus:N,onPointerEnter:O,onMouseEnter:O,onPointerMove:E,onMouseMove:E,onPointerLeave:M,onMouseLeave:M},_=(0,W.n)();return!p&&u?null:_({ourProps:$,theirProps:d,slot:L,defaultTag:"div",name:"Listbox.Option"})}),SelectedOption:(0,W.t)(function(e,t){let{options:r,placeholder:s,...n}=e,a={ref:(0,C.V)(t)},l=ex("ListboxSelectedOption"),o=(0,I.f)({}),d=void 0===l.value||null===l.value||l.mode===ei.Multi&&Array.isArray(l.value)&&0===l.value.length,u=(0,W.n)();return i.default.createElement(eg.Provider,{value:!0},u({ourProps:a,theirProps:{...n,children:i.default.createElement(i.default.Fragment,null,s&&d?s:r)},slot:o,defaultTag:ey,name:"ListboxSelectedOption"}))})});var ew=e.i(95485),ek=e.i(38322),eN=e.i(38187),eS=e.i(3326);function eO(...e){return e.filter(Boolean).join(" ")}let eE={green:{button:"bg-emerald-50 dark:bg-emerald-900/30 text-emerald-700 dark:text-emerald-300 border border-emerald-200 dark:border-emerald-700",hover:"hover:bg-emerald-100 dark:hover:bg-emerald-900/50",focus:"focus:ring-emerald-500",dropdown:"text-emerald-700 dark:text-emerald-300 bg-emerald-50 dark:bg-emerald-900/30 border border-emerald-200 dark:border-emerald-700",description:"text-emerald-600 dark:text-emerald-400"},amber:{button:"bg-amber-50 dark:bg-amber-900/30 text-amber-700 dark:text-amber-300 border border-amber-200 dark:border-amber-700",hover:"hover:bg-amber-100 dark:hover:bg-amber-900/50",focus:"focus:ring-amber-500",dropdown:"text-amber-700 dark:text-amber-300 bg-amber-50 dark:bg-amber-900/30 border border-amber-200 dark:border-amber-700",description:"text-amber-600 dark:text-amber-400"},slate:{button:"bg-surface text-text-secondary border border-slate-200 dark:border-slate-600",hover:"hover:bg-slate-100 dark:hover:bg-slate-600",focus:"focus:ring-focus-ring",dropdown:"text-text-secondary bg-surface border border-slate-200 dark:border-slate-600",description:"text-text-secondary"},stone:{button:"bg-stone-50 dark:bg-stone-800 text-stone-700 dark:text-stone-300 border border-stone-200 dark:border-stone-700",hover:"hover:bg-stone-100 dark:hover:bg-stone-700",focus:"focus:ring-stone-500",dropdown:"text-stone-700 dark:text-stone-300 bg-stone-50 dark:bg-stone-800 border border-stone-200 dark:border-stone-700",description:"text-stone-600 dark:text-stone-400"},emerald:{button:"bg-emerald-50 dark:bg-emerald-900/30 text-emerald-700 dark:text-emerald-300 border border-emerald-200 dark:border-emerald-700",hover:"hover:bg-emerald-100 dark:hover:bg-emerald-900/50",focus:"focus:ring-emerald-500",dropdown:"text-emerald-700 dark:text-emerald-300 bg-emerald-50 dark:bg-emerald-900/30 border border-emerald-200 dark:border-emerald-700",description:"text-emerald-600 dark:text-emerald-400"}};e.s(["f",0,({options:e,type:t})=>{let[r,s]=(0,i.useState)(!1),[n,a]=(0,i.useState)(e?.find(({current:e})=>e)||e?.[0]),{formatMessage:o}=(0,eS.X)();if(!n?.id||!e?.length)return null;let d=eE[n.bgColor]||eE.emerald;return(0,l.jsx)(ej,{value:n,onChange:a,children:({open:a})=>(0,l.jsxs)("div",{id:n.id,children:[(0,l.jsx)(ej.Label,{className:"sr-only",children:o({id:"select_options_toggle",defaultMessage:"Change {type} status"},{type:t})}),(0,l.jsxs)("div",{className:"relative",children:[(0,l.jsxs)(ej.Button,{onMouseEnter:()=>s(!0),onMouseLeave:()=>s(!1),className:eO("inline-flex items-center gap-2 rounded-md px-3 py-2 text-sm font-medium shadow-sm transition-colors focus:outline-none focus:ring-2 focus:ring-offset-2 h-[38px]",d.button,d.hover,d.focus,(()=>{if(!r)return"";switch(n.bgColor){case"green":case"emerald":return"bg-emerald-100";case"amber":return"bg-amber-100";case"stone":return"bg-stone-100";default:return"bg-slate-100"}})()),children:[(0,l.jsx)(ek.f,{className:"h-4 w-4","aria-hidden":"true"}),(0,l.jsx)("span",{children:n?.selectedTitle||n.title}),(0,l.jsx)(eN.f,{className:eO("h-4 w-4 -mr-1 transition-transform duration-200",a&&"rotate-180"),"aria-hidden":"true"})]}),(0,l.jsx)(ew.I,{show:a,as:i.Fragment,leave:"transition ease-in duration-100",leaveFrom:"opacity-100",leaveTo:"opacity-0",children:(0,l.jsx)(ej.Options,{className:"mt-1 absolute right-0 z-10 w-64 origin-top-right divide-y divide-slate-200 dark:divide-slate-600 overflow-hidden rounded-md bg-surface shadow-lg ring-1 ring-black dark:ring-slate-600 ring-opacity-5 dark:ring-opacity-50 focus:outline-hidden",children:e.map(e=>(0,l.jsx)(ej.Option,{className:()=>eO("group",e?.disable&&"cursor-not-allowed","relative cursor-default select-none p-3 text-sm"),value:e,disabled:e.disable,children:(0,l.jsx)("div",{className:`${e?.disable&&"pointer-events-none"}`,onClick:e?.onClick,children:(0,l.jsx)("div",{className:"flex items-start justify-between gap-3",children:(0,l.jsxs)("div",{className:"flex-1",children:[(0,l.jsxs)("div",{className:"flex items-center gap-2",children:[(0,l.jsx)("span",{className:eO("inline-flex items-center rounded-md px-2 py-1 text-xs font-medium",(eE[e.bgColor]||eE.emerald).dropdown),children:e.title}),e.id===n.id&&(0,l.jsx)(ek.f,{className:"h-4 w-4 text-slate-600","aria-hidden":"true"})]}),e?.description&&(0,l.jsx)("div",{className:eO("mt-2 ms-1 text-sm text-text-secondary"),children:e.description})]})})})},e.title))})})]})]})})}],92276)},76842,e=>{"use strict";var t=e.i(91788);let r=t.forwardRef(function({title:e,titleId:r,...s},n){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:n,"aria-labelledby":r},s),e?t.createElement("title",{id:r},e):null,t.createElement("path",{d:"m2.695 14.762-1.262 3.155a.5.5 0 0 0 .65.65l3.155-1.262a4 4 0 0 0 1.343-.886L17.5 5.501a2.121 2.121 0 0 0-3-3L3.58 13.419a4 4 0 0 0-.885 1.343Z"}))});e.s(["f",0,r],76842)},76929,e=>{"use strict";var t=e.i(91788);let r=t.forwardRef(function({title:e,titleId:r,...s},n){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:n,"aria-labelledby":r},s),e?t.createElement("title",{id:r},e):null,t.createElement("path",{d:"M12 4.467c0-.405.262-.75.559-1.027.276-.257.441-.584.441-.94 0-.828-.895-1.5-2-1.5s-2 .672-2 1.5c0 .362.171.694.456.953.29.265.544.6.544.994a.968.968 0 0 1-1.024.974 39.655 39.655 0 0 1-3.014-.306.75.75 0 0 0-.847.847c.14.993.242 1.999.306 3.014A.968.968 0 0 1 4.447 10c-.393 0-.729-.253-.994-.544C3.194 9.17 2.862 9 2.5 9 1.672 9 1 9.895 1 11s.672 2 1.5 2c.356 0 .683-.165.94-.441.276-.297.622-.559 1.027-.559a.997.997 0 0 1 1.004 1.03 39.747 39.747 0 0 1-.319 3.734.75.75 0 0 0 .64.842c1.05.146 2.111.252 3.184.318A.97.97 0 0 0 10 16.948c0-.394-.254-.73-.545-.995C9.171 15.693 9 15.362 9 15c0-.828.895-1.5 2-1.5s2 .672 2 1.5c0 .356-.165.683-.441.94-.297.276-.559.622-.559 1.027a.998.998 0 0 0 1.03 1.005c1.337-.05 2.659-.162 3.961-.337a.75.75 0 0 0 .644-.644c.175-1.302.288-2.624.337-3.961A.998.998 0 0 0 16.967 12c-.405 0-.75.262-1.027.559-.257.276-.584.441-.94.441-.828 0-1.5-.895-1.5-2s.672-2 1.5-2c.362 0 .694.17.953.455.265.291.601.545.995.545a.97.97 0 0 0 .976-1.024 41.159 41.159 0 0 0-.318-3.184.75.75 0 0 0-.842-.64c-1.228.164-2.473.271-3.734.319A.997.997 0 0 1 12 4.467Z"}))});e.s(["f",0,r],76929)},24557,e=>{"use strict";var t=e.i(91788);let r=t.forwardRef(function({title:e,titleId:r,...s},n){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:n,"aria-labelledby":r},s),e?t.createElement("title",{id:r},e):null,t.createElement("path",{fillRule:"evenodd",d:"M8.75 1A2.75 2.75 0 0 0 6 3.75v.443c-.795.077-1.584.176-2.365.298a.75.75 0 1 0 .23 1.482l.149-.022.841 10.518A2.75 2.75 0 0 0 7.596 19h4.807a2.75 2.75 0 0 0 2.742-2.53l.841-10.52.149.023a.75.75 0 0 0 .23-1.482A41.03 41.03 0 0 0 14 4.193V3.75A2.75 2.75 0 0 0 11.25 1h-2.5ZM10 4c.84 0 1.673.025 2.5.075V3.75c0-.69-.56-1.25-1.25-1.25h-2.5c-.69 0-1.25.56-1.25 1.25v.325C8.327 4.025 9.16 4 10 4ZM8.58 7.72a.75.75 0 0 0-1.5.06l.3 7.5a.75.75 0 1 0 1.5-.06l-.3-7.5Zm4.34.06a.75.75 0 1 0-1.5-.06l-.3 7.5a.75.75 0 1 0 1.5.06l.3-7.5Z",clipRule:"evenodd"}))});e.s(["f",0,r],24557)},38322,e=>{"use strict";var t=e.i(57862);e.s(["f",()=>t.f])},38187,e=>{"use strict";var t=e.i(76237);e.s(["f",()=>t.f])},86712,e=>{"use strict";var t=e.i(93026);e.s(["f",()=>t.f])},91412,e=>{"use strict";var t=e.i(86173);e.s(["f",()=>t.f])},67912,e=>{"use strict";var t=e.i(37224);e.s(["f",()=>t.f])},24608,e=>{"use strict";var t=e.i(30999);e.s(["f",()=>t.f])}]);
@@ -0,0 +1,4 @@
1
+ __turbopack_load_page_chunks__("/log-in", [
2
+ "static/chunks/3lzin6_25n8rs.js",
3
+ "static/chunks/turbopack-077hmtqrhcoji.js"
4
+ ])
@@ -1 +1 @@
1
- (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,28805,e=>{e.v(e=>Promise.resolve().then(()=>e(79466)))},48761,e=>{e.v(o=>Promise.all(["static/chunks/1os6pvhjeb16o.js"].map(o=>e.l(o))).then(()=>o(93594)))}]);
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,28805,e=>{e.v(e=>Promise.resolve().then(()=>e(79466)))},48761,e=>{e.v(o=>Promise.all(["static/chunks/09irjy-7k1922.js"].map(o=>e.l(o))).then(()=>o(93594)))}]);