@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
@@ -0,0 +1,44 @@
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,[46758,e=>{var r=e.i(91398),t=e.i(56206),a=e.i(69322);e.s(["f",0,({isActive:e,activeText:s=null,activeClassName:i="",inActiveClassName:d="",inActiveText:l=null,containerClassName:n=""})=>{let{formatMessage:o}=(0,a.X)();return(0,r.jsx)("span",{className:(0,t.U)("",n),children:e?(0,r.jsx)("span",{className:(0,t.U)("inline-flex items-center border rounded-full px-2.5 py-0.5 text-sm font-medium bg-emerald-50 dark:bg-emerald-900/30 text-emerald-700 dark:text-emerald-300 border-emerald-200 dark:border-emerald-800 uppercase",i),children:s||o({id:"active",defaultMessage:"Active"})}):(0,r.jsx)("span",{className:(0,t.U)("inline-flex items-center border rounded-full px-2.5 py-0.5 text-sm font-medium bg-amber-100 dark:bg-yellow-900/30 text-yellow-800 dark:text-yellow-300 border-amber-400 dark:border-yellow-800 uppercase",d),children:l||o({id:"inactive",defaultMessage:"In-Active"})})})}])},65897,e=>{var r=e.i(91398),t=e.i(56206);e.s(["f",0,({value:e,className:a,onChange:s=()=>{},rows:i=7,...d})=>{let l=Math.max(e?e.split("\n").length:1,i);return(0,r.jsx)("textarea",{className:(0,t.U)("text-black dark:bg-slate-900 dark:text-slate-200 border-transparent border-t border-t-border-subtle resize-y",a),value:e,onChange:s,rows:l,...d})}])},63094,e=>{var r=e.i(91398),t=e.i(91788),a=e.i(61898);let s=(e,r="")=>e&&"object"==typeof e?Object.entries(e).reduce((e,[a,i])=>{if(!i||"ref"===a)return e;let d=`${r}${a}`;return"string"==typeof i||t.default.isValidElement(i)?e[d]=i:"string"==typeof i.message&&i.message?e[d]=i.message:"object"==typeof i&&Object.assign(e,s(i,`${d}.`)),e},{}):{},i=({submitError:e="",fieldErrors:a={}})=>(0,r.jsx)("div",{className:"my-2 mb-5 text-rose-700",children:(0,r.jsxs)("ul",{className:"space-y-1",children:[e&&(0,r.jsx)("li",{className:"disabled",children:(0,r.jsx)("span",{dangerouslySetInnerHTML:{__html:e}})},"submitError"),Object.entries(a).map(([e,a])=>(0,r.jsx)("li",{className:"disabled",children:(0,r.jsx)("button",{type:"button",className:"no-button text-danger","aria-label":"Error button",onClick:()=>{let r=document.getElementById(e);r&&r.focus()},children:t.default.isValidElement(a)?a:(0,r.jsx)("span",{dangerouslySetInnerHTML:{__html:a}})})},e))]})});e.s(["f",0,({displayFieldErrors:e=!1})=>{var t;let d,{submitError:l,rhf:n}=(0,a.f)(),o=e?(t=s(n?.formState?.errors),d=new Set,Object.fromEntries(Object.entries(t).filter(([,e])=>"string"!=typeof e||!d.has(e)&&(d.add(e),!0)))):{};return(l||e)&&(0,r.jsx)(i,{submitError:l,fieldErrors:o})}])},23239,e=>{var r=e.i(91398),t=e.i(56206),a=e.i(65897),s=e.i(60741),i=e.i(54879);e.s(["f",0,({validators:e=[],rows:d=10,...l})=>{let n=(0,s.f)({...l,validators:[...e,{isValid:e=>{try{return JSON?.parse(e),!0}catch(e){return!1}},intlMessageDescriptor:{id:"invalid_json_input",defaultMessage:"Invalid JSON input"}}]});return(0,r.jsx)(i.f,{...n,children:(0,r.jsx)(a.f,{className:(0,t.U)("mt-1 block w-full max-w-full rounded-md border-1 border-border-default dark:bg-slate-900 dark:text-slate-200 shadow-xs dark:shadow-none focus:ring-focus-ring sm:text-sm",{"border-rose-300 text-rose-600 focus:border-rose-600 focus:ring-rose-600":!!n.error},l.className),disabled:n.disabled,id:n.name,name:n.name,onChange:e=>{try{JSON.parse(e.target.value||"{}"),n.setError("")}catch(e){n.setError(e.message?.replace("JSON.parse",""))}finally{n.setValue(e.target.value,!0),n.setTouched(!0)}},onBlur:e=>{try{n.setValue(JSON.stringify(JSON.parse(e.target.value),void 0,2),!0),n.setError("")}catch(e){n.setError(e.message)}},placeholder:n.placeholder,autoComplete:n.autoComplete,value:n.value})})}])},33457,e=>{var r=e.i(91398),t=e.i(15361),a=e.i(69322),s=e.i(83147),i=e.i(84818),d=e.i(60193),l=e.i(23239),n=e.i(21128),o=e.i(98949),m=e.i(69211),c=e.i(63094);let u=({onSubmit:e,onSubmitSuccess:t,provider:s,disabled:i})=>{let{formatMessage:d}=(0,a.X)(),u=(0,o.f)({initialValues:{configuration:JSON.stringify(s?.configuration||{},null,2)},submit:e,getSubmitErrorMessage:e=>e?.message||"",onSubmitSuccess:t});return(0,r.jsx)(m.f,{form:u,className:"mt-6",children:(0,r.jsxs)("div",{className:"mt-1 sm:mt-0",children:[(0,r.jsx)(l.f,{id:"configuration",name:"configuration",disabled:i,value:u.api.values.configuration,label:d({id:"configuration",defaultMessage:"Configuration"})}),(0,r.jsx)(c.f,{}),!i&&(0,r.jsx)(n.f,{label:d({id:"update_configuration",defaultMessage:"Update configuration"}),className:"mt-3"})]})})};var f=e.i(46758),x=e.i(42469);e.s(["f",0,({provider:e,onSubmit:l,onSubmitSuccess:n,readOnly:o,children:m=null})=>{let{formatMessage:c}=(0,a.X)(),{formatDateTime:p}=(0,i.f)();return(0,r.jsx)("div",{className:"my-6",children:(0,r.jsx)("div",{className:"space-y-8",children:(0,r.jsxs)("div",{className:"space-y-8 sm:space-y-5",children:[(0,r.jsxs)("div",{className:"flex items-center",children:[(0,r.jsx)("h3",{className:"text-2xl leading-6 text-text-primary mr-2",children:(0,s.D)(e?.interface)}),(0,r.jsx)(f.f,{containerClassName:"self-end",isActive:e?.isActive})]}),(0,r.jsxs)("div",{className:"space-y-4 max-w-xs",children:[(0,r.jsxs)("div",{className:"flex justify-between w-full gap-3",children:[(0,r.jsx)("dt",{className:"my-auto inline-block text-sm text-slate-400 ",children:c({id:"type_colon",defaultMessage:"Type:"})}),(0,r.jsx)("dd",{children:(0,r.jsx)(x.f,{text:e?.type,color:d._[e?.type]})})]}),(0,r.jsxs)("div",{className:"flex flex-col justify-center space-y-2",children:[(0,r.jsxs)("div",{className:"flex items-center",children:[(0,r.jsx)("dt",{className:"text-sm font-normal text-slate-400 pr-2",children:c({id:"created_colon",defaultMessage:"Created:"})}),(0,r.jsx)("dd",{className:"ml-auto text-base",children:p(e?.created,{dateStyle:"long",timeStyle:"short"})})]}),(0,r.jsxs)("div",{className:"flex items-center",children:[(0,r.jsx)("dt",{className:"text-sm font-normal text-slate-400 pr-2",children:c({id:"last_updated",defaultMessage:"Last Updated:"})}),(0,r.jsx)("dd",{className:"ml-auto text-base",children:p(e?.updated,{dateStyle:"long",timeStyle:"short"})})]})]})]}),m&&(0,r.jsx)("div",{className:"w-full",children:m}),(0,r.jsx)(u,{onSubmit:l,onSubmitSuccess:n,provider:e,disabled:o}),(0,r.jsxs)("div",{className:"mt-6 mb-3",children:[(0,r.jsx)("dt",{className:"inline-block text-sm font-normal text-slate-400",children:c({id:"configuration_status",defaultMessage:"Configuration status"})}),e?.configurationError?(0,r.jsx)("dd",{className:"mt-2",children:(0,r.jsxs)("div",{className:"flex items-start p-3 bg-rose-50 dark:bg-rose-900/20 border border-rose-200 dark:border-rose-800 rounded-md",children:[(0,r.jsx)("svg",{className:"h-5 w-5 text-rose-400 dark:text-rose-500 mt-0.5 mr-3 flex-shrink-0",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",children:(0,r.jsx)("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zM8.28 7.22a.75.75 0 00-1.06 1.06L8.94 10l-1.72 1.72a.75.75 0 101.06 1.06L10 11.06l1.72 1.72a.75.75 0 101.06-1.06L11.06 10l1.72-1.72a.75.75 0 00-1.06-1.06L10 8.94 8.28 7.22z",clipRule:"evenodd"})}),(0,r.jsxs)("div",{children:[(0,r.jsx)("h3",{className:"text-sm font-medium text-rose-800 dark:text-rose-200",children:c({id:"configuration_invalid",defaultMessage:"Invalid configuration"})}),(0,r.jsx)("div",{className:"mt-1 text-sm text-rose-700 dark:text-rose-300",children:e?.configurationError})]})]})}):(0,r.jsx)("dd",{className:"mt-2",children:(0,r.jsxs)("div",{className:"flex items-center p-3 bg-emerald-50 dark:bg-emerald-900/20 border border-emerald-200 dark:border-emerald-800 rounded-md",children:[(0,r.jsx)(t.f,{className:"h-5 w-5 text-emerald-600 dark:text-emerald-400 mr-3 flex-shrink-0"}),(0,r.jsxs)("div",{children:[(0,r.jsx)("h3",{className:"text-sm font-medium text-emerald-800 dark:text-emerald-200",children:c({id:"configuration_valid",defaultMessage:"Valid configuration"})}),(0,r.jsx)("p",{className:"mt-1 text-sm text-emerald-700 dark:text-emerald-300",children:c({id:"configuration_valid_description",defaultMessage:"All configuration parameters are correctly set and validated."})})]})]})})]})]})})})}],33457)},16238,e=>{var r=e.i(59080);let t=r.a`
2
+ fragment PaymentProviderFragment on PaymentProvider {
3
+ _id
4
+ created
5
+ updated
6
+ deleted
7
+ isActive
8
+ type
9
+ interface {
10
+ _id
11
+ label
12
+ version
13
+ }
14
+ configuration
15
+ configurationError
16
+ }
17
+ `;e.s(["f",0,t])},53555,e=>{var r=e.i(59080),t=e.i(32171),a=e.i(70693),s=e.i(16238);e.s(["f",0,({paymentProviderId:e=null})=>{let{customProperties:i}=(0,a.f)(),{data:d,loading:l,error:n}=(0,t.f)(((e="")=>r.a`
18
+ query PaymentProvider($paymentProviderId: ID!) {
19
+ paymentProvider(paymentProviderId: $paymentProviderId) {
20
+ ...PaymentProviderFragment
21
+ ${e}
22
+ }
23
+ }
24
+ ${s.f}
25
+ `)(i?.PaymentProvider),{skip:!e,variables:{paymentProviderId:e}});return{paymentProvider:d?.paymentProvider,loading:l,error:n}}])},74982,e=>{var r=e.i(59080),t=e.i(76204);let a=r.a`
26
+ mutation RemovePaymentProvider($paymentProviderId: ID!) {
27
+ removePaymentProvider(paymentProviderId: $paymentProviderId) {
28
+ _id
29
+ }
30
+ }
31
+ `;e.s(["f",0,()=>{let[e]=(0,t.f)(a);return{removePaymentProvider:async({paymentProviderId:r})=>e({variables:{paymentProviderId:r},refetchQueries:["PaymentProviders","ShopStatus"]})}}])},70365,e=>{var r=e.i(91398),t=e.i(3828);e.i(51523);var a=e.i(19518),s=e.i(69322),i=e.i(28401),d=e.i(50595),l=e.i(25327),n=e.i(53555),o=e.i(74982),m=e.i(59080),c=e.i(76204),u=e.i(16238);let f=m.a`
32
+ mutation UpdatePaymentProvider(
33
+ $paymentProvider: UpdateProviderInput!
34
+ $paymentProviderId: ID!
35
+ ) {
36
+ updatePaymentProvider(
37
+ paymentProvider: $paymentProvider
38
+ paymentProviderId: $paymentProviderId
39
+ ) {
40
+ ...PaymentProviderFragment
41
+ }
42
+ }
43
+ ${u.f}
44
+ `;var x=e.i(53576),p=e.i(15971),v=e.i(6607),y=e.i(33457),g=e.i(21623),h=e.i(24608),b=e.i(83147),j=e.i(58971);e.s(["default",0,({paymentProviderId:e})=>{let{formatMessage:m}=(0,s.X)(),{setModal:u}=(0,v.f)(),{push:P,replace:N}=(0,t.useRouter)(),{hasRole:_}=(0,j.f)(),{updatePaymentProvider:w}=(()=>{let[e]=(0,c.f)(f);return{updatePaymentProvider:async({configuration:r,paymentProviderId:t})=>e({variables:{paymentProvider:{configuration:r},paymentProviderId:t}})}})(),{removePaymentProvider:k}=(0,o.f)(),{paymentProvider:M,loading:S}=(0,n.f)({paymentProviderId:e}),I=async({configuration:r})=>(await w({configuration:JSON.parse(r||"[]"),paymentProviderId:e}),!0),E=async()=>{await u((0,r.jsx)(p.f,{onCancelClick:async()=>u(""),message:m({id:"delete_payment_provider_confirmation",defaultMessage:"This action might cause inconsistencies with other data that relates to it. Are you sure you want to delete this payment provider? "}),onOkClick:async()=>{u(""),await k({paymentProviderId:e}),i.toast.success(m({id:"payment_provider_deleted",defaultMessage:"Payment provider deleted successfully"})),P("/payment-provider")},okText:m({id:"delete_payment_provider",defaultMessage:"Delete payment provider"})}))};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(d.f,{currentPageTitle:(0,b.D)(M?.interface)}),(0,r.jsxs)("div",{className:"items-center flex min-w-full justify-between",children:[(0,r.jsx)(l.f,{headerText:m({id:"update_payment_provider_header",defaultMessage:"Update payment provider"}),title:m({id:"payment_detail_title",defaultMessage:"Payment provider {id}"},{id:M?._id})}),_(a.C.ManagePaymentProviders)&&(0,r.jsx)(g.f,{variant:"danger",icon:(0,r.jsx)(h.f,{className:"h-5 w-5"}),text:"Delete",onClick:E})]}),S?(0,r.jsx)(x.f,{}):(0,r.jsx)(y.f,{readOnly:!_(a.C.ManagePaymentProviders),provider:M,onSubmit:I,onSubmitSuccess:()=>{N("/payment-provider")}})]})}],70365)},15361,e=>{var r=e.i(89974);e.s(["f",()=>r.f])}],56158,(e,r,t)=>{let a="/payment-provider/PaymentProviderDetailPage";(window.__NEXT_P=window.__NEXT_P||[]).push([a,()=>e.r(70365)]),r.hot&&r.hot.dispose(function(){window.__NEXT_P.push([a])})}]);
@@ -0,0 +1,5 @@
1
+ __turbopack_load_page_chunks__("/currency/CurrencyDetailPage", [
2
+ "static/chunks/1s4oi1bw8zl5d.js",
3
+ "static/chunks/2y6i_xssusr93.js",
4
+ "static/chunks/turbopack-2c3mg3r-05n1w.js"
5
+ ])
@@ -0,0 +1,54 @@
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,[25093,e=>{var t=e.i(91398),s=e.i(91788);e.s(["f",0,({value:e,duration:r=300})=>{let[a,l]=(0,s.useState)(0);return(0,s.useEffect)(()=>{let t,s;if(0===e)return void l(0);let a=i=>{t||(t=i);let n=Math.min((i-t)/r,1);l(Math.round((1-Math.pow(1-n,3))*e)),n<1&&(s=requestAnimationFrame(a))};return s=requestAnimationFrame(a),()=>{s&&cancelAnimationFrame(s)}},[e,r]),(0,t.jsx)("span",{children:a})}])},82078,e=>{var t=e.i(91398),s=e.i(44112);e.s(["f",0,({title:e=null,description:r})=>(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)(s.f,{className:"w-5 h-5 text-blue-600 dark:text-blue-400 mt-0.5 flex-shrink-0"}),(0,t.jsxs)("div",{children:[e&&(0,t.jsx)("h3",{className:"text-sm font-semibold text-blue-900 dark:text-blue-100 mb-2",children:e}),(0,t.jsx)("p",{className:"text-sm text-blue-800 dark:text-blue-200 leading-relaxed",children:r})]})]})})])},70553,e=>{var t=e.i(91398),s=e.i(69322);e.s(["f",0,({children:e=null,totalRecords:r=null})=>{let{formatMessage:a}=(0,s.X)();return(0,t.jsxs)("div",{className:"mt-5",children:[null!==r?(0,t.jsx)("div",{className:"text-md text-slate-950 dark:text-slate-100 mb-3",children:a({id:"total_records",defaultMessage:"{total} records found"},{total:r??0})}):null,e&&(0,t.jsx)("div",{className:"flex items-center mt-10",children:(0,t.jsx)("h3",{className:"text-xs leading-6 text-text-muted",children:e})})]})}])},2194,e=>{var t=e.i(91398),s=e.i(92802),s=s,r=e.i(56206),a=e.i(69322);e.s(["f",0,({message:e,className:l="",Icon:i=null})=>(0,t.jsx)("div",{className:(0,r.U)("rounded-md flex w-full flex-col items-center justify-center min-h-[176px] py-8 border-1 border-dashed border-border-default text-slate-500 dark:text-slate-600",l),children:(0,t.jsxs)("div",{className:"grid items-center justify-center",children:[(0,t.jsx)("div",{className:"flex items-center justify-center text-slate-400 dark:text-slate-600",children:i||(0,t.jsx)(s.f,{className:"h-6 w-6"})}),(0,t.jsx)(a.L,{id:"no_data_message",defaultMessage:"<p>No <span> {message} available</span> </p>",values:{p:e=>(0,t.jsx)("p",{className:"mt-2 m-auto flex items-center justify-center",children:e}),span:e=>(0,t.jsxs)("span",{className:"capitalize ml-1",children:[" ",e," "]}),message:e}})]})})],2194)},64481,e=>{var t=e.i(91788),s=e.i(30943);e.s(["f",0,({children:e,container:r=null,className:a=""})=>{let l=(0,t.useRef)(null),[i,n]=(0,t.useState)(!1);return((0,t.useEffect)(()=>{let e=document.createElement("div");a&&(e.className=a),l.current=e;let t=r||document.body;return t.appendChild(e),n(!0),()=>{l.current&&t.contains(l.current)&&t.removeChild(l.current)}},[r,a]),i&&l.current)?(0,s.createPortal)(e,l.current):null}])},35793,e=>{var t=e.i(91398),s=e.i(69322),r=e.i(2765);e.s(["f",0,({inputText:e=null,onInputChange:a,defaultValue:l})=>{let{formatMessage:i}=(0,s.X)(),n=(0,r.f)(200)(a);return(0,t.jsxs)("div",{className:"w-full",children:[(0,t.jsx)("label",{htmlFor:"search",className:"sr-only",children:e||i({id:"search",defaultMessage:"Search"})}),(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)("div",{className:"pointer-events-none absolute inset-y-0 left-0 flex items-center pl-3",children:(0,t.jsx)("svg",{className:"h-5 w-5 text-slate-400 dark:text-slate-200",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",children:(0,t.jsx)("path",{fillRule:"evenodd",d:"M8 4a4 4 0 100 8 4 4 0 000-8zM2 8a6 6 0 1110.89 3.476l4.817 4.817a1 1 0 01-1.414 1.414l-4.816-4.816A6 6 0 012 8z",clipRule:"evenodd"})})}),(0,t.jsx)("input",{onChange:e=>n(e.target.value),id:"search",defaultValue:l,name:"search",className:"block w-full rounded-md border-1 border-border-default text-slate-900 dark:bg-slate-900 dark:text-slate-200 py-3 pl-10 px-4 shadow-xs placeholder:text-slate-400 dark:placeholder:text-slate-400 focus:ring-2 focus:ring-focus-ring focus:outline-hidden sm:text-sm",placeholder:i({id:"search",defaultMessage:"Search"}),type:"search"})]})]})}])},76038,e=>{var t=e.i(91398),s=e.i(91788),r=e.i(56206),a=e.i(69322),l=e.i(42469);let i=e=>e?Array.isArray(e)?e:e.toString()?.split(",")?.map(e=>e.trim()):[];e.s(["f",0,({tagList:e,onChange:n,disabled:o=!1,name:d="tag-input",id:u="tag-input",placeholder:c="",selectOptions:f=[],className:m="",buttonText:x="",showTagsInline:h=!0})=>{let{formatMessage:g}=(0,a.X)(),[p,y]=(0,s.useState)(i(e)),[v,b]=(0,s.useState)(""),[j,w]=(0,s.useState)(!1),C=(0,s.useRef)(null);(0,s.useEffect)(()=>{y(i(e))},[e]),(0,s.useEffect)(()=>{let e=e=>{C.current&&!C.current.contains(e.target)&&w(!1)};return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e)},[]);let N=(0,s.useCallback)(e=>{let t=e.trim(),s=f.find(e=>e.value.toLowerCase()===t.toLowerCase()),r=s?.value||t;if(!p.some(e=>e.toLowerCase()===r.toLowerCase())&&r){let e=[...p,r];y(e),n(e),b(""),w(!1)}},[p,n,f]),M=(0,s.useMemo)(()=>{let e=f.filter(e=>!p.some(t=>t.toLowerCase()===e.value.toLowerCase()));return v?e.filter(e=>e.label.toLowerCase().includes(v.toLowerCase())):e},[f,p,v]),_=v.trim().toLowerCase(),k=!!(_&&!p.some(e=>e.toLowerCase()===_)&&!f.some(e=>e.value.toLowerCase()===_)),I=(0,t.jsxs)("div",{className:"relative",ref:C,children:[(0,t.jsx)("input",{id:u,name:d,type:"text",role:"combobox","aria-expanded":j,"aria-autocomplete":"list",disabled:o,className:(0,r.U)("w-full rounded-md border border-border-default bg-surface-input py-2.5 pl-4 pr-4 text-sm text-text-primary placeholder:text-text-muted shadow-xs focus:outline-hidden focus:ring-2 focus:ring-focus-ring",m),placeholder:c,value:v,onChange:e=>{b(e.target.value),w(!0)},onFocus:()=>w(!0),onKeyDown:e=>{"Enter"===e.key&&v.trim()&&(e.preventDefault(),N(M[0]?.value||v.trim()))}}),j&&(k||M.length>0)&&(0,t.jsxs)("ul",{role:"listbox",className:"absolute z-9999999 mt-1 max-h-60 w-full overflow-auto rounded-md bg-surface border border-border-subtle py-1 text-sm shadow-lg",children:[M.map(e=>(0,t.jsx)("li",{role:"option","aria-selected":!1,className:"cursor-pointer select-none py-2 px-4 text-text-primary hover:bg-surface-raised",onMouseDown:t=>{t.preventDefault(),N(e.value)},children:e.label},e.value)),k&&(0,t.jsx)("li",{role:"option","aria-selected":!1,className:"cursor-pointer select-none border-t border-border-subtle py-2 px-4 text-text-primary hover:bg-surface-raised",onMouseDown:e=>{e.preventDefault(),N(v.trim())},children:x||g({id:"add_new_tag",defaultMessage:'Add "{inputValue}"'},{inputValue:v.trim()})})]})]});return h?(0,t.jsxs)(t.Fragment,{children:[I,(0,t.jsx)("div",{className:(0,r.U)("ml-4 flex items-center flex-wrap gap-5",p.length>0&&"mt-1"),children:p?.map(e=>(0,t.jsx)(l.f,{text:e,color:"slate",onClick:()=>(e=>{let t=p.indexOf(e);if(-1!==t){let e=[...p];e.splice(t,1),n(e),y(e)}})(e)},e))})]}):I}])},78704,e=>{var t=e.i(91398),s=e.i(91788),r=e.i(53576);e.s(["f",0,({loading:e,hasMore:a,onLoadMore:l,children:i,threshold:n=200})=>{let o=(0,s.useRef)(null),d=(0,s.useRef)(e),u=(0,s.useRef)(a),c=(0,s.useRef)(l);return d.current=e,u.current=a,c.current=l,(0,s.useEffect)(()=>{let e=o.current;if(!e)return;let t=new IntersectionObserver(e=>{let t=e.at(-1);t?.isIntersecting&&u.current&&!d.current&&c.current()},{rootMargin:`${n}px`});return t.observe(e),()=>t.disconnect()},[n,a]),(0,t.jsxs)(t.Fragment,{children:[i,a&&(0,t.jsx)("div",{ref:o,className:"h-4"}),e&&(0,t.jsx)("div",{className:"flex justify-center py-4",children:(0,t.jsx)(r.f,{})})]})}])},51128,e=>{var t=e.i(91398),s=e.i(69322),r=e.i(3828),a=e.i(35793),l=e.i(76038),i=e.i(42469),n=e.i(83147),o=e.i(73319);e.s(["f",0,({children:e,onSearchChange:d,defaultSearchValue:u,showTagFilter:c=!1,availableTagOptions:f=[]})=>{let{formatMessage:m}=(0,s.X)(),{query:x,push:h}=(0,r.useRouter)(),g=e=>{if((0,o.T)(e))h({query:(0,n._)(x,e?.join(","),"tags")});else{let{tags:e,...t}=x;h({query:(0,n._)(t)})}};return(0,t.jsxs)("div",{children:[(0,t.jsx)("div",{className:"my-3 flex flex-col gap-3",children:(0,t.jsxs)("div",{className:"flex flex-col sm:flex-row sm:items-start gap-3",children:[(0,t.jsx)("div",{className:"flex-shrink-0",children:(0,t.jsx)(a.f,{onInputChange:d,defaultValue:u})}),c&&(0,t.jsxs)("div",{className:"flex flex-col gap-2 flex-1 sm:border-l sm:border-border-default sm:pl-3",children:[(0,t.jsx)("div",{className:"max-w-xs",children:(0,t.jsx)(l.f,{buttonText:m({id:"apply",defaultMessage:"Apply"}),placeholder:m({id:"enter_tag",defaultMessage:"Enter tag..."}),tagList:x?.tags?.split(","),onChange:g,selectOptions:f,showTagsInline:!1})}),x?.tags?.split(",").filter(Boolean).length>0&&(0,t.jsx)("div",{className:"flex flex-wrap gap-2",children:x?.tags?.split(",").filter(Boolean).map(e=>(0,t.jsx)(i.f,{text:e,color:"slate",onClick:()=>{let t=x?.tags?.split(",").filter(t=>t!==e);g(t.length>0?t:null)}},e))})]})]})}),e]})}])},8918,e=>{var t=e.i(91398),s=e.i(91788),r=e.i(56206),a=e.i(69322),l=e.i(88566),i=e.i(25575),n=e.i(3828),o=e.i(83147);let d=({onSort:e,sortDirection:s})=>s?"ASC"===s?(0,t.jsx)(i.f,{className:"ml-2 w-5 h-5 text-slate-700",onClick:e}):(0,t.jsx)(l.f,{className:"ml-2 w-5 h-5 text-slate-700",onClick:e}):(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:"ml-2 w-6 h-6",onClick:e,children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8.25 15L12 18.75 15.75 15m-7.5-6L12 5.25 15.75 9"})});var u=e.i(2194);let c=e=>{let t=[],r=[],a=[];return s.default.Children.forEach(e.children,e=>{e?.props?.header?t.push(e):e?.props?.footer?a.push(e):r.push(e)}),{header:t,footer:a,body:r}},f=({className:e="",...l})=>{let[i,n]=(0,s.useState)(c(l)),{formatMessage:o}=(0,a.X)(),d={...i,header:s.default.Children.map(i.header,e=>s.default.cloneElement(e))};return(0,s.useEffect)(()=>{n(c(l))},[l.children]),d.header.length||d.body.length?(0,t.jsxs)("table",{className:(0,r.U)("overflow-hidden my-3 flex w-full flex-row flex-nowrap divide-y divide-slate-200 dark:divide-slate-600 shadow-sm sm:rounded-lg sm:bg-white dark:bg-slate-950",e),...l,children:[(0,t.jsx)("thead",{className:"hidden sm:table-header-group bg-surface-raised text-sm text-text-secondary",children:d.header}),d.body.length?(0,t.jsx)("tbody",{className:"space-y-4 sm:space-y-0 flex-1 sm:divide-y divide-slate-200 dark:divide-slate-700 sm:bg-white dark:sm:bg-slate-800 sm:flex-none",children:d.body}):null,d.footer.length?(0,t.jsx)("tfoot",{children:d.footer}):null]}):(0,t.jsx)(u.f,{message:o({id:"data",defaultMessage:"Data"})})};f.Row=({className:e="",children:a=[],header:l=!1,enablesort:i=!1,...n})=>{let o=s.default.Children.map(a,e=>s.default?.cloneElement(e||(0,t.jsx)("span",{}),{header:l,enablesort:i}));return(0,t.jsx)("tr",{className:(0,r.U)("grid grid-cols-1 auto-rows-fr border border-border-subtle sm:border-0 rounded-md sm:mb-0 sm:table-row sm:rounded-none bg-surface sm:bg-inherit dark:sm:bg-inherit",e),...n,children:o})},f.Cell=({className:e="",header:s=!1,enablesort:a=!1,children:l,sortKey:i=null,defaultSortDirection:u=null,...c})=>{let f=(0,n.useRouter)(),m=(0,o.v)(f.query?.sort),x=s?"th":"td";return(0,t.jsx)(x,{className:(0,r.U)(s?"px-4 py-3 text-left text-text-muted":"whitespace-nowrap px-4 py-3 text-text-muted border-b dark:border-slate-300 last:border-b-0 sm:border-b-0 text-left flex items-center sm:table-cell",e),...c,children:(0,t.jsxs)("div",{className:"flex items-center",children:[l,"th"===x&&a&&i&&(0,t.jsx)(d,{onSort:e=>{var t;let s;e.preventDefault(),((t=m[i])?"ASC"===t?"DESC":null:"ASC")||!m[i]?s={...m,[i]:"ASC"===m[i]?"DESC":"ASC"}:(delete m[i],s=m);let r=Object.entries(s).map(([e,t])=>[e,t].join("_")).join(","),{sort:a,...l}=f.query,n=Object.keys(l).map(e=>[e,l[e]].join("=")).join("&"),d=0===Object.keys(l).length?`${f.basePath}?sort=${r}`:`${f.basePath}?${n}&sort=${r}`;r?f.push(d):f.push({query:(0,o._)(l)})},sortDirection:Object.keys(m).length?m[i]:u})]})})},e.s(["f",0,f],8918)},3095,e=>{var t=e.i(91398),s=e.i(91788),r=e.i(69322),a=e.i(86712),l=e.i(76842),i=e.i(24557),n=e.i(64481);e.s(["f",0,({onEdit:e,onDelete:o,editLabel:d,deleteLabel:u,showEdit:c=!0,showDelete:f=!0})=>{let{formatMessage:m}=(0,r.X)(),[x,h]=(0,s.useState)(!1),[g,p]=(0,s.useState)({top:0,left:0}),y=(0,s.useRef)(null),v=(0,s.useRef)(null);(0,s.useEffect)(()=>{let e=e=>{y.current&&!y.current.contains(e.target)&&h(!1)};return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}},[]);let b=(e,t)=>{e.stopPropagation(),e.preventDefault(),t&&t(),h(!1)};return 0===[c&&e,f&&o].filter(Boolean).length?null:(0,t.jsxs)("div",{className:"flex justify-end w-full",children:[(0,t.jsx)("button",{ref:v,type:"button",onClick:e=>{e.stopPropagation(),e.preventDefault(),x||(()=>{if(!v.current)return;let e=v.current.getBoundingClientRect(),t=e.bottom+4,s=e.right-192;s<8&&(s=8),t+80>window.innerHeight-8&&(t=e.top-80-4),p({top:t,left:s})})(),h(!x)},className:"flex items-center justify-center w-8 h-8 rounded-md hover:bg-surface-raised transition-colors","aria-label":m({id:"table_actions_menu",defaultMessage:"Actions menu"}),children:(0,t.jsx)(a.f,{className:"w-5 h-5 text-text-muted"})}),x&&(0,t.jsx)(n.f,{children:(0,t.jsx)("div",{ref:y,className:"fixed w-48 bg-surface rounded-md shadow-xl border border-border-subtle z-[9999]",style:{top:g.top,left:g.left},children:(0,t.jsxs)("div",{className:"py-1",children:[c&&e&&(0,t.jsxs)("button",{type:"button",onClick:t=>b(t,e),className:"flex items-center w-full px-4 py-2 text-sm text-text-secondary hover:bg-surface-raised transition-colors",children:[(0,t.jsx)(l.f,{className:"mr-3 h-5 w-5"}),d||m({id:"edit",defaultMessage:"Edit"})]}),f&&o&&(0,t.jsxs)("button",{type:"button",onClick:e=>b(e,o),className:"flex items-center w-full px-4 py-2 text-sm text-rose-500 dark:text-rose-400 hover:bg-rose-50 dark:hover:bg-rose-900/20 transition-colors",children:[(0,t.jsx)(i.f,{className:"mr-3 h-5 w-5"}),u||m({id:"delete",defaultMessage:"Delete"})]})]})})})]})}])},1504,e=>{e.s(["f",0,(e,t,s)=>Object.assign({},...e?.map(e=>({[e[s]]:e[t]}))||[])])},2765,e=>{e.s(["f",0,(e=500)=>t=>{let s;return(...r)=>{let a;clearTimeout(s),s=setTimeout(()=>t.apply(a,r),e)}}])},83147,e=>{let t=e=>e&&e?.split(",").reduce((e,t)=>{let[s=null,r=null]=(t||"")?.split("_")||[];return{...e,[s]:r}},null)||{};e.s(["S",0,(...e)=>e.filter(Boolean).join(" "),"R",0,e=>Object.entries(t(e))?.map(([e,t])=>({key:e,value:t})),"D",0,e=>e?.label&&e?.version?`${e.label} ${e.version}`:"","v",0,t,"Q",0,(e,t,s=!0)=>{if(!t)return"";try{return`${new Intl.DisplayNames([e],{type:"region"}).of(t)} ${s?`(${t})`:""}`}catch{return t}},"j",0,(e,t,s=!0)=>{if(!t)return"";try{return`${new Intl.DisplayNames([e],{type:"currency"}).of(t)} ${s?`(${t})`:""}`}catch{return t}},"I",0,(e,t,s=!0)=>{if(!t)return"";try{return`${new Intl.DisplayNames([e],{type:"language"}).of(t)} ${s?`(${t})`:""}`}catch{return t}},"_",0,(e,t,s)=>{let r;return r=s?{...e,[s]:t}:e,Object.keys(r)?.map(e=>[e,r[e]].join("="))?.join("&")},"d",0,()=>({formatPrice:e=>{if(!e?.currencyCode)return"n/a";if(e?.amount===void 0||e?.amount===null)return"";let{amount:t,currencyCode:s}=e||{};return new Intl.NumberFormat(navigator.language,{style:"currency",currency:s}).format(t/100)}})])},80689,e=>{var t=e.i(91398),s=e.i(69322);e.i(51523);var r=e.i(19518),a=e.i(58971),l=e.i(1504),i=e.i(79093),n=e.i(6634),o=e.i(69211),d=e.i(10685),u=e.i(21128),c=e.i(16984),f=e.i(98949),m=e.i(82226);e.s(["f",0,({onSubmit:e,onSubmitSuccess:x=null,defaultValue:h={},isEdit:g=!1})=>{let{formatMessage:p}=(0,s.X)(),{hasRole:y}=(0,a.f)(),v=p({id:"country_added",defaultMessage:"Country added successfully!"}),b=p({id:"country_updated",defaultMessage:"Country updated successfully!"}),{currencies:j}=(0,i.f)(),w=(0,f.f)({submit:e,onSubmitSuccess:x,successMessage:g?b:v,getSubmitErrorMessage:e=>{if(e?.message?.includes("duplicate key"))return w.api.setFieldError("isoCode",p({id:"country_exists",defaultMessage:"Country with the same ISO code already exists"})),null},enableReinitialize:!0,initialValues:{isoCode:"",...h}});return(0,t.jsxs)(o.f,{form:w,children:[(0,t.jsxs)("div",{className:"p-5 pb-7",children:[(0,t.jsx)(c.f,{name:"isoCode",id:"isoCode",validators:[(0,m.v)()],disabled:!y(r.C.ManageCountries),label:p({id:"iso_code",defaultMessage:"ISO code"}),required:!0,autoComplete:"on"}),g&&(0,t.jsxs)("div",{className:"my-3 min-w-0 flex-1",children:[(0,t.jsx)(d.f,{name:"defaultCurrencyCode",disabled:!y(r.C.ManageCountries),id:"defaultCurrencyCode",label:p({id:"default_currency",defaultMessage:"Default currency"}),options:(0,l.f)(j,"isoCode","isoCode"),className:"mb-2 text-sm"}),(0,t.jsx)(n.f,{toggleText:p({id:"active",defaultMessage:"Active"}),disabled:!y(r.C.ManageCountries),active:w.api.values.isActive,onToggle:()=>w.api.setFieldValue("isActive",!w.api.values.isActive)})]})]}),y(r.C.ManageCountries)&&(0,t.jsx)("div",{className:"space-y-6 border-t border-t-border-subtle bg-surface-subtle p-5 text-right",children:(0,t.jsx)(u.f,{label:g?p({id:"update_country",defaultMessage:"Update Country"}):p({id:"add_country",defaultMessage:"Add Country"})})})]})}])},97118,e=>{var t=e.i(59080),s=e.i(32171),r=e.i(70693),a=e.i(77846);e.s(["f",0,({countryId:e})=>{let{customProperties:l}=(0,r.f)(),{data:i,loading:n,error:o}=(0,s.f)(((e="")=>t.a`
2
+ query Country($countryId: ID!) {
3
+ country(countryId: $countryId) {
4
+ ...CountryFragment
5
+ ${e}
6
+ }
7
+ }
8
+ ${a.f}
9
+ `)(l?.Country),{skip:!e,variables:{countryId:e}});return{country:i?.country,loading:n,error:o}}])},71846,e=>{var t=e.i(59080),s=e.i(76204),r=e.i(77846);let a=t.a`
10
+ mutation RemoveCountry($countryId: ID!) {
11
+ removeCountry(countryId: $countryId) {
12
+ ...CountryFragment
13
+ }
14
+ }
15
+ ${r.f}
16
+ `;e.s(["f",0,()=>{let[e]=(0,s.f)(a);return{removeCountry:async({countryId:t})=>e({variables:{countryId:t},refetchQueries:["Countries","ShopStatus","ShopInfo"]})}}])},68191,e=>{var t=e.i(59080);let s=t.a`
17
+ fragment CurrencyFragment on Currency {
18
+ _id
19
+ isoCode
20
+ isActive
21
+ contractAddress
22
+ decimals
23
+ }
24
+ `;e.s(["f",0,s])},79093,e=>{var t=e.i(59080),s=e.i(32171),r=e.i(68191);let a=t.a`
25
+ query Currencies(
26
+ $queryString: String
27
+ $limit: Int
28
+ $offset: Int
29
+ $includeInactive: Boolean
30
+ $sort: [SortOptionInput!]
31
+ ) {
32
+ currencies(
33
+ queryString: $queryString
34
+ limit: $limit
35
+ offset: $offset
36
+ includeInactive: $includeInactive
37
+ sort: $sort
38
+ ) {
39
+ ...CurrencyFragment
40
+ }
41
+ currenciesCount(
42
+ includeInactive: $includeInactive
43
+ queryString: $queryString
44
+ )
45
+ }
46
+ ${r.f}
47
+ `;e.s(["f",0,({queryString:e="",limit:t=20,offset:r=0,includeInactive:l=!0,sort:i=[]}={})=>{let{data:n,loading:o,error:d,fetchMore:u}=(0,s.f)(a,{variables:{queryString:e,limit:t,offset:r,includeInactive:l,sort:i}}),c=n?.currencies||[],f=n?.currenciesCount,m=c?.length<f;return{currencies:c,currenciesCount:f,hasMore:m,loading:o,error:d,loadMore:()=>{u({variables:{offset:c?.length}})}}}])},15971,e=>{var t=e.i(91398),s=e.i(69322);e.s(["f",0,({onOkClick:e,onCancelClick:r,okText:a=null,cancelText:l=null,headerText:i=null,message:n=null,icon:o=null,close:d=null,loading:u=!1})=>{let{formatMessage:c}=(0,s.X)();return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"sm:flex sm:items-start",children:[o||(0,t.jsx)("div",{className:"mx-auto flex h-12 w-12 shrink-0 items-center justify-center rounded-full bg-rose-100 dark:bg-rose-900/30 sm:mx-0 sm:h-10 sm:w-10",children:(0,t.jsx)("svg",{className:"h-6 w-6 text-danger",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","aria-hidden":"true",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z"})})}),(0,t.jsxs)("div",{className:"mt-3 text-center sm:mt-0 sm:ml-4 sm:text-left",children:[(0,t.jsx)("h3",{className:"text-lg text-text-primary",id:"modal-title",children:i||c({id:"warning",defaultMessage:"Warning!"})}),(0,t.jsx)("div",{className:"mt-2",children:(0,t.jsx)("p",{className:"text-sm text-text-muted",children:n||c({id:"are_you_sure",defaultMessage:"Are you sure?"})})})]})]}),(0,t.jsxs)("div",{className:"mt-5 sm:mt-4 sm:flex sm:flex-row-reverse",children:[(0,t.jsx)("button",{id:"danger_continue",onClick:e,disabled:u,"aria-busy":u,type:"button",className:"inline-flex w-full justify-center rounded-md border border-transparent bg-rose-600 px-4 py-2 text-base font-medium text-white shadow-xs hover:bg-rose-700 focus:outline-hidden focus:ring-2 focus:ring-rose-500 focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 sm:ml-3 sm:w-auto sm:text-sm",children:a||c({id:"continue",defaultMessage:"Continue"})}),(0,t.jsx)("button",{id:"danger_cancel",onClick:r||d,disabled:u,type:"button",className:"mt-3 inline-flex w-full justify-center rounded-md border border-border-default bg-surface px-4 py-2 text-base font-medium text-text-secondary shadow-xs hover:bg-surface-raised focus:outline-hidden focus:ring-2 focus:ring-focus-ring focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 sm:mt-0 sm:ml-3 sm:w-auto sm:text-sm",children:l||c({id:"cancel",defaultMessage:"Cancel"})})]})]})}])},6607,e=>{var t=e.i(91788),s=e.i(6444);e.s(["f",0,()=>(0,t.useContext)(s.f)])},55868,e=>{var t=e.i(91398),s=e.i(3828);e.i(51523);var r=e.i(19518),a=e.i(69322),l=e.i(28401),i=e.i(5505),n=e.i(50595),o=e.i(25327),d=e.i(80689),u=e.i(97118),c=e.i(71846),f=e.i(59080),m=e.i(76204),x=e.i(77846);let h=f.a`
48
+ mutation UpdateCountry($country: UpdateCountryInput!, $countryId: ID!) {
49
+ updateCountry(country: $country, countryId: $countryId) {
50
+ ...CountryFragment
51
+ }
52
+ }
53
+ ${x.f}
54
+ `;var g=e.i(15971),p=e.i(6607),y=e.i(21623),v=e.i(24608),b=e.i(53576),j=e.i(83147),w=e.i(58971);e.s(["default",0,({countryId:e})=>{let{push:f}=(0,s.useRouter)(),{formatMessage:x,locale:C}=(0,a.X)(),{setModal:N}=(0,p.f)(),{hasRole:M}=(0,w.f)(),{country:_,loading:k}=(0,u.f)({countryId:e}),{updateCountry:I}=(()=>{let[e]=(0,m.f)(h);return{updateCountry:async({country:t,countryId:s})=>e({variables:{country:t,countryId:s},refetchQueries:["Countries","ShopStatus","ShopInfo"]})}})(),{removeCountry:S}=(0,c.f)(),E=async({isActive:t,isoCode:s,defaultCurrencyCode:r})=>(await I({country:{isActive:t,isoCode:s,defaultCurrencyCode:r},countryId:e}),!0),$=async()=>{await N((0,t.jsx)(g.f,{onCancelClick:async()=>N(""),message:x({id:"delete_country_confirmation",defaultMessage:"This action might cause inconsistencies with other data that relates to it. Are you sure you want to delete this country? "}),onOkClick:async()=>{N(""),await S({countryId:e}),l.toast.success(x({id:"country_deleted",defaultMessage:"Country deleted successfully"})),f("/country")},okText:x({id:"delete_country",defaultMessage:"Delete country"})}))};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(n.f,{currentPageTitle:(0,j.Q)(C,_?.isoCode)}),(0,t.jsxs)("div",{className:"items-center flex min-w-full justify-between gap-3 flex-wrap",children:[(0,t.jsx)(o.f,{headerText:(0,j.Q)(C,_?.isoCode)}),M(r.C.ManageCountries)&&(0,t.jsx)(y.f,{variant:"danger",icon:(0,t.jsx)(v.f,{className:"h-5 w-5"}),text:"Delete",onClick:$})]}),k?(0,t.jsx)(b.f,{}):(0,t.jsx)("div",{className:"mx-auto mt-6 sm:max-w-xl",children:(0,t.jsx)(i.U,{children:(0,t.jsx)(d.f,{isEdit:!0,defaultValue:{isActive:_?.isActive,isoCode:_?.isoCode,defaultCurrencyCode:_?.defaultCurrency?.isoCode},onSubmit:E})})})]})}],55868)},8699,e=>{var t=e.i(91398),s=e.i(69322);e.i(51523);var r=e.i(19518),a=e.i(28401),l=e.i(3828),i=e.i(50595),n=e.i(70553),o=e.i(78704),d=e.i(53576),u=e.i(25327),c=e.i(6634),f=e.i(60193),m=e.i(58971),x=e.i(8918),h=e.i(42469),g=e.i(3095),p=e.i(83147);let y=({country:e,onRemove:r,enableEdit:a,enableDelete:i})=>{let{locale:n,formatMessage:o}=(0,s.X)(),d=(0,l.useRouter)(),u={true:o({id:"active",defaultMessage:"Active"}),false:o({id:"in_active",defaultMessage:"In-Active"})},c=e.defaultCurrency&&e.defaultCurrency.isoCode,f=async()=>{await r(e._id)};return(0,t.jsxs)(x.f.Row,{className:"text-sm",children:[(0,t.jsx)(x.f.Cell,{className:"whitespace-nowrap",children:(0,t.jsxs)("div",{children:[e.isoCode,e.isBase&&(0,t.jsx)(h.f,{text:o({id:"base_country",defaultMessage:"Base"}),className:"ml-2 ",color:"sky",square:!0})]})}),(0,t.jsx)(x.f.Cell,{className:"whitespace-nowrap",children:(0,p.Q)(n,e?.isoCode,!1)}),(0,t.jsx)(x.f.Cell,{className:"whitespace-nowrap",children:c?(0,p.j)(n,c):null}),(0,t.jsx)(x.f.Cell,{className:"whitespace-nowrap",children:(0,t.jsx)(h.f,{text:u[e.isActive],color:e.isActive?"emerald":"amber",square:!0})}),(a||i)&&(0,t.jsx)(x.f.Cell,{children:(0,t.jsx)(g.f,{onEdit:a?()=>{d.push(`/country?countryId=${e._id}`)}:void 0,onDelete:i?f:void 0,showEdit:a,showDelete:i})})]})},v=({countries:e,onRemoveCountry:a,sortable:l})=>{let{formatMessage:i}=(0,s.X)(),{hasRole:n}=(0,m.f)();return(0,t.jsxs)(x.f,{className:"min-w-full",children:[e?.map(e=>(0,t.jsxs)(x.f.Row,{header:!0,enablesort:l,children:[(0,t.jsx)(x.f.Cell,{sortKey:"isoCode",children:i({id:"iso_code",defaultMessage:"ISO code"})}),(0,t.jsx)(x.f.Cell,{children:i({id:"name",defaultMessage:"Name"})}),(0,t.jsx)(x.f.Cell,{children:i({id:"default_currency",defaultMessage:"Default currency"})}),(0,t.jsx)(x.f.Cell,{sortKey:"isActive",children:i({id:"status",defaultMessage:"Status"})}),(0,t.jsx)(x.f.Cell,{children:(0,t.jsxs)("span",{className:"sr-only",children:[i({id:"edit",defaultMessage:"Edit"}),i({id:"delete",defaultMessage:"Delete"})]})})]},e._id)),e?.map(e=>(0,t.jsx)(y,{country:e,onRemove:a,enableEdit:n(r.C.ViewCountry),enableDelete:n(r.C.ManageCountries)},`${e?._id}-body`))]})};var b=e.i(98520),j=e.i(71846),w=e.i(15971),C=e.i(6607),N=e.i(51128),M=e.i(55868),_=e.i(25093),k=e.i(82078);e.s(["default",0,()=>{let{formatMessage:e}=(0,s.X)(),{query:x,push:h}=(0,l.useRouter)(),g=parseInt(x?.limit,10)||f.h,y=parseInt(x?.skip,10)||0,I=x?.sort||"",S=x?.includeInactive==="true"||!x?.includeInactive,{hasRole:E}=(0,m.f)(),{queryString:$,countryId:A,...R}=x,D=(0,p.R)(I),{countries:L,countriesCount:T,loading:O,loadMore:q,hasMore:B}=(0,b.f)({queryString:$,limit:g,includeInactive:S,offset:y,sort:D}),{setModal:F}=(0,C.f)(),{removeCountry:U}=(0,j.f)(),X=async s=>{await F((0,t.jsx)(w.f,{onCancelClick:async()=>F(""),message:e({id:"delete_country_confirmation",defaultMessage:"This action might cause inconsistencies with other data that relates to it. Are you sure you want to delete this country? "}),onOkClick:async()=>{F(""),await U({countryId:s}),a.toast.success(e({id:"country_deleted",defaultMessage:"Country deleted successfully"}))},okText:e({id:"delete_country",defaultMessage:"Delete country"})}))};if(A)return(0,t.jsx)(M.default,{countryId:A});let P=1===T?e({id:"country_header",defaultMessage:"1 Country"}):e({id:"country_count_header",defaultMessage:"{count} Countries"},{count:(0,t.jsx)(_.f,{value:T})});return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(i.f,{}),(0,t.jsx)(k.f,{title:e({id:"default_country_info_title",defaultMessage:"About base country"}),description:e({id:"default_country_info_description",defaultMessage:"If you support multiple countries, please set the base country by adjusting the environment variable UNCHAINED_COUNTRY, for ex. UNCHAINED_COUNTRY=ch. That way, Unchained knows what localization needs to be sent if it can not determine country from user agent set header"})}),(0,t.jsx)(u.f,{title:e({id:"countries_page_title",defaultMessage:"{count, plural, one {# Country} other {# Countries}}"},{count:T}),headerText:P,addPath:E(r.C.ManageCountries)&&"/country/new",addButtonText:e({id:"add_country",defaultMessage:"Add Country"})}),(0,t.jsxs)("div",{className:"min-w-full overflow-x-auto px-1",children:[(0,t.jsx)(n.f,{children:(0,t.jsx)(c.f,{toggleText:e({id:"show_inactive",defaultMessage:"Show Inactive"}),toggleKey:"includeInactive",active:S})}),(0,t.jsx)(N.f,{onSearchChange:e=>{let{skip:t,...s}=R;e?h({query:(0,p._)(s,e,"queryString")}):h({query:(0,p._)(R)})},defaultSearchValue:$,children:(0,t.jsx)(o.f,{loading:O,hasMore:B,onLoadMore:q,children:O&&L?.length===0?(0,t.jsx)(d.f,{}):(0,t.jsx)(v,{sortable:!0,countries:L,onRemoveCountry:X})})})]})]})}],8699)},88566,25575,e=>{var t=e.i(91788);let s=t.forwardRef(function({title:e,titleId:s,...r},a){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":s},r),e?t.createElement("title",{id:s},e):null,t.createElement("path",{fillRule:"evenodd",d:"M5.22 8.22a.75.75 0 0 1 1.06 0L10 11.94l3.72-3.72a.75.75 0 1 1 1.06 1.06l-4.25 4.25a.75.75 0 0 1-1.06 0L5.22 9.28a.75.75 0 0 1 0-1.06Z",clipRule:"evenodd"}))});e.s(["f",0,s],88566);let r=t.forwardRef(function({title:e,titleId:s,...r},a){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":s},r),e?t.createElement("title",{id:s},e):null,t.createElement("path",{fillRule:"evenodd",d:"M9.47 6.47a.75.75 0 0 1 1.06 0l4.25 4.25a.75.75 0 1 1-1.06 1.06L10 8.06l-3.72 3.72a.75.75 0 0 1-1.06-1.06l4.25-4.25Z",clipRule:"evenodd"}))});e.s(["f",0,r],25575)},76842,e=>{var t=e.i(91788);let s=t.forwardRef(function({title:e,titleId:s,...r},a){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":s},r),e?t.createElement("title",{id:s},e):null,t.createElement("path",{d:"m2.695 14.762-1.262 3.155a.5.5 0 0 0 .65.65l3.155-1.262a4 4 0 0 0 1.343-.886L17.5 5.501a2.121 2.121 0 0 0-3-3L3.58 13.419a4 4 0 0 0-.885 1.343Z"}))});e.s(["f",0,s],76842)},24557,e=>{var t=e.i(91788);let s=t.forwardRef(function({title:e,titleId:s,...r},a){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":s},r),e?t.createElement("title",{id:s},e):null,t.createElement("path",{fillRule:"evenodd",d:"M8.75 1A2.75 2.75 0 0 0 6 3.75v.443c-.795.077-1.584.176-2.365.298a.75.75 0 1 0 .23 1.482l.149-.022.841 10.518A2.75 2.75 0 0 0 7.596 19h4.807a2.75 2.75 0 0 0 2.742-2.53l.841-10.52.149.023a.75.75 0 0 0 .23-1.482A41.03 41.03 0 0 0 14 4.193V3.75A2.75 2.75 0 0 0 11.25 1h-2.5ZM10 4c.84 0 1.673.025 2.5.075V3.75c0-.69-.56-1.25-1.25-1.25h-2.5c-.69 0-1.25.56-1.25 1.25v.325C8.327 4.025 9.16 4 10 4ZM8.58 7.72a.75.75 0 0 0-1.5.06l.3 7.5a.75.75 0 1 0 1.5-.06l-.3-7.5Zm4.34.06a.75.75 0 1 0-1.5-.06l-.3 7.5a.75.75 0 1 0 1.5.06l.3-7.5Z",clipRule:"evenodd"}))});e.s(["f",0,s],24557)},86712,e=>{var t=e.i(93026);e.s(["f",()=>t.f])},44112,e=>{var t=e.i(39775);e.s(["f",()=>t.f])},24608,e=>{var t=e.i(30999);e.s(["f",()=>t.f])}],5955,(e,t,s)=>{let r="/country";(window.__NEXT_P=window.__NEXT_P||[]).push([r,()=>e.r(8699)]),t.hot&&t.hot.dispose(function(){window.__NEXT_P.push([r])})}]);
@@ -0,0 +1,7 @@
1
+ __turbopack_load_page_chunks__("/filters/FilterDetailPage", [
2
+ "static/chunks/3-ve59izq9j-p.js",
3
+ "static/chunks/1wijj_fal57co.js",
4
+ "static/chunks/2c3ehieqiwiw8.js",
5
+ "static/chunks/1ulje1tawz8fl.js",
6
+ "static/chunks/turbopack-2c3mg3r-05n1w.js"
7
+ ])