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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (599) hide show
  1. package/dist/{chunk-HTPSKUXQ.js → chunk-BMDNY67T.js} +121 -50
  2. package/dist/{chunk-AOR2B5N5.js → chunk-BOMSMJF2.js} +4 -1
  3. package/dist/{chunk-E7BVYJ3R.js → chunk-E77YIMGR.js} +1 -1
  4. package/dist/{chunk-H6G4UTZ5.js → chunk-HJKRGBDG.js} +4 -10
  5. package/dist/{chunk-DTJ2DTKS.js → chunk-ICJH36K4.js} +15 -3
  6. package/dist/chunk-IWKDBADX.js +73 -0
  7. package/dist/{chunk-AE5LOZGH.js → chunk-PJLYVMUM.js} +15 -57
  8. package/dist/chunk-VYEXPG3M.js +107 -0
  9. package/dist/{chunk-VDKQGOMV.js → chunk-ZUOVKRKC.js} +118 -1
  10. package/dist/components/ui/Badge.d.ts.map +1 -1
  11. package/dist/components/ui/BreadCrumbs.d.ts.map +1 -1
  12. package/dist/components/ui/Pagination.d.ts.map +1 -1
  13. package/dist/components/ui/form/Combobox.d.ts.map +1 -1
  14. package/dist/components/ui/form/TextField.d.ts.map +1 -1
  15. package/dist/form.js +22 -11
  16. package/dist/gql/operation-types.d.ts +195 -19
  17. package/dist/gql/operation-types.d.ts.map +1 -1
  18. package/dist/gql/schema-types.d.ts +62 -7
  19. package/dist/gql/schema-types.d.ts.map +1 -1
  20. package/dist/hooks.js +3 -3
  21. package/dist/modules/accounts.js +182 -2
  22. package/dist/modules/assortment.js +81 -2
  23. package/dist/modules/common/components/AppContext.d.ts.map +1 -1
  24. package/dist/modules/common/components/FormWrapper.d.ts.map +1 -1
  25. package/dist/modules/common/components/ThemeWrapper.d.ts.map +1 -1
  26. package/dist/modules/common/data/miscellaneous.d.ts +1 -0
  27. package/dist/modules/common/data/miscellaneous.d.ts.map +1 -1
  28. package/dist/modules/enrollment.js +65 -8
  29. package/dist/modules/filter.js +51 -2
  30. package/dist/modules/order.js +1 -1
  31. package/dist/modules/product-review.js +2 -2
  32. package/dist/modules/product.js +259 -11
  33. package/dist/modules/quotation.js +7 -0
  34. package/dist/modules/token.js +1 -1
  35. package/dist/modules/work.js +17 -101
  36. package/dist/providers.js +1 -1
  37. package/dist/ui.js +91 -60
  38. package/out/403/index.html +3 -2
  39. package/out/404/index.html +3 -2
  40. package/out/404.html +3 -2
  41. package/out/423/index.html +3 -2
  42. package/out/500/index.html +3 -2
  43. package/out/_next/static/BPoacQET3TJr2q9E370Ez/_buildManifest.js +262 -0
  44. package/out/_next/static/chunks/01xy3u9ybz9ts.js +5 -0
  45. package/out/_next/static/chunks/02ir8k2vqhw7u.js +4 -0
  46. package/out/_next/static/chunks/03mdkmx9pb3yx.js +28 -0
  47. package/out/_next/static/chunks/03spbldywp99b.js +31 -0
  48. package/out/_next/static/chunks/0531sa8v36e39.js +1 -0
  49. package/out/_next/static/chunks/065ltxdt7s8b2.js +134 -0
  50. package/out/_next/static/chunks/06b1jza2fvc6f.js +4 -0
  51. package/out/_next/static/chunks/0701uizxsgs75.js +4 -0
  52. package/out/_next/static/chunks/09olk50zbo5r6.js +5 -0
  53. package/out/_next/static/chunks/09pabifvs84zb.js +12 -0
  54. package/out/_next/static/chunks/0_pn7w49dpkak.js +5 -0
  55. package/out/_next/static/chunks/0a_gulnq-c7to.js +709 -0
  56. package/out/_next/static/chunks/0agx-csdwbk-x.js +5 -0
  57. package/out/_next/static/chunks/0clmvy-auef0p.js +14 -0
  58. package/out/_next/static/chunks/0czktxcs2aa12.js +1 -0
  59. package/out/_next/static/chunks/0d_qylr054ab-.js +5 -0
  60. package/out/_next/static/chunks/0e2znhpcecrqs.js +175 -0
  61. package/out/_next/static/chunks/0ef4vp3ehm369.js +4 -0
  62. package/out/_next/static/chunks/0fggi8jpi5gjk.js +165 -0
  63. package/out/_next/static/chunks/0gyabz3vqllr6.js +83 -0
  64. package/out/_next/static/chunks/0j05dboa5_xkw.js +5 -0
  65. package/out/_next/static/chunks/0kr4ift9_1a3s.js +1 -0
  66. package/out/_next/static/chunks/0l8tmlevl_6p0.js +1 -0
  67. package/out/_next/static/chunks/0m73vd78oga92.js +342 -0
  68. package/out/_next/static/chunks/0o91usftba97q.js +54 -0
  69. package/out/_next/static/chunks/0oi1kpp0levnm.js +1 -0
  70. package/out/_next/static/chunks/0p7said9rdor1.js +1 -0
  71. package/out/_next/static/chunks/0p86ng98eiz5q.js +11 -0
  72. package/out/_next/static/chunks/0pw1zl8_l93xl.js +5 -0
  73. package/out/_next/static/chunks/0py8-umjmwiwi.js +156 -0
  74. package/out/_next/static/chunks/0q0m2pv-3b2e2.js +4 -0
  75. package/out/_next/static/chunks/0r57e83u39trg.js +5 -0
  76. package/out/_next/static/chunks/0r9a_mcjh1k24.js +6 -0
  77. package/out/_next/static/chunks/0rgtc82y8z7_x.js +5 -0
  78. package/out/_next/static/chunks/0rxhx_x-7dojh.js +182 -0
  79. package/out/_next/static/chunks/0s6u_6w75ggbw.js +297 -0
  80. package/out/_next/static/chunks/0teb3b5h78855.js +44 -0
  81. package/out/_next/static/chunks/0thsuuvsozjop.js +54 -0
  82. package/out/_next/static/chunks/0v6x3uondh5hw.js +5 -0
  83. package/out/_next/static/chunks/0v_uz3j8jolmq.js +4 -0
  84. package/out/_next/static/chunks/0vwmp6qrw7odm.js +7 -0
  85. package/out/_next/static/chunks/0w6t6v_jzrudq.js +4 -0
  86. package/out/_next/static/chunks/0w7gz501ry22r.js +4 -0
  87. package/out/_next/static/chunks/0xgn-89s97a5w.js +1 -0
  88. package/out/_next/static/chunks/0xqtemh7t38y9.js +119 -0
  89. package/out/_next/static/chunks/1-1rj15j67dqt.js +1 -0
  90. package/out/_next/static/chunks/10drou7w-k58p.js +4 -0
  91. package/out/_next/static/chunks/11w7hldkge7sg.js +8 -0
  92. package/out/_next/static/chunks/12yd8t4k6c0t1.js +1 -0
  93. package/out/_next/static/chunks/130c8cta7pec6.js +1 -0
  94. package/out/_next/static/chunks/13qi39a_b6gkv.js +1 -0
  95. package/out/_next/static/chunks/15142badc5ufq.js +4 -0
  96. package/out/_next/static/chunks/155boltbcvwo-.js +63 -0
  97. package/out/_next/static/chunks/15_nwd8p454gd.js +1 -0
  98. package/out/_next/static/chunks/15s4qkdyz56pg.js +115 -0
  99. package/out/_next/static/chunks/15vdx0kewzv-6.js +33 -0
  100. package/out/_next/static/chunks/16shuavdpgni8.js +327 -0
  101. package/out/_next/static/chunks/170j06y4-47o4.js +5 -0
  102. package/out/_next/static/chunks/18a5kibvycb6u.js +1 -0
  103. package/out/_next/static/chunks/1_bckhq06wfmb.js +4 -0
  104. package/out/_next/static/chunks/1_ymf_rfke1aw.js +6 -0
  105. package/out/_next/static/chunks/1a1m389awxw4k.js +1 -0
  106. package/out/_next/static/chunks/1albq_5cppsa1.js +5 -0
  107. package/out/_next/static/chunks/1bhibqf8k2-z1.js +117 -0
  108. package/out/_next/static/chunks/1bxesp6kakz8_.js +353 -0
  109. package/out/_next/static/chunks/1d80ahah359g5.js +174 -0
  110. package/out/_next/static/chunks/1dbjry-rs_5we.js +1 -0
  111. package/out/_next/static/chunks/1dlr1eig6zpl1.js +12 -0
  112. package/out/_next/static/chunks/1gq8ickcg_vmv.js +147 -0
  113. package/out/_next/static/chunks/1gyrsx1nip-lm.js +2 -0
  114. package/out/_next/static/chunks/1hma23kynopdj.js +3 -0
  115. package/out/_next/static/chunks/1i996uxxmc736.js +234 -0
  116. package/out/_next/static/chunks/1iamjw8qh1m4o.js +4 -0
  117. package/out/_next/static/chunks/1ivhp-mi-5l--.js +57 -0
  118. package/out/_next/static/chunks/1jmdpa0tc5puj.js +7 -0
  119. package/out/_next/static/chunks/1ktkks-wpk8q-.js +1 -0
  120. package/out/_next/static/chunks/1kz62r46jwi0y.js +5 -0
  121. package/out/_next/static/chunks/1lex3myb5hmsw.js +1 -0
  122. package/out/_next/static/chunks/1lha1nklxo2g7.js +1 -0
  123. package/out/_next/static/chunks/1mwmcucidjio0.js +8 -0
  124. package/out/_next/static/chunks/1mzejejof4s6g.js +147 -0
  125. package/out/_next/static/chunks/1os6pvhjeb16o.js +1 -0
  126. package/out/_next/static/chunks/1p937fyqa7ssz.js +1 -0
  127. package/out/_next/static/chunks/1po7d3udj6iv4.js +5 -0
  128. package/out/_next/static/chunks/1qxxbcidu-hmv.js +1 -0
  129. package/out/_next/static/chunks/1re4i2t_po4sr.js +95 -0
  130. package/out/_next/static/chunks/1s4oi1bw8zl5d.js +31 -0
  131. package/out/_next/static/chunks/1sb04cqudnfpj.js +4 -0
  132. package/out/_next/static/chunks/1sh2ogc7tcbu-.js +1 -0
  133. package/out/_next/static/chunks/1so6ouxrq_ffa.js +39 -0
  134. package/out/_next/static/chunks/1ulje1tawz8fl.js +1 -0
  135. package/out/_next/static/chunks/1uom050rz5iol.js +272 -0
  136. package/out/_next/static/chunks/1uymuiqrms2h8.js +103 -0
  137. package/out/_next/static/chunks/1wijj_fal57co.js +2 -0
  138. package/out/_next/static/chunks/1wpen9t3_zbte.js +1 -0
  139. package/out/_next/static/chunks/1wpv1sl7vwg04.js +99 -0
  140. package/out/_next/static/chunks/1y3poj860g968.js +24 -0
  141. package/out/_next/static/chunks/1yk0pxcl4urkd.js +4 -0
  142. package/out/_next/static/chunks/1z1mbux-7g74d.js +1 -0
  143. package/out/_next/static/chunks/1z2rl3h7scna4.js +7 -0
  144. package/out/_next/static/chunks/1zyhq82pkterc.js +61 -0
  145. package/out/_next/static/chunks/2-4610weysas_.js +1 -0
  146. package/out/_next/static/chunks/2-zr9-ri30va5.css +1 -0
  147. package/out/_next/static/chunks/20j8cdot33hql.js +13 -0
  148. package/out/_next/static/chunks/21fo9zerxyx-l.js +59 -0
  149. package/out/_next/static/chunks/22sxsq82r3cwy.js +41 -0
  150. package/out/_next/static/chunks/23nwkbry8kz0-.js +1 -0
  151. package/out/_next/static/chunks/259ckrmoldaqg.js +5 -0
  152. package/out/_next/static/chunks/25y2dqqrhstuq.js +5 -0
  153. package/out/_next/static/chunks/28myh-gi8t3t7.js +7 -0
  154. package/out/_next/static/chunks/28oppyg7ev102.js +1 -0
  155. package/out/_next/static/chunks/29y82c6-u55hj.js +5 -0
  156. package/out/_next/static/chunks/2ahlen2u4lbnm.js +16 -0
  157. package/out/_next/static/chunks/{2kzyda4a6mqut.js → 2ajr0rk0_yax6.js} +1 -1
  158. package/out/_next/static/chunks/2c3ehieqiwiw8.js +119 -0
  159. package/out/_next/static/chunks/2c5gq6izeq6nx.js +81 -0
  160. package/out/_next/static/chunks/2cj8g3fxmitaa.js +1 -0
  161. package/out/_next/static/chunks/2d9lzme_uzwvq.js +1 -0
  162. package/out/_next/static/chunks/2dqoft2pp4355.js +1 -0
  163. package/out/_next/static/chunks/2gso7_8v7owco.js +1 -0
  164. package/out/_next/static/chunks/2hc4nowrexhn3.js +100 -0
  165. package/out/_next/static/chunks/2hoi6cb1lromr.js +4 -0
  166. package/out/_next/static/chunks/2hw2_8kkf_2fg.js +1 -0
  167. package/out/_next/static/chunks/2kd4p_esjbozz.js +21 -0
  168. package/out/_next/static/chunks/2l8gepfm4kyjp.js +1 -0
  169. package/out/_next/static/chunks/2lwhn1ypqwukz.js +11 -0
  170. package/out/_next/static/chunks/2oz432iieo_c6.js +43 -0
  171. package/out/_next/static/chunks/2qjnhmz4c5fq1.js +23 -0
  172. package/out/_next/static/chunks/2rdjgc7_za785.js +9 -0
  173. package/out/_next/static/chunks/2ru66cyp0hbxn.js +103 -0
  174. package/out/_next/static/chunks/2ung-az_h871_.js +4 -0
  175. package/out/_next/static/chunks/2v4rvvdyh028e.js +1 -0
  176. package/out/_next/static/chunks/2vsl3-revotpl.js +43 -0
  177. package/out/_next/static/chunks/2wbc_9uwtsjbp.js +15 -0
  178. package/out/_next/static/chunks/2xixk0t9e9mnw.js +1 -0
  179. package/out/_next/static/chunks/2y6i_xssusr93.js +1 -0
  180. package/out/_next/static/chunks/2y_t26eglpeka.js +4 -0
  181. package/out/_next/static/chunks/2yw5sk06gdixu.js +1 -0
  182. package/out/_next/static/chunks/3-hgyqm9mhcm9.js +33 -0
  183. package/out/_next/static/chunks/3-ve59izq9j-p.js +1 -0
  184. package/out/_next/static/chunks/364y5vueeinvz.js +276 -0
  185. package/out/_next/static/chunks/366b9y413lk4d.js +33 -0
  186. package/out/_next/static/chunks/36vauyb71ot_b.js +61 -0
  187. package/out/_next/static/chunks/394m309ssmlo3.js +5 -0
  188. package/out/_next/static/chunks/39pveojee3ma1.js +33 -0
  189. package/out/_next/static/chunks/3_--novhq2u1q.js +807 -0
  190. package/out/_next/static/chunks/3apnk6kuvwze8.js +5 -0
  191. package/out/_next/static/chunks/3b0868kyqqkn3.js +5 -0
  192. package/out/_next/static/chunks/3btkj1_irjkq7.js +161 -0
  193. package/out/_next/static/chunks/3dcwbsiechj8e.js +7 -0
  194. package/out/_next/static/chunks/3dyd0ilb-ee5w.js +8 -0
  195. package/out/_next/static/chunks/3eftzknnu45-s.js +1 -0
  196. package/out/_next/static/chunks/3ejsx4af27cct.js +7 -0
  197. package/out/_next/static/chunks/3es4yddhl8uwc.js +7 -0
  198. package/out/_next/static/chunks/3fpgg_wy6j2ph.js +2 -0
  199. package/out/_next/static/chunks/3inp15oicq85k.js +1 -0
  200. package/out/_next/static/chunks/3j25u7rzawm9f.js +367 -0
  201. package/out/_next/static/chunks/3jxeyjg2g7w94.js +1 -0
  202. package/out/_next/static/chunks/3kd-t_qz3nxh7.js +30 -0
  203. package/out/_next/static/chunks/3kl8vv7w9jkjr.js +23 -0
  204. package/out/_next/static/chunks/3kmfx3f7oyfdm.js +5 -0
  205. package/out/_next/static/chunks/3koj4-48a7p_9.js +4 -0
  206. package/out/_next/static/chunks/3l7glrtu8ueuo.js +4 -0
  207. package/out/_next/static/chunks/3lgq9oa_2erwo.js +5 -0
  208. package/out/_next/static/chunks/3m_9ozv0orvze.js +187 -0
  209. package/out/_next/static/chunks/3muxcxam24i5z.js +1 -0
  210. package/out/_next/static/chunks/3nimt7ngr5zv6.js +46 -0
  211. package/out/_next/static/chunks/3pwezwpggrz59.js +74 -0
  212. package/out/_next/static/chunks/3r02t7a7jknrv.js +7 -0
  213. package/out/_next/static/chunks/3s40iuaou1rt4.js +1 -0
  214. package/out/_next/static/chunks/3selzn479n73i.js +16 -0
  215. package/out/_next/static/chunks/3srflqnqdfd60.js +5 -0
  216. package/out/_next/static/chunks/3t57k35xu2eo8.js +5 -0
  217. package/out/_next/static/chunks/3tu90a7do336z.js +12 -0
  218. package/out/_next/static/chunks/3ukgj2jzxf10n.js +5 -0
  219. package/out/_next/static/chunks/3vosu-lpiis6v.js +5 -0
  220. package/out/_next/static/chunks/3xaz8fvw2x6b3.js +5 -0
  221. package/out/_next/static/chunks/3xgjhwzul66dp.js +4 -0
  222. package/out/_next/static/chunks/3zze6y1x00k__.js +165 -0
  223. package/out/_next/static/chunks/40730dyt912zu.js +5 -0
  224. package/out/_next/static/chunks/40f26tfp8txip.js +5 -0
  225. package/out/_next/static/chunks/40kc42ezz2dri.js +1 -0
  226. package/out/_next/static/chunks/41f60q88qcigi.js +39 -0
  227. package/out/_next/static/chunks/41l5iphw-rna3.js +44 -0
  228. package/out/_next/static/chunks/423kk9x5t9_b8.js +5 -0
  229. package/out/_next/static/chunks/42k5e3tr3uyzs.js +54 -0
  230. package/out/_next/static/chunks/43uqmej6-s4am.js +7 -0
  231. package/out/_next/static/chunks/4481d7yj7bm2q.js +5 -0
  232. package/out/_next/static/chunks/448is1kpt9eaa.js +39 -0
  233. package/out/_next/static/chunks/44fkzg2e80pqt.js +8 -0
  234. package/out/_next/static/chunks/turbopack-2c3mg3r-05n1w.js +1 -0
  235. package/out/_offline/index.html +3 -2
  236. package/out/account/forgot-password/index.html +3 -2
  237. package/out/account/index.html +3 -2
  238. package/out/assortments/AssortmentDetailPage/index.html +3 -2
  239. package/out/assortments/index.html +3 -2
  240. package/out/assortments/new/index.html +3 -2
  241. package/out/copilot/index.html +3 -2
  242. package/out/country/CountryDetailPage/index.html +3 -2
  243. package/out/country/index.html +3 -2
  244. package/out/country/new/index.html +3 -2
  245. package/out/currency/CurrencyDetailPage/index.html +3 -2
  246. package/out/currency/index.html +3 -2
  247. package/out/currency/new/index.html +3 -2
  248. package/out/delivery-provider/DeliveryProviderDetailPage/index.html +3 -2
  249. package/out/delivery-provider/index.html +3 -2
  250. package/out/delivery-provider/new/index.html +3 -2
  251. package/out/enrollments/EnrollmentDetailPage/index.html +3 -2
  252. package/out/enrollments/index.html +3 -2
  253. package/out/events/EventDetailPage/index.html +3 -2
  254. package/out/events/index.html +3 -2
  255. package/out/exports/index.html +3 -2
  256. package/out/ext/[[...slug]]/index.html +3 -2
  257. package/out/external/index.html +3 -2
  258. package/out/filters/FilterDetailPage/index.html +3 -2
  259. package/out/filters/index.html +3 -2
  260. package/out/filters/new/index.html +3 -2
  261. package/out/index.html +3 -2
  262. package/out/install/index.html +3 -2
  263. package/out/language/LanguageDetailPage/index.html +3 -2
  264. package/out/language/index.html +3 -2
  265. package/out/language/new/index.html +3 -2
  266. package/out/log-in/index.html +3 -2
  267. package/out/orders/OrderDetailPage/index.html +3 -2
  268. package/out/orders/index.html +3 -2
  269. package/out/payment-provider/PaymentProviderDetailPage/index.html +3 -2
  270. package/out/payment-provider/index.html +3 -2
  271. package/out/payment-provider/new/index.html +3 -2
  272. package/out/products/ProductDetailPage/index.html +3 -2
  273. package/out/products/index.html +3 -2
  274. package/out/products/new/index.html +3 -2
  275. package/out/quotations/QuotationDetailPage/index.html +3 -2
  276. package/out/quotations/index.html +3 -2
  277. package/out/reset-password/index.html +3 -2
  278. package/out/sign-up/index.html +3 -2
  279. package/out/styleguide/index.html +3 -2
  280. package/out/tokens/TokenDetailPage/index.html +3 -2
  281. package/out/tokens/index.html +3 -2
  282. package/out/users/UserDetailPage/index.html +3 -2
  283. package/out/users/index.html +3 -2
  284. package/out/users/new/index.html +3 -2
  285. package/out/verify-email/index.html +3 -2
  286. package/out/warehousing-provider/WarehousingProviderDetailPage/index.html +3 -2
  287. package/out/warehousing-provider/index.html +3 -2
  288. package/out/warehousing-provider/new/index.html +3 -2
  289. package/out/works/WorkDetailPage/index.html +3 -2
  290. package/out/works/WorkQueueListView/index.html +3 -2
  291. package/out/works/index.html +3 -2
  292. package/out/works/management/index.html +3 -2
  293. package/package.json +1 -1
  294. package/src/modules/accounts/index.ts +6 -0
  295. package/src/modules/assortment/index.ts +2 -0
  296. package/src/modules/enrollment/index.ts +2 -0
  297. package/src/modules/filter/index.ts +2 -0
  298. package/src/modules/product/index.ts +4 -0
  299. package/src/modules/work/index.ts +1 -0
  300. package/src/sdk/README.md +11 -2
  301. package/src/sdk/plugin-navigation.test.mjs +59 -0
  302. package/out/_next/static/chunks/0-2b37ubdpy0o.js +0 -7
  303. package/out/_next/static/chunks/012cafv-4m7rj.js +0 -807
  304. package/out/_next/static/chunks/02dnhll1bce87.js +0 -46
  305. package/out/_next/static/chunks/02ptvddfjlsxb.js +0 -1
  306. package/out/_next/static/chunks/03ebenjfvoj8n.js +0 -1
  307. package/out/_next/static/chunks/03r347235l6c4.js +0 -7
  308. package/out/_next/static/chunks/05au-xyt__0f2.js +0 -3
  309. package/out/_next/static/chunks/05nn5xr3ufcsh.js +0 -1
  310. package/out/_next/static/chunks/05o_q7jg8wucs.js +0 -44
  311. package/out/_next/static/chunks/05scroolqe8fu.js +0 -234
  312. package/out/_next/static/chunks/072qxdqjtqvn9.js +0 -11
  313. package/out/_next/static/chunks/0752goe9_9g2s.js +0 -110
  314. package/out/_next/static/chunks/07e-sk6v9u-qh.js +0 -807
  315. package/out/_next/static/chunks/07evy5u8ldd1y.js +0 -50
  316. package/out/_next/static/chunks/083ylavob4a8d.js +0 -3
  317. package/out/_next/static/chunks/08jrw03_vxllg.js +0 -54
  318. package/out/_next/static/chunks/08pag0k09j2b3.js +0 -807
  319. package/out/_next/static/chunks/09n6h-_l73rez.js +0 -13
  320. package/out/_next/static/chunks/0_b5faks_mrvi.js +0 -14
  321. package/out/_next/static/chunks/0a_bg-ub3r2eo.js +0 -60
  322. package/out/_next/static/chunks/0aqxsjssb0dh9.js +0 -21
  323. package/out/_next/static/chunks/0aw4jxe6zcc0c.js +0 -32
  324. package/out/_next/static/chunks/0b0hrx3sbbs70.js +0 -807
  325. package/out/_next/static/chunks/0bg4_y1qh5y5h.js +0 -47
  326. package/out/_next/static/chunks/0bgz44wi1lidl.js +0 -13
  327. package/out/_next/static/chunks/0dcpvidzyamvk.js +0 -100
  328. package/out/_next/static/chunks/0dnh0kr83_tj0.js +0 -1
  329. package/out/_next/static/chunks/0dxp17sbyy_dr.js +0 -22
  330. package/out/_next/static/chunks/0dxu94yin5gdn.js +0 -35
  331. package/out/_next/static/chunks/0e2c-jlh2q_eq.js +0 -74
  332. package/out/_next/static/chunks/0el7gr-83bm5j.js +0 -3
  333. package/out/_next/static/chunks/0f_ofo__wyqsp.js +0 -22
  334. package/out/_next/static/chunks/0gx9t6j5kx_ho.js +0 -9
  335. package/out/_next/static/chunks/0h0r_q6xa9qr_.js +0 -1
  336. package/out/_next/static/chunks/0i9ymn9xxs0nx.js +0 -18
  337. package/out/_next/static/chunks/0iy11ws57hzzr.js +0 -99
  338. package/out/_next/static/chunks/0j8_uikfyrn1f.js +0 -1
  339. package/out/_next/static/chunks/0jeddko6bac8h.js +0 -1
  340. package/out/_next/static/chunks/0jzx7vxh13cpi.js +0 -15
  341. package/out/_next/static/chunks/0kody3217__os.js +0 -16
  342. package/out/_next/static/chunks/0kwo-m1-mo-s-.js +0 -31
  343. package/out/_next/static/chunks/0lp_pnq1t06sl.js +0 -104
  344. package/out/_next/static/chunks/0m6jydfuy_4o3.js +0 -1
  345. package/out/_next/static/chunks/0mez27zlo26ni.js +0 -103
  346. package/out/_next/static/chunks/0nj8vn3509oe-.js +0 -9
  347. package/out/_next/static/chunks/0np9pcbt6dmxe.js +0 -25
  348. package/out/_next/static/chunks/0o7k5vanq57ch.js +0 -807
  349. package/out/_next/static/chunks/0r5wwinf72z4g.js +0 -1
  350. package/out/_next/static/chunks/0rqjr_lmrk4pz.js +0 -5
  351. package/out/_next/static/chunks/0swe0fkt4vyzn.js +0 -136
  352. package/out/_next/static/chunks/0u4st428hgv1v.js +0 -27
  353. package/out/_next/static/chunks/0u7--d8_-qyne.js +0 -83
  354. package/out/_next/static/chunks/0ubzi2s1spm4e.js +0 -342
  355. package/out/_next/static/chunks/0uecw_5mn0zvr.js +0 -110
  356. package/out/_next/static/chunks/0uw9cbq0ivaz0.js +0 -1
  357. package/out/_next/static/chunks/0uxwblyj0htyb.js +0 -1
  358. package/out/_next/static/chunks/0uyhr7vs9ltp0.js +0 -141
  359. package/out/_next/static/chunks/0vr19nswhvt2-.js +0 -14
  360. package/out/_next/static/chunks/0vyvc19p87f_r.js +0 -234
  361. package/out/_next/static/chunks/0wznlnzc2xsbz.js +0 -16
  362. package/out/_next/static/chunks/0ycu-q8fcc8ta.js +0 -1
  363. package/out/_next/static/chunks/0ytserk6fuf71.js +0 -175
  364. package/out/_next/static/chunks/0zoum0jzrtu0s.js +0 -145
  365. package/out/_next/static/chunks/1-6s62fsl_z_7.js +0 -126
  366. package/out/_next/static/chunks/10b6et0qn-pa0.js +0 -59
  367. package/out/_next/static/chunks/13m7st62a61df.js +0 -25
  368. package/out/_next/static/chunks/13u_a5l2xngm4.js +0 -1
  369. package/out/_next/static/chunks/15vz50rks0o2-.js +0 -238
  370. package/out/_next/static/chunks/1647yxi4ymq0z.js +0 -14
  371. package/out/_next/static/chunks/16hd7xvkocqxs.js +0 -807
  372. package/out/_next/static/chunks/16t18hhd4ax36.js +0 -2
  373. package/out/_next/static/chunks/17wle25pg9jkp.js +0 -11
  374. package/out/_next/static/chunks/18juy_eauk94g.js +0 -58
  375. package/out/_next/static/chunks/19eflki8bmivb.js +0 -81
  376. package/out/_next/static/chunks/19eu5d-wm2hfr.js +0 -23
  377. package/out/_next/static/chunks/19izcjxrrapb3.js +0 -9
  378. package/out/_next/static/chunks/1_jbj-c1d2606.js +0 -21
  379. package/out/_next/static/chunks/1_pwqdjxb6oou.js +0 -226
  380. package/out/_next/static/chunks/1ae-9ft5cgojf.js +0 -1
  381. package/out/_next/static/chunks/1bftmuhck_-7b.js +0 -1
  382. package/out/_next/static/chunks/1bww_2og01jxh.js +0 -807
  383. package/out/_next/static/chunks/1c0cemuv_tf6i.js +0 -16
  384. package/out/_next/static/chunks/1c4a2qxtb3r4_.js +0 -16
  385. package/out/_next/static/chunks/1cjd95y23a9qx.js +0 -1
  386. package/out/_next/static/chunks/1cy-2yb5j5_9b.js +0 -157
  387. package/out/_next/static/chunks/1dkv555kaccbl.js +0 -13
  388. package/out/_next/static/chunks/1dt9_bzfioi8a.js +0 -24
  389. package/out/_next/static/chunks/1fd7ewfb7bi_g.js +0 -234
  390. package/out/_next/static/chunks/1gncrqljnmqjn.js +0 -43
  391. package/out/_next/static/chunks/1gt65pz91hyuz.js +0 -1
  392. package/out/_next/static/chunks/1iewktf-9h_n8.js +0 -15
  393. package/out/_next/static/chunks/1l7p7exnzd0c2.js +0 -12
  394. package/out/_next/static/chunks/1nqu3ymv6lgev.js +0 -3
  395. package/out/_next/static/chunks/1o_8g-kpuqi9h.js +0 -1
  396. package/out/_next/static/chunks/1oent0-9-0rgb.js +0 -20
  397. package/out/_next/static/chunks/1og09fg689_nc.js +0 -180
  398. package/out/_next/static/chunks/1pj279k5ntty3.js +0 -13
  399. package/out/_next/static/chunks/1q_sewe1wbxsk.js +0 -54
  400. package/out/_next/static/chunks/1qvs4gd4rbhb2.js +0 -15
  401. package/out/_next/static/chunks/1rtv3c_klo0jk.js +0 -1
  402. package/out/_next/static/chunks/1sdqr2_r6o46f.js +0 -16
  403. package/out/_next/static/chunks/1vti949e9wuhz.js +0 -15
  404. package/out/_next/static/chunks/1x-yucftdml28.js +0 -1
  405. package/out/_next/static/chunks/1xbofs3ibkjvj.js +0 -1
  406. package/out/_next/static/chunks/1ylgjha1c0ua_.js +0 -124
  407. package/out/_next/static/chunks/1yp98n-n4gxwy.js +0 -15
  408. package/out/_next/static/chunks/1zcm_9oew7412.js +0 -14
  409. package/out/_next/static/chunks/2-e0d1qpp7rk9.js +0 -14
  410. package/out/_next/static/chunks/20ubrczdsehfm.js +0 -879
  411. package/out/_next/static/chunks/23m--gc-gjenm.js +0 -3
  412. package/out/_next/static/chunks/24-pobk4qjjvp.js +0 -3
  413. package/out/_next/static/chunks/24jptulqn322i.js +0 -15
  414. package/out/_next/static/chunks/24jyi7e2pq4gy.js +0 -15
  415. package/out/_next/static/chunks/252jebodi67kg.js +0 -1
  416. package/out/_next/static/chunks/26eux546aoag5.js +0 -58
  417. package/out/_next/static/chunks/270ua9t85a7ev.js +0 -5
  418. package/out/_next/static/chunks/28r_j2kquxrjn.js +0 -807
  419. package/out/_next/static/chunks/2_ccruvok3u8j.js +0 -16
  420. package/out/_next/static/chunks/2_ojfjgg8do9t.js +0 -1
  421. package/out/_next/static/chunks/2aj5aq_c0b4r_.js +0 -13
  422. package/out/_next/static/chunks/2ba3n9zx9e9q9.js +0 -807
  423. package/out/_next/static/chunks/2d-hxb31pgpn7.js +0 -13
  424. package/out/_next/static/chunks/2df2cqwidgpan.js +0 -15
  425. package/out/_next/static/chunks/2djnsowjy3p8y.js +0 -1
  426. package/out/_next/static/chunks/2dyj8q92_k5el.js +0 -708
  427. package/out/_next/static/chunks/2e0k9dt1emjfm.js +0 -1
  428. package/out/_next/static/chunks/2e3gba1n-yyuj.js +0 -15
  429. package/out/_next/static/chunks/2e_p1vqr0g_-_.js +0 -7
  430. package/out/_next/static/chunks/2e_te6sbs_5uw.js +0 -1
  431. package/out/_next/static/chunks/2f16josk9b_cl.js +0 -8
  432. package/out/_next/static/chunks/2fo2ki1egxbah.js +0 -39
  433. package/out/_next/static/chunks/2g8gzs8wpsofk.js +0 -2
  434. package/out/_next/static/chunks/2gh355-kh19zx.js +0 -13
  435. package/out/_next/static/chunks/2gr4t5xe0atdr.js +0 -15
  436. package/out/_next/static/chunks/2ib6fee-nqe-z.js +0 -23
  437. package/out/_next/static/chunks/2kjux30i3gg-c.js +0 -5
  438. package/out/_next/static/chunks/2ljoq6sr-g2da.js +0 -1
  439. package/out/_next/static/chunks/2ll_mqee86g8c.js +0 -1
  440. package/out/_next/static/chunks/2lx_iig9xewfj.js +0 -52
  441. package/out/_next/static/chunks/2lylr4-3tu1_t.js +0 -15
  442. package/out/_next/static/chunks/2n1v8ph2nt43w.js +0 -17
  443. package/out/_next/static/chunks/2o9hdz0gk1-s7.js +0 -165
  444. package/out/_next/static/chunks/2oadogfqpak51.js +0 -1
  445. package/out/_next/static/chunks/2oogwntgnu9rf.js +0 -17
  446. package/out/_next/static/chunks/2p4e3kh8sa8iq.js +0 -13
  447. package/out/_next/static/chunks/2q-mpau-4gsvd.js +0 -1
  448. package/out/_next/static/chunks/2rddaar-ns45d.js +0 -116
  449. package/out/_next/static/chunks/2s3qhuh87mu_w.js +0 -126
  450. package/out/_next/static/chunks/2s6u8274_jzk2.js +0 -105
  451. package/out/_next/static/chunks/2skfzjx2g9hkk.js +0 -134
  452. package/out/_next/static/chunks/2u6jwsqz0uhes.js +0 -24
  453. package/out/_next/static/chunks/2v4k4vpb2id7m.js +0 -44
  454. package/out/_next/static/chunks/2xctb084h1lyg.js +0 -329
  455. package/out/_next/static/chunks/2xgpwzpd6-tdb.js +0 -234
  456. package/out/_next/static/chunks/3-soz24u9483h.js +0 -15
  457. package/out/_next/static/chunks/30_ns6urg1dkn.js +0 -41
  458. package/out/_next/static/chunks/30nxkqu5mcga3.js +0 -1
  459. package/out/_next/static/chunks/313i1x81q2xj1.js +0 -1
  460. package/out/_next/static/chunks/31qwglme02a_r.js +0 -807
  461. package/out/_next/static/chunks/31sk60zzj3bc5.js +0 -17
  462. package/out/_next/static/chunks/325a7n__tfxy_.js +0 -61
  463. package/out/_next/static/chunks/33emlry70k-lv.js +0 -2
  464. package/out/_next/static/chunks/33v8la4hkia7j.js +0 -1
  465. package/out/_next/static/chunks/34ar-34flu6bu.js +0 -43
  466. package/out/_next/static/chunks/34z48lfdm9u0l.js +0 -9
  467. package/out/_next/static/chunks/351jscvbk_wb9.js +0 -13
  468. package/out/_next/static/chunks/357odtev0t245.js +0 -59
  469. package/out/_next/static/chunks/360g4b1clnt45.js +0 -142
  470. package/out/_next/static/chunks/360uyru28azf6.js +0 -20
  471. package/out/_next/static/chunks/366apf6d0xh2u.js +0 -30
  472. package/out/_next/static/chunks/36_zbuqpk5cpj.js +0 -14
  473. package/out/_next/static/chunks/36aqs7u7s-lb1.js +0 -119
  474. package/out/_next/static/chunks/36beon3q8orx2.js +0 -1
  475. package/out/_next/static/chunks/37703j9_zf5_h.js +0 -13
  476. package/out/_next/static/chunks/37rwzuocwsv_k.js +0 -16
  477. package/out/_next/static/chunks/37w6b3h04uc4c.js +0 -19
  478. package/out/_next/static/chunks/38ffn8gazqz8_.js +0 -3
  479. package/out/_next/static/chunks/38xse6_r51yqp.js +0 -234
  480. package/out/_next/static/chunks/39s8xbnm9f08v.js +0 -14
  481. package/out/_next/static/chunks/39x-p8r_sl0ng.js +0 -15
  482. package/out/_next/static/chunks/39zisxvmik0t_.js +0 -34
  483. package/out/_next/static/chunks/3_97tge0xvvon.js +0 -11
  484. package/out/_next/static/chunks/3aw-ri7876ngd.js +0 -39
  485. package/out/_next/static/chunks/3bv7gi3o6-41h.js +0 -11
  486. package/out/_next/static/chunks/3cdfuacs4_0d-.js +0 -1
  487. package/out/_next/static/chunks/3cxpx38ycu7u2.js +0 -9
  488. package/out/_next/static/chunks/3d1ofcqmlbg-5.js +0 -52
  489. package/out/_next/static/chunks/3e3i3qqkv_my7.js +0 -15
  490. package/out/_next/static/chunks/3ex71q3pp_ekc.js +0 -247
  491. package/out/_next/static/chunks/3g1lpkudwo8kg.js +0 -1
  492. package/out/_next/static/chunks/3h68t22714to5.js +0 -3
  493. package/out/_next/static/chunks/3jpzhwqgdnobq.js +0 -103
  494. package/out/_next/static/chunks/3jxuqt_2-j_uc.js +0 -18
  495. package/out/_next/static/chunks/3kqqv33l7ssn0.js +0 -16
  496. package/out/_next/static/chunks/3l-9xxd1i1sya.js +0 -1
  497. package/out/_next/static/chunks/3mancxzz8c7hl.js +0 -51
  498. package/out/_next/static/chunks/3mq2s9rfy78je.js +0 -27
  499. package/out/_next/static/chunks/3om1fkw-lrmng.js +0 -1
  500. package/out/_next/static/chunks/3oynij37wfjb2.js +0 -119
  501. package/out/_next/static/chunks/3pbyo5kkko3wh.js +0 -1
  502. package/out/_next/static/chunks/3pjja1obml896.js +0 -15
  503. package/out/_next/static/chunks/3qaiz-jwi7q2x.js +0 -1
  504. package/out/_next/static/chunks/3rh3nigvg06yu.js +0 -337
  505. package/out/_next/static/chunks/3rppjab6j3_k9.js +0 -1
  506. package/out/_next/static/chunks/3t_3vlnk1ntkb.js +0 -95
  507. package/out/_next/static/chunks/3tpo2ho54vtth.js +0 -807
  508. package/out/_next/static/chunks/3tqspv0ggt8j0.js +0 -17
  509. package/out/_next/static/chunks/3um54w4ca27n_.js +0 -17
  510. package/out/_next/static/chunks/3vet2a9q9rf2c.js +0 -61
  511. package/out/_next/static/chunks/3vjgbl76cgrmt.js +0 -1
  512. package/out/_next/static/chunks/3vz3gqmojh7sx.js +0 -4
  513. package/out/_next/static/chunks/3w2e5xa061qou.js +0 -9
  514. package/out/_next/static/chunks/3w9xrlkiztuwi.js +0 -23
  515. package/out/_next/static/chunks/3x4xfy_av3o0d.js +0 -1
  516. package/out/_next/static/chunks/3x9k13s5fam4j.js +0 -22
  517. package/out/_next/static/chunks/3xmtbqm0gddn8.js +0 -3
  518. package/out/_next/static/chunks/3z5uyt9mc9_fd.js +0 -2
  519. package/out/_next/static/chunks/3zlwp96x3hoy9.js +0 -16
  520. package/out/_next/static/chunks/3zr_sumh1g7il.js +0 -22
  521. package/out/_next/static/chunks/40jl8yfmy6tp6.js +0 -234
  522. package/out/_next/static/chunks/40xhwnc_48o73.js +0 -297
  523. package/out/_next/static/chunks/41-iysd7qkyg1.js +0 -16
  524. package/out/_next/static/chunks/4105a9rejv_p4.js +0 -1
  525. package/out/_next/static/chunks/41e2wlkp9_pvk.js +0 -28
  526. package/out/_next/static/chunks/41g7mv3yuhz6k.js +0 -68
  527. package/out/_next/static/chunks/43jyzccx6x0lw.js +0 -1
  528. package/out/_next/static/chunks/43vuxh3wdo567.js +0 -10
  529. package/out/_next/static/chunks/44daaafswok67.css +0 -1
  530. package/out/_next/static/chunks/452fv7r-tie6t.js +0 -1
  531. package/out/_next/static/chunks/457j51b69odrw.js +0 -1
  532. package/out/_next/static/chunks/turbopack-02vysfmmbped5.js +0 -1
  533. package/out/_next/static/chunks/turbopack-03fj2scz_09ul.js +0 -1
  534. package/out/_next/static/chunks/turbopack-07wtduwtfqsl_.js +0 -1
  535. package/out/_next/static/chunks/turbopack-0_zihh5ueb_wj.js +0 -1
  536. package/out/_next/static/chunks/turbopack-0b8-ww_z1vgvn.js +0 -1
  537. package/out/_next/static/chunks/turbopack-0beql_u-wc_3e.js +0 -1
  538. package/out/_next/static/chunks/turbopack-0dxdn-gyy3_qj.js +0 -1
  539. package/out/_next/static/chunks/turbopack-0hqw81t-42tbj.js +0 -1
  540. package/out/_next/static/chunks/turbopack-0jsdrr-oq87lm.js +0 -1
  541. package/out/_next/static/chunks/turbopack-0jxa33q3ikjqg.js +0 -1
  542. package/out/_next/static/chunks/turbopack-0k9zths9zte_8.js +0 -1
  543. package/out/_next/static/chunks/turbopack-0pa42wgwsv141.js +0 -1
  544. package/out/_next/static/chunks/turbopack-0te09_mp07k1x.js +0 -1
  545. package/out/_next/static/chunks/turbopack-0xsxl45thi-35.js +0 -1
  546. package/out/_next/static/chunks/turbopack-10-8q-q2zomxa.js +0 -1
  547. package/out/_next/static/chunks/turbopack-142w-8owzbg7_.js +0 -1
  548. package/out/_next/static/chunks/turbopack-18tezl3vagvil.js +0 -1
  549. package/out/_next/static/chunks/turbopack-1_1a-_v7vml72.js +0 -1
  550. package/out/_next/static/chunks/turbopack-1_k-7s9lmntml.js +0 -1
  551. package/out/_next/static/chunks/turbopack-1a47di2tss4e-.js +0 -1
  552. package/out/_next/static/chunks/turbopack-1c60gn7g-uduw.js +0 -1
  553. package/out/_next/static/chunks/turbopack-1e1yk3pkaodr5.js +0 -1
  554. package/out/_next/static/chunks/turbopack-1jtk1c9w2axlk.js +0 -1
  555. package/out/_next/static/chunks/turbopack-1k2ukl9u-7ovo.js +0 -1
  556. package/out/_next/static/chunks/turbopack-1lkz81ntcp1zv.js +0 -1
  557. package/out/_next/static/chunks/turbopack-1pkw_r5dvv20d.js +0 -1
  558. package/out/_next/static/chunks/turbopack-1pu2s2k3szn0s.js +0 -1
  559. package/out/_next/static/chunks/turbopack-1rxz_6lqtls5b.js +0 -1
  560. package/out/_next/static/chunks/turbopack-1uf07pugrv1fy.js +0 -1
  561. package/out/_next/static/chunks/turbopack-1uobzdn2r7ebw.js +0 -1
  562. package/out/_next/static/chunks/turbopack-1wv610ktbtzka.js +0 -1
  563. package/out/_next/static/chunks/turbopack-1wz4te1fj20zp.js +0 -1
  564. package/out/_next/static/chunks/turbopack-1zi2ss8eiiyfx.js +0 -1
  565. package/out/_next/static/chunks/turbopack-207p7bsc5wea7.js +0 -1
  566. package/out/_next/static/chunks/turbopack-21zngkzhonfcm.js +0 -1
  567. package/out/_next/static/chunks/turbopack-23y20ll8n-nwk.js +0 -1
  568. package/out/_next/static/chunks/turbopack-26wtylwa4_s95.js +0 -1
  569. package/out/_next/static/chunks/turbopack-27l7xplqpifq6.js +0 -1
  570. package/out/_next/static/chunks/turbopack-285oyoobdo21x.js +0 -1
  571. package/out/_next/static/chunks/turbopack-28b0zyhf3uqaq.js +0 -1
  572. package/out/_next/static/chunks/turbopack-28m_9eg3draop.js +0 -1
  573. package/out/_next/static/chunks/turbopack-29h9fgcal-fng.js +0 -1
  574. package/out/_next/static/chunks/turbopack-2a84kh6nmf_78.js +0 -1
  575. package/out/_next/static/chunks/turbopack-2b73dx1bsdg5f.js +0 -1
  576. package/out/_next/static/chunks/turbopack-2bslf96g-y1vv.js +0 -1
  577. package/out/_next/static/chunks/turbopack-2d-2wg8-_f9-v.js +0 -1
  578. package/out/_next/static/chunks/turbopack-2ez-mfb63qve0.js +0 -1
  579. package/out/_next/static/chunks/turbopack-2g7u83j1wlswz.js +0 -1
  580. package/out/_next/static/chunks/turbopack-2m4gns1_64-7_.js +0 -1
  581. package/out/_next/static/chunks/turbopack-2n4ba44aafc4x.js +0 -1
  582. package/out/_next/static/chunks/turbopack-2t3zb47_j-ahd.js +0 -1
  583. package/out/_next/static/chunks/turbopack-2tf6rdek5zvm6.js +0 -1
  584. package/out/_next/static/chunks/turbopack-2vb0p2htqo4nd.js +0 -1
  585. package/out/_next/static/chunks/turbopack-30-bi-9_7jd01.js +0 -1
  586. package/out/_next/static/chunks/turbopack-32pjcar5xpn1o.js +0 -1
  587. package/out/_next/static/chunks/turbopack-3a3skasosq9-4.js +0 -1
  588. package/out/_next/static/chunks/turbopack-3d2rk8-5wcgrs.js +0 -1
  589. package/out/_next/static/chunks/turbopack-3i91g2le3tkne.js +0 -1
  590. package/out/_next/static/chunks/turbopack-3j4bdo8-ldea5.js +0 -1
  591. package/out/_next/static/chunks/turbopack-3m47jybfw85nc.js +0 -1
  592. package/out/_next/static/chunks/turbopack-3yfksvslbm14s.js +0 -1
  593. package/out/_next/static/chunks/turbopack-414roft8p92hp.js +0 -1
  594. package/out/_next/static/chunks/turbopack-424slv1lqxh_5.js +0 -1
  595. package/out/_next/static/chunks/turbopack-444yt6auyioxn.js +0 -1
  596. package/out/_next/static/z5KrmhOz2mLscINN5EbUf/_buildManifest.js +0 -262
  597. /package/dist/{chunk-JED6SHHG.js → chunk-PUI5BIKO.js} +0 -0
  598. /package/out/_next/static/{z5KrmhOz2mLscINN5EbUf → BPoacQET3TJr2q9E370Ez}/_clientMiddlewareManifest.js +0 -0
  599. /package/out/_next/static/{z5KrmhOz2mLscINN5EbUf → BPoacQET3TJr2q9E370Ez}/_ssgManifest.js +0 -0
@@ -1,126 +0,0 @@
1
- (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,95789,e=>{"use strict";var t=e.i(91398),r=e.i(56206),a=e.i(88566),s=e.i(25575),l=e.i(91788);let i=({header:e,body:i,headerCSS:n="",bodyCSS:o="",itemContainerCSS:u="",itemindex:d=1,hideChevron:c=!1})=>{let[f,m]=(0,l.useState)(!1);return(0,t.jsxs)("div",{className:(0,r.default)("mt-3",u),"data-itemindex":d,children:[(0,t.jsxs)("button",{type:"button",onClick:()=>m(!f),className:(0,r.default)("relative cursor-pointer border dark:border-slate-800 bg-surface-input text-text-muted hover:bg-surface-raised w-full max-w-full overflow-hidden",n),children:[(0,t.jsx)("div",{className:"w-full",children:e}),!c&&(0,t.jsx)("span",{className:"px-2",children:f?(0,t.jsx)(s.ChevronUpIcon,{className:"h-5 w-5"}):(0,t.jsx)(a.ChevronDownIcon,{className:"h-5 w-5"})})]}),f?(0,t.jsx)("div",{className:(0,r.default)("rounded-lg sm:p-4 xl:p-10 relative overflow-visible",o),children:i}):""]})};e.s(["default",0,({data:e,containerCSS:a="",headerCSS:s="",bodyCSS:l="",itemContainerCSS:n="",hideChevron:o=!1,...u})=>(0,t.jsx)("div",{className:(0,r.default)("my-3",a),...u,children:e.map(({header:e,body:r},a)=>(0,t.jsx)(i,{itemindex:a,header:e,body:r,headerCSS:s,bodyCSS:l,itemContainerCSS:n,hideChevron:o},a))})],95789)},3883,e=>{"use strict";var t=e.i(91398),r=e.i(56206);e.s(["default",0,({id:e,label:a,value:s,onChange:l,placeholder:i,min:n,max:o,className:u,containerClassName:d})=>(0,t.jsxs)("div",{className:(0,r.default)("flex flex-col gap-1",d),children:[a&&(0,t.jsx)("label",{htmlFor:e,className:"text-sm font-medium text-text-secondary",children:a}),(0,t.jsx)("input",{type:"date",id:e,value:s||"",onChange:e=>{l(e.target.value||null)},placeholder:i,min:n,max:o,className:(0,r.default)("w-full rounded-md border-1 border-border-default bg-surface-input px-3 py-2 text-sm shadow-xs text-text-primary focus:outline-hidden focus:ring-2 focus:ring-focus-ring dark:[color-scheme:dark]",u)})]})])},83788,e=>{"use strict";var t=e.i(91398),r=e.i(91788),a=e.i(86201);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({error:e,errorInfo:t})}render(){return this.state.hasError?(0,t.jsx)(a.default,{error:this.state.error,resetError:()=>this.setState({hasError:!1,error:null})}):this.props.children}}e.s(["default",0,s])},86201,e=>{"use strict";var t=e.i(91398),r=e.i(41158),a=e.i(69322),s=e.i(5505);e.s(["default",0,({error:e=null,resetError:l=null})=>{let{formatMessage:i}=(0,a.useIntl)();return(0,t.jsx)("div",{className:"flex min-h-screen items-center justify-center py-12 px-4 sm:px-6 lg:px-8",children:(0,t.jsxs)("div",{className:"w-full max-w-md space-y-4 text-center",children:[(0,t.jsx)("div",{children:(0,t.jsx)("h2",{className:"text-center text-3xl text-text-primary",children:i({id:"internal_server_error",defaultMessage:"500 Internal Server Error"})})}),(0,t.jsx)(s.default,{children:(0,t.jsxs)("div",{className:"space-y-6 px-4 pb-5 pt-3 sm:rounded-lg sm:px-10",children:[(0,t.jsxs)("div",{className:"text-center",children:[(0,t.jsx)("div",{className:"mx-auto flex h-12 w-12 items-center justify-center rounded-full bg-rose-100 dark:bg-rose-900",children:(0,t.jsx)("svg",{className:"h-6 w-6 text-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-2.5L13.732 4c-.77-.833-1.964-.833-2.732 0L3.732 16.5c-.77.833.192 2.5 1.732 2.5z"})})}),(0,t.jsx)("p",{className:"mt-4 text-sm font-semibold uppercase tracking-wide text-danger",children:i({id:"error_500",defaultMessage:"500 Error"})}),(0,t.jsx)("p",{className:"mt-2 text-base text-text-muted",children:i({id:"internal_server_error_message",defaultMessage:"Sorry, something went wrong on our end. We are working to fix this."})}),e?.message&&(0,t.jsxs)("details",{className:"mt-4 text-left",children:[(0,t.jsx)("summary",{className:"cursor-pointer text-sm text-text-secondary hover:text-slate-800 dark:hover:text-slate-300",children:i({id:"show_error_details",defaultMessage:"Show error details"})}),(0,t.jsx)("pre",{className:"mt-2 text-xs text-text-muted whitespace-pre-wrap break-all",children:e?.message})]})]}),(0,t.jsxs)("div",{className:"flex flex-col gap-3 mt-6",children:[(0,t.jsxs)(r.default,{href:"/",className:"group relative flex w-full justify-center rounded-md border border-transparent bg-accent py-2 px-4 text-sm font-medium text-text-on-accent hover:bg-accent-hover focus:outline-hidden focus:ring-2 focus:ring-focus-ring focus:ring-offset-2",children:[(0,t.jsx)("span",{className:"absolute inset-y-0 left-0 flex items-center pl-3",children:(0,t.jsx)("svg",{className:"h-5 w-5 text-white group-hover:text-slate-200",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",children:(0,t.jsx)("path",{fillRule:"evenodd",d:"M9.707 16.707a1 1 0 01-1.414 0l-6-6a1 1 0 010-1.414l6-6a1 1 0 011.414 1.414L5.414 9H17a1 1 0 110 2H5.414l4.293 4.293a1 1 0 010 1.414z",clipRule:"evenodd"})})}),i({id:"back_to_home",defaultMessage:"Back to Home"})]}),l&&(0,t.jsxs)("button",{type:"button",onClick:l,className:"group relative flex w-full justify-center rounded-md border border-slate-300 bg-surface-raised dark:border-slate-600 py-2 px-4 text-sm font-medium text-text-secondary hover:bg-surface-raised focus:outline-hidden focus:ring-2 focus:ring-focus-ring dark:focus:ring-focus-ring focus:ring-offset-2",children:[(0,t.jsx)("span",{className:"absolute inset-y-0 left-0 flex items-center pl-3",children:(0,t.jsx)("svg",{className:"h-5 w-5 text-text-muted group-hover:text-slate-600 dark:group-hover:text-slate-300",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",children:(0,t.jsx)("path",{fillRule:"evenodd",d:"M4 2a1 1 0 011 1v2.101a7.002 7.002 0 0111.601 2.566 1 1 0 11-1.885.666A5.002 5.002 0 005.999 7H9a1 1 0 010 2H4a1 1 0 01-1-1V3a1 1 0 011-1zm.008 9.057a1 1 0 011.276.61A5.002 5.002 0 0014.001 13H11a1 1 0 110-2h5a1 1 0 011 1v5a1 1 0 11-2 0v-2.101a7.002 7.002 0 01-11.601-2.566 1 1 0 01.61-1.276z",clipRule:"evenodd"})})}),i({id:"try_again",defaultMessage:"Try Again"})]})]})]})})]})})}])},53296,e=>{"use strict";var t=e.i(91398),r=e.i(74040),r=r,a=e.i(69322);e.s(["default",0,({messageKey:e,defaultMessage:s,values:l,className:i="",showIcon:n=!0})=>{let{formatMessage:o}=(0,a.useIntl)(),u=o({id:e,defaultMessage:s},l);return u?(0,t.jsxs)("div",{className:`flex items-start space-x-1 text-sm text-text-secondary ${i}`,children:[n&&(0,t.jsx)(r.default,{className:"h-4 w-4 mt-0.5 flex-shrink-0"}),(0,t.jsx)("span",{children:u})]}):null}],53296)},82078,e=>{"use strict";var t=e.i(91398),r=e.i(44112);e.s(["default",0,({title:e=null,description:a})=>(0,t.jsx)("div",{className:"mb-6 p-4 bg-blue-50 dark:bg-blue-900/20 border border-blue-200 dark:border-blue-800 rounded-lg",children:(0,t.jsxs)("div",{className:"flex items-start gap-3",children:[(0,t.jsx)(r.InformationCircleIcon,{className:"w-5 h-5 text-blue-600 dark:text-blue-400 mt-0.5 flex-shrink-0"}),(0,t.jsxs)("div",{children:[e&&(0,t.jsx)("h3",{className:"text-sm font-semibold text-blue-900 dark:text-blue-100 mb-2",children:e}),(0,t.jsx)("p",{className:"text-sm text-blue-800 dark:text-blue-200 leading-relaxed",children:a})]})]})})])},6634,e=>{"use strict";var t=e.i(91398),r=e.i(56206),a=e.i(3828),s=e.i(83147);e.s(["default",0,({toggleText:e="",toggleKey:l=null,onToggle:i=null,active:n=!1,className:o="",disabled:u=!1,...d})=>{let c=(0,a.useRouter)(),f=c?.query?.[l]==="true"||n;return(0,t.jsxs)("div",{className:(0,r.default)("",o),children:[(0,t.jsxs)("button",{id:l,disabled:u,type:"button",className:(0,r.default)("relative inline-flex h-3.5 w-9 shrink-0 cursor-pointer rounded-full border-1 border-transparent transition-all duration-200 ease-in-out focus:outline-hidden focus:ring-2 focus:ring-focus-ring focus:ring-offset-2",{"bg-slate-200 dark:bg-slate-700":!f,"bg-emerald-500 dark:bg-emerald-600 shadow-sm":f}),role:"switch",onClick:i||(()=>{let{skip:e,...t}=c.query;c.push({query:(0,s.normalizeQuery)(t,!f,l)})}),"aria-checked":f?"true":"false",...d,children:[(0,t.jsx)("span",{className:"sr-only",children:e}),(0,t.jsxs)("span",{className:(0,r.default)("ml-0.5 pointer-events-none relative inline-block h-3 w-3 transform rounded-full bg-white shadow-sm ring-0 transition-all duration-200 ease-in-out",{"translate-x-5 shadow-md":f,"translate-x-0":!f}),children:[(0,t.jsx)("span",{className:(0,r.default)("absolute inset-0 flex h-full w-full items-center justify-center transition-opacity",{"opacity-0 duration-100 ease-out":f,"opacity-100 duration-200 ease-in":!f}),"aria-hidden":"true",children:(0,t.jsx)("svg",{className:"h-3 w-3 text-slate-400",fill:"none",viewBox:"0 0 12 12",children:(0,t.jsx)("path",{d:"M4 8l2-2m0 0l2-2M6 6L4 4m2 2l2 2",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})}),(0,t.jsx)("span",{className:(0,r.default)("absolute inset-0 flex h-full w-full items-center justify-center transition-opacity",{"opacity-100 duration-200 ease-in":f,"opacity-0 duration-100 ease-out":!f}),"aria-hidden":"true",children:(0,t.jsx)("svg",{className:"h-3 w-3 text-emerald-500",fill:"currentColor",viewBox:"0 0 12 12",children:(0,t.jsx)("path",{d:"M3.707 5.293a1 1 0 00-1.414 1.414l1.414-1.414zM5 8l-.707.707a1 1 0 001.414 0L5 8zm4.707-3.293a1 1 0 00-1.414-1.414l1.414 1.414zm-7.414 2l2 2 1.414-1.414-2-2-1.414 1.414zm3.414 2l4-4-1.414-1.414-4 4 1.414 1.414z"})})})]})]}),(0,t.jsx)("span",{className:"ml-3",id:"annual-billing-label",children:(0,t.jsx)("span",{className:"text-sm font-medium text-text-primary",children:e})})]})}])},30434,e=>{"use strict";var t=e.i(91398),r=e.i(56206),a=e.i(60741);e.s(["default",0,e=>{let{disabled:s,labelClassName:l,containerClassName:i,inputClassName:n,...o}=e,u=(0,a.default)({...e,type:"checkbox"});return(0,t.jsxs)("div",{className:(0,r.default)("",{"text-rose-600":!!u.error,checkbox:!0,disabled:u.disabled,required:u.required},i),children:[(0,t.jsx)("input",{checked:!!u.value,disabled:s,id:u.name,name:u.name,onChange:u.onChange,onBlur:u.onBlur,type:"checkbox",className:(0,r.default)("h-4 w-4 rounded-xs border-border-default bg-white dark:!bg-slate-800 text-indigo-600 dark:text-slate-200 focus:ring-focus-ring",n,e.className),...o}),(0,t.jsx)("label",{htmlFor:u.name,className:(0,r.default)("text-sm text-text-primary",l,{"text-danger":!!u.error}),children:u.label})]})}])},54879,e=>{"use strict";var t=e.i(91398),r=e.i(56206);e.s(["default",0,({children:e,className:a,error:s,disabled:l,required:i,name:n,label:o,hideLabel:u,labelClassName:d})=>(0,t.jsxs)("div",{className:(0,r.default)("container",{"is-invalid":!!s,disabled:l,required:i},a),children:[(0,t.jsx)("label",{"aria-label":o,htmlFor:n,className:(0,r.default)("mb-2 block text-left text-sm font-light text-text-secondary",{"mt-1 rounded-sm border border-rose-100 dark:border-rose-800 bg-rose-50 dark:bg-rose-900/20 p-2 pl-4 text-rose-700 dark:text-rose-400":!!s,"sr-only":u},d),children:s||o}),e]})])},10685,e=>{"use strict";var t=e.i(91398),r=e.i(56206),a=e.i(60741),s=e.i(54879);e.s(["default",0,e=>{let{options:l,...i}=(0,a.default)(e),{className:n}=e||{className:""};return(0,t.jsx)(s.default,{...i,children:(0,t.jsx)("div",{className:"select-wrap",children:(0,t.jsxs)("select",{className:(0,r.default)("block w-full dark:bg-slate-900 dark:text-white rounded-md border-1 border-border-default py-2.5 pl-3 pr-10 text-base text-black shadow-xs focus:outline-hidden focus:ring-2 focus:ring-focus-ring sm:text-sm",n,{"border-rose-700 text-rose-600 dark:border-rose-500 dark:text-rose-400":!!i.error}),disabled:i.disabled,id:i.name,name:i.name,onChange:i.onChange,onBlur:i.onBlur,value:i.value,children:[(0,t.jsx)("option",{className:"dark:text-slate-200",value:"",disabled:i.required,hidden:i.required,children:i.placeholder||i.label}),Object.entries(l).map(([e,r])=>(0,t.jsx)("option",{className:"dark:text-slate-200",value:e,children:r},e))]})})})}])},21128,e=>{"use strict";var t=e.i(91398),r=e.i(56206),a=e.i(58021),s=e.i(61898);e.s(["default",0,({label:e,disabled:l=!1,className:i="",hidden:n=!1,...o})=>{let{formState:u}=(0,a.useFormContext)(),{...d}=o,c=Object.keys(u.errors).length>0&&Object.values(u.errors).some(e=>!!e),{disabled:f}=(0,s.default)(),m=l||f||u.isSubmitting||c,h=u.isSubmitting&&!c,g=(l||f||c)&&!u.isSubmitting;return(0,t.jsx)("input",{className:(0,r.default)("inline-flex cursor-pointer justify-center rounded-sm border border-slate-300 px-4 py-2 text-center text-sm font-medium leading-5 shadow-sm hover:shadow-md focus:ring-focus-ring",i,{"bg-rose-50 dark:bg-slate-800 dark:text-rose-300 cursor-not-allowed border-rose-300 dark:border-rose-600 text-rose-900":g,"bg-slate-600 dark:bg-slate-700 text-white cursor-not-allowed border-slate-400 dark:border-slate-600":h,"bg-accent text-text-on-accent hover:bg-accent-hover focus:outline-hidden focus:ring-2 focus:ring-offset-2 border-transparent":!m,hidden:n}),"aria-label":e,type:"submit",value:e,disabled:m,...d})}])},16984,e=>{"use strict";var t=e.i(91398),r=e.i(56206),a=e.i(82226),s=e.i(60741),l=e.i(54879);e.s(["default",0,({maxLength:e=0,validators:i=[],...n})=>{let o=(0,s.default)({validators:[...i,e&&(0,a.validateMaxLength)(e)],...n});return(0,t.jsx)(l.default,{...o,children:(0,t.jsx)("input",{className:(0,r.default)("relative mt-1 block w-full dark:focus:autofill dark:hover:autofill dark:autofill dark:placeholder:text-slate-600 dark:bg-slate-900 dark:text-slate-200 appearance-none rounded-md border-1 dark:border-slate-700 px-4 py-2.5 text-sm text-slate-900 focus:outline-hidden focus:ring-2 focus:ring-focus-ring shadow-xs",{"border-rose-700 placeholder:text-rose-500":!!o.error,"border-slate-300 placeholder-slate-400":!o.error}),disabled:o.disabled,id:o.name,name:o.name,onChange:o.onChange,onClick:e=>{e.stopPropagation()},onBlur:o.onBlur,placeholder:o.placeholder,autoComplete:o.autoComplete||"off",type:o.type||"text",value:o.value,autoFocus:o.autoFocus})})}])},5505,e=>{"use strict";var t=e.i(91398),r=e.i(91788),a=e.i(98837),s=e.i(56206);let l=(0,a.default)("FormWrapperContext",(0,r.createContext)(!1));e.s(["FormWrapperContext",0,l,"default",0,({children:e,className:r=""})=>(0,t.jsx)(l.Provider,{value:!0,children:(0,t.jsx)("div",{className:"sm:max-w-full",children:(0,t.jsx)("div",{className:(0,s.default)("bg-surface rounded-md shadow-sm overflow-hidden",r),children:e})})})])},1504,e=>{"use strict";e.s(["default",0,(e,t,r)=>Object.assign({},...e?.map(e=>({[e[r]]:e[t]}))||[])])},73319,e=>{"use strict";let t=e=>"[object Object]"===Object.prototype.toString.call(e);e.s(["extractQuery",0,e=>decodeURIComponent(e||[])?.split(",")?.filter(Boolean),"isObject",0,t,"isTruthy",0,e=>!(!e||null==e||t(e)&&!Object.keys(e).length||Array.isArray(e)&&!e.length)])},68191,e=>{"use strict";var t=e.i(59080);let r=t.gql`
2
- fragment CurrencyFragment on Currency {
3
- _id
4
- isoCode
5
- isActive
6
- contractAddress
7
- decimals
8
- }
9
- `;e.s(["default",0,r])},79093,e=>{"use strict";var t=e.i(59080),r=e.i(32171),a=e.i(68191);let s=t.gql`
10
- query Currencies(
11
- $queryString: String
12
- $limit: Int
13
- $offset: Int
14
- $includeInactive: Boolean
15
- $sort: [SortOptionInput!]
16
- ) {
17
- currencies(
18
- queryString: $queryString
19
- limit: $limit
20
- offset: $offset
21
- includeInactive: $includeInactive
22
- sort: $sort
23
- ) {
24
- ...CurrencyFragment
25
- }
26
- currenciesCount(
27
- includeInactive: $includeInactive
28
- queryString: $queryString
29
- )
30
- }
31
- ${a.default}
32
- `;e.s(["default",0,({queryString:e="",limit:t=20,offset:a=0,includeInactive:l=!0,sort:i=[]}={})=>{let{data:n,loading:o,error:u,fetchMore:d}=(0,r.useQuery)(s,{variables:{queryString:e,limit:t,offset:a,includeInactive:l,sort:i}}),c=n?.currencies||[],f=n?.currenciesCount,m=c?.length<f;return{currencies:c,currenciesCount:f,hasMore:m,loading:o,error:u,loadMore:()=>{d({variables:{offset:c?.length}})}}}])},69211,e=>{"use strict";var t=e.i(91398),r=e.i(58021),a=e.i(60170);e.s(["default",0,({form:e,children:s,className:l="",...i})=>(0,t.jsx)(a.default.Provider,{value:e,children:(0,t.jsx)(r.FormProvider,{...e.rhf,children:(0,t.jsx)("form",{onReset:()=>e.api.handleReset(),onSubmit:e.api.handleSubmit,method:"POST",className:l,...i,children:s})})})])},60741,e=>{"use strict";var t=e.i(91788),r=e.i(69322),a=e.i(58021),s=e.i(82226),l=e.i(61898);e.s(["default",0,e=>{let i=(0,r.useIntl)(),{rhf:n,...o}=(0,l.default)(),{name:u,required:d,errorMessage:c,disabled:f=o.disabled||n?.formState?.isSubmitting,label:m=i.formatMessage({id:u,defaultMessage:"default_input_name",description:"DO not translate Skip this as it's the default given label when a component is not provided explicit label"}),validators:h=[]}=e,g=[...h,d&&s.validateRequired].filter(Boolean),x=e=>g.reduce((t,{isValid:r,intlMessageDescriptor:a,intlMessageValues:s})=>t||r(e)?t:c||i.formatMessage(a,{label:m,...s}),""),p=(0,t.useRef)(x);p.current=x;let{field:b,fieldState:v,formState:y}=(0,a.useController)({name:u,control:n?.control,rules:{validate:e=>p.current(e)||!0}}),w=(v.isTouched||y.isSubmitted)&&v.error?.message;return{...e,name:u,error:w,label:m,disabled:f,required:d,onChange:t=>{if(e.onChange&&e.onChange(t),"number"===e.type){let e=t?.target?.value,r=""===e||null==e?null:Number(e);b.onChange(r)}else b.onChange(t)},onBlur:b.onBlur,value:null==b.value?"":b.value,setValue:(e,t)=>{n?.setValue(u,e,{shouldDirty:!0,shouldValidate:t??!1})},setError:e=>{e?n?.setError(u,{type:"manual",message:e}):n?.clearErrors(u)},setTouched:e=>{e&&n?.trigger(u)}}}])},98949,e=>{"use strict";var t=e.i(91788),r=e.i(58021),a=e.i(69322),s=e.i(28401),l=e.i(73319);let i=e=>""===e||"string"==typeof e&&e?.trim()===""?null:"string"==typeof e&&e.length?e.trim():Array.isArray(e)&&e?.length&&"string"==typeof e[0]?e.map(e=>i(e)):Array.isArray(e)&&e?.length&&(0,l.isObject)(e[0])?e.map(e=>Object.fromEntries(Object.entries(e).map(([e,t])=>[e,i(t)]))):e,n=e=>e&&"object"==typeof e?"string"==typeof e.message&&e.message?e.message:Array.isArray(e)?e.map(e=>n(e)):Object.fromEntries(Object.entries(e).filter(([e])=>"ref"!==e).map(([e,t])=>[e,n(t)])):e;e.s(["default",0,({submit:e,getSubmitErrorMessage:l=()=>"",onSubmitSuccess:o=()=>!0,initialValues:u,initialErrors:d,initialTouched:c,successMessage:f,enableReinitialize:m,validate:h,disabled:g=!1})=>{let x=(0,a.useIntl)(),[p,b]=(0,t.useState)(""),v=(0,r.useForm)({mode:"onTouched",defaultValues:u,values:m?u:void 0,errors:d?Object.fromEntries(Object.entries(d).map(([e,t])=>[e,{type:"manual",message:t}])):void 0}),y=(0,t.useCallback)(e=>{let t=e?.errors?.[0];return x.formatMessage({id:"error_server",defaultMessage:"{details}"},{details:t?.message||""})},[x]),w=(0,t.useCallback)(async t=>{let r=!0;try{let a=await e(Object.fromEntries(Object.entries(t).map(([e,t])=>[e,i(t)]))),n=("boolean"==typeof a?a:a?.success)??!a?.error;if(n)f&&s.toast.success(f),await o(n,a?.data||t);else{let e="boolean"==typeof a?!a:a?.error;Array.isArray(e)?e.forEach(e=>{r=!1,b(l(e)||y(e))}):(r=!1,b(l(e)||y(e)))}}catch(e){r=!1,b(l(e)||y(e))}r&&b("")},[e,f,o,l,y]);return{submitError:p,api:(0,t.useMemo)(()=>({setFieldError:(e,t)=>{v.setError(e,{type:"manual",message:t})},setFieldValue:(e,t)=>{v.setValue(e,t,{shouldDirty:!0,shouldTouch:!0})},setValues:e=>{v.reset(e,{keepDirtyValues:!1,keepErrors:!1})},get values(){return v.getValues()},get isValid(){return v.formState.isValid},get isSubmitting(){return v.formState.isSubmitting},handleSubmit:v.handleSubmit(w),handleReset:()=>{v.reset()},resetForm:e=>{v.reset(e||u)},submitForm:()=>{v.handleSubmit(w)()},getFieldMeta:e=>{let t=v.getFieldState(e,v.formState);return{error:t.error?.message,touched:t.isTouched}},get initialValues(){return u},get errors(){return n(v.formState.errors)}}),[v,w,u]),rhf:v,setSubmitError:b,disabled:g}}],98949)},61898,e=>{"use strict";var t=e.i(91788),r=e.i(60170);e.s(["default",0,()=>(0,t.useContext)(r.default)])},60170,e=>{"use strict";var t=e.i(91788);let r=(0,e.i(98837).default)("FormContext",t.default.createContext({submitError:"",rhf:null,api:null,setSubmitError:()=>{},disabled:!1}));e.s(["default",0,r])},82226,e=>{"use strict";var t=e.i(73663),r=e.i(12051),a=e.i(35113),s=e.i(9356),l=e.i(49543);e.i(69322);let i=["AD","AE","AF","AG","AI","AL","AM","AN","AO","AQ","AR","AS","AT","AU","AW","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BR","BS","BT","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CR","CU","CV","CX","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","ER","ES","ET","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GH","GI","GL","GM","GN","GQ","GR","GT","GU","GW","GY","HK","HN","HR","HT","HU","ID","IE","IL","IM","IN","IQ","IR","IS","IT","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NG","NI","NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PT","PW","PY","QA","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SK","SL","SM","SN","SO","SR","ST","SV","SY","SZ","TC","TD","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","XK","YE","YT","ZA","ZM","ZW"],n=["ab","aa","af","ak","sq","am","ar","an","hy","as","av","ae","ay","az","bm","ba","eu","be","bn","bh","bi","bs","br","bg","my","ca","ch","ce","ny","zh","cv","kw","co","cr","hr","cs","da","dv","nl","en","eo","et","ee","fo","fj","fi","fr","ff","gl","ka","de","el","gn","gu","ht","ha","he","hz","hi","ho","hu","ia","id","ie","ga","ig","ik","io","is","it","iu","ja","jv","kl","kn","kr","ks","kk","km","ki","rw","ky","kv","kg","ko","ku","kj","la","lb","lg","li","ln","lo","lt","lu","lv","gv","mk","mg","ms","ml","mt","mi","mr","mh","mn","na","nv","nb","nd","ne","ng","nn","no","ii","nr","oc","oj","cu","om","or","os","pa","pi","fa","pl","ps","pt","qu","rm","rn","ro","ru","sa","sc","sd","se","sm","sg","sr","gd","sn","si","sk","sl","so","st","es","su","sw","ss","sv","ta","te","tg","th","ti","bo","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","cy","wo","fy","xh","yi","yo","za"];e.s(["isContractAddress",0,(e=!1)=>({isValid:t=>!e&&!t||/^(0x)?[a-z0-9]{40}$/i.test(t),intlMessageDescriptor:{id:"error_contract_address",defaultMessage:"Invalid contract address"}}),"validateBirthdate",0,{isValid:e=>{if(!e)return!0;let t=new Date(e);if(!(0,s.isValid)(t))return!1;let r=(0,l.startOfDay)(new Date);return!(+(0,a.toDate)(t)>+(0,a.toDate)(r))},intlMessageDescriptor:{id:"error_birthdate_in_future",defaultMessage:"{label} cannot be in the future"}},"validateCountry",0,()=>({isValid:e=>i.includes(e.toUpperCase()),intlMessageDescriptor:{id:"error_country_code",defaultMessage:"Invalid country code"}}),"validateDate",0,{isValid:e=>!e||(0,s.isValid)(new Date(e)),intlMessageDescriptor:{id:"error_invalid_date",defaultMessage:"{label} is not a valid date"}},"validateEmail",0,{isValid:e=>(0,r.default)(e||""),intlMessageDescriptor:{id:"error_email",defaultMessage:"{label} must be a valid email address"}},"validateInteger",0,()=>({isValid:e=>null==e||""===e||!Number.isNaN(e)&&Number.isInteger(Number(e)),intlMessageDescriptor:{id:"error_number_not_int",defaultMessage:"Invalid value please provide integer value"}}),"validateLanguage",0,()=>({isValid:e=>n.includes(e?.toLowerCase()),intlMessageDescriptor:{id:"error_language_code",defaultMessage:"Invalid language code"}}),"validateMaxLength",0,e=>({isValid:r=>(0,t.default)(r||"",{max:e}),intlMessageDescriptor:{id:"error_max_length"},intlMessageValues:{maxLength:e.toString()}}),"validateProductCommerce",0,(e,t)=>({isValid:()=>{let r="function"==typeof t?t():t;if(!r?.length||r?.length===1)return!0;let a=r[e];return r.filter((t,r)=>r!==e).every(({minQuantity:e,countryCode:t,currencyCode:r})=>e!==a?.minQuantity||t!==a?.countryCode||r!==a?.currencyCode)},intlMessageDescriptor:{id:"error_same_product_prices",defaultMessage:"{label} can not be equal for a price with the same country and currency"}}),"validateProductCommerceOneZero",0,e=>({isValid:()=>{let t="function"==typeof e?e():e;if(!t?.length)return!0;let r=e=>null===e||""===e||void 0===e||0===Number(e);return(1!==t.length||!!r(t[0].minQuantity))&&t.filter(({minQuantity:e})=>r(e))?.length===1},intlMessageDescriptor:{id:"error_commerce_quantity_null_required",defaultMessage:"{label} should have one price with min quantity of 0 or empty"}}),"validateRequired",0,{isValid:e=>"string"==typeof e?e.trim().length>0:"number"==typeof e||(Array.isArray(e)?e.length>0:!!e),intlMessageDescriptor:{id:"error_required",defaultMessage:"{label} is a required field"}},"validateRequiredTag",0,e=>({isValid:t=>!e||t.length>0,intlMessageDescriptor:{id:"error_tag_required",defaultMessage:"{label} you must provide at least one tag"}})],82226)},34728,e=>{"use strict";var t=e.i(91398),r=e.i(38322);e.s(["default",0,({onOkClick:e,buttonText:a,headerText:s,message:l,icon:i=null})=>(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{children:[i||(0,t.jsx)("div",{className:"mx-auto flex h-12 w-12 items-center justify-center rounded-full bg-emerald-100 dark:bg-emerald-900/30",children:(0,t.jsx)(r.CheckIcon,{className:"h-6 w-6 text-emerald-600 dark:text-emerald-400",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","aria-hidden":"true"})}),(0,t.jsxs)("div",{className:"mt-3 text-center sm:mt-5",children:[(0,t.jsx)("h3",{className:"text-lg text-text-primary",id:"modal-title",children:s}),(0,t.jsx)("div",{className:"mt-2",children:(0,t.jsx)("p",{className:"text-sm text-text-muted",children:l})})]})]}),(0,t.jsx)("div",{className:"mt-5 sm:mt-6",children:(0,t.jsx)("button",{id:"alert_ok",onClick:e,type:"button",className:"inline-flex w-full justify-center rounded-md border border-transparent bg-accent px-4 py-2 text-base font-medium text-text-on-accent shadow-xs hover:bg-accent-hover focus:outline-hidden focus:ring-2 focus:ring-focus-ring focus:ring-offset-2 sm:text-sm",children:a})})]})])},38994,62199,14336,e=>{"use strict";var t=e.i(59080),r=e.i(76204);let a=t.gql`
33
- fragment ProductDetailFragment on Product {
34
- _id
35
- sequence
36
- status
37
- created
38
- tags
39
- updated
40
- published
41
-
42
- media {
43
- _id
44
- tags
45
- file {
46
- _id
47
- url
48
- }
49
- }
50
- reviews {
51
- _id
52
- created
53
- author {
54
- _id
55
- username
56
- isGuest
57
- }
58
- rating
59
- title
60
- review
61
- voteCount
62
- ownVotes {
63
- type
64
- timestamp
65
- }
66
- }
67
- siblings {
68
- _id
69
- media {
70
- _id
71
- file {
72
- _id
73
- url
74
- }
75
- }
76
- }
77
- }
78
- `;e.s(["default",0,a],62199);let s=t.gql`
79
- fragment ProductTextsFragment on ProductTexts {
80
- _id
81
- locale
82
- slug
83
- title
84
- subtitle
85
- description
86
- vendor
87
- brand
88
- labels
89
- }
90
- `;e.s(["default",0,s],14336);let l=t.gql`
91
- mutation CreateProduct(
92
- $product: CreateProductInput!
93
- $texts: [ProductTextInput!]
94
- ) {
95
- createProduct(product: $product, texts: $texts) {
96
- ...ProductDetailFragment
97
- ... on SimpleProduct {
98
- texts {
99
- ...ProductTextsFragment
100
- }
101
- }
102
- ... on ConfigurableProduct {
103
- texts {
104
- ...ProductTextsFragment
105
- }
106
- }
107
- ... on BundleProduct {
108
- texts {
109
- ...ProductTextsFragment
110
- }
111
- }
112
- ... on TokenizedProduct {
113
- texts {
114
- ...ProductTextsFragment
115
- }
116
- }
117
- ... on PlanProduct {
118
- texts {
119
- ...ProductTextsFragment
120
- }
121
- }
122
- }
123
- }
124
- ${a}
125
- ${s}
126
- `;e.s(["default",0,()=>{let[e,{data:t,error:a,loading:s}]=(0,r.useMutation)(l);return{createProduct:async({product:{type:t,tags:r},texts:a})=>e({variables:{product:{type:t,tags:r},texts:a},refetchQueries:["Products","ShopStatus","ShopInfo"]}),newProduct:t?.createProduct,error:a,loading:s}}],38994)},75565,51358,36832,e=>{"use strict";var t=e.i(91788),r=e.i(15067);e.s(["useEventListener",0,function(e,a,s,l){let i=(0,r.useLatestValue)(s);(0,t.useEffect)(()=>{function t(e){i.current(e)}return(e=null!=e?e:window).addEventListener(a,t,l),()=>e.removeEventListener(a,t,l)},[e,a,l])}],75565);var a=e.i(93481);e.s(["useWatch",0,function(e,r){let s=(0,t.useRef)([]),l=(0,a.useEvent)(e);(0,t.useEffect)(()=>{let e=[...s.current];for(let[t,a]of r.entries())if(s.current[t]!==a){let t=l(r,e);return s.current=r,t}},[l,...r])}],51358);var s=e.i(55367),l=e.i(65383);let i=[];function n(){"loading"!==document.readyState&&((()=>{function e(e){if(!s.isHTMLorSVGElement(e.target)||e.target===document.body||i[0]===e.target)return;let t=e.target;t=t.closest(l.focusableSelector),i.unshift(null!=t?t:e.target),(i=i.filter(e=>null!=e&&e.isConnected)).splice(10)}window.addEventListener("click",e,{capture:!0}),window.addEventListener("mousedown",e,{capture:!0}),window.addEventListener("focus",e,{capture:!0}),document.body.addEventListener("click",e,{capture:!0}),document.body.addEventListener("mousedown",e,{capture:!0}),document.body.addEventListener("focus",e,{capture:!0})})(),document.removeEventListener("DOMContentLoaded",n))}"u">typeof window&&"u">typeof document&&(document.addEventListener("DOMContentLoaded",n),n()),e.s(["history",()=>i],36832)},49740,e=>{"use strict";var t=e.i(91788);let r=t.forwardRef(function({title:e,titleId:r,...a},s){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:s,"aria-labelledby":r},a),e?t.createElement("title",{id:r},e):null,t.createElement("path",{d:"M6.5 3c-1.051 0-2.093.04-3.125.117A1.49 1.49 0 0 0 2 4.607V10.5h9V4.606c0-.771-.59-1.43-1.375-1.489A41.568 41.568 0 0 0 6.5 3ZM2 12v2.5A1.5 1.5 0 0 0 3.5 16h.041a3 3 0 0 1 5.918 0h.791a.75.75 0 0 0 .75-.75V12H2Z"}),t.createElement("path",{d:"M6.5 18a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3ZM13.25 5a.75.75 0 0 0-.75.75v8.514a3.001 3.001 0 0 1 4.893 1.44c.37-.275.61-.719.595-1.227a24.905 24.905 0 0 0-1.784-8.549A1.486 1.486 0 0 0 14.823 5H13.25ZM14.5 18a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Z"}))});e.s(["TruckIcon",0,r],49740)},31004,e=>{"use strict";var t=e.i(91788);let r=t.forwardRef(function({title:e,titleId:r,...a},s){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:s,"aria-labelledby":r},a),e?t.createElement("title",{id:r},e):null,t.createElement("path",{d:"M7 8a3 3 0 1 0 0-6 3 3 0 0 0 0 6ZM14.5 9a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5ZM1.615 16.428a1.224 1.224 0 0 1-.569-1.175 6.002 6.002 0 0 1 11.908 0c.058.467-.172.92-.57 1.174A9.953 9.953 0 0 1 7 18a9.953 9.953 0 0 1-5.385-1.572ZM14.5 16h-.106c.07-.297.088-.611.048-.933a7.47 7.47 0 0 0-1.588-3.755 4.502 4.502 0 0 1 5.874 2.636.818.818 0 0 1-.36.98A7.465 7.465 0 0 1 14.5 16Z"}))});e.s(["UsersIcon",0,r],31004)},82798,e=>{"use strict";var t=e.i(91788);let r=t.forwardRef(function({title:e,titleId:r,...a},s){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:s,"aria-labelledby":r},a),e?t.createElement("title",{id:r},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M13.5 21v-7.5a.75.75 0 0 1 .75-.75h3a.75.75 0 0 1 .75.75V21m-4.5 0H2.36m11.14 0H18m0 0h3.64m-1.39 0V9.349M3.75 21V9.349m0 0a3.001 3.001 0 0 0 3.75-.615A2.993 2.993 0 0 0 9.75 9.75c.896 0 1.7-.393 2.25-1.016a2.993 2.993 0 0 0 2.25 1.016c.896 0 1.7-.393 2.25-1.015a3.001 3.001 0 0 0 3.75.614m-16.5 0a3.004 3.004 0 0 1-.621-4.72l1.189-1.19A1.5 1.5 0 0 1 5.378 3h13.243a1.5 1.5 0 0 1 1.06.44l1.19 1.189a3 3 0 0 1-.621 4.72M6.75 18h3.75a.75.75 0 0 0 .75-.75V13.5a.75.75 0 0 0-.75-.75H6.75a.75.75 0 0 0-.75.75v3.75c0 .414.336.75.75.75Z"}))});e.s(["default",0,r])},39775,e=>{"use strict";var t=e.i(91788);let r=t.forwardRef(function({title:e,titleId:r,...a},s){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:s,"aria-labelledby":r},a),e?t.createElement("title",{id:r},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m11.25 11.25.041-.02a.75.75 0 0 1 1.063.852l-.708 2.836a.75.75 0 0 0 1.063.853l.041-.021M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Zm-9-3.75h.008v.008H12V8.25Z"}))});e.s(["default",0,r])},44112,e=>{"use strict";var t=e.i(39775);e.s(["InformationCircleIcon",()=>t.default])},74040,e=>{"use strict";var t=e.i(91788);let r=t.forwardRef(function({title:e,titleId:r,...a},s){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:s,"aria-labelledby":r},a),e?t.createElement("title",{id:r},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9.879 7.519c1.171-1.025 3.071-1.025 4.242 0 1.172 1.025 1.172 2.687 0 3.712-.203.179-.43.326-.67.442-.745.361-1.45.999-1.45 1.827v.75M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Zm-9 5.25h.008v.008H12v-.008Z"}))});e.s(["default",0,r])},69059,e=>{"use strict";var t=e.i(91788);let r=t.forwardRef(function({title:e,titleId:r,...a},s){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:s,"aria-labelledby":r},a),e?t.createElement("title",{id:r},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9.813 15.904 9 18.75l-.813-2.846a4.5 4.5 0 0 0-3.09-3.09L2.25 12l2.846-.813a4.5 4.5 0 0 0 3.09-3.09L9 5.25l.813 2.846a4.5 4.5 0 0 0 3.09 3.09L15.75 12l-2.846.813a4.5 4.5 0 0 0-3.09 3.09ZM18.259 8.715 18 9.75l-.259-1.035a3.375 3.375 0 0 0-2.455-2.456L14.25 6l1.036-.259a3.375 3.375 0 0 0 2.455-2.456L18 2.25l.259 1.035a3.375 3.375 0 0 0 2.456 2.456L21.75 6l-1.035.259a3.375 3.375 0 0 0-2.456 2.456ZM16.894 20.567 16.5 21.75l-.394-1.183a2.25 2.25 0 0 0-1.423-1.423L13.5 18.75l1.183-.394a2.25 2.25 0 0 0 1.423-1.423l.394-1.183.394 1.183a2.25 2.25 0 0 0 1.423 1.423l1.183.394-1.183.394a2.25 2.25 0 0 0-1.423 1.423Z"}))});e.s(["default",0,r])},57748,e=>{"use strict";var t=e.i(69059);e.s(["SparklesIcon",()=>t.default])},43944,e=>{"use strict";var t=e.i(91788);let r=t.forwardRef(function({title:e,titleId:r,...a},s){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:s,"aria-labelledby":r},a),e?t.createElement("title",{id:r},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8.25 18.75a1.5 1.5 0 0 1-3 0m3 0a1.5 1.5 0 0 0-3 0m3 0h6m-9 0H3.375a1.125 1.125 0 0 1-1.125-1.125V14.25m17.25 4.5a1.5 1.5 0 0 1-3 0m3 0a1.5 1.5 0 0 0-3 0m3 0h1.125c.621 0 1.129-.504 1.09-1.124a17.902 17.902 0 0 0-3.213-9.193 2.056 2.056 0 0 0-1.58-.86H14.25M16.5 18.75h-2.25m0-11.177v-.958c0-.568-.422-1.048-.987-1.106a48.554 48.554 0 0 0-10.026 0 1.106 1.106 0 0 0-.987 1.106v7.635m12-6.677v6.677m0 4.5v-4.5m0 0h-12"}))});e.s(["default",0,r])},56417,27028,e=>{"use strict";var t=e.i(43944);e.s(["TruckIcon",()=>t.default],56417);var r=e.i(82798);e.s(["BuildingStorefrontIcon",()=>r.default],27028)},5270,e=>{"use strict";var t=e.i(91788);let r=(...e)=>e.filter((e,t,r)=>!!e&&""!==e.trim()&&r.indexOf(e)===t).join(" ").trim(),a={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":2,"stroke-linecap":"round","stroke-linejoin":"round"},s=(0,t.createContext)({}),l=(0,t.forwardRef)(({color:e,size:l,width:i,height:n,strokeWidth:o,absoluteStrokeWidth:u,nonScalingStroke:d,className:c="",children:f,iconNode:m=[],icon:h={node:m,aliases:[],size:24},...g},x)=>{let{size:p=24,strokeWidth:b=2,absoluteStrokeWidth:v=!1,nonScalingStroke:y=!1,color:w="currentColor",className:k=""}=(0,t.useContext)(s)??{},j=!!f||(e=>{for(let t in e)if(t.startsWith("aria-")||"role"===t||"title"===t)return!0;return!1})(g),[_,C,M=[]]=function(e,t={}){return function(e,t={}){let s=t.attributeNames??{},l=e=>s[e]??e,i=e.size??e.width??a.width,n=e.size??e.height??a.height,o=e.aliases?.filter(e=>"string"==typeof e&&""!==e.trim()).map(e=>`lucide-${e}`)??[],u=[...e.name?[`lucide-${e.name}`]:[],...o],d=t.className?.split(" ").filter(Boolean)??[],c=!1===t.includeDefaultClasses?r(...d):r("lucide",...u,...d),f=t.absoluteStrokeWidth?Number(t.strokeWidth??a["stroke-width"])*Number(e.size??e.width??a.width)/Number(t.size??t.width??a.width):t.strokeWidth??a["stroke-width"];return["svg",{...Object.entries(a).reduce((e,[t,r])=>(e[l(t)]=r,e),{}),..."color"in t&&t.color&&{[l("stroke")]:t.color},..."size"in t&&null!=t.size&&{[l("width")]:t.size,[l("height")]:t.size},..."width"in t&&null!=t.width&&{[l("width")]:t.width},..."height"in t&&null!=t.height&&{[l("height")]:t.height},[l("stroke-width")]:f,...c&&{[l("class")]:c},[l("viewBox")]:`0 0 ${i} ${n}`,...!1===t.hasA11yProp?{[l("aria-hidden")]:"true"}:{},..."attributes"in t&&t.attributes},e.node.map(e=>{let[r,a,s]=e,i=t.nonScalingStroke?{[l("vector-effect")]:"non-scaling-stroke",...a}:a;return s?[r,i,s]:[r,i]})]}(e,{...t,attributeNames:{...t.attributeNames,class:"className","stroke-width":"strokeWidth","stroke-linecap":"strokeLinecap","stroke-linejoin":"strokeLinejoin","vector-effect":"vectorEffect"}})}(h,{color:e??w,width:i??l??p,height:n??l??p,strokeWidth:o??b,absoluteStrokeWidth:u??v,nonScalingStroke:d??y,className:r(k,c),hasA11yProp:j,attributes:g});return(0,t.createElement)(_,{ref:x,...C},[...M.map(([e,r])=>(0,t.createElement)(e,r)),...Array.isArray(f)?f:[f]])});e.s(["default",0,function(e,r=[],a=[]){let s,i="string"==typeof e?function(e,t,r=[]){if(null==t)throw Error("[lucide]: iconNode is required when icon name is used");return{name:e?.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),size:24,node:t,...r.length>0?{aliases:r}:{}}}(e,r,a):e,n=(0,t.forwardRef)(({className:e,...r},a)=>(0,t.createElement)(l,{ref:a,icon:i,className:e,...r}));return i.name&&(n.displayName=(s=(e=>{let t="",r=!1;for(let a of e){if("-"===a||"_"===a||a<=" "){r=t.length>0;continue}0===t.length?t+=a.toLowerCase():t+=r?a.toUpperCase():a,r=!1}return t})(i.name)).charAt(0).toUpperCase()+s.slice(1)),n}],5270)},78262,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){if(null==e)throw TypeError("Expected a string but received a ".concat(e));if("String"!==e.constructor.name)throw TypeError("Expected a string but received a ".concat(e.constructor.name))},t.exports=r.default,t.exports.default=r.default},73663,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e,t){(0,s.default)(e),"object"===l(t)?(r=t.min||0,a=t.max):(r=arguments[1]||0,a=arguments[2]);var r,a,i=e.match(/[^\uFE0F\uFE0E][\uFE0F\uFE0E]/g)||[],n=e.match(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g)||[],o=e.length-i.length-n.length,u=o>=r&&(void 0===a||o<=a);return u&&Array.isArray(null==t?void 0:t.discreteLengths)?t.discreteLengths.some(function(e){return e===o}):u};var a,s=(a=e.r(78262))&&a.__esModule?a:{default:a};function l(e){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}t.exports=r.default,t.exports.default=r.default},80930,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e,t){for(var r=0;r<t.length;r++){var a=t[r];if(e===a||"[object RegExp]"===Object.prototype.toString.call(a)&&a.test(e))return!0}return!1},t.exports=r.default,t.exports.default=r.default},60054,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e,t){(0,s.default)(e),"object"===l(t)?(r=t.min||0,a=t.max):(r=arguments[1],a=arguments[2]);var r,a,i=encodeURI(e).split(/%..|./).length-1;return i>=r&&(void 0===a||i<=a)};var a,s=(a=e.r(78262))&&a.__esModule?a:{default:a};function l(e){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}t.exports=r.default,t.exports.default=r.default},34058,(e,t,r)=>{"use strict";function a(e){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;for(var r in("object"!==a(e)||null===e)&&(e={}),t)void 0===e[r]&&(e[r]=t[r]);return e},t.exports=r.default,t.exports.default=r.default},96184,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e,t){(0,a.default)(e),(t=(0,s.default)(t,i)).allow_trailing_dot&&"."===e[e.length-1]&&(e=e.substring(0,e.length-1)),!0===t.allow_wildcard&&0===e.indexOf("*.")&&(e=e.substring(2));var r=e.split("."),l=r[r.length-1];return!(t.require_tld&&(r.length<2||!t.allow_numeric_tld&&!/^([a-z\u00A1-\u00A8\u00AA-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}|xn[a-z0-9-]{2,})$/i.test(l)||/\s/.test(l)))&&!(!t.allow_numeric_tld&&/^\d+$/.test(l))&&r.every(function(e){return!(e.length>63&&!t.ignore_max_length||!/^[a-z_\u00a1-\uffff0-9-]+$/i.test(e)||/[\uff01-\uff5e]/.test(e)||/^-|-$/.test(e)||!t.allow_underscores&&/_/.test(e))})};var a=l(e.r(78262)),s=l(e.r(34058));function l(e){return e&&e.__esModule?e:{default:e}}var i={require_tld:!0,allow_underscores:!1,allow_trailing_dot:!1,allow_numeric_tld:!1,allow_wildcard:!1,ignore_max_length:!1};t.exports=r.default,t.exports.default=r.default},90498,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function e(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,s.default)(t);var a=("object"===l(r)?r.version:arguments[1])||"";return a?"4"===a.toString()?o.test(t):"6"===a.toString()&&d.test(t):e(t,{version:4})||e(t,{version:6})};var a,s=(a=e.r(78262))&&a.__esModule?a:{default:a};function l(e){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var i="(?:[0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])",n="(".concat(i,"[.]){3}").concat(i),o=new RegExp("^".concat(n,"$")),u="(?:[0-9a-fA-F]{1,4})",d=RegExp("^("+"(?:".concat(u,":){7}(?:").concat(u,"|:)|")+"(?:".concat(u,":){6}(?:").concat(n,"|:").concat(u,"|:)|")+"(?:".concat(u,":){5}(?::").concat(n,"|(:").concat(u,"){1,2}|:)|")+"(?:".concat(u,":){4}(?:(:").concat(u,"){0,1}:").concat(n,"|(:").concat(u,"){1,3}|:)|")+"(?:".concat(u,":){3}(?:(:").concat(u,"){0,2}:").concat(n,"|(:").concat(u,"){1,4}|:)|")+"(?:".concat(u,":){2}(?:(:").concat(u,"){0,3}:").concat(n,"|(:").concat(u,"){1,5}|:)|")+"(?:".concat(u,":){1}(?:(:").concat(u,"){0,4}:").concat(n,"|(:").concat(u,"){1,6}|:)|")+"(?::((?::".concat(u,"){0,5}:").concat(n,"|(?::").concat(u,"){1,7}|:))")+")(%[0-9a-zA-Z.]{1,})?$");t.exports=r.default,t.exports.default=r.default},12051,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e,t){if((0,a.default)(e),(t=(0,o.default)(t,d)).require_display_name||t.allow_display_name){var r=e.match(c);if(r){var u,p,b=r[1];if(e=e.replace(b,"").replace(/(^<|>$)/g,""),b.endsWith(" ")&&(b=b.slice(0,-1)),!(!(!(p=(u=b).replace(/^"(.+)"$/,"$1")).trim()||/[\.";<>]/.test(p)&&(p===u||p.split('"').length!==p.split('\\"').length))&&1))return!1}else if(t.require_display_name)return!1}if(!t.ignore_max_length&&e.length>254)return!1;var v=e.split("@"),y=v.pop(),w=y.toLowerCase();if(t.host_blacklist.length>0&&(0,s.default)(w,t.host_blacklist)||t.host_whitelist.length>0&&!(0,s.default)(w,t.host_whitelist))return!1;var k=v.join("@");if(t.domain_specific_validation&&("gmail.com"===w||"googlemail.com"===w)){var j=(k=k.toLowerCase()).split("+")[0];if(!(0,l.default)(j.replace(/\./g,""),{min:6,max:30}))return!1;for(var _=j.split("."),C=0;C<_.length;C++)if(!m.test(_[C]))return!1}if(!1===t.ignore_max_length&&(!(0,l.default)(k,{max:64})||!(0,l.default)(y,{max:254})))return!1;if(!(0,i.default)(y,{require_tld:t.require_tld,ignore_max_length:t.ignore_max_length,allow_underscores:t.allow_underscores})){if(!t.allow_ip_domain)return!1;if(!(0,n.default)(y)){if(!y.startsWith("[")||!y.endsWith("]"))return!1;var M=y.slice(1,-1);if(0===M.length||!(0,n.default)(M))return!1}}if(t.blacklisted_chars&&-1!==k.search(RegExp("[".concat(t.blacklisted_chars,"]+"),"g")))return!1;if('"'===k[0]&&'"'===k[k.length-1])return k=k.slice(1,k.length-1),t.allow_utf8_local_part?x.test(k):h.test(k);for(var N=t.allow_utf8_local_part?g:f,S=k.split("."),E=0;E<S.length;E++)if(!N.test(S[E]))return!1;return!0};var a=u(e.r(78262)),s=u(e.r(80930)),l=u(e.r(60054)),i=u(e.r(96184)),n=u(e.r(90498)),o=u(e.r(34058));function u(e){return e&&e.__esModule?e:{default:e}}var d={allow_display_name:!1,allow_underscores:!1,require_display_name:!1,allow_utf8_local_part:!0,require_tld:!0,blacklisted_chars:"",ignore_max_length:!1,host_blacklist:[],host_whitelist:[]},c=/^([^\x00-\x1F\x7F-\x9F\cX]+)</i,f=/^[a-z\d!#\$%&'\*\+\-\/=\?\^_`{\|}~]+$/i,m=/^[a-z\d]+$/,h=/^([\s\x01-\x08\x0b\x0c\x0e-\x1f\x7f\x21\x23-\x5b\x5d-\x7e]|(\\[\x01-\x09\x0b\x0c\x0d-\x7f]))*$/i,g=/^[a-z\d!#\$%&'\*\+\-\/=\?\^_`{\|}~\u00A1-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+$/i,x=/^([\s\x01-\x08\x0b\x0c\x0e-\x1f\x7f\x21\x23-\x5b\x5d-\x7e\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]|(\\[\x01-\x09\x0b\x0c\x0d-\x7f\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))*$/i;t.exports=r.default,t.exports.default=r.default}]);
@@ -1,59 +0,0 @@
1
- (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,54879,e=>{"use strict";var t=e.i(91398),r=e.i(56206);e.s(["default",0,({children:e,className:a,error:i,disabled:l,required:s,name:o,label:n,hideLabel:u,labelClassName:d})=>(0,t.jsxs)("div",{className:(0,r.default)("container",{"is-invalid":!!i,disabled:l,required:s},a),children:[(0,t.jsx)("label",{"aria-label":n,htmlFor:o,className:(0,r.default)("mb-2 block text-left text-sm font-light text-text-secondary",{"mt-1 rounded-sm border border-rose-100 dark:border-rose-800 bg-rose-50 dark:bg-rose-900/20 p-2 pl-4 text-rose-700 dark:text-rose-400":!!i,"sr-only":u},d),children:i||n}),e]})])},10685,e=>{"use strict";var t=e.i(91398),r=e.i(56206),a=e.i(60741),i=e.i(54879);e.s(["default",0,e=>{let{options:l,...s}=(0,a.default)(e),{className:o}=e||{className:""};return(0,t.jsx)(i.default,{...s,children:(0,t.jsx)("div",{className:"select-wrap",children:(0,t.jsxs)("select",{className:(0,r.default)("block w-full dark:bg-slate-900 dark:text-white rounded-md border-1 border-border-default py-2.5 pl-3 pr-10 text-base text-black shadow-xs focus:outline-hidden focus:ring-2 focus:ring-focus-ring sm:text-sm",o,{"border-rose-700 text-rose-600 dark:border-rose-500 dark:text-rose-400":!!s.error}),disabled:s.disabled,id:s.name,name:s.name,onChange:s.onChange,onBlur:s.onBlur,value:s.value,children:[(0,t.jsx)("option",{className:"dark:text-slate-200",value:"",disabled:s.required,hidden:s.required,children:s.placeholder||s.label}),Object.entries(l).map(([e,r])=>(0,t.jsx)("option",{className:"dark:text-slate-200",value:e,children:r},e))]})})})}])},21128,e=>{"use strict";var t=e.i(91398),r=e.i(56206),a=e.i(58021),i=e.i(61898);e.s(["default",0,({label:e,disabled:l=!1,className:s="",hidden:o=!1,...n})=>{let{formState:u}=(0,a.useFormContext)(),{...d}=n,c=Object.keys(u.errors).length>0&&Object.values(u.errors).some(e=>!!e),{disabled:f}=(0,i.default)(),m=l||f||u.isSubmitting||c,p=u.isSubmitting&&!c,g=(l||f||c)&&!u.isSubmitting;return(0,t.jsx)("input",{className:(0,r.default)("inline-flex cursor-pointer justify-center rounded-sm border border-slate-300 px-4 py-2 text-center text-sm font-medium leading-5 shadow-sm hover:shadow-md focus:ring-focus-ring",s,{"bg-rose-50 dark:bg-slate-800 dark:text-rose-300 cursor-not-allowed border-rose-300 dark:border-rose-600 text-rose-900":g,"bg-slate-600 dark:bg-slate-700 text-white cursor-not-allowed border-slate-400 dark:border-slate-600":p,"bg-accent text-text-on-accent hover:bg-accent-hover focus:outline-hidden focus:ring-2 focus:ring-offset-2 border-transparent":!m,hidden:o}),"aria-label":e,type:"submit",value:e,disabled:m,...d})}])},5505,e=>{"use strict";var t=e.i(91398),r=e.i(91788),a=e.i(98837),i=e.i(56206);let l=(0,a.default)("FormWrapperContext",(0,r.createContext)(!1));e.s(["FormWrapperContext",0,l,"default",0,({children:e,className:r=""})=>(0,t.jsx)(l.Provider,{value:!0,children:(0,t.jsx)("div",{className:"sm:max-w-full",children:(0,t.jsx)("div",{className:(0,i.default)("bg-surface rounded-md shadow-sm overflow-hidden",r),children:e})})})])},68057,e=>{"use strict";var t=e.i(91398),r=e.i(69322),a=e.i(69211),i=e.i(10685),l=e.i(21128),s=e.i(98949),o=e.i(5505);e.s(["default",0,({onSubmit:e,onSubmitSuccess:n,providerTypes:u,providerInterfaces:d,onProviderChange:c,readOnly:f})=>{let{formatMessage:m}=(0,r.useIntl)(),p=m({id:"provider_created_success",defaultMessage:"Provider created successfully!"}),g=(0,s.default)({submit:e,onSubmitSuccess:n,successMessage:p,enableReinitialize:!0,initialValues:{adapterKey:"",type:""}});return(0,t.jsx)(o.default,{children:(0,t.jsx)(a.default,{form:g,children:(0,t.jsxs)("div",{className:"shadow-sm dark:shadow-none sm:max-w-full sm:rounded-lg",children:[(0,t.jsxs)("div",{className:"px-4 pt-4 pb-6",children:[(0,t.jsx)(i.default,{onChange:e=>c(e.target.value),name:"type",disabled:f,required:!0,label:m({id:"type",defaultMessage:"Type"}),options:u,className:"mb-5"}),(0,t.jsx)(i.default,{name:"adapterKey",required:!0,disabled:f,options:d,label:m({id:"adapter",defaultMessage:"Adapter"}),className:"mt-2"})]}),!f&&(0,t.jsx)("div",{className:"border-t-slate-100 border-t border-t-border-subtle space-y-6 bg-surface-subtle p-6 px-5 text-right",children:(0,t.jsx)(l.default,{label:m({id:"create_provider",defaultMessage:"Create provider"})})})]})})})}])},1504,e=>{"use strict";e.s(["default",0,(e,t,r)=>Object.assign({},...e?.map(e=>({[e[r]]:e[t]}))||[])])},36494,e=>{"use strict";var t=e.i(59080);let r=t.gql`
2
- fragment AddressFragment on Address {
3
- firstName
4
- lastName
5
- company
6
- addressLine
7
- postalCode
8
- city
9
- countryCode
10
- regionCode
11
- }
12
- `;e.s(["default",0,r])},73319,e=>{"use strict";let t=e=>"[object Object]"===Object.prototype.toString.call(e);e.s(["extractQuery",0,e=>decodeURIComponent(e||[])?.split(",")?.filter(Boolean),"isObject",0,t,"isTruthy",0,e=>!(!e||null==e||t(e)&&!Object.keys(e).length||Array.isArray(e)&&!e.length)])},93333,e=>{"use strict";var t=e.i(59080),r=e.i(32171);let a=t.gql`
13
- query DeliveryProvidersType {
14
- deliveryProviderType: __type(name: "DeliveryProviderType") {
15
- options: enumValues {
16
- value: name
17
- label: description
18
- }
19
- }
20
- }
21
- `;e.s(["default",0,()=>{let{data:e,loading:t,error:i}=(0,r.useQuery)(a);return{deliveryProviderType:e?.deliveryProviderType?.options||[],loading:t,error:i}}])},69211,e=>{"use strict";var t=e.i(91398),r=e.i(58021),a=e.i(60170);e.s(["default",0,({form:e,children:i,className:l="",...s})=>(0,t.jsx)(a.default.Provider,{value:e,children:(0,t.jsx)(r.FormProvider,{...e.rhf,children:(0,t.jsx)("form",{onReset:()=>e.api.handleReset(),onSubmit:e.api.handleSubmit,method:"POST",className:l,...s,children:i})})})])},60741,e=>{"use strict";var t=e.i(91788),r=e.i(69322),a=e.i(58021),i=e.i(82226),l=e.i(61898);e.s(["default",0,e=>{let s=(0,r.useIntl)(),{rhf:o,...n}=(0,l.default)(),{name:u,required:d,errorMessage:c,disabled:f=n.disabled||o?.formState?.isSubmitting,label:m=s.formatMessage({id:u,defaultMessage:"default_input_name",description:"DO not translate Skip this as it's the default given label when a component is not provided explicit label"}),validators:p=[]}=e,g=[...p,d&&i.validateRequired].filter(Boolean),v=e=>g.reduce((t,{isValid:r,intlMessageDescriptor:a,intlMessageValues:i})=>t||r(e)?t:c||s.formatMessage(a,{label:m,...i}),""),y=(0,t.useRef)(v);y.current=v;let{field:b,fieldState:h,formState:x}=(0,a.useController)({name:u,control:o?.control,rules:{validate:e=>y.current(e)||!0}}),_=(h.isTouched||x.isSubmitted)&&h.error?.message;return{...e,name:u,error:_,label:m,disabled:f,required:d,onChange:t=>{if(e.onChange&&e.onChange(t),"number"===e.type){let e=t?.target?.value,r=""===e||null==e?null:Number(e);b.onChange(r)}else b.onChange(t)},onBlur:b.onBlur,value:null==b.value?"":b.value,setValue:(e,t)=>{o?.setValue(u,e,{shouldDirty:!0,shouldValidate:t??!1})},setError:e=>{e?o?.setError(u,{type:"manual",message:e}):o?.clearErrors(u)},setTouched:e=>{e&&o?.trigger(u)}}}])},98949,e=>{"use strict";var t=e.i(91788),r=e.i(58021),a=e.i(69322),i=e.i(28401),l=e.i(73319);let s=e=>""===e||"string"==typeof e&&e?.trim()===""?null:"string"==typeof e&&e.length?e.trim():Array.isArray(e)&&e?.length&&"string"==typeof e[0]?e.map(e=>s(e)):Array.isArray(e)&&e?.length&&(0,l.isObject)(e[0])?e.map(e=>Object.fromEntries(Object.entries(e).map(([e,t])=>[e,s(t)]))):e,o=e=>e&&"object"==typeof e?"string"==typeof e.message&&e.message?e.message:Array.isArray(e)?e.map(e=>o(e)):Object.fromEntries(Object.entries(e).filter(([e])=>"ref"!==e).map(([e,t])=>[e,o(t)])):e;e.s(["default",0,({submit:e,getSubmitErrorMessage:l=()=>"",onSubmitSuccess:n=()=>!0,initialValues:u,initialErrors:d,initialTouched:c,successMessage:f,enableReinitialize:m,validate:p,disabled:g=!1})=>{let v=(0,a.useIntl)(),[y,b]=(0,t.useState)(""),h=(0,r.useForm)({mode:"onTouched",defaultValues:u,values:m?u:void 0,errors:d?Object.fromEntries(Object.entries(d).map(([e,t])=>[e,{type:"manual",message:t}])):void 0}),x=(0,t.useCallback)(e=>{let t=e?.errors?.[0];return v.formatMessage({id:"error_server",defaultMessage:"{details}"},{details:t?.message||""})},[v]),_=(0,t.useCallback)(async t=>{let r=!0;try{let a=await e(Object.fromEntries(Object.entries(t).map(([e,t])=>[e,s(t)]))),o=("boolean"==typeof a?a:a?.success)??!a?.error;if(o)f&&i.toast.success(f),await n(o,a?.data||t);else{let e="boolean"==typeof a?!a:a?.error;Array.isArray(e)?e.forEach(e=>{r=!1,b(l(e)||x(e))}):(r=!1,b(l(e)||x(e)))}}catch(e){r=!1,b(l(e)||x(e))}r&&b("")},[e,f,n,l,x]);return{submitError:y,api:(0,t.useMemo)(()=>({setFieldError:(e,t)=>{h.setError(e,{type:"manual",message:t})},setFieldValue:(e,t)=>{h.setValue(e,t,{shouldDirty:!0,shouldTouch:!0})},setValues:e=>{h.reset(e,{keepDirtyValues:!1,keepErrors:!1})},get values(){return h.getValues()},get isValid(){return h.formState.isValid},get isSubmitting(){return h.formState.isSubmitting},handleSubmit:h.handleSubmit(_),handleReset:()=>{h.reset()},resetForm:e=>{h.reset(e||u)},submitForm:()=>{h.handleSubmit(_)()},getFieldMeta:e=>{let t=h.getFieldState(e,h.formState);return{error:t.error?.message,touched:t.isTouched}},get initialValues(){return u},get errors(){return o(h.formState.errors)}}),[h,_,u]),rhf:h,setSubmitError:b,disabled:g}}],98949)},61898,e=>{"use strict";var t=e.i(91788),r=e.i(60170);e.s(["default",0,()=>(0,t.useContext)(r.default)])},60170,e=>{"use strict";var t=e.i(91788);let r=(0,e.i(98837).default)("FormContext",t.default.createContext({submitError:"",rhf:null,api:null,setSubmitError:()=>{},disabled:!1}));e.s(["default",0,r])},82226,e=>{"use strict";var t=e.i(73663),r=e.i(12051),a=e.i(35113),i=e.i(9356),l=e.i(49543);e.i(69322);let s=["AD","AE","AF","AG","AI","AL","AM","AN","AO","AQ","AR","AS","AT","AU","AW","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BR","BS","BT","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CR","CU","CV","CX","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","ER","ES","ET","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GH","GI","GL","GM","GN","GQ","GR","GT","GU","GW","GY","HK","HN","HR","HT","HU","ID","IE","IL","IM","IN","IQ","IR","IS","IT","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NG","NI","NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PT","PW","PY","QA","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SK","SL","SM","SN","SO","SR","ST","SV","SY","SZ","TC","TD","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","XK","YE","YT","ZA","ZM","ZW"],o=["ab","aa","af","ak","sq","am","ar","an","hy","as","av","ae","ay","az","bm","ba","eu","be","bn","bh","bi","bs","br","bg","my","ca","ch","ce","ny","zh","cv","kw","co","cr","hr","cs","da","dv","nl","en","eo","et","ee","fo","fj","fi","fr","ff","gl","ka","de","el","gn","gu","ht","ha","he","hz","hi","ho","hu","ia","id","ie","ga","ig","ik","io","is","it","iu","ja","jv","kl","kn","kr","ks","kk","km","ki","rw","ky","kv","kg","ko","ku","kj","la","lb","lg","li","ln","lo","lt","lu","lv","gv","mk","mg","ms","ml","mt","mi","mr","mh","mn","na","nv","nb","nd","ne","ng","nn","no","ii","nr","oc","oj","cu","om","or","os","pa","pi","fa","pl","ps","pt","qu","rm","rn","ro","ru","sa","sc","sd","se","sm","sg","sr","gd","sn","si","sk","sl","so","st","es","su","sw","ss","sv","ta","te","tg","th","ti","bo","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","cy","wo","fy","xh","yi","yo","za"];e.s(["isContractAddress",0,(e=!1)=>({isValid:t=>!e&&!t||/^(0x)?[a-z0-9]{40}$/i.test(t),intlMessageDescriptor:{id:"error_contract_address",defaultMessage:"Invalid contract address"}}),"validateBirthdate",0,{isValid:e=>{if(!e)return!0;let t=new Date(e);if(!(0,i.isValid)(t))return!1;let r=(0,l.startOfDay)(new Date);return!(+(0,a.toDate)(t)>+(0,a.toDate)(r))},intlMessageDescriptor:{id:"error_birthdate_in_future",defaultMessage:"{label} cannot be in the future"}},"validateCountry",0,()=>({isValid:e=>s.includes(e.toUpperCase()),intlMessageDescriptor:{id:"error_country_code",defaultMessage:"Invalid country code"}}),"validateDate",0,{isValid:e=>!e||(0,i.isValid)(new Date(e)),intlMessageDescriptor:{id:"error_invalid_date",defaultMessage:"{label} is not a valid date"}},"validateEmail",0,{isValid:e=>(0,r.default)(e||""),intlMessageDescriptor:{id:"error_email",defaultMessage:"{label} must be a valid email address"}},"validateInteger",0,()=>({isValid:e=>null==e||""===e||!Number.isNaN(e)&&Number.isInteger(Number(e)),intlMessageDescriptor:{id:"error_number_not_int",defaultMessage:"Invalid value please provide integer value"}}),"validateLanguage",0,()=>({isValid:e=>o.includes(e?.toLowerCase()),intlMessageDescriptor:{id:"error_language_code",defaultMessage:"Invalid language code"}}),"validateMaxLength",0,e=>({isValid:r=>(0,t.default)(r||"",{max:e}),intlMessageDescriptor:{id:"error_max_length"},intlMessageValues:{maxLength:e.toString()}}),"validateProductCommerce",0,(e,t)=>({isValid:()=>{let r="function"==typeof t?t():t;if(!r?.length||r?.length===1)return!0;let a=r[e];return r.filter((t,r)=>r!==e).every(({minQuantity:e,countryCode:t,currencyCode:r})=>e!==a?.minQuantity||t!==a?.countryCode||r!==a?.currencyCode)},intlMessageDescriptor:{id:"error_same_product_prices",defaultMessage:"{label} can not be equal for a price with the same country and currency"}}),"validateProductCommerceOneZero",0,e=>({isValid:()=>{let t="function"==typeof e?e():e;if(!t?.length)return!0;let r=e=>null===e||""===e||void 0===e||0===Number(e);return(1!==t.length||!!r(t[0].minQuantity))&&t.filter(({minQuantity:e})=>r(e))?.length===1},intlMessageDescriptor:{id:"error_commerce_quantity_null_required",defaultMessage:"{label} should have one price with min quantity of 0 or empty"}}),"validateRequired",0,{isValid:e=>"string"==typeof e?e.trim().length>0:"number"==typeof e||(Array.isArray(e)?e.length>0:!!e),intlMessageDescriptor:{id:"error_required",defaultMessage:"{label} is a required field"}},"validateRequiredTag",0,e=>({isValid:t=>!e||t.length>0,intlMessageDescriptor:{id:"error_tag_required",defaultMessage:"{label} you must provide at least one tag"}})],82226)},8320,e=>{"use strict";var t=e.i(91398),r=e.i(91788);e.i(51523);var a=e.i(19518),i=e.i(3828),l=e.i(69322),s=e.i(58971),o=e.i(50595),n=e.i(68057),u=e.i(25327),d=e.i(1504),c=e.i(59080),f=e.i(76204),m=e.i(36494);let p=c.gql`
22
- mutation CreateDeliveryProvider(
23
- $deliveryProvider: CreateDeliveryProviderInput!
24
- ) {
25
- createDeliveryProvider(deliveryProvider: $deliveryProvider) {
26
- _id
27
- created
28
- updated
29
- deleted
30
- type
31
- isActive
32
- configuration
33
- interface {
34
- _id
35
- label
36
- version
37
- }
38
- configurationError
39
- ... on DeliveryProviderPickUp {
40
- pickUpLocations {
41
- _id
42
- name
43
- address {
44
- ...AddressFragment
45
- }
46
- }
47
- }
48
- }
49
- }
50
- ${m.default}
51
- `;var g=e.i(32171);let v=c.gql`
52
- query DeliveryInterfaces($providerType: DeliveryProviderType) {
53
- deliveryInterfaces(type: $providerType) {
54
- _id
55
- value: _id
56
- label
57
- }
58
- }
59
- `;var y=e.i(93333);e.s(["default",0,()=>{let[e,c]=(0,r.useState)(a.IDeliveryProviderType.Shipping),{formatMessage:m}=(0,l.useIntl)(),{createDeliveryProvider:b}=(()=>{let[e,{data:t,error:r,loading:a}]=(0,f.useMutation)(p);return{createDeliveryProvider:async({deliveryProvider:{adapterKey:t,type:r}})=>e({variables:{deliveryProvider:{adapterKey:t,type:r}},refetchQueries:["DeliveryProviders","ShopStatus"]}),newDeliveryProvider:t?.createDeliveryProvider,loading:a,error:r}})(),{deliveryProviderType:h}=(0,y.default)(),{deliveryInterfaces:x}=(({providerType:e=null})=>{let{data:t,loading:r,error:a}=(0,g.useQuery)(v,{skip:!e,variables:{providerType:e}});return{deliveryInterfaces:t?.deliveryInterfaces||[],loading:r,error:a}})({providerType:e}),{hasRole:_}=(0,s.default)(),M=async({adapterKey:e,type:t})=>{let{data:r,error:a}=await b({deliveryProvider:{adapterKey:e,type:t}});return!a&&{success:!0,data:r?.createDeliveryProvider}},S=(0,i.useRouter)();return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(o.default,{}),(0,t.jsxs)("div",{className:"mx-auto sm:max-w-2xl",children:[(0,t.jsx)(u.default,{headerText:m({id:"new_delivery_provider",defaultMessage:"New delivery provider"})}),(0,t.jsx)("div",{className:"mt-6",children:(0,t.jsx)(n.default,{readOnly:!_(a.IRoleAction.ManageDeliveryProviders),providerInterfaces:(0,d.default)(x,"label","value"),providerTypes:(0,d.default)(h,"label","value"),onSubmit:M,onSubmitSuccess:(e,{_id:t})=>{S.replace(`/delivery-provider?deliveryProviderId=${t}`)},onProviderChange:e=>c(e)})})]})]})}],8320)},74795,(e,t,r)=>{let a="/delivery-provider/new";(window.__NEXT_P=window.__NEXT_P||[]).push([a,()=>e.r(8320)]),t.hot&&t.hot.dispose(function(){window.__NEXT_P.push([a])})},28805,e=>{e.v(t=>Promise.all(["static/chunks/0h0r_q6xa9qr_.js"].map(t=>e.l(t))).then(()=>t(79466)))},48761,e=>{e.v(t=>Promise.all(["static/chunks/1ae-9ft5cgojf.js"].map(t=>e.l(t))).then(()=>t(93594)))},13521,(e,t,r)=>{"use strict";e.i(50461),Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"ImageConfigContext",{enumerable:!0,get:function(){return l}});let a=e.r(41705)._(e.r(91788)),i=e.r(15125),l=a.default.createContext(i.imageConfigDefault)},15125,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var a={VALID_LOADERS:function(){return l},imageConfigDefault:function(){return s}};for(var i in a)Object.defineProperty(r,i,{enumerable:!0,get:a[i]});let l=["default","imgix","cloudinary","akamai","custom"],s={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],path:"/_next/image",loader:"default",loaderFile:"",domains:[],disableStaticImages:!1,minimumCacheTTL:14400,formats:["image/webp"],maximumDiskCacheSize:void 0,maximumRedirects:3,maximumResponseBody:5e7,dangerouslyAllowLocalIP:!1,dangerouslyAllowSVG:!1,contentSecurityPolicy:"script-src 'none'; frame-src 'none'; sandbox;",contentDispositionType:"attachment",localPatterns:void 0,remotePatterns:[],qualities:[75],unoptimized:!1,customCacheHandler:!1}},78262,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){if(null==e)throw TypeError("Expected a string but received a ".concat(e));if("String"!==e.constructor.name)throw TypeError("Expected a string but received a ".concat(e.constructor.name))},t.exports=r.default,t.exports.default=r.default},73663,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e,t){(0,i.default)(e),"object"===l(t)?(r=t.min||0,a=t.max):(r=arguments[1]||0,a=arguments[2]);var r,a,s=e.match(/[^\uFE0F\uFE0E][\uFE0F\uFE0E]/g)||[],o=e.match(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g)||[],n=e.length-s.length-o.length,u=n>=r&&(void 0===a||n<=a);return u&&Array.isArray(null==t?void 0:t.discreteLengths)?t.discreteLengths.some(function(e){return e===n}):u};var a,i=(a=e.r(78262))&&a.__esModule?a:{default:a};function l(e){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}t.exports=r.default,t.exports.default=r.default},80930,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e,t){for(var r=0;r<t.length;r++){var a=t[r];if(e===a||"[object RegExp]"===Object.prototype.toString.call(a)&&a.test(e))return!0}return!1},t.exports=r.default,t.exports.default=r.default},60054,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e,t){(0,i.default)(e),"object"===l(t)?(r=t.min||0,a=t.max):(r=arguments[1],a=arguments[2]);var r,a,s=encodeURI(e).split(/%..|./).length-1;return s>=r&&(void 0===a||s<=a)};var a,i=(a=e.r(78262))&&a.__esModule?a:{default:a};function l(e){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}t.exports=r.default,t.exports.default=r.default},34058,(e,t,r)=>{"use strict";function a(e){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;for(var r in("object"!==a(e)||null===e)&&(e={}),t)void 0===e[r]&&(e[r]=t[r]);return e},t.exports=r.default,t.exports.default=r.default},96184,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e,t){(0,a.default)(e),(t=(0,i.default)(t,s)).allow_trailing_dot&&"."===e[e.length-1]&&(e=e.substring(0,e.length-1)),!0===t.allow_wildcard&&0===e.indexOf("*.")&&(e=e.substring(2));var r=e.split("."),l=r[r.length-1];return!(t.require_tld&&(r.length<2||!t.allow_numeric_tld&&!/^([a-z\u00A1-\u00A8\u00AA-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}|xn[a-z0-9-]{2,})$/i.test(l)||/\s/.test(l)))&&!(!t.allow_numeric_tld&&/^\d+$/.test(l))&&r.every(function(e){return!(e.length>63&&!t.ignore_max_length||!/^[a-z_\u00a1-\uffff0-9-]+$/i.test(e)||/[\uff01-\uff5e]/.test(e)||/^-|-$/.test(e)||!t.allow_underscores&&/_/.test(e))})};var a=l(e.r(78262)),i=l(e.r(34058));function l(e){return e&&e.__esModule?e:{default:e}}var s={require_tld:!0,allow_underscores:!1,allow_trailing_dot:!1,allow_numeric_tld:!1,allow_wildcard:!1,ignore_max_length:!1};t.exports=r.default,t.exports.default=r.default},90498,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function e(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,i.default)(t);var a=("object"===l(r)?r.version:arguments[1])||"";return a?"4"===a.toString()?n.test(t):"6"===a.toString()&&d.test(t):e(t,{version:4})||e(t,{version:6})};var a,i=(a=e.r(78262))&&a.__esModule?a:{default:a};function l(e){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var s="(?:[0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])",o="(".concat(s,"[.]){3}").concat(s),n=new RegExp("^".concat(o,"$")),u="(?:[0-9a-fA-F]{1,4})",d=RegExp("^("+"(?:".concat(u,":){7}(?:").concat(u,"|:)|")+"(?:".concat(u,":){6}(?:").concat(o,"|:").concat(u,"|:)|")+"(?:".concat(u,":){5}(?::").concat(o,"|(:").concat(u,"){1,2}|:)|")+"(?:".concat(u,":){4}(?:(:").concat(u,"){0,1}:").concat(o,"|(:").concat(u,"){1,3}|:)|")+"(?:".concat(u,":){3}(?:(:").concat(u,"){0,2}:").concat(o,"|(:").concat(u,"){1,4}|:)|")+"(?:".concat(u,":){2}(?:(:").concat(u,"){0,3}:").concat(o,"|(:").concat(u,"){1,5}|:)|")+"(?:".concat(u,":){1}(?:(:").concat(u,"){0,4}:").concat(o,"|(:").concat(u,"){1,6}|:)|")+"(?::((?::".concat(u,"){0,5}:").concat(o,"|(?::").concat(u,"){1,7}|:))")+")(%[0-9a-zA-Z.]{1,})?$");t.exports=r.default,t.exports.default=r.default},12051,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e,t){if((0,a.default)(e),(t=(0,n.default)(t,d)).require_display_name||t.allow_display_name){var r=e.match(c);if(r){var u,y,b=r[1];if(e=e.replace(b,"").replace(/(^<|>$)/g,""),b.endsWith(" ")&&(b=b.slice(0,-1)),!(!(!(y=(u=b).replace(/^"(.+)"$/,"$1")).trim()||/[\.";<>]/.test(y)&&(y===u||y.split('"').length!==y.split('\\"').length))&&1))return!1}else if(t.require_display_name)return!1}if(!t.ignore_max_length&&e.length>254)return!1;var h=e.split("@"),x=h.pop(),_=x.toLowerCase();if(t.host_blacklist.length>0&&(0,i.default)(_,t.host_blacklist)||t.host_whitelist.length>0&&!(0,i.default)(_,t.host_whitelist))return!1;var M=h.join("@");if(t.domain_specific_validation&&("gmail.com"===_||"googlemail.com"===_)){var S=(M=M.toLowerCase()).split("+")[0];if(!(0,l.default)(S.replace(/\./g,""),{min:6,max:30}))return!1;for(var F=S.split("."),C=0;C<F.length;C++)if(!m.test(F[C]))return!1}if(!1===t.ignore_max_length&&(!(0,l.default)(M,{max:64})||!(0,l.default)(x,{max:254})))return!1;if(!(0,s.default)(x,{require_tld:t.require_tld,ignore_max_length:t.ignore_max_length,allow_underscores:t.allow_underscores})){if(!t.allow_ip_domain)return!1;if(!(0,o.default)(x)){if(!x.startsWith("[")||!x.endsWith("]"))return!1;var j=x.slice(1,-1);if(0===j.length||!(0,o.default)(j))return!1}}if(t.blacklisted_chars&&-1!==M.search(RegExp("[".concat(t.blacklisted_chars,"]+"),"g")))return!1;if('"'===M[0]&&'"'===M[M.length-1])return M=M.slice(1,M.length-1),t.allow_utf8_local_part?v.test(M):p.test(M);for(var D=t.allow_utf8_local_part?g:f,w=M.split("."),P=0;P<w.length;P++)if(!D.test(w[P]))return!1;return!0};var a=u(e.r(78262)),i=u(e.r(80930)),l=u(e.r(60054)),s=u(e.r(96184)),o=u(e.r(90498)),n=u(e.r(34058));function u(e){return e&&e.__esModule?e:{default:e}}var d={allow_display_name:!1,allow_underscores:!1,require_display_name:!1,allow_utf8_local_part:!0,require_tld:!0,blacklisted_chars:"",ignore_max_length:!1,host_blacklist:[],host_whitelist:[]},c=/^([^\x00-\x1F\x7F-\x9F\cX]+)</i,f=/^[a-z\d!#\$%&'\*\+\-\/=\?\^_`{\|}~]+$/i,m=/^[a-z\d]+$/,p=/^([\s\x01-\x08\x0b\x0c\x0e-\x1f\x7f\x21\x23-\x5b\x5d-\x7e]|(\\[\x01-\x09\x0b\x0c\x0d-\x7f]))*$/i,g=/^[a-z\d!#\$%&'\*\+\-\/=\?\^_`{\|}~\u00A1-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+$/i,v=/^([\s\x01-\x08\x0b\x0c\x0e-\x1f\x7f\x21\x23-\x5b\x5d-\x7e\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]|(\\[\x01-\x09\x0b\x0c\x0d-\x7f\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))*$/i;t.exports=r.default,t.exports.default=r.default}]);
@@ -1,25 +0,0 @@
1
- __turbopack_load_page_chunks__("/products/ProductDetailPage", [
2
- "static/chunks/0m6jydfuy_4o3.js",
3
- "static/chunks/1bww_2og01jxh.js",
4
- "static/chunks/3vjgbl76cgrmt.js",
5
- "static/chunks/38xse6_r51yqp.js",
6
- "static/chunks/3qaiz-jwi7q2x.js",
7
- "static/chunks/2dyj8q92_k5el.js",
8
- "static/chunks/41e2wlkp9_pvk.js",
9
- "static/chunks/33emlry70k-lv.js",
10
- "static/chunks/1rtv3c_klo0jk.js",
11
- "static/chunks/3cdfuacs4_0d-.js",
12
- "static/chunks/1-6s62fsl_z_7.js",
13
- "static/chunks/0jeddko6bac8h.js",
14
- "static/chunks/0r5wwinf72z4g.js",
15
- "static/chunks/13u_a5l2xngm4.js",
16
- "static/chunks/2djnsowjy3p8y.js",
17
- "static/chunks/02dnhll1bce87.js",
18
- "static/chunks/252jebodi67kg.js",
19
- "static/chunks/3om1fkw-lrmng.js",
20
- "static/chunks/2oadogfqpak51.js",
21
- "static/chunks/270ua9t85a7ev.js",
22
- "static/chunks/2s6u8274_jzk2.js",
23
- "static/chunks/0rqjr_lmrk4pz.js",
24
- "static/chunks/turbopack-28b0zyhf3uqaq.js"
25
- ])